@aws-sdk/client-ivs 3.33.0 → 3.36.1

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 (343) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/Ivs.js +1 -364
  3. package/dist-cjs/IvsClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/BatchGetChannelCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/BatchGetStreamKeyCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateChannelCommand.js +2 -27
  7. package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +36 -0
  8. package/{dist/cjs → dist-cjs}/commands/CreateStreamKeyCommand.js +2 -30
  9. package/{dist/cjs → dist-cjs}/commands/DeleteChannelCommand.js +2 -31
  10. package/{dist/cjs → dist-cjs}/commands/DeletePlaybackKeyPairCommand.js +2 -29
  11. package/{dist/cjs → dist-cjs}/commands/DeleteRecordingConfigurationCommand.js +2 -32
  12. package/{dist/cjs → dist-cjs}/commands/DeleteStreamKeyCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/GetChannelCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/GetPlaybackKeyPairCommand.js +2 -31
  15. package/{dist/cjs → dist-cjs}/commands/GetRecordingConfigurationCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/GetStreamCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/GetStreamKeyCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/ImportPlaybackKeyPairCommand.js +2 -31
  19. package/{dist/cjs → dist-cjs}/commands/ListChannelsCommand.js +2 -30
  20. package/{dist/cjs → dist-cjs}/commands/ListPlaybackKeyPairsCommand.js +2 -28
  21. package/{dist/cjs → dist-cjs}/commands/ListRecordingConfigurationsCommand.js +2 -28
  22. package/{dist/cjs → dist-cjs}/commands/ListStreamKeysCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/ListStreamsCommand.js +2 -28
  24. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/PutMetadataCommand.js +2 -33
  26. package/{dist/cjs → dist-cjs}/commands/StopStreamCommand.js +2 -34
  27. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/UpdateChannelCommand.js +2 -28
  30. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  31. package/{dist/cjs → dist-cjs}/index.js +0 -1
  32. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  33. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -214
  34. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  35. package/{dist/cjs → dist-cjs}/pagination/ListChannelsPaginator.js +1 -12
  36. package/{dist/cjs → dist-cjs}/pagination/ListPlaybackKeyPairsPaginator.js +1 -12
  37. package/{dist/cjs → dist-cjs}/pagination/ListRecordingConfigurationsPaginator.js +1 -12
  38. package/{dist/cjs → dist-cjs}/pagination/ListStreamKeysPaginator.js +1 -12
  39. package/{dist/cjs → dist-cjs}/pagination/ListStreamsPaginator.js +1 -12
  40. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -12
  41. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +23 -29
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  46. package/{dist/es → dist-es}/Ivs.js +2 -365
  47. package/dist-es/IvsClient.js +37 -0
  48. package/{dist/es → dist-es}/commands/BatchGetChannelCommand.js +4 -30
  49. package/{dist/es → dist-es}/commands/BatchGetStreamKeyCommand.js +4 -30
  50. package/{dist/es → dist-es}/commands/CreateChannelCommand.js +4 -30
  51. package/{dist/es → dist-es}/commands/CreateRecordingConfigurationCommand.js +4 -41
  52. package/{dist/es → dist-es}/commands/CreateStreamKeyCommand.js +4 -33
  53. package/{dist/es → dist-es}/commands/DeleteChannelCommand.js +4 -34
  54. package/{dist/es → dist-es}/commands/DeletePlaybackKeyPairCommand.js +4 -32
  55. package/{dist/es → dist-es}/commands/DeleteRecordingConfigurationCommand.js +4 -35
  56. package/{dist/es → dist-es}/commands/DeleteStreamKeyCommand.js +4 -31
  57. package/{dist/es → dist-es}/commands/GetChannelCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/GetPlaybackKeyPairCommand.js +4 -34
  59. package/{dist/es → dist-es}/commands/GetRecordingConfigurationCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/GetStreamCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/GetStreamKeyCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/ImportPlaybackKeyPairCommand.js +4 -34
  63. package/{dist/es → dist-es}/commands/ListChannelsCommand.js +4 -33
  64. package/{dist/es → dist-es}/commands/ListPlaybackKeyPairsCommand.js +4 -31
  65. package/{dist/es → dist-es}/commands/ListRecordingConfigurationsCommand.js +4 -31
  66. package/{dist/es → dist-es}/commands/ListStreamKeysCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/ListStreamsCommand.js +4 -31
  68. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/PutMetadataCommand.js +4 -36
  70. package/{dist/es → dist-es}/commands/StopStreamCommand.js +4 -37
  71. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  73. package/{dist/es → dist-es}/commands/UpdateChannelCommand.js +4 -31
  74. package/{dist/es → dist-es}/endpoints.js +1 -2
  75. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  76. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  77. package/{dist/es → dist-es}/models/models_0.js +0 -214
  78. package/dist-es/pagination/Interfaces.js +1 -0
  79. package/{dist/es → dist-es}/pagination/ListChannelsPaginator.js +17 -30
  80. package/{dist/es → dist-es}/pagination/ListPlaybackKeyPairsPaginator.js +17 -30
  81. package/{dist/es → dist-es}/pagination/ListRecordingConfigurationsPaginator.js +17 -30
  82. package/{dist/es → dist-es}/pagination/ListStreamKeysPaginator.js +17 -30
  83. package/{dist/es → dist-es}/pagination/ListStreamsPaginator.js +17 -30
  84. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
  85. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +606 -612
  86. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  87. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  88. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  89. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  90. package/{dist/types → dist-types}/Ivs.d.ts +2 -2
  91. package/{dist/types → dist-types}/IvsClient.d.ts +8 -8
  92. package/{dist/types → dist-types}/commands/BatchGetChannelCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/BatchGetStreamKeyCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/CreateChannelCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/CreateRecordingConfigurationCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateStreamKeyCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DeleteChannelCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/DeletePlaybackKeyPairCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/DeleteRecordingConfigurationCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/DeleteStreamKeyCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/GetChannelCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/GetPlaybackKeyPairCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/GetRecordingConfigurationCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/GetStreamCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/GetStreamKeyCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/ImportPlaybackKeyPairCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/ListChannelsCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/ListPlaybackKeyPairsCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/ListRecordingConfigurationsCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/ListStreamKeysCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/ListStreamsCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/PutMetadataCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/StopStreamCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/UpdateChannelCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  119. package/{index.ts → dist-types/index.d.ts} +0 -0
  120. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  121. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  122. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  123. package/{dist/types → dist-types}/pagination/ListChannelsPaginator.d.ts +1 -1
  124. package/{dist/types → dist-types}/pagination/ListPlaybackKeyPairsPaginator.d.ts +1 -1
  125. package/{dist/types → dist-types}/pagination/ListRecordingConfigurationsPaginator.d.ts +1 -1
  126. package/{dist/types → dist-types}/pagination/ListStreamKeysPaginator.d.ts +1 -1
  127. package/{dist/types → dist-types}/pagination/ListStreamsPaginator.d.ts +1 -1
  128. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  129. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  130. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  131. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  132. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  133. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  134. package/dist-types/ts3.4/Ivs.d.ts +135 -0
  135. package/dist-types/ts3.4/IvsClient.d.ts +93 -0
  136. package/{dist/types → dist-types}/ts3.4/commands/BatchGetChannelCommand.d.ts +4 -22
  137. package/{dist/types → dist-types}/ts3.4/commands/BatchGetStreamKeyCommand.d.ts +4 -22
  138. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/CreateStreamKeyCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +17 -0
  147. package/{dist/types → dist-types}/ts3.4/commands/GetRecordingConfigurationCommand.d.ts +4 -22
  148. package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/GetStreamKeyCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +17 -0
  153. package/{dist/types → dist-types}/ts3.4/commands/ListRecordingConfigurationsCommand.d.ts +4 -23
  154. package/dist-types/ts3.4/commands/ListStreamKeysCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +17 -0
  156. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  157. package/dist-types/ts3.4/commands/PutMetadataCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/StopStreamCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +17 -0
  162. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  163. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  164. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  165. package/dist-types/ts3.4/models/models_0.d.ts +798 -0
  166. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  167. package/{dist/types → dist-types}/ts3.4/pagination/ListChannelsPaginator.d.ts +1 -1
  168. package/{dist/types → dist-types}/ts3.4/pagination/ListPlaybackKeyPairsPaginator.d.ts +1 -1
  169. package/{dist/types → dist-types}/ts3.4/pagination/ListRecordingConfigurationsPaginator.d.ts +1 -1
  170. package/{dist/types → dist-types}/ts3.4/pagination/ListStreamKeysPaginator.d.ts +1 -1
  171. package/{dist/types → dist-types}/ts3.4/pagination/ListStreamsPaginator.d.ts +1 -1
  172. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  173. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  174. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  175. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  176. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  177. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  178. package/package.json +52 -49
  179. package/Ivs.ts +0 -1316
  180. package/IvsClient.ts +0 -696
  181. package/commands/BatchGetChannelCommand.ts +0 -94
  182. package/commands/BatchGetStreamKeyCommand.ts +0 -94
  183. package/commands/CreateChannelCommand.ts +0 -94
  184. package/commands/CreateRecordingConfigurationCommand.ts +0 -110
  185. package/commands/CreateStreamKeyCommand.ts +0 -97
  186. package/commands/DeleteChannelCommand.ts +0 -98
  187. package/commands/DeletePlaybackKeyPairCommand.ts +0 -96
  188. package/commands/DeleteRecordingConfigurationCommand.ts +0 -102
  189. package/commands/DeleteStreamKeyCommand.ts +0 -95
  190. package/commands/GetChannelCommand.ts +0 -94
  191. package/commands/GetPlaybackKeyPairCommand.ts +0 -98
  192. package/commands/GetRecordingConfigurationCommand.ts +0 -97
  193. package/commands/GetStreamCommand.ts +0 -90
  194. package/commands/GetStreamKeyCommand.ts +0 -94
  195. package/commands/ImportPlaybackKeyPairCommand.ts +0 -98
  196. package/commands/ListChannelsCommand.ts +0 -97
  197. package/commands/ListPlaybackKeyPairsCommand.ts +0 -95
  198. package/commands/ListRecordingConfigurationsCommand.ts +0 -100
  199. package/commands/ListStreamKeysCommand.ts +0 -94
  200. package/commands/ListStreamsCommand.ts +0 -95
  201. package/commands/ListTagsForResourceCommand.ts +0 -94
  202. package/commands/PutMetadataCommand.ts +0 -100
  203. package/commands/StopStreamCommand.ts +0 -101
  204. package/commands/TagResourceCommand.ts +0 -94
  205. package/commands/UntagResourceCommand.ts +0 -94
  206. package/commands/UpdateChannelCommand.ts +0 -95
  207. package/dist/cjs/Ivs.js.map +0 -1
  208. package/dist/cjs/IvsClient.js +0 -403
  209. package/dist/cjs/IvsClient.js.map +0 -1
  210. package/dist/cjs/commands/BatchGetChannelCommand.js.map +0 -1
  211. package/dist/cjs/commands/BatchGetStreamKeyCommand.js.map +0 -1
  212. package/dist/cjs/commands/CreateChannelCommand.js.map +0 -1
  213. package/dist/cjs/commands/CreateRecordingConfigurationCommand.js +0 -72
  214. package/dist/cjs/commands/CreateRecordingConfigurationCommand.js.map +0 -1
  215. package/dist/cjs/commands/CreateStreamKeyCommand.js.map +0 -1
  216. package/dist/cjs/commands/DeleteChannelCommand.js.map +0 -1
  217. package/dist/cjs/commands/DeletePlaybackKeyPairCommand.js.map +0 -1
  218. package/dist/cjs/commands/DeleteRecordingConfigurationCommand.js.map +0 -1
  219. package/dist/cjs/commands/DeleteStreamKeyCommand.js.map +0 -1
  220. package/dist/cjs/commands/GetChannelCommand.js.map +0 -1
  221. package/dist/cjs/commands/GetPlaybackKeyPairCommand.js.map +0 -1
  222. package/dist/cjs/commands/GetRecordingConfigurationCommand.js.map +0 -1
  223. package/dist/cjs/commands/GetStreamCommand.js.map +0 -1
  224. package/dist/cjs/commands/GetStreamKeyCommand.js.map +0 -1
  225. package/dist/cjs/commands/ImportPlaybackKeyPairCommand.js.map +0 -1
  226. package/dist/cjs/commands/ListChannelsCommand.js.map +0 -1
  227. package/dist/cjs/commands/ListPlaybackKeyPairsCommand.js.map +0 -1
  228. package/dist/cjs/commands/ListRecordingConfigurationsCommand.js.map +0 -1
  229. package/dist/cjs/commands/ListStreamKeysCommand.js.map +0 -1
  230. package/dist/cjs/commands/ListStreamsCommand.js.map +0 -1
  231. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  232. package/dist/cjs/commands/PutMetadataCommand.js.map +0 -1
  233. package/dist/cjs/commands/StopStreamCommand.js.map +0 -1
  234. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  235. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  236. package/dist/cjs/commands/UpdateChannelCommand.js.map +0 -1
  237. package/dist/cjs/endpoints.js.map +0 -1
  238. package/dist/cjs/index.js.map +0 -1
  239. package/dist/cjs/models/index.js.map +0 -1
  240. package/dist/cjs/models/models_0.js.map +0 -1
  241. package/dist/cjs/package.json +0 -91
  242. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  243. package/dist/cjs/pagination/ListChannelsPaginator.js.map +0 -1
  244. package/dist/cjs/pagination/ListPlaybackKeyPairsPaginator.js.map +0 -1
  245. package/dist/cjs/pagination/ListRecordingConfigurationsPaginator.js.map +0 -1
  246. package/dist/cjs/pagination/ListStreamKeysPaginator.js.map +0 -1
  247. package/dist/cjs/pagination/ListStreamsPaginator.js.map +0 -1
  248. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  249. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  250. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  251. package/dist/cjs/runtimeConfig.js.map +0 -1
  252. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  253. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  254. package/dist/es/Ivs.js.map +0 -1
  255. package/dist/es/IvsClient.js +0 -405
  256. package/dist/es/IvsClient.js.map +0 -1
  257. package/dist/es/commands/BatchGetChannelCommand.js.map +0 -1
  258. package/dist/es/commands/BatchGetStreamKeyCommand.js.map +0 -1
  259. package/dist/es/commands/CreateChannelCommand.js.map +0 -1
  260. package/dist/es/commands/CreateRecordingConfigurationCommand.js.map +0 -1
  261. package/dist/es/commands/CreateStreamKeyCommand.js.map +0 -1
  262. package/dist/es/commands/DeleteChannelCommand.js.map +0 -1
  263. package/dist/es/commands/DeletePlaybackKeyPairCommand.js.map +0 -1
  264. package/dist/es/commands/DeleteRecordingConfigurationCommand.js.map +0 -1
  265. package/dist/es/commands/DeleteStreamKeyCommand.js.map +0 -1
  266. package/dist/es/commands/GetChannelCommand.js.map +0 -1
  267. package/dist/es/commands/GetPlaybackKeyPairCommand.js.map +0 -1
  268. package/dist/es/commands/GetRecordingConfigurationCommand.js.map +0 -1
  269. package/dist/es/commands/GetStreamCommand.js.map +0 -1
  270. package/dist/es/commands/GetStreamKeyCommand.js.map +0 -1
  271. package/dist/es/commands/ImportPlaybackKeyPairCommand.js.map +0 -1
  272. package/dist/es/commands/ListChannelsCommand.js.map +0 -1
  273. package/dist/es/commands/ListPlaybackKeyPairsCommand.js.map +0 -1
  274. package/dist/es/commands/ListRecordingConfigurationsCommand.js.map +0 -1
  275. package/dist/es/commands/ListStreamKeysCommand.js.map +0 -1
  276. package/dist/es/commands/ListStreamsCommand.js.map +0 -1
  277. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  278. package/dist/es/commands/PutMetadataCommand.js.map +0 -1
  279. package/dist/es/commands/StopStreamCommand.js.map +0 -1
  280. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  281. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  282. package/dist/es/commands/UpdateChannelCommand.js.map +0 -1
  283. package/dist/es/endpoints.js.map +0 -1
  284. package/dist/es/index.js +0 -37
  285. package/dist/es/index.js.map +0 -1
  286. package/dist/es/models/index.js +0 -2
  287. package/dist/es/models/index.js.map +0 -1
  288. package/dist/es/models/models_0.js.map +0 -1
  289. package/dist/es/package.json +0 -91
  290. package/dist/es/pagination/Interfaces.js +0 -2
  291. package/dist/es/pagination/Interfaces.js.map +0 -1
  292. package/dist/es/pagination/ListChannelsPaginator.js.map +0 -1
  293. package/dist/es/pagination/ListPlaybackKeyPairsPaginator.js.map +0 -1
  294. package/dist/es/pagination/ListRecordingConfigurationsPaginator.js.map +0 -1
  295. package/dist/es/pagination/ListStreamKeysPaginator.js.map +0 -1
  296. package/dist/es/pagination/ListStreamsPaginator.js.map +0 -1
  297. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  298. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  299. package/dist/es/runtimeConfig.browser.js.map +0 -1
  300. package/dist/es/runtimeConfig.js.map +0 -1
  301. package/dist/es/runtimeConfig.native.js.map +0 -1
  302. package/dist/es/runtimeConfig.shared.js.map +0 -1
  303. package/dist/types/ts3.4/Ivs.d.ts +0 -602
  304. package/dist/types/ts3.4/IvsClient.d.ts +0 -517
  305. package/dist/types/ts3.4/commands/CreateChannelCommand.d.ts +0 -35
  306. package/dist/types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +0 -46
  307. package/dist/types/ts3.4/commands/CreateStreamKeyCommand.d.ts +0 -38
  308. package/dist/types/ts3.4/commands/DeleteChannelCommand.d.ts +0 -39
  309. package/dist/types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +0 -37
  310. package/dist/types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +0 -40
  311. package/dist/types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +0 -36
  312. package/dist/types/ts3.4/commands/GetChannelCommand.d.ts +0 -35
  313. package/dist/types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +0 -39
  314. package/dist/types/ts3.4/commands/GetStreamCommand.d.ts +0 -35
  315. package/dist/types/ts3.4/commands/GetStreamKeyCommand.d.ts +0 -35
  316. package/dist/types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +0 -39
  317. package/dist/types/ts3.4/commands/ListChannelsCommand.d.ts +0 -38
  318. package/dist/types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +0 -36
  319. package/dist/types/ts3.4/commands/ListStreamKeysCommand.d.ts +0 -35
  320. package/dist/types/ts3.4/commands/ListStreamsCommand.d.ts +0 -36
  321. package/dist/types/ts3.4/commands/PutMetadataCommand.d.ts +0 -41
  322. package/dist/types/ts3.4/commands/StopStreamCommand.d.ts +0 -42
  323. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  324. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  325. package/dist/types/ts3.4/commands/UpdateChannelCommand.d.ts +0 -36
  326. package/dist/types/ts3.4/models/models_0.d.ts +0 -1340
  327. package/endpoints.ts +0 -57
  328. package/jest.config.js +0 -4
  329. package/models/models_0.ts +0 -1673
  330. package/pagination/Interfaces.ts +0 -7
  331. package/pagination/ListChannelsPaginator.ts +0 -58
  332. package/pagination/ListPlaybackKeyPairsPaginator.ts +0 -58
  333. package/pagination/ListRecordingConfigurationsPaginator.ts +0 -58
  334. package/pagination/ListStreamKeysPaginator.ts +0 -58
  335. package/pagination/ListStreamsPaginator.ts +0 -54
  336. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  337. package/protocols/Aws_restJson1.ts +0 -3326
  338. package/runtimeConfig.browser.ts +0 -40
  339. package/runtimeConfig.native.ts +0 -16
  340. package/runtimeConfig.shared.ts +0 -16
  341. package/runtimeConfig.ts +0 -45
  342. package/tsconfig.es.json +0 -12
  343. package/tsconfig.json +0 -32
@@ -1,102 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { DeleteRecordingConfigurationRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteRecordingConfigurationCommand,
5
- serializeAws_restJson1DeleteRecordingConfigurationCommand,
6
- } from "../protocols/Aws_restJson1";
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 DeleteRecordingConfigurationCommandInput extends DeleteRecordingConfigurationRequest {}
21
- export interface DeleteRecordingConfigurationCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the recording configuration for the specified ARN.</p>
25
- * <p>If you try to delete a recording configuration that is associated with a channel, you will
26
- * get an error (409 ConflictException). To avoid this, for all channels that reference the
27
- * recording configuration, first use <a>UpdateChannel</a> to set the
28
- * <code>recordingConfigurationArn</code> field to an empty string, then use
29
- * DeleteRecordingConfiguration.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { IvsClient, DeleteRecordingConfigurationCommand } from "@aws-sdk/client-ivs"; // ES Modules import
34
- * // const { IvsClient, DeleteRecordingConfigurationCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
35
- * const client = new IvsClient(config);
36
- * const command = new DeleteRecordingConfigurationCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DeleteRecordingConfigurationCommandInput} for command's `input` shape.
41
- * @see {@link DeleteRecordingConfigurationCommandOutput} for command's `response` shape.
42
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DeleteRecordingConfigurationCommand extends $Command<
46
- DeleteRecordingConfigurationCommandInput,
47
- DeleteRecordingConfigurationCommandOutput,
48
- IvsClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DeleteRecordingConfigurationCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: IvsClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DeleteRecordingConfigurationCommandInput, DeleteRecordingConfigurationCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "IvsClient";
73
- const commandName = "DeleteRecordingConfigurationCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DeleteRecordingConfigurationRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: (output: any) => output,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: DeleteRecordingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1DeleteRecordingConfigurationCommand(input, context);
91
- }
92
-
93
- private deserialize(
94
- output: __HttpResponse,
95
- context: __SerdeContext
96
- ): Promise<DeleteRecordingConfigurationCommandOutput> {
97
- return deserializeAws_restJson1DeleteRecordingConfigurationCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,95 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { DeleteStreamKeyRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteStreamKeyCommand,
5
- serializeAws_restJson1DeleteStreamKeyCommand,
6
- } from "../protocols/Aws_restJson1";
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 DeleteStreamKeyCommandInput extends DeleteStreamKeyRequest {}
21
- export interface DeleteStreamKeyCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the stream key for the specified ARN, so it can no longer be used to
25
- * stream.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { IvsClient, DeleteStreamKeyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
30
- * // const { IvsClient, DeleteStreamKeyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
31
- * const client = new IvsClient(config);
32
- * const command = new DeleteStreamKeyCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteStreamKeyCommandInput} for command's `input` shape.
37
- * @see {@link DeleteStreamKeyCommandOutput} for command's `response` shape.
38
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteStreamKeyCommand extends $Command<
42
- DeleteStreamKeyCommandInput,
43
- DeleteStreamKeyCommandOutput,
44
- IvsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteStreamKeyCommandInput) {
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: IvsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteStreamKeyCommandInput, DeleteStreamKeyCommandOutput> {
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 = "IvsClient";
69
- const commandName = "DeleteStreamKeyCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteStreamKeyRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: (output: any) => output,
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: DeleteStreamKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteStreamKeyCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteStreamKeyCommandOutput> {
90
- return deserializeAws_restJson1DeleteStreamKeyCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,94 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { GetChannelRequest, GetChannelResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetChannelCommand,
5
- serializeAws_restJson1GetChannelCommand,
6
- } from "../protocols/Aws_restJson1";
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 GetChannelCommandInput extends GetChannelRequest {}
21
- export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets the channel configuration for the specified channel ARN. See also <a>BatchGetChannel</a>.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { IvsClient, GetChannelCommand } from "@aws-sdk/client-ivs"; // ES Modules import
29
- * // const { IvsClient, GetChannelCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
30
- * const client = new IvsClient(config);
31
- * const command = new GetChannelCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetChannelCommandInput} for command's `input` shape.
36
- * @see {@link GetChannelCommandOutput} for command's `response` shape.
37
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetChannelCommand extends $Command<
41
- GetChannelCommandInput,
42
- GetChannelCommandOutput,
43
- IvsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetChannelCommandInput) {
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: IvsClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetChannelCommandInput, GetChannelCommandOutput> {
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 = "IvsClient";
68
- const commandName = "GetChannelCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetChannelRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetChannelResponse.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: GetChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetChannelCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetChannelCommandOutput> {
89
- return deserializeAws_restJson1GetChannelCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,98 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { GetPlaybackKeyPairRequest, GetPlaybackKeyPairResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetPlaybackKeyPairCommand,
5
- serializeAws_restJson1GetPlaybackKeyPairCommand,
6
- } from "../protocols/Aws_restJson1";
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 GetPlaybackKeyPairCommandInput extends GetPlaybackKeyPairRequest {}
21
- export interface GetPlaybackKeyPairCommandOutput extends GetPlaybackKeyPairResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets a specified playback authorization key pair and returns the <code>arn</code> and
25
- * <code>fingerprint</code>. The <code>privateKey</code> held by the caller can be used to
26
- * generate viewer authorization tokens, to grant viewers access to private channels. For more
27
- * information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the <i>Amazon IVS User
28
- * Guide</i>.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { IvsClient, GetPlaybackKeyPairCommand } from "@aws-sdk/client-ivs"; // ES Modules import
33
- * // const { IvsClient, GetPlaybackKeyPairCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
34
- * const client = new IvsClient(config);
35
- * const command = new GetPlaybackKeyPairCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link GetPlaybackKeyPairCommandInput} for command's `input` shape.
40
- * @see {@link GetPlaybackKeyPairCommandOutput} for command's `response` shape.
41
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class GetPlaybackKeyPairCommand extends $Command<
45
- GetPlaybackKeyPairCommandInput,
46
- GetPlaybackKeyPairCommandOutput,
47
- IvsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: GetPlaybackKeyPairCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: IvsClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "IvsClient";
72
- const commandName = "GetPlaybackKeyPairCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: GetPlaybackKeyPairRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: GetPlaybackKeyPairResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: GetPlaybackKeyPairCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1GetPlaybackKeyPairCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetPlaybackKeyPairCommandOutput> {
93
- return deserializeAws_restJson1GetPlaybackKeyPairCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,97 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { GetRecordingConfigurationRequest, GetRecordingConfigurationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetRecordingConfigurationCommand,
5
- serializeAws_restJson1GetRecordingConfigurationCommand,
6
- } from "../protocols/Aws_restJson1";
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 GetRecordingConfigurationCommandInput extends GetRecordingConfigurationRequest {}
21
- export interface GetRecordingConfigurationCommandOutput extends GetRecordingConfigurationResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets the recording configuration for the specified ARN.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { IvsClient, GetRecordingConfigurationCommand } from "@aws-sdk/client-ivs"; // ES Modules import
29
- * // const { IvsClient, GetRecordingConfigurationCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
30
- * const client = new IvsClient(config);
31
- * const command = new GetRecordingConfigurationCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetRecordingConfigurationCommandInput} for command's `input` shape.
36
- * @see {@link GetRecordingConfigurationCommandOutput} for command's `response` shape.
37
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetRecordingConfigurationCommand extends $Command<
41
- GetRecordingConfigurationCommandInput,
42
- GetRecordingConfigurationCommandOutput,
43
- IvsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetRecordingConfigurationCommandInput) {
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: IvsClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetRecordingConfigurationCommandInput, GetRecordingConfigurationCommandOutput> {
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 = "IvsClient";
68
- const commandName = "GetRecordingConfigurationCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetRecordingConfigurationRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetRecordingConfigurationResponse.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: GetRecordingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetRecordingConfigurationCommand(input, context);
86
- }
87
-
88
- private deserialize(
89
- output: __HttpResponse,
90
- context: __SerdeContext
91
- ): Promise<GetRecordingConfigurationCommandOutput> {
92
- return deserializeAws_restJson1GetRecordingConfigurationCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,90 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { GetStreamRequest, GetStreamResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetStreamCommand,
5
- serializeAws_restJson1GetStreamCommand,
6
- } from "../protocols/Aws_restJson1";
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 GetStreamCommandInput extends GetStreamRequest {}
21
- export interface GetStreamCommandOutput extends GetStreamResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets information about the active (live) stream on a specified channel.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { IvsClient, GetStreamCommand } from "@aws-sdk/client-ivs"; // ES Modules import
29
- * // const { IvsClient, GetStreamCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
30
- * const client = new IvsClient(config);
31
- * const command = new GetStreamCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetStreamCommandInput} for command's `input` shape.
36
- * @see {@link GetStreamCommandOutput} for command's `response` shape.
37
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetStreamCommand extends $Command<GetStreamCommandInput, GetStreamCommandOutput, IvsClientResolvedConfig> {
41
- // Start section: command_properties
42
- // End section: command_properties
43
-
44
- constructor(readonly input: GetStreamCommandInput) {
45
- // Start section: command_constructor
46
- super();
47
- // End section: command_constructor
48
- }
49
-
50
- /**
51
- * @internal
52
- */
53
- resolveMiddleware(
54
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
55
- configuration: IvsClientResolvedConfig,
56
- options?: __HttpHandlerOptions
57
- ): Handler<GetStreamCommandInput, GetStreamCommandOutput> {
58
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
59
-
60
- const stack = clientStack.concat(this.middlewareStack);
61
-
62
- const { logger } = configuration;
63
- const clientName = "IvsClient";
64
- const commandName = "GetStreamCommand";
65
- const handlerExecutionContext: HandlerExecutionContext = {
66
- logger,
67
- clientName,
68
- commandName,
69
- inputFilterSensitiveLog: GetStreamRequest.filterSensitiveLog,
70
- outputFilterSensitiveLog: GetStreamResponse.filterSensitiveLog,
71
- };
72
- const { requestHandler } = configuration;
73
- return stack.resolve(
74
- (request: FinalizeHandlerArguments<any>) =>
75
- requestHandler.handle(request.request as __HttpRequest, options || {}),
76
- handlerExecutionContext
77
- );
78
- }
79
-
80
- private serialize(input: GetStreamCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
81
- return serializeAws_restJson1GetStreamCommand(input, context);
82
- }
83
-
84
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetStreamCommandOutput> {
85
- return deserializeAws_restJson1GetStreamCommand(output, context);
86
- }
87
-
88
- // Start section: command_body_extra
89
- // End section: command_body_extra
90
- }
@@ -1,94 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { GetStreamKeyRequest, GetStreamKeyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetStreamKeyCommand,
5
- serializeAws_restJson1GetStreamKeyCommand,
6
- } from "../protocols/Aws_restJson1";
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 GetStreamKeyCommandInput extends GetStreamKeyRequest {}
21
- export interface GetStreamKeyCommandOutput extends GetStreamKeyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets stream-key information for a specified ARN.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { IvsClient, GetStreamKeyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
29
- * // const { IvsClient, GetStreamKeyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
30
- * const client = new IvsClient(config);
31
- * const command = new GetStreamKeyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetStreamKeyCommandInput} for command's `input` shape.
36
- * @see {@link GetStreamKeyCommandOutput} for command's `response` shape.
37
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetStreamKeyCommand extends $Command<
41
- GetStreamKeyCommandInput,
42
- GetStreamKeyCommandOutput,
43
- IvsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetStreamKeyCommandInput) {
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: IvsClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetStreamKeyCommandInput, GetStreamKeyCommandOutput> {
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 = "IvsClient";
68
- const commandName = "GetStreamKeyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetStreamKeyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetStreamKeyResponse.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: GetStreamKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1GetStreamKeyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetStreamKeyCommandOutput> {
89
- return deserializeAws_restJson1GetStreamKeyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }