@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,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 { ListTrustStoresRequestFilterSensitiveLog, ListTrustStoresResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListTrustStoresCommand 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, ListTrustStoresCommand.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 { ListUserAccessLoggingSettingsRequestFilterSensitiveLog, ListUserAccessLoggingSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListUserAccessLoggingSettingsCommand, serializeAws_restJson1ListUserAccessLoggingSettingsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListUserAccessLoggingSettingsCommand 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, ListUserAccessLoggingSettingsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "WorkSpacesWebClient";
25
+ const commandName = "ListUserAccessLoggingSettingsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListUserAccessLoggingSettingsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListUserAccessLoggingSettingsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListUserAccessLoggingSettingsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListUserAccessLoggingSettingsCommand(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 { ListUserSettingsRequestFilterSensitiveLog, ListUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListUserSettingsCommand 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, ListUserSettingsCommand.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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class TagResourceCommand 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, TagResourceCommand.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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UntagResourceCommand 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, UntagResourceCommand.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 { UpdateBrowserSettingsRequestFilterSensitiveLog, UpdateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateBrowserSettingsCommand 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, UpdateBrowserSettingsCommand.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 { UpdateIdentityProviderRequestFilterSensitiveLog, UpdateIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateIdentityProviderCommand 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, UpdateIdentityProviderCommand.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 { UpdateNetworkSettingsRequestFilterSensitiveLog, UpdateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateNetworkSettingsCommand 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, UpdateNetworkSettingsCommand.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 { UpdatePortalRequestFilterSensitiveLog, UpdatePortalResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdatePortalCommand 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, UpdatePortalCommand.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 { UpdateTrustStoreRequestFilterSensitiveLog, UpdateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateTrustStoreCommand 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, UpdateTrustStoreCommand.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 { UpdateUserAccessLoggingSettingsRequestFilterSensitiveLog, UpdateUserAccessLoggingSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateUserAccessLoggingSettingsCommand, serializeAws_restJson1UpdateUserAccessLoggingSettingsCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateUserAccessLoggingSettingsCommand 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, UpdateUserAccessLoggingSettingsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "WorkSpacesWebClient";
25
+ const commandName = "UpdateUserAccessLoggingSettingsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateUserAccessLoggingSettingsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UpdateUserAccessLoggingSettingsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UpdateUserAccessLoggingSettingsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UpdateUserAccessLoggingSettingsCommand(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 { UpdateUserSettingsRequestFilterSensitiveLog, UpdateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateUserSettingsCommand 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, UpdateUserSettingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "WorkSpacesWebClient";
@@ -1,22 +1,26 @@
1
1
  export * from "./AssociateBrowserSettingsCommand";
2
2
  export * from "./AssociateNetworkSettingsCommand";
3
3
  export * from "./AssociateTrustStoreCommand";
4
+ export * from "./AssociateUserAccessLoggingSettingsCommand";
4
5
  export * from "./AssociateUserSettingsCommand";
5
6
  export * from "./CreateBrowserSettingsCommand";
6
7
  export * from "./CreateIdentityProviderCommand";
7
8
  export * from "./CreateNetworkSettingsCommand";
8
9
  export * from "./CreatePortalCommand";
9
10
  export * from "./CreateTrustStoreCommand";
11
+ export * from "./CreateUserAccessLoggingSettingsCommand";
10
12
  export * from "./CreateUserSettingsCommand";
11
13
  export * from "./DeleteBrowserSettingsCommand";
12
14
  export * from "./DeleteIdentityProviderCommand";
13
15
  export * from "./DeleteNetworkSettingsCommand";
14
16
  export * from "./DeletePortalCommand";
15
17
  export * from "./DeleteTrustStoreCommand";
18
+ export * from "./DeleteUserAccessLoggingSettingsCommand";
16
19
  export * from "./DeleteUserSettingsCommand";
17
20
  export * from "./DisassociateBrowserSettingsCommand";
18
21
  export * from "./DisassociateNetworkSettingsCommand";
19
22
  export * from "./DisassociateTrustStoreCommand";
23
+ export * from "./DisassociateUserAccessLoggingSettingsCommand";
20
24
  export * from "./DisassociateUserSettingsCommand";
21
25
  export * from "./GetBrowserSettingsCommand";
22
26
  export * from "./GetIdentityProviderCommand";
@@ -25,6 +29,7 @@ export * from "./GetPortalCommand";
25
29
  export * from "./GetPortalServiceProviderMetadataCommand";
26
30
  export * from "./GetTrustStoreCertificateCommand";
27
31
  export * from "./GetTrustStoreCommand";
32
+ export * from "./GetUserAccessLoggingSettingsCommand";
28
33
  export * from "./GetUserSettingsCommand";
29
34
  export * from "./ListBrowserSettingsCommand";
30
35
  export * from "./ListIdentityProvidersCommand";
@@ -33,6 +38,7 @@ export * from "./ListPortalsCommand";
33
38
  export * from "./ListTagsForResourceCommand";
34
39
  export * from "./ListTrustStoreCertificatesCommand";
35
40
  export * from "./ListTrustStoresCommand";
41
+ export * from "./ListUserAccessLoggingSettingsCommand";
36
42
  export * from "./ListUserSettingsCommand";
37
43
  export * from "./TagResourceCommand";
38
44
  export * from "./UntagResourceCommand";
@@ -41,4 +47,5 @@ export * from "./UpdateIdentityProviderCommand";
41
47
  export * from "./UpdateNetworkSettingsCommand";
42
48
  export * from "./UpdatePortalCommand";
43
49
  export * from "./UpdateTrustStoreCommand";
50
+ export * from "./UpdateUserAccessLoggingSettingsCommand";
44
51
  export * from "./UpdateUserSettingsCommand";
@@ -0,0 +1,8 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "workspaces-web",
7
+ };
8
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@aws-sdk/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };