@aws-sdk/client-mediatailor 3.31.0 → 3.35.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 (463) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +7 -7
  3. package/{dist/cjs → dist-cjs}/MediaTailor.js +16 -1
  4. package/dist-cjs/MediaTailor.js.map +1 -0
  5. package/{dist/cjs → dist-cjs}/MediaTailorClient.js +14 -14
  6. package/dist-cjs/MediaTailorClient.js.map +1 -0
  7. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +61 -0
  8. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +1 -0
  9. package/{dist/cjs → dist-cjs}/commands/CreateChannelCommand.js +5 -5
  10. package/dist-cjs/commands/CreateChannelCommand.js.map +1 -0
  11. package/{dist/cjs → dist-cjs}/commands/CreateProgramCommand.js +5 -5
  12. package/dist-cjs/commands/CreateProgramCommand.js.map +1 -0
  13. package/{dist/cjs → dist-cjs}/commands/CreateSourceLocationCommand.js +5 -5
  14. package/dist-cjs/commands/CreateSourceLocationCommand.js.map +1 -0
  15. package/{dist/cjs → dist-cjs}/commands/CreateVodSourceCommand.js +5 -5
  16. package/dist-cjs/commands/CreateVodSourceCommand.js.map +1 -0
  17. package/{dist/cjs → dist-cjs}/commands/DeleteChannelCommand.js +5 -5
  18. package/dist-cjs/commands/DeleteChannelCommand.js.map +1 -0
  19. package/{dist/cjs → dist-cjs}/commands/DeleteChannelPolicyCommand.js +5 -5
  20. package/dist-cjs/commands/DeleteChannelPolicyCommand.js.map +1 -0
  21. package/{dist/cjs → dist-cjs}/commands/DeletePlaybackConfigurationCommand.js +5 -5
  22. package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js.map +1 -0
  23. package/{dist/cjs → dist-cjs}/commands/DeleteProgramCommand.js +5 -5
  24. package/dist-cjs/commands/DeleteProgramCommand.js.map +1 -0
  25. package/{dist/cjs → dist-cjs}/commands/DeleteSourceLocationCommand.js +5 -5
  26. package/dist-cjs/commands/DeleteSourceLocationCommand.js.map +1 -0
  27. package/{dist/cjs → dist-cjs}/commands/DeleteVodSourceCommand.js +5 -5
  28. package/dist-cjs/commands/DeleteVodSourceCommand.js.map +1 -0
  29. package/{dist/cjs → dist-cjs}/commands/DescribeChannelCommand.js +5 -5
  30. package/dist-cjs/commands/DescribeChannelCommand.js.map +1 -0
  31. package/{dist/cjs → dist-cjs}/commands/DescribeProgramCommand.js +5 -5
  32. package/dist-cjs/commands/DescribeProgramCommand.js.map +1 -0
  33. package/{dist/cjs → dist-cjs}/commands/DescribeSourceLocationCommand.js +5 -5
  34. package/dist-cjs/commands/DescribeSourceLocationCommand.js.map +1 -0
  35. package/{dist/cjs → dist-cjs}/commands/DescribeVodSourceCommand.js +5 -5
  36. package/dist-cjs/commands/DescribeVodSourceCommand.js.map +1 -0
  37. package/{dist/cjs → dist-cjs}/commands/GetChannelPolicyCommand.js +5 -5
  38. package/dist-cjs/commands/GetChannelPolicyCommand.js.map +1 -0
  39. package/{dist/cjs → dist-cjs}/commands/GetChannelScheduleCommand.js +5 -5
  40. package/dist-cjs/commands/GetChannelScheduleCommand.js.map +1 -0
  41. package/{dist/cjs → dist-cjs}/commands/GetPlaybackConfigurationCommand.js +5 -5
  42. package/dist-cjs/commands/GetPlaybackConfigurationCommand.js.map +1 -0
  43. package/{dist/cjs → dist-cjs}/commands/ListAlertsCommand.js +5 -5
  44. package/dist-cjs/commands/ListAlertsCommand.js.map +1 -0
  45. package/{dist/cjs → dist-cjs}/commands/ListChannelsCommand.js +5 -5
  46. package/dist-cjs/commands/ListChannelsCommand.js.map +1 -0
  47. package/{dist/cjs → dist-cjs}/commands/ListPlaybackConfigurationsCommand.js +5 -5
  48. package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js.map +1 -0
  49. package/{dist/cjs → dist-cjs}/commands/ListSourceLocationsCommand.js +5 -5
  50. package/dist-cjs/commands/ListSourceLocationsCommand.js.map +1 -0
  51. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
  52. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  53. package/{dist/cjs → dist-cjs}/commands/ListVodSourcesCommand.js +5 -5
  54. package/dist-cjs/commands/ListVodSourcesCommand.js.map +1 -0
  55. package/{dist/cjs → dist-cjs}/commands/PutChannelPolicyCommand.js +5 -5
  56. package/dist-cjs/commands/PutChannelPolicyCommand.js.map +1 -0
  57. package/{dist/cjs → dist-cjs}/commands/PutPlaybackConfigurationCommand.js +5 -5
  58. package/dist-cjs/commands/PutPlaybackConfigurationCommand.js.map +1 -0
  59. package/{dist/cjs → dist-cjs}/commands/StartChannelCommand.js +5 -5
  60. package/dist-cjs/commands/StartChannelCommand.js.map +1 -0
  61. package/{dist/cjs → dist-cjs}/commands/StopChannelCommand.js +5 -5
  62. package/dist-cjs/commands/StopChannelCommand.js.map +1 -0
  63. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  64. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  65. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  66. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  67. package/{dist/cjs → dist-cjs}/commands/UpdateChannelCommand.js +5 -5
  68. package/dist-cjs/commands/UpdateChannelCommand.js.map +1 -0
  69. package/{dist/cjs → dist-cjs}/commands/UpdateSourceLocationCommand.js +5 -5
  70. package/dist-cjs/commands/UpdateSourceLocationCommand.js.map +1 -0
  71. package/{dist/cjs → dist-cjs}/commands/UpdateVodSourceCommand.js +5 -5
  72. package/dist-cjs/commands/UpdateVodSourceCommand.js.map +1 -0
  73. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  74. package/dist-cjs/endpoints.js.map +1 -0
  75. package/dist-cjs/index.js +47 -0
  76. package/dist-cjs/index.js.map +1 -0
  77. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  78. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  79. package/{dist/cjs → dist-cjs}/models/models_0.js +30 -3
  80. package/dist-cjs/models/models_0.js.map +1 -0
  81. package/{dist/cjs → dist-cjs}/pagination/GetChannelSchedulePaginator.js +1 -1
  82. package/dist-cjs/pagination/GetChannelSchedulePaginator.js.map +1 -0
  83. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  84. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  85. package/{dist/cjs → dist-cjs}/pagination/ListAlertsPaginator.js +1 -1
  86. package/dist-cjs/pagination/ListAlertsPaginator.js.map +1 -0
  87. package/{dist/cjs → dist-cjs}/pagination/ListChannelsPaginator.js +1 -1
  88. package/dist-cjs/pagination/ListChannelsPaginator.js.map +1 -0
  89. package/{dist/cjs → dist-cjs}/pagination/ListPlaybackConfigurationsPaginator.js +1 -1
  90. package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js.map +1 -0
  91. package/{dist/cjs → dist-cjs}/pagination/ListSourceLocationsPaginator.js +1 -1
  92. package/dist-cjs/pagination/ListSourceLocationsPaginator.js.map +1 -0
  93. package/{dist/cjs → dist-cjs}/pagination/ListVodSourcesPaginator.js +1 -1
  94. package/dist-cjs/pagination/ListVodSourcesPaginator.js.map +1 -0
  95. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +311 -227
  96. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  97. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  98. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  99. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  100. package/dist-cjs/runtimeConfig.js.map +1 -0
  101. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  102. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  103. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  104. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  105. package/{dist/es → dist-es}/MediaTailor.js +17 -5
  106. package/dist-es/MediaTailor.js.map +1 -0
  107. package/{dist/es → dist-es}/MediaTailorClient.js +2 -10
  108. package/dist-es/MediaTailorClient.js.map +1 -0
  109. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +40 -0
  110. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +1 -0
  111. package/{dist/es → dist-es}/commands/CreateChannelCommand.js +4 -29
  112. package/dist-es/commands/CreateChannelCommand.js.map +1 -0
  113. package/{dist/es → dist-es}/commands/CreateProgramCommand.js +4 -29
  114. package/dist-es/commands/CreateProgramCommand.js.map +1 -0
  115. package/{dist/es → dist-es}/commands/CreateSourceLocationCommand.js +4 -29
  116. package/dist-es/commands/CreateSourceLocationCommand.js.map +1 -0
  117. package/{dist/es → dist-es}/commands/CreateVodSourceCommand.js +4 -29
  118. package/dist-es/commands/CreateVodSourceCommand.js.map +1 -0
  119. package/{dist/es → dist-es}/commands/DeleteChannelCommand.js +4 -29
  120. package/dist-es/commands/DeleteChannelCommand.js.map +1 -0
  121. package/{dist/es → dist-es}/commands/DeleteChannelPolicyCommand.js +4 -29
  122. package/dist-es/commands/DeleteChannelPolicyCommand.js.map +1 -0
  123. package/{dist/es → dist-es}/commands/DeletePlaybackConfigurationCommand.js +4 -29
  124. package/dist-es/commands/DeletePlaybackConfigurationCommand.js.map +1 -0
  125. package/{dist/es → dist-es}/commands/DeleteProgramCommand.js +4 -29
  126. package/dist-es/commands/DeleteProgramCommand.js.map +1 -0
  127. package/{dist/es → dist-es}/commands/DeleteSourceLocationCommand.js +4 -29
  128. package/dist-es/commands/DeleteSourceLocationCommand.js.map +1 -0
  129. package/{dist/es → dist-es}/commands/DeleteVodSourceCommand.js +4 -29
  130. package/dist-es/commands/DeleteVodSourceCommand.js.map +1 -0
  131. package/{dist/es → dist-es}/commands/DescribeChannelCommand.js +4 -29
  132. package/dist-es/commands/DescribeChannelCommand.js.map +1 -0
  133. package/{dist/es → dist-es}/commands/DescribeProgramCommand.js +4 -29
  134. package/dist-es/commands/DescribeProgramCommand.js.map +1 -0
  135. package/{dist/es → dist-es}/commands/DescribeSourceLocationCommand.js +4 -29
  136. package/dist-es/commands/DescribeSourceLocationCommand.js.map +1 -0
  137. package/{dist/es → dist-es}/commands/DescribeVodSourceCommand.js +4 -29
  138. package/dist-es/commands/DescribeVodSourceCommand.js.map +1 -0
  139. package/{dist/es → dist-es}/commands/GetChannelPolicyCommand.js +4 -29
  140. package/dist-es/commands/GetChannelPolicyCommand.js.map +1 -0
  141. package/{dist/es → dist-es}/commands/GetChannelScheduleCommand.js +4 -29
  142. package/dist-es/commands/GetChannelScheduleCommand.js.map +1 -0
  143. package/{dist/es → dist-es}/commands/GetPlaybackConfigurationCommand.js +4 -29
  144. package/dist-es/commands/GetPlaybackConfigurationCommand.js.map +1 -0
  145. package/{dist/es → dist-es}/commands/ListAlertsCommand.js +4 -29
  146. package/dist-es/commands/ListAlertsCommand.js.map +1 -0
  147. package/{dist/es → dist-es}/commands/ListChannelsCommand.js +4 -29
  148. package/dist-es/commands/ListChannelsCommand.js.map +1 -0
  149. package/{dist/es → dist-es}/commands/ListPlaybackConfigurationsCommand.js +4 -29
  150. package/dist-es/commands/ListPlaybackConfigurationsCommand.js.map +1 -0
  151. package/{dist/es → dist-es}/commands/ListSourceLocationsCommand.js +4 -29
  152. package/dist-es/commands/ListSourceLocationsCommand.js.map +1 -0
  153. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -29
  154. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  155. package/{dist/es → dist-es}/commands/ListVodSourcesCommand.js +4 -29
  156. package/dist-es/commands/ListVodSourcesCommand.js.map +1 -0
  157. package/{dist/es → dist-es}/commands/PutChannelPolicyCommand.js +4 -29
  158. package/dist-es/commands/PutChannelPolicyCommand.js.map +1 -0
  159. package/{dist/es → dist-es}/commands/PutPlaybackConfigurationCommand.js +4 -29
  160. package/dist-es/commands/PutPlaybackConfigurationCommand.js.map +1 -0
  161. package/{dist/es → dist-es}/commands/StartChannelCommand.js +4 -29
  162. package/dist-es/commands/StartChannelCommand.js.map +1 -0
  163. package/{dist/es → dist-es}/commands/StopChannelCommand.js +4 -29
  164. package/dist-es/commands/StopChannelCommand.js.map +1 -0
  165. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -29
  166. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  167. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
  168. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  169. package/{dist/es → dist-es}/commands/UpdateChannelCommand.js +4 -29
  170. package/dist-es/commands/UpdateChannelCommand.js.map +1 -0
  171. package/{dist/es → dist-es}/commands/UpdateSourceLocationCommand.js +4 -29
  172. package/dist-es/commands/UpdateSourceLocationCommand.js.map +1 -0
  173. package/{dist/es → dist-es}/commands/UpdateVodSourceCommand.js +4 -29
  174. package/dist-es/commands/UpdateVodSourceCommand.js.map +1 -0
  175. package/{dist/es → dist-es}/endpoints.js +1 -1
  176. package/dist-es/endpoints.js.map +1 -0
  177. package/{dist/es → dist-es}/index.js +1 -0
  178. package/dist-es/index.js.map +1 -0
  179. package/{dist/es → dist-es}/models/index.js +0 -0
  180. package/dist-es/models/index.js.map +1 -0
  181. package/{dist/es → dist-es}/models/models_0.js +12 -279
  182. package/dist-es/models/models_0.js.map +1 -0
  183. package/{dist/es → dist-es}/pagination/GetChannelSchedulePaginator.js +17 -29
  184. package/dist-es/pagination/GetChannelSchedulePaginator.js.map +1 -0
  185. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  186. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  187. package/{dist/es → dist-es}/pagination/ListAlertsPaginator.js +17 -29
  188. package/dist-es/pagination/ListAlertsPaginator.js.map +1 -0
  189. package/{dist/es → dist-es}/pagination/ListChannelsPaginator.js +17 -29
  190. package/dist-es/pagination/ListChannelsPaginator.js.map +1 -0
  191. package/{dist/es → dist-es}/pagination/ListPlaybackConfigurationsPaginator.js +17 -29
  192. package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js.map +1 -0
  193. package/{dist/es → dist-es}/pagination/ListSourceLocationsPaginator.js +17 -29
  194. package/dist-es/pagination/ListSourceLocationsPaginator.js.map +1 -0
  195. package/{dist/es → dist-es}/pagination/ListVodSourcesPaginator.js +17 -29
  196. package/dist-es/pagination/ListVodSourcesPaginator.js.map +1 -0
  197. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +336 -245
  198. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  199. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  200. package/dist-es/runtimeConfig.browser.js.map +1 -0
  201. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  202. package/dist-es/runtimeConfig.js.map +1 -0
  203. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  204. package/dist-es/runtimeConfig.native.js.map +1 -0
  205. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  206. package/dist-es/runtimeConfig.shared.js.map +1 -0
  207. package/{dist/types → dist-types}/MediaTailor.d.ts +9 -2
  208. package/{dist/types/ts3.4 → dist-types}/MediaTailorClient.d.ts +165 -164
  209. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
  210. package/{dist/types → dist-types}/commands/CreateChannelCommand.d.ts +2 -2
  211. package/{dist/types → dist-types}/commands/CreateProgramCommand.d.ts +2 -2
  212. package/{dist/types → dist-types}/commands/CreateSourceLocationCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/commands/CreateVodSourceCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/commands/DeleteChannelCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/commands/DeleteChannelPolicyCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/commands/DeletePlaybackConfigurationCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/commands/DeleteProgramCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/commands/DeleteSourceLocationCommand.d.ts +2 -2
  219. package/{dist/types → dist-types}/commands/DeleteVodSourceCommand.d.ts +2 -2
  220. package/{dist/types → dist-types}/commands/DescribeChannelCommand.d.ts +2 -2
  221. package/{dist/types → dist-types}/commands/DescribeProgramCommand.d.ts +2 -2
  222. package/{dist/types → dist-types}/commands/DescribeSourceLocationCommand.d.ts +2 -2
  223. package/{dist/types → dist-types}/commands/DescribeVodSourceCommand.d.ts +2 -2
  224. package/{dist/types → dist-types}/commands/GetChannelPolicyCommand.d.ts +2 -2
  225. package/{dist/types → dist-types}/commands/GetChannelScheduleCommand.d.ts +2 -2
  226. package/{dist/types → dist-types}/commands/GetPlaybackConfigurationCommand.d.ts +2 -2
  227. package/{dist/types → dist-types}/commands/ListAlertsCommand.d.ts +2 -2
  228. package/{dist/types → dist-types}/commands/ListChannelsCommand.d.ts +2 -2
  229. package/{dist/types → dist-types}/commands/ListPlaybackConfigurationsCommand.d.ts +2 -2
  230. package/{dist/types → dist-types}/commands/ListSourceLocationsCommand.d.ts +2 -2
  231. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  232. package/{dist/types → dist-types}/commands/ListVodSourcesCommand.d.ts +2 -2
  233. package/{dist/types → dist-types}/commands/PutChannelPolicyCommand.d.ts +2 -2
  234. package/{dist/types → dist-types}/commands/PutPlaybackConfigurationCommand.d.ts +2 -2
  235. package/{dist/types → dist-types}/commands/StartChannelCommand.d.ts +2 -2
  236. package/{dist/types → dist-types}/commands/StopChannelCommand.d.ts +2 -2
  237. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  238. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  239. package/{dist/types → dist-types}/commands/UpdateChannelCommand.d.ts +2 -2
  240. package/{dist/types → dist-types}/commands/UpdateSourceLocationCommand.d.ts +2 -2
  241. package/{dist/types → dist-types}/commands/UpdateVodSourceCommand.d.ts +2 -2
  242. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  243. package/{dist/types/ts3.4 → dist-types}/index.d.ts +43 -42
  244. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  245. package/{dist/types → dist-types}/models/models_0.d.ts +63 -1
  246. package/{dist/types → dist-types}/pagination/GetChannelSchedulePaginator.d.ts +1 -1
  247. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  248. package/{dist/types → dist-types}/pagination/ListAlertsPaginator.d.ts +1 -1
  249. package/{dist/types → dist-types}/pagination/ListChannelsPaginator.d.ts +1 -1
  250. package/{dist/types → dist-types}/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
  251. package/{dist/types → dist-types}/pagination/ListSourceLocationsPaginator.d.ts +1 -1
  252. package/{dist/types → dist-types}/pagination/ListVodSourcesPaginator.d.ts +1 -1
  253. package/{dist/types/ts3.4 → dist-types}/protocols/Aws_restJson1.d.ts +101 -98
  254. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  255. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  256. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  257. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  258. package/{dist/types → dist-types}/ts3.4/MediaTailor.d.ts +9 -2
  259. package/{dist/types → dist-types/ts3.4}/MediaTailorClient.d.ts +165 -164
  260. package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
  261. package/{dist/types → dist-types}/ts3.4/commands/CreateChannelCommand.d.ts +2 -2
  262. package/{dist/types → dist-types}/ts3.4/commands/CreateProgramCommand.d.ts +2 -2
  263. package/{dist/types → dist-types}/ts3.4/commands/CreateSourceLocationCommand.d.ts +2 -2
  264. package/{dist/types → dist-types}/ts3.4/commands/CreateVodSourceCommand.d.ts +2 -2
  265. package/{dist/types → dist-types}/ts3.4/commands/DeleteChannelCommand.d.ts +2 -2
  266. package/{dist/types → dist-types}/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +2 -2
  267. package/{dist/types → dist-types}/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +2 -2
  268. package/{dist/types → dist-types}/ts3.4/commands/DeleteProgramCommand.d.ts +2 -2
  269. package/{dist/types → dist-types}/ts3.4/commands/DeleteSourceLocationCommand.d.ts +2 -2
  270. package/{dist/types → dist-types}/ts3.4/commands/DeleteVodSourceCommand.d.ts +2 -2
  271. package/{dist/types → dist-types}/ts3.4/commands/DescribeChannelCommand.d.ts +2 -2
  272. package/{dist/types → dist-types}/ts3.4/commands/DescribeProgramCommand.d.ts +2 -2
  273. package/{dist/types → dist-types}/ts3.4/commands/DescribeSourceLocationCommand.d.ts +2 -2
  274. package/{dist/types → dist-types}/ts3.4/commands/DescribeVodSourceCommand.d.ts +2 -2
  275. package/{dist/types → dist-types}/ts3.4/commands/GetChannelPolicyCommand.d.ts +2 -2
  276. package/{dist/types → dist-types}/ts3.4/commands/GetChannelScheduleCommand.d.ts +2 -2
  277. package/{dist/types → dist-types}/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +2 -2
  278. package/{dist/types → dist-types}/ts3.4/commands/ListAlertsCommand.d.ts +2 -2
  279. package/{dist/types → dist-types}/ts3.4/commands/ListChannelsCommand.d.ts +2 -2
  280. package/{dist/types → dist-types}/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +2 -2
  281. package/{dist/types → dist-types}/ts3.4/commands/ListSourceLocationsCommand.d.ts +2 -2
  282. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  283. package/{dist/types → dist-types}/ts3.4/commands/ListVodSourcesCommand.d.ts +2 -2
  284. package/{dist/types → dist-types}/ts3.4/commands/PutChannelPolicyCommand.d.ts +2 -2
  285. package/{dist/types → dist-types}/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +2 -2
  286. package/{dist/types → dist-types}/ts3.4/commands/StartChannelCommand.d.ts +2 -2
  287. package/{dist/types → dist-types}/ts3.4/commands/StopChannelCommand.d.ts +2 -2
  288. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  289. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  290. package/{dist/types → dist-types}/ts3.4/commands/UpdateChannelCommand.d.ts +2 -2
  291. package/{dist/types → dist-types}/ts3.4/commands/UpdateSourceLocationCommand.d.ts +2 -2
  292. package/{dist/types → dist-types}/ts3.4/commands/UpdateVodSourceCommand.d.ts +2 -2
  293. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  294. package/{dist/types → dist-types/ts3.4}/index.d.ts +43 -42
  295. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  296. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +63 -1
  297. package/{dist/types → dist-types}/ts3.4/pagination/GetChannelSchedulePaginator.d.ts +1 -1
  298. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  299. package/{dist/types → dist-types}/ts3.4/pagination/ListAlertsPaginator.d.ts +1 -1
  300. package/{dist/types → dist-types}/ts3.4/pagination/ListChannelsPaginator.d.ts +1 -1
  301. package/{dist/types → dist-types}/ts3.4/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
  302. package/{dist/types → dist-types}/ts3.4/pagination/ListSourceLocationsPaginator.d.ts +1 -1
  303. package/{dist/types → dist-types}/ts3.4/pagination/ListVodSourcesPaginator.d.ts +1 -1
  304. package/{dist/types → dist-types/ts3.4}/protocols/Aws_restJson1.d.ts +101 -98
  305. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  306. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  307. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  308. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  309. package/package.json +50 -50
  310. package/{MediaTailor.ts → src/MediaTailor.ts} +42 -2
  311. package/{MediaTailorClient.ts → src/MediaTailorClient.ts} +64 -57
  312. package/src/commands/ConfigureLogsForPlaybackConfigurationCommand.ts +107 -0
  313. package/{commands → src/commands}/CreateChannelCommand.ts +8 -7
  314. package/{commands → src/commands}/CreateProgramCommand.ts +8 -7
  315. package/{commands → src/commands}/CreateSourceLocationCommand.ts +8 -7
  316. package/{commands → src/commands}/CreateVodSourceCommand.ts +8 -7
  317. package/{commands → src/commands}/DeleteChannelCommand.ts +8 -7
  318. package/{commands → src/commands}/DeleteChannelPolicyCommand.ts +8 -7
  319. package/{commands → src/commands}/DeletePlaybackConfigurationCommand.ts +8 -7
  320. package/{commands → src/commands}/DeleteProgramCommand.ts +8 -7
  321. package/{commands → src/commands}/DeleteSourceLocationCommand.ts +8 -7
  322. package/{commands → src/commands}/DeleteVodSourceCommand.ts +8 -7
  323. package/{commands → src/commands}/DescribeChannelCommand.ts +8 -7
  324. package/{commands → src/commands}/DescribeProgramCommand.ts +8 -7
  325. package/{commands → src/commands}/DescribeSourceLocationCommand.ts +8 -7
  326. package/{commands → src/commands}/DescribeVodSourceCommand.ts +8 -7
  327. package/{commands → src/commands}/GetChannelPolicyCommand.ts +8 -7
  328. package/{commands → src/commands}/GetChannelScheduleCommand.ts +8 -7
  329. package/{commands → src/commands}/GetPlaybackConfigurationCommand.ts +8 -7
  330. package/{commands → src/commands}/ListAlertsCommand.ts +8 -7
  331. package/{commands → src/commands}/ListChannelsCommand.ts +8 -7
  332. package/{commands → src/commands}/ListPlaybackConfigurationsCommand.ts +8 -7
  333. package/{commands → src/commands}/ListSourceLocationsCommand.ts +8 -7
  334. package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
  335. package/{commands → src/commands}/ListVodSourcesCommand.ts +8 -7
  336. package/{commands → src/commands}/PutChannelPolicyCommand.ts +8 -7
  337. package/{commands → src/commands}/PutPlaybackConfigurationCommand.ts +8 -7
  338. package/{commands → src/commands}/StartChannelCommand.ts +8 -7
  339. package/{commands → src/commands}/StopChannelCommand.ts +8 -7
  340. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  341. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  342. package/{commands → src/commands}/UpdateChannelCommand.ts +8 -7
  343. package/{commands → src/commands}/UpdateSourceLocationCommand.ts +8 -7
  344. package/{commands → src/commands}/UpdateVodSourceCommand.ts +8 -7
  345. package/{endpoints.ts → src/endpoints.ts} +1 -1
  346. package/{index.ts → src/index.ts} +1 -0
  347. package/{models → src/models}/index.ts +0 -0
  348. package/{models → src/models}/models_0.ts +80 -1
  349. package/{pagination → src/pagination}/GetChannelSchedulePaginator.ts +4 -3
  350. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  351. package/{pagination → src/pagination}/ListAlertsPaginator.ts +3 -2
  352. package/{pagination → src/pagination}/ListChannelsPaginator.ts +4 -3
  353. package/{pagination → src/pagination}/ListPlaybackConfigurationsPaginator.ts +4 -3
  354. package/{pagination → src/pagination}/ListSourceLocationsPaginator.ts +4 -3
  355. package/{pagination → src/pagination}/ListVodSourcesPaginator.ts +4 -3
  356. package/{protocols → src/protocols}/Aws_restJson1.ts +160 -56
  357. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  358. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  359. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  360. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  361. package/tsconfig.es.json +1 -3
  362. package/tsconfig.json +7 -7
  363. package/tsconfig.types.json +9 -0
  364. package/dist/cjs/MediaTailor.js.map +0 -1
  365. package/dist/cjs/MediaTailorClient.js.map +0 -1
  366. package/dist/cjs/commands/CreateChannelCommand.js.map +0 -1
  367. package/dist/cjs/commands/CreateProgramCommand.js.map +0 -1
  368. package/dist/cjs/commands/CreateSourceLocationCommand.js.map +0 -1
  369. package/dist/cjs/commands/CreateVodSourceCommand.js.map +0 -1
  370. package/dist/cjs/commands/DeleteChannelCommand.js.map +0 -1
  371. package/dist/cjs/commands/DeleteChannelPolicyCommand.js.map +0 -1
  372. package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
  373. package/dist/cjs/commands/DeleteProgramCommand.js.map +0 -1
  374. package/dist/cjs/commands/DeleteSourceLocationCommand.js.map +0 -1
  375. package/dist/cjs/commands/DeleteVodSourceCommand.js.map +0 -1
  376. package/dist/cjs/commands/DescribeChannelCommand.js.map +0 -1
  377. package/dist/cjs/commands/DescribeProgramCommand.js.map +0 -1
  378. package/dist/cjs/commands/DescribeSourceLocationCommand.js.map +0 -1
  379. package/dist/cjs/commands/DescribeVodSourceCommand.js.map +0 -1
  380. package/dist/cjs/commands/GetChannelPolicyCommand.js.map +0 -1
  381. package/dist/cjs/commands/GetChannelScheduleCommand.js.map +0 -1
  382. package/dist/cjs/commands/GetPlaybackConfigurationCommand.js.map +0 -1
  383. package/dist/cjs/commands/ListAlertsCommand.js.map +0 -1
  384. package/dist/cjs/commands/ListChannelsCommand.js.map +0 -1
  385. package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
  386. package/dist/cjs/commands/ListSourceLocationsCommand.js.map +0 -1
  387. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  388. package/dist/cjs/commands/ListVodSourcesCommand.js.map +0 -1
  389. package/dist/cjs/commands/PutChannelPolicyCommand.js.map +0 -1
  390. package/dist/cjs/commands/PutPlaybackConfigurationCommand.js.map +0 -1
  391. package/dist/cjs/commands/StartChannelCommand.js.map +0 -1
  392. package/dist/cjs/commands/StopChannelCommand.js.map +0 -1
  393. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  394. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  395. package/dist/cjs/commands/UpdateChannelCommand.js.map +0 -1
  396. package/dist/cjs/commands/UpdateSourceLocationCommand.js.map +0 -1
  397. package/dist/cjs/commands/UpdateVodSourceCommand.js.map +0 -1
  398. package/dist/cjs/endpoints.js.map +0 -1
  399. package/dist/cjs/index.js +0 -46
  400. package/dist/cjs/index.js.map +0 -1
  401. package/dist/cjs/models/models_0.js.map +0 -1
  402. package/dist/cjs/package.json +0 -91
  403. package/dist/cjs/pagination/GetChannelSchedulePaginator.js.map +0 -1
  404. package/dist/cjs/pagination/ListAlertsPaginator.js.map +0 -1
  405. package/dist/cjs/pagination/ListChannelsPaginator.js.map +0 -1
  406. package/dist/cjs/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
  407. package/dist/cjs/pagination/ListSourceLocationsPaginator.js.map +0 -1
  408. package/dist/cjs/pagination/ListVodSourcesPaginator.js.map +0 -1
  409. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  410. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  411. package/dist/cjs/runtimeConfig.js.map +0 -1
  412. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  413. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  414. package/dist/es/MediaTailor.js.map +0 -1
  415. package/dist/es/MediaTailorClient.js.map +0 -1
  416. package/dist/es/commands/CreateChannelCommand.js.map +0 -1
  417. package/dist/es/commands/CreateProgramCommand.js.map +0 -1
  418. package/dist/es/commands/CreateSourceLocationCommand.js.map +0 -1
  419. package/dist/es/commands/CreateVodSourceCommand.js.map +0 -1
  420. package/dist/es/commands/DeleteChannelCommand.js.map +0 -1
  421. package/dist/es/commands/DeleteChannelPolicyCommand.js.map +0 -1
  422. package/dist/es/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
  423. package/dist/es/commands/DeleteProgramCommand.js.map +0 -1
  424. package/dist/es/commands/DeleteSourceLocationCommand.js.map +0 -1
  425. package/dist/es/commands/DeleteVodSourceCommand.js.map +0 -1
  426. package/dist/es/commands/DescribeChannelCommand.js.map +0 -1
  427. package/dist/es/commands/DescribeProgramCommand.js.map +0 -1
  428. package/dist/es/commands/DescribeSourceLocationCommand.js.map +0 -1
  429. package/dist/es/commands/DescribeVodSourceCommand.js.map +0 -1
  430. package/dist/es/commands/GetChannelPolicyCommand.js.map +0 -1
  431. package/dist/es/commands/GetChannelScheduleCommand.js.map +0 -1
  432. package/dist/es/commands/GetPlaybackConfigurationCommand.js.map +0 -1
  433. package/dist/es/commands/ListAlertsCommand.js.map +0 -1
  434. package/dist/es/commands/ListChannelsCommand.js.map +0 -1
  435. package/dist/es/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
  436. package/dist/es/commands/ListSourceLocationsCommand.js.map +0 -1
  437. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  438. package/dist/es/commands/ListVodSourcesCommand.js.map +0 -1
  439. package/dist/es/commands/PutChannelPolicyCommand.js.map +0 -1
  440. package/dist/es/commands/PutPlaybackConfigurationCommand.js.map +0 -1
  441. package/dist/es/commands/StartChannelCommand.js.map +0 -1
  442. package/dist/es/commands/StopChannelCommand.js.map +0 -1
  443. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  444. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  445. package/dist/es/commands/UpdateChannelCommand.js.map +0 -1
  446. package/dist/es/commands/UpdateSourceLocationCommand.js.map +0 -1
  447. package/dist/es/commands/UpdateVodSourceCommand.js.map +0 -1
  448. package/dist/es/endpoints.js.map +0 -1
  449. package/dist/es/index.js.map +0 -1
  450. package/dist/es/models/index.js.map +0 -1
  451. package/dist/es/models/models_0.js.map +0 -1
  452. package/dist/es/package.json +0 -91
  453. package/dist/es/pagination/GetChannelSchedulePaginator.js.map +0 -1
  454. package/dist/es/pagination/ListAlertsPaginator.js.map +0 -1
  455. package/dist/es/pagination/ListChannelsPaginator.js.map +0 -1
  456. package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
  457. package/dist/es/pagination/ListSourceLocationsPaginator.js.map +0 -1
  458. package/dist/es/pagination/ListVodSourcesPaginator.js.map +0 -1
  459. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  460. package/dist/es/runtimeConfig.browser.js.map +0 -1
  461. package/dist/es/runtimeConfig.js.map +0 -1
  462. package/dist/es/runtimeConfig.native.js.map +0 -1
  463. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -1,4 +1,10 @@
1
- import { MediaTailorClient } from "./MediaTailorClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
3
+ import {
4
+ ConfigureLogsForPlaybackConfigurationCommand,
5
+ ConfigureLogsForPlaybackConfigurationCommandInput,
6
+ ConfigureLogsForPlaybackConfigurationCommandOutput,
7
+ } from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
2
8
  import {
3
9
  CreateChannelCommand,
4
10
  CreateChannelCommandInput,
@@ -147,12 +153,46 @@ import {
147
153
  UpdateVodSourceCommandInput,
148
154
  UpdateVodSourceCommandOutput,
149
155
  } from "./commands/UpdateVodSourceCommand";
150
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
156
+ import { MediaTailorClient } from "./MediaTailorClient";
151
157
 
152
158
  /**
153
159
  * <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
160
  */
155
161
  export class MediaTailor extends MediaTailorClient {
162
+ /**
163
+ * <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
164
+ */
165
+ public configureLogsForPlaybackConfiguration(
166
+ args: ConfigureLogsForPlaybackConfigurationCommandInput,
167
+ options?: __HttpHandlerOptions
168
+ ): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput>;
169
+ public configureLogsForPlaybackConfiguration(
170
+ args: ConfigureLogsForPlaybackConfigurationCommandInput,
171
+ cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void
172
+ ): void;
173
+ public configureLogsForPlaybackConfiguration(
174
+ args: ConfigureLogsForPlaybackConfigurationCommandInput,
175
+ options: __HttpHandlerOptions,
176
+ cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void
177
+ ): void;
178
+ public configureLogsForPlaybackConfiguration(
179
+ args: ConfigureLogsForPlaybackConfigurationCommandInput,
180
+ optionsOrCb?:
181
+ | __HttpHandlerOptions
182
+ | ((err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void),
183
+ cb?: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void
184
+ ): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput> | void {
185
+ const command = new ConfigureLogsForPlaybackConfigurationCommand(args);
186
+ if (typeof optionsOrCb === "function") {
187
+ this.send(command, optionsOrCb);
188
+ } else if (typeof cb === "function") {
189
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
190
+ this.send(command, optionsOrCb || {}, cb);
191
+ } else {
192
+ return this.send(command, optionsOrCb);
193
+ }
194
+ }
195
+
156
196
  /**
157
197
  * <p>Creates a channel.</p>
158
198
  */
@@ -1,3 +1,58 @@
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ resolveEndpointsConfig,
7
+ resolveRegionConfig,
8
+ } from "@aws-sdk/config-resolver";
9
+ import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
+ import {
11
+ getHostHeaderPlugin,
12
+ HostHeaderInputConfig,
13
+ HostHeaderResolvedConfig,
14
+ resolveHostHeaderConfig,
15
+ } from "@aws-sdk/middleware-host-header";
16
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
+ import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
+ import {
19
+ AwsAuthInputConfig,
20
+ AwsAuthResolvedConfig,
21
+ getAwsAuthPlugin,
22
+ resolveAwsAuthConfig,
23
+ } from "@aws-sdk/middleware-signing";
24
+ import {
25
+ getUserAgentPlugin,
26
+ resolveUserAgentConfig,
27
+ UserAgentInputConfig,
28
+ UserAgentResolvedConfig,
29
+ } from "@aws-sdk/middleware-user-agent";
30
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
+ import {
32
+ Client as __Client,
33
+ SmithyConfiguration as __SmithyConfiguration,
34
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
+ } from "@aws-sdk/smithy-client";
36
+ import {
37
+ Credentials as __Credentials,
38
+ Decoder as __Decoder,
39
+ Encoder as __Encoder,
40
+ Hash as __Hash,
41
+ HashConstructor as __HashConstructor,
42
+ HttpHandlerOptions as __HttpHandlerOptions,
43
+ Logger as __Logger,
44
+ Provider as __Provider,
45
+ Provider,
46
+ RegionInfoProvider,
47
+ StreamCollector as __StreamCollector,
48
+ UrlParser as __UrlParser,
49
+ UserAgent as __UserAgent,
50
+ } from "@aws-sdk/types";
51
+
52
+ import {
53
+ ConfigureLogsForPlaybackConfigurationCommandInput,
54
+ ConfigureLogsForPlaybackConfigurationCommandOutput,
55
+ } from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
1
56
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
2
57
  import { CreateProgramCommandInput, CreateProgramCommandOutput } from "./commands/CreateProgramCommand";
3
58
  import {
@@ -64,58 +119,9 @@ import {
64
119
  } from "./commands/UpdateSourceLocationCommand";
65
120
  import { UpdateVodSourceCommandInput, UpdateVodSourceCommandOutput } from "./commands/UpdateVodSourceCommand";
66
121
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
67
- import {
68
- EndpointsInputConfig,
69
- EndpointsResolvedConfig,
70
- RegionInputConfig,
71
- RegionResolvedConfig,
72
- resolveEndpointsConfig,
73
- resolveRegionConfig,
74
- } from "@aws-sdk/config-resolver";
75
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
76
- import {
77
- HostHeaderInputConfig,
78
- HostHeaderResolvedConfig,
79
- getHostHeaderPlugin,
80
- resolveHostHeaderConfig,
81
- } from "@aws-sdk/middleware-host-header";
82
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
83
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
84
- import {
85
- AwsAuthInputConfig,
86
- AwsAuthResolvedConfig,
87
- getAwsAuthPlugin,
88
- resolveAwsAuthConfig,
89
- } from "@aws-sdk/middleware-signing";
90
- import {
91
- UserAgentInputConfig,
92
- UserAgentResolvedConfig,
93
- getUserAgentPlugin,
94
- resolveUserAgentConfig,
95
- } from "@aws-sdk/middleware-user-agent";
96
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
97
- import {
98
- Client as __Client,
99
- SmithyConfiguration as __SmithyConfiguration,
100
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
101
- } from "@aws-sdk/smithy-client";
102
- import {
103
- Provider,
104
- RegionInfoProvider,
105
- Credentials as __Credentials,
106
- Decoder as __Decoder,
107
- Encoder as __Encoder,
108
- Hash as __Hash,
109
- HashConstructor as __HashConstructor,
110
- HttpHandlerOptions as __HttpHandlerOptions,
111
- Logger as __Logger,
112
- Provider as __Provider,
113
- StreamCollector as __StreamCollector,
114
- UrlParser as __UrlParser,
115
- UserAgent as __UserAgent,
116
- } from "@aws-sdk/types";
117
122
 
118
123
  export type ServiceInputTypes =
124
+ | ConfigureLogsForPlaybackConfigurationCommandInput
119
125
  | CreateChannelCommandInput
120
126
  | CreateProgramCommandInput
121
127
  | CreateSourceLocationCommandInput
@@ -150,6 +156,7 @@ export type ServiceInputTypes =
150
156
  | UpdateVodSourceCommandInput;
151
157
 
152
158
  export type ServiceOutputTypes =
159
+ | ConfigureLogsForPlaybackConfigurationCommandOutput
153
160
  | CreateChannelCommandOutput
154
161
  | CreateProgramCommandOutput
155
162
  | CreateSourceLocationCommandOutput
@@ -336,13 +343,13 @@ export class MediaTailorClient extends __Client<
336
343
  readonly config: MediaTailorClientResolvedConfig;
337
344
 
338
345
  constructor(configuration: MediaTailorClientConfig) {
339
- let _config_0 = __getRuntimeConfig(configuration);
340
- let _config_1 = resolveRegionConfig(_config_0);
341
- let _config_2 = resolveEndpointsConfig(_config_1);
342
- let _config_3 = resolveRetryConfig(_config_2);
343
- let _config_4 = resolveHostHeaderConfig(_config_3);
344
- let _config_5 = resolveAwsAuthConfig(_config_4);
345
- let _config_6 = resolveUserAgentConfig(_config_5);
346
+ const _config_0 = __getRuntimeConfig(configuration);
347
+ const _config_1 = resolveRegionConfig(_config_0);
348
+ const _config_2 = resolveEndpointsConfig(_config_1);
349
+ const _config_3 = resolveRetryConfig(_config_2);
350
+ const _config_4 = resolveHostHeaderConfig(_config_3);
351
+ const _config_5 = resolveAwsAuthConfig(_config_4);
352
+ const _config_6 = resolveUserAgentConfig(_config_5);
346
353
  super(_config_6);
347
354
  this.config = _config_6;
348
355
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -0,0 +1,107 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import {
16
+ ConfigureLogsForPlaybackConfigurationRequest,
17
+ ConfigureLogsForPlaybackConfigurationResponse,
18
+ } from "../models/models_0";
19
+ import {
20
+ deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand,
21
+ serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand,
22
+ } from "../protocols/Aws_restJson1";
23
+
24
+ export interface ConfigureLogsForPlaybackConfigurationCommandInput
25
+ extends ConfigureLogsForPlaybackConfigurationRequest {}
26
+ export interface ConfigureLogsForPlaybackConfigurationCommandOutput
27
+ extends ConfigureLogsForPlaybackConfigurationResponse,
28
+ __MetadataBearer {}
29
+
30
+ /**
31
+ * <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { MediaTailorClient, ConfigureLogsForPlaybackConfigurationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
36
+ * // const { MediaTailorClient, ConfigureLogsForPlaybackConfigurationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
37
+ * const client = new MediaTailorClient(config);
38
+ * const command = new ConfigureLogsForPlaybackConfigurationCommand(input);
39
+ * const response = await client.send(command);
40
+ * ```
41
+ *
42
+ * @see {@link ConfigureLogsForPlaybackConfigurationCommandInput} for command's `input` shape.
43
+ * @see {@link ConfigureLogsForPlaybackConfigurationCommandOutput} for command's `response` shape.
44
+ * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
45
+ *
46
+ */
47
+ export class ConfigureLogsForPlaybackConfigurationCommand extends $Command<
48
+ ConfigureLogsForPlaybackConfigurationCommandInput,
49
+ ConfigureLogsForPlaybackConfigurationCommandOutput,
50
+ MediaTailorClientResolvedConfig
51
+ > {
52
+ // Start section: command_properties
53
+ // End section: command_properties
54
+
55
+ constructor(readonly input: ConfigureLogsForPlaybackConfigurationCommandInput) {
56
+ // Start section: command_constructor
57
+ super();
58
+ // End section: command_constructor
59
+ }
60
+
61
+ /**
62
+ * @internal
63
+ */
64
+ resolveMiddleware(
65
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
+ configuration: MediaTailorClientResolvedConfig,
67
+ options?: __HttpHandlerOptions
68
+ ): Handler<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput> {
69
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
+
71
+ const stack = clientStack.concat(this.middlewareStack);
72
+
73
+ const { logger } = configuration;
74
+ const clientName = "MediaTailorClient";
75
+ const commandName = "ConfigureLogsForPlaybackConfigurationCommand";
76
+ const handlerExecutionContext: HandlerExecutionContext = {
77
+ logger,
78
+ clientName,
79
+ commandName,
80
+ inputFilterSensitiveLog: ConfigureLogsForPlaybackConfigurationRequest.filterSensitiveLog,
81
+ outputFilterSensitiveLog: ConfigureLogsForPlaybackConfigurationResponse.filterSensitiveLog,
82
+ };
83
+ const { requestHandler } = configuration;
84
+ return stack.resolve(
85
+ (request: FinalizeHandlerArguments<any>) =>
86
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
87
+ handlerExecutionContext
88
+ );
89
+ }
90
+
91
+ private serialize(
92
+ input: ConfigureLogsForPlaybackConfigurationCommandInput,
93
+ context: __SerdeContext
94
+ ): Promise<__HttpRequest> {
95
+ return serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand(input, context);
96
+ }
97
+
98
+ private deserialize(
99
+ output: __HttpResponse,
100
+ context: __SerdeContext
101
+ ): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput> {
102
+ return deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand(output, context);
103
+ }
104
+
105
+ // Start section: command_body_extra
106
+ // End section: command_body_extra
107
+ }
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateChannelCommand,
5
- serializeAws_restJson1CreateChannelCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1CreateChannelCommand,
18
+ serializeAws_restJson1CreateChannelCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface CreateChannelCommandInput extends CreateChannelRequest {}
21
22
  export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { CreateProgramRequest, CreateProgramResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateProgramCommand,
5
- serializeAws_restJson1CreateProgramCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { CreateProgramRequest, CreateProgramResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1CreateProgramCommand,
18
+ serializeAws_restJson1CreateProgramCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface CreateProgramCommandInput extends CreateProgramRequest {}
21
22
  export interface CreateProgramCommandOutput extends CreateProgramResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { CreateSourceLocationRequest, CreateSourceLocationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateSourceLocationCommand,
5
- serializeAws_restJson1CreateSourceLocationCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { CreateSourceLocationRequest, CreateSourceLocationResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1CreateSourceLocationCommand,
18
+ serializeAws_restJson1CreateSourceLocationCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface CreateSourceLocationCommandInput extends CreateSourceLocationRequest {}
21
22
  export interface CreateSourceLocationCommandOutput extends CreateSourceLocationResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { CreateVodSourceRequest, CreateVodSourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateVodSourceCommand,
5
- serializeAws_restJson1CreateVodSourceCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { CreateVodSourceRequest, CreateVodSourceResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1CreateVodSourceCommand,
18
+ serializeAws_restJson1CreateVodSourceCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface CreateVodSourceCommandInput extends CreateVodSourceRequest {}
21
22
  export interface CreateVodSourceCommandOutput extends CreateVodSourceResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteChannelCommand,
5
- serializeAws_restJson1DeleteChannelCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteChannelCommand,
18
+ serializeAws_restJson1DeleteChannelCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeleteChannelCommandInput extends DeleteChannelRequest {}
21
22
  export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { DeleteChannelPolicyRequest, DeleteChannelPolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteChannelPolicyCommand,
5
- serializeAws_restJson1DeleteChannelPolicyCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { DeleteChannelPolicyRequest, DeleteChannelPolicyResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteChannelPolicyCommand,
18
+ serializeAws_restJson1DeleteChannelPolicyCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeleteChannelPolicyCommandInput extends DeleteChannelPolicyRequest {}
21
22
  export interface DeleteChannelPolicyCommandOutput extends DeleteChannelPolicyResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { DeletePlaybackConfigurationRequest, DeletePlaybackConfigurationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeletePlaybackConfigurationCommand,
5
- serializeAws_restJson1DeletePlaybackConfigurationCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { DeletePlaybackConfigurationRequest, DeletePlaybackConfigurationResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeletePlaybackConfigurationCommand,
18
+ serializeAws_restJson1DeletePlaybackConfigurationCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeletePlaybackConfigurationCommandInput extends DeletePlaybackConfigurationRequest {}
21
22
  export interface DeletePlaybackConfigurationCommandOutput
22
23
  extends DeletePlaybackConfigurationResponse,
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { DeleteProgramRequest, DeleteProgramResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteProgramCommand,
5
- serializeAws_restJson1DeleteProgramCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { DeleteProgramRequest, DeleteProgramResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteProgramCommand,
18
+ serializeAws_restJson1DeleteProgramCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeleteProgramCommandInput extends DeleteProgramRequest {}
21
22
  export interface DeleteProgramCommandOutput extends DeleteProgramResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { DeleteSourceLocationRequest, DeleteSourceLocationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteSourceLocationCommand,
5
- serializeAws_restJson1DeleteSourceLocationCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { DeleteSourceLocationRequest, DeleteSourceLocationResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteSourceLocationCommand,
18
+ serializeAws_restJson1DeleteSourceLocationCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeleteSourceLocationCommandInput extends DeleteSourceLocationRequest {}
21
22
  export interface DeleteSourceLocationCommandOutput extends DeleteSourceLocationResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { DeleteVodSourceRequest, DeleteVodSourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteVodSourceCommand,
5
- serializeAws_restJson1DeleteVodSourceCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { DeleteVodSourceRequest, DeleteVodSourceResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DeleteVodSourceCommand,
18
+ serializeAws_restJson1DeleteVodSourceCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DeleteVodSourceCommandInput extends DeleteVodSourceRequest {}
21
22
  export interface DeleteVodSourceCommandOutput extends DeleteVodSourceResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
- import { DescribeChannelRequest, DescribeChannelResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeChannelCommand,
5
- serializeAws_restJson1DescribeChannelCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
+ import { DescribeChannelRequest, DescribeChannelResponse } from "../models/models_0";
16
+ import {
17
+ deserializeAws_restJson1DescribeChannelCommand,
18
+ serializeAws_restJson1DescribeChannelCommand,
19
+ } from "../protocols/Aws_restJson1";
20
+
20
21
  export interface DescribeChannelCommandInput extends DescribeChannelRequest {}
21
22
  export interface DescribeChannelCommandOutput extends DescribeChannelResponse, __MetadataBearer {}
22
23