@aws-sdk/client-workspaces-web 3.190.0 → 3.193.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 (260) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/WorkSpacesWeb.js +105 -0
  3. package/dist-cjs/WorkSpacesWebClient.js +11 -8
  4. package/dist-cjs/commands/AssociateBrowserSettingsCommand.js +10 -0
  5. package/dist-cjs/commands/AssociateNetworkSettingsCommand.js +10 -0
  6. package/dist-cjs/commands/AssociateTrustStoreCommand.js +10 -0
  7. package/dist-cjs/commands/AssociateUserAccessLoggingSettingsCommand.js +46 -0
  8. package/dist-cjs/commands/AssociateUserSettingsCommand.js +10 -0
  9. package/dist-cjs/commands/CreateBrowserSettingsCommand.js +10 -0
  10. package/dist-cjs/commands/CreateIdentityProviderCommand.js +10 -0
  11. package/dist-cjs/commands/CreateNetworkSettingsCommand.js +10 -0
  12. package/dist-cjs/commands/CreatePortalCommand.js +10 -0
  13. package/dist-cjs/commands/CreateTrustStoreCommand.js +10 -0
  14. package/dist-cjs/commands/CreateUserAccessLoggingSettingsCommand.js +46 -0
  15. package/dist-cjs/commands/CreateUserSettingsCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteBrowserSettingsCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +10 -0
  18. package/dist-cjs/commands/DeleteNetworkSettingsCommand.js +10 -0
  19. package/dist-cjs/commands/DeletePortalCommand.js +10 -0
  20. package/dist-cjs/commands/DeleteTrustStoreCommand.js +10 -0
  21. package/dist-cjs/commands/DeleteUserAccessLoggingSettingsCommand.js +46 -0
  22. package/dist-cjs/commands/DeleteUserSettingsCommand.js +10 -0
  23. package/dist-cjs/commands/DisassociateBrowserSettingsCommand.js +10 -0
  24. package/dist-cjs/commands/DisassociateNetworkSettingsCommand.js +10 -0
  25. package/dist-cjs/commands/DisassociateTrustStoreCommand.js +10 -0
  26. package/dist-cjs/commands/DisassociateUserAccessLoggingSettingsCommand.js +46 -0
  27. package/dist-cjs/commands/DisassociateUserSettingsCommand.js +10 -0
  28. package/dist-cjs/commands/GetBrowserSettingsCommand.js +10 -0
  29. package/dist-cjs/commands/GetIdentityProviderCommand.js +10 -0
  30. package/dist-cjs/commands/GetNetworkSettingsCommand.js +10 -0
  31. package/dist-cjs/commands/GetPortalCommand.js +10 -0
  32. package/dist-cjs/commands/GetPortalServiceProviderMetadataCommand.js +10 -0
  33. package/dist-cjs/commands/GetTrustStoreCertificateCommand.js +10 -0
  34. package/dist-cjs/commands/GetTrustStoreCommand.js +10 -0
  35. package/dist-cjs/commands/GetUserAccessLoggingSettingsCommand.js +46 -0
  36. package/dist-cjs/commands/GetUserSettingsCommand.js +10 -0
  37. package/dist-cjs/commands/ListBrowserSettingsCommand.js +10 -0
  38. package/dist-cjs/commands/ListIdentityProvidersCommand.js +10 -0
  39. package/dist-cjs/commands/ListNetworkSettingsCommand.js +10 -0
  40. package/dist-cjs/commands/ListPortalsCommand.js +10 -0
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  42. package/dist-cjs/commands/ListTrustStoreCertificatesCommand.js +10 -0
  43. package/dist-cjs/commands/ListTrustStoresCommand.js +10 -0
  44. package/dist-cjs/commands/ListUserAccessLoggingSettingsCommand.js +46 -0
  45. package/dist-cjs/commands/ListUserSettingsCommand.js +10 -0
  46. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  47. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  48. package/dist-cjs/commands/UpdateBrowserSettingsCommand.js +10 -0
  49. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +10 -0
  50. package/dist-cjs/commands/UpdateNetworkSettingsCommand.js +10 -0
  51. package/dist-cjs/commands/UpdatePortalCommand.js +10 -0
  52. package/dist-cjs/commands/UpdateTrustStoreCommand.js +10 -0
  53. package/dist-cjs/commands/UpdateUserAccessLoggingSettingsCommand.js +46 -0
  54. package/dist-cjs/commands/UpdateUserSettingsCommand.js +10 -0
  55. package/dist-cjs/commands/index.js +7 -0
  56. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  57. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  58. package/dist-cjs/endpoint/ruleset.js +318 -0
  59. package/dist-cjs/models/models_0.js +68 -3
  60. package/dist-cjs/pagination/ListUserAccessLoggingSettingsPaginator.js +36 -0
  61. package/dist-cjs/pagination/index.js +1 -0
  62. package/dist-cjs/protocols/Aws_restJson1.js +502 -2
  63. package/dist-cjs/runtimeConfig.shared.js +3 -3
  64. package/dist-es/WorkSpacesWeb.js +105 -0
  65. package/dist-es/WorkSpacesWebClient.js +12 -9
  66. package/dist-es/commands/AssociateBrowserSettingsCommand.js +10 -0
  67. package/dist-es/commands/AssociateNetworkSettingsCommand.js +10 -0
  68. package/dist-es/commands/AssociateTrustStoreCommand.js +10 -0
  69. package/dist-es/commands/AssociateUserAccessLoggingSettingsCommand.js +42 -0
  70. package/dist-es/commands/AssociateUserSettingsCommand.js +10 -0
  71. package/dist-es/commands/CreateBrowserSettingsCommand.js +10 -0
  72. package/dist-es/commands/CreateIdentityProviderCommand.js +10 -0
  73. package/dist-es/commands/CreateNetworkSettingsCommand.js +10 -0
  74. package/dist-es/commands/CreatePortalCommand.js +10 -0
  75. package/dist-es/commands/CreateTrustStoreCommand.js +10 -0
  76. package/dist-es/commands/CreateUserAccessLoggingSettingsCommand.js +42 -0
  77. package/dist-es/commands/CreateUserSettingsCommand.js +10 -0
  78. package/dist-es/commands/DeleteBrowserSettingsCommand.js +10 -0
  79. package/dist-es/commands/DeleteIdentityProviderCommand.js +10 -0
  80. package/dist-es/commands/DeleteNetworkSettingsCommand.js +10 -0
  81. package/dist-es/commands/DeletePortalCommand.js +10 -0
  82. package/dist-es/commands/DeleteTrustStoreCommand.js +10 -0
  83. package/dist-es/commands/DeleteUserAccessLoggingSettingsCommand.js +42 -0
  84. package/dist-es/commands/DeleteUserSettingsCommand.js +10 -0
  85. package/dist-es/commands/DisassociateBrowserSettingsCommand.js +10 -0
  86. package/dist-es/commands/DisassociateNetworkSettingsCommand.js +10 -0
  87. package/dist-es/commands/DisassociateTrustStoreCommand.js +10 -0
  88. package/dist-es/commands/DisassociateUserAccessLoggingSettingsCommand.js +42 -0
  89. package/dist-es/commands/DisassociateUserSettingsCommand.js +10 -0
  90. package/dist-es/commands/GetBrowserSettingsCommand.js +10 -0
  91. package/dist-es/commands/GetIdentityProviderCommand.js +10 -0
  92. package/dist-es/commands/GetNetworkSettingsCommand.js +10 -0
  93. package/dist-es/commands/GetPortalCommand.js +10 -0
  94. package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +10 -0
  95. package/dist-es/commands/GetTrustStoreCertificateCommand.js +10 -0
  96. package/dist-es/commands/GetTrustStoreCommand.js +10 -0
  97. package/dist-es/commands/GetUserAccessLoggingSettingsCommand.js +42 -0
  98. package/dist-es/commands/GetUserSettingsCommand.js +10 -0
  99. package/dist-es/commands/ListBrowserSettingsCommand.js +10 -0
  100. package/dist-es/commands/ListIdentityProvidersCommand.js +10 -0
  101. package/dist-es/commands/ListNetworkSettingsCommand.js +10 -0
  102. package/dist-es/commands/ListPortalsCommand.js +10 -0
  103. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  104. package/dist-es/commands/ListTrustStoreCertificatesCommand.js +10 -0
  105. package/dist-es/commands/ListTrustStoresCommand.js +10 -0
  106. package/dist-es/commands/ListUserAccessLoggingSettingsCommand.js +42 -0
  107. package/dist-es/commands/ListUserSettingsCommand.js +10 -0
  108. package/dist-es/commands/TagResourceCommand.js +10 -0
  109. package/dist-es/commands/UntagResourceCommand.js +10 -0
  110. package/dist-es/commands/UpdateBrowserSettingsCommand.js +10 -0
  111. package/dist-es/commands/UpdateIdentityProviderCommand.js +10 -0
  112. package/dist-es/commands/UpdateNetworkSettingsCommand.js +10 -0
  113. package/dist-es/commands/UpdatePortalCommand.js +10 -0
  114. package/dist-es/commands/UpdateTrustStoreCommand.js +10 -0
  115. package/dist-es/commands/UpdateUserAccessLoggingSettingsCommand.js +42 -0
  116. package/dist-es/commands/UpdateUserSettingsCommand.js +10 -0
  117. package/dist-es/commands/index.js +7 -0
  118. package/dist-es/endpoint/EndpointParameters.js +8 -0
  119. package/dist-es/endpoint/endpointResolver.js +8 -0
  120. package/dist-es/endpoint/ruleset.js +315 -0
  121. package/dist-es/models/models_0.js +49 -0
  122. package/dist-es/pagination/ListUserAccessLoggingSettingsPaginator.js +32 -0
  123. package/dist-es/pagination/index.js +1 -0
  124. package/dist-es/protocols/Aws_restJson1.js +483 -0
  125. package/dist-es/runtimeConfig.shared.js +2 -2
  126. package/dist-types/WorkSpacesWeb.d.ts +49 -0
  127. package/dist-types/WorkSpacesWebClient.d.ts +15 -11
  128. package/dist-types/commands/AssociateBrowserSettingsCommand.d.ts +2 -0
  129. package/dist-types/commands/AssociateNetworkSettingsCommand.d.ts +2 -0
  130. package/dist-types/commands/AssociateTrustStoreCommand.d.ts +2 -0
  131. package/dist-types/commands/AssociateUserAccessLoggingSettingsCommand.d.ts +37 -0
  132. package/dist-types/commands/AssociateUserSettingsCommand.d.ts +2 -0
  133. package/dist-types/commands/CreateBrowserSettingsCommand.d.ts +2 -0
  134. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +2 -0
  135. package/dist-types/commands/CreateNetworkSettingsCommand.d.ts +2 -0
  136. package/dist-types/commands/CreatePortalCommand.d.ts +2 -0
  137. package/dist-types/commands/CreateTrustStoreCommand.d.ts +2 -0
  138. package/dist-types/commands/CreateUserAccessLoggingSettingsCommand.d.ts +37 -0
  139. package/dist-types/commands/CreateUserSettingsCommand.d.ts +2 -0
  140. package/dist-types/commands/DeleteBrowserSettingsCommand.d.ts +2 -0
  141. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +2 -0
  142. package/dist-types/commands/DeleteNetworkSettingsCommand.d.ts +2 -0
  143. package/dist-types/commands/DeletePortalCommand.d.ts +2 -0
  144. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +2 -0
  145. package/dist-types/commands/DeleteUserAccessLoggingSettingsCommand.d.ts +37 -0
  146. package/dist-types/commands/DeleteUserSettingsCommand.d.ts +2 -0
  147. package/dist-types/commands/DisassociateBrowserSettingsCommand.d.ts +2 -0
  148. package/dist-types/commands/DisassociateNetworkSettingsCommand.d.ts +2 -0
  149. package/dist-types/commands/DisassociateTrustStoreCommand.d.ts +2 -0
  150. package/dist-types/commands/DisassociateUserAccessLoggingSettingsCommand.d.ts +37 -0
  151. package/dist-types/commands/DisassociateUserSettingsCommand.d.ts +2 -0
  152. package/dist-types/commands/GetBrowserSettingsCommand.d.ts +2 -0
  153. package/dist-types/commands/GetIdentityProviderCommand.d.ts +2 -0
  154. package/dist-types/commands/GetNetworkSettingsCommand.d.ts +2 -0
  155. package/dist-types/commands/GetPortalCommand.d.ts +2 -0
  156. package/dist-types/commands/GetPortalServiceProviderMetadataCommand.d.ts +2 -0
  157. package/dist-types/commands/GetTrustStoreCertificateCommand.d.ts +2 -0
  158. package/dist-types/commands/GetTrustStoreCommand.d.ts +2 -0
  159. package/dist-types/commands/GetUserAccessLoggingSettingsCommand.d.ts +37 -0
  160. package/dist-types/commands/GetUserSettingsCommand.d.ts +2 -0
  161. package/dist-types/commands/ListBrowserSettingsCommand.d.ts +2 -0
  162. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +2 -0
  163. package/dist-types/commands/ListNetworkSettingsCommand.d.ts +2 -0
  164. package/dist-types/commands/ListPortalsCommand.d.ts +2 -0
  165. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  166. package/dist-types/commands/ListTrustStoreCertificatesCommand.d.ts +2 -0
  167. package/dist-types/commands/ListTrustStoresCommand.d.ts +2 -0
  168. package/dist-types/commands/ListUserAccessLoggingSettingsCommand.d.ts +37 -0
  169. package/dist-types/commands/ListUserSettingsCommand.d.ts +2 -0
  170. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  171. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  172. package/dist-types/commands/UpdateBrowserSettingsCommand.d.ts +2 -0
  173. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +2 -0
  174. package/dist-types/commands/UpdateNetworkSettingsCommand.d.ts +2 -0
  175. package/dist-types/commands/UpdatePortalCommand.d.ts +2 -0
  176. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +2 -0
  177. package/dist-types/commands/UpdateUserAccessLoggingSettingsCommand.d.ts +37 -0
  178. package/dist-types/commands/UpdateUserSettingsCommand.d.ts +2 -0
  179. package/dist-types/commands/index.d.ts +7 -0
  180. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  181. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  182. package/dist-types/endpoint/ruleset.d.ts +2 -0
  183. package/dist-types/models/models_0.d.ts +221 -1
  184. package/dist-types/pagination/ListUserAccessLoggingSettingsPaginator.d.ts +4 -0
  185. package/dist-types/pagination/index.d.ts +1 -0
  186. package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
  187. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  188. package/dist-types/runtimeConfig.d.ts +4 -2
  189. package/dist-types/runtimeConfig.native.d.ts +4 -2
  190. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  191. package/dist-types/ts3.4/WorkSpacesWeb.d.ts +131 -0
  192. package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +57 -8
  193. package/dist-types/ts3.4/commands/AssociateBrowserSettingsCommand.d.ts +2 -0
  194. package/dist-types/ts3.4/commands/AssociateNetworkSettingsCommand.d.ts +2 -0
  195. package/dist-types/ts3.4/commands/AssociateTrustStoreCommand.d.ts +2 -0
  196. package/dist-types/ts3.4/commands/AssociateUserAccessLoggingSettingsCommand.d.ts +41 -0
  197. package/dist-types/ts3.4/commands/AssociateUserSettingsCommand.d.ts +2 -0
  198. package/dist-types/ts3.4/commands/CreateBrowserSettingsCommand.d.ts +2 -0
  199. package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +2 -0
  200. package/dist-types/ts3.4/commands/CreateNetworkSettingsCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/CreateUserAccessLoggingSettingsCommand.d.ts +41 -0
  204. package/dist-types/ts3.4/commands/CreateUserSettingsCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/DeleteBrowserSettingsCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/DeleteNetworkSettingsCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/DeleteUserAccessLoggingSettingsCommand.d.ts +41 -0
  211. package/dist-types/ts3.4/commands/DeleteUserSettingsCommand.d.ts +2 -0
  212. package/dist-types/ts3.4/commands/DisassociateBrowserSettingsCommand.d.ts +2 -0
  213. package/dist-types/ts3.4/commands/DisassociateNetworkSettingsCommand.d.ts +2 -0
  214. package/dist-types/ts3.4/commands/DisassociateTrustStoreCommand.d.ts +2 -0
  215. package/dist-types/ts3.4/commands/DisassociateUserAccessLoggingSettingsCommand.d.ts +41 -0
  216. package/dist-types/ts3.4/commands/DisassociateUserSettingsCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/GetBrowserSettingsCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/GetIdentityProviderCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/GetNetworkSettingsCommand.d.ts +2 -0
  220. package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/commands/GetPortalServiceProviderMetadataCommand.d.ts +2 -0
  222. package/dist-types/ts3.4/commands/GetTrustStoreCertificateCommand.d.ts +2 -0
  223. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +2 -0
  224. package/dist-types/ts3.4/commands/GetUserAccessLoggingSettingsCommand.d.ts +41 -0
  225. package/dist-types/ts3.4/commands/GetUserSettingsCommand.d.ts +2 -0
  226. package/dist-types/ts3.4/commands/ListBrowserSettingsCommand.d.ts +2 -0
  227. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +2 -0
  228. package/dist-types/ts3.4/commands/ListNetworkSettingsCommand.d.ts +2 -0
  229. package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +2 -0
  230. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  231. package/dist-types/ts3.4/commands/ListTrustStoreCertificatesCommand.d.ts +2 -0
  232. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +2 -0
  233. package/dist-types/ts3.4/commands/ListUserAccessLoggingSettingsCommand.d.ts +41 -0
  234. package/dist-types/ts3.4/commands/ListUserSettingsCommand.d.ts +2 -0
  235. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  236. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  237. package/dist-types/ts3.4/commands/UpdateBrowserSettingsCommand.d.ts +2 -0
  238. package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +2 -0
  239. package/dist-types/ts3.4/commands/UpdateNetworkSettingsCommand.d.ts +2 -0
  240. package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +2 -0
  241. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +2 -0
  242. package/dist-types/ts3.4/commands/UpdateUserAccessLoggingSettingsCommand.d.ts +41 -0
  243. package/dist-types/ts3.4/commands/UpdateUserSettingsCommand.d.ts +2 -0
  244. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  245. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  246. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  247. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  248. package/dist-types/ts3.4/models/models_0.d.ts +105 -0
  249. package/dist-types/ts3.4/pagination/ListUserAccessLoggingSettingsPaginator.d.ts +11 -0
  250. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  251. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  252. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  253. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  254. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  255. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  256. package/package.json +28 -26
  257. package/dist-cjs/endpoints.js +0 -132
  258. package/dist-es/endpoints.js +0 -128
  259. package/dist-types/endpoints.d.ts +0 -2
  260. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,22 +1,26 @@
1
1
  import { AssociateBrowserSettingsCommand, } from "./commands/AssociateBrowserSettingsCommand";
2
2
  import { AssociateNetworkSettingsCommand, } from "./commands/AssociateNetworkSettingsCommand";
3
3
  import { AssociateTrustStoreCommand, } from "./commands/AssociateTrustStoreCommand";
4
+ import { AssociateUserAccessLoggingSettingsCommand, } from "./commands/AssociateUserAccessLoggingSettingsCommand";
4
5
  import { AssociateUserSettingsCommand, } from "./commands/AssociateUserSettingsCommand";
5
6
  import { CreateBrowserSettingsCommand, } from "./commands/CreateBrowserSettingsCommand";
6
7
  import { CreateIdentityProviderCommand, } from "./commands/CreateIdentityProviderCommand";
7
8
  import { CreateNetworkSettingsCommand, } from "./commands/CreateNetworkSettingsCommand";
8
9
  import { CreatePortalCommand, } from "./commands/CreatePortalCommand";
9
10
  import { CreateTrustStoreCommand, } from "./commands/CreateTrustStoreCommand";
11
+ import { CreateUserAccessLoggingSettingsCommand, } from "./commands/CreateUserAccessLoggingSettingsCommand";
10
12
  import { CreateUserSettingsCommand, } from "./commands/CreateUserSettingsCommand";
11
13
  import { DeleteBrowserSettingsCommand, } from "./commands/DeleteBrowserSettingsCommand";
12
14
  import { DeleteIdentityProviderCommand, } from "./commands/DeleteIdentityProviderCommand";
13
15
  import { DeleteNetworkSettingsCommand, } from "./commands/DeleteNetworkSettingsCommand";
14
16
  import { DeletePortalCommand, } from "./commands/DeletePortalCommand";
15
17
  import { DeleteTrustStoreCommand, } from "./commands/DeleteTrustStoreCommand";
18
+ import { DeleteUserAccessLoggingSettingsCommand, } from "./commands/DeleteUserAccessLoggingSettingsCommand";
16
19
  import { DeleteUserSettingsCommand, } from "./commands/DeleteUserSettingsCommand";
17
20
  import { DisassociateBrowserSettingsCommand, } from "./commands/DisassociateBrowserSettingsCommand";
18
21
  import { DisassociateNetworkSettingsCommand, } from "./commands/DisassociateNetworkSettingsCommand";
19
22
  import { DisassociateTrustStoreCommand, } from "./commands/DisassociateTrustStoreCommand";
23
+ import { DisassociateUserAccessLoggingSettingsCommand, } from "./commands/DisassociateUserAccessLoggingSettingsCommand";
20
24
  import { DisassociateUserSettingsCommand, } from "./commands/DisassociateUserSettingsCommand";
21
25
  import { GetBrowserSettingsCommand, } from "./commands/GetBrowserSettingsCommand";
22
26
  import { GetIdentityProviderCommand, } from "./commands/GetIdentityProviderCommand";
@@ -25,6 +29,7 @@ import { GetPortalCommand } from "./commands/GetPortalCommand";
25
29
  import { GetPortalServiceProviderMetadataCommand, } from "./commands/GetPortalServiceProviderMetadataCommand";
26
30
  import { GetTrustStoreCertificateCommand, } from "./commands/GetTrustStoreCertificateCommand";
27
31
  import { GetTrustStoreCommand, } from "./commands/GetTrustStoreCommand";
32
+ import { GetUserAccessLoggingSettingsCommand, } from "./commands/GetUserAccessLoggingSettingsCommand";
28
33
  import { GetUserSettingsCommand, } from "./commands/GetUserSettingsCommand";
29
34
  import { ListBrowserSettingsCommand, } from "./commands/ListBrowserSettingsCommand";
30
35
  import { ListIdentityProvidersCommand, } from "./commands/ListIdentityProvidersCommand";
@@ -33,6 +38,7 @@ import { ListPortalsCommand } from "./commands/ListPortalsCommand";
33
38
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
34
39
  import { ListTrustStoreCertificatesCommand, } from "./commands/ListTrustStoreCertificatesCommand";
35
40
  import { ListTrustStoresCommand, } from "./commands/ListTrustStoresCommand";
41
+ import { ListUserAccessLoggingSettingsCommand, } from "./commands/ListUserAccessLoggingSettingsCommand";
36
42
  import { ListUserSettingsCommand, } from "./commands/ListUserSettingsCommand";
37
43
  import { TagResourceCommand } from "./commands/TagResourceCommand";
38
44
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -41,6 +47,7 @@ import { UpdateIdentityProviderCommand, } from "./commands/UpdateIdentityProvide
41
47
  import { UpdateNetworkSettingsCommand, } from "./commands/UpdateNetworkSettingsCommand";
42
48
  import { UpdatePortalCommand, } from "./commands/UpdatePortalCommand";
43
49
  import { UpdateTrustStoreCommand, } from "./commands/UpdateTrustStoreCommand";
50
+ import { UpdateUserAccessLoggingSettingsCommand, } from "./commands/UpdateUserAccessLoggingSettingsCommand";
44
51
  import { UpdateUserSettingsCommand, } from "./commands/UpdateUserSettingsCommand";
45
52
  import { WorkSpacesWebClient } from "./WorkSpacesWebClient";
46
53
  export class WorkSpacesWeb extends WorkSpacesWebClient {
@@ -86,6 +93,20 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
86
93
  return this.send(command, optionsOrCb);
87
94
  }
88
95
  }
96
+ associateUserAccessLoggingSettings(args, optionsOrCb, cb) {
97
+ const command = new AssociateUserAccessLoggingSettingsCommand(args);
98
+ if (typeof optionsOrCb === "function") {
99
+ this.send(command, optionsOrCb);
100
+ }
101
+ else if (typeof cb === "function") {
102
+ if (typeof optionsOrCb !== "object")
103
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
104
+ this.send(command, optionsOrCb || {}, cb);
105
+ }
106
+ else {
107
+ return this.send(command, optionsOrCb);
108
+ }
109
+ }
89
110
  associateUserSettings(args, optionsOrCb, cb) {
90
111
  const command = new AssociateUserSettingsCommand(args);
91
112
  if (typeof optionsOrCb === "function") {
@@ -170,6 +191,20 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
170
191
  return this.send(command, optionsOrCb);
171
192
  }
172
193
  }
194
+ createUserAccessLoggingSettings(args, optionsOrCb, cb) {
195
+ const command = new CreateUserAccessLoggingSettingsCommand(args);
196
+ if (typeof optionsOrCb === "function") {
197
+ this.send(command, optionsOrCb);
198
+ }
199
+ else if (typeof cb === "function") {
200
+ if (typeof optionsOrCb !== "object")
201
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
202
+ this.send(command, optionsOrCb || {}, cb);
203
+ }
204
+ else {
205
+ return this.send(command, optionsOrCb);
206
+ }
207
+ }
173
208
  createUserSettings(args, optionsOrCb, cb) {
174
209
  const command = new CreateUserSettingsCommand(args);
175
210
  if (typeof optionsOrCb === "function") {
@@ -254,6 +289,20 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
254
289
  return this.send(command, optionsOrCb);
255
290
  }
256
291
  }
292
+ deleteUserAccessLoggingSettings(args, optionsOrCb, cb) {
293
+ const command = new DeleteUserAccessLoggingSettingsCommand(args);
294
+ if (typeof optionsOrCb === "function") {
295
+ this.send(command, optionsOrCb);
296
+ }
297
+ else if (typeof cb === "function") {
298
+ if (typeof optionsOrCb !== "object")
299
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
300
+ this.send(command, optionsOrCb || {}, cb);
301
+ }
302
+ else {
303
+ return this.send(command, optionsOrCb);
304
+ }
305
+ }
257
306
  deleteUserSettings(args, optionsOrCb, cb) {
258
307
  const command = new DeleteUserSettingsCommand(args);
259
308
  if (typeof optionsOrCb === "function") {
@@ -310,6 +359,20 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
310
359
  return this.send(command, optionsOrCb);
311
360
  }
312
361
  }
362
+ disassociateUserAccessLoggingSettings(args, optionsOrCb, cb) {
363
+ const command = new DisassociateUserAccessLoggingSettingsCommand(args);
364
+ if (typeof optionsOrCb === "function") {
365
+ this.send(command, optionsOrCb);
366
+ }
367
+ else if (typeof cb === "function") {
368
+ if (typeof optionsOrCb !== "object")
369
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
370
+ this.send(command, optionsOrCb || {}, cb);
371
+ }
372
+ else {
373
+ return this.send(command, optionsOrCb);
374
+ }
375
+ }
313
376
  disassociateUserSettings(args, optionsOrCb, cb) {
314
377
  const command = new DisassociateUserSettingsCommand(args);
315
378
  if (typeof optionsOrCb === "function") {
@@ -422,6 +485,20 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
422
485
  return this.send(command, optionsOrCb);
423
486
  }
424
487
  }
488
+ getUserAccessLoggingSettings(args, optionsOrCb, cb) {
489
+ const command = new GetUserAccessLoggingSettingsCommand(args);
490
+ if (typeof optionsOrCb === "function") {
491
+ this.send(command, optionsOrCb);
492
+ }
493
+ else if (typeof cb === "function") {
494
+ if (typeof optionsOrCb !== "object")
495
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
496
+ this.send(command, optionsOrCb || {}, cb);
497
+ }
498
+ else {
499
+ return this.send(command, optionsOrCb);
500
+ }
501
+ }
425
502
  getUserSettings(args, optionsOrCb, cb) {
426
503
  const command = new GetUserSettingsCommand(args);
427
504
  if (typeof optionsOrCb === "function") {
@@ -534,6 +611,20 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
534
611
  return this.send(command, optionsOrCb);
535
612
  }
536
613
  }
614
+ listUserAccessLoggingSettings(args, optionsOrCb, cb) {
615
+ const command = new ListUserAccessLoggingSettingsCommand(args);
616
+ if (typeof optionsOrCb === "function") {
617
+ this.send(command, optionsOrCb);
618
+ }
619
+ else if (typeof cb === "function") {
620
+ if (typeof optionsOrCb !== "object")
621
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
622
+ this.send(command, optionsOrCb || {}, cb);
623
+ }
624
+ else {
625
+ return this.send(command, optionsOrCb);
626
+ }
627
+ }
537
628
  listUserSettings(args, optionsOrCb, cb) {
538
629
  const command = new ListUserSettingsCommand(args);
539
630
  if (typeof optionsOrCb === "function") {
@@ -646,6 +737,20 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
646
737
  return this.send(command, optionsOrCb);
647
738
  }
648
739
  }
740
+ updateUserAccessLoggingSettings(args, optionsOrCb, cb) {
741
+ const command = new UpdateUserAccessLoggingSettingsCommand(args);
742
+ if (typeof optionsOrCb === "function") {
743
+ this.send(command, optionsOrCb);
744
+ }
745
+ else if (typeof cb === "function") {
746
+ if (typeof optionsOrCb !== "object")
747
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
748
+ this.send(command, optionsOrCb || {}, cb);
749
+ }
750
+ else {
751
+ return this.send(command, optionsOrCb);
752
+ }
753
+ }
649
754
  updateUserSettings(args, optionsOrCb, cb) {
650
755
  const command = new UpdateUserSettingsCommand(args);
651
756
  if (typeof optionsOrCb === "function") {
@@ -1,5 +1,6 @@
1
- import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
1
+ import { resolveRegionConfig } from "@aws-sdk/config-resolver";
2
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
+ import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
4
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
5
6
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
@@ -7,18 +8,20 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
10
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
13
  export class WorkSpacesWebClient extends __Client {
12
14
  constructor(configuration) {
13
15
  const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
16
+ const _config_1 = resolveClientEndpointParameters(_config_0);
17
+ const _config_2 = resolveRegionConfig(_config_1);
18
+ const _config_3 = resolveEndpointConfig(_config_2);
19
+ const _config_4 = resolveRetryConfig(_config_3);
20
+ const _config_5 = resolveHostHeaderConfig(_config_4);
21
+ const _config_6 = resolveAwsAuthConfig(_config_5);
22
+ const _config_7 = resolveUserAgentConfig(_config_6);
23
+ super(_config_7);
24
+ this.config = _config_7;
22
25
  this.middlewareStack.use(getRetryPlugin(this.config));
23
26
  this.middlewareStack.use(getContentLengthPlugin(this.config));
24
27
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateBrowserSettingsRequestFilterSensitiveLog, AssociateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AssociateBrowserSettingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateBrowserSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateNetworkSettingsRequestFilterSensitiveLog, AssociateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AssociateNetworkSettingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateNetworkSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateTrustStoreRequestFilterSensitiveLog, AssociateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AssociateTrustStoreCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateTrustStoreCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { AssociateUserAccessLoggingSettingsRequestFilterSensitiveLog, AssociateUserAccessLoggingSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1AssociateUserAccessLoggingSettingsCommand, serializeAws_restJson1AssociateUserAccessLoggingSettingsCommand, } from "../protocols/Aws_restJson1";
6
+ export class AssociateUserAccessLoggingSettingsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateUserAccessLoggingSettingsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "WorkSpacesWebClient";
25
+ const commandName = "AssociateUserAccessLoggingSettingsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: AssociateUserAccessLoggingSettingsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: AssociateUserAccessLoggingSettingsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1AssociateUserAccessLoggingSettingsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1AssociateUserAccessLoggingSettingsCommand(output, context);
41
+ }
42
+ }
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateUserSettingsRequestFilterSensitiveLog, AssociateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AssociateUserSettingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateUserSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateBrowserSettingsRequestFilterSensitiveLog, CreateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateBrowserSettingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateBrowserSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateIdentityProviderRequestFilterSensitiveLog, CreateIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateIdentityProviderCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateIdentityProviderCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateNetworkSettingsRequestFilterSensitiveLog, CreateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateNetworkSettingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateNetworkSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreatePortalRequestFilterSensitiveLog, CreatePortalResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreatePortalCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreatePortalCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateTrustStoreRequestFilterSensitiveLog, CreateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateTrustStoreCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateTrustStoreCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateUserAccessLoggingSettingsRequestFilterSensitiveLog, CreateUserAccessLoggingSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateUserAccessLoggingSettingsCommand, serializeAws_restJson1CreateUserAccessLoggingSettingsCommand, } from "../protocols/Aws_restJson1";
6
+ export class CreateUserAccessLoggingSettingsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateUserAccessLoggingSettingsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "WorkSpacesWebClient";
25
+ const commandName = "CreateUserAccessLoggingSettingsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: CreateUserAccessLoggingSettingsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: CreateUserAccessLoggingSettingsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1CreateUserAccessLoggingSettingsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1CreateUserAccessLoggingSettingsCommand(output, context);
41
+ }
42
+ }
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateUserSettingsRequestFilterSensitiveLog, CreateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateUserSettingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateUserSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteBrowserSettingsRequestFilterSensitiveLog, DeleteBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteBrowserSettingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteBrowserSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteIdentityProviderRequestFilterSensitiveLog, DeleteIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteIdentityProviderCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteIdentityProviderCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteNetworkSettingsRequestFilterSensitiveLog, DeleteNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteNetworkSettingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteNetworkSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";