@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
package/IvsClient.ts DELETED
@@ -1,696 +0,0 @@
1
- import { BatchGetChannelCommandInput, BatchGetChannelCommandOutput } from "./commands/BatchGetChannelCommand";
2
- import { BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput } from "./commands/BatchGetStreamKeyCommand";
3
- import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
4
- import {
5
- CreateRecordingConfigurationCommandInput,
6
- CreateRecordingConfigurationCommandOutput,
7
- } from "./commands/CreateRecordingConfigurationCommand";
8
- import { CreateStreamKeyCommandInput, CreateStreamKeyCommandOutput } from "./commands/CreateStreamKeyCommand";
9
- import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
10
- import {
11
- DeletePlaybackKeyPairCommandInput,
12
- DeletePlaybackKeyPairCommandOutput,
13
- } from "./commands/DeletePlaybackKeyPairCommand";
14
- import {
15
- DeleteRecordingConfigurationCommandInput,
16
- DeleteRecordingConfigurationCommandOutput,
17
- } from "./commands/DeleteRecordingConfigurationCommand";
18
- import { DeleteStreamKeyCommandInput, DeleteStreamKeyCommandOutput } from "./commands/DeleteStreamKeyCommand";
19
- import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
20
- import { GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput } from "./commands/GetPlaybackKeyPairCommand";
21
- import {
22
- GetRecordingConfigurationCommandInput,
23
- GetRecordingConfigurationCommandOutput,
24
- } from "./commands/GetRecordingConfigurationCommand";
25
- import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
26
- import { GetStreamKeyCommandInput, GetStreamKeyCommandOutput } from "./commands/GetStreamKeyCommand";
27
- import {
28
- ImportPlaybackKeyPairCommandInput,
29
- ImportPlaybackKeyPairCommandOutput,
30
- } from "./commands/ImportPlaybackKeyPairCommand";
31
- import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
32
- import {
33
- ListPlaybackKeyPairsCommandInput,
34
- ListPlaybackKeyPairsCommandOutput,
35
- } from "./commands/ListPlaybackKeyPairsCommand";
36
- import {
37
- ListRecordingConfigurationsCommandInput,
38
- ListRecordingConfigurationsCommandOutput,
39
- } from "./commands/ListRecordingConfigurationsCommand";
40
- import { ListStreamKeysCommandInput, ListStreamKeysCommandOutput } from "./commands/ListStreamKeysCommand";
41
- import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
42
- import {
43
- ListTagsForResourceCommandInput,
44
- ListTagsForResourceCommandOutput,
45
- } from "./commands/ListTagsForResourceCommand";
46
- import { PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand";
47
- import { StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
48
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
49
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
50
- import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
51
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
52
- import {
53
- EndpointsInputConfig,
54
- EndpointsResolvedConfig,
55
- RegionInputConfig,
56
- RegionResolvedConfig,
57
- resolveEndpointsConfig,
58
- resolveRegionConfig,
59
- } from "@aws-sdk/config-resolver";
60
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
61
- import {
62
- HostHeaderInputConfig,
63
- HostHeaderResolvedConfig,
64
- getHostHeaderPlugin,
65
- resolveHostHeaderConfig,
66
- } from "@aws-sdk/middleware-host-header";
67
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
68
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
69
- import {
70
- AwsAuthInputConfig,
71
- AwsAuthResolvedConfig,
72
- getAwsAuthPlugin,
73
- resolveAwsAuthConfig,
74
- } from "@aws-sdk/middleware-signing";
75
- import {
76
- UserAgentInputConfig,
77
- UserAgentResolvedConfig,
78
- getUserAgentPlugin,
79
- resolveUserAgentConfig,
80
- } from "@aws-sdk/middleware-user-agent";
81
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
82
- import {
83
- Client as __Client,
84
- SmithyConfiguration as __SmithyConfiguration,
85
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
86
- } from "@aws-sdk/smithy-client";
87
- import {
88
- Provider,
89
- RegionInfoProvider,
90
- Credentials as __Credentials,
91
- Decoder as __Decoder,
92
- Encoder as __Encoder,
93
- Hash as __Hash,
94
- HashConstructor as __HashConstructor,
95
- HttpHandlerOptions as __HttpHandlerOptions,
96
- Logger as __Logger,
97
- Provider as __Provider,
98
- StreamCollector as __StreamCollector,
99
- UrlParser as __UrlParser,
100
- UserAgent as __UserAgent,
101
- } from "@aws-sdk/types";
102
-
103
- export type ServiceInputTypes =
104
- | BatchGetChannelCommandInput
105
- | BatchGetStreamKeyCommandInput
106
- | CreateChannelCommandInput
107
- | CreateRecordingConfigurationCommandInput
108
- | CreateStreamKeyCommandInput
109
- | DeleteChannelCommandInput
110
- | DeletePlaybackKeyPairCommandInput
111
- | DeleteRecordingConfigurationCommandInput
112
- | DeleteStreamKeyCommandInput
113
- | GetChannelCommandInput
114
- | GetPlaybackKeyPairCommandInput
115
- | GetRecordingConfigurationCommandInput
116
- | GetStreamCommandInput
117
- | GetStreamKeyCommandInput
118
- | ImportPlaybackKeyPairCommandInput
119
- | ListChannelsCommandInput
120
- | ListPlaybackKeyPairsCommandInput
121
- | ListRecordingConfigurationsCommandInput
122
- | ListStreamKeysCommandInput
123
- | ListStreamsCommandInput
124
- | ListTagsForResourceCommandInput
125
- | PutMetadataCommandInput
126
- | StopStreamCommandInput
127
- | TagResourceCommandInput
128
- | UntagResourceCommandInput
129
- | UpdateChannelCommandInput;
130
-
131
- export type ServiceOutputTypes =
132
- | BatchGetChannelCommandOutput
133
- | BatchGetStreamKeyCommandOutput
134
- | CreateChannelCommandOutput
135
- | CreateRecordingConfigurationCommandOutput
136
- | CreateStreamKeyCommandOutput
137
- | DeleteChannelCommandOutput
138
- | DeletePlaybackKeyPairCommandOutput
139
- | DeleteRecordingConfigurationCommandOutput
140
- | DeleteStreamKeyCommandOutput
141
- | GetChannelCommandOutput
142
- | GetPlaybackKeyPairCommandOutput
143
- | GetRecordingConfigurationCommandOutput
144
- | GetStreamCommandOutput
145
- | GetStreamKeyCommandOutput
146
- | ImportPlaybackKeyPairCommandOutput
147
- | ListChannelsCommandOutput
148
- | ListPlaybackKeyPairsCommandOutput
149
- | ListRecordingConfigurationsCommandOutput
150
- | ListStreamKeysCommandOutput
151
- | ListStreamsCommandOutput
152
- | ListTagsForResourceCommandOutput
153
- | PutMetadataCommandOutput
154
- | StopStreamCommandOutput
155
- | TagResourceCommandOutput
156
- | UntagResourceCommandOutput
157
- | UpdateChannelCommandOutput;
158
-
159
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
160
- /**
161
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
162
- */
163
- requestHandler?: __HttpHandler;
164
-
165
- /**
166
- * A constructor for a class implementing the {@link __Hash} interface
167
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
168
- * @internal
169
- */
170
- sha256?: __HashConstructor;
171
-
172
- /**
173
- * The function that will be used to convert strings into HTTP endpoints.
174
- * @internal
175
- */
176
- urlParser?: __UrlParser;
177
-
178
- /**
179
- * A function that can calculate the length of a request body.
180
- * @internal
181
- */
182
- bodyLengthChecker?: (body: any) => number | undefined;
183
-
184
- /**
185
- * A function that converts a stream into an array of bytes.
186
- * @internal
187
- */
188
- streamCollector?: __StreamCollector;
189
-
190
- /**
191
- * The function that will be used to convert a base64-encoded string to a byte array.
192
- * @internal
193
- */
194
- base64Decoder?: __Decoder;
195
-
196
- /**
197
- * The function that will be used to convert binary data to a base64-encoded string.
198
- * @internal
199
- */
200
- base64Encoder?: __Encoder;
201
-
202
- /**
203
- * The function that will be used to convert a UTF8-encoded string to a byte array.
204
- * @internal
205
- */
206
- utf8Decoder?: __Decoder;
207
-
208
- /**
209
- * The function that will be used to convert binary data to a UTF-8 encoded string.
210
- * @internal
211
- */
212
- utf8Encoder?: __Encoder;
213
-
214
- /**
215
- * The runtime environment.
216
- * @internal
217
- */
218
- runtime?: string;
219
-
220
- /**
221
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
222
- * trait of an operation.
223
- */
224
- disableHostPrefix?: boolean;
225
-
226
- /**
227
- * Value for how many times a request will be made at most in case of retry.
228
- */
229
- maxAttempts?: number | __Provider<number>;
230
-
231
- /**
232
- * Specifies which retry algorithm to use.
233
- */
234
- retryMode?: string | __Provider<string>;
235
-
236
- /**
237
- * Optional logger for logging debug/info/warn/error.
238
- */
239
- logger?: __Logger;
240
-
241
- /**
242
- * Unique service identifier.
243
- * @internal
244
- */
245
- serviceId?: string;
246
-
247
- /**
248
- * The AWS region to which this client will send requests
249
- */
250
- region?: string | __Provider<string>;
251
-
252
- /**
253
- * Default credentials provider; Not available in browser runtime.
254
- * @internal
255
- */
256
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
257
-
258
- /**
259
- * Fetch related hostname, signing name or signing region with given region.
260
- * @internal
261
- */
262
- regionInfoProvider?: RegionInfoProvider;
263
-
264
- /**
265
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
266
- * @internal
267
- */
268
- defaultUserAgentProvider?: Provider<__UserAgent>;
269
- }
270
-
271
- type IvsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
272
- ClientDefaults &
273
- RegionInputConfig &
274
- EndpointsInputConfig &
275
- RetryInputConfig &
276
- HostHeaderInputConfig &
277
- AwsAuthInputConfig &
278
- UserAgentInputConfig;
279
- /**
280
- * The configuration interface of IvsClient class constructor that set the region, credentials and other options.
281
- */
282
- export interface IvsClientConfig extends IvsClientConfigType {}
283
-
284
- type IvsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
285
- Required<ClientDefaults> &
286
- RegionResolvedConfig &
287
- EndpointsResolvedConfig &
288
- RetryResolvedConfig &
289
- HostHeaderResolvedConfig &
290
- AwsAuthResolvedConfig &
291
- UserAgentResolvedConfig;
292
- /**
293
- * The resolved configuration interface of IvsClient class. This is resolved and normalized from the {@link IvsClientConfig | constructor configuration interface}.
294
- */
295
- export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {}
296
-
297
- /**
298
- * <p>
299
- * <b>Introduction</b>
300
- * </p>
301
- *
302
- * <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
303
- * API and an AWS EventBridge event stream for responses. JSON is used for both requests and
304
- * responses, including errors.</p>
305
- *
306
- * <p>The API is an AWS regional service, currently in these regions: us-west-2, us-east-1, and
307
- * eu-west-1.</p>
308
- * <p>
309
- * <i>
310
- * <b>All API request parameters and URLs are case sensitive.
311
- * </b>
312
- * </i>
313
- * </p>
314
- *
315
- * <p>For a summary of notable documentation changes in each release, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html"> Document
316
- * History</a>.</p>
317
- *
318
- * <p>
319
- * <b>Service Endpoints</b>
320
- * </p>
321
- * <p>The following are the Amazon IVS service endpoints (all HTTPS): </p>
322
- * <p>Region name: US West (Oregon)</p>
323
- * <ul>
324
- * <li>
325
- * <p>Region: <code>us-west-2</code>
326
- * </p>
327
- * </li>
328
- * <li>
329
- * <p>Endpoint: <code>ivs.us-west-2.amazonaws.com</code>
330
- * </p>
331
- * </li>
332
- * </ul>
333
- * <p>Region name: US East (Virginia)</p>
334
- * <ul>
335
- * <li>
336
- * <p>Region: <code>us-east-1</code>
337
- * </p>
338
- * </li>
339
- * <li>
340
- * <p>Endpoint: <code>ivs.us-east-1.amazonaws.com</code>
341
- * </p>
342
- * </li>
343
- * </ul>
344
- * <p>Region name: EU West (Dublin)</p>
345
- * <ul>
346
- * <li>
347
- * <p>Region: <code>eu-west-1</code>
348
- * </p>
349
- * </li>
350
- * <li>
351
- * <p>Endpoint: <code>ivs.eu-west-1.amazonaws.com</code>
352
- * </p>
353
- * </li>
354
- * </ul>
355
- *
356
- * <p>
357
- * <b>Allowed Header Values</b>
358
- * </p>
359
- *
360
- * <ul>
361
- * <li>
362
- * <p>
363
- * <code>
364
- * <b>Accept:</b>
365
- * </code> application/json</p>
366
- * </li>
367
- * <li>
368
- * <p>
369
- * <code>
370
- * <b>Accept-Encoding:</b>
371
- * </code> gzip, deflate</p>
372
- * </li>
373
- * <li>
374
- * <p>
375
- * <code>
376
- * <b>Content-Type:</b>
377
- * </code>application/json</p>
378
- * </li>
379
- * </ul>
380
- *
381
- * <p>
382
- * <b>Resources</b>
383
- * </p>
384
- * <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with Amazon
385
- * IVS</a>):</p>
386
- *
387
- * <ul>
388
- * <li>
389
- * <p>Channel — Stores configuration data related to your live stream. You first create a
390
- * channel and then use the channel’s stream key to start your live stream. See the Channel
391
- * endpoints for more information. </p>
392
- * </li>
393
- * <li>
394
- * <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is
395
- * then used to authorize streaming. See the StreamKey endpoints for more information.
396
- * <i>
397
- * <b>Treat the stream key like a secret, since it allows
398
- * anyone to stream to the channel.</b>
399
- * </i>
400
- * </p>
401
- * </li>
402
- * <li>
403
- * <p>Playback key pair — Video playback may be restricted using playback-authorization
404
- * tokens, which use public-key encryption. A playback key pair is the public-private pair of
405
- * keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair
406
- * endpoints for more information.</p>
407
- * </li>
408
- * <li>
409
- * <p>Recording configuration — Stores configuration related to recording a live stream and
410
- * where to store the recorded content. Multiple channels can reference the same recording
411
- * configuration. See the Recording Configuration endpoints for more information.</p>
412
- * </li>
413
- * </ul>
414
- *
415
- *
416
- *
417
- * <p>
418
- * <b>Tagging</b>
419
- * </p>
420
- *
421
- * <p>A <i>tag</i> is a metadata label that you assign to an AWS resource. A tag
422
- * comprises a <i>key</i> and a <i>value</i>, both set by you. For
423
- * example, you might set a tag as <code>topic:nature</code> to label a particular video
424
- * category. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
425
- * Resources</a> for more information, including restrictions that apply to tags.</p>
426
- *
427
- * <p>Tags can help you identify and organize your AWS resources. For example, you can use the
428
- * same tag for different resources to indicate that they are related. You can also use tags to
429
- * manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">
430
- * Access Tags</a>). </p>
431
- *
432
- * <p>The Amazon IVS API has these tag-related endpoints: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
433
- * resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
434
- * Configurations.</p>
435
- *
436
- * <p>
437
- * <b>Authentication versus Authorization</b>
438
- * </p>
439
- * <p>Note the differences between these concepts:</p>
440
- * <ul>
441
- * <li>
442
- * <p>
443
- * <i>Authentication</i> is about verifying identity. You need to be authenticated to sign Amazon IVS
444
- * API requests.</p>
445
- * </li>
446
- * <li>
447
- * <p>
448
- * <i>Authorization</i> is about granting permissions. You need to be authorized to
449
- * view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>. (Private channels are channels that are enabled for
450
- * "playback authorization.")</p>
451
- * </li>
452
- * </ul>
453
- *
454
- * <p>
455
- * <b>Authentication</b>
456
- * </p>
457
- * <p>All Amazon IVS API requests must be authenticated with a signature. The AWS Command-Line
458
- * Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for
459
- * you. However, if your application calls the Amazon IVS API directly, it’s your responsibility
460
- * to sign the requests.</p>
461
- * <p>You generate a signature using valid AWS credentials that have permission to perform the
462
- * requested action. For example, you must sign PutMetadata requests with a signature generated
463
- * from an IAM user account that has the <code>ivs:PutMetadata</code> permission.</p>
464
- * <p>For more information:</p>
465
- * <ul>
466
- * <li>
467
- * <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (AWS Signature Version
468
- * 4)</a> in the <i>AWS General Reference</i>.</p>
469
- * </li>
470
- * <li>
471
- * <p>Managing Amazon IVS permissions — See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html">Identity and Access Management</a> on the Security page of
472
- * the <i>Amazon IVS User Guide</i>.</p>
473
- * </li>
474
- * </ul>
475
- *
476
- *
477
- * <p>
478
- * <b>Channel Endpoints</b>
479
- * </p>
480
- * <ul>
481
- * <li>
482
- * <p>
483
- * <a>CreateChannel</a> — Creates a new channel and an associated stream
484
- * key to start streaming.</p>
485
- * </li>
486
- * <li>
487
- * <p>
488
- * <a>GetChannel</a> — Gets the channel configuration for the specified
489
- * channel ARN (Amazon Resource Name).</p>
490
- * </li>
491
- * <li>
492
- * <p>
493
- * <a>BatchGetChannel</a> — Performs <a>GetChannel</a> on
494
- * multiple ARNs simultaneously.</p>
495
- * </li>
496
- * <li>
497
- * <p>
498
- * <a>ListChannels</a> — Gets summary information about all channels in
499
- * your account, in the AWS region where the API request is processed. This list can be
500
- * filtered to match a specified name or recording-configuration ARN. Filters are mutually
501
- * exclusive and cannot be used together. If you try to use both filters, you will get an
502
- * error (409 Conflict Exception).</p>
503
- * </li>
504
- * <li>
505
- * <p>
506
- * <a>UpdateChannel</a> — Updates a channel's configuration. This does
507
- * not affect an ongoing stream of this channel. You must stop and restart the stream for the
508
- * changes to take effect.</p>
509
- * </li>
510
- * <li>
511
- * <p>
512
- * <a>DeleteChannel</a> — Deletes the specified channel.</p>
513
- * </li>
514
- * </ul>
515
- *
516
- * <p>
517
- * <b>StreamKey Endpoints</b>
518
- * </p>
519
- * <ul>
520
- * <li>
521
- * <p>
522
- * <a>CreateStreamKey</a> — Creates a stream key, used to initiate a
523
- * stream, for the specified channel ARN.</p>
524
- * </li>
525
- * <li>
526
- * <p>
527
- * <a>GetStreamKey</a> — Gets stream key information for the specified
528
- * ARN.</p>
529
- * </li>
530
- * <li>
531
- * <p>
532
- * <a>BatchGetStreamKey</a> — Performs <a>GetStreamKey</a> on
533
- * multiple ARNs simultaneously.</p>
534
- * </li>
535
- * <li>
536
- * <p>
537
- * <a>ListStreamKeys</a> — Gets summary information about stream keys
538
- * for the specified channel.</p>
539
- * </li>
540
- * <li>
541
- * <p>
542
- * <a>DeleteStreamKey</a> — Deletes the stream key for the specified
543
- * ARN, so it can no longer be used to stream.</p>
544
- * </li>
545
- * </ul>
546
- *
547
- *
548
- * <p>
549
- * <b>Stream Endpoints</b>
550
- * </p>
551
- * <ul>
552
- * <li>
553
- * <p>
554
- * <a>GetStream</a> — Gets information about the active (live) stream on
555
- * a specified channel.</p>
556
- * </li>
557
- * <li>
558
- * <p>
559
- * <a>ListStreams</a> — Gets summary information about live streams in
560
- * your account, in the AWS region where the API request is processed.</p>
561
- * </li>
562
- * <li>
563
- * <p>
564
- * <a>StopStream</a> — Disconnects the incoming RTMPS stream for the
565
- * specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to
566
- * prevent further streaming to a channel.</p>
567
- * </li>
568
- * <li>
569
- * <p>
570
- * <a>PutMetadata</a> — Inserts metadata into the active stream of the
571
- * specified channel. A maximum of 5 requests per second per channel is allowed, each with a
572
- * maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching
573
- * your data into a single PutMetadata call.)</p>
574
- * </li>
575
- * </ul>
576
- *
577
- * <p>
578
- * <b>PlaybackKeyPair Endpoints</b>
579
- * </p>
580
- * <p>For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the
581
- * <i>Amazon IVS User Guide</i>.</p>
582
- * <ul>
583
- * <li>
584
- * <p>
585
- * <a>ImportPlaybackKeyPair</a> — Imports the public portion of a new
586
- * key pair and returns its <code>arn</code> and <code>fingerprint</code>. The
587
- * <code>privateKey</code> can then be used to generate viewer authorization tokens, to
588
- * grant viewers access to private channels (channels enabled for playback
589
- * authorization).</p>
590
- * </li>
591
- * <li>
592
- * <p>
593
- * <a>GetPlaybackKeyPair</a> — Gets a specified playback authorization
594
- * key pair and returns the <code>arn</code> and <code>fingerprint</code>. The
595
- * <code>privateKey</code> held by the caller can be used to generate viewer authorization
596
- * tokens, to grant viewers access to private channels.</p>
597
- * </li>
598
- * <li>
599
- * <p>
600
- * <a>ListPlaybackKeyPairs</a> — Gets summary information about playback
601
- * key pairs.</p>
602
- * </li>
603
- * <li>
604
- * <p>
605
- * <a>DeletePlaybackKeyPair</a> — Deletes a specified authorization key
606
- * pair. This invalidates future viewer tokens generated using the key pair’s
607
- * <code>privateKey</code>.</p>
608
- * </li>
609
- * </ul>
610
- *
611
- * <p>
612
- * <b>RecordingConfiguration Endpoints</b>
613
- * </p>
614
- * <ul>
615
- * <li>
616
- * <p>
617
- * <a>CreateRecordingConfiguration</a> — Creates a new recording configuration,
618
- * used to enable recording to Amazon S3.</p>
619
- * </li>
620
- * <li>
621
- * <p>
622
- * <a>GetRecordingConfiguration</a> — Gets the recording-configuration metadata
623
- * for the specified ARN.</p>
624
- * </li>
625
- * <li>
626
- * <p>
627
- * <a>ListRecordingConfigurations</a> — Gets summary information about all
628
- * recording configurations in your account, in the AWS region where the API request is
629
- * processed.</p>
630
- * </li>
631
- * <li>
632
- * <p>
633
- * <a>DeleteRecordingConfiguration</a> — Deletes the recording
634
- * configuration for the specified ARN.</p>
635
- * </li>
636
- * </ul>
637
- *
638
- * <p>
639
- * <b>AWS Tags Endpoints</b>
640
- * </p>
641
- * <ul>
642
- * <li>
643
- * <p>
644
- * <a>TagResource</a> — Adds or updates tags for the AWS resource with
645
- * the specified ARN.</p>
646
- * </li>
647
- * <li>
648
- * <p>
649
- * <a>UntagResource</a> — Removes tags from the resource with the
650
- * specified ARN.</p>
651
- * </li>
652
- * <li>
653
- * <p>
654
- * <a>ListTagsForResource</a> — Gets information about AWS tags for the
655
- * specified ARN.</p>
656
- * </li>
657
- * </ul>
658
- */
659
- export class IvsClient extends __Client<
660
- __HttpHandlerOptions,
661
- ServiceInputTypes,
662
- ServiceOutputTypes,
663
- IvsClientResolvedConfig
664
- > {
665
- /**
666
- * The resolved configuration of IvsClient class. This is resolved and normalized from the {@link IvsClientConfig | constructor configuration interface}.
667
- */
668
- readonly config: IvsClientResolvedConfig;
669
-
670
- constructor(configuration: IvsClientConfig) {
671
- let _config_0 = __getRuntimeConfig(configuration);
672
- let _config_1 = resolveRegionConfig(_config_0);
673
- let _config_2 = resolveEndpointsConfig(_config_1);
674
- let _config_3 = resolveRetryConfig(_config_2);
675
- let _config_4 = resolveHostHeaderConfig(_config_3);
676
- let _config_5 = resolveAwsAuthConfig(_config_4);
677
- let _config_6 = resolveUserAgentConfig(_config_5);
678
- super(_config_6);
679
- this.config = _config_6;
680
- this.middlewareStack.use(getRetryPlugin(this.config));
681
- this.middlewareStack.use(getContentLengthPlugin(this.config));
682
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
683
- this.middlewareStack.use(getLoggerPlugin(this.config));
684
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
685
- this.middlewareStack.use(getUserAgentPlugin(this.config));
686
- }
687
-
688
- /**
689
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
690
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
691
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
692
- */
693
- destroy(): void {
694
- super.destroy();
695
- }
696
- }