@aws-sdk/client-mediatailor 3.32.0 → 3.36.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 (363) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +7 -7
  3. package/{dist/cjs → dist-cjs}/MediaTailor.js +16 -2
  4. package/{dist/cjs → dist-cjs}/MediaTailorClient.js +8 -9
  5. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +60 -0
  6. package/{dist/cjs → dist-cjs}/commands/CreateChannelCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateProgramCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateSourceLocationCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateVodSourceCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteChannelCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DeleteChannelPolicyCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeletePlaybackConfigurationCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeleteProgramCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DeleteSourceLocationCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DeleteVodSourceCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DescribeChannelCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DescribeProgramCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DescribeSourceLocationCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/DescribeVodSourceCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/GetChannelPolicyCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/GetChannelScheduleCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/GetPlaybackConfigurationCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ListAlertsCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/ListChannelsCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/ListPlaybackConfigurationsCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/ListSourceLocationsCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/ListVodSourcesCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/PutChannelPolicyCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/PutPlaybackConfigurationCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/StartChannelCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/StopChannelCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/UpdateChannelCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/UpdateSourceLocationCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/UpdateVodSourceCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  39. package/{dist/cjs → dist-cjs}/index.js +1 -1
  40. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  41. package/{dist/cjs → dist-cjs}/models/models_0.js +30 -4
  42. package/{dist/cjs → dist-cjs}/pagination/GetChannelSchedulePaginator.js +1 -2
  43. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  44. package/{dist/cjs → dist-cjs}/pagination/ListAlertsPaginator.js +1 -2
  45. package/{dist/cjs → dist-cjs}/pagination/ListChannelsPaginator.js +1 -2
  46. package/{dist/cjs → dist-cjs}/pagination/ListPlaybackConfigurationsPaginator.js +1 -2
  47. package/{dist/cjs → dist-cjs}/pagination/ListSourceLocationsPaginator.js +1 -2
  48. package/{dist/cjs → dist-cjs}/pagination/ListVodSourcesPaginator.js +1 -2
  49. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +91 -8
  50. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  51. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  52. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  53. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  54. package/{dist/es → dist-es}/MediaTailor.js +17 -6
  55. package/{dist/es → dist-es}/MediaTailorClient.js +2 -11
  56. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +39 -0
  57. package/{dist/es → dist-es}/commands/CreateChannelCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/CreateProgramCommand.js +4 -30
  59. package/{dist/es → dist-es}/commands/CreateSourceLocationCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/CreateVodSourceCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/DeleteChannelCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/DeleteChannelPolicyCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/DeletePlaybackConfigurationCommand.js +4 -30
  64. package/{dist/es → dist-es}/commands/DeleteProgramCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/DeleteSourceLocationCommand.js +4 -30
  66. package/{dist/es → dist-es}/commands/DeleteVodSourceCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/DescribeChannelCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/DescribeProgramCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/DescribeSourceLocationCommand.js +4 -30
  70. package/{dist/es → dist-es}/commands/DescribeVodSourceCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/GetChannelPolicyCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/GetChannelScheduleCommand.js +4 -30
  73. package/{dist/es → dist-es}/commands/GetPlaybackConfigurationCommand.js +4 -30
  74. package/{dist/es → dist-es}/commands/ListAlertsCommand.js +4 -30
  75. package/{dist/es → dist-es}/commands/ListChannelsCommand.js +4 -30
  76. package/{dist/es → dist-es}/commands/ListPlaybackConfigurationsCommand.js +4 -30
  77. package/{dist/es → dist-es}/commands/ListSourceLocationsCommand.js +4 -30
  78. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  79. package/{dist/es → dist-es}/commands/ListVodSourcesCommand.js +4 -30
  80. package/{dist/es → dist-es}/commands/PutChannelPolicyCommand.js +4 -30
  81. package/{dist/es → dist-es}/commands/PutPlaybackConfigurationCommand.js +4 -30
  82. package/{dist/es → dist-es}/commands/StartChannelCommand.js +4 -30
  83. package/{dist/es → dist-es}/commands/StopChannelCommand.js +4 -30
  84. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  85. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  86. package/{dist/es → dist-es}/commands/UpdateChannelCommand.js +4 -30
  87. package/{dist/es → dist-es}/commands/UpdateSourceLocationCommand.js +4 -30
  88. package/{dist/es → dist-es}/commands/UpdateVodSourceCommand.js +4 -30
  89. package/{dist/es → dist-es}/endpoints.js +1 -2
  90. package/{dist/es → dist-es}/index.js +1 -1
  91. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  92. package/{dist/es → dist-es}/models/models_0.js +12 -280
  93. package/{dist/es → dist-es}/pagination/GetChannelSchedulePaginator.js +17 -30
  94. package/dist-es/pagination/Interfaces.js +1 -0
  95. package/{dist/es → dist-es}/pagination/ListAlertsPaginator.js +17 -30
  96. package/{dist/es → dist-es}/pagination/ListChannelsPaginator.js +17 -30
  97. package/{dist/es → dist-es}/pagination/ListPlaybackConfigurationsPaginator.js +17 -30
  98. package/{dist/es → dist-es}/pagination/ListSourceLocationsPaginator.js +17 -30
  99. package/{dist/es → dist-es}/pagination/ListVodSourcesPaginator.js +17 -30
  100. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +336 -246
  101. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  102. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  103. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  104. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  105. package/{dist/types → dist-types}/MediaTailor.d.ts +9 -2
  106. package/{dist/types/ts3.4 → dist-types}/MediaTailorClient.d.ts +165 -164
  107. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
  108. package/{dist/types → dist-types}/commands/CreateChannelCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/CreateProgramCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/CreateSourceLocationCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/CreateVodSourceCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/DeleteChannelCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/DeleteChannelPolicyCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/DeletePlaybackConfigurationCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/DeleteProgramCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/DeleteSourceLocationCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/DeleteVodSourceCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/DescribeChannelCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/DescribeProgramCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/DescribeSourceLocationCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/DescribeVodSourceCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/GetChannelPolicyCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/GetChannelScheduleCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/GetPlaybackConfigurationCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/ListAlertsCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/ListChannelsCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/ListPlaybackConfigurationsCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/ListSourceLocationsCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/ListVodSourcesCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/PutChannelPolicyCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/PutPlaybackConfigurationCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/StartChannelCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/StopChannelCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/UpdateChannelCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/UpdateSourceLocationCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/UpdateVodSourceCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  141. package/{dist/types/ts3.4 → dist-types}/index.d.ts +43 -42
  142. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  143. package/{dist/types → dist-types}/models/models_0.d.ts +63 -1
  144. package/{dist/types → dist-types}/pagination/GetChannelSchedulePaginator.d.ts +1 -1
  145. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  146. package/{dist/types → dist-types}/pagination/ListAlertsPaginator.d.ts +1 -1
  147. package/{dist/types → dist-types}/pagination/ListChannelsPaginator.d.ts +1 -1
  148. package/{dist/types → dist-types}/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
  149. package/{dist/types → dist-types}/pagination/ListSourceLocationsPaginator.d.ts +1 -1
  150. package/{dist/types → dist-types}/pagination/ListVodSourcesPaginator.d.ts +1 -1
  151. package/{dist/types/ts3.4 → dist-types}/protocols/Aws_restJson1.d.ts +101 -98
  152. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  153. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  154. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  155. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  156. package/{dist/types → dist-types}/ts3.4/MediaTailor.d.ts +9 -2
  157. package/{dist/types → dist-types/ts3.4}/MediaTailorClient.d.ts +165 -164
  158. package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
  159. package/{dist/types → dist-types}/ts3.4/commands/CreateChannelCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/ts3.4/commands/CreateProgramCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/ts3.4/commands/CreateSourceLocationCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/ts3.4/commands/CreateVodSourceCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/ts3.4/commands/DeleteChannelCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/ts3.4/commands/DeleteProgramCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/ts3.4/commands/DeleteSourceLocationCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/ts3.4/commands/DeleteVodSourceCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/ts3.4/commands/DescribeChannelCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/ts3.4/commands/DescribeProgramCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/ts3.4/commands/DescribeSourceLocationCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/ts3.4/commands/DescribeVodSourceCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/ts3.4/commands/GetChannelPolicyCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/ts3.4/commands/GetChannelScheduleCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/ts3.4/commands/ListAlertsCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/ts3.4/commands/ListChannelsCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/ts3.4/commands/ListSourceLocationsCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/ts3.4/commands/ListVodSourcesCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/commands/PutChannelPolicyCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/ts3.4/commands/StartChannelCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/ts3.4/commands/StopChannelCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/ts3.4/commands/UpdateChannelCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/ts3.4/commands/UpdateSourceLocationCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/ts3.4/commands/UpdateVodSourceCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  192. package/{dist/types → dist-types/ts3.4}/index.d.ts +43 -42
  193. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  194. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +63 -1
  195. package/{dist/types → dist-types}/ts3.4/pagination/GetChannelSchedulePaginator.d.ts +1 -1
  196. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  197. package/{dist/types → dist-types}/ts3.4/pagination/ListAlertsPaginator.d.ts +1 -1
  198. package/{dist/types → dist-types}/ts3.4/pagination/ListChannelsPaginator.d.ts +1 -1
  199. package/{dist/types → dist-types}/ts3.4/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
  200. package/{dist/types → dist-types}/ts3.4/pagination/ListSourceLocationsPaginator.d.ts +1 -1
  201. package/{dist/types → dist-types}/ts3.4/pagination/ListVodSourcesPaginator.d.ts +1 -1
  202. package/{dist/types → dist-types/ts3.4}/protocols/Aws_restJson1.d.ts +101 -98
  203. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  204. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  205. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  206. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  207. package/package.json +52 -49
  208. package/MediaTailor.ts +0 -1155
  209. package/MediaTailorClient.ts +0 -364
  210. package/commands/CreateChannelCommand.ts +0 -94
  211. package/commands/CreateProgramCommand.ts +0 -94
  212. package/commands/CreateSourceLocationCommand.ts +0 -94
  213. package/commands/CreateVodSourceCommand.ts +0 -94
  214. package/commands/DeleteChannelCommand.ts +0 -94
  215. package/commands/DeleteChannelPolicyCommand.ts +0 -94
  216. package/commands/DeletePlaybackConfigurationCommand.ts +0 -99
  217. package/commands/DeleteProgramCommand.ts +0 -94
  218. package/commands/DeleteSourceLocationCommand.ts +0 -94
  219. package/commands/DeleteVodSourceCommand.ts +0 -94
  220. package/commands/DescribeChannelCommand.ts +0 -94
  221. package/commands/DescribeProgramCommand.ts +0 -94
  222. package/commands/DescribeSourceLocationCommand.ts +0 -94
  223. package/commands/DescribeVodSourceCommand.ts +0 -94
  224. package/commands/GetChannelPolicyCommand.ts +0 -94
  225. package/commands/GetChannelScheduleCommand.ts +0 -94
  226. package/commands/GetPlaybackConfigurationCommand.ts +0 -94
  227. package/commands/ListAlertsCommand.ts +0 -94
  228. package/commands/ListChannelsCommand.ts +0 -94
  229. package/commands/ListPlaybackConfigurationsCommand.ts +0 -97
  230. package/commands/ListSourceLocationsCommand.ts +0 -94
  231. package/commands/ListTagsForResourceCommand.ts +0 -94
  232. package/commands/ListVodSourcesCommand.ts +0 -94
  233. package/commands/PutChannelPolicyCommand.ts +0 -94
  234. package/commands/PutPlaybackConfigurationCommand.ts +0 -94
  235. package/commands/StartChannelCommand.ts +0 -94
  236. package/commands/StopChannelCommand.ts +0 -94
  237. package/commands/TagResourceCommand.ts +0 -94
  238. package/commands/UntagResourceCommand.ts +0 -94
  239. package/commands/UpdateChannelCommand.ts +0 -94
  240. package/commands/UpdateSourceLocationCommand.ts +0 -94
  241. package/commands/UpdateVodSourceCommand.ts +0 -94
  242. package/dist/cjs/MediaTailor.js.map +0 -1
  243. package/dist/cjs/MediaTailorClient.js.map +0 -1
  244. package/dist/cjs/commands/CreateChannelCommand.js.map +0 -1
  245. package/dist/cjs/commands/CreateProgramCommand.js.map +0 -1
  246. package/dist/cjs/commands/CreateSourceLocationCommand.js.map +0 -1
  247. package/dist/cjs/commands/CreateVodSourceCommand.js.map +0 -1
  248. package/dist/cjs/commands/DeleteChannelCommand.js.map +0 -1
  249. package/dist/cjs/commands/DeleteChannelPolicyCommand.js.map +0 -1
  250. package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
  251. package/dist/cjs/commands/DeleteProgramCommand.js.map +0 -1
  252. package/dist/cjs/commands/DeleteSourceLocationCommand.js.map +0 -1
  253. package/dist/cjs/commands/DeleteVodSourceCommand.js.map +0 -1
  254. package/dist/cjs/commands/DescribeChannelCommand.js.map +0 -1
  255. package/dist/cjs/commands/DescribeProgramCommand.js.map +0 -1
  256. package/dist/cjs/commands/DescribeSourceLocationCommand.js.map +0 -1
  257. package/dist/cjs/commands/DescribeVodSourceCommand.js.map +0 -1
  258. package/dist/cjs/commands/GetChannelPolicyCommand.js.map +0 -1
  259. package/dist/cjs/commands/GetChannelScheduleCommand.js.map +0 -1
  260. package/dist/cjs/commands/GetPlaybackConfigurationCommand.js.map +0 -1
  261. package/dist/cjs/commands/ListAlertsCommand.js.map +0 -1
  262. package/dist/cjs/commands/ListChannelsCommand.js.map +0 -1
  263. package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
  264. package/dist/cjs/commands/ListSourceLocationsCommand.js.map +0 -1
  265. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  266. package/dist/cjs/commands/ListVodSourcesCommand.js.map +0 -1
  267. package/dist/cjs/commands/PutChannelPolicyCommand.js.map +0 -1
  268. package/dist/cjs/commands/PutPlaybackConfigurationCommand.js.map +0 -1
  269. package/dist/cjs/commands/StartChannelCommand.js.map +0 -1
  270. package/dist/cjs/commands/StopChannelCommand.js.map +0 -1
  271. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  272. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  273. package/dist/cjs/commands/UpdateChannelCommand.js.map +0 -1
  274. package/dist/cjs/commands/UpdateSourceLocationCommand.js.map +0 -1
  275. package/dist/cjs/commands/UpdateVodSourceCommand.js.map +0 -1
  276. package/dist/cjs/endpoints.js.map +0 -1
  277. package/dist/cjs/index.js.map +0 -1
  278. package/dist/cjs/models/index.js.map +0 -1
  279. package/dist/cjs/models/models_0.js.map +0 -1
  280. package/dist/cjs/package.json +0 -91
  281. package/dist/cjs/pagination/GetChannelSchedulePaginator.js.map +0 -1
  282. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  283. package/dist/cjs/pagination/ListAlertsPaginator.js.map +0 -1
  284. package/dist/cjs/pagination/ListChannelsPaginator.js.map +0 -1
  285. package/dist/cjs/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
  286. package/dist/cjs/pagination/ListSourceLocationsPaginator.js.map +0 -1
  287. package/dist/cjs/pagination/ListVodSourcesPaginator.js.map +0 -1
  288. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  289. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  290. package/dist/cjs/runtimeConfig.js.map +0 -1
  291. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  292. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  293. package/dist/es/MediaTailor.js.map +0 -1
  294. package/dist/es/MediaTailorClient.js.map +0 -1
  295. package/dist/es/commands/CreateChannelCommand.js.map +0 -1
  296. package/dist/es/commands/CreateProgramCommand.js.map +0 -1
  297. package/dist/es/commands/CreateSourceLocationCommand.js.map +0 -1
  298. package/dist/es/commands/CreateVodSourceCommand.js.map +0 -1
  299. package/dist/es/commands/DeleteChannelCommand.js.map +0 -1
  300. package/dist/es/commands/DeleteChannelPolicyCommand.js.map +0 -1
  301. package/dist/es/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
  302. package/dist/es/commands/DeleteProgramCommand.js.map +0 -1
  303. package/dist/es/commands/DeleteSourceLocationCommand.js.map +0 -1
  304. package/dist/es/commands/DeleteVodSourceCommand.js.map +0 -1
  305. package/dist/es/commands/DescribeChannelCommand.js.map +0 -1
  306. package/dist/es/commands/DescribeProgramCommand.js.map +0 -1
  307. package/dist/es/commands/DescribeSourceLocationCommand.js.map +0 -1
  308. package/dist/es/commands/DescribeVodSourceCommand.js.map +0 -1
  309. package/dist/es/commands/GetChannelPolicyCommand.js.map +0 -1
  310. package/dist/es/commands/GetChannelScheduleCommand.js.map +0 -1
  311. package/dist/es/commands/GetPlaybackConfigurationCommand.js.map +0 -1
  312. package/dist/es/commands/ListAlertsCommand.js.map +0 -1
  313. package/dist/es/commands/ListChannelsCommand.js.map +0 -1
  314. package/dist/es/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
  315. package/dist/es/commands/ListSourceLocationsCommand.js.map +0 -1
  316. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  317. package/dist/es/commands/ListVodSourcesCommand.js.map +0 -1
  318. package/dist/es/commands/PutChannelPolicyCommand.js.map +0 -1
  319. package/dist/es/commands/PutPlaybackConfigurationCommand.js.map +0 -1
  320. package/dist/es/commands/StartChannelCommand.js.map +0 -1
  321. package/dist/es/commands/StopChannelCommand.js.map +0 -1
  322. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  323. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  324. package/dist/es/commands/UpdateChannelCommand.js.map +0 -1
  325. package/dist/es/commands/UpdateSourceLocationCommand.js.map +0 -1
  326. package/dist/es/commands/UpdateVodSourceCommand.js.map +0 -1
  327. package/dist/es/endpoints.js.map +0 -1
  328. package/dist/es/index.js.map +0 -1
  329. package/dist/es/models/index.js +0 -2
  330. package/dist/es/models/index.js.map +0 -1
  331. package/dist/es/models/models_0.js.map +0 -1
  332. package/dist/es/package.json +0 -91
  333. package/dist/es/pagination/GetChannelSchedulePaginator.js.map +0 -1
  334. package/dist/es/pagination/Interfaces.js +0 -2
  335. package/dist/es/pagination/Interfaces.js.map +0 -1
  336. package/dist/es/pagination/ListAlertsPaginator.js.map +0 -1
  337. package/dist/es/pagination/ListChannelsPaginator.js.map +0 -1
  338. package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
  339. package/dist/es/pagination/ListSourceLocationsPaginator.js.map +0 -1
  340. package/dist/es/pagination/ListVodSourcesPaginator.js.map +0 -1
  341. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  342. package/dist/es/runtimeConfig.browser.js.map +0 -1
  343. package/dist/es/runtimeConfig.js.map +0 -1
  344. package/dist/es/runtimeConfig.native.js.map +0 -1
  345. package/dist/es/runtimeConfig.shared.js.map +0 -1
  346. package/endpoints.ts +0 -57
  347. package/index.ts +0 -42
  348. package/jest.config.js +0 -4
  349. package/models/models_0.ts +0 -2850
  350. package/pagination/GetChannelSchedulePaginator.ts +0 -58
  351. package/pagination/Interfaces.ts +0 -7
  352. package/pagination/ListAlertsPaginator.ts +0 -54
  353. package/pagination/ListChannelsPaginator.ts +0 -58
  354. package/pagination/ListPlaybackConfigurationsPaginator.ts +0 -58
  355. package/pagination/ListSourceLocationsPaginator.ts +0 -58
  356. package/pagination/ListVodSourcesPaginator.ts +0 -58
  357. package/protocols/Aws_restJson1.ts +0 -4103
  358. package/runtimeConfig.browser.ts +0 -40
  359. package/runtimeConfig.native.ts +0 -16
  360. package/runtimeConfig.shared.ts +0 -16
  361. package/runtimeConfig.ts +0 -45
  362. package/tsconfig.es.json +0 -12
  363. package/tsconfig.json +0 -32
package/MediaTailor.ts DELETED
@@ -1,1155 +0,0 @@
1
- import { MediaTailorClient } from "./MediaTailorClient";
2
- import {
3
- CreateChannelCommand,
4
- CreateChannelCommandInput,
5
- CreateChannelCommandOutput,
6
- } from "./commands/CreateChannelCommand";
7
- import {
8
- CreateProgramCommand,
9
- CreateProgramCommandInput,
10
- CreateProgramCommandOutput,
11
- } from "./commands/CreateProgramCommand";
12
- import {
13
- CreateSourceLocationCommand,
14
- CreateSourceLocationCommandInput,
15
- CreateSourceLocationCommandOutput,
16
- } from "./commands/CreateSourceLocationCommand";
17
- import {
18
- CreateVodSourceCommand,
19
- CreateVodSourceCommandInput,
20
- CreateVodSourceCommandOutput,
21
- } from "./commands/CreateVodSourceCommand";
22
- import {
23
- DeleteChannelCommand,
24
- DeleteChannelCommandInput,
25
- DeleteChannelCommandOutput,
26
- } from "./commands/DeleteChannelCommand";
27
- import {
28
- DeleteChannelPolicyCommand,
29
- DeleteChannelPolicyCommandInput,
30
- DeleteChannelPolicyCommandOutput,
31
- } from "./commands/DeleteChannelPolicyCommand";
32
- import {
33
- DeletePlaybackConfigurationCommand,
34
- DeletePlaybackConfigurationCommandInput,
35
- DeletePlaybackConfigurationCommandOutput,
36
- } from "./commands/DeletePlaybackConfigurationCommand";
37
- import {
38
- DeleteProgramCommand,
39
- DeleteProgramCommandInput,
40
- DeleteProgramCommandOutput,
41
- } from "./commands/DeleteProgramCommand";
42
- import {
43
- DeleteSourceLocationCommand,
44
- DeleteSourceLocationCommandInput,
45
- DeleteSourceLocationCommandOutput,
46
- } from "./commands/DeleteSourceLocationCommand";
47
- import {
48
- DeleteVodSourceCommand,
49
- DeleteVodSourceCommandInput,
50
- DeleteVodSourceCommandOutput,
51
- } from "./commands/DeleteVodSourceCommand";
52
- import {
53
- DescribeChannelCommand,
54
- DescribeChannelCommandInput,
55
- DescribeChannelCommandOutput,
56
- } from "./commands/DescribeChannelCommand";
57
- import {
58
- DescribeProgramCommand,
59
- DescribeProgramCommandInput,
60
- DescribeProgramCommandOutput,
61
- } from "./commands/DescribeProgramCommand";
62
- import {
63
- DescribeSourceLocationCommand,
64
- DescribeSourceLocationCommandInput,
65
- DescribeSourceLocationCommandOutput,
66
- } from "./commands/DescribeSourceLocationCommand";
67
- import {
68
- DescribeVodSourceCommand,
69
- DescribeVodSourceCommandInput,
70
- DescribeVodSourceCommandOutput,
71
- } from "./commands/DescribeVodSourceCommand";
72
- import {
73
- GetChannelPolicyCommand,
74
- GetChannelPolicyCommandInput,
75
- GetChannelPolicyCommandOutput,
76
- } from "./commands/GetChannelPolicyCommand";
77
- import {
78
- GetChannelScheduleCommand,
79
- GetChannelScheduleCommandInput,
80
- GetChannelScheduleCommandOutput,
81
- } from "./commands/GetChannelScheduleCommand";
82
- import {
83
- GetPlaybackConfigurationCommand,
84
- GetPlaybackConfigurationCommandInput,
85
- GetPlaybackConfigurationCommandOutput,
86
- } from "./commands/GetPlaybackConfigurationCommand";
87
- import { ListAlertsCommand, ListAlertsCommandInput, ListAlertsCommandOutput } from "./commands/ListAlertsCommand";
88
- import {
89
- ListChannelsCommand,
90
- ListChannelsCommandInput,
91
- ListChannelsCommandOutput,
92
- } from "./commands/ListChannelsCommand";
93
- import {
94
- ListPlaybackConfigurationsCommand,
95
- ListPlaybackConfigurationsCommandInput,
96
- ListPlaybackConfigurationsCommandOutput,
97
- } from "./commands/ListPlaybackConfigurationsCommand";
98
- import {
99
- ListSourceLocationsCommand,
100
- ListSourceLocationsCommandInput,
101
- ListSourceLocationsCommandOutput,
102
- } from "./commands/ListSourceLocationsCommand";
103
- import {
104
- ListTagsForResourceCommand,
105
- ListTagsForResourceCommandInput,
106
- ListTagsForResourceCommandOutput,
107
- } from "./commands/ListTagsForResourceCommand";
108
- import {
109
- ListVodSourcesCommand,
110
- ListVodSourcesCommandInput,
111
- ListVodSourcesCommandOutput,
112
- } from "./commands/ListVodSourcesCommand";
113
- import {
114
- PutChannelPolicyCommand,
115
- PutChannelPolicyCommandInput,
116
- PutChannelPolicyCommandOutput,
117
- } from "./commands/PutChannelPolicyCommand";
118
- import {
119
- PutPlaybackConfigurationCommand,
120
- PutPlaybackConfigurationCommandInput,
121
- PutPlaybackConfigurationCommandOutput,
122
- } from "./commands/PutPlaybackConfigurationCommand";
123
- import {
124
- StartChannelCommand,
125
- StartChannelCommandInput,
126
- StartChannelCommandOutput,
127
- } from "./commands/StartChannelCommand";
128
- import { StopChannelCommand, StopChannelCommandInput, StopChannelCommandOutput } from "./commands/StopChannelCommand";
129
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
130
- import {
131
- UntagResourceCommand,
132
- UntagResourceCommandInput,
133
- UntagResourceCommandOutput,
134
- } from "./commands/UntagResourceCommand";
135
- import {
136
- UpdateChannelCommand,
137
- UpdateChannelCommandInput,
138
- UpdateChannelCommandOutput,
139
- } from "./commands/UpdateChannelCommand";
140
- import {
141
- UpdateSourceLocationCommand,
142
- UpdateSourceLocationCommandInput,
143
- UpdateSourceLocationCommandOutput,
144
- } from "./commands/UpdateSourceLocationCommand";
145
- import {
146
- UpdateVodSourceCommand,
147
- UpdateVodSourceCommandInput,
148
- UpdateVodSourceCommandOutput,
149
- } from "./commands/UpdateVodSourceCommand";
150
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
151
-
152
- /**
153
- * <p>Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/">AWS Elemental MediaTailor User Guide</a>.</p> <p>Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</p>
154
- */
155
- export class MediaTailor extends MediaTailorClient {
156
- /**
157
- * <p>Creates a channel.</p>
158
- */
159
- public createChannel(
160
- args: CreateChannelCommandInput,
161
- options?: __HttpHandlerOptions
162
- ): Promise<CreateChannelCommandOutput>;
163
- public createChannel(
164
- args: CreateChannelCommandInput,
165
- cb: (err: any, data?: CreateChannelCommandOutput) => void
166
- ): void;
167
- public createChannel(
168
- args: CreateChannelCommandInput,
169
- options: __HttpHandlerOptions,
170
- cb: (err: any, data?: CreateChannelCommandOutput) => void
171
- ): void;
172
- public createChannel(
173
- args: CreateChannelCommandInput,
174
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateChannelCommandOutput) => void),
175
- cb?: (err: any, data?: CreateChannelCommandOutput) => void
176
- ): Promise<CreateChannelCommandOutput> | void {
177
- const command = new CreateChannelCommand(args);
178
- if (typeof optionsOrCb === "function") {
179
- this.send(command, optionsOrCb);
180
- } else if (typeof cb === "function") {
181
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
182
- this.send(command, optionsOrCb || {}, cb);
183
- } else {
184
- return this.send(command, optionsOrCb);
185
- }
186
- }
187
-
188
- /**
189
- * <p>Creates a program.</p>
190
- */
191
- public createProgram(
192
- args: CreateProgramCommandInput,
193
- options?: __HttpHandlerOptions
194
- ): Promise<CreateProgramCommandOutput>;
195
- public createProgram(
196
- args: CreateProgramCommandInput,
197
- cb: (err: any, data?: CreateProgramCommandOutput) => void
198
- ): void;
199
- public createProgram(
200
- args: CreateProgramCommandInput,
201
- options: __HttpHandlerOptions,
202
- cb: (err: any, data?: CreateProgramCommandOutput) => void
203
- ): void;
204
- public createProgram(
205
- args: CreateProgramCommandInput,
206
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProgramCommandOutput) => void),
207
- cb?: (err: any, data?: CreateProgramCommandOutput) => void
208
- ): Promise<CreateProgramCommandOutput> | void {
209
- const command = new CreateProgramCommand(args);
210
- if (typeof optionsOrCb === "function") {
211
- this.send(command, optionsOrCb);
212
- } else if (typeof cb === "function") {
213
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
214
- this.send(command, optionsOrCb || {}, cb);
215
- } else {
216
- return this.send(command, optionsOrCb);
217
- }
218
- }
219
-
220
- /**
221
- * <p>Creates a source location on a specific channel.</p>
222
- */
223
- public createSourceLocation(
224
- args: CreateSourceLocationCommandInput,
225
- options?: __HttpHandlerOptions
226
- ): Promise<CreateSourceLocationCommandOutput>;
227
- public createSourceLocation(
228
- args: CreateSourceLocationCommandInput,
229
- cb: (err: any, data?: CreateSourceLocationCommandOutput) => void
230
- ): void;
231
- public createSourceLocation(
232
- args: CreateSourceLocationCommandInput,
233
- options: __HttpHandlerOptions,
234
- cb: (err: any, data?: CreateSourceLocationCommandOutput) => void
235
- ): void;
236
- public createSourceLocation(
237
- args: CreateSourceLocationCommandInput,
238
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSourceLocationCommandOutput) => void),
239
- cb?: (err: any, data?: CreateSourceLocationCommandOutput) => void
240
- ): Promise<CreateSourceLocationCommandOutput> | void {
241
- const command = new CreateSourceLocationCommand(args);
242
- if (typeof optionsOrCb === "function") {
243
- this.send(command, optionsOrCb);
244
- } else if (typeof cb === "function") {
245
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
246
- this.send(command, optionsOrCb || {}, cb);
247
- } else {
248
- return this.send(command, optionsOrCb);
249
- }
250
- }
251
-
252
- /**
253
- * <p>Creates name for a specific VOD source in a source location.</p>
254
- */
255
- public createVodSource(
256
- args: CreateVodSourceCommandInput,
257
- options?: __HttpHandlerOptions
258
- ): Promise<CreateVodSourceCommandOutput>;
259
- public createVodSource(
260
- args: CreateVodSourceCommandInput,
261
- cb: (err: any, data?: CreateVodSourceCommandOutput) => void
262
- ): void;
263
- public createVodSource(
264
- args: CreateVodSourceCommandInput,
265
- options: __HttpHandlerOptions,
266
- cb: (err: any, data?: CreateVodSourceCommandOutput) => void
267
- ): void;
268
- public createVodSource(
269
- args: CreateVodSourceCommandInput,
270
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVodSourceCommandOutput) => void),
271
- cb?: (err: any, data?: CreateVodSourceCommandOutput) => void
272
- ): Promise<CreateVodSourceCommandOutput> | void {
273
- const command = new CreateVodSourceCommand(args);
274
- if (typeof optionsOrCb === "function") {
275
- this.send(command, optionsOrCb);
276
- } else if (typeof cb === "function") {
277
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
278
- this.send(command, optionsOrCb || {}, cb);
279
- } else {
280
- return this.send(command, optionsOrCb);
281
- }
282
- }
283
-
284
- /**
285
- * <p>Deletes a channel. You must stop the channel before it can be deleted.</p>
286
- */
287
- public deleteChannel(
288
- args: DeleteChannelCommandInput,
289
- options?: __HttpHandlerOptions
290
- ): Promise<DeleteChannelCommandOutput>;
291
- public deleteChannel(
292
- args: DeleteChannelCommandInput,
293
- cb: (err: any, data?: DeleteChannelCommandOutput) => void
294
- ): void;
295
- public deleteChannel(
296
- args: DeleteChannelCommandInput,
297
- options: __HttpHandlerOptions,
298
- cb: (err: any, data?: DeleteChannelCommandOutput) => void
299
- ): void;
300
- public deleteChannel(
301
- args: DeleteChannelCommandInput,
302
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteChannelCommandOutput) => void),
303
- cb?: (err: any, data?: DeleteChannelCommandOutput) => void
304
- ): Promise<DeleteChannelCommandOutput> | void {
305
- const command = new DeleteChannelCommand(args);
306
- if (typeof optionsOrCb === "function") {
307
- this.send(command, optionsOrCb);
308
- } else if (typeof cb === "function") {
309
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
310
- this.send(command, optionsOrCb || {}, cb);
311
- } else {
312
- return this.send(command, optionsOrCb);
313
- }
314
- }
315
-
316
- /**
317
- * <p>Deletes a channel's IAM policy.</p>
318
- */
319
- public deleteChannelPolicy(
320
- args: DeleteChannelPolicyCommandInput,
321
- options?: __HttpHandlerOptions
322
- ): Promise<DeleteChannelPolicyCommandOutput>;
323
- public deleteChannelPolicy(
324
- args: DeleteChannelPolicyCommandInput,
325
- cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void
326
- ): void;
327
- public deleteChannelPolicy(
328
- args: DeleteChannelPolicyCommandInput,
329
- options: __HttpHandlerOptions,
330
- cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void
331
- ): void;
332
- public deleteChannelPolicy(
333
- args: DeleteChannelPolicyCommandInput,
334
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteChannelPolicyCommandOutput) => void),
335
- cb?: (err: any, data?: DeleteChannelPolicyCommandOutput) => void
336
- ): Promise<DeleteChannelPolicyCommandOutput> | void {
337
- const command = new DeleteChannelPolicyCommand(args);
338
- if (typeof optionsOrCb === "function") {
339
- this.send(command, optionsOrCb);
340
- } else if (typeof cb === "function") {
341
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
342
- this.send(command, optionsOrCb || {}, cb);
343
- } else {
344
- return this.send(command, optionsOrCb);
345
- }
346
- }
347
-
348
- /**
349
- * <p>Deletes the playback configuration for the specified name.</p>
350
- */
351
- public deletePlaybackConfiguration(
352
- args: DeletePlaybackConfigurationCommandInput,
353
- options?: __HttpHandlerOptions
354
- ): Promise<DeletePlaybackConfigurationCommandOutput>;
355
- public deletePlaybackConfiguration(
356
- args: DeletePlaybackConfigurationCommandInput,
357
- cb: (err: any, data?: DeletePlaybackConfigurationCommandOutput) => void
358
- ): void;
359
- public deletePlaybackConfiguration(
360
- args: DeletePlaybackConfigurationCommandInput,
361
- options: __HttpHandlerOptions,
362
- cb: (err: any, data?: DeletePlaybackConfigurationCommandOutput) => void
363
- ): void;
364
- public deletePlaybackConfiguration(
365
- args: DeletePlaybackConfigurationCommandInput,
366
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePlaybackConfigurationCommandOutput) => void),
367
- cb?: (err: any, data?: DeletePlaybackConfigurationCommandOutput) => void
368
- ): Promise<DeletePlaybackConfigurationCommandOutput> | void {
369
- const command = new DeletePlaybackConfigurationCommand(args);
370
- if (typeof optionsOrCb === "function") {
371
- this.send(command, optionsOrCb);
372
- } else if (typeof cb === "function") {
373
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
374
- this.send(command, optionsOrCb || {}, cb);
375
- } else {
376
- return this.send(command, optionsOrCb);
377
- }
378
- }
379
-
380
- /**
381
- * <p>Deletes a specific program on a specific channel.</p>
382
- */
383
- public deleteProgram(
384
- args: DeleteProgramCommandInput,
385
- options?: __HttpHandlerOptions
386
- ): Promise<DeleteProgramCommandOutput>;
387
- public deleteProgram(
388
- args: DeleteProgramCommandInput,
389
- cb: (err: any, data?: DeleteProgramCommandOutput) => void
390
- ): void;
391
- public deleteProgram(
392
- args: DeleteProgramCommandInput,
393
- options: __HttpHandlerOptions,
394
- cb: (err: any, data?: DeleteProgramCommandOutput) => void
395
- ): void;
396
- public deleteProgram(
397
- args: DeleteProgramCommandInput,
398
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProgramCommandOutput) => void),
399
- cb?: (err: any, data?: DeleteProgramCommandOutput) => void
400
- ): Promise<DeleteProgramCommandOutput> | void {
401
- const command = new DeleteProgramCommand(args);
402
- if (typeof optionsOrCb === "function") {
403
- this.send(command, optionsOrCb);
404
- } else if (typeof cb === "function") {
405
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
406
- this.send(command, optionsOrCb || {}, cb);
407
- } else {
408
- return this.send(command, optionsOrCb);
409
- }
410
- }
411
-
412
- /**
413
- * <p>Deletes a source location on a specific channel.</p>
414
- */
415
- public deleteSourceLocation(
416
- args: DeleteSourceLocationCommandInput,
417
- options?: __HttpHandlerOptions
418
- ): Promise<DeleteSourceLocationCommandOutput>;
419
- public deleteSourceLocation(
420
- args: DeleteSourceLocationCommandInput,
421
- cb: (err: any, data?: DeleteSourceLocationCommandOutput) => void
422
- ): void;
423
- public deleteSourceLocation(
424
- args: DeleteSourceLocationCommandInput,
425
- options: __HttpHandlerOptions,
426
- cb: (err: any, data?: DeleteSourceLocationCommandOutput) => void
427
- ): void;
428
- public deleteSourceLocation(
429
- args: DeleteSourceLocationCommandInput,
430
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSourceLocationCommandOutput) => void),
431
- cb?: (err: any, data?: DeleteSourceLocationCommandOutput) => void
432
- ): Promise<DeleteSourceLocationCommandOutput> | void {
433
- const command = new DeleteSourceLocationCommand(args);
434
- if (typeof optionsOrCb === "function") {
435
- this.send(command, optionsOrCb);
436
- } else if (typeof cb === "function") {
437
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
438
- this.send(command, optionsOrCb || {}, cb);
439
- } else {
440
- return this.send(command, optionsOrCb);
441
- }
442
- }
443
-
444
- /**
445
- * <p>Deletes a specific VOD source in a specific source location.</p>
446
- */
447
- public deleteVodSource(
448
- args: DeleteVodSourceCommandInput,
449
- options?: __HttpHandlerOptions
450
- ): Promise<DeleteVodSourceCommandOutput>;
451
- public deleteVodSource(
452
- args: DeleteVodSourceCommandInput,
453
- cb: (err: any, data?: DeleteVodSourceCommandOutput) => void
454
- ): void;
455
- public deleteVodSource(
456
- args: DeleteVodSourceCommandInput,
457
- options: __HttpHandlerOptions,
458
- cb: (err: any, data?: DeleteVodSourceCommandOutput) => void
459
- ): void;
460
- public deleteVodSource(
461
- args: DeleteVodSourceCommandInput,
462
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVodSourceCommandOutput) => void),
463
- cb?: (err: any, data?: DeleteVodSourceCommandOutput) => void
464
- ): Promise<DeleteVodSourceCommandOutput> | void {
465
- const command = new DeleteVodSourceCommand(args);
466
- if (typeof optionsOrCb === "function") {
467
- this.send(command, optionsOrCb);
468
- } else if (typeof cb === "function") {
469
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
470
- this.send(command, optionsOrCb || {}, cb);
471
- } else {
472
- return this.send(command, optionsOrCb);
473
- }
474
- }
475
-
476
- /**
477
- * <p>Describes the properties of a specific channel.</p>
478
- */
479
- public describeChannel(
480
- args: DescribeChannelCommandInput,
481
- options?: __HttpHandlerOptions
482
- ): Promise<DescribeChannelCommandOutput>;
483
- public describeChannel(
484
- args: DescribeChannelCommandInput,
485
- cb: (err: any, data?: DescribeChannelCommandOutput) => void
486
- ): void;
487
- public describeChannel(
488
- args: DescribeChannelCommandInput,
489
- options: __HttpHandlerOptions,
490
- cb: (err: any, data?: DescribeChannelCommandOutput) => void
491
- ): void;
492
- public describeChannel(
493
- args: DescribeChannelCommandInput,
494
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeChannelCommandOutput) => void),
495
- cb?: (err: any, data?: DescribeChannelCommandOutput) => void
496
- ): Promise<DescribeChannelCommandOutput> | void {
497
- const command = new DescribeChannelCommand(args);
498
- if (typeof optionsOrCb === "function") {
499
- this.send(command, optionsOrCb);
500
- } else if (typeof cb === "function") {
501
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
502
- this.send(command, optionsOrCb || {}, cb);
503
- } else {
504
- return this.send(command, optionsOrCb);
505
- }
506
- }
507
-
508
- /**
509
- * <p>Retrieves the properties of the requested program.</p>
510
- */
511
- public describeProgram(
512
- args: DescribeProgramCommandInput,
513
- options?: __HttpHandlerOptions
514
- ): Promise<DescribeProgramCommandOutput>;
515
- public describeProgram(
516
- args: DescribeProgramCommandInput,
517
- cb: (err: any, data?: DescribeProgramCommandOutput) => void
518
- ): void;
519
- public describeProgram(
520
- args: DescribeProgramCommandInput,
521
- options: __HttpHandlerOptions,
522
- cb: (err: any, data?: DescribeProgramCommandOutput) => void
523
- ): void;
524
- public describeProgram(
525
- args: DescribeProgramCommandInput,
526
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProgramCommandOutput) => void),
527
- cb?: (err: any, data?: DescribeProgramCommandOutput) => void
528
- ): Promise<DescribeProgramCommandOutput> | void {
529
- const command = new DescribeProgramCommand(args);
530
- if (typeof optionsOrCb === "function") {
531
- this.send(command, optionsOrCb);
532
- } else if (typeof cb === "function") {
533
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
534
- this.send(command, optionsOrCb || {}, cb);
535
- } else {
536
- return this.send(command, optionsOrCb);
537
- }
538
- }
539
-
540
- /**
541
- * <p>Retrieves the properties of the requested source location.</p>
542
- */
543
- public describeSourceLocation(
544
- args: DescribeSourceLocationCommandInput,
545
- options?: __HttpHandlerOptions
546
- ): Promise<DescribeSourceLocationCommandOutput>;
547
- public describeSourceLocation(
548
- args: DescribeSourceLocationCommandInput,
549
- cb: (err: any, data?: DescribeSourceLocationCommandOutput) => void
550
- ): void;
551
- public describeSourceLocation(
552
- args: DescribeSourceLocationCommandInput,
553
- options: __HttpHandlerOptions,
554
- cb: (err: any, data?: DescribeSourceLocationCommandOutput) => void
555
- ): void;
556
- public describeSourceLocation(
557
- args: DescribeSourceLocationCommandInput,
558
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSourceLocationCommandOutput) => void),
559
- cb?: (err: any, data?: DescribeSourceLocationCommandOutput) => void
560
- ): Promise<DescribeSourceLocationCommandOutput> | void {
561
- const command = new DescribeSourceLocationCommand(args);
562
- if (typeof optionsOrCb === "function") {
563
- this.send(command, optionsOrCb);
564
- } else if (typeof cb === "function") {
565
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
566
- this.send(command, optionsOrCb || {}, cb);
567
- } else {
568
- return this.send(command, optionsOrCb);
569
- }
570
- }
571
-
572
- /**
573
- * <p>Provides details about a specific VOD source in a specific source location.</p>
574
- */
575
- public describeVodSource(
576
- args: DescribeVodSourceCommandInput,
577
- options?: __HttpHandlerOptions
578
- ): Promise<DescribeVodSourceCommandOutput>;
579
- public describeVodSource(
580
- args: DescribeVodSourceCommandInput,
581
- cb: (err: any, data?: DescribeVodSourceCommandOutput) => void
582
- ): void;
583
- public describeVodSource(
584
- args: DescribeVodSourceCommandInput,
585
- options: __HttpHandlerOptions,
586
- cb: (err: any, data?: DescribeVodSourceCommandOutput) => void
587
- ): void;
588
- public describeVodSource(
589
- args: DescribeVodSourceCommandInput,
590
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVodSourceCommandOutput) => void),
591
- cb?: (err: any, data?: DescribeVodSourceCommandOutput) => void
592
- ): Promise<DescribeVodSourceCommandOutput> | void {
593
- const command = new DescribeVodSourceCommand(args);
594
- if (typeof optionsOrCb === "function") {
595
- this.send(command, optionsOrCb);
596
- } else if (typeof cb === "function") {
597
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
598
- this.send(command, optionsOrCb || {}, cb);
599
- } else {
600
- return this.send(command, optionsOrCb);
601
- }
602
- }
603
-
604
- /**
605
- * <p>Retrieves information about a channel's IAM policy.</p>
606
- */
607
- public getChannelPolicy(
608
- args: GetChannelPolicyCommandInput,
609
- options?: __HttpHandlerOptions
610
- ): Promise<GetChannelPolicyCommandOutput>;
611
- public getChannelPolicy(
612
- args: GetChannelPolicyCommandInput,
613
- cb: (err: any, data?: GetChannelPolicyCommandOutput) => void
614
- ): void;
615
- public getChannelPolicy(
616
- args: GetChannelPolicyCommandInput,
617
- options: __HttpHandlerOptions,
618
- cb: (err: any, data?: GetChannelPolicyCommandOutput) => void
619
- ): void;
620
- public getChannelPolicy(
621
- args: GetChannelPolicyCommandInput,
622
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChannelPolicyCommandOutput) => void),
623
- cb?: (err: any, data?: GetChannelPolicyCommandOutput) => void
624
- ): Promise<GetChannelPolicyCommandOutput> | void {
625
- const command = new GetChannelPolicyCommand(args);
626
- if (typeof optionsOrCb === "function") {
627
- this.send(command, optionsOrCb);
628
- } else if (typeof cb === "function") {
629
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
630
- this.send(command, optionsOrCb || {}, cb);
631
- } else {
632
- return this.send(command, optionsOrCb);
633
- }
634
- }
635
-
636
- /**
637
- * <p>Retrieves information about your channel's schedule.</p>
638
- */
639
- public getChannelSchedule(
640
- args: GetChannelScheduleCommandInput,
641
- options?: __HttpHandlerOptions
642
- ): Promise<GetChannelScheduleCommandOutput>;
643
- public getChannelSchedule(
644
- args: GetChannelScheduleCommandInput,
645
- cb: (err: any, data?: GetChannelScheduleCommandOutput) => void
646
- ): void;
647
- public getChannelSchedule(
648
- args: GetChannelScheduleCommandInput,
649
- options: __HttpHandlerOptions,
650
- cb: (err: any, data?: GetChannelScheduleCommandOutput) => void
651
- ): void;
652
- public getChannelSchedule(
653
- args: GetChannelScheduleCommandInput,
654
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChannelScheduleCommandOutput) => void),
655
- cb?: (err: any, data?: GetChannelScheduleCommandOutput) => void
656
- ): Promise<GetChannelScheduleCommandOutput> | void {
657
- const command = new GetChannelScheduleCommand(args);
658
- if (typeof optionsOrCb === "function") {
659
- this.send(command, optionsOrCb);
660
- } else if (typeof cb === "function") {
661
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
662
- this.send(command, optionsOrCb || {}, cb);
663
- } else {
664
- return this.send(command, optionsOrCb);
665
- }
666
- }
667
-
668
- /**
669
- * <p>Returns the playback configuration for the specified name.</p>
670
- */
671
- public getPlaybackConfiguration(
672
- args: GetPlaybackConfigurationCommandInput,
673
- options?: __HttpHandlerOptions
674
- ): Promise<GetPlaybackConfigurationCommandOutput>;
675
- public getPlaybackConfiguration(
676
- args: GetPlaybackConfigurationCommandInput,
677
- cb: (err: any, data?: GetPlaybackConfigurationCommandOutput) => void
678
- ): void;
679
- public getPlaybackConfiguration(
680
- args: GetPlaybackConfigurationCommandInput,
681
- options: __HttpHandlerOptions,
682
- cb: (err: any, data?: GetPlaybackConfigurationCommandOutput) => void
683
- ): void;
684
- public getPlaybackConfiguration(
685
- args: GetPlaybackConfigurationCommandInput,
686
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPlaybackConfigurationCommandOutput) => void),
687
- cb?: (err: any, data?: GetPlaybackConfigurationCommandOutput) => void
688
- ): Promise<GetPlaybackConfigurationCommandOutput> | void {
689
- const command = new GetPlaybackConfigurationCommand(args);
690
- if (typeof optionsOrCb === "function") {
691
- this.send(command, optionsOrCb);
692
- } else if (typeof cb === "function") {
693
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
694
- this.send(command, optionsOrCb || {}, cb);
695
- } else {
696
- return this.send(command, optionsOrCb);
697
- }
698
- }
699
-
700
- /**
701
- * <p>Returns a list of alerts for the given resource.</p>
702
- */
703
- public listAlerts(args: ListAlertsCommandInput, options?: __HttpHandlerOptions): Promise<ListAlertsCommandOutput>;
704
- public listAlerts(args: ListAlertsCommandInput, cb: (err: any, data?: ListAlertsCommandOutput) => void): void;
705
- public listAlerts(
706
- args: ListAlertsCommandInput,
707
- options: __HttpHandlerOptions,
708
- cb: (err: any, data?: ListAlertsCommandOutput) => void
709
- ): void;
710
- public listAlerts(
711
- args: ListAlertsCommandInput,
712
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAlertsCommandOutput) => void),
713
- cb?: (err: any, data?: ListAlertsCommandOutput) => void
714
- ): Promise<ListAlertsCommandOutput> | void {
715
- const command = new ListAlertsCommand(args);
716
- if (typeof optionsOrCb === "function") {
717
- this.send(command, optionsOrCb);
718
- } else if (typeof cb === "function") {
719
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
720
- this.send(command, optionsOrCb || {}, cb);
721
- } else {
722
- return this.send(command, optionsOrCb);
723
- }
724
- }
725
-
726
- /**
727
- * <p>Retrieves a list of channels that are associated with this account.</p>
728
- */
729
- public listChannels(
730
- args: ListChannelsCommandInput,
731
- options?: __HttpHandlerOptions
732
- ): Promise<ListChannelsCommandOutput>;
733
- public listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
734
- public listChannels(
735
- args: ListChannelsCommandInput,
736
- options: __HttpHandlerOptions,
737
- cb: (err: any, data?: ListChannelsCommandOutput) => void
738
- ): void;
739
- public listChannels(
740
- args: ListChannelsCommandInput,
741
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListChannelsCommandOutput) => void),
742
- cb?: (err: any, data?: ListChannelsCommandOutput) => void
743
- ): Promise<ListChannelsCommandOutput> | void {
744
- const command = new ListChannelsCommand(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>Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.</p>
757
- */
758
- public listPlaybackConfigurations(
759
- args: ListPlaybackConfigurationsCommandInput,
760
- options?: __HttpHandlerOptions
761
- ): Promise<ListPlaybackConfigurationsCommandOutput>;
762
- public listPlaybackConfigurations(
763
- args: ListPlaybackConfigurationsCommandInput,
764
- cb: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void
765
- ): void;
766
- public listPlaybackConfigurations(
767
- args: ListPlaybackConfigurationsCommandInput,
768
- options: __HttpHandlerOptions,
769
- cb: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void
770
- ): void;
771
- public listPlaybackConfigurations(
772
- args: ListPlaybackConfigurationsCommandInput,
773
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPlaybackConfigurationsCommandOutput) => void),
774
- cb?: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void
775
- ): Promise<ListPlaybackConfigurationsCommandOutput> | void {
776
- const command = new ListPlaybackConfigurationsCommand(args);
777
- if (typeof optionsOrCb === "function") {
778
- this.send(command, optionsOrCb);
779
- } else if (typeof cb === "function") {
780
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
781
- this.send(command, optionsOrCb || {}, cb);
782
- } else {
783
- return this.send(command, optionsOrCb);
784
- }
785
- }
786
-
787
- /**
788
- * <p>Retrieves a list of source locations.</p>
789
- */
790
- public listSourceLocations(
791
- args: ListSourceLocationsCommandInput,
792
- options?: __HttpHandlerOptions
793
- ): Promise<ListSourceLocationsCommandOutput>;
794
- public listSourceLocations(
795
- args: ListSourceLocationsCommandInput,
796
- cb: (err: any, data?: ListSourceLocationsCommandOutput) => void
797
- ): void;
798
- public listSourceLocations(
799
- args: ListSourceLocationsCommandInput,
800
- options: __HttpHandlerOptions,
801
- cb: (err: any, data?: ListSourceLocationsCommandOutput) => void
802
- ): void;
803
- public listSourceLocations(
804
- args: ListSourceLocationsCommandInput,
805
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSourceLocationsCommandOutput) => void),
806
- cb?: (err: any, data?: ListSourceLocationsCommandOutput) => void
807
- ): Promise<ListSourceLocationsCommandOutput> | void {
808
- const command = new ListSourceLocationsCommand(args);
809
- if (typeof optionsOrCb === "function") {
810
- this.send(command, optionsOrCb);
811
- } else if (typeof cb === "function") {
812
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
813
- this.send(command, optionsOrCb || {}, cb);
814
- } else {
815
- return this.send(command, optionsOrCb);
816
- }
817
- }
818
-
819
- /**
820
- * <p>Returns a list of the tags assigned to the specified playback configuration resource.</p>
821
- */
822
- public listTagsForResource(
823
- args: ListTagsForResourceCommandInput,
824
- options?: __HttpHandlerOptions
825
- ): Promise<ListTagsForResourceCommandOutput>;
826
- public listTagsForResource(
827
- args: ListTagsForResourceCommandInput,
828
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
829
- ): void;
830
- public listTagsForResource(
831
- args: ListTagsForResourceCommandInput,
832
- options: __HttpHandlerOptions,
833
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
834
- ): void;
835
- public listTagsForResource(
836
- args: ListTagsForResourceCommandInput,
837
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
838
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
839
- ): Promise<ListTagsForResourceCommandOutput> | void {
840
- const command = new ListTagsForResourceCommand(args);
841
- if (typeof optionsOrCb === "function") {
842
- this.send(command, optionsOrCb);
843
- } else if (typeof cb === "function") {
844
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
845
- this.send(command, optionsOrCb || {}, cb);
846
- } else {
847
- return this.send(command, optionsOrCb);
848
- }
849
- }
850
-
851
- /**
852
- * <p>Lists all the VOD sources in a source location.</p>
853
- */
854
- public listVodSources(
855
- args: ListVodSourcesCommandInput,
856
- options?: __HttpHandlerOptions
857
- ): Promise<ListVodSourcesCommandOutput>;
858
- public listVodSources(
859
- args: ListVodSourcesCommandInput,
860
- cb: (err: any, data?: ListVodSourcesCommandOutput) => void
861
- ): void;
862
- public listVodSources(
863
- args: ListVodSourcesCommandInput,
864
- options: __HttpHandlerOptions,
865
- cb: (err: any, data?: ListVodSourcesCommandOutput) => void
866
- ): void;
867
- public listVodSources(
868
- args: ListVodSourcesCommandInput,
869
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVodSourcesCommandOutput) => void),
870
- cb?: (err: any, data?: ListVodSourcesCommandOutput) => void
871
- ): Promise<ListVodSourcesCommandOutput> | void {
872
- const command = new ListVodSourcesCommand(args);
873
- if (typeof optionsOrCb === "function") {
874
- this.send(command, optionsOrCb);
875
- } else if (typeof cb === "function") {
876
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
877
- this.send(command, optionsOrCb || {}, cb);
878
- } else {
879
- return this.send(command, optionsOrCb);
880
- }
881
- }
882
-
883
- /**
884
- * <p>Creates an IAM policy for the channel.</p>
885
- */
886
- public putChannelPolicy(
887
- args: PutChannelPolicyCommandInput,
888
- options?: __HttpHandlerOptions
889
- ): Promise<PutChannelPolicyCommandOutput>;
890
- public putChannelPolicy(
891
- args: PutChannelPolicyCommandInput,
892
- cb: (err: any, data?: PutChannelPolicyCommandOutput) => void
893
- ): void;
894
- public putChannelPolicy(
895
- args: PutChannelPolicyCommandInput,
896
- options: __HttpHandlerOptions,
897
- cb: (err: any, data?: PutChannelPolicyCommandOutput) => void
898
- ): void;
899
- public putChannelPolicy(
900
- args: PutChannelPolicyCommandInput,
901
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutChannelPolicyCommandOutput) => void),
902
- cb?: (err: any, data?: PutChannelPolicyCommandOutput) => void
903
- ): Promise<PutChannelPolicyCommandOutput> | void {
904
- const command = new PutChannelPolicyCommand(args);
905
- if (typeof optionsOrCb === "function") {
906
- this.send(command, optionsOrCb);
907
- } else if (typeof cb === "function") {
908
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
909
- this.send(command, optionsOrCb || {}, cb);
910
- } else {
911
- return this.send(command, optionsOrCb);
912
- }
913
- }
914
-
915
- /**
916
- * <p>Adds a new playback configuration to AWS Elemental MediaTailor.</p>
917
- */
918
- public putPlaybackConfiguration(
919
- args: PutPlaybackConfigurationCommandInput,
920
- options?: __HttpHandlerOptions
921
- ): Promise<PutPlaybackConfigurationCommandOutput>;
922
- public putPlaybackConfiguration(
923
- args: PutPlaybackConfigurationCommandInput,
924
- cb: (err: any, data?: PutPlaybackConfigurationCommandOutput) => void
925
- ): void;
926
- public putPlaybackConfiguration(
927
- args: PutPlaybackConfigurationCommandInput,
928
- options: __HttpHandlerOptions,
929
- cb: (err: any, data?: PutPlaybackConfigurationCommandOutput) => void
930
- ): void;
931
- public putPlaybackConfiguration(
932
- args: PutPlaybackConfigurationCommandInput,
933
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPlaybackConfigurationCommandOutput) => void),
934
- cb?: (err: any, data?: PutPlaybackConfigurationCommandOutput) => void
935
- ): Promise<PutPlaybackConfigurationCommandOutput> | void {
936
- const command = new PutPlaybackConfigurationCommand(args);
937
- if (typeof optionsOrCb === "function") {
938
- this.send(command, optionsOrCb);
939
- } else if (typeof cb === "function") {
940
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
941
- this.send(command, optionsOrCb || {}, cb);
942
- } else {
943
- return this.send(command, optionsOrCb);
944
- }
945
- }
946
-
947
- /**
948
- * <p>Starts a specific channel.</p>
949
- */
950
- public startChannel(
951
- args: StartChannelCommandInput,
952
- options?: __HttpHandlerOptions
953
- ): Promise<StartChannelCommandOutput>;
954
- public startChannel(args: StartChannelCommandInput, cb: (err: any, data?: StartChannelCommandOutput) => void): void;
955
- public startChannel(
956
- args: StartChannelCommandInput,
957
- options: __HttpHandlerOptions,
958
- cb: (err: any, data?: StartChannelCommandOutput) => void
959
- ): void;
960
- public startChannel(
961
- args: StartChannelCommandInput,
962
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartChannelCommandOutput) => void),
963
- cb?: (err: any, data?: StartChannelCommandOutput) => void
964
- ): Promise<StartChannelCommandOutput> | void {
965
- const command = new StartChannelCommand(args);
966
- if (typeof optionsOrCb === "function") {
967
- this.send(command, optionsOrCb);
968
- } else if (typeof cb === "function") {
969
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
970
- this.send(command, optionsOrCb || {}, cb);
971
- } else {
972
- return this.send(command, optionsOrCb);
973
- }
974
- }
975
-
976
- /**
977
- * <p>Stops a specific channel.</p>
978
- */
979
- public stopChannel(args: StopChannelCommandInput, options?: __HttpHandlerOptions): Promise<StopChannelCommandOutput>;
980
- public stopChannel(args: StopChannelCommandInput, cb: (err: any, data?: StopChannelCommandOutput) => void): void;
981
- public stopChannel(
982
- args: StopChannelCommandInput,
983
- options: __HttpHandlerOptions,
984
- cb: (err: any, data?: StopChannelCommandOutput) => void
985
- ): void;
986
- public stopChannel(
987
- args: StopChannelCommandInput,
988
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopChannelCommandOutput) => void),
989
- cb?: (err: any, data?: StopChannelCommandOutput) => void
990
- ): Promise<StopChannelCommandOutput> | void {
991
- const command = new StopChannelCommand(args);
992
- if (typeof optionsOrCb === "function") {
993
- this.send(command, optionsOrCb);
994
- } else if (typeof cb === "function") {
995
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
996
- this.send(command, optionsOrCb || {}, cb);
997
- } else {
998
- return this.send(command, optionsOrCb);
999
- }
1000
- }
1001
-
1002
- /**
1003
- * <p>Adds tags to the specified playback configuration resource. You can specify one or more tags to add.</p>
1004
- */
1005
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1006
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1007
- public tagResource(
1008
- args: TagResourceCommandInput,
1009
- options: __HttpHandlerOptions,
1010
- cb: (err: any, data?: TagResourceCommandOutput) => void
1011
- ): void;
1012
- public tagResource(
1013
- args: TagResourceCommandInput,
1014
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1015
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1016
- ): Promise<TagResourceCommandOutput> | void {
1017
- const command = new TagResourceCommand(args);
1018
- if (typeof optionsOrCb === "function") {
1019
- this.send(command, optionsOrCb);
1020
- } else if (typeof cb === "function") {
1021
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1022
- this.send(command, optionsOrCb || {}, cb);
1023
- } else {
1024
- return this.send(command, optionsOrCb);
1025
- }
1026
- }
1027
-
1028
- /**
1029
- * <p>Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.</p>
1030
- */
1031
- public untagResource(
1032
- args: UntagResourceCommandInput,
1033
- options?: __HttpHandlerOptions
1034
- ): Promise<UntagResourceCommandOutput>;
1035
- public untagResource(
1036
- args: UntagResourceCommandInput,
1037
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1038
- ): void;
1039
- public untagResource(
1040
- args: UntagResourceCommandInput,
1041
- options: __HttpHandlerOptions,
1042
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1043
- ): void;
1044
- public untagResource(
1045
- args: UntagResourceCommandInput,
1046
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1047
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1048
- ): Promise<UntagResourceCommandOutput> | void {
1049
- const command = new UntagResourceCommand(args);
1050
- if (typeof optionsOrCb === "function") {
1051
- this.send(command, optionsOrCb);
1052
- } else if (typeof cb === "function") {
1053
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1054
- this.send(command, optionsOrCb || {}, cb);
1055
- } else {
1056
- return this.send(command, optionsOrCb);
1057
- }
1058
- }
1059
-
1060
- /**
1061
- * <p>Updates an existing channel.</p>
1062
- */
1063
- public updateChannel(
1064
- args: UpdateChannelCommandInput,
1065
- options?: __HttpHandlerOptions
1066
- ): Promise<UpdateChannelCommandOutput>;
1067
- public updateChannel(
1068
- args: UpdateChannelCommandInput,
1069
- cb: (err: any, data?: UpdateChannelCommandOutput) => void
1070
- ): void;
1071
- public updateChannel(
1072
- args: UpdateChannelCommandInput,
1073
- options: __HttpHandlerOptions,
1074
- cb: (err: any, data?: UpdateChannelCommandOutput) => void
1075
- ): void;
1076
- public updateChannel(
1077
- args: UpdateChannelCommandInput,
1078
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateChannelCommandOutput) => void),
1079
- cb?: (err: any, data?: UpdateChannelCommandOutput) => void
1080
- ): Promise<UpdateChannelCommandOutput> | void {
1081
- const command = new UpdateChannelCommand(args);
1082
- if (typeof optionsOrCb === "function") {
1083
- this.send(command, optionsOrCb);
1084
- } else if (typeof cb === "function") {
1085
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1086
- this.send(command, optionsOrCb || {}, cb);
1087
- } else {
1088
- return this.send(command, optionsOrCb);
1089
- }
1090
- }
1091
-
1092
- /**
1093
- * <p>Updates a source location on a specific channel.</p>
1094
- */
1095
- public updateSourceLocation(
1096
- args: UpdateSourceLocationCommandInput,
1097
- options?: __HttpHandlerOptions
1098
- ): Promise<UpdateSourceLocationCommandOutput>;
1099
- public updateSourceLocation(
1100
- args: UpdateSourceLocationCommandInput,
1101
- cb: (err: any, data?: UpdateSourceLocationCommandOutput) => void
1102
- ): void;
1103
- public updateSourceLocation(
1104
- args: UpdateSourceLocationCommandInput,
1105
- options: __HttpHandlerOptions,
1106
- cb: (err: any, data?: UpdateSourceLocationCommandOutput) => void
1107
- ): void;
1108
- public updateSourceLocation(
1109
- args: UpdateSourceLocationCommandInput,
1110
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSourceLocationCommandOutput) => void),
1111
- cb?: (err: any, data?: UpdateSourceLocationCommandOutput) => void
1112
- ): Promise<UpdateSourceLocationCommandOutput> | void {
1113
- const command = new UpdateSourceLocationCommand(args);
1114
- if (typeof optionsOrCb === "function") {
1115
- this.send(command, optionsOrCb);
1116
- } else if (typeof cb === "function") {
1117
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1118
- this.send(command, optionsOrCb || {}, cb);
1119
- } else {
1120
- return this.send(command, optionsOrCb);
1121
- }
1122
- }
1123
-
1124
- /**
1125
- * <p>Updates a specific VOD source in a specific source location.</p>
1126
- */
1127
- public updateVodSource(
1128
- args: UpdateVodSourceCommandInput,
1129
- options?: __HttpHandlerOptions
1130
- ): Promise<UpdateVodSourceCommandOutput>;
1131
- public updateVodSource(
1132
- args: UpdateVodSourceCommandInput,
1133
- cb: (err: any, data?: UpdateVodSourceCommandOutput) => void
1134
- ): void;
1135
- public updateVodSource(
1136
- args: UpdateVodSourceCommandInput,
1137
- options: __HttpHandlerOptions,
1138
- cb: (err: any, data?: UpdateVodSourceCommandOutput) => void
1139
- ): void;
1140
- public updateVodSource(
1141
- args: UpdateVodSourceCommandInput,
1142
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVodSourceCommandOutput) => void),
1143
- cb?: (err: any, data?: UpdateVodSourceCommandOutput) => void
1144
- ): Promise<UpdateVodSourceCommandOutput> | void {
1145
- const command = new UpdateVodSourceCommand(args);
1146
- if (typeof optionsOrCb === "function") {
1147
- this.send(command, optionsOrCb);
1148
- } else if (typeof cb === "function") {
1149
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1150
- this.send(command, optionsOrCb || {}, cb);
1151
- } else {
1152
- return this.send(command, optionsOrCb);
1153
- }
1154
- }
1155
- }