@aws-sdk/client-appstream 3.362.0 → 3.369.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 (374) hide show
  1. package/README.md +87 -7
  2. package/dist-cjs/AppStream.js +21 -1
  3. package/dist-cjs/AppStreamClient.js +5 -5
  4. package/dist-cjs/commands/AssociateAppBlockBuilderAppBlockCommand.js +46 -0
  5. package/dist-cjs/commands/AssociateApplicationFleetCommand.js +3 -3
  6. package/dist-cjs/commands/AssociateApplicationToEntitlementCommand.js +3 -3
  7. package/dist-cjs/commands/AssociateFleetCommand.js +3 -3
  8. package/dist-cjs/commands/BatchAssociateUserStackCommand.js +3 -3
  9. package/dist-cjs/commands/BatchDisassociateUserStackCommand.js +3 -3
  10. package/dist-cjs/commands/CopyImageCommand.js +3 -3
  11. package/dist-cjs/commands/CreateAppBlockBuilderCommand.js +46 -0
  12. package/dist-cjs/commands/CreateAppBlockBuilderStreamingURLCommand.js +46 -0
  13. package/dist-cjs/commands/CreateAppBlockCommand.js +3 -3
  14. package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
  15. package/dist-cjs/commands/CreateDirectoryConfigCommand.js +3 -3
  16. package/dist-cjs/commands/CreateEntitlementCommand.js +3 -3
  17. package/dist-cjs/commands/CreateFleetCommand.js +3 -3
  18. package/dist-cjs/commands/CreateImageBuilderCommand.js +3 -3
  19. package/dist-cjs/commands/CreateImageBuilderStreamingURLCommand.js +3 -3
  20. package/dist-cjs/commands/CreateStackCommand.js +3 -3
  21. package/dist-cjs/commands/CreateStreamingURLCommand.js +3 -3
  22. package/dist-cjs/commands/CreateUpdatedImageCommand.js +3 -3
  23. package/dist-cjs/commands/CreateUsageReportSubscriptionCommand.js +3 -3
  24. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteAppBlockBuilderCommand.js +46 -0
  26. package/dist-cjs/commands/DeleteAppBlockCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteDirectoryConfigCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteEntitlementCommand.js +3 -3
  30. package/dist-cjs/commands/DeleteFleetCommand.js +3 -3
  31. package/dist-cjs/commands/DeleteImageBuilderCommand.js +3 -3
  32. package/dist-cjs/commands/DeleteImageCommand.js +3 -3
  33. package/dist-cjs/commands/DeleteImagePermissionsCommand.js +3 -3
  34. package/dist-cjs/commands/DeleteStackCommand.js +3 -3
  35. package/dist-cjs/commands/DeleteUsageReportSubscriptionCommand.js +3 -3
  36. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  37. package/dist-cjs/commands/DescribeAppBlockBuilderAppBlockAssociationsCommand.js +46 -0
  38. package/dist-cjs/commands/DescribeAppBlockBuildersCommand.js +46 -0
  39. package/dist-cjs/commands/DescribeAppBlocksCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeApplicationFleetAssociationsCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeApplicationsCommand.js +3 -3
  42. package/dist-cjs/commands/DescribeDirectoryConfigsCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeEntitlementsCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeFleetsCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeImageBuildersCommand.js +3 -3
  46. package/dist-cjs/commands/DescribeImagePermissionsCommand.js +3 -3
  47. package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
  48. package/dist-cjs/commands/DescribeSessionsCommand.js +3 -3
  49. package/dist-cjs/commands/DescribeStacksCommand.js +3 -3
  50. package/dist-cjs/commands/DescribeUsageReportSubscriptionsCommand.js +3 -3
  51. package/dist-cjs/commands/DescribeUserStackAssociationsCommand.js +3 -3
  52. package/dist-cjs/commands/DescribeUsersCommand.js +3 -3
  53. package/dist-cjs/commands/DisableUserCommand.js +3 -3
  54. package/dist-cjs/commands/DisassociateAppBlockBuilderAppBlockCommand.js +46 -0
  55. package/dist-cjs/commands/DisassociateApplicationFleetCommand.js +3 -3
  56. package/dist-cjs/commands/DisassociateApplicationFromEntitlementCommand.js +3 -3
  57. package/dist-cjs/commands/DisassociateFleetCommand.js +3 -3
  58. package/dist-cjs/commands/EnableUserCommand.js +3 -3
  59. package/dist-cjs/commands/ExpireSessionCommand.js +3 -3
  60. package/dist-cjs/commands/ListAssociatedFleetsCommand.js +3 -3
  61. package/dist-cjs/commands/ListAssociatedStacksCommand.js +3 -3
  62. package/dist-cjs/commands/ListEntitledApplicationsCommand.js +3 -3
  63. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  64. package/dist-cjs/commands/StartAppBlockBuilderCommand.js +46 -0
  65. package/dist-cjs/commands/StartFleetCommand.js +3 -3
  66. package/dist-cjs/commands/StartImageBuilderCommand.js +3 -3
  67. package/dist-cjs/commands/StopAppBlockBuilderCommand.js +46 -0
  68. package/dist-cjs/commands/StopFleetCommand.js +3 -3
  69. package/dist-cjs/commands/StopImageBuilderCommand.js +3 -3
  70. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  71. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  72. package/dist-cjs/commands/UpdateAppBlockBuilderCommand.js +46 -0
  73. package/dist-cjs/commands/UpdateApplicationCommand.js +3 -3
  74. package/dist-cjs/commands/UpdateDirectoryConfigCommand.js +3 -3
  75. package/dist-cjs/commands/UpdateEntitlementCommand.js +3 -3
  76. package/dist-cjs/commands/UpdateFleetCommand.js +3 -3
  77. package/dist-cjs/commands/UpdateImagePermissionsCommand.js +3 -3
  78. package/dist-cjs/commands/UpdateStackCommand.js +3 -3
  79. package/dist-cjs/commands/index.js +10 -0
  80. package/dist-cjs/endpoint/ruleset.js +3 -3
  81. package/dist-cjs/models/AppStreamServiceException.js +1 -1
  82. package/dist-cjs/models/models_0.js +74 -49
  83. package/dist-cjs/pagination/DescribeAppBlockBuilderAppBlockAssociationsPaginator.js +29 -0
  84. package/dist-cjs/pagination/DescribeAppBlockBuildersPaginator.js +29 -0
  85. package/dist-cjs/pagination/index.js +2 -0
  86. package/dist-cjs/protocols/Aws_json1_1.js +583 -4
  87. package/dist-cjs/runtimeConfig.browser.js +7 -7
  88. package/dist-cjs/runtimeConfig.js +10 -10
  89. package/dist-cjs/runtimeConfig.shared.js +4 -4
  90. package/dist-cjs/waiters/waitForFleetStarted.js +1 -1
  91. package/dist-cjs/waiters/waitForFleetStopped.js +1 -1
  92. package/dist-es/AppStream.js +21 -1
  93. package/dist-es/AppStreamClient.js +5 -5
  94. package/dist-es/commands/AssociateAppBlockBuilderAppBlockCommand.js +42 -0
  95. package/dist-es/commands/AssociateApplicationFleetCommand.js +3 -3
  96. package/dist-es/commands/AssociateApplicationToEntitlementCommand.js +3 -3
  97. package/dist-es/commands/AssociateFleetCommand.js +3 -3
  98. package/dist-es/commands/BatchAssociateUserStackCommand.js +3 -3
  99. package/dist-es/commands/BatchDisassociateUserStackCommand.js +3 -3
  100. package/dist-es/commands/CopyImageCommand.js +3 -3
  101. package/dist-es/commands/CreateAppBlockBuilderCommand.js +42 -0
  102. package/dist-es/commands/CreateAppBlockBuilderStreamingURLCommand.js +42 -0
  103. package/dist-es/commands/CreateAppBlockCommand.js +3 -3
  104. package/dist-es/commands/CreateApplicationCommand.js +3 -3
  105. package/dist-es/commands/CreateDirectoryConfigCommand.js +3 -3
  106. package/dist-es/commands/CreateEntitlementCommand.js +3 -3
  107. package/dist-es/commands/CreateFleetCommand.js +3 -3
  108. package/dist-es/commands/CreateImageBuilderCommand.js +3 -3
  109. package/dist-es/commands/CreateImageBuilderStreamingURLCommand.js +3 -3
  110. package/dist-es/commands/CreateStackCommand.js +3 -3
  111. package/dist-es/commands/CreateStreamingURLCommand.js +3 -3
  112. package/dist-es/commands/CreateUpdatedImageCommand.js +3 -3
  113. package/dist-es/commands/CreateUsageReportSubscriptionCommand.js +3 -3
  114. package/dist-es/commands/CreateUserCommand.js +3 -3
  115. package/dist-es/commands/DeleteAppBlockBuilderCommand.js +42 -0
  116. package/dist-es/commands/DeleteAppBlockCommand.js +3 -3
  117. package/dist-es/commands/DeleteApplicationCommand.js +3 -3
  118. package/dist-es/commands/DeleteDirectoryConfigCommand.js +3 -3
  119. package/dist-es/commands/DeleteEntitlementCommand.js +3 -3
  120. package/dist-es/commands/DeleteFleetCommand.js +3 -3
  121. package/dist-es/commands/DeleteImageBuilderCommand.js +3 -3
  122. package/dist-es/commands/DeleteImageCommand.js +3 -3
  123. package/dist-es/commands/DeleteImagePermissionsCommand.js +3 -3
  124. package/dist-es/commands/DeleteStackCommand.js +3 -3
  125. package/dist-es/commands/DeleteUsageReportSubscriptionCommand.js +3 -3
  126. package/dist-es/commands/DeleteUserCommand.js +3 -3
  127. package/dist-es/commands/DescribeAppBlockBuilderAppBlockAssociationsCommand.js +42 -0
  128. package/dist-es/commands/DescribeAppBlockBuildersCommand.js +42 -0
  129. package/dist-es/commands/DescribeAppBlocksCommand.js +3 -3
  130. package/dist-es/commands/DescribeApplicationFleetAssociationsCommand.js +3 -3
  131. package/dist-es/commands/DescribeApplicationsCommand.js +3 -3
  132. package/dist-es/commands/DescribeDirectoryConfigsCommand.js +3 -3
  133. package/dist-es/commands/DescribeEntitlementsCommand.js +3 -3
  134. package/dist-es/commands/DescribeFleetsCommand.js +3 -3
  135. package/dist-es/commands/DescribeImageBuildersCommand.js +3 -3
  136. package/dist-es/commands/DescribeImagePermissionsCommand.js +3 -3
  137. package/dist-es/commands/DescribeImagesCommand.js +3 -3
  138. package/dist-es/commands/DescribeSessionsCommand.js +3 -3
  139. package/dist-es/commands/DescribeStacksCommand.js +3 -3
  140. package/dist-es/commands/DescribeUsageReportSubscriptionsCommand.js +3 -3
  141. package/dist-es/commands/DescribeUserStackAssociationsCommand.js +3 -3
  142. package/dist-es/commands/DescribeUsersCommand.js +3 -3
  143. package/dist-es/commands/DisableUserCommand.js +3 -3
  144. package/dist-es/commands/DisassociateAppBlockBuilderAppBlockCommand.js +42 -0
  145. package/dist-es/commands/DisassociateApplicationFleetCommand.js +3 -3
  146. package/dist-es/commands/DisassociateApplicationFromEntitlementCommand.js +3 -3
  147. package/dist-es/commands/DisassociateFleetCommand.js +3 -3
  148. package/dist-es/commands/EnableUserCommand.js +3 -3
  149. package/dist-es/commands/ExpireSessionCommand.js +3 -3
  150. package/dist-es/commands/ListAssociatedFleetsCommand.js +3 -3
  151. package/dist-es/commands/ListAssociatedStacksCommand.js +3 -3
  152. package/dist-es/commands/ListEntitledApplicationsCommand.js +3 -3
  153. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  154. package/dist-es/commands/StartAppBlockBuilderCommand.js +42 -0
  155. package/dist-es/commands/StartFleetCommand.js +3 -3
  156. package/dist-es/commands/StartImageBuilderCommand.js +3 -3
  157. package/dist-es/commands/StopAppBlockBuilderCommand.js +42 -0
  158. package/dist-es/commands/StopFleetCommand.js +3 -3
  159. package/dist-es/commands/StopImageBuilderCommand.js +3 -3
  160. package/dist-es/commands/TagResourceCommand.js +3 -3
  161. package/dist-es/commands/UntagResourceCommand.js +3 -3
  162. package/dist-es/commands/UpdateAppBlockBuilderCommand.js +42 -0
  163. package/dist-es/commands/UpdateApplicationCommand.js +3 -3
  164. package/dist-es/commands/UpdateDirectoryConfigCommand.js +3 -3
  165. package/dist-es/commands/UpdateEntitlementCommand.js +3 -3
  166. package/dist-es/commands/UpdateFleetCommand.js +3 -3
  167. package/dist-es/commands/UpdateImagePermissionsCommand.js +3 -3
  168. package/dist-es/commands/UpdateStackCommand.js +3 -3
  169. package/dist-es/commands/index.js +10 -0
  170. package/dist-es/endpoint/ruleset.js +3 -3
  171. package/dist-es/models/AppStreamServiceException.js +1 -1
  172. package/dist-es/models/models_0.js +71 -46
  173. package/dist-es/pagination/DescribeAppBlockBuilderAppBlockAssociationsPaginator.js +25 -0
  174. package/dist-es/pagination/DescribeAppBlockBuildersPaginator.js +25 -0
  175. package/dist-es/pagination/index.js +2 -0
  176. package/dist-es/protocols/Aws_json1_1.js +560 -1
  177. package/dist-es/runtimeConfig.browser.js +7 -7
  178. package/dist-es/runtimeConfig.js +10 -10
  179. package/dist-es/runtimeConfig.shared.js +4 -4
  180. package/dist-es/waiters/waitForFleetStarted.js +1 -1
  181. package/dist-es/waiters/waitForFleetStopped.js +1 -1
  182. package/dist-types/AppStream.d.ts +71 -1
  183. package/dist-types/AppStreamClient.d.ts +20 -10
  184. package/dist-types/commands/AssociateAppBlockBuilderAppBlockCommand.d.ts +92 -0
  185. package/dist-types/commands/AssociateApplicationFleetCommand.d.ts +3 -3
  186. package/dist-types/commands/AssociateApplicationToEntitlementCommand.d.ts +3 -3
  187. package/dist-types/commands/AssociateFleetCommand.d.ts +3 -3
  188. package/dist-types/commands/BatchAssociateUserStackCommand.d.ts +3 -3
  189. package/dist-types/commands/BatchDisassociateUserStackCommand.d.ts +3 -3
  190. package/dist-types/commands/CopyImageCommand.d.ts +3 -3
  191. package/dist-types/commands/CreateAppBlockBuilderCommand.d.ts +162 -0
  192. package/dist-types/commands/CreateAppBlockBuilderStreamingURLCommand.d.ts +81 -0
  193. package/dist-types/commands/CreateAppBlockCommand.d.ts +34 -7
  194. package/dist-types/commands/CreateApplicationCommand.d.ts +5 -5
  195. package/dist-types/commands/CreateDirectoryConfigCommand.d.ts +3 -3
  196. package/dist-types/commands/CreateEntitlementCommand.d.ts +3 -3
  197. package/dist-types/commands/CreateFleetCommand.d.ts +5 -5
  198. package/dist-types/commands/CreateImageBuilderCommand.d.ts +3 -3
  199. package/dist-types/commands/CreateImageBuilderStreamingURLCommand.d.ts +3 -3
  200. package/dist-types/commands/CreateStackCommand.d.ts +3 -3
  201. package/dist-types/commands/CreateStreamingURLCommand.d.ts +3 -3
  202. package/dist-types/commands/CreateUpdatedImageCommand.d.ts +4 -4
  203. package/dist-types/commands/CreateUsageReportSubscriptionCommand.d.ts +3 -3
  204. package/dist-types/commands/CreateUserCommand.d.ts +3 -3
  205. package/dist-types/commands/DeleteAppBlockBuilderCommand.d.ts +85 -0
  206. package/dist-types/commands/DeleteAppBlockCommand.d.ts +3 -3
  207. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -3
  208. package/dist-types/commands/DeleteDirectoryConfigCommand.d.ts +3 -3
  209. package/dist-types/commands/DeleteEntitlementCommand.d.ts +3 -3
  210. package/dist-types/commands/DeleteFleetCommand.d.ts +3 -3
  211. package/dist-types/commands/DeleteImageBuilderCommand.d.ts +3 -3
  212. package/dist-types/commands/DeleteImageCommand.d.ts +4 -4
  213. package/dist-types/commands/DeleteImagePermissionsCommand.d.ts +3 -3
  214. package/dist-types/commands/DeleteStackCommand.d.ts +3 -3
  215. package/dist-types/commands/DeleteUsageReportSubscriptionCommand.d.ts +3 -3
  216. package/dist-types/commands/DeleteUserCommand.d.ts +3 -3
  217. package/dist-types/commands/DescribeAppBlockBuilderAppBlockAssociationsCommand.d.ts +88 -0
  218. package/dist-types/commands/DescribeAppBlockBuildersCommand.d.ts +122 -0
  219. package/dist-types/commands/DescribeAppBlocksCommand.d.ts +22 -5
  220. package/dist-types/commands/DescribeApplicationFleetAssociationsCommand.d.ts +3 -3
  221. package/dist-types/commands/DescribeApplicationsCommand.d.ts +4 -4
  222. package/dist-types/commands/DescribeDirectoryConfigsCommand.d.ts +3 -3
  223. package/dist-types/commands/DescribeEntitlementsCommand.d.ts +3 -3
  224. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  225. package/dist-types/commands/DescribeImageBuildersCommand.d.ts +3 -3
  226. package/dist-types/commands/DescribeImagePermissionsCommand.d.ts +3 -3
  227. package/dist-types/commands/DescribeImagesCommand.d.ts +4 -4
  228. package/dist-types/commands/DescribeSessionsCommand.d.ts +3 -3
  229. package/dist-types/commands/DescribeStacksCommand.d.ts +3 -3
  230. package/dist-types/commands/DescribeUsageReportSubscriptionsCommand.d.ts +3 -3
  231. package/dist-types/commands/DescribeUserStackAssociationsCommand.d.ts +3 -3
  232. package/dist-types/commands/DescribeUsersCommand.d.ts +3 -3
  233. package/dist-types/commands/DisableUserCommand.d.ts +3 -3
  234. package/dist-types/commands/DisassociateAppBlockBuilderAppBlockCommand.d.ts +84 -0
  235. package/dist-types/commands/DisassociateApplicationFleetCommand.d.ts +3 -3
  236. package/dist-types/commands/DisassociateApplicationFromEntitlementCommand.d.ts +3 -3
  237. package/dist-types/commands/DisassociateFleetCommand.d.ts +3 -3
  238. package/dist-types/commands/EnableUserCommand.d.ts +3 -3
  239. package/dist-types/commands/ExpireSessionCommand.d.ts +3 -3
  240. package/dist-types/commands/ListAssociatedFleetsCommand.d.ts +3 -3
  241. package/dist-types/commands/ListAssociatedStacksCommand.d.ts +3 -3
  242. package/dist-types/commands/ListEntitledApplicationsCommand.d.ts +3 -3
  243. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  244. package/dist-types/commands/StartAppBlockBuilderCommand.d.ts +134 -0
  245. package/dist-types/commands/StartFleetCommand.d.ts +3 -3
  246. package/dist-types/commands/StartImageBuilderCommand.d.ts +3 -3
  247. package/dist-types/commands/StopAppBlockBuilderCommand.d.ts +120 -0
  248. package/dist-types/commands/StopFleetCommand.d.ts +3 -3
  249. package/dist-types/commands/StopImageBuilderCommand.d.ts +3 -3
  250. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  251. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  252. package/dist-types/commands/UpdateAppBlockBuilderCommand.d.ts +166 -0
  253. package/dist-types/commands/UpdateApplicationCommand.d.ts +5 -5
  254. package/dist-types/commands/UpdateDirectoryConfigCommand.d.ts +3 -3
  255. package/dist-types/commands/UpdateEntitlementCommand.d.ts +3 -3
  256. package/dist-types/commands/UpdateFleetCommand.d.ts +5 -5
  257. package/dist-types/commands/UpdateImagePermissionsCommand.d.ts +3 -3
  258. package/dist-types/commands/UpdateStackCommand.d.ts +3 -3
  259. package/dist-types/commands/index.d.ts +10 -0
  260. package/dist-types/endpoint/EndpointParameters.d.ts +2 -3
  261. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  262. package/dist-types/endpoint/ruleset.d.ts +1 -1
  263. package/dist-types/models/AppStreamServiceException.d.ts +1 -1
  264. package/dist-types/models/models_0.d.ts +709 -122
  265. package/dist-types/pagination/DescribeAppBlockBuilderAppBlockAssociationsPaginator.d.ts +7 -0
  266. package/dist-types/pagination/DescribeAppBlockBuildersPaginator.d.ts +7 -0
  267. package/dist-types/pagination/DescribeImagePermissionsPaginator.d.ts +1 -1
  268. package/dist-types/pagination/DescribeImagesPaginator.d.ts +1 -1
  269. package/dist-types/pagination/Interfaces.d.ts +1 -1
  270. package/dist-types/pagination/index.d.ts +2 -0
  271. package/dist-types/protocols/Aws_json1_1.d.ts +90 -0
  272. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  273. package/dist-types/runtimeConfig.d.ts +20 -20
  274. package/dist-types/runtimeConfig.native.d.ts +19 -19
  275. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  276. package/dist-types/ts3.4/AppStream.d.ts +189 -1
  277. package/dist-types/ts3.4/AppStreamClient.d.ts +79 -21
  278. package/dist-types/ts3.4/commands/AssociateAppBlockBuilderAppBlockCommand.d.ts +42 -0
  279. package/dist-types/ts3.4/commands/AssociateApplicationFleetCommand.d.ts +3 -3
  280. package/dist-types/ts3.4/commands/AssociateApplicationToEntitlementCommand.d.ts +3 -3
  281. package/dist-types/ts3.4/commands/AssociateFleetCommand.d.ts +3 -3
  282. package/dist-types/ts3.4/commands/BatchAssociateUserStackCommand.d.ts +3 -3
  283. package/dist-types/ts3.4/commands/BatchDisassociateUserStackCommand.d.ts +3 -3
  284. package/dist-types/ts3.4/commands/CopyImageCommand.d.ts +3 -3
  285. package/dist-types/ts3.4/commands/CreateAppBlockBuilderCommand.d.ts +42 -0
  286. package/dist-types/ts3.4/commands/CreateAppBlockBuilderStreamingURLCommand.d.ts +42 -0
  287. package/dist-types/ts3.4/commands/CreateAppBlockCommand.d.ts +3 -3
  288. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +3 -3
  289. package/dist-types/ts3.4/commands/CreateDirectoryConfigCommand.d.ts +3 -3
  290. package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +3 -3
  291. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +3 -3
  292. package/dist-types/ts3.4/commands/CreateImageBuilderCommand.d.ts +3 -3
  293. package/dist-types/ts3.4/commands/CreateImageBuilderStreamingURLCommand.d.ts +3 -3
  294. package/dist-types/ts3.4/commands/CreateStackCommand.d.ts +3 -3
  295. package/dist-types/ts3.4/commands/CreateStreamingURLCommand.d.ts +3 -3
  296. package/dist-types/ts3.4/commands/CreateUpdatedImageCommand.d.ts +3 -3
  297. package/dist-types/ts3.4/commands/CreateUsageReportSubscriptionCommand.d.ts +3 -3
  298. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +3 -3
  299. package/dist-types/ts3.4/commands/DeleteAppBlockBuilderCommand.d.ts +42 -0
  300. package/dist-types/ts3.4/commands/DeleteAppBlockCommand.d.ts +3 -3
  301. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +3 -3
  302. package/dist-types/ts3.4/commands/DeleteDirectoryConfigCommand.d.ts +3 -3
  303. package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +3 -3
  304. package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +3 -3
  305. package/dist-types/ts3.4/commands/DeleteImageBuilderCommand.d.ts +3 -3
  306. package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +3 -3
  307. package/dist-types/ts3.4/commands/DeleteImagePermissionsCommand.d.ts +3 -3
  308. package/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +3 -3
  309. package/dist-types/ts3.4/commands/DeleteUsageReportSubscriptionCommand.d.ts +3 -3
  310. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +3 -3
  311. package/dist-types/ts3.4/commands/DescribeAppBlockBuilderAppBlockAssociationsCommand.d.ts +42 -0
  312. package/dist-types/ts3.4/commands/DescribeAppBlockBuildersCommand.d.ts +42 -0
  313. package/dist-types/ts3.4/commands/DescribeAppBlocksCommand.d.ts +3 -3
  314. package/dist-types/ts3.4/commands/DescribeApplicationFleetAssociationsCommand.d.ts +3 -3
  315. package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +3 -3
  316. package/dist-types/ts3.4/commands/DescribeDirectoryConfigsCommand.d.ts +3 -3
  317. package/dist-types/ts3.4/commands/DescribeEntitlementsCommand.d.ts +3 -3
  318. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +3 -3
  319. package/dist-types/ts3.4/commands/DescribeImageBuildersCommand.d.ts +3 -3
  320. package/dist-types/ts3.4/commands/DescribeImagePermissionsCommand.d.ts +3 -3
  321. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +3 -3
  322. package/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +3 -3
  323. package/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +3 -3
  324. package/dist-types/ts3.4/commands/DescribeUsageReportSubscriptionsCommand.d.ts +3 -3
  325. package/dist-types/ts3.4/commands/DescribeUserStackAssociationsCommand.d.ts +3 -3
  326. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +3 -3
  327. package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +3 -3
  328. package/dist-types/ts3.4/commands/DisassociateAppBlockBuilderAppBlockCommand.d.ts +42 -0
  329. package/dist-types/ts3.4/commands/DisassociateApplicationFleetCommand.d.ts +3 -3
  330. package/dist-types/ts3.4/commands/DisassociateApplicationFromEntitlementCommand.d.ts +3 -3
  331. package/dist-types/ts3.4/commands/DisassociateFleetCommand.d.ts +3 -3
  332. package/dist-types/ts3.4/commands/EnableUserCommand.d.ts +3 -3
  333. package/dist-types/ts3.4/commands/ExpireSessionCommand.d.ts +3 -3
  334. package/dist-types/ts3.4/commands/ListAssociatedFleetsCommand.d.ts +3 -3
  335. package/dist-types/ts3.4/commands/ListAssociatedStacksCommand.d.ts +3 -3
  336. package/dist-types/ts3.4/commands/ListEntitledApplicationsCommand.d.ts +3 -3
  337. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  338. package/dist-types/ts3.4/commands/StartAppBlockBuilderCommand.d.ts +42 -0
  339. package/dist-types/ts3.4/commands/StartFleetCommand.d.ts +3 -3
  340. package/dist-types/ts3.4/commands/StartImageBuilderCommand.d.ts +3 -3
  341. package/dist-types/ts3.4/commands/StopAppBlockBuilderCommand.d.ts +39 -0
  342. package/dist-types/ts3.4/commands/StopFleetCommand.d.ts +3 -3
  343. package/dist-types/ts3.4/commands/StopImageBuilderCommand.d.ts +3 -3
  344. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  345. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  346. package/dist-types/ts3.4/commands/UpdateAppBlockBuilderCommand.d.ts +42 -0
  347. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +3 -3
  348. package/dist-types/ts3.4/commands/UpdateDirectoryConfigCommand.d.ts +3 -3
  349. package/dist-types/ts3.4/commands/UpdateEntitlementCommand.d.ts +3 -3
  350. package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +3 -3
  351. package/dist-types/ts3.4/commands/UpdateImagePermissionsCommand.d.ts +3 -3
  352. package/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +3 -3
  353. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  354. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -3
  355. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  356. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  357. package/dist-types/ts3.4/models/AppStreamServiceException.d.ts +1 -1
  358. package/dist-types/ts3.4/models/models_0.d.ts +222 -68
  359. package/dist-types/ts3.4/pagination/DescribeAppBlockBuilderAppBlockAssociationsPaginator.d.ts +11 -0
  360. package/dist-types/ts3.4/pagination/DescribeAppBlockBuildersPaginator.d.ts +11 -0
  361. package/dist-types/ts3.4/pagination/DescribeImagePermissionsPaginator.d.ts +1 -1
  362. package/dist-types/ts3.4/pagination/DescribeImagesPaginator.d.ts +1 -1
  363. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  364. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  365. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +120 -0
  366. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  367. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  368. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  369. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  370. package/dist-types/ts3.4/waiters/waitForFleetStarted.d.ts +1 -1
  371. package/dist-types/ts3.4/waiters/waitForFleetStopped.d.ts +1 -1
  372. package/dist-types/waiters/waitForFleetStarted.d.ts +1 -1
  373. package/dist-types/waiters/waitForFleetStopped.d.ts +1 -1
  374. package/package.json +35 -34
@@ -1,7 +1,13 @@
1
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
2
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { AppStreamServiceException as __BaseException } from "../models/AppStreamServiceException";
4
4
  import { ConcurrentModificationException, EntitlementAlreadyExistsException, EntitlementNotFoundException, IncompatibleImageException, InvalidAccountStatusException, InvalidParameterCombinationException, InvalidRoleException, LimitExceededException, OperationNotPermittedException, RequestLimitExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotAvailableException, ResourceNotFoundException, } from "../models/models_0";
5
+ export const se_AssociateAppBlockBuilderAppBlockCommand = async (input, context) => {
6
+ const headers = sharedHeaders("AssociateAppBlockBuilderAppBlock");
7
+ let body;
8
+ body = JSON.stringify(_json(input));
9
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
10
+ };
5
11
  export const se_AssociateApplicationFleetCommand = async (input, context) => {
6
12
  const headers = sharedHeaders("AssociateApplicationFleet");
7
13
  let body;
@@ -44,6 +50,18 @@ export const se_CreateAppBlockCommand = async (input, context) => {
44
50
  body = JSON.stringify(_json(input));
45
51
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
46
52
  };
53
+ export const se_CreateAppBlockBuilderCommand = async (input, context) => {
54
+ const headers = sharedHeaders("CreateAppBlockBuilder");
55
+ let body;
56
+ body = JSON.stringify(_json(input));
57
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
+ };
59
+ export const se_CreateAppBlockBuilderStreamingURLCommand = async (input, context) => {
60
+ const headers = sharedHeaders("CreateAppBlockBuilderStreamingURL");
61
+ let body;
62
+ body = JSON.stringify(_json(input));
63
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
64
+ };
47
65
  export const se_CreateApplicationCommand = async (input, context) => {
48
66
  const headers = sharedHeaders("CreateApplication");
49
67
  let body;
@@ -116,6 +134,12 @@ export const se_DeleteAppBlockCommand = async (input, context) => {
116
134
  body = JSON.stringify(_json(input));
117
135
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
118
136
  };
137
+ export const se_DeleteAppBlockBuilderCommand = async (input, context) => {
138
+ const headers = sharedHeaders("DeleteAppBlockBuilder");
139
+ let body;
140
+ body = JSON.stringify(_json(input));
141
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
142
+ };
119
143
  export const se_DeleteApplicationCommand = async (input, context) => {
120
144
  const headers = sharedHeaders("DeleteApplication");
121
145
  let body;
@@ -176,6 +200,18 @@ export const se_DeleteUserCommand = async (input, context) => {
176
200
  body = JSON.stringify(_json(input));
177
201
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
178
202
  };
203
+ export const se_DescribeAppBlockBuilderAppBlockAssociationsCommand = async (input, context) => {
204
+ const headers = sharedHeaders("DescribeAppBlockBuilderAppBlockAssociations");
205
+ let body;
206
+ body = JSON.stringify(_json(input));
207
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
208
+ };
209
+ export const se_DescribeAppBlockBuildersCommand = async (input, context) => {
210
+ const headers = sharedHeaders("DescribeAppBlockBuilders");
211
+ let body;
212
+ body = JSON.stringify(_json(input));
213
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
214
+ };
179
215
  export const se_DescribeAppBlocksCommand = async (input, context) => {
180
216
  const headers = sharedHeaders("DescribeAppBlocks");
181
217
  let body;
@@ -266,6 +302,12 @@ export const se_DisableUserCommand = async (input, context) => {
266
302
  body = JSON.stringify(_json(input));
267
303
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
268
304
  };
305
+ export const se_DisassociateAppBlockBuilderAppBlockCommand = async (input, context) => {
306
+ const headers = sharedHeaders("DisassociateAppBlockBuilderAppBlock");
307
+ let body;
308
+ body = JSON.stringify(_json(input));
309
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
310
+ };
269
311
  export const se_DisassociateApplicationFleetCommand = async (input, context) => {
270
312
  const headers = sharedHeaders("DisassociateApplicationFleet");
271
313
  let body;
@@ -320,6 +362,12 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
320
362
  body = JSON.stringify(_json(input));
321
363
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
322
364
  };
365
+ export const se_StartAppBlockBuilderCommand = async (input, context) => {
366
+ const headers = sharedHeaders("StartAppBlockBuilder");
367
+ let body;
368
+ body = JSON.stringify(_json(input));
369
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
370
+ };
323
371
  export const se_StartFleetCommand = async (input, context) => {
324
372
  const headers = sharedHeaders("StartFleet");
325
373
  let body;
@@ -332,6 +380,12 @@ export const se_StartImageBuilderCommand = async (input, context) => {
332
380
  body = JSON.stringify(_json(input));
333
381
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
334
382
  };
383
+ export const se_StopAppBlockBuilderCommand = async (input, context) => {
384
+ const headers = sharedHeaders("StopAppBlockBuilder");
385
+ let body;
386
+ body = JSON.stringify(_json(input));
387
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
388
+ };
335
389
  export const se_StopFleetCommand = async (input, context) => {
336
390
  const headers = sharedHeaders("StopFleet");
337
391
  let body;
@@ -356,6 +410,12 @@ export const se_UntagResourceCommand = async (input, context) => {
356
410
  body = JSON.stringify(_json(input));
357
411
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
358
412
  };
413
+ export const se_UpdateAppBlockBuilderCommand = async (input, context) => {
414
+ const headers = sharedHeaders("UpdateAppBlockBuilder");
415
+ let body;
416
+ body = JSON.stringify(_json(input));
417
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
418
+ };
359
419
  export const se_UpdateApplicationCommand = async (input, context) => {
360
420
  const headers = sharedHeaders("UpdateApplication");
361
421
  let body;
@@ -392,6 +452,50 @@ export const se_UpdateStackCommand = async (input, context) => {
392
452
  body = JSON.stringify(_json(input));
393
453
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
394
454
  };
455
+ export const de_AssociateAppBlockBuilderAppBlockCommand = async (output, context) => {
456
+ if (output.statusCode >= 300) {
457
+ return de_AssociateAppBlockBuilderAppBlockCommandError(output, context);
458
+ }
459
+ const data = await parseBody(output.body, context);
460
+ let contents = {};
461
+ contents = _json(data);
462
+ const response = {
463
+ $metadata: deserializeMetadata(output),
464
+ ...contents,
465
+ };
466
+ return response;
467
+ };
468
+ const de_AssociateAppBlockBuilderAppBlockCommandError = async (output, context) => {
469
+ const parsedOutput = {
470
+ ...output,
471
+ body: await parseErrorBody(output.body, context),
472
+ };
473
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
474
+ switch (errorCode) {
475
+ case "ConcurrentModificationException":
476
+ case "com.amazonaws.appstream#ConcurrentModificationException":
477
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
478
+ case "InvalidParameterCombinationException":
479
+ case "com.amazonaws.appstream#InvalidParameterCombinationException":
480
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
481
+ case "LimitExceededException":
482
+ case "com.amazonaws.appstream#LimitExceededException":
483
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
484
+ case "OperationNotPermittedException":
485
+ case "com.amazonaws.appstream#OperationNotPermittedException":
486
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
487
+ case "ResourceNotFoundException":
488
+ case "com.amazonaws.appstream#ResourceNotFoundException":
489
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
490
+ default:
491
+ const parsedBody = parsedOutput.body;
492
+ return throwDefaultError({
493
+ output,
494
+ parsedBody,
495
+ errorCode,
496
+ });
497
+ }
498
+ };
395
499
  export const de_AssociateApplicationFleetCommand = async (output, context) => {
396
500
  if (output.statusCode >= 300) {
397
501
  return de_AssociateApplicationFleetCommandError(output, context);
@@ -682,6 +786,100 @@ const de_CreateAppBlockCommandError = async (output, context) => {
682
786
  });
683
787
  }
684
788
  };
789
+ export const de_CreateAppBlockBuilderCommand = async (output, context) => {
790
+ if (output.statusCode >= 300) {
791
+ return de_CreateAppBlockBuilderCommandError(output, context);
792
+ }
793
+ const data = await parseBody(output.body, context);
794
+ let contents = {};
795
+ contents = de_CreateAppBlockBuilderResult(data, context);
796
+ const response = {
797
+ $metadata: deserializeMetadata(output),
798
+ ...contents,
799
+ };
800
+ return response;
801
+ };
802
+ const de_CreateAppBlockBuilderCommandError = async (output, context) => {
803
+ const parsedOutput = {
804
+ ...output,
805
+ body: await parseErrorBody(output.body, context),
806
+ };
807
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
808
+ switch (errorCode) {
809
+ case "ConcurrentModificationException":
810
+ case "com.amazonaws.appstream#ConcurrentModificationException":
811
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
812
+ case "InvalidAccountStatusException":
813
+ case "com.amazonaws.appstream#InvalidAccountStatusException":
814
+ throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
815
+ case "InvalidParameterCombinationException":
816
+ case "com.amazonaws.appstream#InvalidParameterCombinationException":
817
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
818
+ case "InvalidRoleException":
819
+ case "com.amazonaws.appstream#InvalidRoleException":
820
+ throw await de_InvalidRoleExceptionRes(parsedOutput, context);
821
+ case "LimitExceededException":
822
+ case "com.amazonaws.appstream#LimitExceededException":
823
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
824
+ case "OperationNotPermittedException":
825
+ case "com.amazonaws.appstream#OperationNotPermittedException":
826
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
827
+ case "RequestLimitExceededException":
828
+ case "com.amazonaws.appstream#RequestLimitExceededException":
829
+ throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
830
+ case "ResourceAlreadyExistsException":
831
+ case "com.amazonaws.appstream#ResourceAlreadyExistsException":
832
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
833
+ case "ResourceNotAvailableException":
834
+ case "com.amazonaws.appstream#ResourceNotAvailableException":
835
+ throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
836
+ case "ResourceNotFoundException":
837
+ case "com.amazonaws.appstream#ResourceNotFoundException":
838
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
839
+ default:
840
+ const parsedBody = parsedOutput.body;
841
+ return throwDefaultError({
842
+ output,
843
+ parsedBody,
844
+ errorCode,
845
+ });
846
+ }
847
+ };
848
+ export const de_CreateAppBlockBuilderStreamingURLCommand = async (output, context) => {
849
+ if (output.statusCode >= 300) {
850
+ return de_CreateAppBlockBuilderStreamingURLCommandError(output, context);
851
+ }
852
+ const data = await parseBody(output.body, context);
853
+ let contents = {};
854
+ contents = de_CreateAppBlockBuilderStreamingURLResult(data, context);
855
+ const response = {
856
+ $metadata: deserializeMetadata(output),
857
+ ...contents,
858
+ };
859
+ return response;
860
+ };
861
+ const de_CreateAppBlockBuilderStreamingURLCommandError = async (output, context) => {
862
+ const parsedOutput = {
863
+ ...output,
864
+ body: await parseErrorBody(output.body, context),
865
+ };
866
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
867
+ switch (errorCode) {
868
+ case "OperationNotPermittedException":
869
+ case "com.amazonaws.appstream#OperationNotPermittedException":
870
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
871
+ case "ResourceNotFoundException":
872
+ case "com.amazonaws.appstream#ResourceNotFoundException":
873
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
874
+ default:
875
+ const parsedBody = parsedOutput.body;
876
+ return throwDefaultError({
877
+ output,
878
+ parsedBody,
879
+ errorCode,
880
+ });
881
+ }
882
+ };
685
883
  export const de_CreateApplicationCommand = async (output, context) => {
686
884
  if (output.statusCode >= 300) {
687
885
  return de_CreateApplicationCommandError(output, context);
@@ -1234,6 +1432,47 @@ const de_DeleteAppBlockCommandError = async (output, context) => {
1234
1432
  });
1235
1433
  }
1236
1434
  };
1435
+ export const de_DeleteAppBlockBuilderCommand = async (output, context) => {
1436
+ if (output.statusCode >= 300) {
1437
+ return de_DeleteAppBlockBuilderCommandError(output, context);
1438
+ }
1439
+ const data = await parseBody(output.body, context);
1440
+ let contents = {};
1441
+ contents = _json(data);
1442
+ const response = {
1443
+ $metadata: deserializeMetadata(output),
1444
+ ...contents,
1445
+ };
1446
+ return response;
1447
+ };
1448
+ const de_DeleteAppBlockBuilderCommandError = async (output, context) => {
1449
+ const parsedOutput = {
1450
+ ...output,
1451
+ body: await parseErrorBody(output.body, context),
1452
+ };
1453
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1454
+ switch (errorCode) {
1455
+ case "ConcurrentModificationException":
1456
+ case "com.amazonaws.appstream#ConcurrentModificationException":
1457
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1458
+ case "OperationNotPermittedException":
1459
+ case "com.amazonaws.appstream#OperationNotPermittedException":
1460
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
1461
+ case "ResourceInUseException":
1462
+ case "com.amazonaws.appstream#ResourceInUseException":
1463
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1464
+ case "ResourceNotFoundException":
1465
+ case "com.amazonaws.appstream#ResourceNotFoundException":
1466
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1467
+ default:
1468
+ const parsedBody = parsedOutput.body;
1469
+ return throwDefaultError({
1470
+ output,
1471
+ parsedBody,
1472
+ errorCode,
1473
+ });
1474
+ }
1475
+ };
1237
1476
  export const de_DeleteApplicationCommand = async (output, context) => {
1238
1477
  if (output.statusCode >= 300) {
1239
1478
  return de_DeleteApplicationCommandError(output, context);
@@ -1611,6 +1850,76 @@ const de_DeleteUserCommandError = async (output, context) => {
1611
1850
  });
1612
1851
  }
1613
1852
  };
1853
+ export const de_DescribeAppBlockBuilderAppBlockAssociationsCommand = async (output, context) => {
1854
+ if (output.statusCode >= 300) {
1855
+ return de_DescribeAppBlockBuilderAppBlockAssociationsCommandError(output, context);
1856
+ }
1857
+ const data = await parseBody(output.body, context);
1858
+ let contents = {};
1859
+ contents = _json(data);
1860
+ const response = {
1861
+ $metadata: deserializeMetadata(output),
1862
+ ...contents,
1863
+ };
1864
+ return response;
1865
+ };
1866
+ const de_DescribeAppBlockBuilderAppBlockAssociationsCommandError = async (output, context) => {
1867
+ const parsedOutput = {
1868
+ ...output,
1869
+ body: await parseErrorBody(output.body, context),
1870
+ };
1871
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1872
+ switch (errorCode) {
1873
+ case "InvalidParameterCombinationException":
1874
+ case "com.amazonaws.appstream#InvalidParameterCombinationException":
1875
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
1876
+ case "OperationNotPermittedException":
1877
+ case "com.amazonaws.appstream#OperationNotPermittedException":
1878
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
1879
+ default:
1880
+ const parsedBody = parsedOutput.body;
1881
+ return throwDefaultError({
1882
+ output,
1883
+ parsedBody,
1884
+ errorCode,
1885
+ });
1886
+ }
1887
+ };
1888
+ export const de_DescribeAppBlockBuildersCommand = async (output, context) => {
1889
+ if (output.statusCode >= 300) {
1890
+ return de_DescribeAppBlockBuildersCommandError(output, context);
1891
+ }
1892
+ const data = await parseBody(output.body, context);
1893
+ let contents = {};
1894
+ contents = de_DescribeAppBlockBuildersResult(data, context);
1895
+ const response = {
1896
+ $metadata: deserializeMetadata(output),
1897
+ ...contents,
1898
+ };
1899
+ return response;
1900
+ };
1901
+ const de_DescribeAppBlockBuildersCommandError = async (output, context) => {
1902
+ const parsedOutput = {
1903
+ ...output,
1904
+ body: await parseErrorBody(output.body, context),
1905
+ };
1906
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1907
+ switch (errorCode) {
1908
+ case "OperationNotPermittedException":
1909
+ case "com.amazonaws.appstream#OperationNotPermittedException":
1910
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
1911
+ case "ResourceNotFoundException":
1912
+ case "com.amazonaws.appstream#ResourceNotFoundException":
1913
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1914
+ default:
1915
+ const parsedBody = parsedOutput.body;
1916
+ return throwDefaultError({
1917
+ output,
1918
+ parsedBody,
1919
+ errorCode,
1920
+ });
1921
+ }
1922
+ };
1614
1923
  export const de_DescribeAppBlocksCommand = async (output, context) => {
1615
1924
  if (output.statusCode >= 300) {
1616
1925
  return de_DescribeAppBlocksCommandError(output, context);
@@ -2121,6 +2430,47 @@ const de_DisableUserCommandError = async (output, context) => {
2121
2430
  });
2122
2431
  }
2123
2432
  };
2433
+ export const de_DisassociateAppBlockBuilderAppBlockCommand = async (output, context) => {
2434
+ if (output.statusCode >= 300) {
2435
+ return de_DisassociateAppBlockBuilderAppBlockCommandError(output, context);
2436
+ }
2437
+ const data = await parseBody(output.body, context);
2438
+ let contents = {};
2439
+ contents = _json(data);
2440
+ const response = {
2441
+ $metadata: deserializeMetadata(output),
2442
+ ...contents,
2443
+ };
2444
+ return response;
2445
+ };
2446
+ const de_DisassociateAppBlockBuilderAppBlockCommandError = async (output, context) => {
2447
+ const parsedOutput = {
2448
+ ...output,
2449
+ body: await parseErrorBody(output.body, context),
2450
+ };
2451
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2452
+ switch (errorCode) {
2453
+ case "ConcurrentModificationException":
2454
+ case "com.amazonaws.appstream#ConcurrentModificationException":
2455
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2456
+ case "InvalidParameterCombinationException":
2457
+ case "com.amazonaws.appstream#InvalidParameterCombinationException":
2458
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
2459
+ case "OperationNotPermittedException":
2460
+ case "com.amazonaws.appstream#OperationNotPermittedException":
2461
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
2462
+ case "ResourceNotFoundException":
2463
+ case "com.amazonaws.appstream#ResourceNotFoundException":
2464
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2465
+ default:
2466
+ const parsedBody = parsedOutput.body;
2467
+ return throwDefaultError({
2468
+ output,
2469
+ parsedBody,
2470
+ errorCode,
2471
+ });
2472
+ }
2473
+ };
2124
2474
  export const de_DisassociateApplicationFleetCommand = async (output, context) => {
2125
2475
  if (output.statusCode >= 300) {
2126
2476
  return de_DisassociateApplicationFleetCommandError(output, context);
@@ -2421,6 +2771,56 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
2421
2771
  });
2422
2772
  }
2423
2773
  };
2774
+ export const de_StartAppBlockBuilderCommand = async (output, context) => {
2775
+ if (output.statusCode >= 300) {
2776
+ return de_StartAppBlockBuilderCommandError(output, context);
2777
+ }
2778
+ const data = await parseBody(output.body, context);
2779
+ let contents = {};
2780
+ contents = de_StartAppBlockBuilderResult(data, context);
2781
+ const response = {
2782
+ $metadata: deserializeMetadata(output),
2783
+ ...contents,
2784
+ };
2785
+ return response;
2786
+ };
2787
+ const de_StartAppBlockBuilderCommandError = async (output, context) => {
2788
+ const parsedOutput = {
2789
+ ...output,
2790
+ body: await parseErrorBody(output.body, context),
2791
+ };
2792
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2793
+ switch (errorCode) {
2794
+ case "ConcurrentModificationException":
2795
+ case "com.amazonaws.appstream#ConcurrentModificationException":
2796
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2797
+ case "InvalidAccountStatusException":
2798
+ case "com.amazonaws.appstream#InvalidAccountStatusException":
2799
+ throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
2800
+ case "LimitExceededException":
2801
+ case "com.amazonaws.appstream#LimitExceededException":
2802
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2803
+ case "OperationNotPermittedException":
2804
+ case "com.amazonaws.appstream#OperationNotPermittedException":
2805
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
2806
+ case "RequestLimitExceededException":
2807
+ case "com.amazonaws.appstream#RequestLimitExceededException":
2808
+ throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
2809
+ case "ResourceNotAvailableException":
2810
+ case "com.amazonaws.appstream#ResourceNotAvailableException":
2811
+ throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
2812
+ case "ResourceNotFoundException":
2813
+ case "com.amazonaws.appstream#ResourceNotFoundException":
2814
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2815
+ default:
2816
+ const parsedBody = parsedOutput.body;
2817
+ return throwDefaultError({
2818
+ output,
2819
+ parsedBody,
2820
+ errorCode,
2821
+ });
2822
+ }
2823
+ };
2424
2824
  export const de_StartFleetCommand = async (output, context) => {
2425
2825
  if (output.statusCode >= 300) {
2426
2826
  return de_StartFleetCommandError(output, context);
@@ -2518,6 +2918,44 @@ const de_StartImageBuilderCommandError = async (output, context) => {
2518
2918
  });
2519
2919
  }
2520
2920
  };
2921
+ export const de_StopAppBlockBuilderCommand = async (output, context) => {
2922
+ if (output.statusCode >= 300) {
2923
+ return de_StopAppBlockBuilderCommandError(output, context);
2924
+ }
2925
+ const data = await parseBody(output.body, context);
2926
+ let contents = {};
2927
+ contents = de_StopAppBlockBuilderResult(data, context);
2928
+ const response = {
2929
+ $metadata: deserializeMetadata(output),
2930
+ ...contents,
2931
+ };
2932
+ return response;
2933
+ };
2934
+ const de_StopAppBlockBuilderCommandError = async (output, context) => {
2935
+ const parsedOutput = {
2936
+ ...output,
2937
+ body: await parseErrorBody(output.body, context),
2938
+ };
2939
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2940
+ switch (errorCode) {
2941
+ case "ConcurrentModificationException":
2942
+ case "com.amazonaws.appstream#ConcurrentModificationException":
2943
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
2944
+ case "OperationNotPermittedException":
2945
+ case "com.amazonaws.appstream#OperationNotPermittedException":
2946
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
2947
+ case "ResourceNotFoundException":
2948
+ case "com.amazonaws.appstream#ResourceNotFoundException":
2949
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2950
+ default:
2951
+ const parsedBody = parsedOutput.body;
2952
+ return throwDefaultError({
2953
+ output,
2954
+ parsedBody,
2955
+ errorCode,
2956
+ });
2957
+ }
2958
+ };
2521
2959
  export const de_StopFleetCommand = async (output, context) => {
2522
2960
  if (output.statusCode >= 300) {
2523
2961
  return de_StopFleetCommandError(output, context);
@@ -2661,6 +3099,65 @@ const de_UntagResourceCommandError = async (output, context) => {
2661
3099
  });
2662
3100
  }
2663
3101
  };
3102
+ export const de_UpdateAppBlockBuilderCommand = async (output, context) => {
3103
+ if (output.statusCode >= 300) {
3104
+ return de_UpdateAppBlockBuilderCommandError(output, context);
3105
+ }
3106
+ const data = await parseBody(output.body, context);
3107
+ let contents = {};
3108
+ contents = de_UpdateAppBlockBuilderResult(data, context);
3109
+ const response = {
3110
+ $metadata: deserializeMetadata(output),
3111
+ ...contents,
3112
+ };
3113
+ return response;
3114
+ };
3115
+ const de_UpdateAppBlockBuilderCommandError = async (output, context) => {
3116
+ const parsedOutput = {
3117
+ ...output,
3118
+ body: await parseErrorBody(output.body, context),
3119
+ };
3120
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3121
+ switch (errorCode) {
3122
+ case "ConcurrentModificationException":
3123
+ case "com.amazonaws.appstream#ConcurrentModificationException":
3124
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
3125
+ case "InvalidAccountStatusException":
3126
+ case "com.amazonaws.appstream#InvalidAccountStatusException":
3127
+ throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
3128
+ case "InvalidParameterCombinationException":
3129
+ case "com.amazonaws.appstream#InvalidParameterCombinationException":
3130
+ throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
3131
+ case "InvalidRoleException":
3132
+ case "com.amazonaws.appstream#InvalidRoleException":
3133
+ throw await de_InvalidRoleExceptionRes(parsedOutput, context);
3134
+ case "LimitExceededException":
3135
+ case "com.amazonaws.appstream#LimitExceededException":
3136
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
3137
+ case "OperationNotPermittedException":
3138
+ case "com.amazonaws.appstream#OperationNotPermittedException":
3139
+ throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
3140
+ case "RequestLimitExceededException":
3141
+ case "com.amazonaws.appstream#RequestLimitExceededException":
3142
+ throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
3143
+ case "ResourceInUseException":
3144
+ case "com.amazonaws.appstream#ResourceInUseException":
3145
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
3146
+ case "ResourceNotAvailableException":
3147
+ case "com.amazonaws.appstream#ResourceNotAvailableException":
3148
+ throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
3149
+ case "ResourceNotFoundException":
3150
+ case "com.amazonaws.appstream#ResourceNotFoundException":
3151
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3152
+ default:
3153
+ const parsedBody = parsedOutput.body;
3154
+ return throwDefaultError({
3155
+ output,
3156
+ parsedBody,
3157
+ errorCode,
3158
+ });
3159
+ }
3160
+ };
2664
3161
  export const de_UpdateApplicationCommand = async (output, context) => {
2665
3162
  if (output.statusCode >= 300) {
2666
3163
  return de_UpdateApplicationCommandError(output, context);
@@ -3068,15 +3565,45 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
3068
3565
  };
3069
3566
  const de_AppBlock = (output, context) => {
3070
3567
  return take(output, {
3568
+ AppBlockErrors: _json,
3071
3569
  Arn: __expectString,
3072
3570
  CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3073
3571
  Description: __expectString,
3074
3572
  DisplayName: __expectString,
3075
3573
  Name: __expectString,
3574
+ PackagingType: __expectString,
3575
+ PostSetupScriptDetails: _json,
3076
3576
  SetupScriptDetails: _json,
3077
3577
  SourceS3Location: _json,
3578
+ State: __expectString,
3579
+ });
3580
+ };
3581
+ const de_AppBlockBuilder = (output, context) => {
3582
+ return take(output, {
3583
+ AccessEndpoints: _json,
3584
+ AppBlockBuilderErrors: (_) => de_ResourceErrors(_, context),
3585
+ Arn: __expectString,
3586
+ CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3587
+ Description: __expectString,
3588
+ DisplayName: __expectString,
3589
+ EnableDefaultInternetAccess: __expectBoolean,
3590
+ IamRoleArn: __expectString,
3591
+ InstanceType: __expectString,
3592
+ Name: __expectString,
3593
+ Platform: __expectString,
3594
+ State: __expectString,
3595
+ StateChangeReason: _json,
3596
+ VpcConfig: _json,
3078
3597
  });
3079
3598
  };
3599
+ const de_AppBlockBuilderList = (output, context) => {
3600
+ const retVal = (output || [])
3601
+ .filter((e) => e != null)
3602
+ .map((entry) => {
3603
+ return de_AppBlockBuilder(entry, context);
3604
+ });
3605
+ return retVal;
3606
+ };
3080
3607
  const de_AppBlocks = (output, context) => {
3081
3608
  const retVal = (output || [])
3082
3609
  .filter((e) => e != null)
@@ -3112,6 +3639,17 @@ const de_Applications = (output, context) => {
3112
3639
  });
3113
3640
  return retVal;
3114
3641
  };
3642
+ const de_CreateAppBlockBuilderResult = (output, context) => {
3643
+ return take(output, {
3644
+ AppBlockBuilder: (_) => de_AppBlockBuilder(_, context),
3645
+ });
3646
+ };
3647
+ const de_CreateAppBlockBuilderStreamingURLResult = (output, context) => {
3648
+ return take(output, {
3649
+ Expires: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3650
+ StreamingURL: __expectString,
3651
+ });
3652
+ };
3115
3653
  const de_CreateAppBlockResult = (output, context) => {
3116
3654
  return take(output, {
3117
3655
  AppBlock: (_) => de_AppBlock(_, context),
@@ -3175,6 +3713,12 @@ const de_DeleteImageResult = (output, context) => {
3175
3713
  Image: (_) => de_Image(_, context),
3176
3714
  });
3177
3715
  };
3716
+ const de_DescribeAppBlockBuildersResult = (output, context) => {
3717
+ return take(output, {
3718
+ AppBlockBuilders: (_) => de_AppBlockBuilderList(_, context),
3719
+ NextToken: __expectString,
3720
+ });
3721
+ };
3178
3722
  const de_DescribeAppBlocksResult = (output, context) => {
3179
3723
  return take(output, {
3180
3724
  AppBlocks: (_) => de_AppBlocks(_, context),
@@ -3435,16 +3979,31 @@ const de_StackList = (output, context) => {
3435
3979
  });
3436
3980
  return retVal;
3437
3981
  };
3982
+ const de_StartAppBlockBuilderResult = (output, context) => {
3983
+ return take(output, {
3984
+ AppBlockBuilder: (_) => de_AppBlockBuilder(_, context),
3985
+ });
3986
+ };
3438
3987
  const de_StartImageBuilderResult = (output, context) => {
3439
3988
  return take(output, {
3440
3989
  ImageBuilder: (_) => de_ImageBuilder(_, context),
3441
3990
  });
3442
3991
  };
3992
+ const de_StopAppBlockBuilderResult = (output, context) => {
3993
+ return take(output, {
3994
+ AppBlockBuilder: (_) => de_AppBlockBuilder(_, context),
3995
+ });
3996
+ };
3443
3997
  const de_StopImageBuilderResult = (output, context) => {
3444
3998
  return take(output, {
3445
3999
  ImageBuilder: (_) => de_ImageBuilder(_, context),
3446
4000
  });
3447
4001
  };
4002
+ const de_UpdateAppBlockBuilderResult = (output, context) => {
4003
+ return take(output, {
4004
+ AppBlockBuilder: (_) => de_AppBlockBuilder(_, context),
4005
+ });
4006
+ };
3448
4007
  const de_UpdateApplicationResult = (output, context) => {
3449
4008
  return take(output, {
3450
4009
  Application: (_) => de_Application(_, context),