@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,94 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { BatchGetChannelRequest, BatchGetChannelResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1BatchGetChannelCommand,
5
- serializeAws_restJson1BatchGetChannelCommand,
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 BatchGetChannelCommandInput extends BatchGetChannelRequest {}
21
- export interface BatchGetChannelCommandOutput extends BatchGetChannelResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Performs <a>GetChannel</a> on multiple ARNs simultaneously.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { IvsClient, BatchGetChannelCommand } from "@aws-sdk/client-ivs"; // ES Modules import
29
- * // const { IvsClient, BatchGetChannelCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
30
- * const client = new IvsClient(config);
31
- * const command = new BatchGetChannelCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link BatchGetChannelCommandInput} for command's `input` shape.
36
- * @see {@link BatchGetChannelCommandOutput} for command's `response` shape.
37
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class BatchGetChannelCommand extends $Command<
41
- BatchGetChannelCommandInput,
42
- BatchGetChannelCommandOutput,
43
- IvsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: BatchGetChannelCommandInput) {
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<BatchGetChannelCommandInput, BatchGetChannelCommandOutput> {
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 = "BatchGetChannelCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: BatchGetChannelRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: BatchGetChannelResponse.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: BatchGetChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1BatchGetChannelCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchGetChannelCommandOutput> {
89
- return deserializeAws_restJson1BatchGetChannelCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { BatchGetStreamKeyRequest, BatchGetStreamKeyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1BatchGetStreamKeyCommand,
5
- serializeAws_restJson1BatchGetStreamKeyCommand,
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 BatchGetStreamKeyCommandInput extends BatchGetStreamKeyRequest {}
21
- export interface BatchGetStreamKeyCommandOutput extends BatchGetStreamKeyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Performs <a>GetStreamKey</a> on multiple ARNs simultaneously.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { IvsClient, BatchGetStreamKeyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
29
- * // const { IvsClient, BatchGetStreamKeyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
30
- * const client = new IvsClient(config);
31
- * const command = new BatchGetStreamKeyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link BatchGetStreamKeyCommandInput} for command's `input` shape.
36
- * @see {@link BatchGetStreamKeyCommandOutput} for command's `response` shape.
37
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class BatchGetStreamKeyCommand extends $Command<
41
- BatchGetStreamKeyCommandInput,
42
- BatchGetStreamKeyCommandOutput,
43
- IvsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: BatchGetStreamKeyCommandInput) {
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<BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput> {
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 = "BatchGetStreamKeyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: BatchGetStreamKeyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: BatchGetStreamKeyResponse.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: BatchGetStreamKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1BatchGetStreamKeyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchGetStreamKeyCommandOutput> {
89
- return deserializeAws_restJson1BatchGetStreamKeyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateChannelCommand,
5
- serializeAws_restJson1CreateChannelCommand,
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 CreateChannelCommandInput extends CreateChannelRequest {}
21
- export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a new channel and an associated stream key to start streaming.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { IvsClient, CreateChannelCommand } from "@aws-sdk/client-ivs"; // ES Modules import
29
- * // const { IvsClient, CreateChannelCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
30
- * const client = new IvsClient(config);
31
- * const command = new CreateChannelCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateChannelCommandInput} for command's `input` shape.
36
- * @see {@link CreateChannelCommandOutput} for command's `response` shape.
37
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateChannelCommand extends $Command<
41
- CreateChannelCommandInput,
42
- CreateChannelCommandOutput,
43
- IvsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateChannelCommandInput) {
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<CreateChannelCommandInput, CreateChannelCommandOutput> {
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 = "CreateChannelCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateChannelRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateChannelResponse.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: CreateChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1CreateChannelCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateChannelCommandOutput> {
89
- return deserializeAws_restJson1CreateChannelCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,110 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { CreateRecordingConfigurationRequest, CreateRecordingConfigurationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateRecordingConfigurationCommand,
5
- serializeAws_restJson1CreateRecordingConfigurationCommand,
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 CreateRecordingConfigurationCommandInput extends CreateRecordingConfigurationRequest {}
21
- export interface CreateRecordingConfigurationCommandOutput
22
- extends CreateRecordingConfigurationResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Creates a new recording configuration, used to enable recording to Amazon S3.</p>
27
- * <p>
28
- * <b>Known issue:</b> In the us-east-1 region, if you use the AWS
29
- * CLI to create a recording configuration, it returns success even if the S3 bucket is in a
30
- * different region. In this case, the <code>state</code> of the recording configuration is
31
- * <code>CREATE_FAILED</code> (instead of <code>ACTIVE</code>). (In other regions, the CLI
32
- * correctly returns failure if the bucket is in a different region.)</p>
33
- * <p>
34
- * <b>Workaround:</b> Ensure that your S3 bucket is in the same region as the recording
35
- * configuration. If you create a recording configuration in a different region as your S3
36
- * bucket, delete that recording configuration and create a new one with an S3 bucket from the
37
- * correct region.</p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { IvsClient, CreateRecordingConfigurationCommand } from "@aws-sdk/client-ivs"; // ES Modules import
42
- * // const { IvsClient, CreateRecordingConfigurationCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
43
- * const client = new IvsClient(config);
44
- * const command = new CreateRecordingConfigurationCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link CreateRecordingConfigurationCommandInput} for command's `input` shape.
49
- * @see {@link CreateRecordingConfigurationCommandOutput} for command's `response` shape.
50
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- export class CreateRecordingConfigurationCommand extends $Command<
54
- CreateRecordingConfigurationCommandInput,
55
- CreateRecordingConfigurationCommandOutput,
56
- IvsClientResolvedConfig
57
- > {
58
- // Start section: command_properties
59
- // End section: command_properties
60
-
61
- constructor(readonly input: CreateRecordingConfigurationCommandInput) {
62
- // Start section: command_constructor
63
- super();
64
- // End section: command_constructor
65
- }
66
-
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(
71
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
72
- configuration: IvsClientResolvedConfig,
73
- options?: __HttpHandlerOptions
74
- ): Handler<CreateRecordingConfigurationCommandInput, CreateRecordingConfigurationCommandOutput> {
75
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
76
-
77
- const stack = clientStack.concat(this.middlewareStack);
78
-
79
- const { logger } = configuration;
80
- const clientName = "IvsClient";
81
- const commandName = "CreateRecordingConfigurationCommand";
82
- const handlerExecutionContext: HandlerExecutionContext = {
83
- logger,
84
- clientName,
85
- commandName,
86
- inputFilterSensitiveLog: CreateRecordingConfigurationRequest.filterSensitiveLog,
87
- outputFilterSensitiveLog: CreateRecordingConfigurationResponse.filterSensitiveLog,
88
- };
89
- const { requestHandler } = configuration;
90
- return stack.resolve(
91
- (request: FinalizeHandlerArguments<any>) =>
92
- requestHandler.handle(request.request as __HttpRequest, options || {}),
93
- handlerExecutionContext
94
- );
95
- }
96
-
97
- private serialize(input: CreateRecordingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
98
- return serializeAws_restJson1CreateRecordingConfigurationCommand(input, context);
99
- }
100
-
101
- private deserialize(
102
- output: __HttpResponse,
103
- context: __SerdeContext
104
- ): Promise<CreateRecordingConfigurationCommandOutput> {
105
- return deserializeAws_restJson1CreateRecordingConfigurationCommand(output, context);
106
- }
107
-
108
- // Start section: command_body_extra
109
- // End section: command_body_extra
110
- }
@@ -1,97 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { CreateStreamKeyRequest, CreateStreamKeyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateStreamKeyCommand,
5
- serializeAws_restJson1CreateStreamKeyCommand,
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 CreateStreamKeyCommandInput extends CreateStreamKeyRequest {}
21
- export interface CreateStreamKeyCommandOutput extends CreateStreamKeyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a stream key, used to initiate a stream, for the specified channel ARN.</p>
25
- * <p>Note that <a>CreateChannel</a> creates a stream key. If you subsequently use
26
- * CreateStreamKey on the same channel, it will fail because a stream key already exists and
27
- * there is a limit of 1 stream key per channel. To reset the stream key on a channel, use <a>DeleteStreamKey</a> and then CreateStreamKey.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { IvsClient, CreateStreamKeyCommand } from "@aws-sdk/client-ivs"; // ES Modules import
32
- * // const { IvsClient, CreateStreamKeyCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
33
- * const client = new IvsClient(config);
34
- * const command = new CreateStreamKeyCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link CreateStreamKeyCommandInput} for command's `input` shape.
39
- * @see {@link CreateStreamKeyCommandOutput} for command's `response` shape.
40
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class CreateStreamKeyCommand extends $Command<
44
- CreateStreamKeyCommandInput,
45
- CreateStreamKeyCommandOutput,
46
- IvsClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: CreateStreamKeyCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: IvsClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<CreateStreamKeyCommandInput, CreateStreamKeyCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "IvsClient";
71
- const commandName = "CreateStreamKeyCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: CreateStreamKeyRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: CreateStreamKeyResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: CreateStreamKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1CreateStreamKeyCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateStreamKeyCommandOutput> {
92
- return deserializeAws_restJson1CreateStreamKeyCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,98 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { DeleteChannelRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteChannelCommand,
5
- serializeAws_restJson1DeleteChannelCommand,
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 DeleteChannelCommandInput extends DeleteChannelRequest {}
21
- export interface DeleteChannelCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified channel and its associated stream keys.</p>
25
- * <p>If you try to delete a live channel, you will get an error (409 ConflictException). To
26
- * delete a channel that is live, call <a>StopStream</a>, wait for the Amazon
27
- * EventBridge "Stream End" event (to verify that the stream's state was changed from Live to
28
- * Offline), then call DeleteChannel. (See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html"> Using EventBridge with Amazon IVS</a>.) </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { IvsClient, DeleteChannelCommand } from "@aws-sdk/client-ivs"; // ES Modules import
33
- * // const { IvsClient, DeleteChannelCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
34
- * const client = new IvsClient(config);
35
- * const command = new DeleteChannelCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DeleteChannelCommandInput} for command's `input` shape.
40
- * @see {@link DeleteChannelCommandOutput} for command's `response` shape.
41
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DeleteChannelCommand extends $Command<
45
- DeleteChannelCommandInput,
46
- DeleteChannelCommandOutput,
47
- IvsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DeleteChannelCommandInput) {
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<DeleteChannelCommandInput, DeleteChannelCommandOutput> {
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 = "DeleteChannelCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DeleteChannelRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: (output: any) => output,
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: DeleteChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1DeleteChannelCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteChannelCommandOutput> {
93
- return deserializeAws_restJson1DeleteChannelCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,96 +0,0 @@
1
- import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
2
- import { DeletePlaybackKeyPairRequest, DeletePlaybackKeyPairResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeletePlaybackKeyPairCommand,
5
- serializeAws_restJson1DeletePlaybackKeyPairCommand,
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 DeletePlaybackKeyPairCommandInput extends DeletePlaybackKeyPairRequest {}
21
- export interface DeletePlaybackKeyPairCommandOutput extends DeletePlaybackKeyPairResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a specified authorization key pair. This invalidates future viewer tokens
25
- * generated using the key pair’s <code>privateKey</code>. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private
26
- * Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { IvsClient, DeletePlaybackKeyPairCommand } from "@aws-sdk/client-ivs"; // ES Modules import
31
- * // const { IvsClient, DeletePlaybackKeyPairCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
32
- * const client = new IvsClient(config);
33
- * const command = new DeletePlaybackKeyPairCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeletePlaybackKeyPairCommandInput} for command's `input` shape.
38
- * @see {@link DeletePlaybackKeyPairCommandOutput} for command's `response` shape.
39
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeletePlaybackKeyPairCommand extends $Command<
43
- DeletePlaybackKeyPairCommandInput,
44
- DeletePlaybackKeyPairCommandOutput,
45
- IvsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeletePlaybackKeyPairCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: IvsClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DeletePlaybackKeyPairCommandInput, DeletePlaybackKeyPairCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "IvsClient";
70
- const commandName = "DeletePlaybackKeyPairCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeletePlaybackKeyPairRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeletePlaybackKeyPairResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DeletePlaybackKeyPairCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DeletePlaybackKeyPairCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePlaybackKeyPairCommandOutput> {
91
- return deserializeAws_restJson1DeletePlaybackKeyPairCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }