@aws-sdk/client-workspaces-web 3.44.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 (264) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +208 -0
  4. package/dist-cjs/WorkSpacesWeb.js +667 -0
  5. package/dist-cjs/WorkSpacesWebClient.js +35 -0
  6. package/dist-cjs/commands/AssociateBrowserSettingsCommand.js +36 -0
  7. package/dist-cjs/commands/AssociateNetworkSettingsCommand.js +36 -0
  8. package/dist-cjs/commands/AssociateTrustStoreCommand.js +36 -0
  9. package/dist-cjs/commands/AssociateUserSettingsCommand.js +36 -0
  10. package/dist-cjs/commands/CreateBrowserSettingsCommand.js +36 -0
  11. package/dist-cjs/commands/CreateIdentityProviderCommand.js +36 -0
  12. package/dist-cjs/commands/CreateNetworkSettingsCommand.js +36 -0
  13. package/dist-cjs/commands/CreatePortalCommand.js +36 -0
  14. package/dist-cjs/commands/CreateTrustStoreCommand.js +36 -0
  15. package/dist-cjs/commands/CreateUserSettingsCommand.js +36 -0
  16. package/dist-cjs/commands/DeleteBrowserSettingsCommand.js +36 -0
  17. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +36 -0
  18. package/dist-cjs/commands/DeleteNetworkSettingsCommand.js +36 -0
  19. package/dist-cjs/commands/DeletePortalCommand.js +36 -0
  20. package/dist-cjs/commands/DeleteTrustStoreCommand.js +36 -0
  21. package/dist-cjs/commands/DeleteUserSettingsCommand.js +36 -0
  22. package/dist-cjs/commands/DisassociateBrowserSettingsCommand.js +36 -0
  23. package/dist-cjs/commands/DisassociateNetworkSettingsCommand.js +36 -0
  24. package/dist-cjs/commands/DisassociateTrustStoreCommand.js +36 -0
  25. package/dist-cjs/commands/DisassociateUserSettingsCommand.js +36 -0
  26. package/dist-cjs/commands/GetBrowserSettingsCommand.js +36 -0
  27. package/dist-cjs/commands/GetIdentityProviderCommand.js +36 -0
  28. package/dist-cjs/commands/GetNetworkSettingsCommand.js +36 -0
  29. package/dist-cjs/commands/GetPortalCommand.js +36 -0
  30. package/dist-cjs/commands/GetPortalServiceProviderMetadataCommand.js +36 -0
  31. package/dist-cjs/commands/GetTrustStoreCertificateCommand.js +36 -0
  32. package/dist-cjs/commands/GetTrustStoreCommand.js +36 -0
  33. package/dist-cjs/commands/GetUserSettingsCommand.js +36 -0
  34. package/dist-cjs/commands/ListBrowserSettingsCommand.js +36 -0
  35. package/dist-cjs/commands/ListIdentityProvidersCommand.js +36 -0
  36. package/dist-cjs/commands/ListNetworkSettingsCommand.js +36 -0
  37. package/dist-cjs/commands/ListPortalsCommand.js +36 -0
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  39. package/dist-cjs/commands/ListTrustStoreCertificatesCommand.js +36 -0
  40. package/dist-cjs/commands/ListTrustStoresCommand.js +36 -0
  41. package/dist-cjs/commands/ListUserSettingsCommand.js +36 -0
  42. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  43. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  44. package/dist-cjs/commands/UpdateBrowserSettingsCommand.js +36 -0
  45. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +36 -0
  46. package/dist-cjs/commands/UpdateNetworkSettingsCommand.js +36 -0
  47. package/dist-cjs/commands/UpdatePortalCommand.js +36 -0
  48. package/dist-cjs/commands/UpdateTrustStoreCommand.js +36 -0
  49. package/dist-cjs/commands/UpdateUserSettingsCommand.js +36 -0
  50. package/dist-cjs/commands/index.js +47 -0
  51. package/dist-cjs/endpoints.js +130 -0
  52. package/dist-cjs/index.js +8 -0
  53. package/dist-cjs/models/index.js +4 -0
  54. package/dist-cjs/models/models_0.js +712 -0
  55. package/dist-cjs/pagination/Interfaces.js +2 -0
  56. package/dist-cjs/pagination/ListBrowserSettingsPaginator.js +35 -0
  57. package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +35 -0
  58. package/dist-cjs/pagination/ListNetworkSettingsPaginator.js +35 -0
  59. package/dist-cjs/pagination/ListPortalsPaginator.js +35 -0
  60. package/dist-cjs/pagination/ListTrustStoreCertificatesPaginator.js +35 -0
  61. package/dist-cjs/pagination/ListTrustStoresPaginator.js +35 -0
  62. package/dist-cjs/pagination/ListUserSettingsPaginator.js +35 -0
  63. package/dist-cjs/pagination/index.js +11 -0
  64. package/dist-cjs/protocols/Aws_restJson1.js +5533 -0
  65. package/dist-cjs/runtimeConfig.browser.js +40 -0
  66. package/dist-cjs/runtimeConfig.js +44 -0
  67. package/dist-cjs/runtimeConfig.native.js +16 -0
  68. package/dist-cjs/runtimeConfig.shared.js +17 -0
  69. package/dist-es/WorkSpacesWeb.js +670 -0
  70. package/dist-es/WorkSpacesWebClient.js +37 -0
  71. package/dist-es/commands/AssociateBrowserSettingsCommand.js +39 -0
  72. package/dist-es/commands/AssociateNetworkSettingsCommand.js +39 -0
  73. package/dist-es/commands/AssociateTrustStoreCommand.js +39 -0
  74. package/dist-es/commands/AssociateUserSettingsCommand.js +39 -0
  75. package/dist-es/commands/CreateBrowserSettingsCommand.js +39 -0
  76. package/dist-es/commands/CreateIdentityProviderCommand.js +39 -0
  77. package/dist-es/commands/CreateNetworkSettingsCommand.js +39 -0
  78. package/dist-es/commands/CreatePortalCommand.js +39 -0
  79. package/dist-es/commands/CreateTrustStoreCommand.js +39 -0
  80. package/dist-es/commands/CreateUserSettingsCommand.js +39 -0
  81. package/dist-es/commands/DeleteBrowserSettingsCommand.js +39 -0
  82. package/dist-es/commands/DeleteIdentityProviderCommand.js +39 -0
  83. package/dist-es/commands/DeleteNetworkSettingsCommand.js +39 -0
  84. package/dist-es/commands/DeletePortalCommand.js +39 -0
  85. package/dist-es/commands/DeleteTrustStoreCommand.js +39 -0
  86. package/dist-es/commands/DeleteUserSettingsCommand.js +39 -0
  87. package/dist-es/commands/DisassociateBrowserSettingsCommand.js +39 -0
  88. package/dist-es/commands/DisassociateNetworkSettingsCommand.js +39 -0
  89. package/dist-es/commands/DisassociateTrustStoreCommand.js +39 -0
  90. package/dist-es/commands/DisassociateUserSettingsCommand.js +39 -0
  91. package/dist-es/commands/GetBrowserSettingsCommand.js +39 -0
  92. package/dist-es/commands/GetIdentityProviderCommand.js +39 -0
  93. package/dist-es/commands/GetNetworkSettingsCommand.js +39 -0
  94. package/dist-es/commands/GetPortalCommand.js +39 -0
  95. package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +39 -0
  96. package/dist-es/commands/GetTrustStoreCertificateCommand.js +39 -0
  97. package/dist-es/commands/GetTrustStoreCommand.js +39 -0
  98. package/dist-es/commands/GetUserSettingsCommand.js +39 -0
  99. package/dist-es/commands/ListBrowserSettingsCommand.js +39 -0
  100. package/dist-es/commands/ListIdentityProvidersCommand.js +39 -0
  101. package/dist-es/commands/ListNetworkSettingsCommand.js +39 -0
  102. package/dist-es/commands/ListPortalsCommand.js +39 -0
  103. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  104. package/dist-es/commands/ListTrustStoreCertificatesCommand.js +39 -0
  105. package/dist-es/commands/ListTrustStoresCommand.js +39 -0
  106. package/dist-es/commands/ListUserSettingsCommand.js +39 -0
  107. package/dist-es/commands/TagResourceCommand.js +39 -0
  108. package/dist-es/commands/UntagResourceCommand.js +39 -0
  109. package/dist-es/commands/UpdateBrowserSettingsCommand.js +39 -0
  110. package/dist-es/commands/UpdateIdentityProviderCommand.js +39 -0
  111. package/dist-es/commands/UpdateNetworkSettingsCommand.js +39 -0
  112. package/dist-es/commands/UpdatePortalCommand.js +39 -0
  113. package/dist-es/commands/UpdateTrustStoreCommand.js +39 -0
  114. package/dist-es/commands/UpdateUserSettingsCommand.js +39 -0
  115. package/dist-es/commands/index.js +44 -0
  116. package/dist-es/endpoints.js +126 -0
  117. package/dist-es/index.js +5 -0
  118. package/dist-es/models/index.js +1 -0
  119. package/dist-es/models/models_0.js +484 -0
  120. package/dist-es/pagination/Interfaces.js +1 -0
  121. package/dist-es/pagination/ListBrowserSettingsPaginator.js +74 -0
  122. package/dist-es/pagination/ListIdentityProvidersPaginator.js +74 -0
  123. package/dist-es/pagination/ListNetworkSettingsPaginator.js +74 -0
  124. package/dist-es/pagination/ListPortalsPaginator.js +74 -0
  125. package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +74 -0
  126. package/dist-es/pagination/ListTrustStoresPaginator.js +74 -0
  127. package/dist-es/pagination/ListUserSettingsPaginator.js +74 -0
  128. package/dist-es/pagination/index.js +8 -0
  129. package/dist-es/protocols/Aws_restJson1.js +6269 -0
  130. package/dist-es/runtimeConfig.browser.js +17 -0
  131. package/dist-es/runtimeConfig.js +21 -0
  132. package/dist-es/runtimeConfig.native.js +8 -0
  133. package/dist-es/runtimeConfig.shared.js +13 -0
  134. package/dist-types/WorkSpacesWeb.d.ts +330 -0
  135. package/dist-types/WorkSpacesWebClient.d.ts +189 -0
  136. package/dist-types/commands/AssociateBrowserSettingsCommand.d.ts +35 -0
  137. package/dist-types/commands/AssociateNetworkSettingsCommand.d.ts +35 -0
  138. package/dist-types/commands/AssociateTrustStoreCommand.d.ts +35 -0
  139. package/dist-types/commands/AssociateUserSettingsCommand.d.ts +35 -0
  140. package/dist-types/commands/CreateBrowserSettingsCommand.d.ts +37 -0
  141. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +35 -0
  142. package/dist-types/commands/CreateNetworkSettingsCommand.d.ts +37 -0
  143. package/dist-types/commands/CreatePortalCommand.d.ts +35 -0
  144. package/dist-types/commands/CreateTrustStoreCommand.d.ts +39 -0
  145. package/dist-types/commands/CreateUserSettingsCommand.d.ts +37 -0
  146. package/dist-types/commands/DeleteBrowserSettingsCommand.d.ts +35 -0
  147. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +35 -0
  148. package/dist-types/commands/DeleteNetworkSettingsCommand.d.ts +35 -0
  149. package/dist-types/commands/DeletePortalCommand.d.ts +35 -0
  150. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +35 -0
  151. package/dist-types/commands/DeleteUserSettingsCommand.d.ts +35 -0
  152. package/dist-types/commands/DisassociateBrowserSettingsCommand.d.ts +35 -0
  153. package/dist-types/commands/DisassociateNetworkSettingsCommand.d.ts +35 -0
  154. package/dist-types/commands/DisassociateTrustStoreCommand.d.ts +35 -0
  155. package/dist-types/commands/DisassociateUserSettingsCommand.d.ts +35 -0
  156. package/dist-types/commands/GetBrowserSettingsCommand.d.ts +35 -0
  157. package/dist-types/commands/GetIdentityProviderCommand.d.ts +35 -0
  158. package/dist-types/commands/GetNetworkSettingsCommand.d.ts +35 -0
  159. package/dist-types/commands/GetPortalCommand.d.ts +35 -0
  160. package/dist-types/commands/GetPortalServiceProviderMetadataCommand.d.ts +35 -0
  161. package/dist-types/commands/GetTrustStoreCertificateCommand.d.ts +35 -0
  162. package/dist-types/commands/GetTrustStoreCommand.d.ts +35 -0
  163. package/dist-types/commands/GetUserSettingsCommand.d.ts +35 -0
  164. package/dist-types/commands/ListBrowserSettingsCommand.d.ts +35 -0
  165. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +35 -0
  166. package/dist-types/commands/ListNetworkSettingsCommand.d.ts +35 -0
  167. package/dist-types/commands/ListPortalsCommand.d.ts +35 -0
  168. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  169. package/dist-types/commands/ListTrustStoreCertificatesCommand.d.ts +35 -0
  170. package/dist-types/commands/ListTrustStoresCommand.d.ts +35 -0
  171. package/dist-types/commands/ListUserSettingsCommand.d.ts +35 -0
  172. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  173. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  174. package/dist-types/commands/UpdateBrowserSettingsCommand.d.ts +35 -0
  175. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +35 -0
  176. package/dist-types/commands/UpdateNetworkSettingsCommand.d.ts +35 -0
  177. package/dist-types/commands/UpdatePortalCommand.d.ts +35 -0
  178. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +35 -0
  179. package/dist-types/commands/UpdateUserSettingsCommand.d.ts +35 -0
  180. package/dist-types/commands/index.d.ts +44 -0
  181. package/dist-types/endpoints.d.ts +2 -0
  182. package/dist-types/index.d.ts +5 -0
  183. package/dist-types/models/index.d.ts +1 -0
  184. package/dist-types/models/models_0.d.ts +2382 -0
  185. package/dist-types/pagination/Interfaces.d.ts +6 -0
  186. package/dist-types/pagination/ListBrowserSettingsPaginator.d.ts +4 -0
  187. package/dist-types/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
  188. package/dist-types/pagination/ListNetworkSettingsPaginator.d.ts +4 -0
  189. package/dist-types/pagination/ListPortalsPaginator.d.ts +4 -0
  190. package/dist-types/pagination/ListTrustStoreCertificatesPaginator.d.ts +4 -0
  191. package/dist-types/pagination/ListTrustStoresPaginator.d.ts +4 -0
  192. package/dist-types/pagination/ListUserSettingsPaginator.d.ts +4 -0
  193. package/dist-types/pagination/index.d.ts +8 -0
  194. package/dist-types/protocols/Aws_restJson1.d.ts +134 -0
  195. package/dist-types/runtimeConfig.browser.d.ts +39 -0
  196. package/dist-types/runtimeConfig.d.ts +39 -0
  197. package/dist-types/runtimeConfig.native.d.ts +38 -0
  198. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  199. package/dist-types/ts3.4/WorkSpacesWeb.d.ts +225 -0
  200. package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +115 -0
  201. package/dist-types/ts3.4/commands/AssociateBrowserSettingsCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/AssociateNetworkSettingsCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/AssociateTrustStoreCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/AssociateUserSettingsCommand.d.ts +17 -0
  205. package/dist-types/ts3.4/commands/CreateBrowserSettingsCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +17 -0
  207. package/dist-types/ts3.4/commands/CreateNetworkSettingsCommand.d.ts +17 -0
  208. package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +17 -0
  209. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +17 -0
  210. package/dist-types/ts3.4/commands/CreateUserSettingsCommand.d.ts +17 -0
  211. package/dist-types/ts3.4/commands/DeleteBrowserSettingsCommand.d.ts +17 -0
  212. package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +17 -0
  213. package/dist-types/ts3.4/commands/DeleteNetworkSettingsCommand.d.ts +17 -0
  214. package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +17 -0
  215. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +17 -0
  216. package/dist-types/ts3.4/commands/DeleteUserSettingsCommand.d.ts +17 -0
  217. package/dist-types/ts3.4/commands/DisassociateBrowserSettingsCommand.d.ts +17 -0
  218. package/dist-types/ts3.4/commands/DisassociateNetworkSettingsCommand.d.ts +17 -0
  219. package/dist-types/ts3.4/commands/DisassociateTrustStoreCommand.d.ts +17 -0
  220. package/dist-types/ts3.4/commands/DisassociateUserSettingsCommand.d.ts +17 -0
  221. package/dist-types/ts3.4/commands/GetBrowserSettingsCommand.d.ts +17 -0
  222. package/dist-types/ts3.4/commands/GetIdentityProviderCommand.d.ts +17 -0
  223. package/dist-types/ts3.4/commands/GetNetworkSettingsCommand.d.ts +17 -0
  224. package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +17 -0
  225. package/dist-types/ts3.4/commands/GetPortalServiceProviderMetadataCommand.d.ts +17 -0
  226. package/dist-types/ts3.4/commands/GetTrustStoreCertificateCommand.d.ts +17 -0
  227. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +17 -0
  228. package/dist-types/ts3.4/commands/GetUserSettingsCommand.d.ts +17 -0
  229. package/dist-types/ts3.4/commands/ListBrowserSettingsCommand.d.ts +17 -0
  230. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +17 -0
  231. package/dist-types/ts3.4/commands/ListNetworkSettingsCommand.d.ts +17 -0
  232. package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +17 -0
  233. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  234. package/dist-types/ts3.4/commands/ListTrustStoreCertificatesCommand.d.ts +17 -0
  235. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +17 -0
  236. package/dist-types/ts3.4/commands/ListUserSettingsCommand.d.ts +17 -0
  237. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  238. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  239. package/dist-types/ts3.4/commands/UpdateBrowserSettingsCommand.d.ts +17 -0
  240. package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +17 -0
  241. package/dist-types/ts3.4/commands/UpdateNetworkSettingsCommand.d.ts +17 -0
  242. package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +17 -0
  243. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +17 -0
  244. package/dist-types/ts3.4/commands/UpdateUserSettingsCommand.d.ts +17 -0
  245. package/dist-types/ts3.4/commands/index.d.ts +44 -0
  246. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  247. package/dist-types/ts3.4/index.d.ts +5 -0
  248. package/dist-types/ts3.4/models/index.d.ts +1 -0
  249. package/dist-types/ts3.4/models/models_0.d.ts +1238 -0
  250. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  251. package/dist-types/ts3.4/pagination/ListBrowserSettingsPaginator.d.ts +4 -0
  252. package/dist-types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
  253. package/dist-types/ts3.4/pagination/ListNetworkSettingsPaginator.d.ts +4 -0
  254. package/dist-types/ts3.4/pagination/ListPortalsPaginator.d.ts +4 -0
  255. package/dist-types/ts3.4/pagination/ListTrustStoreCertificatesPaginator.d.ts +4 -0
  256. package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +4 -0
  257. package/dist-types/ts3.4/pagination/ListUserSettingsPaginator.d.ts +4 -0
  258. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  259. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +134 -0
  260. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  261. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  262. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  263. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  264. package/package.json +96 -0
@@ -0,0 +1,74 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListBrowserSettingsCommand, } from "../commands/ListBrowserSettingsCommand";
3
+ import { WorkSpacesWeb } from "../WorkSpacesWeb";
4
+ import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListBrowserSettingsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listBrowserSettings.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListBrowserSettings(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListBrowserSettings_1() {
39
+ var token, hasNext, page;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.nextToken = token;
49
+ input["maxResults"] = config.pageSize;
50
+ if (!(config.client instanceof WorkSpacesWeb)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof WorkSpacesWebClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ token = page.nextToken;
67
+ hasNext = !!token;
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
71
+ }
72
+ });
73
+ });
74
+ }
@@ -0,0 +1,74 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListIdentityProvidersCommand, } from "../commands/ListIdentityProvidersCommand";
3
+ import { WorkSpacesWeb } from "../WorkSpacesWeb";
4
+ import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListIdentityProvidersCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listIdentityProviders.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListIdentityProviders(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListIdentityProviders_1() {
39
+ var token, hasNext, page;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.nextToken = token;
49
+ input["maxResults"] = config.pageSize;
50
+ if (!(config.client instanceof WorkSpacesWeb)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof WorkSpacesWebClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ token = page.nextToken;
67
+ hasNext = !!token;
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
71
+ }
72
+ });
73
+ });
74
+ }
@@ -0,0 +1,74 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListNetworkSettingsCommand, } from "../commands/ListNetworkSettingsCommand";
3
+ import { WorkSpacesWeb } from "../WorkSpacesWeb";
4
+ import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListNetworkSettingsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listNetworkSettings.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListNetworkSettings(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListNetworkSettings_1() {
39
+ var token, hasNext, page;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.nextToken = token;
49
+ input["maxResults"] = config.pageSize;
50
+ if (!(config.client instanceof WorkSpacesWeb)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof WorkSpacesWebClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ token = page.nextToken;
67
+ hasNext = !!token;
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
71
+ }
72
+ });
73
+ });
74
+ }
@@ -0,0 +1,74 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListPortalsCommand } from "../commands/ListPortalsCommand";
3
+ import { WorkSpacesWeb } from "../WorkSpacesWeb";
4
+ import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListPortalsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listPortals.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListPortals(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListPortals_1() {
39
+ var token, hasNext, page;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.nextToken = token;
49
+ input["maxResults"] = config.pageSize;
50
+ if (!(config.client instanceof WorkSpacesWeb)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof WorkSpacesWebClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ token = page.nextToken;
67
+ hasNext = !!token;
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
71
+ }
72
+ });
73
+ });
74
+ }
@@ -0,0 +1,74 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListTrustStoreCertificatesCommand, } from "../commands/ListTrustStoreCertificatesCommand";
3
+ import { WorkSpacesWeb } from "../WorkSpacesWeb";
4
+ import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListTrustStoreCertificatesCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listTrustStoreCertificates.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListTrustStoreCertificates(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListTrustStoreCertificates_1() {
39
+ var token, hasNext, page;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.nextToken = token;
49
+ input["maxResults"] = config.pageSize;
50
+ if (!(config.client instanceof WorkSpacesWeb)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof WorkSpacesWebClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ token = page.nextToken;
67
+ hasNext = !!token;
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
71
+ }
72
+ });
73
+ });
74
+ }
@@ -0,0 +1,74 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListTrustStoresCommand, } from "../commands/ListTrustStoresCommand";
3
+ import { WorkSpacesWeb } from "../WorkSpacesWeb";
4
+ import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListTrustStoresCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listTrustStores.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListTrustStores(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListTrustStores_1() {
39
+ var token, hasNext, page;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.nextToken = token;
49
+ input["maxResults"] = config.pageSize;
50
+ if (!(config.client instanceof WorkSpacesWeb)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof WorkSpacesWebClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ token = page.nextToken;
67
+ hasNext = !!token;
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
71
+ }
72
+ });
73
+ });
74
+ }
@@ -0,0 +1,74 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListUserSettingsCommand, } from "../commands/ListUserSettingsCommand";
3
+ import { WorkSpacesWeb } from "../WorkSpacesWeb";
4
+ import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListUserSettingsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listUserSettings.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListUserSettings(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListUserSettings_1() {
39
+ var token, hasNext, page;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.nextToken = token;
49
+ input["maxResults"] = config.pageSize;
50
+ if (!(config.client instanceof WorkSpacesWeb)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof WorkSpacesWebClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ token = page.nextToken;
67
+ hasNext = !!token;
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
71
+ }
72
+ });
73
+ });
74
+ }
@@ -0,0 +1,8 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListBrowserSettingsPaginator";
3
+ export * from "./ListIdentityProvidersPaginator";
4
+ export * from "./ListNetworkSettingsPaginator";
5
+ export * from "./ListPortalsPaginator";
6
+ export * from "./ListTrustStoreCertificatesPaginator";
7
+ export * from "./ListTrustStoresPaginator";
8
+ export * from "./ListUserSettingsPaginator";