@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
@@ -1,48 +1,25 @@
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 { UpdatePortalRequestFilterSensitiveLog, UpdatePortalResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdatePortalCommand, se_UpdatePortalCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdatePortalCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePortalCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkSpacesWebClient";
27
- const commandName = "UpdatePortalCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdatePortalRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: UpdatePortalResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSErmineControlPlaneService",
36
- operation: "UpdatePortal",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_UpdatePortalCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdatePortalCommand(output, context);
47
- }
8
+ export class UpdatePortalCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSErmineControlPlaneService", "UpdatePortal", {})
20
+ .n("WorkSpacesWebClient", "UpdatePortalCommand")
21
+ .f(UpdatePortalRequestFilterSensitiveLog, UpdatePortalResponseFilterSensitiveLog)
22
+ .ser(se_UpdatePortalCommand)
23
+ .de(de_UpdatePortalCommand)
24
+ .build() {
48
25
  }
@@ -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_UpdateTrustStoreCommand, se_UpdateTrustStoreCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateTrustStoreCommand 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, UpdateTrustStoreCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WorkSpacesWebClient";
26
- const commandName = "UpdateTrustStoreCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSErmineControlPlaneService",
35
- operation: "UpdateTrustStore",
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_UpdateTrustStoreCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateTrustStoreCommand(output, context);
46
- }
7
+ export class UpdateTrustStoreCommand 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("AWSErmineControlPlaneService", "UpdateTrustStore", {})
19
+ .n("WorkSpacesWebClient", "UpdateTrustStoreCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateTrustStoreCommand)
22
+ .de(de_UpdateTrustStoreCommand)
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_UpdateUserAccessLoggingSettingsCommand, se_UpdateUserAccessLoggingSettingsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateUserAccessLoggingSettingsCommand 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, UpdateUserAccessLoggingSettingsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WorkSpacesWebClient";
26
- const commandName = "UpdateUserAccessLoggingSettingsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSErmineControlPlaneService",
35
- operation: "UpdateUserAccessLoggingSettings",
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_UpdateUserAccessLoggingSettingsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateUserAccessLoggingSettingsCommand(output, context);
46
- }
7
+ export class UpdateUserAccessLoggingSettingsCommand 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("AWSErmineControlPlaneService", "UpdateUserAccessLoggingSettings", {})
19
+ .n("WorkSpacesWebClient", "UpdateUserAccessLoggingSettingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateUserAccessLoggingSettingsCommand)
22
+ .de(de_UpdateUserAccessLoggingSettingsCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
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 { UpdateUserSettingsRequestFilterSensitiveLog, UpdateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateUserSettingsCommand, se_UpdateUserSettingsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdateUserSettingsCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserSettingsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkSpacesWebClient";
27
- const commandName = "UpdateUserSettingsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateUserSettingsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: UpdateUserSettingsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSErmineControlPlaneService",
36
- operation: "UpdateUserSettings",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_UpdateUserSettingsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateUserSettingsCommand(output, context);
47
- }
8
+ export class UpdateUserSettingsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSErmineControlPlaneService", "UpdateUserSettings", {})
20
+ .n("WorkSpacesWebClient", "UpdateUserSettingsCommand")
21
+ .f(UpdateUserSettingsRequestFilterSensitiveLog, UpdateUserSettingsResponseFilterSensitiveLog)
22
+ .ser(se_UpdateUserSettingsCommand)
23
+ .de(de_UpdateUserSettingsCommand)
24
+ .build() {
48
25
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "workspaces-web",
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 { ListBrowserSettingsCommand, } from "../commands/ListBrowserSettingsCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListBrowserSettingsCommand(input), ...args);
5
- };
6
- export async function* paginateListBrowserSettings(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListBrowserSettings = createPaginator(WorkSpacesWebClient, ListBrowserSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListIdentityProvidersCommand, } from "../commands/ListIdentityProvidersCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListIdentityProvidersCommand(input), ...args);
5
- };
6
- export async function* paginateListIdentityProviders(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListIdentityProviders = createPaginator(WorkSpacesWebClient, ListIdentityProvidersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListIpAccessSettingsCommand, } from "../commands/ListIpAccessSettingsCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListIpAccessSettingsCommand(input), ...args);
5
- };
6
- export async function* paginateListIpAccessSettings(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListIpAccessSettings = createPaginator(WorkSpacesWebClient, ListIpAccessSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListNetworkSettingsCommand, } from "../commands/ListNetworkSettingsCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListNetworkSettingsCommand(input), ...args);
5
- };
6
- export async function* paginateListNetworkSettings(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListNetworkSettings = createPaginator(WorkSpacesWebClient, ListNetworkSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListPortalsCommand } from "../commands/ListPortalsCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPortalsCommand(input), ...args);
5
- };
6
- export async function* paginateListPortals(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListPortals = createPaginator(WorkSpacesWebClient, ListPortalsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTrustStoreCertificatesCommand, } from "../commands/ListTrustStoreCertificatesCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTrustStoreCertificatesCommand(input), ...args);
5
- };
6
- export async function* paginateListTrustStoreCertificates(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListTrustStoreCertificates = createPaginator(WorkSpacesWebClient, ListTrustStoreCertificatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTrustStoresCommand, } from "../commands/ListTrustStoresCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTrustStoresCommand(input), ...args);
5
- };
6
- export async function* paginateListTrustStores(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListTrustStores = createPaginator(WorkSpacesWebClient, ListTrustStoresCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListUserAccessLoggingSettingsCommand, } from "../commands/ListUserAccessLoggingSettingsCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListUserAccessLoggingSettingsCommand(input), ...args);
5
- };
6
- export async function* paginateListUserAccessLoggingSettings(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListUserAccessLoggingSettings = createPaginator(WorkSpacesWebClient, ListUserAccessLoggingSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListUserSettingsCommand, } from "../commands/ListUserSettingsCommand";
2
3
  import { WorkSpacesWebClient } from "../WorkSpacesWebClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListUserSettingsCommand(input), ...args);
5
- };
6
- export async function* paginateListUserSettings(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 WorkSpacesWebClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpacesWeb | WorkSpacesWebClient");
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 paginateListUserSettings = createPaginator(WorkSpacesWebClient, ListUserSettingsCommand, "nextToken", "nextToken", "maxResults");
@@ -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 { AssociateBrowserSettingsRequest, AssociateBrowserSettingsResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateBrowserSettingsCommandInput extends AssociateBrowserSe
21
20
  */
22
21
  export interface AssociateBrowserSettingsCommandOutput extends AssociateBrowserSettingsResponse, __MetadataBearer {
23
22
  }
23
+ declare const AssociateBrowserSettingsCommand_base: {
24
+ new (input: AssociateBrowserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateBrowserSettingsCommandInput, AssociateBrowserSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a browser settings resource with a web portal.</p>
@@ -71,23 +74,5 @@ export interface AssociateBrowserSettingsCommandOutput extends AssociateBrowserS
71
74
  * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
72
75
  *
73
76
  */
74
- export declare class AssociateBrowserSettingsCommand extends $Command<AssociateBrowserSettingsCommandInput, AssociateBrowserSettingsCommandOutput, WorkSpacesWebClientResolvedConfig> {
75
- readonly input: AssociateBrowserSettingsCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: AssociateBrowserSettingsCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesWebClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateBrowserSettingsCommandInput, AssociateBrowserSettingsCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class AssociateBrowserSettingsCommand extends AssociateBrowserSettingsCommand_base {
93
78
  }
@@ -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 { AssociateIpAccessSettingsRequest, AssociateIpAccessSettingsResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateIpAccessSettingsCommandInput extends AssociateIpAccess
21
20
  */
22
21
  export interface AssociateIpAccessSettingsCommandOutput extends AssociateIpAccessSettingsResponse, __MetadataBearer {
23
22
  }
23
+ declare const AssociateIpAccessSettingsCommand_base: {
24
+ new (input: AssociateIpAccessSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateIpAccessSettingsCommandInput, AssociateIpAccessSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates an IP access settings resource with a web portal.</p>
@@ -71,23 +74,5 @@ export interface AssociateIpAccessSettingsCommandOutput extends AssociateIpAcces
71
74
  * <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
72
75
  *
73
76
  */
74
- export declare class AssociateIpAccessSettingsCommand extends $Command<AssociateIpAccessSettingsCommandInput, AssociateIpAccessSettingsCommandOutput, WorkSpacesWebClientResolvedConfig> {
75
- readonly input: AssociateIpAccessSettingsCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: AssociateIpAccessSettingsCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesWebClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateIpAccessSettingsCommandInput, AssociateIpAccessSettingsCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class AssociateIpAccessSettingsCommand extends AssociateIpAccessSettingsCommand_base {
93
78
  }