@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,95 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DeleteImageRequest, DeleteImageResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteImageCommand,
5
- serializeAws_json1_1DeleteImageCommand,
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 DeleteImageCommandInput extends DeleteImageRequest {}
21
- export interface DeleteImageCommandOutput extends DeleteImageResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified image. You cannot delete an image when it is in use.
25
- * After you delete an image, you cannot provision new capacity using the image.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppStreamClient, DeleteImageCommand } from "@aws-sdk/client-appstream"; // ES Modules import
30
- * // const { AppStreamClient, DeleteImageCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
31
- * const client = new AppStreamClient(config);
32
- * const command = new DeleteImageCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteImageCommandInput} for command's `input` shape.
37
- * @see {@link DeleteImageCommandOutput} for command's `response` shape.
38
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteImageCommand extends $Command<
42
- DeleteImageCommandInput,
43
- DeleteImageCommandOutput,
44
- AppStreamClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteImageCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: AppStreamClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteImageCommandInput, DeleteImageCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "AppStreamClient";
69
- const commandName = "DeleteImageCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteImageRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteImageResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DeleteImageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DeleteImageCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteImageCommandOutput> {
90
- return deserializeAws_json1_1DeleteImageCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,94 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DeleteImagePermissionsRequest, DeleteImagePermissionsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteImagePermissionsCommand,
5
- serializeAws_json1_1DeleteImagePermissionsCommand,
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 DeleteImagePermissionsCommandInput extends DeleteImagePermissionsRequest {}
21
- export interface DeleteImagePermissionsCommandOutput extends DeleteImagePermissionsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppStreamClient, DeleteImagePermissionsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
29
- * // const { AppStreamClient, DeleteImagePermissionsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
30
- * const client = new AppStreamClient(config);
31
- * const command = new DeleteImagePermissionsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteImagePermissionsCommandInput} for command's `input` shape.
36
- * @see {@link DeleteImagePermissionsCommandOutput} for command's `response` shape.
37
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteImagePermissionsCommand extends $Command<
41
- DeleteImagePermissionsCommandInput,
42
- DeleteImagePermissionsCommandOutput,
43
- AppStreamClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteImagePermissionsCommandInput) {
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<DeleteImagePermissionsCommandInput, DeleteImagePermissionsCommandOutput> {
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 = "DeleteImagePermissionsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteImagePermissionsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteImagePermissionsResult.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: DeleteImagePermissionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DeleteImagePermissionsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteImagePermissionsCommandOutput> {
89
- return deserializeAws_json1_1DeleteImagePermissionsCommand(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 { DeleteStackRequest, DeleteStackResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteStackCommand,
5
- serializeAws_json1_1DeleteStackCommand,
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 DeleteStackCommandInput extends DeleteStackRequest {}
21
- export interface DeleteStackCommandOutput extends DeleteStackResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppStreamClient, DeleteStackCommand } from "@aws-sdk/client-appstream"; // ES Modules import
29
- * // const { AppStreamClient, DeleteStackCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
30
- * const client = new AppStreamClient(config);
31
- * const command = new DeleteStackCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteStackCommandInput} for command's `input` shape.
36
- * @see {@link DeleteStackCommandOutput} for command's `response` shape.
37
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteStackCommand extends $Command<
41
- DeleteStackCommandInput,
42
- DeleteStackCommandOutput,
43
- AppStreamClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteStackCommandInput) {
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<DeleteStackCommandInput, DeleteStackCommandOutput> {
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 = "DeleteStackCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteStackRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteStackResult.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: DeleteStackCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DeleteStackCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteStackCommandOutput> {
89
- return deserializeAws_json1_1DeleteStackCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,99 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DeleteUsageReportSubscriptionRequest, DeleteUsageReportSubscriptionResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteUsageReportSubscriptionCommand,
5
- serializeAws_json1_1DeleteUsageReportSubscriptionCommand,
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 DeleteUsageReportSubscriptionCommandInput extends DeleteUsageReportSubscriptionRequest {}
21
- export interface DeleteUsageReportSubscriptionCommandOutput
22
- extends DeleteUsageReportSubscriptionResult,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Disables usage report generation.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { AppStreamClient, DeleteUsageReportSubscriptionCommand } from "@aws-sdk/client-appstream"; // ES Modules import
31
- * // const { AppStreamClient, DeleteUsageReportSubscriptionCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
32
- * const client = new AppStreamClient(config);
33
- * const command = new DeleteUsageReportSubscriptionCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteUsageReportSubscriptionCommandInput} for command's `input` shape.
38
- * @see {@link DeleteUsageReportSubscriptionCommandOutput} for command's `response` shape.
39
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteUsageReportSubscriptionCommand extends $Command<
43
- DeleteUsageReportSubscriptionCommandInput,
44
- DeleteUsageReportSubscriptionCommandOutput,
45
- AppStreamClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteUsageReportSubscriptionCommandInput) {
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<DeleteUsageReportSubscriptionCommandInput, DeleteUsageReportSubscriptionCommandOutput> {
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 = "DeleteUsageReportSubscriptionCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteUsageReportSubscriptionRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeleteUsageReportSubscriptionResult.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: DeleteUsageReportSubscriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DeleteUsageReportSubscriptionCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<DeleteUsageReportSubscriptionCommandOutput> {
94
- return deserializeAws_json1_1DeleteUsageReportSubscriptionCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,94 +0,0 @@
1
- import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
2
- import { DeleteUserRequest, DeleteUserResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteUserCommand,
5
- serializeAws_json1_1DeleteUserCommand,
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 DeleteUserCommandInput extends DeleteUserRequest {}
21
- export interface DeleteUserCommandOutput extends DeleteUserResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a user from the user pool.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppStreamClient, DeleteUserCommand } from "@aws-sdk/client-appstream"; // ES Modules import
29
- * // const { AppStreamClient, DeleteUserCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
30
- * const client = new AppStreamClient(config);
31
- * const command = new DeleteUserCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteUserCommandInput} for command's `input` shape.
36
- * @see {@link DeleteUserCommandOutput} for command's `response` shape.
37
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteUserCommand extends $Command<
41
- DeleteUserCommandInput,
42
- DeleteUserCommandOutput,
43
- AppStreamClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteUserCommandInput) {
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<DeleteUserCommandInput, DeleteUserCommandOutput> {
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 = "DeleteUserCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteUserRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteUserResult.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: DeleteUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DeleteUserCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteUserCommandOutput> {
89
- return deserializeAws_json1_1DeleteUserCommand(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 { DescribeDirectoryConfigsRequest, DescribeDirectoryConfigsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeDirectoryConfigsCommand,
5
- serializeAws_json1_1DescribeDirectoryConfigsCommand,
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 DescribeDirectoryConfigsCommandInput extends DescribeDirectoryConfigsRequest {}
21
- export interface DescribeDirectoryConfigsCommandOutput extends DescribeDirectoryConfigsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
25
- * </p>
26
- * <p>Although the response syntax in this topic includes the account password, this password is not returned in the actual response.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { AppStreamClient, DescribeDirectoryConfigsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
31
- * // const { AppStreamClient, DescribeDirectoryConfigsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
32
- * const client = new AppStreamClient(config);
33
- * const command = new DescribeDirectoryConfigsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeDirectoryConfigsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeDirectoryConfigsCommandOutput} for command's `response` shape.
39
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeDirectoryConfigsCommand extends $Command<
43
- DescribeDirectoryConfigsCommandInput,
44
- DescribeDirectoryConfigsCommandOutput,
45
- AppStreamClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeDirectoryConfigsCommandInput) {
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<DescribeDirectoryConfigsCommandInput, DescribeDirectoryConfigsCommandOutput> {
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 = "DescribeDirectoryConfigsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeDirectoryConfigsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeDirectoryConfigsResult.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: DescribeDirectoryConfigsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeDirectoryConfigsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDirectoryConfigsCommandOutput> {
91
- return deserializeAws_json1_1DescribeDirectoryConfigsCommand(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 { DescribeFleetsRequest, DescribeFleetsResult } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeFleetsCommand,
5
- serializeAws_json1_1DescribeFleetsCommand,
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 DescribeFleetsCommandInput extends DescribeFleetsRequest {}
21
- export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets 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, DescribeFleetsCommand } from "@aws-sdk/client-appstream"; // ES Modules import
29
- * // const { AppStreamClient, DescribeFleetsCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
30
- * const client = new AppStreamClient(config);
31
- * const command = new DescribeFleetsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeFleetsCommandInput} for command's `input` shape.
36
- * @see {@link DescribeFleetsCommandOutput} for command's `response` shape.
37
- * @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeFleetsCommand extends $Command<
41
- DescribeFleetsCommandInput,
42
- DescribeFleetsCommandOutput,
43
- AppStreamClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeFleetsCommandInput) {
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<DescribeFleetsCommandInput, DescribeFleetsCommandOutput> {
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 = "DescribeFleetsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeFleetsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeFleetsResult.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: DescribeFleetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DescribeFleetsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFleetsCommandOutput> {
89
- return deserializeAws_json1_1DescribeFleetsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }