@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
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,5 +1,5 @@
1
1
  import { __extends } from "tslib";
2
- import { MediaTailorClient } from "./MediaTailorClient";
2
+ import { ConfigureLogsForPlaybackConfigurationCommand, } from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
3
3
  import { CreateChannelCommand, } from "./commands/CreateChannelCommand";
4
4
  import { CreateProgramCommand, } from "./commands/CreateProgramCommand";
5
5
  import { CreateSourceLocationCommand, } from "./commands/CreateSourceLocationCommand";
@@ -32,14 +32,26 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
32
32
  import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
33
33
  import { UpdateSourceLocationCommand, } from "./commands/UpdateSourceLocationCommand";
34
34
  import { UpdateVodSourceCommand, } from "./commands/UpdateVodSourceCommand";
35
- /**
36
- * <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>
37
- */
38
- var MediaTailor = /** @class */ (function (_super) {
35
+ import { MediaTailorClient } from "./MediaTailorClient";
36
+ var MediaTailor = (function (_super) {
39
37
  __extends(MediaTailor, _super);
40
38
  function MediaTailor() {
41
39
  return _super !== null && _super.apply(this, arguments) || this;
42
40
  }
41
+ MediaTailor.prototype.configureLogsForPlaybackConfiguration = function (args, optionsOrCb, cb) {
42
+ var command = new ConfigureLogsForPlaybackConfigurationCommand(args);
43
+ if (typeof optionsOrCb === "function") {
44
+ this.send(command, optionsOrCb);
45
+ }
46
+ else if (typeof cb === "function") {
47
+ if (typeof optionsOrCb !== "object")
48
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
49
+ this.send(command, optionsOrCb || {}, cb);
50
+ }
51
+ else {
52
+ return this.send(command, optionsOrCb);
53
+ }
54
+ };
43
55
  MediaTailor.prototype.createChannel = function (args, optionsOrCb, cb) {
44
56
  var command = new CreateChannelCommand(args);
45
57
  if (typeof optionsOrCb === "function") {
@@ -491,4 +503,3 @@ var MediaTailor = /** @class */ (function (_super) {
491
503
  return MediaTailor;
492
504
  }(MediaTailorClient));
493
505
  export { MediaTailor };
494
- //# sourceMappingURL=MediaTailor.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,10 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <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>
13
- */
14
- var MediaTailorClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var MediaTailorClient = (function (_super) {
15
12
  __extends(MediaTailorClient, _super);
16
13
  function MediaTailorClient(configuration) {
17
14
  var _this = this;
@@ -32,15 +29,9 @@ var MediaTailorClient = /** @class */ (function (_super) {
32
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
33
30
  return _this;
34
31
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
32
  MediaTailorClient.prototype.destroy = function () {
41
33
  _super.prototype.destroy.call(this);
42
34
  };
43
35
  return MediaTailorClient;
44
36
  }(__Client));
45
37
  export { MediaTailorClient };
46
- //# sourceMappingURL=MediaTailorClient.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ConfigureLogsForPlaybackConfigurationRequest, ConfigureLogsForPlaybackConfigurationResponse, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand, serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ var ConfigureLogsForPlaybackConfigurationCommand = (function (_super) {
7
+ __extends(ConfigureLogsForPlaybackConfigurationCommand, _super);
8
+ function ConfigureLogsForPlaybackConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ConfigureLogsForPlaybackConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MediaTailorClient";
18
+ var commandName = "ConfigureLogsForPlaybackConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ConfigureLogsForPlaybackConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ConfigureLogsForPlaybackConfigurationResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ConfigureLogsForPlaybackConfigurationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand(input, context);
33
+ };
34
+ ConfigureLogsForPlaybackConfigurationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand(output, context);
36
+ };
37
+ return ConfigureLogsForPlaybackConfigurationCommand;
38
+ }($Command));
39
+ export { ConfigureLogsForPlaybackConfigurationCommand };
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a channel.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, CreateChannelCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, CreateChannelCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new CreateChannelCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateChannelCommandInput} for command's `input` shape.
19
- * @see {@link CreateChannelCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateChannelCommand = /** @class */ (function (_super) {
4
+ import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateChannelCommand = (function (_super) {
24
7
  __extends(CreateChannelCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateChannelCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateChannelCommand = /** @class */ (function (_super) {
62
37
  return CreateChannelCommand;
63
38
  }($Command));
64
39
  export { CreateChannelCommand };
65
- //# sourceMappingURL=CreateChannelCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateProgramRequest, CreateProgramResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateProgramCommand, serializeAws_restJson1CreateProgramCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a program.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, CreateProgramCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, CreateProgramCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new CreateProgramCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateProgramCommandInput} for command's `input` shape.
19
- * @see {@link CreateProgramCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateProgramCommand = /** @class */ (function (_super) {
4
+ import { CreateProgramRequest, CreateProgramResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateProgramCommand, serializeAws_restJson1CreateProgramCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateProgramCommand = (function (_super) {
24
7
  __extends(CreateProgramCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateProgramCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateProgramCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateProgramCommand = /** @class */ (function (_super) {
62
37
  return CreateProgramCommand;
63
38
  }($Command));
64
39
  export { CreateProgramCommand };
65
- //# sourceMappingURL=CreateProgramCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateSourceLocationRequest, CreateSourceLocationResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateSourceLocationCommand, serializeAws_restJson1CreateSourceLocationCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a source location on a specific channel.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, CreateSourceLocationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, CreateSourceLocationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new CreateSourceLocationCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateSourceLocationCommandInput} for command's `input` shape.
19
- * @see {@link CreateSourceLocationCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateSourceLocationCommand = /** @class */ (function (_super) {
4
+ import { CreateSourceLocationRequest, CreateSourceLocationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateSourceLocationCommand, serializeAws_restJson1CreateSourceLocationCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateSourceLocationCommand = (function (_super) {
24
7
  __extends(CreateSourceLocationCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateSourceLocationCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateSourceLocationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateSourceLocationCommand = /** @class */ (function (_super) {
62
37
  return CreateSourceLocationCommand;
63
38
  }($Command));
64
39
  export { CreateSourceLocationCommand };
65
- //# sourceMappingURL=CreateSourceLocationCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateVodSourceRequest, CreateVodSourceResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateVodSourceCommand, serializeAws_restJson1CreateVodSourceCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates name for a specific VOD source in a source location.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, CreateVodSourceCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, CreateVodSourceCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new CreateVodSourceCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link CreateVodSourceCommandInput} for command's `input` shape.
19
- * @see {@link CreateVodSourceCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var CreateVodSourceCommand = /** @class */ (function (_super) {
4
+ import { CreateVodSourceRequest, CreateVodSourceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateVodSourceCommand, serializeAws_restJson1CreateVodSourceCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateVodSourceCommand = (function (_super) {
24
7
  __extends(CreateVodSourceCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function CreateVodSourceCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  CreateVodSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var CreateVodSourceCommand = /** @class */ (function (_super) {
62
37
  return CreateVodSourceCommand;
63
38
  }($Command));
64
39
  export { CreateVodSourceCommand };
65
- //# sourceMappingURL=CreateVodSourceCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes a channel. You must stop the channel before it can be deleted.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, DeleteChannelCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, DeleteChannelCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new DeleteChannelCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteChannelCommandInput} for command's `input` shape.
19
- * @see {@link DeleteChannelCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteChannelCommand = /** @class */ (function (_super) {
4
+ import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteChannelCommand, serializeAws_restJson1DeleteChannelCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteChannelCommand = (function (_super) {
24
7
  __extends(DeleteChannelCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteChannelCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteChannelCommand = /** @class */ (function (_super) {
62
37
  return DeleteChannelCommand;
63
38
  }($Command));
64
39
  export { DeleteChannelCommand };
65
- //# sourceMappingURL=DeleteChannelCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteChannelPolicyRequest, DeleteChannelPolicyResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteChannelPolicyCommand, serializeAws_restJson1DeleteChannelPolicyCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes a channel's IAM policy.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, DeleteChannelPolicyCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, DeleteChannelPolicyCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new DeleteChannelPolicyCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteChannelPolicyCommandInput} for command's `input` shape.
19
- * @see {@link DeleteChannelPolicyCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteChannelPolicyCommand = /** @class */ (function (_super) {
4
+ import { DeleteChannelPolicyRequest, DeleteChannelPolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteChannelPolicyCommand, serializeAws_restJson1DeleteChannelPolicyCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteChannelPolicyCommand = (function (_super) {
24
7
  __extends(DeleteChannelPolicyCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteChannelPolicyCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteChannelPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteChannelPolicyCommand = /** @class */ (function (_super) {
62
37
  return DeleteChannelPolicyCommand;
63
38
  }($Command));
64
39
  export { DeleteChannelPolicyCommand };
65
- //# sourceMappingURL=DeleteChannelPolicyCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeletePlaybackConfigurationRequest, DeletePlaybackConfigurationResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DeletePlaybackConfigurationCommand, serializeAws_restJson1DeletePlaybackConfigurationCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes the playback configuration for the specified name.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, DeletePlaybackConfigurationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, DeletePlaybackConfigurationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new DeletePlaybackConfigurationCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeletePlaybackConfigurationCommandInput} for command's `input` shape.
19
- * @see {@link DeletePlaybackConfigurationCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeletePlaybackConfigurationCommand = /** @class */ (function (_super) {
4
+ import { DeletePlaybackConfigurationRequest, DeletePlaybackConfigurationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeletePlaybackConfigurationCommand, serializeAws_restJson1DeletePlaybackConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ var DeletePlaybackConfigurationCommand = (function (_super) {
24
7
  __extends(DeletePlaybackConfigurationCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeletePlaybackConfigurationCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeletePlaybackConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeletePlaybackConfigurationCommand = /** @class */ (function (_super) {
62
37
  return DeletePlaybackConfigurationCommand;
63
38
  }($Command));
64
39
  export { DeletePlaybackConfigurationCommand };
65
- //# sourceMappingURL=DeletePlaybackConfigurationCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteProgramRequest, DeleteProgramResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteProgramCommand, serializeAws_restJson1DeleteProgramCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes a specific program on a specific channel.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, DeleteProgramCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, DeleteProgramCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new DeleteProgramCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteProgramCommandInput} for command's `input` shape.
19
- * @see {@link DeleteProgramCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteProgramCommand = /** @class */ (function (_super) {
4
+ import { DeleteProgramRequest, DeleteProgramResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteProgramCommand, serializeAws_restJson1DeleteProgramCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteProgramCommand = (function (_super) {
24
7
  __extends(DeleteProgramCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteProgramCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteProgramCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteProgramCommand = /** @class */ (function (_super) {
62
37
  return DeleteProgramCommand;
63
38
  }($Command));
64
39
  export { DeleteProgramCommand };
65
- //# sourceMappingURL=DeleteProgramCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteSourceLocationRequest, DeleteSourceLocationResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteSourceLocationCommand, serializeAws_restJson1DeleteSourceLocationCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes a source location on a specific channel.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MediaTailorClient, DeleteSourceLocationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
12
- * // const { MediaTailorClient, DeleteSourceLocationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
13
- * const client = new MediaTailorClient(config);
14
- * const command = new DeleteSourceLocationCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteSourceLocationCommandInput} for command's `input` shape.
19
- * @see {@link DeleteSourceLocationCommandOutput} for command's `response` shape.
20
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteSourceLocationCommand = /** @class */ (function (_super) {
4
+ import { DeleteSourceLocationRequest, DeleteSourceLocationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteSourceLocationCommand, serializeAws_restJson1DeleteSourceLocationCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteSourceLocationCommand = (function (_super) {
24
7
  __extends(DeleteSourceLocationCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteSourceLocationCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteSourceLocationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteSourceLocationCommand = /** @class */ (function (_super) {
62
37
  return DeleteSourceLocationCommand;
63
38
  }($Command));
64
39
  export { DeleteSourceLocationCommand };
65
- //# sourceMappingURL=DeleteSourceLocationCommand.js.map