@aws-sdk/client-workspaces-web 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 (273) hide show
  1. package/dist-cjs/commands/AssociateBrowserSettingsCommand.js +18 -41
  2. package/dist-cjs/commands/AssociateIpAccessSettingsCommand.js +18 -41
  3. package/dist-cjs/commands/AssociateNetworkSettingsCommand.js +18 -41
  4. package/dist-cjs/commands/AssociateTrustStoreCommand.js +18 -41
  5. package/dist-cjs/commands/AssociateUserAccessLoggingSettingsCommand.js +18 -41
  6. package/dist-cjs/commands/AssociateUserSettingsCommand.js +18 -41
  7. package/dist-cjs/commands/CreateBrowserSettingsCommand.js +18 -41
  8. package/dist-cjs/commands/CreateIdentityProviderCommand.js +18 -41
  9. package/dist-cjs/commands/CreateIpAccessSettingsCommand.js +18 -41
  10. package/dist-cjs/commands/CreateNetworkSettingsCommand.js +18 -41
  11. package/dist-cjs/commands/CreatePortalCommand.js +18 -41
  12. package/dist-cjs/commands/CreateTrustStoreCommand.js +18 -41
  13. package/dist-cjs/commands/CreateUserAccessLoggingSettingsCommand.js +18 -41
  14. package/dist-cjs/commands/CreateUserSettingsCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteBrowserSettingsCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteIpAccessSettingsCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteNetworkSettingsCommand.js +18 -41
  19. package/dist-cjs/commands/DeletePortalCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteTrustStoreCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteUserAccessLoggingSettingsCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteUserSettingsCommand.js +18 -41
  23. package/dist-cjs/commands/DisassociateBrowserSettingsCommand.js +18 -41
  24. package/dist-cjs/commands/DisassociateIpAccessSettingsCommand.js +18 -41
  25. package/dist-cjs/commands/DisassociateNetworkSettingsCommand.js +18 -41
  26. package/dist-cjs/commands/DisassociateTrustStoreCommand.js +18 -41
  27. package/dist-cjs/commands/DisassociateUserAccessLoggingSettingsCommand.js +18 -41
  28. package/dist-cjs/commands/DisassociateUserSettingsCommand.js +18 -41
  29. package/dist-cjs/commands/GetBrowserSettingsCommand.js +18 -41
  30. package/dist-cjs/commands/GetIdentityProviderCommand.js +18 -41
  31. package/dist-cjs/commands/GetIpAccessSettingsCommand.js +18 -41
  32. package/dist-cjs/commands/GetNetworkSettingsCommand.js +18 -41
  33. package/dist-cjs/commands/GetPortalCommand.js +18 -41
  34. package/dist-cjs/commands/GetPortalServiceProviderMetadataCommand.js +18 -41
  35. package/dist-cjs/commands/GetTrustStoreCertificateCommand.js +18 -41
  36. package/dist-cjs/commands/GetTrustStoreCommand.js +18 -41
  37. package/dist-cjs/commands/GetUserAccessLoggingSettingsCommand.js +18 -41
  38. package/dist-cjs/commands/GetUserSettingsCommand.js +18 -41
  39. package/dist-cjs/commands/ListBrowserSettingsCommand.js +18 -41
  40. package/dist-cjs/commands/ListIdentityProvidersCommand.js +18 -41
  41. package/dist-cjs/commands/ListIpAccessSettingsCommand.js +18 -41
  42. package/dist-cjs/commands/ListNetworkSettingsCommand.js +18 -41
  43. package/dist-cjs/commands/ListPortalsCommand.js +18 -41
  44. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  45. package/dist-cjs/commands/ListTrustStoreCertificatesCommand.js +18 -41
  46. package/dist-cjs/commands/ListTrustStoresCommand.js +18 -41
  47. package/dist-cjs/commands/ListUserAccessLoggingSettingsCommand.js +18 -41
  48. package/dist-cjs/commands/ListUserSettingsCommand.js +18 -41
  49. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  50. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateBrowserSettingsCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateIpAccessSettingsCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateNetworkSettingsCommand.js +18 -41
  55. package/dist-cjs/commands/UpdatePortalCommand.js +18 -41
  56. package/dist-cjs/commands/UpdateTrustStoreCommand.js +18 -41
  57. package/dist-cjs/commands/UpdateUserAccessLoggingSettingsCommand.js +18 -41
  58. package/dist-cjs/commands/UpdateUserSettingsCommand.js +18 -41
  59. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  60. package/dist-cjs/pagination/ListBrowserSettingsPaginator.js +2 -24
  61. package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +2 -24
  62. package/dist-cjs/pagination/ListIpAccessSettingsPaginator.js +2 -24
  63. package/dist-cjs/pagination/ListNetworkSettingsPaginator.js +2 -24
  64. package/dist-cjs/pagination/ListPortalsPaginator.js +2 -24
  65. package/dist-cjs/pagination/ListTrustStoreCertificatesPaginator.js +2 -24
  66. package/dist-cjs/pagination/ListTrustStoresPaginator.js +2 -24
  67. package/dist-cjs/pagination/ListUserAccessLoggingSettingsPaginator.js +2 -24
  68. package/dist-cjs/pagination/ListUserSettingsPaginator.js +2 -24
  69. package/dist-es/commands/AssociateBrowserSettingsCommand.js +18 -41
  70. package/dist-es/commands/AssociateIpAccessSettingsCommand.js +18 -41
  71. package/dist-es/commands/AssociateNetworkSettingsCommand.js +18 -41
  72. package/dist-es/commands/AssociateTrustStoreCommand.js +18 -41
  73. package/dist-es/commands/AssociateUserAccessLoggingSettingsCommand.js +18 -41
  74. package/dist-es/commands/AssociateUserSettingsCommand.js +18 -41
  75. package/dist-es/commands/CreateBrowserSettingsCommand.js +18 -41
  76. package/dist-es/commands/CreateIdentityProviderCommand.js +18 -41
  77. package/dist-es/commands/CreateIpAccessSettingsCommand.js +18 -41
  78. package/dist-es/commands/CreateNetworkSettingsCommand.js +18 -41
  79. package/dist-es/commands/CreatePortalCommand.js +18 -41
  80. package/dist-es/commands/CreateTrustStoreCommand.js +18 -41
  81. package/dist-es/commands/CreateUserAccessLoggingSettingsCommand.js +18 -41
  82. package/dist-es/commands/CreateUserSettingsCommand.js +18 -41
  83. package/dist-es/commands/DeleteBrowserSettingsCommand.js +18 -41
  84. package/dist-es/commands/DeleteIdentityProviderCommand.js +18 -41
  85. package/dist-es/commands/DeleteIpAccessSettingsCommand.js +18 -41
  86. package/dist-es/commands/DeleteNetworkSettingsCommand.js +18 -41
  87. package/dist-es/commands/DeletePortalCommand.js +18 -41
  88. package/dist-es/commands/DeleteTrustStoreCommand.js +18 -41
  89. package/dist-es/commands/DeleteUserAccessLoggingSettingsCommand.js +18 -41
  90. package/dist-es/commands/DeleteUserSettingsCommand.js +18 -41
  91. package/dist-es/commands/DisassociateBrowserSettingsCommand.js +18 -41
  92. package/dist-es/commands/DisassociateIpAccessSettingsCommand.js +18 -41
  93. package/dist-es/commands/DisassociateNetworkSettingsCommand.js +18 -41
  94. package/dist-es/commands/DisassociateTrustStoreCommand.js +18 -41
  95. package/dist-es/commands/DisassociateUserAccessLoggingSettingsCommand.js +18 -41
  96. package/dist-es/commands/DisassociateUserSettingsCommand.js +18 -41
  97. package/dist-es/commands/GetBrowserSettingsCommand.js +18 -41
  98. package/dist-es/commands/GetIdentityProviderCommand.js +18 -41
  99. package/dist-es/commands/GetIpAccessSettingsCommand.js +18 -41
  100. package/dist-es/commands/GetNetworkSettingsCommand.js +18 -41
  101. package/dist-es/commands/GetPortalCommand.js +18 -41
  102. package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +18 -41
  103. package/dist-es/commands/GetTrustStoreCertificateCommand.js +18 -41
  104. package/dist-es/commands/GetTrustStoreCommand.js +18 -41
  105. package/dist-es/commands/GetUserAccessLoggingSettingsCommand.js +18 -41
  106. package/dist-es/commands/GetUserSettingsCommand.js +18 -41
  107. package/dist-es/commands/ListBrowserSettingsCommand.js +18 -41
  108. package/dist-es/commands/ListIdentityProvidersCommand.js +18 -41
  109. package/dist-es/commands/ListIpAccessSettingsCommand.js +18 -41
  110. package/dist-es/commands/ListNetworkSettingsCommand.js +18 -41
  111. package/dist-es/commands/ListPortalsCommand.js +18 -41
  112. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  113. package/dist-es/commands/ListTrustStoreCertificatesCommand.js +18 -41
  114. package/dist-es/commands/ListTrustStoresCommand.js +18 -41
  115. package/dist-es/commands/ListUserAccessLoggingSettingsCommand.js +18 -41
  116. package/dist-es/commands/ListUserSettingsCommand.js +18 -41
  117. package/dist-es/commands/TagResourceCommand.js +18 -41
  118. package/dist-es/commands/UntagResourceCommand.js +18 -41
  119. package/dist-es/commands/UpdateBrowserSettingsCommand.js +18 -41
  120. package/dist-es/commands/UpdateIdentityProviderCommand.js +18 -41
  121. package/dist-es/commands/UpdateIpAccessSettingsCommand.js +18 -41
  122. package/dist-es/commands/UpdateNetworkSettingsCommand.js +18 -41
  123. package/dist-es/commands/UpdatePortalCommand.js +18 -41
  124. package/dist-es/commands/UpdateTrustStoreCommand.js +18 -41
  125. package/dist-es/commands/UpdateUserAccessLoggingSettingsCommand.js +18 -41
  126. package/dist-es/commands/UpdateUserSettingsCommand.js +18 -41
  127. package/dist-es/endpoint/EndpointParameters.js +6 -0
  128. package/dist-es/pagination/ListBrowserSettingsPaginator.js +2 -23
  129. package/dist-es/pagination/ListIdentityProvidersPaginator.js +2 -23
  130. package/dist-es/pagination/ListIpAccessSettingsPaginator.js +2 -23
  131. package/dist-es/pagination/ListNetworkSettingsPaginator.js +2 -23
  132. package/dist-es/pagination/ListPortalsPaginator.js +2 -23
  133. package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +2 -23
  134. package/dist-es/pagination/ListTrustStoresPaginator.js +2 -23
  135. package/dist-es/pagination/ListUserAccessLoggingSettingsPaginator.js +2 -23
  136. package/dist-es/pagination/ListUserSettingsPaginator.js +2 -23
  137. package/dist-types/commands/AssociateBrowserSettingsCommand.d.ts +6 -21
  138. package/dist-types/commands/AssociateIpAccessSettingsCommand.d.ts +6 -21
  139. package/dist-types/commands/AssociateNetworkSettingsCommand.d.ts +6 -21
  140. package/dist-types/commands/AssociateTrustStoreCommand.d.ts +6 -21
  141. package/dist-types/commands/AssociateUserAccessLoggingSettingsCommand.d.ts +6 -21
  142. package/dist-types/commands/AssociateUserSettingsCommand.d.ts +6 -21
  143. package/dist-types/commands/CreateBrowserSettingsCommand.d.ts +6 -21
  144. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +6 -21
  145. package/dist-types/commands/CreateIpAccessSettingsCommand.d.ts +6 -21
  146. package/dist-types/commands/CreateNetworkSettingsCommand.d.ts +6 -21
  147. package/dist-types/commands/CreatePortalCommand.d.ts +6 -21
  148. package/dist-types/commands/CreateTrustStoreCommand.d.ts +6 -21
  149. package/dist-types/commands/CreateUserAccessLoggingSettingsCommand.d.ts +6 -21
  150. package/dist-types/commands/CreateUserSettingsCommand.d.ts +6 -21
  151. package/dist-types/commands/DeleteBrowserSettingsCommand.d.ts +6 -21
  152. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +6 -21
  153. package/dist-types/commands/DeleteIpAccessSettingsCommand.d.ts +6 -21
  154. package/dist-types/commands/DeleteNetworkSettingsCommand.d.ts +6 -21
  155. package/dist-types/commands/DeletePortalCommand.d.ts +6 -21
  156. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +6 -21
  157. package/dist-types/commands/DeleteUserAccessLoggingSettingsCommand.d.ts +6 -21
  158. package/dist-types/commands/DeleteUserSettingsCommand.d.ts +6 -21
  159. package/dist-types/commands/DisassociateBrowserSettingsCommand.d.ts +6 -21
  160. package/dist-types/commands/DisassociateIpAccessSettingsCommand.d.ts +6 -21
  161. package/dist-types/commands/DisassociateNetworkSettingsCommand.d.ts +6 -21
  162. package/dist-types/commands/DisassociateTrustStoreCommand.d.ts +6 -21
  163. package/dist-types/commands/DisassociateUserAccessLoggingSettingsCommand.d.ts +6 -21
  164. package/dist-types/commands/DisassociateUserSettingsCommand.d.ts +6 -21
  165. package/dist-types/commands/GetBrowserSettingsCommand.d.ts +6 -21
  166. package/dist-types/commands/GetIdentityProviderCommand.d.ts +6 -21
  167. package/dist-types/commands/GetIpAccessSettingsCommand.d.ts +6 -21
  168. package/dist-types/commands/GetNetworkSettingsCommand.d.ts +6 -21
  169. package/dist-types/commands/GetPortalCommand.d.ts +6 -21
  170. package/dist-types/commands/GetPortalServiceProviderMetadataCommand.d.ts +6 -21
  171. package/dist-types/commands/GetTrustStoreCertificateCommand.d.ts +6 -21
  172. package/dist-types/commands/GetTrustStoreCommand.d.ts +6 -21
  173. package/dist-types/commands/GetUserAccessLoggingSettingsCommand.d.ts +6 -21
  174. package/dist-types/commands/GetUserSettingsCommand.d.ts +6 -21
  175. package/dist-types/commands/ListBrowserSettingsCommand.d.ts +6 -21
  176. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +6 -21
  177. package/dist-types/commands/ListIpAccessSettingsCommand.d.ts +6 -21
  178. package/dist-types/commands/ListNetworkSettingsCommand.d.ts +6 -21
  179. package/dist-types/commands/ListPortalsCommand.d.ts +6 -21
  180. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  181. package/dist-types/commands/ListTrustStoreCertificatesCommand.d.ts +6 -21
  182. package/dist-types/commands/ListTrustStoresCommand.d.ts +6 -21
  183. package/dist-types/commands/ListUserAccessLoggingSettingsCommand.d.ts +6 -21
  184. package/dist-types/commands/ListUserSettingsCommand.d.ts +6 -21
  185. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  186. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  187. package/dist-types/commands/UpdateBrowserSettingsCommand.d.ts +6 -21
  188. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +6 -21
  189. package/dist-types/commands/UpdateIpAccessSettingsCommand.d.ts +6 -21
  190. package/dist-types/commands/UpdateNetworkSettingsCommand.d.ts +6 -21
  191. package/dist-types/commands/UpdatePortalCommand.d.ts +6 -21
  192. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +6 -21
  193. package/dist-types/commands/UpdateUserAccessLoggingSettingsCommand.d.ts +6 -21
  194. package/dist-types/commands/UpdateUserSettingsCommand.d.ts +6 -21
  195. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  196. package/dist-types/pagination/ListBrowserSettingsPaginator.d.ts +1 -1
  197. package/dist-types/pagination/ListIdentityProvidersPaginator.d.ts +1 -1
  198. package/dist-types/pagination/ListIpAccessSettingsPaginator.d.ts +1 -1
  199. package/dist-types/pagination/ListNetworkSettingsPaginator.d.ts +1 -1
  200. package/dist-types/pagination/ListPortalsPaginator.d.ts +1 -1
  201. package/dist-types/pagination/ListTrustStoreCertificatesPaginator.d.ts +1 -1
  202. package/dist-types/pagination/ListTrustStoresPaginator.d.ts +1 -1
  203. package/dist-types/pagination/ListUserAccessLoggingSettingsPaginator.d.ts +1 -1
  204. package/dist-types/pagination/ListUserSettingsPaginator.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/AssociateBrowserSettingsCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/AssociateIpAccessSettingsCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/AssociateNetworkSettingsCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/AssociateTrustStoreCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/AssociateUserAccessLoggingSettingsCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/AssociateUserSettingsCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/CreateBrowserSettingsCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/CreateIpAccessSettingsCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/CreateNetworkSettingsCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/CreateUserAccessLoggingSettingsCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/commands/CreateUserSettingsCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/DeleteBrowserSettingsCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +12 -24
  221. package/dist-types/ts3.4/commands/DeleteIpAccessSettingsCommand.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/DeleteNetworkSettingsCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +14 -23
  225. package/dist-types/ts3.4/commands/DeleteUserAccessLoggingSettingsCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/DeleteUserSettingsCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/DisassociateBrowserSettingsCommand.d.ts +12 -24
  228. package/dist-types/ts3.4/commands/DisassociateIpAccessSettingsCommand.d.ts +12 -24
  229. package/dist-types/ts3.4/commands/DisassociateNetworkSettingsCommand.d.ts +12 -24
  230. package/dist-types/ts3.4/commands/DisassociateTrustStoreCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/DisassociateUserAccessLoggingSettingsCommand.d.ts +12 -24
  232. package/dist-types/ts3.4/commands/DisassociateUserSettingsCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/GetBrowserSettingsCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/commands/GetIdentityProviderCommand.d.ts +14 -23
  235. package/dist-types/ts3.4/commands/GetIpAccessSettingsCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/GetNetworkSettingsCommand.d.ts +14 -23
  237. package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +14 -23
  238. package/dist-types/ts3.4/commands/GetPortalServiceProviderMetadataCommand.d.ts +12 -24
  239. package/dist-types/ts3.4/commands/GetTrustStoreCertificateCommand.d.ts +12 -24
  240. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +14 -23
  241. package/dist-types/ts3.4/commands/GetUserAccessLoggingSettingsCommand.d.ts +12 -24
  242. package/dist-types/ts3.4/commands/GetUserSettingsCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/ListBrowserSettingsCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/ListIpAccessSettingsCommand.d.ts +12 -24
  246. package/dist-types/ts3.4/commands/ListNetworkSettingsCommand.d.ts +14 -23
  247. package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/ListTrustStoreCertificatesCommand.d.ts +12 -24
  250. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +14 -23
  251. package/dist-types/ts3.4/commands/ListUserAccessLoggingSettingsCommand.d.ts +12 -24
  252. package/dist-types/ts3.4/commands/ListUserSettingsCommand.d.ts +14 -23
  253. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  254. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/commands/UpdateBrowserSettingsCommand.d.ts +12 -24
  256. package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +12 -24
  257. package/dist-types/ts3.4/commands/UpdateIpAccessSettingsCommand.d.ts +12 -24
  258. package/dist-types/ts3.4/commands/UpdateNetworkSettingsCommand.d.ts +12 -24
  259. package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +14 -23
  261. package/dist-types/ts3.4/commands/UpdateUserAccessLoggingSettingsCommand.d.ts +12 -24
  262. package/dist-types/ts3.4/commands/UpdateUserSettingsCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  264. package/dist-types/ts3.4/pagination/ListBrowserSettingsPaginator.d.ts +3 -3
  265. package/dist-types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +3 -3
  266. package/dist-types/ts3.4/pagination/ListIpAccessSettingsPaginator.d.ts +3 -3
  267. package/dist-types/ts3.4/pagination/ListNetworkSettingsPaginator.d.ts +3 -3
  268. package/dist-types/ts3.4/pagination/ListPortalsPaginator.d.ts +3 -3
  269. package/dist-types/ts3.4/pagination/ListTrustStoreCertificatesPaginator.d.ts +3 -3
  270. package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +3 -3
  271. package/dist-types/ts3.4/pagination/ListUserAccessLoggingSettingsPaginator.d.ts +3 -3
  272. package/dist-types/ts3.4/pagination/ListUserSettingsPaginator.d.ts +3 -3
  273. package/package.json +11 -11
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class UpdatePortalCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePortalCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkSpacesWebClient";
30
- const commandName = "UpdatePortalCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdatePortalRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.UpdatePortalResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSErmineControlPlaneService",
39
- operation: "UpdatePortal",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_UpdatePortalCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_UpdatePortalCommand)(output, context);
50
- }
11
+ class UpdatePortalCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSErmineControlPlaneService", "UpdatePortal", {})
23
+ .n("WorkSpacesWebClient", "UpdatePortalCommand")
24
+ .f(models_0_1.UpdatePortalRequestFilterSensitiveLog, models_0_1.UpdatePortalResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_UpdatePortalCommand)
26
+ .de(Aws_restJson1_1.de_UpdatePortalCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdatePortalCommand = UpdatePortalCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateTrustStoreCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateTrustStoreCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WorkSpacesWebClient";
29
- const commandName = "UpdateTrustStoreCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSErmineControlPlaneService",
38
- operation: "UpdateTrustStore",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateTrustStoreCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateTrustStoreCommand)(output, context);
49
- }
10
+ class UpdateTrustStoreCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSErmineControlPlaneService", "UpdateTrustStore", {})
22
+ .n("WorkSpacesWebClient", "UpdateTrustStoreCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateTrustStoreCommand)
25
+ .de(Aws_restJson1_1.de_UpdateTrustStoreCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateTrustStoreCommand = UpdateTrustStoreCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateUserAccessLoggingSettingsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserAccessLoggingSettingsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WorkSpacesWebClient";
29
- const commandName = "UpdateUserAccessLoggingSettingsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSErmineControlPlaneService",
38
- operation: "UpdateUserAccessLoggingSettings",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateUserAccessLoggingSettingsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateUserAccessLoggingSettingsCommand)(output, context);
49
- }
10
+ class UpdateUserAccessLoggingSettingsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSErmineControlPlaneService", "UpdateUserAccessLoggingSettings", {})
22
+ .n("WorkSpacesWebClient", "UpdateUserAccessLoggingSettingsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateUserAccessLoggingSettingsCommand)
25
+ .de(Aws_restJson1_1.de_UpdateUserAccessLoggingSettingsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateUserAccessLoggingSettingsCommand = UpdateUserAccessLoggingSettingsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class UpdateUserSettingsCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserSettingsCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkSpacesWebClient";
30
- const commandName = "UpdateUserSettingsCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateUserSettingsRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.UpdateUserSettingsResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSErmineControlPlaneService",
39
- operation: "UpdateUserSettings",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_UpdateUserSettingsCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_UpdateUserSettingsCommand)(output, context);
50
- }
11
+ class UpdateUserSettingsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSErmineControlPlaneService", "UpdateUserSettings", {})
23
+ .n("WorkSpacesWebClient", "UpdateUserSettingsCommand")
24
+ .f(models_0_1.UpdateUserSettingsRequestFilterSensitiveLog, models_0_1.UpdateUserSettingsResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_UpdateUserSettingsCommand)
26
+ .de(Aws_restJson1_1.de_UpdateUserSettingsCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateUserSettingsCommand = UpdateUserSettingsCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListBrowserSettings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListBrowserSettingsCommand_1 = require("../commands/ListBrowserSettingsCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListBrowserSettingsCommand_1.ListBrowserSettingsCommand(input), ...args);
8
- };
9
- async function* paginateListBrowserSettings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListBrowserSettings = paginateListBrowserSettings;
7
+ exports.paginateListBrowserSettings = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListBrowserSettingsCommand_1.ListBrowserSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListIdentityProviders = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListIdentityProvidersCommand_1 = require("../commands/ListIdentityProvidersCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListIdentityProvidersCommand_1.ListIdentityProvidersCommand(input), ...args);
8
- };
9
- async function* paginateListIdentityProviders(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListIdentityProviders = paginateListIdentityProviders;
7
+ exports.paginateListIdentityProviders = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListIdentityProvidersCommand_1.ListIdentityProvidersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListIpAccessSettings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListIpAccessSettingsCommand_1 = require("../commands/ListIpAccessSettingsCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListIpAccessSettingsCommand_1.ListIpAccessSettingsCommand(input), ...args);
8
- };
9
- async function* paginateListIpAccessSettings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListIpAccessSettings = paginateListIpAccessSettings;
7
+ exports.paginateListIpAccessSettings = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListIpAccessSettingsCommand_1.ListIpAccessSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListNetworkSettings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListNetworkSettingsCommand_1 = require("../commands/ListNetworkSettingsCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListNetworkSettingsCommand_1.ListNetworkSettingsCommand(input), ...args);
8
- };
9
- async function* paginateListNetworkSettings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListNetworkSettings = paginateListNetworkSettings;
7
+ exports.paginateListNetworkSettings = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListNetworkSettingsCommand_1.ListNetworkSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPortals = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListPortalsCommand_1 = require("../commands/ListPortalsCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPortalsCommand_1.ListPortalsCommand(input), ...args);
8
- };
9
- async function* paginateListPortals(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListPortals = paginateListPortals;
7
+ exports.paginateListPortals = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListPortalsCommand_1.ListPortalsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTrustStoreCertificates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTrustStoreCertificatesCommand_1 = require("../commands/ListTrustStoreCertificatesCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTrustStoreCertificatesCommand_1.ListTrustStoreCertificatesCommand(input), ...args);
8
- };
9
- async function* paginateListTrustStoreCertificates(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTrustStoreCertificates = paginateListTrustStoreCertificates;
7
+ exports.paginateListTrustStoreCertificates = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListTrustStoreCertificatesCommand_1.ListTrustStoreCertificatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTrustStores = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTrustStoresCommand_1 = require("../commands/ListTrustStoresCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTrustStoresCommand_1.ListTrustStoresCommand(input), ...args);
8
- };
9
- async function* paginateListTrustStores(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTrustStores = paginateListTrustStores;
7
+ exports.paginateListTrustStores = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListTrustStoresCommand_1.ListTrustStoresCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListUserAccessLoggingSettings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListUserAccessLoggingSettingsCommand_1 = require("../commands/ListUserAccessLoggingSettingsCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListUserAccessLoggingSettingsCommand_1.ListUserAccessLoggingSettingsCommand(input), ...args);
8
- };
9
- async function* paginateListUserAccessLoggingSettings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListUserAccessLoggingSettings = paginateListUserAccessLoggingSettings;
7
+ exports.paginateListUserAccessLoggingSettings = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListUserAccessLoggingSettingsCommand_1.ListUserAccessLoggingSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListUserSettings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListUserSettingsCommand_1 = require("../commands/ListUserSettingsCommand");
5
6
  const WorkSpacesWebClient_1 = require("../WorkSpacesWebClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListUserSettingsCommand_1.ListUserSettingsCommand(input), ...args);
8
- };
9
- async function* paginateListUserSettings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof WorkSpacesWebClient_1.WorkSpacesWebClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListUserSettings = paginateListUserSettings;
7
+ exports.paginateListUserSettings = (0, core_1.createPaginator)(WorkSpacesWebClient_1.WorkSpacesWebClient, ListUserSettingsCommand_1.ListUserSettingsCommand, "nextToken", "nextToken", "maxResults");