@aws-sdk/client-ivs 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +54 -107
  3. package/dist-cjs/Ivs.js +0 -363
  4. package/dist-cjs/IvsClient.js +0 -368
  5. package/dist-cjs/commands/BatchGetChannelCommand.js +0 -25
  6. package/dist-cjs/commands/BatchGetStreamKeyCommand.js +0 -25
  7. package/dist-cjs/commands/CreateChannelCommand.js +0 -25
  8. package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +0 -36
  9. package/dist-cjs/commands/CreateStreamKeyCommand.js +0 -28
  10. package/dist-cjs/commands/DeleteChannelCommand.js +0 -29
  11. package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +0 -27
  12. package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +0 -30
  13. package/dist-cjs/commands/DeleteStreamKeyCommand.js +0 -26
  14. package/dist-cjs/commands/GetChannelCommand.js +0 -25
  15. package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +0 -29
  16. package/dist-cjs/commands/GetRecordingConfigurationCommand.js +0 -25
  17. package/dist-cjs/commands/GetStreamCommand.js +0 -25
  18. package/dist-cjs/commands/GetStreamKeyCommand.js +0 -25
  19. package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +0 -29
  20. package/dist-cjs/commands/ListChannelsCommand.js +0 -28
  21. package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +0 -26
  22. package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +0 -26
  23. package/dist-cjs/commands/ListStreamKeysCommand.js +0 -25
  24. package/dist-cjs/commands/ListStreamsCommand.js +0 -26
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  26. package/dist-cjs/commands/PutMetadataCommand.js +0 -31
  27. package/dist-cjs/commands/StopStreamCommand.js +0 -32
  28. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  29. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  30. package/dist-cjs/commands/UpdateChannelCommand.js +0 -26
  31. package/dist-cjs/commands/index.js +29 -0
  32. package/dist-cjs/endpoints.js +1 -2
  33. package/dist-cjs/index.js +4 -36
  34. package/dist-cjs/models/index.js +0 -1
  35. package/dist-cjs/models/models_0.js +7 -214
  36. package/dist-cjs/pagination/Interfaces.js +0 -1
  37. package/dist-cjs/pagination/ListChannelsPaginator.js +0 -11
  38. package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js +0 -11
  39. package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js +0 -11
  40. package/dist-cjs/pagination/ListStreamKeysPaginator.js +0 -11
  41. package/dist-cjs/pagination/ListStreamsPaginator.js +0 -11
  42. package/dist-cjs/pagination/index.js +9 -0
  43. package/dist-cjs/protocols/Aws_restJson1.js +1 -17
  44. package/dist-cjs/runtimeConfig.browser.js +1 -6
  45. package/dist-cjs/runtimeConfig.js +2 -7
  46. package/dist-cjs/runtimeConfig.native.js +0 -4
  47. package/dist-cjs/runtimeConfig.shared.js +0 -4
  48. package/dist-es/Ivs.js +0 -1
  49. package/dist-es/IvsClient.js +0 -1
  50. package/dist-es/commands/BatchGetChannelCommand.js +0 -1
  51. package/dist-es/commands/BatchGetStreamKeyCommand.js +0 -1
  52. package/dist-es/commands/CreateChannelCommand.js +0 -1
  53. package/dist-es/commands/CreateRecordingConfigurationCommand.js +0 -1
  54. package/dist-es/commands/CreateStreamKeyCommand.js +0 -1
  55. package/dist-es/commands/DeleteChannelCommand.js +0 -1
  56. package/dist-es/commands/DeletePlaybackKeyPairCommand.js +0 -1
  57. package/dist-es/commands/DeleteRecordingConfigurationCommand.js +0 -1
  58. package/dist-es/commands/DeleteStreamKeyCommand.js +0 -1
  59. package/dist-es/commands/GetChannelCommand.js +0 -1
  60. package/dist-es/commands/GetPlaybackKeyPairCommand.js +0 -1
  61. package/dist-es/commands/GetRecordingConfigurationCommand.js +0 -1
  62. package/dist-es/commands/GetStreamCommand.js +0 -1
  63. package/dist-es/commands/GetStreamKeyCommand.js +0 -1
  64. package/dist-es/commands/ImportPlaybackKeyPairCommand.js +0 -1
  65. package/dist-es/commands/ListChannelsCommand.js +0 -1
  66. package/dist-es/commands/ListPlaybackKeyPairsCommand.js +0 -1
  67. package/dist-es/commands/ListRecordingConfigurationsCommand.js +0 -1
  68. package/dist-es/commands/ListStreamKeysCommand.js +0 -1
  69. package/dist-es/commands/ListStreamsCommand.js +0 -1
  70. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  71. package/dist-es/commands/PutMetadataCommand.js +0 -1
  72. package/dist-es/commands/StopStreamCommand.js +0 -1
  73. package/dist-es/commands/TagResourceCommand.js +0 -1
  74. package/dist-es/commands/UntagResourceCommand.js +0 -1
  75. package/dist-es/commands/UpdateChannelCommand.js +0 -1
  76. package/dist-es/commands/index.js +26 -0
  77. package/dist-es/endpoints.js +1 -2
  78. package/dist-es/index.js +4 -36
  79. package/dist-es/models/index.js +0 -1
  80. package/dist-es/models/models_0.js +7 -7
  81. package/dist-es/pagination/Interfaces.js +0 -1
  82. package/dist-es/pagination/ListChannelsPaginator.js +0 -1
  83. package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js +0 -1
  84. package/dist-es/pagination/ListRecordingConfigurationsPaginator.js +0 -1
  85. package/dist-es/pagination/ListStreamKeysPaginator.js +0 -1
  86. package/dist-es/pagination/ListStreamsPaginator.js +0 -1
  87. package/dist-es/pagination/index.js +6 -0
  88. package/dist-es/protocols/Aws_restJson1.js +1 -9
  89. package/dist-es/runtimeConfig.browser.js +1 -2
  90. package/dist-es/runtimeConfig.js +2 -3
  91. package/dist-es/runtimeConfig.native.js +0 -1
  92. package/dist-es/runtimeConfig.shared.js +0 -1
  93. package/dist-types/Ivs.d.ts +65 -124
  94. package/dist-types/IvsClient.d.ts +54 -111
  95. package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +1 -1
  96. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  97. package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +1 -1
  98. package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
  99. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  100. package/dist-types/commands/PutMetadataCommand.d.ts +5 -7
  101. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  102. package/dist-types/commands/index.d.ts +26 -0
  103. package/dist-types/index.d.ts +4 -35
  104. package/dist-types/models/models_0.d.ts +92 -60
  105. package/dist-types/pagination/index.d.ts +6 -0
  106. package/dist-types/ts3.4/Ivs.d.ts +27 -494
  107. package/dist-types/ts3.4/IvsClient.d.ts +24 -448
  108. package/dist-types/ts3.4/commands/BatchGetChannelCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/BatchGetStreamKeyCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +2 -31
  112. package/dist-types/ts3.4/commands/CreateStreamKeyCommand.d.ts +2 -23
  113. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -24
  114. package/dist-types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +2 -22
  115. package/dist-types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +2 -25
  116. package/dist-types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +2 -21
  117. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +2 -24
  119. package/dist-types/ts3.4/commands/GetRecordingConfigurationCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/GetStreamKeyCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +2 -24
  123. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -23
  124. package/dist-types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +2 -21
  125. package/dist-types/ts3.4/commands/ListRecordingConfigurationsCommand.d.ts +2 -21
  126. package/dist-types/ts3.4/commands/ListStreamKeysCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -21
  128. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/PutMetadataCommand.d.ts +2 -26
  130. package/dist-types/ts3.4/commands/StopStreamCommand.d.ts +2 -27
  131. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +2 -21
  134. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  135. package/dist-types/ts3.4/index.d.ts +4 -35
  136. package/dist-types/ts3.4/models/models_0.d.ts +237 -771
  137. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  142. package/package.json +33 -30
  143. package/dist-cjs/Ivs.js.map +0 -1
  144. package/dist-cjs/IvsClient.js.map +0 -1
  145. package/dist-cjs/commands/BatchGetChannelCommand.js.map +0 -1
  146. package/dist-cjs/commands/BatchGetStreamKeyCommand.js.map +0 -1
  147. package/dist-cjs/commands/CreateChannelCommand.js.map +0 -1
  148. package/dist-cjs/commands/CreateRecordingConfigurationCommand.js.map +0 -1
  149. package/dist-cjs/commands/CreateStreamKeyCommand.js.map +0 -1
  150. package/dist-cjs/commands/DeleteChannelCommand.js.map +0 -1
  151. package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js.map +0 -1
  152. package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js.map +0 -1
  153. package/dist-cjs/commands/DeleteStreamKeyCommand.js.map +0 -1
  154. package/dist-cjs/commands/GetChannelCommand.js.map +0 -1
  155. package/dist-cjs/commands/GetPlaybackKeyPairCommand.js.map +0 -1
  156. package/dist-cjs/commands/GetRecordingConfigurationCommand.js.map +0 -1
  157. package/dist-cjs/commands/GetStreamCommand.js.map +0 -1
  158. package/dist-cjs/commands/GetStreamKeyCommand.js.map +0 -1
  159. package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js.map +0 -1
  160. package/dist-cjs/commands/ListChannelsCommand.js.map +0 -1
  161. package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js.map +0 -1
  162. package/dist-cjs/commands/ListRecordingConfigurationsCommand.js.map +0 -1
  163. package/dist-cjs/commands/ListStreamKeysCommand.js.map +0 -1
  164. package/dist-cjs/commands/ListStreamsCommand.js.map +0 -1
  165. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  166. package/dist-cjs/commands/PutMetadataCommand.js.map +0 -1
  167. package/dist-cjs/commands/StopStreamCommand.js.map +0 -1
  168. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  169. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  170. package/dist-cjs/commands/UpdateChannelCommand.js.map +0 -1
  171. package/dist-cjs/endpoints.js.map +0 -1
  172. package/dist-cjs/index.js.map +0 -1
  173. package/dist-cjs/models/index.js.map +0 -1
  174. package/dist-cjs/models/models_0.js.map +0 -1
  175. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  176. package/dist-cjs/pagination/ListChannelsPaginator.js.map +0 -1
  177. package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js.map +0 -1
  178. package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js.map +0 -1
  179. package/dist-cjs/pagination/ListStreamKeysPaginator.js.map +0 -1
  180. package/dist-cjs/pagination/ListStreamsPaginator.js.map +0 -1
  181. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -46
  182. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  183. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  184. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  185. package/dist-cjs/runtimeConfig.js.map +0 -1
  186. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  187. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  188. package/dist-es/Ivs.js.map +0 -1
  189. package/dist-es/IvsClient.js.map +0 -1
  190. package/dist-es/commands/BatchGetChannelCommand.js.map +0 -1
  191. package/dist-es/commands/BatchGetStreamKeyCommand.js.map +0 -1
  192. package/dist-es/commands/CreateChannelCommand.js.map +0 -1
  193. package/dist-es/commands/CreateRecordingConfigurationCommand.js.map +0 -1
  194. package/dist-es/commands/CreateStreamKeyCommand.js.map +0 -1
  195. package/dist-es/commands/DeleteChannelCommand.js.map +0 -1
  196. package/dist-es/commands/DeletePlaybackKeyPairCommand.js.map +0 -1
  197. package/dist-es/commands/DeleteRecordingConfigurationCommand.js.map +0 -1
  198. package/dist-es/commands/DeleteStreamKeyCommand.js.map +0 -1
  199. package/dist-es/commands/GetChannelCommand.js.map +0 -1
  200. package/dist-es/commands/GetPlaybackKeyPairCommand.js.map +0 -1
  201. package/dist-es/commands/GetRecordingConfigurationCommand.js.map +0 -1
  202. package/dist-es/commands/GetStreamCommand.js.map +0 -1
  203. package/dist-es/commands/GetStreamKeyCommand.js.map +0 -1
  204. package/dist-es/commands/ImportPlaybackKeyPairCommand.js.map +0 -1
  205. package/dist-es/commands/ListChannelsCommand.js.map +0 -1
  206. package/dist-es/commands/ListPlaybackKeyPairsCommand.js.map +0 -1
  207. package/dist-es/commands/ListRecordingConfigurationsCommand.js.map +0 -1
  208. package/dist-es/commands/ListStreamKeysCommand.js.map +0 -1
  209. package/dist-es/commands/ListStreamsCommand.js.map +0 -1
  210. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  211. package/dist-es/commands/PutMetadataCommand.js.map +0 -1
  212. package/dist-es/commands/StopStreamCommand.js.map +0 -1
  213. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  214. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  215. package/dist-es/commands/UpdateChannelCommand.js.map +0 -1
  216. package/dist-es/endpoints.js.map +0 -1
  217. package/dist-es/index.js.map +0 -1
  218. package/dist-es/models/index.js.map +0 -1
  219. package/dist-es/models/models_0.js.map +0 -1
  220. package/dist-es/pagination/Interfaces.js.map +0 -1
  221. package/dist-es/pagination/ListChannelsPaginator.js.map +0 -1
  222. package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js.map +0 -1
  223. package/dist-es/pagination/ListRecordingConfigurationsPaginator.js.map +0 -1
  224. package/dist-es/pagination/ListStreamKeysPaginator.js.map +0 -1
  225. package/dist-es/pagination/ListStreamsPaginator.js.map +0 -1
  226. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -75
  227. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  228. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  229. package/dist-es/runtimeConfig.browser.js.map +0 -1
  230. package/dist-es/runtimeConfig.js.map +0 -1
  231. package/dist-es/runtimeConfig.native.js.map +0 -1
  232. package/dist-es/runtimeConfig.shared.js.map +0 -1
  233. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +0 -4
  234. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +0 -4
  235. package/jest.config.js +0 -4
  236. package/src/Ivs.ts +0 -1317
  237. package/src/IvsClient.ts +0 -697
  238. package/src/commands/BatchGetChannelCommand.ts +0 -95
  239. package/src/commands/BatchGetStreamKeyCommand.ts +0 -95
  240. package/src/commands/CreateChannelCommand.ts +0 -95
  241. package/src/commands/CreateRecordingConfigurationCommand.ts +0 -111
  242. package/src/commands/CreateStreamKeyCommand.ts +0 -98
  243. package/src/commands/DeleteChannelCommand.ts +0 -99
  244. package/src/commands/DeletePlaybackKeyPairCommand.ts +0 -97
  245. package/src/commands/DeleteRecordingConfigurationCommand.ts +0 -103
  246. package/src/commands/DeleteStreamKeyCommand.ts +0 -96
  247. package/src/commands/GetChannelCommand.ts +0 -95
  248. package/src/commands/GetPlaybackKeyPairCommand.ts +0 -99
  249. package/src/commands/GetRecordingConfigurationCommand.ts +0 -98
  250. package/src/commands/GetStreamCommand.ts +0 -91
  251. package/src/commands/GetStreamKeyCommand.ts +0 -95
  252. package/src/commands/ImportPlaybackKeyPairCommand.ts +0 -99
  253. package/src/commands/ListChannelsCommand.ts +0 -98
  254. package/src/commands/ListPlaybackKeyPairsCommand.ts +0 -96
  255. package/src/commands/ListRecordingConfigurationsCommand.ts +0 -101
  256. package/src/commands/ListStreamKeysCommand.ts +0 -95
  257. package/src/commands/ListStreamsCommand.ts +0 -96
  258. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  259. package/src/commands/PutMetadataCommand.ts +0 -101
  260. package/src/commands/StopStreamCommand.ts +0 -102
  261. package/src/commands/TagResourceCommand.ts +0 -95
  262. package/src/commands/UntagResourceCommand.ts +0 -95
  263. package/src/commands/UpdateChannelCommand.ts +0 -96
  264. package/src/endpoints.ts +0 -57
  265. package/src/index.ts +0 -36
  266. package/src/models/index.ts +0 -1
  267. package/src/models/models_0.ts +0 -1673
  268. package/src/pagination/Interfaces.ts +0 -8
  269. package/src/pagination/ListChannelsPaginator.ts +0 -59
  270. package/src/pagination/ListPlaybackKeyPairsPaginator.ts +0 -59
  271. package/src/pagination/ListRecordingConfigurationsPaginator.ts +0 -59
  272. package/src/pagination/ListStreamKeysPaginator.ts +0 -59
  273. package/src/pagination/ListStreamsPaginator.ts +0 -55
  274. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  275. package/src/protocols/Aws_restJson1.ts +0 -3327
  276. package/src/runtimeConfig.browser.ts +0 -41
  277. package/src/runtimeConfig.native.ts +0 -17
  278. package/src/runtimeConfig.shared.ts +0 -17
  279. package/src/runtimeConfig.ts +0 -46
  280. package/tsconfig.es.json +0 -10
  281. package/tsconfig.json +0 -33
  282. package/tsconfig.types.json +0 -9
package/src/Ivs.ts DELETED
@@ -1,1317 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import {
4
- BatchGetChannelCommand,
5
- BatchGetChannelCommandInput,
6
- BatchGetChannelCommandOutput,
7
- } from "./commands/BatchGetChannelCommand";
8
- import {
9
- BatchGetStreamKeyCommand,
10
- BatchGetStreamKeyCommandInput,
11
- BatchGetStreamKeyCommandOutput,
12
- } from "./commands/BatchGetStreamKeyCommand";
13
- import {
14
- CreateChannelCommand,
15
- CreateChannelCommandInput,
16
- CreateChannelCommandOutput,
17
- } from "./commands/CreateChannelCommand";
18
- import {
19
- CreateRecordingConfigurationCommand,
20
- CreateRecordingConfigurationCommandInput,
21
- CreateRecordingConfigurationCommandOutput,
22
- } from "./commands/CreateRecordingConfigurationCommand";
23
- import {
24
- CreateStreamKeyCommand,
25
- CreateStreamKeyCommandInput,
26
- CreateStreamKeyCommandOutput,
27
- } from "./commands/CreateStreamKeyCommand";
28
- import {
29
- DeleteChannelCommand,
30
- DeleteChannelCommandInput,
31
- DeleteChannelCommandOutput,
32
- } from "./commands/DeleteChannelCommand";
33
- import {
34
- DeletePlaybackKeyPairCommand,
35
- DeletePlaybackKeyPairCommandInput,
36
- DeletePlaybackKeyPairCommandOutput,
37
- } from "./commands/DeletePlaybackKeyPairCommand";
38
- import {
39
- DeleteRecordingConfigurationCommand,
40
- DeleteRecordingConfigurationCommandInput,
41
- DeleteRecordingConfigurationCommandOutput,
42
- } from "./commands/DeleteRecordingConfigurationCommand";
43
- import {
44
- DeleteStreamKeyCommand,
45
- DeleteStreamKeyCommandInput,
46
- DeleteStreamKeyCommandOutput,
47
- } from "./commands/DeleteStreamKeyCommand";
48
- import { GetChannelCommand, GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
49
- import {
50
- GetPlaybackKeyPairCommand,
51
- GetPlaybackKeyPairCommandInput,
52
- GetPlaybackKeyPairCommandOutput,
53
- } from "./commands/GetPlaybackKeyPairCommand";
54
- import {
55
- GetRecordingConfigurationCommand,
56
- GetRecordingConfigurationCommandInput,
57
- GetRecordingConfigurationCommandOutput,
58
- } from "./commands/GetRecordingConfigurationCommand";
59
- import { GetStreamCommand, GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
60
- import {
61
- GetStreamKeyCommand,
62
- GetStreamKeyCommandInput,
63
- GetStreamKeyCommandOutput,
64
- } from "./commands/GetStreamKeyCommand";
65
- import {
66
- ImportPlaybackKeyPairCommand,
67
- ImportPlaybackKeyPairCommandInput,
68
- ImportPlaybackKeyPairCommandOutput,
69
- } from "./commands/ImportPlaybackKeyPairCommand";
70
- import {
71
- ListChannelsCommand,
72
- ListChannelsCommandInput,
73
- ListChannelsCommandOutput,
74
- } from "./commands/ListChannelsCommand";
75
- import {
76
- ListPlaybackKeyPairsCommand,
77
- ListPlaybackKeyPairsCommandInput,
78
- ListPlaybackKeyPairsCommandOutput,
79
- } from "./commands/ListPlaybackKeyPairsCommand";
80
- import {
81
- ListRecordingConfigurationsCommand,
82
- ListRecordingConfigurationsCommandInput,
83
- ListRecordingConfigurationsCommandOutput,
84
- } from "./commands/ListRecordingConfigurationsCommand";
85
- import {
86
- ListStreamKeysCommand,
87
- ListStreamKeysCommandInput,
88
- ListStreamKeysCommandOutput,
89
- } from "./commands/ListStreamKeysCommand";
90
- import { ListStreamsCommand, ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
91
- import {
92
- ListTagsForResourceCommand,
93
- ListTagsForResourceCommandInput,
94
- ListTagsForResourceCommandOutput,
95
- } from "./commands/ListTagsForResourceCommand";
96
- import { PutMetadataCommand, PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand";
97
- import { StopStreamCommand, StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
98
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
99
- import {
100
- UntagResourceCommand,
101
- UntagResourceCommandInput,
102
- UntagResourceCommandOutput,
103
- } from "./commands/UntagResourceCommand";
104
- import {
105
- UpdateChannelCommand,
106
- UpdateChannelCommandInput,
107
- UpdateChannelCommandOutput,
108
- } from "./commands/UpdateChannelCommand";
109
- import { IvsClient } from "./IvsClient";
110
-
111
- /**
112
- * <p>
113
- * <b>Introduction</b>
114
- * </p>
115
- *
116
- * <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
117
- * API and an AWS EventBridge event stream for responses. JSON is used for both requests and
118
- * responses, including errors.</p>
119
- *
120
- * <p>The API is an AWS regional service, currently in these regions: us-west-2, us-east-1, and
121
- * eu-west-1.</p>
122
- * <p>
123
- * <i>
124
- * <b>All API request parameters and URLs are case sensitive.
125
- * </b>
126
- * </i>
127
- * </p>
128
- *
129
- * <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
130
- * History</a>.</p>
131
- *
132
- * <p>
133
- * <b>Service Endpoints</b>
134
- * </p>
135
- * <p>The following are the Amazon IVS service endpoints (all HTTPS): </p>
136
- * <p>Region name: US West (Oregon)</p>
137
- * <ul>
138
- * <li>
139
- * <p>Region: <code>us-west-2</code>
140
- * </p>
141
- * </li>
142
- * <li>
143
- * <p>Endpoint: <code>ivs.us-west-2.amazonaws.com</code>
144
- * </p>
145
- * </li>
146
- * </ul>
147
- * <p>Region name: US East (Virginia)</p>
148
- * <ul>
149
- * <li>
150
- * <p>Region: <code>us-east-1</code>
151
- * </p>
152
- * </li>
153
- * <li>
154
- * <p>Endpoint: <code>ivs.us-east-1.amazonaws.com</code>
155
- * </p>
156
- * </li>
157
- * </ul>
158
- * <p>Region name: EU West (Dublin)</p>
159
- * <ul>
160
- * <li>
161
- * <p>Region: <code>eu-west-1</code>
162
- * </p>
163
- * </li>
164
- * <li>
165
- * <p>Endpoint: <code>ivs.eu-west-1.amazonaws.com</code>
166
- * </p>
167
- * </li>
168
- * </ul>
169
- *
170
- * <p>
171
- * <b>Allowed Header Values</b>
172
- * </p>
173
- *
174
- * <ul>
175
- * <li>
176
- * <p>
177
- * <code>
178
- * <b>Accept:</b>
179
- * </code> application/json</p>
180
- * </li>
181
- * <li>
182
- * <p>
183
- * <code>
184
- * <b>Accept-Encoding:</b>
185
- * </code> gzip, deflate</p>
186
- * </li>
187
- * <li>
188
- * <p>
189
- * <code>
190
- * <b>Content-Type:</b>
191
- * </code>application/json</p>
192
- * </li>
193
- * </ul>
194
- *
195
- * <p>
196
- * <b>Resources</b>
197
- * </p>
198
- * <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
199
- * IVS</a>):</p>
200
- *
201
- * <ul>
202
- * <li>
203
- * <p>Channel — Stores configuration data related to your live stream. You first create a
204
- * channel and then use the channel’s stream key to start your live stream. See the Channel
205
- * endpoints for more information. </p>
206
- * </li>
207
- * <li>
208
- * <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is
209
- * then used to authorize streaming. See the StreamKey endpoints for more information.
210
- * <i>
211
- * <b>Treat the stream key like a secret, since it allows
212
- * anyone to stream to the channel.</b>
213
- * </i>
214
- * </p>
215
- * </li>
216
- * <li>
217
- * <p>Playback key pair — Video playback may be restricted using playback-authorization
218
- * tokens, which use public-key encryption. A playback key pair is the public-private pair of
219
- * keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair
220
- * endpoints for more information.</p>
221
- * </li>
222
- * <li>
223
- * <p>Recording configuration — Stores configuration related to recording a live stream and
224
- * where to store the recorded content. Multiple channels can reference the same recording
225
- * configuration. See the Recording Configuration endpoints for more information.</p>
226
- * </li>
227
- * </ul>
228
- *
229
- *
230
- *
231
- * <p>
232
- * <b>Tagging</b>
233
- * </p>
234
- *
235
- * <p>A <i>tag</i> is a metadata label that you assign to an AWS resource. A tag
236
- * comprises a <i>key</i> and a <i>value</i>, both set by you. For
237
- * example, you might set a tag as <code>topic:nature</code> to label a particular video
238
- * category. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
239
- * Resources</a> for more information, including restrictions that apply to tags.</p>
240
- *
241
- * <p>Tags can help you identify and organize your AWS resources. For example, you can use the
242
- * same tag for different resources to indicate that they are related. You can also use tags to
243
- * manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">
244
- * Access Tags</a>). </p>
245
- *
246
- * <p>The Amazon IVS API has these tag-related endpoints: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
247
- * resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
248
- * Configurations.</p>
249
- *
250
- * <p>
251
- * <b>Authentication versus Authorization</b>
252
- * </p>
253
- * <p>Note the differences between these concepts:</p>
254
- * <ul>
255
- * <li>
256
- * <p>
257
- * <i>Authentication</i> is about verifying identity. You need to be authenticated to sign Amazon IVS
258
- * API requests.</p>
259
- * </li>
260
- * <li>
261
- * <p>
262
- * <i>Authorization</i> is about granting permissions. You need to be authorized to
263
- * 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
264
- * "playback authorization.")</p>
265
- * </li>
266
- * </ul>
267
- *
268
- * <p>
269
- * <b>Authentication</b>
270
- * </p>
271
- * <p>All Amazon IVS API requests must be authenticated with a signature. The AWS Command-Line
272
- * Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for
273
- * you. However, if your application calls the Amazon IVS API directly, it’s your responsibility
274
- * to sign the requests.</p>
275
- * <p>You generate a signature using valid AWS credentials that have permission to perform the
276
- * requested action. For example, you must sign PutMetadata requests with a signature generated
277
- * from an IAM user account that has the <code>ivs:PutMetadata</code> permission.</p>
278
- * <p>For more information:</p>
279
- * <ul>
280
- * <li>
281
- * <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
282
- * 4)</a> in the <i>AWS General Reference</i>.</p>
283
- * </li>
284
- * <li>
285
- * <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
286
- * the <i>Amazon IVS User Guide</i>.</p>
287
- * </li>
288
- * </ul>
289
- *
290
- *
291
- * <p>
292
- * <b>Channel Endpoints</b>
293
- * </p>
294
- * <ul>
295
- * <li>
296
- * <p>
297
- * <a>CreateChannel</a> — Creates a new channel and an associated stream
298
- * key to start streaming.</p>
299
- * </li>
300
- * <li>
301
- * <p>
302
- * <a>GetChannel</a> — Gets the channel configuration for the specified
303
- * channel ARN (Amazon Resource Name).</p>
304
- * </li>
305
- * <li>
306
- * <p>
307
- * <a>BatchGetChannel</a> — Performs <a>GetChannel</a> on
308
- * multiple ARNs simultaneously.</p>
309
- * </li>
310
- * <li>
311
- * <p>
312
- * <a>ListChannels</a> — Gets summary information about all channels in
313
- * your account, in the AWS region where the API request is processed. This list can be
314
- * filtered to match a specified name or recording-configuration ARN. Filters are mutually
315
- * exclusive and cannot be used together. If you try to use both filters, you will get an
316
- * error (409 Conflict Exception).</p>
317
- * </li>
318
- * <li>
319
- * <p>
320
- * <a>UpdateChannel</a> — Updates a channel's configuration. This does
321
- * not affect an ongoing stream of this channel. You must stop and restart the stream for the
322
- * changes to take effect.</p>
323
- * </li>
324
- * <li>
325
- * <p>
326
- * <a>DeleteChannel</a> — Deletes the specified channel.</p>
327
- * </li>
328
- * </ul>
329
- *
330
- * <p>
331
- * <b>StreamKey Endpoints</b>
332
- * </p>
333
- * <ul>
334
- * <li>
335
- * <p>
336
- * <a>CreateStreamKey</a> — Creates a stream key, used to initiate a
337
- * stream, for the specified channel ARN.</p>
338
- * </li>
339
- * <li>
340
- * <p>
341
- * <a>GetStreamKey</a> — Gets stream key information for the specified
342
- * ARN.</p>
343
- * </li>
344
- * <li>
345
- * <p>
346
- * <a>BatchGetStreamKey</a> — Performs <a>GetStreamKey</a> on
347
- * multiple ARNs simultaneously.</p>
348
- * </li>
349
- * <li>
350
- * <p>
351
- * <a>ListStreamKeys</a> — Gets summary information about stream keys
352
- * for the specified channel.</p>
353
- * </li>
354
- * <li>
355
- * <p>
356
- * <a>DeleteStreamKey</a> — Deletes the stream key for the specified
357
- * ARN, so it can no longer be used to stream.</p>
358
- * </li>
359
- * </ul>
360
- *
361
- *
362
- * <p>
363
- * <b>Stream Endpoints</b>
364
- * </p>
365
- * <ul>
366
- * <li>
367
- * <p>
368
- * <a>GetStream</a> — Gets information about the active (live) stream on
369
- * a specified channel.</p>
370
- * </li>
371
- * <li>
372
- * <p>
373
- * <a>ListStreams</a> — Gets summary information about live streams in
374
- * your account, in the AWS region where the API request is processed.</p>
375
- * </li>
376
- * <li>
377
- * <p>
378
- * <a>StopStream</a> — Disconnects the incoming RTMPS stream for the
379
- * specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to
380
- * prevent further streaming to a channel.</p>
381
- * </li>
382
- * <li>
383
- * <p>
384
- * <a>PutMetadata</a> — Inserts metadata into the active stream of the
385
- * specified channel. A maximum of 5 requests per second per channel is allowed, each with a
386
- * maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching
387
- * your data into a single PutMetadata call.)</p>
388
- * </li>
389
- * </ul>
390
- *
391
- * <p>
392
- * <b>PlaybackKeyPair Endpoints</b>
393
- * </p>
394
- * <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
395
- * <i>Amazon IVS User Guide</i>.</p>
396
- * <ul>
397
- * <li>
398
- * <p>
399
- * <a>ImportPlaybackKeyPair</a> — Imports the public portion of a new
400
- * key pair and returns its <code>arn</code> and <code>fingerprint</code>. The
401
- * <code>privateKey</code> can then be used to generate viewer authorization tokens, to
402
- * grant viewers access to private channels (channels enabled for playback
403
- * authorization).</p>
404
- * </li>
405
- * <li>
406
- * <p>
407
- * <a>GetPlaybackKeyPair</a> — Gets a specified playback authorization
408
- * key pair and returns the <code>arn</code> and <code>fingerprint</code>. The
409
- * <code>privateKey</code> held by the caller can be used to generate viewer authorization
410
- * tokens, to grant viewers access to private channels.</p>
411
- * </li>
412
- * <li>
413
- * <p>
414
- * <a>ListPlaybackKeyPairs</a> — Gets summary information about playback
415
- * key pairs.</p>
416
- * </li>
417
- * <li>
418
- * <p>
419
- * <a>DeletePlaybackKeyPair</a> — Deletes a specified authorization key
420
- * pair. This invalidates future viewer tokens generated using the key pair’s
421
- * <code>privateKey</code>.</p>
422
- * </li>
423
- * </ul>
424
- *
425
- * <p>
426
- * <b>RecordingConfiguration Endpoints</b>
427
- * </p>
428
- * <ul>
429
- * <li>
430
- * <p>
431
- * <a>CreateRecordingConfiguration</a> — Creates a new recording configuration,
432
- * used to enable recording to Amazon S3.</p>
433
- * </li>
434
- * <li>
435
- * <p>
436
- * <a>GetRecordingConfiguration</a> — Gets the recording-configuration metadata
437
- * for the specified ARN.</p>
438
- * </li>
439
- * <li>
440
- * <p>
441
- * <a>ListRecordingConfigurations</a> — Gets summary information about all
442
- * recording configurations in your account, in the AWS region where the API request is
443
- * processed.</p>
444
- * </li>
445
- * <li>
446
- * <p>
447
- * <a>DeleteRecordingConfiguration</a> — Deletes the recording
448
- * configuration for the specified ARN.</p>
449
- * </li>
450
- * </ul>
451
- *
452
- * <p>
453
- * <b>AWS Tags Endpoints</b>
454
- * </p>
455
- * <ul>
456
- * <li>
457
- * <p>
458
- * <a>TagResource</a> — Adds or updates tags for the AWS resource with
459
- * the specified ARN.</p>
460
- * </li>
461
- * <li>
462
- * <p>
463
- * <a>UntagResource</a> — Removes tags from the resource with the
464
- * specified ARN.</p>
465
- * </li>
466
- * <li>
467
- * <p>
468
- * <a>ListTagsForResource</a> — Gets information about AWS tags for the
469
- * specified ARN.</p>
470
- * </li>
471
- * </ul>
472
- */
473
- export class Ivs extends IvsClient {
474
- /**
475
- * <p>Performs <a>GetChannel</a> on multiple ARNs simultaneously.</p>
476
- */
477
- public batchGetChannel(
478
- args: BatchGetChannelCommandInput,
479
- options?: __HttpHandlerOptions
480
- ): Promise<BatchGetChannelCommandOutput>;
481
- public batchGetChannel(
482
- args: BatchGetChannelCommandInput,
483
- cb: (err: any, data?: BatchGetChannelCommandOutput) => void
484
- ): void;
485
- public batchGetChannel(
486
- args: BatchGetChannelCommandInput,
487
- options: __HttpHandlerOptions,
488
- cb: (err: any, data?: BatchGetChannelCommandOutput) => void
489
- ): void;
490
- public batchGetChannel(
491
- args: BatchGetChannelCommandInput,
492
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetChannelCommandOutput) => void),
493
- cb?: (err: any, data?: BatchGetChannelCommandOutput) => void
494
- ): Promise<BatchGetChannelCommandOutput> | void {
495
- const command = new BatchGetChannelCommand(args);
496
- if (typeof optionsOrCb === "function") {
497
- this.send(command, optionsOrCb);
498
- } else if (typeof cb === "function") {
499
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
500
- this.send(command, optionsOrCb || {}, cb);
501
- } else {
502
- return this.send(command, optionsOrCb);
503
- }
504
- }
505
-
506
- /**
507
- * <p>Performs <a>GetStreamKey</a> on multiple ARNs simultaneously.</p>
508
- */
509
- public batchGetStreamKey(
510
- args: BatchGetStreamKeyCommandInput,
511
- options?: __HttpHandlerOptions
512
- ): Promise<BatchGetStreamKeyCommandOutput>;
513
- public batchGetStreamKey(
514
- args: BatchGetStreamKeyCommandInput,
515
- cb: (err: any, data?: BatchGetStreamKeyCommandOutput) => void
516
- ): void;
517
- public batchGetStreamKey(
518
- args: BatchGetStreamKeyCommandInput,
519
- options: __HttpHandlerOptions,
520
- cb: (err: any, data?: BatchGetStreamKeyCommandOutput) => void
521
- ): void;
522
- public batchGetStreamKey(
523
- args: BatchGetStreamKeyCommandInput,
524
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetStreamKeyCommandOutput) => void),
525
- cb?: (err: any, data?: BatchGetStreamKeyCommandOutput) => void
526
- ): Promise<BatchGetStreamKeyCommandOutput> | void {
527
- const command = new BatchGetStreamKeyCommand(args);
528
- if (typeof optionsOrCb === "function") {
529
- this.send(command, optionsOrCb);
530
- } else if (typeof cb === "function") {
531
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
532
- this.send(command, optionsOrCb || {}, cb);
533
- } else {
534
- return this.send(command, optionsOrCb);
535
- }
536
- }
537
-
538
- /**
539
- * <p>Creates a new channel and an associated stream key to start streaming.</p>
540
- */
541
- public createChannel(
542
- args: CreateChannelCommandInput,
543
- options?: __HttpHandlerOptions
544
- ): Promise<CreateChannelCommandOutput>;
545
- public createChannel(
546
- args: CreateChannelCommandInput,
547
- cb: (err: any, data?: CreateChannelCommandOutput) => void
548
- ): void;
549
- public createChannel(
550
- args: CreateChannelCommandInput,
551
- options: __HttpHandlerOptions,
552
- cb: (err: any, data?: CreateChannelCommandOutput) => void
553
- ): void;
554
- public createChannel(
555
- args: CreateChannelCommandInput,
556
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateChannelCommandOutput) => void),
557
- cb?: (err: any, data?: CreateChannelCommandOutput) => void
558
- ): Promise<CreateChannelCommandOutput> | void {
559
- const command = new CreateChannelCommand(args);
560
- if (typeof optionsOrCb === "function") {
561
- this.send(command, optionsOrCb);
562
- } else if (typeof cb === "function") {
563
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
564
- this.send(command, optionsOrCb || {}, cb);
565
- } else {
566
- return this.send(command, optionsOrCb);
567
- }
568
- }
569
-
570
- /**
571
- * <p>Creates a new recording configuration, used to enable recording to Amazon S3.</p>
572
- * <p>
573
- * <b>Known issue:</b> In the us-east-1 region, if you use the AWS
574
- * CLI to create a recording configuration, it returns success even if the S3 bucket is in a
575
- * different region. In this case, the <code>state</code> of the recording configuration is
576
- * <code>CREATE_FAILED</code> (instead of <code>ACTIVE</code>). (In other regions, the CLI
577
- * correctly returns failure if the bucket is in a different region.)</p>
578
- * <p>
579
- * <b>Workaround:</b> Ensure that your S3 bucket is in the same region as the recording
580
- * configuration. If you create a recording configuration in a different region as your S3
581
- * bucket, delete that recording configuration and create a new one with an S3 bucket from the
582
- * correct region.</p>
583
- */
584
- public createRecordingConfiguration(
585
- args: CreateRecordingConfigurationCommandInput,
586
- options?: __HttpHandlerOptions
587
- ): Promise<CreateRecordingConfigurationCommandOutput>;
588
- public createRecordingConfiguration(
589
- args: CreateRecordingConfigurationCommandInput,
590
- cb: (err: any, data?: CreateRecordingConfigurationCommandOutput) => void
591
- ): void;
592
- public createRecordingConfiguration(
593
- args: CreateRecordingConfigurationCommandInput,
594
- options: __HttpHandlerOptions,
595
- cb: (err: any, data?: CreateRecordingConfigurationCommandOutput) => void
596
- ): void;
597
- public createRecordingConfiguration(
598
- args: CreateRecordingConfigurationCommandInput,
599
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRecordingConfigurationCommandOutput) => void),
600
- cb?: (err: any, data?: CreateRecordingConfigurationCommandOutput) => void
601
- ): Promise<CreateRecordingConfigurationCommandOutput> | void {
602
- const command = new CreateRecordingConfigurationCommand(args);
603
- if (typeof optionsOrCb === "function") {
604
- this.send(command, optionsOrCb);
605
- } else if (typeof cb === "function") {
606
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
607
- this.send(command, optionsOrCb || {}, cb);
608
- } else {
609
- return this.send(command, optionsOrCb);
610
- }
611
- }
612
-
613
- /**
614
- * <p>Creates a stream key, used to initiate a stream, for the specified channel ARN.</p>
615
- * <p>Note that <a>CreateChannel</a> creates a stream key. If you subsequently use
616
- * CreateStreamKey on the same channel, it will fail because a stream key already exists and
617
- * 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>
618
- */
619
- public createStreamKey(
620
- args: CreateStreamKeyCommandInput,
621
- options?: __HttpHandlerOptions
622
- ): Promise<CreateStreamKeyCommandOutput>;
623
- public createStreamKey(
624
- args: CreateStreamKeyCommandInput,
625
- cb: (err: any, data?: CreateStreamKeyCommandOutput) => void
626
- ): void;
627
- public createStreamKey(
628
- args: CreateStreamKeyCommandInput,
629
- options: __HttpHandlerOptions,
630
- cb: (err: any, data?: CreateStreamKeyCommandOutput) => void
631
- ): void;
632
- public createStreamKey(
633
- args: CreateStreamKeyCommandInput,
634
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateStreamKeyCommandOutput) => void),
635
- cb?: (err: any, data?: CreateStreamKeyCommandOutput) => void
636
- ): Promise<CreateStreamKeyCommandOutput> | void {
637
- const command = new CreateStreamKeyCommand(args);
638
- if (typeof optionsOrCb === "function") {
639
- this.send(command, optionsOrCb);
640
- } else if (typeof cb === "function") {
641
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
642
- this.send(command, optionsOrCb || {}, cb);
643
- } else {
644
- return this.send(command, optionsOrCb);
645
- }
646
- }
647
-
648
- /**
649
- * <p>Deletes the specified channel and its associated stream keys.</p>
650
- * <p>If you try to delete a live channel, you will get an error (409 ConflictException). To
651
- * delete a channel that is live, call <a>StopStream</a>, wait for the Amazon
652
- * EventBridge "Stream End" event (to verify that the stream's state was changed from Live to
653
- * Offline), then call DeleteChannel. (See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html"> Using EventBridge with Amazon IVS</a>.) </p>
654
- */
655
- public deleteChannel(
656
- args: DeleteChannelCommandInput,
657
- options?: __HttpHandlerOptions
658
- ): Promise<DeleteChannelCommandOutput>;
659
- public deleteChannel(
660
- args: DeleteChannelCommandInput,
661
- cb: (err: any, data?: DeleteChannelCommandOutput) => void
662
- ): void;
663
- public deleteChannel(
664
- args: DeleteChannelCommandInput,
665
- options: __HttpHandlerOptions,
666
- cb: (err: any, data?: DeleteChannelCommandOutput) => void
667
- ): void;
668
- public deleteChannel(
669
- args: DeleteChannelCommandInput,
670
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteChannelCommandOutput) => void),
671
- cb?: (err: any, data?: DeleteChannelCommandOutput) => void
672
- ): Promise<DeleteChannelCommandOutput> | void {
673
- const command = new DeleteChannelCommand(args);
674
- if (typeof optionsOrCb === "function") {
675
- this.send(command, optionsOrCb);
676
- } else if (typeof cb === "function") {
677
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
678
- this.send(command, optionsOrCb || {}, cb);
679
- } else {
680
- return this.send(command, optionsOrCb);
681
- }
682
- }
683
-
684
- /**
685
- * <p>Deletes a specified authorization key pair. This invalidates future viewer tokens
686
- * 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
687
- * Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
688
- */
689
- public deletePlaybackKeyPair(
690
- args: DeletePlaybackKeyPairCommandInput,
691
- options?: __HttpHandlerOptions
692
- ): Promise<DeletePlaybackKeyPairCommandOutput>;
693
- public deletePlaybackKeyPair(
694
- args: DeletePlaybackKeyPairCommandInput,
695
- cb: (err: any, data?: DeletePlaybackKeyPairCommandOutput) => void
696
- ): void;
697
- public deletePlaybackKeyPair(
698
- args: DeletePlaybackKeyPairCommandInput,
699
- options: __HttpHandlerOptions,
700
- cb: (err: any, data?: DeletePlaybackKeyPairCommandOutput) => void
701
- ): void;
702
- public deletePlaybackKeyPair(
703
- args: DeletePlaybackKeyPairCommandInput,
704
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePlaybackKeyPairCommandOutput) => void),
705
- cb?: (err: any, data?: DeletePlaybackKeyPairCommandOutput) => void
706
- ): Promise<DeletePlaybackKeyPairCommandOutput> | void {
707
- const command = new DeletePlaybackKeyPairCommand(args);
708
- if (typeof optionsOrCb === "function") {
709
- this.send(command, optionsOrCb);
710
- } else if (typeof cb === "function") {
711
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
712
- this.send(command, optionsOrCb || {}, cb);
713
- } else {
714
- return this.send(command, optionsOrCb);
715
- }
716
- }
717
-
718
- /**
719
- * <p>Deletes the recording configuration for the specified ARN.</p>
720
- * <p>If you try to delete a recording configuration that is associated with a channel, you will
721
- * get an error (409 ConflictException). To avoid this, for all channels that reference the
722
- * recording configuration, first use <a>UpdateChannel</a> to set the
723
- * <code>recordingConfigurationArn</code> field to an empty string, then use
724
- * DeleteRecordingConfiguration.</p>
725
- */
726
- public deleteRecordingConfiguration(
727
- args: DeleteRecordingConfigurationCommandInput,
728
- options?: __HttpHandlerOptions
729
- ): Promise<DeleteRecordingConfigurationCommandOutput>;
730
- public deleteRecordingConfiguration(
731
- args: DeleteRecordingConfigurationCommandInput,
732
- cb: (err: any, data?: DeleteRecordingConfigurationCommandOutput) => void
733
- ): void;
734
- public deleteRecordingConfiguration(
735
- args: DeleteRecordingConfigurationCommandInput,
736
- options: __HttpHandlerOptions,
737
- cb: (err: any, data?: DeleteRecordingConfigurationCommandOutput) => void
738
- ): void;
739
- public deleteRecordingConfiguration(
740
- args: DeleteRecordingConfigurationCommandInput,
741
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRecordingConfigurationCommandOutput) => void),
742
- cb?: (err: any, data?: DeleteRecordingConfigurationCommandOutput) => void
743
- ): Promise<DeleteRecordingConfigurationCommandOutput> | void {
744
- const command = new DeleteRecordingConfigurationCommand(args);
745
- if (typeof optionsOrCb === "function") {
746
- this.send(command, optionsOrCb);
747
- } else if (typeof cb === "function") {
748
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
749
- this.send(command, optionsOrCb || {}, cb);
750
- } else {
751
- return this.send(command, optionsOrCb);
752
- }
753
- }
754
-
755
- /**
756
- * <p>Deletes the stream key for the specified ARN, so it can no longer be used to
757
- * stream.</p>
758
- */
759
- public deleteStreamKey(
760
- args: DeleteStreamKeyCommandInput,
761
- options?: __HttpHandlerOptions
762
- ): Promise<DeleteStreamKeyCommandOutput>;
763
- public deleteStreamKey(
764
- args: DeleteStreamKeyCommandInput,
765
- cb: (err: any, data?: DeleteStreamKeyCommandOutput) => void
766
- ): void;
767
- public deleteStreamKey(
768
- args: DeleteStreamKeyCommandInput,
769
- options: __HttpHandlerOptions,
770
- cb: (err: any, data?: DeleteStreamKeyCommandOutput) => void
771
- ): void;
772
- public deleteStreamKey(
773
- args: DeleteStreamKeyCommandInput,
774
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteStreamKeyCommandOutput) => void),
775
- cb?: (err: any, data?: DeleteStreamKeyCommandOutput) => void
776
- ): Promise<DeleteStreamKeyCommandOutput> | void {
777
- const command = new DeleteStreamKeyCommand(args);
778
- if (typeof optionsOrCb === "function") {
779
- this.send(command, optionsOrCb);
780
- } else if (typeof cb === "function") {
781
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
782
- this.send(command, optionsOrCb || {}, cb);
783
- } else {
784
- return this.send(command, optionsOrCb);
785
- }
786
- }
787
-
788
- /**
789
- * <p>Gets the channel configuration for the specified channel ARN. See also <a>BatchGetChannel</a>.</p>
790
- */
791
- public getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelCommandOutput>;
792
- public getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
793
- public getChannel(
794
- args: GetChannelCommandInput,
795
- options: __HttpHandlerOptions,
796
- cb: (err: any, data?: GetChannelCommandOutput) => void
797
- ): void;
798
- public getChannel(
799
- args: GetChannelCommandInput,
800
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChannelCommandOutput) => void),
801
- cb?: (err: any, data?: GetChannelCommandOutput) => void
802
- ): Promise<GetChannelCommandOutput> | void {
803
- const command = new GetChannelCommand(args);
804
- if (typeof optionsOrCb === "function") {
805
- this.send(command, optionsOrCb);
806
- } else if (typeof cb === "function") {
807
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
808
- this.send(command, optionsOrCb || {}, cb);
809
- } else {
810
- return this.send(command, optionsOrCb);
811
- }
812
- }
813
-
814
- /**
815
- * <p>Gets a specified playback authorization key pair and returns the <code>arn</code> and
816
- * <code>fingerprint</code>. The <code>privateKey</code> held by the caller can be used to
817
- * generate viewer authorization tokens, to grant viewers access to private channels. For more
818
- * information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the <i>Amazon IVS User
819
- * Guide</i>.</p>
820
- */
821
- public getPlaybackKeyPair(
822
- args: GetPlaybackKeyPairCommandInput,
823
- options?: __HttpHandlerOptions
824
- ): Promise<GetPlaybackKeyPairCommandOutput>;
825
- public getPlaybackKeyPair(
826
- args: GetPlaybackKeyPairCommandInput,
827
- cb: (err: any, data?: GetPlaybackKeyPairCommandOutput) => void
828
- ): void;
829
- public getPlaybackKeyPair(
830
- args: GetPlaybackKeyPairCommandInput,
831
- options: __HttpHandlerOptions,
832
- cb: (err: any, data?: GetPlaybackKeyPairCommandOutput) => void
833
- ): void;
834
- public getPlaybackKeyPair(
835
- args: GetPlaybackKeyPairCommandInput,
836
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPlaybackKeyPairCommandOutput) => void),
837
- cb?: (err: any, data?: GetPlaybackKeyPairCommandOutput) => void
838
- ): Promise<GetPlaybackKeyPairCommandOutput> | void {
839
- const command = new GetPlaybackKeyPairCommand(args);
840
- if (typeof optionsOrCb === "function") {
841
- this.send(command, optionsOrCb);
842
- } else if (typeof cb === "function") {
843
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
844
- this.send(command, optionsOrCb || {}, cb);
845
- } else {
846
- return this.send(command, optionsOrCb);
847
- }
848
- }
849
-
850
- /**
851
- * <p>Gets the recording configuration for the specified ARN.</p>
852
- */
853
- public getRecordingConfiguration(
854
- args: GetRecordingConfigurationCommandInput,
855
- options?: __HttpHandlerOptions
856
- ): Promise<GetRecordingConfigurationCommandOutput>;
857
- public getRecordingConfiguration(
858
- args: GetRecordingConfigurationCommandInput,
859
- cb: (err: any, data?: GetRecordingConfigurationCommandOutput) => void
860
- ): void;
861
- public getRecordingConfiguration(
862
- args: GetRecordingConfigurationCommandInput,
863
- options: __HttpHandlerOptions,
864
- cb: (err: any, data?: GetRecordingConfigurationCommandOutput) => void
865
- ): void;
866
- public getRecordingConfiguration(
867
- args: GetRecordingConfigurationCommandInput,
868
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRecordingConfigurationCommandOutput) => void),
869
- cb?: (err: any, data?: GetRecordingConfigurationCommandOutput) => void
870
- ): Promise<GetRecordingConfigurationCommandOutput> | void {
871
- const command = new GetRecordingConfigurationCommand(args);
872
- if (typeof optionsOrCb === "function") {
873
- this.send(command, optionsOrCb);
874
- } else if (typeof cb === "function") {
875
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
876
- this.send(command, optionsOrCb || {}, cb);
877
- } else {
878
- return this.send(command, optionsOrCb);
879
- }
880
- }
881
-
882
- /**
883
- * <p>Gets information about the active (live) stream on a specified channel.</p>
884
- */
885
- public getStream(args: GetStreamCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamCommandOutput>;
886
- public getStream(args: GetStreamCommandInput, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
887
- public getStream(
888
- args: GetStreamCommandInput,
889
- options: __HttpHandlerOptions,
890
- cb: (err: any, data?: GetStreamCommandOutput) => void
891
- ): void;
892
- public getStream(
893
- args: GetStreamCommandInput,
894
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetStreamCommandOutput) => void),
895
- cb?: (err: any, data?: GetStreamCommandOutput) => void
896
- ): Promise<GetStreamCommandOutput> | void {
897
- const command = new GetStreamCommand(args);
898
- if (typeof optionsOrCb === "function") {
899
- this.send(command, optionsOrCb);
900
- } else if (typeof cb === "function") {
901
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
902
- this.send(command, optionsOrCb || {}, cb);
903
- } else {
904
- return this.send(command, optionsOrCb);
905
- }
906
- }
907
-
908
- /**
909
- * <p>Gets stream-key information for a specified ARN.</p>
910
- */
911
- public getStreamKey(
912
- args: GetStreamKeyCommandInput,
913
- options?: __HttpHandlerOptions
914
- ): Promise<GetStreamKeyCommandOutput>;
915
- public getStreamKey(args: GetStreamKeyCommandInput, cb: (err: any, data?: GetStreamKeyCommandOutput) => void): void;
916
- public getStreamKey(
917
- args: GetStreamKeyCommandInput,
918
- options: __HttpHandlerOptions,
919
- cb: (err: any, data?: GetStreamKeyCommandOutput) => void
920
- ): void;
921
- public getStreamKey(
922
- args: GetStreamKeyCommandInput,
923
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetStreamKeyCommandOutput) => void),
924
- cb?: (err: any, data?: GetStreamKeyCommandOutput) => void
925
- ): Promise<GetStreamKeyCommandOutput> | void {
926
- const command = new GetStreamKeyCommand(args);
927
- if (typeof optionsOrCb === "function") {
928
- this.send(command, optionsOrCb);
929
- } else if (typeof cb === "function") {
930
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
931
- this.send(command, optionsOrCb || {}, cb);
932
- } else {
933
- return this.send(command, optionsOrCb);
934
- }
935
- }
936
-
937
- /**
938
- * <p>Imports the public portion of a new key pair and returns its <code>arn</code> and
939
- * <code>fingerprint</code>. The <code>privateKey</code> can then be used to generate viewer
940
- * authorization tokens, to grant viewers access to private channels. For more information, see
941
- * <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up
942
- * Private Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
943
- */
944
- public importPlaybackKeyPair(
945
- args: ImportPlaybackKeyPairCommandInput,
946
- options?: __HttpHandlerOptions
947
- ): Promise<ImportPlaybackKeyPairCommandOutput>;
948
- public importPlaybackKeyPair(
949
- args: ImportPlaybackKeyPairCommandInput,
950
- cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void
951
- ): void;
952
- public importPlaybackKeyPair(
953
- args: ImportPlaybackKeyPairCommandInput,
954
- options: __HttpHandlerOptions,
955
- cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void
956
- ): void;
957
- public importPlaybackKeyPair(
958
- args: ImportPlaybackKeyPairCommandInput,
959
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportPlaybackKeyPairCommandOutput) => void),
960
- cb?: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void
961
- ): Promise<ImportPlaybackKeyPairCommandOutput> | void {
962
- const command = new ImportPlaybackKeyPairCommand(args);
963
- if (typeof optionsOrCb === "function") {
964
- this.send(command, optionsOrCb);
965
- } else if (typeof cb === "function") {
966
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
967
- this.send(command, optionsOrCb || {}, cb);
968
- } else {
969
- return this.send(command, optionsOrCb);
970
- }
971
- }
972
-
973
- /**
974
- * <p>Gets summary information about all channels in your account, in the AWS region where the
975
- * API request is processed. This list can be filtered to match a specified name or
976
- * recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If
977
- * you try to use both filters, you will get an error (409 ConflictException).</p>
978
- */
979
- public listChannels(
980
- args: ListChannelsCommandInput,
981
- options?: __HttpHandlerOptions
982
- ): Promise<ListChannelsCommandOutput>;
983
- public listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
984
- public listChannels(
985
- args: ListChannelsCommandInput,
986
- options: __HttpHandlerOptions,
987
- cb: (err: any, data?: ListChannelsCommandOutput) => void
988
- ): void;
989
- public listChannels(
990
- args: ListChannelsCommandInput,
991
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListChannelsCommandOutput) => void),
992
- cb?: (err: any, data?: ListChannelsCommandOutput) => void
993
- ): Promise<ListChannelsCommandOutput> | void {
994
- const command = new ListChannelsCommand(args);
995
- if (typeof optionsOrCb === "function") {
996
- this.send(command, optionsOrCb);
997
- } else if (typeof cb === "function") {
998
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
999
- this.send(command, optionsOrCb || {}, cb);
1000
- } else {
1001
- return this.send(command, optionsOrCb);
1002
- }
1003
- }
1004
-
1005
- /**
1006
- * <p>Gets summary information about playback key pairs. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private
1007
- * Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
1008
- */
1009
- public listPlaybackKeyPairs(
1010
- args: ListPlaybackKeyPairsCommandInput,
1011
- options?: __HttpHandlerOptions
1012
- ): Promise<ListPlaybackKeyPairsCommandOutput>;
1013
- public listPlaybackKeyPairs(
1014
- args: ListPlaybackKeyPairsCommandInput,
1015
- cb: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void
1016
- ): void;
1017
- public listPlaybackKeyPairs(
1018
- args: ListPlaybackKeyPairsCommandInput,
1019
- options: __HttpHandlerOptions,
1020
- cb: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void
1021
- ): void;
1022
- public listPlaybackKeyPairs(
1023
- args: ListPlaybackKeyPairsCommandInput,
1024
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPlaybackKeyPairsCommandOutput) => void),
1025
- cb?: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void
1026
- ): Promise<ListPlaybackKeyPairsCommandOutput> | void {
1027
- const command = new ListPlaybackKeyPairsCommand(args);
1028
- if (typeof optionsOrCb === "function") {
1029
- this.send(command, optionsOrCb);
1030
- } else if (typeof cb === "function") {
1031
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1032
- this.send(command, optionsOrCb || {}, cb);
1033
- } else {
1034
- return this.send(command, optionsOrCb);
1035
- }
1036
- }
1037
-
1038
- /**
1039
- * <p>Gets summary information about all recording configurations in your account, in the AWS
1040
- * region where the API request is processed.</p>
1041
- */
1042
- public listRecordingConfigurations(
1043
- args: ListRecordingConfigurationsCommandInput,
1044
- options?: __HttpHandlerOptions
1045
- ): Promise<ListRecordingConfigurationsCommandOutput>;
1046
- public listRecordingConfigurations(
1047
- args: ListRecordingConfigurationsCommandInput,
1048
- cb: (err: any, data?: ListRecordingConfigurationsCommandOutput) => void
1049
- ): void;
1050
- public listRecordingConfigurations(
1051
- args: ListRecordingConfigurationsCommandInput,
1052
- options: __HttpHandlerOptions,
1053
- cb: (err: any, data?: ListRecordingConfigurationsCommandOutput) => void
1054
- ): void;
1055
- public listRecordingConfigurations(
1056
- args: ListRecordingConfigurationsCommandInput,
1057
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRecordingConfigurationsCommandOutput) => void),
1058
- cb?: (err: any, data?: ListRecordingConfigurationsCommandOutput) => void
1059
- ): Promise<ListRecordingConfigurationsCommandOutput> | void {
1060
- const command = new ListRecordingConfigurationsCommand(args);
1061
- if (typeof optionsOrCb === "function") {
1062
- this.send(command, optionsOrCb);
1063
- } else if (typeof cb === "function") {
1064
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1065
- this.send(command, optionsOrCb || {}, cb);
1066
- } else {
1067
- return this.send(command, optionsOrCb);
1068
- }
1069
- }
1070
-
1071
- /**
1072
- * <p>Gets summary information about stream keys for the specified channel.</p>
1073
- */
1074
- public listStreamKeys(
1075
- args: ListStreamKeysCommandInput,
1076
- options?: __HttpHandlerOptions
1077
- ): Promise<ListStreamKeysCommandOutput>;
1078
- public listStreamKeys(
1079
- args: ListStreamKeysCommandInput,
1080
- cb: (err: any, data?: ListStreamKeysCommandOutput) => void
1081
- ): void;
1082
- public listStreamKeys(
1083
- args: ListStreamKeysCommandInput,
1084
- options: __HttpHandlerOptions,
1085
- cb: (err: any, data?: ListStreamKeysCommandOutput) => void
1086
- ): void;
1087
- public listStreamKeys(
1088
- args: ListStreamKeysCommandInput,
1089
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListStreamKeysCommandOutput) => void),
1090
- cb?: (err: any, data?: ListStreamKeysCommandOutput) => void
1091
- ): Promise<ListStreamKeysCommandOutput> | void {
1092
- const command = new ListStreamKeysCommand(args);
1093
- if (typeof optionsOrCb === "function") {
1094
- this.send(command, optionsOrCb);
1095
- } else if (typeof cb === "function") {
1096
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1097
- this.send(command, optionsOrCb || {}, cb);
1098
- } else {
1099
- return this.send(command, optionsOrCb);
1100
- }
1101
- }
1102
-
1103
- /**
1104
- * <p>Gets summary information about live streams in your account, in the AWS region where the
1105
- * API request is processed.</p>
1106
- */
1107
- public listStreams(args: ListStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamsCommandOutput>;
1108
- public listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
1109
- public listStreams(
1110
- args: ListStreamsCommandInput,
1111
- options: __HttpHandlerOptions,
1112
- cb: (err: any, data?: ListStreamsCommandOutput) => void
1113
- ): void;
1114
- public listStreams(
1115
- args: ListStreamsCommandInput,
1116
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListStreamsCommandOutput) => void),
1117
- cb?: (err: any, data?: ListStreamsCommandOutput) => void
1118
- ): Promise<ListStreamsCommandOutput> | void {
1119
- const command = new ListStreamsCommand(args);
1120
- if (typeof optionsOrCb === "function") {
1121
- this.send(command, optionsOrCb);
1122
- } else if (typeof cb === "function") {
1123
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1124
- this.send(command, optionsOrCb || {}, cb);
1125
- } else {
1126
- return this.send(command, optionsOrCb);
1127
- }
1128
- }
1129
-
1130
- /**
1131
- * <p>Gets information about AWS tags for the specified ARN.</p>
1132
- */
1133
- public listTagsForResource(
1134
- args: ListTagsForResourceCommandInput,
1135
- options?: __HttpHandlerOptions
1136
- ): Promise<ListTagsForResourceCommandOutput>;
1137
- public listTagsForResource(
1138
- args: ListTagsForResourceCommandInput,
1139
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1140
- ): void;
1141
- public listTagsForResource(
1142
- args: ListTagsForResourceCommandInput,
1143
- options: __HttpHandlerOptions,
1144
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1145
- ): void;
1146
- public listTagsForResource(
1147
- args: ListTagsForResourceCommandInput,
1148
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1149
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1150
- ): Promise<ListTagsForResourceCommandOutput> | void {
1151
- const command = new ListTagsForResourceCommand(args);
1152
- if (typeof optionsOrCb === "function") {
1153
- this.send(command, optionsOrCb);
1154
- } else if (typeof cb === "function") {
1155
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1156
- this.send(command, optionsOrCb || {}, cb);
1157
- } else {
1158
- return this.send(command, optionsOrCb);
1159
- }
1160
- }
1161
-
1162
- /**
1163
- * <p>Inserts metadata into the active stream of the specified channel. A maximum of 5 requests
1164
- * per second per channel is allowed, each with a maximum 1 KB payload. (If 5 TPS is not
1165
- * sufficient for your needs, we recommend batching your data into a single PutMetadata call.)
1166
- *
1167
- * Also see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/metadata.html">Embedding Metadata
1168
- *
1169
- * within a Video Stream</a> in the <i>Amazon IVS User Guide</i>.</p>
1170
- */
1171
- public putMetadata(args: PutMetadataCommandInput, options?: __HttpHandlerOptions): Promise<PutMetadataCommandOutput>;
1172
- public putMetadata(args: PutMetadataCommandInput, cb: (err: any, data?: PutMetadataCommandOutput) => void): void;
1173
- public putMetadata(
1174
- args: PutMetadataCommandInput,
1175
- options: __HttpHandlerOptions,
1176
- cb: (err: any, data?: PutMetadataCommandOutput) => void
1177
- ): void;
1178
- public putMetadata(
1179
- args: PutMetadataCommandInput,
1180
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutMetadataCommandOutput) => void),
1181
- cb?: (err: any, data?: PutMetadataCommandOutput) => void
1182
- ): Promise<PutMetadataCommandOutput> | void {
1183
- const command = new PutMetadataCommand(args);
1184
- if (typeof optionsOrCb === "function") {
1185
- this.send(command, optionsOrCb);
1186
- } else if (typeof cb === "function") {
1187
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1188
- this.send(command, optionsOrCb || {}, cb);
1189
- } else {
1190
- return this.send(command, optionsOrCb);
1191
- }
1192
- }
1193
-
1194
- /**
1195
- * <p>Disconnects the incoming RTMPS stream for the specified channel. Can be used in
1196
- * conjunction with <a>DeleteStreamKey</a> to prevent further streaming to a
1197
- * channel.</p>
1198
- * <note>
1199
- * <p>Many streaming client-software libraries automatically reconnect a dropped RTMPS
1200
- * session, so to stop the stream permanently, you may want to first revoke the
1201
- * <code>streamKey</code> attached to the channel.</p>
1202
- * </note>
1203
- */
1204
- public stopStream(args: StopStreamCommandInput, options?: __HttpHandlerOptions): Promise<StopStreamCommandOutput>;
1205
- public stopStream(args: StopStreamCommandInput, cb: (err: any, data?: StopStreamCommandOutput) => void): void;
1206
- public stopStream(
1207
- args: StopStreamCommandInput,
1208
- options: __HttpHandlerOptions,
1209
- cb: (err: any, data?: StopStreamCommandOutput) => void
1210
- ): void;
1211
- public stopStream(
1212
- args: StopStreamCommandInput,
1213
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopStreamCommandOutput) => void),
1214
- cb?: (err: any, data?: StopStreamCommandOutput) => void
1215
- ): Promise<StopStreamCommandOutput> | void {
1216
- const command = new StopStreamCommand(args);
1217
- if (typeof optionsOrCb === "function") {
1218
- this.send(command, optionsOrCb);
1219
- } else if (typeof cb === "function") {
1220
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1221
- this.send(command, optionsOrCb || {}, cb);
1222
- } else {
1223
- return this.send(command, optionsOrCb);
1224
- }
1225
- }
1226
-
1227
- /**
1228
- * <p>Adds or updates tags for the AWS resource with the specified ARN.</p>
1229
- */
1230
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1231
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1232
- public tagResource(
1233
- args: TagResourceCommandInput,
1234
- options: __HttpHandlerOptions,
1235
- cb: (err: any, data?: TagResourceCommandOutput) => void
1236
- ): void;
1237
- public tagResource(
1238
- args: TagResourceCommandInput,
1239
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1240
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1241
- ): Promise<TagResourceCommandOutput> | void {
1242
- const command = new TagResourceCommand(args);
1243
- if (typeof optionsOrCb === "function") {
1244
- this.send(command, optionsOrCb);
1245
- } else if (typeof cb === "function") {
1246
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1247
- this.send(command, optionsOrCb || {}, cb);
1248
- } else {
1249
- return this.send(command, optionsOrCb);
1250
- }
1251
- }
1252
-
1253
- /**
1254
- * <p>Removes tags from the resource with the specified ARN.</p>
1255
- */
1256
- public untagResource(
1257
- args: UntagResourceCommandInput,
1258
- options?: __HttpHandlerOptions
1259
- ): Promise<UntagResourceCommandOutput>;
1260
- public untagResource(
1261
- args: UntagResourceCommandInput,
1262
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1263
- ): void;
1264
- public untagResource(
1265
- args: UntagResourceCommandInput,
1266
- options: __HttpHandlerOptions,
1267
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1268
- ): void;
1269
- public untagResource(
1270
- args: UntagResourceCommandInput,
1271
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1272
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1273
- ): Promise<UntagResourceCommandOutput> | void {
1274
- const command = new UntagResourceCommand(args);
1275
- if (typeof optionsOrCb === "function") {
1276
- this.send(command, optionsOrCb);
1277
- } else if (typeof cb === "function") {
1278
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1279
- this.send(command, optionsOrCb || {}, cb);
1280
- } else {
1281
- return this.send(command, optionsOrCb);
1282
- }
1283
- }
1284
-
1285
- /**
1286
- * <p>Updates a channel's configuration. This does not affect an ongoing stream of this channel.
1287
- * You must stop and restart the stream for the changes to take effect.</p>
1288
- */
1289
- public updateChannel(
1290
- args: UpdateChannelCommandInput,
1291
- options?: __HttpHandlerOptions
1292
- ): Promise<UpdateChannelCommandOutput>;
1293
- public updateChannel(
1294
- args: UpdateChannelCommandInput,
1295
- cb: (err: any, data?: UpdateChannelCommandOutput) => void
1296
- ): void;
1297
- public updateChannel(
1298
- args: UpdateChannelCommandInput,
1299
- options: __HttpHandlerOptions,
1300
- cb: (err: any, data?: UpdateChannelCommandOutput) => void
1301
- ): void;
1302
- public updateChannel(
1303
- args: UpdateChannelCommandInput,
1304
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateChannelCommandOutput) => void),
1305
- cb?: (err: any, data?: UpdateChannelCommandOutput) => void
1306
- ): Promise<UpdateChannelCommandOutput> | void {
1307
- const command = new UpdateChannelCommand(args);
1308
- if (typeof optionsOrCb === "function") {
1309
- this.send(command, optionsOrCb);
1310
- } else if (typeof cb === "function") {
1311
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1312
- this.send(command, optionsOrCb || {}, cb);
1313
- } else {
1314
- return this.send(command, optionsOrCb);
1315
- }
1316
- }
1317
- }