@aws-sdk/client-appstream 3.34.0 → 3.37.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 (495) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/AppStream.js +1 -25
  3. package/dist-cjs/AppStreamClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AssociateFleetCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/BatchAssociateUserStackCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/BatchDisassociateUserStackCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CopyImageCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/CreateDirectoryConfigCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/CreateFleetCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/CreateImageBuilderCommand.js +2 -28
  11. package/{dist/cjs → dist-cjs}/commands/CreateImageBuilderStreamingURLCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/CreateStackCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/CreateStreamingURLCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/CreateUpdatedImageCommand.js +2 -30
  15. package/{dist/cjs → dist-cjs}/commands/CreateUsageReportSubscriptionCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/CreateUserCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/DeleteDirectoryConfigCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/DeleteFleetCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/DeleteImageBuilderCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DeleteImageCommand.js +2 -28
  21. package/{dist/cjs → dist-cjs}/commands/DeleteImagePermissionsCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/DeleteStackCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/DeleteUsageReportSubscriptionCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/DeleteUserCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/DescribeDirectoryConfigsCommand.js +2 -29
  26. package/{dist/cjs → dist-cjs}/commands/DescribeFleetsCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/DescribeImageBuildersCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/DescribeImagePermissionsCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/DescribeImagesCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/DescribeSessionsCommand.js +2 -29
  31. package/{dist/cjs → dist-cjs}/commands/DescribeStacksCommand.js +2 -27
  32. package/{dist/cjs → dist-cjs}/commands/DescribeUsageReportSubscriptionsCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/DescribeUserStackAssociationsCommand.js +2 -35
  34. package/{dist/cjs → dist-cjs}/commands/DescribeUsersCommand.js +2 -27
  35. package/{dist/cjs → dist-cjs}/commands/DisableUserCommand.js +2 -27
  36. package/{dist/cjs → dist-cjs}/commands/DisassociateFleetCommand.js +2 -27
  37. package/{dist/cjs → dist-cjs}/commands/EnableUserCommand.js +2 -27
  38. package/{dist/cjs → dist-cjs}/commands/ExpireSessionCommand.js +2 -27
  39. package/{dist/cjs → dist-cjs}/commands/ListAssociatedFleetsCommand.js +2 -27
  40. package/{dist/cjs → dist-cjs}/commands/ListAssociatedStacksCommand.js +2 -27
  41. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  42. package/{dist/cjs → dist-cjs}/commands/StartFleetCommand.js +2 -27
  43. package/{dist/cjs → dist-cjs}/commands/StartImageBuilderCommand.js +2 -27
  44. package/{dist/cjs → dist-cjs}/commands/StopFleetCommand.js +2 -27
  45. package/{dist/cjs → dist-cjs}/commands/StopImageBuilderCommand.js +2 -27
  46. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  47. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -29
  48. package/{dist/cjs → dist-cjs}/commands/UpdateDirectoryConfigCommand.js +2 -27
  49. package/{dist/cjs → dist-cjs}/commands/UpdateFleetCommand.js +2 -30
  50. package/{dist/cjs → dist-cjs}/commands/UpdateImagePermissionsCommand.js +2 -27
  51. package/{dist/cjs → dist-cjs}/commands/UpdateStackCommand.js +2 -27
  52. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  53. package/{dist/cjs → dist-cjs}/index.js +0 -1
  54. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  55. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -415
  56. package/{dist/cjs → dist-cjs}/pagination/DescribeImagePermissionsPaginator.js +0 -11
  57. package/{dist/cjs → dist-cjs}/pagination/DescribeImagesPaginator.js +0 -11
  58. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  59. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  60. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  61. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  62. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  63. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  64. package/{dist/cjs → dist-cjs}/waiters/waitForFleetStarted.js +14 -24
  65. package/{dist/cjs → dist-cjs}/waiters/waitForFleetStopped.js +14 -24
  66. package/{dist/es → dist-es}/AppStream.js +1 -2
  67. package/{dist/es → dist-es}/AppStreamClient.js +1 -2
  68. package/{dist/es → dist-es}/commands/AssociateFleetCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/BatchAssociateUserStackCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/BatchDisassociateUserStackCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/CopyImageCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/CreateDirectoryConfigCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/CreateFleetCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/CreateImageBuilderCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/CreateImageBuilderStreamingURLCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/CreateStackCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/CreateStreamingURLCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/CreateUpdatedImageCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/CreateUsageReportSubscriptionCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/CreateUserCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/DeleteDirectoryConfigCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/DeleteFleetCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/DeleteImageBuilderCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/DeleteImageCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/DeleteImagePermissionsCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/DeleteStackCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/DeleteUsageReportSubscriptionCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/DeleteUserCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/DescribeDirectoryConfigsCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/DescribeFleetsCommand.js +2 -3
  91. package/{dist/es → dist-es}/commands/DescribeImageBuildersCommand.js +2 -3
  92. package/{dist/es → dist-es}/commands/DescribeImagePermissionsCommand.js +2 -3
  93. package/{dist/es → dist-es}/commands/DescribeImagesCommand.js +2 -3
  94. package/{dist/es → dist-es}/commands/DescribeSessionsCommand.js +2 -3
  95. package/{dist/es → dist-es}/commands/DescribeStacksCommand.js +2 -3
  96. package/{dist/es → dist-es}/commands/DescribeUsageReportSubscriptionsCommand.js +2 -3
  97. package/{dist/es → dist-es}/commands/DescribeUserStackAssociationsCommand.js +2 -3
  98. package/{dist/es → dist-es}/commands/DescribeUsersCommand.js +2 -3
  99. package/{dist/es → dist-es}/commands/DisableUserCommand.js +2 -3
  100. package/{dist/es → dist-es}/commands/DisassociateFleetCommand.js +2 -3
  101. package/{dist/es → dist-es}/commands/EnableUserCommand.js +2 -3
  102. package/{dist/es → dist-es}/commands/ExpireSessionCommand.js +2 -3
  103. package/{dist/es → dist-es}/commands/ListAssociatedFleetsCommand.js +2 -3
  104. package/{dist/es → dist-es}/commands/ListAssociatedStacksCommand.js +2 -3
  105. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  106. package/{dist/es → dist-es}/commands/StartFleetCommand.js +2 -3
  107. package/{dist/es → dist-es}/commands/StartImageBuilderCommand.js +2 -3
  108. package/{dist/es → dist-es}/commands/StopFleetCommand.js +2 -3
  109. package/{dist/es → dist-es}/commands/StopImageBuilderCommand.js +2 -3
  110. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  111. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  112. package/{dist/es → dist-es}/commands/UpdateDirectoryConfigCommand.js +2 -3
  113. package/{dist/es → dist-es}/commands/UpdateFleetCommand.js +2 -3
  114. package/{dist/es → dist-es}/commands/UpdateImagePermissionsCommand.js +2 -3
  115. package/{dist/es → dist-es}/commands/UpdateStackCommand.js +2 -3
  116. package/{dist/es → dist-es}/endpoints.js +1 -2
  117. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  118. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  119. package/{dist/es → dist-es}/models/models_0.js +0 -1
  120. package/{dist/es → dist-es}/pagination/DescribeImagePermissionsPaginator.js +0 -1
  121. package/{dist/es → dist-es}/pagination/DescribeImagesPaginator.js +0 -1
  122. package/dist-es/pagination/Interfaces.js +1 -0
  123. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  124. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  125. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  126. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  127. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  128. package/{dist/es → dist-es}/waiters/waitForFleetStarted.js +1 -2
  129. package/{dist/es → dist-es}/waiters/waitForFleetStopped.js +1 -2
  130. package/{dist/types → dist-types}/AppStream.d.ts +2 -2
  131. package/{dist/types → dist-types}/AppStreamClient.d.ts +9 -9
  132. package/{dist/types → dist-types}/commands/AssociateFleetCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/BatchAssociateUserStackCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/BatchDisassociateUserStackCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/CopyImageCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/CreateDirectoryConfigCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/CreateFleetCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/CreateImageBuilderCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/CreateImageBuilderStreamingURLCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/CreateStackCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/CreateStreamingURLCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/CreateUpdatedImageCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/CreateUsageReportSubscriptionCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/CreateUserCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/DeleteDirectoryConfigCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/DeleteFleetCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/DeleteImageBuilderCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/DeleteImageCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/DeleteImagePermissionsCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/DeleteStackCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/DeleteUsageReportSubscriptionCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/DeleteUserCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/DescribeDirectoryConfigsCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/DescribeFleetsCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/DescribeImageBuildersCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/DescribeImagePermissionsCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/DescribeImagesCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/DescribeSessionsCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/commands/DescribeStacksCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/commands/DescribeUsageReportSubscriptionsCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/DescribeUserStackAssociationsCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/DescribeUsersCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/DisableUserCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/DisassociateFleetCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/EnableUserCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/ExpireSessionCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/ListAssociatedFleetsCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/ListAssociatedStacksCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/StartFleetCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/StartImageBuilderCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/StopFleetCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/StopImageBuilderCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/commands/UpdateDirectoryConfigCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/commands/UpdateFleetCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/UpdateImagePermissionsCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/commands/UpdateStackCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  181. package/{index.ts → dist-types/index.d.ts} +0 -0
  182. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  183. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  184. package/{dist/types → dist-types}/pagination/DescribeImagePermissionsPaginator.d.ts +1 -1
  185. package/{dist/types → dist-types}/pagination/DescribeImagesPaginator.d.ts +1 -1
  186. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  187. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
  188. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  189. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  190. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  191. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  192. package/{dist/types → dist-types}/ts3.4/AppStream.d.ts +51 -198
  193. package/{dist/types → dist-types}/ts3.4/AppStreamClient.d.ts +33 -118
  194. package/dist-types/ts3.4/commands/AssociateFleetCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/BatchAssociateUserStackCommand.d.ts +17 -0
  196. package/{dist/types → dist-types}/ts3.4/commands/BatchDisassociateUserStackCommand.d.ts +4 -22
  197. package/dist-types/ts3.4/commands/CopyImageCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/CreateDirectoryConfigCommand.d.ts +17 -0
  199. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/CreateImageBuilderCommand.d.ts +17 -0
  201. package/{dist/types → dist-types}/ts3.4/commands/CreateImageBuilderStreamingURLCommand.d.ts +4 -22
  202. package/dist-types/ts3.4/commands/CreateStackCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/CreateStreamingURLCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/CreateUpdatedImageCommand.d.ts +17 -0
  205. package/{dist/types → dist-types}/ts3.4/commands/CreateUsageReportSubscriptionCommand.d.ts +4 -22
  206. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  207. package/dist-types/ts3.4/commands/DeleteDirectoryConfigCommand.d.ts +17 -0
  208. package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +17 -0
  209. package/{dist/types → dist-types}/ts3.4/commands/DeleteImageBuilderCommand.d.ts +4 -22
  210. package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +17 -0
  211. package/dist-types/ts3.4/commands/DeleteImagePermissionsCommand.d.ts +17 -0
  212. package/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +17 -0
  213. package/{dist/types → dist-types}/ts3.4/commands/DeleteUsageReportSubscriptionCommand.d.ts +4 -22
  214. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  215. package/dist-types/ts3.4/commands/DescribeDirectoryConfigsCommand.d.ts +17 -0
  216. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +17 -0
  217. package/dist-types/ts3.4/commands/DescribeImageBuildersCommand.d.ts +17 -0
  218. package/{dist/types → dist-types}/ts3.4/commands/DescribeImagePermissionsCommand.d.ts +4 -22
  219. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +17 -0
  220. package/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +17 -0
  221. package/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +17 -0
  222. package/{dist/types → dist-types}/ts3.4/commands/DescribeUsageReportSubscriptionsCommand.d.ts +4 -22
  223. package/dist-types/ts3.4/commands/DescribeUserStackAssociationsCommand.d.ts +17 -0
  224. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +17 -0
  225. package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +17 -0
  226. package/{dist/types → dist-types}/ts3.4/commands/DisassociateFleetCommand.d.ts +4 -22
  227. package/dist-types/ts3.4/commands/EnableUserCommand.d.ts +17 -0
  228. package/dist-types/ts3.4/commands/ExpireSessionCommand.d.ts +17 -0
  229. package/{dist/types → dist-types}/ts3.4/commands/ListAssociatedFleetsCommand.d.ts +4 -22
  230. package/{dist/types → dist-types}/ts3.4/commands/ListAssociatedStacksCommand.d.ts +4 -22
  231. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  232. package/dist-types/ts3.4/commands/StartFleetCommand.d.ts +17 -0
  233. package/{dist/types → dist-types}/ts3.4/commands/StartImageBuilderCommand.d.ts +4 -22
  234. package/dist-types/ts3.4/commands/StopFleetCommand.d.ts +17 -0
  235. package/{dist/types → dist-types}/ts3.4/commands/StopImageBuilderCommand.d.ts +4 -22
  236. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  237. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  238. package/dist-types/ts3.4/commands/UpdateDirectoryConfigCommand.d.ts +17 -0
  239. package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +17 -0
  240. package/{dist/types → dist-types}/ts3.4/commands/UpdateImagePermissionsCommand.d.ts +4 -22
  241. package/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +17 -0
  242. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  243. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  244. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  245. package/dist-types/ts3.4/models/models_0.d.ts +1830 -0
  246. package/{dist/types → dist-types}/ts3.4/pagination/DescribeImagePermissionsPaginator.d.ts +1 -1
  247. package/{dist/types → dist-types}/ts3.4/pagination/DescribeImagesPaginator.d.ts +1 -1
  248. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  249. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
  250. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  251. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  252. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  253. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  254. package/{dist/types → dist-types}/ts3.4/waiters/waitForFleetStarted.d.ts +3 -10
  255. package/{dist/types → dist-types}/ts3.4/waiters/waitForFleetStopped.d.ts +3 -10
  256. package/{dist/types → dist-types}/waiters/waitForFleetStarted.d.ts +1 -1
  257. package/{dist/types → dist-types}/waiters/waitForFleetStopped.d.ts +1 -1
  258. package/package.json +46 -43
  259. package/AppStream.ts +0 -1682
  260. package/AppStreamClient.ts +0 -453
  261. package/commands/AssociateFleetCommand.ts +0 -94
  262. package/commands/BatchAssociateUserStackCommand.ts +0 -94
  263. package/commands/BatchDisassociateUserStackCommand.ts +0 -97
  264. package/commands/CopyImageCommand.ts +0 -91
  265. package/commands/CreateDirectoryConfigCommand.ts +0 -94
  266. package/commands/CreateFleetCommand.ts +0 -94
  267. package/commands/CreateImageBuilderCommand.ts +0 -95
  268. package/commands/CreateImageBuilderStreamingURLCommand.ts +0 -102
  269. package/commands/CreateStackCommand.ts +0 -94
  270. package/commands/CreateStreamingURLCommand.ts +0 -94
  271. package/commands/CreateUpdatedImageCommand.ts +0 -97
  272. package/commands/CreateUsageReportSubscriptionCommand.ts +0 -99
  273. package/commands/CreateUserCommand.ts +0 -94
  274. package/commands/DeleteDirectoryConfigCommand.ts +0 -94
  275. package/commands/DeleteFleetCommand.ts +0 -94
  276. package/commands/DeleteImageBuilderCommand.ts +0 -94
  277. package/commands/DeleteImageCommand.ts +0 -95
  278. package/commands/DeleteImagePermissionsCommand.ts +0 -94
  279. package/commands/DeleteStackCommand.ts +0 -94
  280. package/commands/DeleteUsageReportSubscriptionCommand.ts +0 -99
  281. package/commands/DeleteUserCommand.ts +0 -94
  282. package/commands/DescribeDirectoryConfigsCommand.ts +0 -96
  283. package/commands/DescribeFleetsCommand.ts +0 -94
  284. package/commands/DescribeImageBuildersCommand.ts +0 -94
  285. package/commands/DescribeImagePermissionsCommand.ts +0 -94
  286. package/commands/DescribeImagesCommand.ts +0 -94
  287. package/commands/DescribeSessionsCommand.ts +0 -96
  288. package/commands/DescribeStacksCommand.ts +0 -94
  289. package/commands/DescribeUsageReportSubscriptionsCommand.ts +0 -102
  290. package/commands/DescribeUserStackAssociationsCommand.ts +0 -107
  291. package/commands/DescribeUsersCommand.ts +0 -94
  292. package/commands/DisableUserCommand.ts +0 -94
  293. package/commands/DisassociateFleetCommand.ts +0 -94
  294. package/commands/EnableUserCommand.ts +0 -94
  295. package/commands/ExpireSessionCommand.ts +0 -94
  296. package/commands/ListAssociatedFleetsCommand.ts +0 -94
  297. package/commands/ListAssociatedStacksCommand.ts +0 -94
  298. package/commands/ListTagsForResourceCommand.ts +0 -95
  299. package/commands/StartFleetCommand.ts +0 -94
  300. package/commands/StartImageBuilderCommand.ts +0 -94
  301. package/commands/StopFleetCommand.ts +0 -91
  302. package/commands/StopImageBuilderCommand.ts +0 -94
  303. package/commands/TagResourceCommand.ts +0 -100
  304. package/commands/UntagResourceCommand.ts +0 -96
  305. package/commands/UpdateDirectoryConfigCommand.ts +0 -94
  306. package/commands/UpdateFleetCommand.ts +0 -97
  307. package/commands/UpdateImagePermissionsCommand.ts +0 -94
  308. package/commands/UpdateStackCommand.ts +0 -94
  309. package/dist/cjs/AppStream.js.map +0 -1
  310. package/dist/cjs/AppStreamClient.js +0 -64
  311. package/dist/cjs/AppStreamClient.js.map +0 -1
  312. package/dist/cjs/commands/AssociateFleetCommand.js.map +0 -1
  313. package/dist/cjs/commands/BatchAssociateUserStackCommand.js.map +0 -1
  314. package/dist/cjs/commands/BatchDisassociateUserStackCommand.js.map +0 -1
  315. package/dist/cjs/commands/CopyImageCommand.js.map +0 -1
  316. package/dist/cjs/commands/CreateDirectoryConfigCommand.js.map +0 -1
  317. package/dist/cjs/commands/CreateFleetCommand.js.map +0 -1
  318. package/dist/cjs/commands/CreateImageBuilderCommand.js.map +0 -1
  319. package/dist/cjs/commands/CreateImageBuilderStreamingURLCommand.js.map +0 -1
  320. package/dist/cjs/commands/CreateStackCommand.js.map +0 -1
  321. package/dist/cjs/commands/CreateStreamingURLCommand.js.map +0 -1
  322. package/dist/cjs/commands/CreateUpdatedImageCommand.js.map +0 -1
  323. package/dist/cjs/commands/CreateUsageReportSubscriptionCommand.js.map +0 -1
  324. package/dist/cjs/commands/CreateUserCommand.js.map +0 -1
  325. package/dist/cjs/commands/DeleteDirectoryConfigCommand.js.map +0 -1
  326. package/dist/cjs/commands/DeleteFleetCommand.js.map +0 -1
  327. package/dist/cjs/commands/DeleteImageBuilderCommand.js.map +0 -1
  328. package/dist/cjs/commands/DeleteImageCommand.js.map +0 -1
  329. package/dist/cjs/commands/DeleteImagePermissionsCommand.js.map +0 -1
  330. package/dist/cjs/commands/DeleteStackCommand.js.map +0 -1
  331. package/dist/cjs/commands/DeleteUsageReportSubscriptionCommand.js.map +0 -1
  332. package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
  333. package/dist/cjs/commands/DescribeDirectoryConfigsCommand.js.map +0 -1
  334. package/dist/cjs/commands/DescribeFleetsCommand.js.map +0 -1
  335. package/dist/cjs/commands/DescribeImageBuildersCommand.js.map +0 -1
  336. package/dist/cjs/commands/DescribeImagePermissionsCommand.js.map +0 -1
  337. package/dist/cjs/commands/DescribeImagesCommand.js.map +0 -1
  338. package/dist/cjs/commands/DescribeSessionsCommand.js.map +0 -1
  339. package/dist/cjs/commands/DescribeStacksCommand.js.map +0 -1
  340. package/dist/cjs/commands/DescribeUsageReportSubscriptionsCommand.js.map +0 -1
  341. package/dist/cjs/commands/DescribeUserStackAssociationsCommand.js.map +0 -1
  342. package/dist/cjs/commands/DescribeUsersCommand.js.map +0 -1
  343. package/dist/cjs/commands/DisableUserCommand.js.map +0 -1
  344. package/dist/cjs/commands/DisassociateFleetCommand.js.map +0 -1
  345. package/dist/cjs/commands/EnableUserCommand.js.map +0 -1
  346. package/dist/cjs/commands/ExpireSessionCommand.js.map +0 -1
  347. package/dist/cjs/commands/ListAssociatedFleetsCommand.js.map +0 -1
  348. package/dist/cjs/commands/ListAssociatedStacksCommand.js.map +0 -1
  349. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  350. package/dist/cjs/commands/StartFleetCommand.js.map +0 -1
  351. package/dist/cjs/commands/StartImageBuilderCommand.js.map +0 -1
  352. package/dist/cjs/commands/StopFleetCommand.js.map +0 -1
  353. package/dist/cjs/commands/StopImageBuilderCommand.js.map +0 -1
  354. package/dist/cjs/commands/TagResourceCommand.js +0 -67
  355. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  356. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  357. package/dist/cjs/commands/UpdateDirectoryConfigCommand.js.map +0 -1
  358. package/dist/cjs/commands/UpdateFleetCommand.js.map +0 -1
  359. package/dist/cjs/commands/UpdateImagePermissionsCommand.js.map +0 -1
  360. package/dist/cjs/commands/UpdateStackCommand.js.map +0 -1
  361. package/dist/cjs/endpoints.js.map +0 -1
  362. package/dist/cjs/index.js.map +0 -1
  363. package/dist/cjs/models/index.js.map +0 -1
  364. package/dist/cjs/models/models_0.js.map +0 -1
  365. package/dist/cjs/package.json +0 -92
  366. package/dist/cjs/pagination/DescribeImagePermissionsPaginator.js.map +0 -1
  367. package/dist/cjs/pagination/DescribeImagesPaginator.js.map +0 -1
  368. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  369. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  370. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  371. package/dist/cjs/runtimeConfig.js.map +0 -1
  372. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  373. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  374. package/dist/cjs/waiters/waitForFleetStarted.js.map +0 -1
  375. package/dist/cjs/waiters/waitForFleetStopped.js.map +0 -1
  376. package/dist/es/AppStream.js.map +0 -1
  377. package/dist/es/AppStreamClient.js.map +0 -1
  378. package/dist/es/commands/AssociateFleetCommand.js.map +0 -1
  379. package/dist/es/commands/BatchAssociateUserStackCommand.js.map +0 -1
  380. package/dist/es/commands/BatchDisassociateUserStackCommand.js.map +0 -1
  381. package/dist/es/commands/CopyImageCommand.js.map +0 -1
  382. package/dist/es/commands/CreateDirectoryConfigCommand.js.map +0 -1
  383. package/dist/es/commands/CreateFleetCommand.js.map +0 -1
  384. package/dist/es/commands/CreateImageBuilderCommand.js.map +0 -1
  385. package/dist/es/commands/CreateImageBuilderStreamingURLCommand.js.map +0 -1
  386. package/dist/es/commands/CreateStackCommand.js.map +0 -1
  387. package/dist/es/commands/CreateStreamingURLCommand.js.map +0 -1
  388. package/dist/es/commands/CreateUpdatedImageCommand.js.map +0 -1
  389. package/dist/es/commands/CreateUsageReportSubscriptionCommand.js.map +0 -1
  390. package/dist/es/commands/CreateUserCommand.js.map +0 -1
  391. package/dist/es/commands/DeleteDirectoryConfigCommand.js.map +0 -1
  392. package/dist/es/commands/DeleteFleetCommand.js.map +0 -1
  393. package/dist/es/commands/DeleteImageBuilderCommand.js.map +0 -1
  394. package/dist/es/commands/DeleteImageCommand.js.map +0 -1
  395. package/dist/es/commands/DeleteImagePermissionsCommand.js.map +0 -1
  396. package/dist/es/commands/DeleteStackCommand.js.map +0 -1
  397. package/dist/es/commands/DeleteUsageReportSubscriptionCommand.js.map +0 -1
  398. package/dist/es/commands/DeleteUserCommand.js.map +0 -1
  399. package/dist/es/commands/DescribeDirectoryConfigsCommand.js.map +0 -1
  400. package/dist/es/commands/DescribeFleetsCommand.js.map +0 -1
  401. package/dist/es/commands/DescribeImageBuildersCommand.js.map +0 -1
  402. package/dist/es/commands/DescribeImagePermissionsCommand.js.map +0 -1
  403. package/dist/es/commands/DescribeImagesCommand.js.map +0 -1
  404. package/dist/es/commands/DescribeSessionsCommand.js.map +0 -1
  405. package/dist/es/commands/DescribeStacksCommand.js.map +0 -1
  406. package/dist/es/commands/DescribeUsageReportSubscriptionsCommand.js.map +0 -1
  407. package/dist/es/commands/DescribeUserStackAssociationsCommand.js.map +0 -1
  408. package/dist/es/commands/DescribeUsersCommand.js.map +0 -1
  409. package/dist/es/commands/DisableUserCommand.js.map +0 -1
  410. package/dist/es/commands/DisassociateFleetCommand.js.map +0 -1
  411. package/dist/es/commands/EnableUserCommand.js.map +0 -1
  412. package/dist/es/commands/ExpireSessionCommand.js.map +0 -1
  413. package/dist/es/commands/ListAssociatedFleetsCommand.js.map +0 -1
  414. package/dist/es/commands/ListAssociatedStacksCommand.js.map +0 -1
  415. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  416. package/dist/es/commands/StartFleetCommand.js.map +0 -1
  417. package/dist/es/commands/StartImageBuilderCommand.js.map +0 -1
  418. package/dist/es/commands/StopFleetCommand.js.map +0 -1
  419. package/dist/es/commands/StopImageBuilderCommand.js.map +0 -1
  420. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  421. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  422. package/dist/es/commands/UpdateDirectoryConfigCommand.js.map +0 -1
  423. package/dist/es/commands/UpdateFleetCommand.js.map +0 -1
  424. package/dist/es/commands/UpdateImagePermissionsCommand.js.map +0 -1
  425. package/dist/es/commands/UpdateStackCommand.js.map +0 -1
  426. package/dist/es/endpoints.js.map +0 -1
  427. package/dist/es/index.js +0 -57
  428. package/dist/es/index.js.map +0 -1
  429. package/dist/es/models/index.js +0 -2
  430. package/dist/es/models/index.js.map +0 -1
  431. package/dist/es/models/models_0.js.map +0 -1
  432. package/dist/es/package.json +0 -92
  433. package/dist/es/pagination/DescribeImagePermissionsPaginator.js.map +0 -1
  434. package/dist/es/pagination/DescribeImagesPaginator.js.map +0 -1
  435. package/dist/es/pagination/Interfaces.js +0 -2
  436. package/dist/es/pagination/Interfaces.js.map +0 -1
  437. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  438. package/dist/es/runtimeConfig.browser.js.map +0 -1
  439. package/dist/es/runtimeConfig.js.map +0 -1
  440. package/dist/es/runtimeConfig.native.js.map +0 -1
  441. package/dist/es/runtimeConfig.shared.js.map +0 -1
  442. package/dist/es/waiters/waitForFleetStarted.js.map +0 -1
  443. package/dist/es/waiters/waitForFleetStopped.js.map +0 -1
  444. package/dist/types/ts3.4/commands/AssociateFleetCommand.d.ts +0 -35
  445. package/dist/types/ts3.4/commands/BatchAssociateUserStackCommand.d.ts +0 -35
  446. package/dist/types/ts3.4/commands/CopyImageCommand.d.ts +0 -35
  447. package/dist/types/ts3.4/commands/CreateDirectoryConfigCommand.d.ts +0 -35
  448. package/dist/types/ts3.4/commands/CreateFleetCommand.d.ts +0 -35
  449. package/dist/types/ts3.4/commands/CreateImageBuilderCommand.d.ts +0 -36
  450. package/dist/types/ts3.4/commands/CreateStackCommand.d.ts +0 -35
  451. package/dist/types/ts3.4/commands/CreateStreamingURLCommand.d.ts +0 -35
  452. package/dist/types/ts3.4/commands/CreateUpdatedImageCommand.d.ts +0 -38
  453. package/dist/types/ts3.4/commands/CreateUserCommand.d.ts +0 -35
  454. package/dist/types/ts3.4/commands/DeleteDirectoryConfigCommand.d.ts +0 -35
  455. package/dist/types/ts3.4/commands/DeleteFleetCommand.d.ts +0 -35
  456. package/dist/types/ts3.4/commands/DeleteImageCommand.d.ts +0 -36
  457. package/dist/types/ts3.4/commands/DeleteImagePermissionsCommand.d.ts +0 -35
  458. package/dist/types/ts3.4/commands/DeleteStackCommand.d.ts +0 -35
  459. package/dist/types/ts3.4/commands/DeleteUserCommand.d.ts +0 -35
  460. package/dist/types/ts3.4/commands/DescribeDirectoryConfigsCommand.d.ts +0 -37
  461. package/dist/types/ts3.4/commands/DescribeFleetsCommand.d.ts +0 -35
  462. package/dist/types/ts3.4/commands/DescribeImageBuildersCommand.d.ts +0 -35
  463. package/dist/types/ts3.4/commands/DescribeImagesCommand.d.ts +0 -35
  464. package/dist/types/ts3.4/commands/DescribeSessionsCommand.d.ts +0 -37
  465. package/dist/types/ts3.4/commands/DescribeStacksCommand.d.ts +0 -35
  466. package/dist/types/ts3.4/commands/DescribeUserStackAssociationsCommand.d.ts +0 -43
  467. package/dist/types/ts3.4/commands/DescribeUsersCommand.d.ts +0 -35
  468. package/dist/types/ts3.4/commands/DisableUserCommand.d.ts +0 -35
  469. package/dist/types/ts3.4/commands/EnableUserCommand.d.ts +0 -35
  470. package/dist/types/ts3.4/commands/ExpireSessionCommand.d.ts +0 -35
  471. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  472. package/dist/types/ts3.4/commands/StartFleetCommand.d.ts +0 -35
  473. package/dist/types/ts3.4/commands/StopFleetCommand.d.ts +0 -35
  474. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -41
  475. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -37
  476. package/dist/types/ts3.4/commands/UpdateDirectoryConfigCommand.d.ts +0 -35
  477. package/dist/types/ts3.4/commands/UpdateFleetCommand.d.ts +0 -38
  478. package/dist/types/ts3.4/commands/UpdateStackCommand.d.ts +0 -35
  479. package/dist/types/ts3.4/models/models_0.d.ts +0 -3653
  480. package/endpoints.ts +0 -63
  481. package/jest.config.js +0 -4
  482. package/models/models_0.ts +0 -4501
  483. package/pagination/DescribeImagePermissionsPaginator.ts +0 -58
  484. package/pagination/DescribeImagesPaginator.ts +0 -58
  485. package/pagination/Interfaces.ts +0 -7
  486. package/protocols/Aws_json1_1.ts +0 -6845
  487. package/runtimeConfig.browser.ts +0 -40
  488. package/runtimeConfig.native.ts +0 -16
  489. package/runtimeConfig.shared.ts +0 -16
  490. package/runtimeConfig.ts +0 -45
  491. package/tsconfig.es.json +0 -10
  492. package/tsconfig.json +0 -31
  493. package/tsconfig.types.json +0 -8
  494. package/waiters/waitForFleetStarted.ts +0 -82
  495. package/waiters/waitForFleetStopped.ts +0 -82
@@ -1,94 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DescribeImageBuildersRequest, DescribeImageBuildersResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeImageBuildersCommand,
5
- serializeAws_json1_1DescribeImageBuildersCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeImageBuildersCommandInput extends DescribeImageBuildersRequest {}
21
- export interface DescribeImageBuildersCommandOutput extends DescribeImageBuildersResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list that describes one or more specified image builders, if the image builder names are provided. Otherwise, all image builders in the account are described.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppStreamClient, DescribeImageBuildersCommand } from "@aws-sdk/client-appstream"; // ES Modules import
29
- * // const { AppStreamClient, DescribeImageBuildersCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
30
- * const client = new AppStreamClient(config);
31
- * const command = new DescribeImageBuildersCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeImageBuildersCommandInput} for command's `input` shape.
36
- * @see {@link DescribeImageBuildersCommandOutput} for command's `response` shape.
37
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeImageBuildersCommand extends $Command<
41
- DescribeImageBuildersCommandInput,
42
- DescribeImageBuildersCommandOutput,
43
- AppStreamClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeImageBuildersCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppStreamClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeImageBuildersCommandInput, DescribeImageBuildersCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppStreamClient";
68
- const commandName = "DescribeImageBuildersCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeImageBuildersRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeImageBuildersResult.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeImageBuildersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeImageBuildersCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeImageBuildersCommandOutput> {
89
- return deserializeAws_json1_1DescribeImageBuildersCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DescribeImagePermissionsRequest, DescribeImagePermissionsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeImagePermissionsCommand,
5
- serializeAws_json1_1DescribeImagePermissionsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeImagePermissionsCommandInput extends DescribeImagePermissionsRequest {}
21
- export interface DescribeImagePermissionsCommandOutput extends DescribeImagePermissionsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppStreamClient, DescribeImagePermissionsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
29
- * // const { AppStreamClient, DescribeImagePermissionsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
30
- * const client = new AppStreamClient(config);
31
- * const command = new DescribeImagePermissionsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeImagePermissionsCommandInput} for command's `input` shape.
36
- * @see {@link DescribeImagePermissionsCommandOutput} for command's `response` shape.
37
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeImagePermissionsCommand extends $Command<
41
- DescribeImagePermissionsCommandInput,
42
- DescribeImagePermissionsCommandOutput,
43
- AppStreamClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeImagePermissionsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppStreamClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeImagePermissionsCommandInput, DescribeImagePermissionsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppStreamClient";
68
- const commandName = "DescribeImagePermissionsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeImagePermissionsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeImagePermissionsResult.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeImagePermissionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeImagePermissionsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeImagePermissionsCommandOutput> {
89
- return deserializeAws_json1_1DescribeImagePermissionsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DescribeImagesRequest, DescribeImagesResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeImagesCommand,
5
- serializeAws_json1_1DescribeImagesCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeImagesCommandInput extends DescribeImagesRequest {}
21
- export interface DescribeImagesCommandOutput extends DescribeImagesResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided. Otherwise, all images in the account are described.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppStreamClient, DescribeImagesCommand } from "@aws-sdk/client-appstream"; // ES Modules import
29
- * // const { AppStreamClient, DescribeImagesCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
30
- * const client = new AppStreamClient(config);
31
- * const command = new DescribeImagesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeImagesCommandInput} for command's `input` shape.
36
- * @see {@link DescribeImagesCommandOutput} for command's `response` shape.
37
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeImagesCommand extends $Command<
41
- DescribeImagesCommandInput,
42
- DescribeImagesCommandOutput,
43
- AppStreamClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeImagesCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppStreamClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeImagesCommandInput, DescribeImagesCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppStreamClient";
68
- const commandName = "DescribeImagesCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeImagesRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeImagesResult.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeImagesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeImagesCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeImagesCommandOutput> {
89
- return deserializeAws_json1_1DescribeImagesCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,96 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DescribeSessionsRequest, DescribeSessionsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeSessionsCommand,
5
- serializeAws_json1_1DescribeSessionsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeSessionsCommandInput extends DescribeSessionsRequest {}
21
- export interface DescribeSessionsCommandOutput extends DescribeSessionsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a UserId is provided for the stack and fleet,
25
- * only streaming sessions for that user are described. If an authentication type is not provided,
26
- * the default is to authenticate users using a streaming URL.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { AppStreamClient, DescribeSessionsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
31
- * // const { AppStreamClient, DescribeSessionsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
32
- * const client = new AppStreamClient(config);
33
- * const command = new DescribeSessionsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeSessionsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeSessionsCommandOutput} for command's `response` shape.
39
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeSessionsCommand extends $Command<
43
- DescribeSessionsCommandInput,
44
- DescribeSessionsCommandOutput,
45
- AppStreamClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeSessionsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: AppStreamClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeSessionsCommandInput, DescribeSessionsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "AppStreamClient";
70
- const commandName = "DescribeSessionsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeSessionsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeSessionsResult.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DescribeSessionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeSessionsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSessionsCommandOutput> {
91
- return deserializeAws_json1_1DescribeSessionsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,94 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DescribeStacksRequest, DescribeStacksResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeStacksCommand,
5
- serializeAws_json1_1DescribeStacksCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeStacksCommandInput extends DescribeStacksRequest {}
21
- export interface DescribeStacksCommandOutput extends DescribeStacksResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppStreamClient, DescribeStacksCommand } from "@aws-sdk/client-appstream"; // ES Modules import
29
- * // const { AppStreamClient, DescribeStacksCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
30
- * const client = new AppStreamClient(config);
31
- * const command = new DescribeStacksCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeStacksCommandInput} for command's `input` shape.
36
- * @see {@link DescribeStacksCommandOutput} for command's `response` shape.
37
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeStacksCommand extends $Command<
41
- DescribeStacksCommandInput,
42
- DescribeStacksCommandOutput,
43
- AppStreamClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeStacksCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppStreamClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeStacksCommandInput, DescribeStacksCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppStreamClient";
68
- const commandName = "DescribeStacksCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeStacksRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeStacksResult.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeStacksCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeStacksCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeStacksCommandOutput> {
89
- return deserializeAws_json1_1DescribeStacksCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,102 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DescribeUsageReportSubscriptionsRequest, DescribeUsageReportSubscriptionsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeUsageReportSubscriptionsCommand,
5
- serializeAws_json1_1DescribeUsageReportSubscriptionsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeUsageReportSubscriptionsCommandInput extends DescribeUsageReportSubscriptionsRequest {}
21
- export interface DescribeUsageReportSubscriptionsCommandOutput
22
- extends DescribeUsageReportSubscriptionsResult,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Retrieves a list that describes one or more usage report subscriptions.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { AppStreamClient, DescribeUsageReportSubscriptionsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
31
- * // const { AppStreamClient, DescribeUsageReportSubscriptionsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
32
- * const client = new AppStreamClient(config);
33
- * const command = new DescribeUsageReportSubscriptionsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeUsageReportSubscriptionsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeUsageReportSubscriptionsCommandOutput} for command's `response` shape.
39
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeUsageReportSubscriptionsCommand extends $Command<
43
- DescribeUsageReportSubscriptionsCommandInput,
44
- DescribeUsageReportSubscriptionsCommandOutput,
45
- AppStreamClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeUsageReportSubscriptionsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: AppStreamClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeUsageReportSubscriptionsCommandInput, DescribeUsageReportSubscriptionsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "AppStreamClient";
70
- const commandName = "DescribeUsageReportSubscriptionsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeUsageReportSubscriptionsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeUsageReportSubscriptionsResult.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(
87
- input: DescribeUsageReportSubscriptionsCommandInput,
88
- context: __SerdeContext
89
- ): Promise<__HttpRequest> {
90
- return serializeAws_json1_1DescribeUsageReportSubscriptionsCommand(input, context);
91
- }
92
-
93
- private deserialize(
94
- output: __HttpResponse,
95
- context: __SerdeContext
96
- ): Promise<DescribeUsageReportSubscriptionsCommandOutput> {
97
- return deserializeAws_json1_1DescribeUsageReportSubscriptionsCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,107 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DescribeUserStackAssociationsRequest, DescribeUserStackAssociationsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeUserStackAssociationsCommand,
5
- serializeAws_json1_1DescribeUserStackAssociationsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeUserStackAssociationsCommandInput extends DescribeUserStackAssociationsRequest {}
21
- export interface DescribeUserStackAssociationsCommandOutput
22
- extends DescribeUserStackAssociationsResult,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Retrieves a list that describes the UserStackAssociation objects. You must specify either or both of the following:</p>
27
- * <ul>
28
- * <li>
29
- * <p>The stack name</p>
30
- * </li>
31
- * <li>
32
- * <p>The user name (email address of the user associated with the stack) and the authentication type for the user</p>
33
- * </li>
34
- * </ul>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { AppStreamClient, DescribeUserStackAssociationsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
39
- * // const { AppStreamClient, DescribeUserStackAssociationsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
40
- * const client = new AppStreamClient(config);
41
- * const command = new DescribeUserStackAssociationsCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link DescribeUserStackAssociationsCommandInput} for command's `input` shape.
46
- * @see {@link DescribeUserStackAssociationsCommandOutput} for command's `response` shape.
47
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class DescribeUserStackAssociationsCommand extends $Command<
51
- DescribeUserStackAssociationsCommandInput,
52
- DescribeUserStackAssociationsCommandOutput,
53
- AppStreamClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: DescribeUserStackAssociationsCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: AppStreamClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<DescribeUserStackAssociationsCommandInput, DescribeUserStackAssociationsCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "AppStreamClient";
78
- const commandName = "DescribeUserStackAssociationsCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: DescribeUserStackAssociationsRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: DescribeUserStackAssociationsResult.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(input: DescribeUserStackAssociationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
95
- return serializeAws_json1_1DescribeUserStackAssociationsCommand(input, context);
96
- }
97
-
98
- private deserialize(
99
- output: __HttpResponse,
100
- context: __SerdeContext
101
- ): Promise<DescribeUserStackAssociationsCommandOutput> {
102
- return deserializeAws_json1_1DescribeUserStackAssociationsCommand(output, context);
103
- }
104
-
105
- // Start section: command_body_extra
106
- // End section: command_body_extra
107
- }