@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,9 +1,33 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1ListAlertsCommand = exports.deserializeAws_restJson1GetPlaybackConfigurationCommand = exports.deserializeAws_restJson1GetChannelScheduleCommand = exports.deserializeAws_restJson1GetChannelPolicyCommand = exports.deserializeAws_restJson1DescribeVodSourceCommand = exports.deserializeAws_restJson1DescribeSourceLocationCommand = exports.deserializeAws_restJson1DescribeProgramCommand = exports.deserializeAws_restJson1DescribeChannelCommand = exports.deserializeAws_restJson1DeleteVodSourceCommand = exports.deserializeAws_restJson1DeleteSourceLocationCommand = exports.deserializeAws_restJson1DeleteProgramCommand = exports.deserializeAws_restJson1DeletePlaybackConfigurationCommand = exports.deserializeAws_restJson1DeleteChannelPolicyCommand = exports.deserializeAws_restJson1DeleteChannelCommand = exports.deserializeAws_restJson1CreateVodSourceCommand = exports.deserializeAws_restJson1CreateSourceLocationCommand = exports.deserializeAws_restJson1CreateProgramCommand = exports.deserializeAws_restJson1CreateChannelCommand = exports.serializeAws_restJson1UpdateVodSourceCommand = exports.serializeAws_restJson1UpdateSourceLocationCommand = exports.serializeAws_restJson1UpdateChannelCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopChannelCommand = exports.serializeAws_restJson1StartChannelCommand = exports.serializeAws_restJson1PutPlaybackConfigurationCommand = exports.serializeAws_restJson1PutChannelPolicyCommand = exports.serializeAws_restJson1ListVodSourcesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSourceLocationsCommand = exports.serializeAws_restJson1ListPlaybackConfigurationsCommand = exports.serializeAws_restJson1ListChannelsCommand = exports.serializeAws_restJson1ListAlertsCommand = exports.serializeAws_restJson1GetPlaybackConfigurationCommand = exports.serializeAws_restJson1GetChannelScheduleCommand = exports.serializeAws_restJson1GetChannelPolicyCommand = exports.serializeAws_restJson1DescribeVodSourceCommand = exports.serializeAws_restJson1DescribeSourceLocationCommand = exports.serializeAws_restJson1DescribeProgramCommand = exports.serializeAws_restJson1DescribeChannelCommand = exports.serializeAws_restJson1DeleteVodSourceCommand = exports.serializeAws_restJson1DeleteSourceLocationCommand = exports.serializeAws_restJson1DeleteProgramCommand = exports.serializeAws_restJson1DeletePlaybackConfigurationCommand = exports.serializeAws_restJson1DeleteChannelPolicyCommand = exports.serializeAws_restJson1DeleteChannelCommand = exports.serializeAws_restJson1CreateVodSourceCommand = exports.serializeAws_restJson1CreateSourceLocationCommand = exports.serializeAws_restJson1CreateProgramCommand = exports.serializeAws_restJson1CreateChannelCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateVodSourceCommand = exports.deserializeAws_restJson1UpdateSourceLocationCommand = exports.deserializeAws_restJson1UpdateChannelCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopChannelCommand = exports.deserializeAws_restJson1StartChannelCommand = exports.deserializeAws_restJson1PutPlaybackConfigurationCommand = exports.deserializeAws_restJson1PutChannelPolicyCommand = exports.deserializeAws_restJson1ListVodSourcesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSourceLocationsCommand = exports.deserializeAws_restJson1ListPlaybackConfigurationsCommand = exports.deserializeAws_restJson1ListChannelsCommand = void 0;
3
+ exports.deserializeAws_restJson1GetChannelScheduleCommand = exports.deserializeAws_restJson1GetChannelPolicyCommand = exports.deserializeAws_restJson1DescribeVodSourceCommand = exports.deserializeAws_restJson1DescribeSourceLocationCommand = exports.deserializeAws_restJson1DescribeProgramCommand = exports.deserializeAws_restJson1DescribeChannelCommand = exports.deserializeAws_restJson1DeleteVodSourceCommand = exports.deserializeAws_restJson1DeleteSourceLocationCommand = exports.deserializeAws_restJson1DeleteProgramCommand = exports.deserializeAws_restJson1DeletePlaybackConfigurationCommand = exports.deserializeAws_restJson1DeleteChannelPolicyCommand = exports.deserializeAws_restJson1DeleteChannelCommand = exports.deserializeAws_restJson1CreateVodSourceCommand = exports.deserializeAws_restJson1CreateSourceLocationCommand = exports.deserializeAws_restJson1CreateProgramCommand = exports.deserializeAws_restJson1CreateChannelCommand = exports.deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = exports.serializeAws_restJson1UpdateVodSourceCommand = exports.serializeAws_restJson1UpdateSourceLocationCommand = exports.serializeAws_restJson1UpdateChannelCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopChannelCommand = exports.serializeAws_restJson1StartChannelCommand = exports.serializeAws_restJson1PutPlaybackConfigurationCommand = exports.serializeAws_restJson1PutChannelPolicyCommand = exports.serializeAws_restJson1ListVodSourcesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSourceLocationsCommand = exports.serializeAws_restJson1ListPlaybackConfigurationsCommand = exports.serializeAws_restJson1ListChannelsCommand = exports.serializeAws_restJson1ListAlertsCommand = exports.serializeAws_restJson1GetPlaybackConfigurationCommand = exports.serializeAws_restJson1GetChannelScheduleCommand = exports.serializeAws_restJson1GetChannelPolicyCommand = exports.serializeAws_restJson1DescribeVodSourceCommand = exports.serializeAws_restJson1DescribeSourceLocationCommand = exports.serializeAws_restJson1DescribeProgramCommand = exports.serializeAws_restJson1DescribeChannelCommand = exports.serializeAws_restJson1DeleteVodSourceCommand = exports.serializeAws_restJson1DeleteSourceLocationCommand = exports.serializeAws_restJson1DeleteProgramCommand = exports.serializeAws_restJson1DeletePlaybackConfigurationCommand = exports.serializeAws_restJson1DeleteChannelPolicyCommand = exports.serializeAws_restJson1DeleteChannelCommand = exports.serializeAws_restJson1CreateVodSourceCommand = exports.serializeAws_restJson1CreateSourceLocationCommand = exports.serializeAws_restJson1CreateProgramCommand = exports.serializeAws_restJson1CreateChannelCommand = exports.serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = void 0;
4
+ exports.deserializeAws_restJson1UpdateVodSourceCommand = exports.deserializeAws_restJson1UpdateSourceLocationCommand = exports.deserializeAws_restJson1UpdateChannelCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopChannelCommand = exports.deserializeAws_restJson1StartChannelCommand = exports.deserializeAws_restJson1PutPlaybackConfigurationCommand = exports.deserializeAws_restJson1PutChannelPolicyCommand = exports.deserializeAws_restJson1ListVodSourcesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSourceLocationsCommand = exports.deserializeAws_restJson1ListPlaybackConfigurationsCommand = exports.deserializeAws_restJson1ListChannelsCommand = exports.deserializeAws_restJson1ListAlertsCommand = exports.deserializeAws_restJson1GetPlaybackConfigurationCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = async (input, context) => {
8
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
9
+ const headers = {
10
+ "content-type": "application/json",
11
+ };
12
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/configureLogs/playbackConfiguration";
13
+ let body;
14
+ body = JSON.stringify({
15
+ ...(input.PercentEnabled !== undefined &&
16
+ input.PercentEnabled !== null && { PercentEnabled: input.PercentEnabled }),
17
+ ...(input.PlaybackConfigurationName !== undefined &&
18
+ input.PlaybackConfigurationName !== null && { PlaybackConfigurationName: input.PlaybackConfigurationName }),
19
+ });
20
+ return new protocol_http_1.HttpRequest({
21
+ protocol,
22
+ hostname,
23
+ port,
24
+ method: "PUT",
25
+ headers,
26
+ path: resolvedPath,
27
+ body,
28
+ });
29
+ };
30
+ exports.serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand;
7
31
  const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
8
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
9
33
  const headers = {
@@ -15,7 +39,7 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
15
39
  if (labelValue.length <= 0) {
16
40
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
17
41
  }
18
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
42
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
19
43
  }
20
44
  else {
21
45
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -53,7 +77,7 @@ const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
53
77
  if (labelValue.length <= 0) {
54
78
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
55
79
  }
56
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
80
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
57
81
  }
58
82
  else {
59
83
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -63,7 +87,7 @@ const serializeAws_restJson1CreateProgramCommand = async (input, context) => {
63
87
  if (labelValue.length <= 0) {
64
88
  throw new Error("Empty value provided for input HTTP label: ProgramName.");
65
89
  }
66
- resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
90
+ resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
67
91
  }
68
92
  else {
69
93
  throw new Error("No value provided for input HTTP label: ProgramName.");
@@ -102,7 +126,7 @@ const serializeAws_restJson1CreateSourceLocationCommand = async (input, context)
102
126
  if (labelValue.length <= 0) {
103
127
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
104
128
  }
105
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
129
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
106
130
  }
107
131
  else {
108
132
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -147,7 +171,7 @@ const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
147
171
  if (labelValue.length <= 0) {
148
172
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
149
173
  }
150
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
174
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
151
175
  }
152
176
  else {
153
177
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -157,7 +181,7 @@ const serializeAws_restJson1CreateVodSourceCommand = async (input, context) => {
157
181
  if (labelValue.length <= 0) {
158
182
  throw new Error("Empty value provided for input HTTP label: VodSourceName.");
159
183
  }
160
- resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
184
+ resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
161
185
  }
162
186
  else {
163
187
  throw new Error("No value provided for input HTTP label: VodSourceName.");
@@ -191,7 +215,7 @@ const serializeAws_restJson1DeleteChannelCommand = async (input, context) => {
191
215
  if (labelValue.length <= 0) {
192
216
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
193
217
  }
194
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
218
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
195
219
  }
196
220
  else {
197
221
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -217,7 +241,7 @@ const serializeAws_restJson1DeleteChannelPolicyCommand = async (input, context)
217
241
  if (labelValue.length <= 0) {
218
242
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
219
243
  }
220
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
244
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
221
245
  }
222
246
  else {
223
247
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -243,7 +267,7 @@ const serializeAws_restJson1DeletePlaybackConfigurationCommand = async (input, c
243
267
  if (labelValue.length <= 0) {
244
268
  throw new Error("Empty value provided for input HTTP label: Name.");
245
269
  }
246
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
270
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
247
271
  }
248
272
  else {
249
273
  throw new Error("No value provided for input HTTP label: Name.");
@@ -270,7 +294,7 @@ const serializeAws_restJson1DeleteProgramCommand = async (input, context) => {
270
294
  if (labelValue.length <= 0) {
271
295
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
272
296
  }
273
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
297
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
274
298
  }
275
299
  else {
276
300
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -280,7 +304,7 @@ const serializeAws_restJson1DeleteProgramCommand = async (input, context) => {
280
304
  if (labelValue.length <= 0) {
281
305
  throw new Error("Empty value provided for input HTTP label: ProgramName.");
282
306
  }
283
- resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
307
+ resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
284
308
  }
285
309
  else {
286
310
  throw new Error("No value provided for input HTTP label: ProgramName.");
@@ -306,7 +330,7 @@ const serializeAws_restJson1DeleteSourceLocationCommand = async (input, context)
306
330
  if (labelValue.length <= 0) {
307
331
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
308
332
  }
309
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
333
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
310
334
  }
311
335
  else {
312
336
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -333,7 +357,7 @@ const serializeAws_restJson1DeleteVodSourceCommand = async (input, context) => {
333
357
  if (labelValue.length <= 0) {
334
358
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
335
359
  }
336
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
360
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
337
361
  }
338
362
  else {
339
363
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -343,7 +367,7 @@ const serializeAws_restJson1DeleteVodSourceCommand = async (input, context) => {
343
367
  if (labelValue.length <= 0) {
344
368
  throw new Error("Empty value provided for input HTTP label: VodSourceName.");
345
369
  }
346
- resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
370
+ resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
347
371
  }
348
372
  else {
349
373
  throw new Error("No value provided for input HTTP label: VodSourceName.");
@@ -369,7 +393,7 @@ const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
369
393
  if (labelValue.length <= 0) {
370
394
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
371
395
  }
372
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
396
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
373
397
  }
374
398
  else {
375
399
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -396,7 +420,7 @@ const serializeAws_restJson1DescribeProgramCommand = async (input, context) => {
396
420
  if (labelValue.length <= 0) {
397
421
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
398
422
  }
399
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
423
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
400
424
  }
401
425
  else {
402
426
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -406,7 +430,7 @@ const serializeAws_restJson1DescribeProgramCommand = async (input, context) => {
406
430
  if (labelValue.length <= 0) {
407
431
  throw new Error("Empty value provided for input HTTP label: ProgramName.");
408
432
  }
409
- resolvedPath = resolvedPath.replace("{ProgramName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
433
+ resolvedPath = resolvedPath.replace("{ProgramName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
410
434
  }
411
435
  else {
412
436
  throw new Error("No value provided for input HTTP label: ProgramName.");
@@ -432,7 +456,7 @@ const serializeAws_restJson1DescribeSourceLocationCommand = async (input, contex
432
456
  if (labelValue.length <= 0) {
433
457
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
434
458
  }
435
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
459
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
436
460
  }
437
461
  else {
438
462
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -459,7 +483,7 @@ const serializeAws_restJson1DescribeVodSourceCommand = async (input, context) =>
459
483
  if (labelValue.length <= 0) {
460
484
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
461
485
  }
462
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
486
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
463
487
  }
464
488
  else {
465
489
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -469,7 +493,7 @@ const serializeAws_restJson1DescribeVodSourceCommand = async (input, context) =>
469
493
  if (labelValue.length <= 0) {
470
494
  throw new Error("Empty value provided for input HTTP label: VodSourceName.");
471
495
  }
472
- resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
496
+ resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
473
497
  }
474
498
  else {
475
499
  throw new Error("No value provided for input HTTP label: VodSourceName.");
@@ -495,7 +519,7 @@ const serializeAws_restJson1GetChannelPolicyCommand = async (input, context) =>
495
519
  if (labelValue.length <= 0) {
496
520
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
497
521
  }
498
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
522
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
499
523
  }
500
524
  else {
501
525
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -521,7 +545,7 @@ const serializeAws_restJson1GetChannelScheduleCommand = async (input, context) =
521
545
  if (labelValue.length <= 0) {
522
546
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
523
547
  }
524
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
548
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
525
549
  }
526
550
  else {
527
551
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -553,7 +577,7 @@ const serializeAws_restJson1GetPlaybackConfigurationCommand = async (input, cont
553
577
  if (labelValue.length <= 0) {
554
578
  throw new Error("Empty value provided for input HTTP label: Name.");
555
579
  }
556
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
580
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
557
581
  }
558
582
  else {
559
583
  throw new Error("No value provided for input HTTP label: Name.");
@@ -573,7 +597,7 @@ exports.serializeAws_restJson1GetPlaybackConfigurationCommand = serializeAws_res
573
597
  const serializeAws_restJson1ListAlertsCommand = async (input, context) => {
574
598
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
575
599
  const headers = {};
576
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/alerts";
600
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/alerts";
577
601
  const query = {
578
602
  ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
579
603
  ...(input.NextToken !== undefined && { nextToken: input.NextToken }),
@@ -595,7 +619,7 @@ exports.serializeAws_restJson1ListAlertsCommand = serializeAws_restJson1ListAler
595
619
  const serializeAws_restJson1ListChannelsCommand = async (input, context) => {
596
620
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
597
621
  const headers = {};
598
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
622
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
599
623
  const query = {
600
624
  ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
601
625
  ...(input.NextToken !== undefined && { nextToken: input.NextToken }),
@@ -616,7 +640,7 @@ exports.serializeAws_restJson1ListChannelsCommand = serializeAws_restJson1ListCh
616
640
  const serializeAws_restJson1ListPlaybackConfigurationsCommand = async (input, context) => {
617
641
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
618
642
  const headers = {};
619
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfigurations";
643
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfigurations";
620
644
  const query = {
621
645
  ...(input.MaxResults !== undefined && { MaxResults: input.MaxResults.toString() }),
622
646
  ...(input.NextToken !== undefined && { NextToken: input.NextToken }),
@@ -637,7 +661,7 @@ exports.serializeAws_restJson1ListPlaybackConfigurationsCommand = serializeAws_r
637
661
  const serializeAws_restJson1ListSourceLocationsCommand = async (input, context) => {
638
662
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
639
663
  const headers = {};
640
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocations";
664
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/sourceLocations";
641
665
  const query = {
642
666
  ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
643
667
  ...(input.NextToken !== undefined && { nextToken: input.NextToken }),
@@ -664,7 +688,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
664
688
  if (labelValue.length <= 0) {
665
689
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
666
690
  }
667
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
691
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
668
692
  }
669
693
  else {
670
694
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -691,7 +715,7 @@ const serializeAws_restJson1ListVodSourcesCommand = async (input, context) => {
691
715
  if (labelValue.length <= 0) {
692
716
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
693
717
  }
694
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
718
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
695
719
  }
696
720
  else {
697
721
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -724,7 +748,7 @@ const serializeAws_restJson1PutChannelPolicyCommand = async (input, context) =>
724
748
  if (labelValue.length <= 0) {
725
749
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
726
750
  }
727
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
751
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
728
752
  }
729
753
  else {
730
754
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -749,7 +773,7 @@ const serializeAws_restJson1PutPlaybackConfigurationCommand = async (input, cont
749
773
  const headers = {
750
774
  "content-type": "application/json",
751
775
  };
752
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfiguration";
776
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/playbackConfiguration";
753
777
  let body;
754
778
  body = JSON.stringify({
755
779
  ...(input.AdDecisionServerUrl !== undefined &&
@@ -813,7 +837,7 @@ const serializeAws_restJson1StartChannelCommand = async (input, context) => {
813
837
  if (labelValue.length <= 0) {
814
838
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
815
839
  }
816
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
840
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
817
841
  }
818
842
  else {
819
843
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -839,7 +863,7 @@ const serializeAws_restJson1StopChannelCommand = async (input, context) => {
839
863
  if (labelValue.length <= 0) {
840
864
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
841
865
  }
842
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
866
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
843
867
  }
844
868
  else {
845
869
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -867,7 +891,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
867
891
  if (labelValue.length <= 0) {
868
892
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
869
893
  }
870
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
894
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
871
895
  }
872
896
  else {
873
897
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -897,7 +921,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
897
921
  if (labelValue.length <= 0) {
898
922
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
899
923
  }
900
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
924
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
901
925
  }
902
926
  else {
903
927
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -929,7 +953,7 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
929
953
  if (labelValue.length <= 0) {
930
954
  throw new Error("Empty value provided for input HTTP label: ChannelName.");
931
955
  }
932
- resolvedPath = resolvedPath.replace("{ChannelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
956
+ resolvedPath = resolvedPath.replace("{ChannelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
933
957
  }
934
958
  else {
935
959
  throw new Error("No value provided for input HTTP label: ChannelName.");
@@ -961,7 +985,7 @@ const serializeAws_restJson1UpdateSourceLocationCommand = async (input, context)
961
985
  if (labelValue.length <= 0) {
962
986
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
963
987
  }
964
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
988
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
965
989
  }
966
990
  else {
967
991
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -1004,7 +1028,7 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
1004
1028
  if (labelValue.length <= 0) {
1005
1029
  throw new Error("Empty value provided for input HTTP label: SourceLocationName.");
1006
1030
  }
1007
- resolvedPath = resolvedPath.replace("{SourceLocationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1031
+ resolvedPath = resolvedPath.replace("{SourceLocationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1008
1032
  }
1009
1033
  else {
1010
1034
  throw new Error("No value provided for input HTTP label: SourceLocationName.");
@@ -1014,7 +1038,7 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
1014
1038
  if (labelValue.length <= 0) {
1015
1039
  throw new Error("Empty value provided for input HTTP label: VodSourceName.");
1016
1040
  }
1017
- resolvedPath = resolvedPath.replace("{VodSourceName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1041
+ resolvedPath = resolvedPath.replace("{VodSourceName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1018
1042
  }
1019
1043
  else {
1020
1044
  throw new Error("No value provided for input HTTP label: VodSourceName.");
@@ -1037,6 +1061,50 @@ const serializeAws_restJson1UpdateVodSourceCommand = async (input, context) => {
1037
1061
  });
1038
1062
  };
1039
1063
  exports.serializeAws_restJson1UpdateVodSourceCommand = serializeAws_restJson1UpdateVodSourceCommand;
1064
+ const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = async (output, context) => {
1065
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1066
+ return deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError(output, context);
1067
+ }
1068
+ const contents = {
1069
+ $metadata: deserializeMetadata(output),
1070
+ PercentEnabled: undefined,
1071
+ PlaybackConfigurationName: undefined,
1072
+ };
1073
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1074
+ if (data.PercentEnabled !== undefined && data.PercentEnabled !== null) {
1075
+ contents.PercentEnabled = smithy_client_1.expectInt32(data.PercentEnabled);
1076
+ }
1077
+ if (data.PlaybackConfigurationName !== undefined && data.PlaybackConfigurationName !== null) {
1078
+ contents.PlaybackConfigurationName = smithy_client_1.expectString(data.PlaybackConfigurationName);
1079
+ }
1080
+ return Promise.resolve(contents);
1081
+ };
1082
+ exports.deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand = deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand;
1083
+ const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommandError = async (output, context) => {
1084
+ const parsedOutput = {
1085
+ ...output,
1086
+ body: await parseBody(output.body, context),
1087
+ };
1088
+ let response;
1089
+ let errorCode = "UnknownError";
1090
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1091
+ switch (errorCode) {
1092
+ default:
1093
+ const parsedBody = parsedOutput.body;
1094
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
1095
+ response = {
1096
+ ...parsedBody,
1097
+ name: `${errorCode}`,
1098
+ message: parsedBody.message || parsedBody.Message || errorCode,
1099
+ $fault: "client",
1100
+ $metadata: deserializeMetadata(output),
1101
+ };
1102
+ }
1103
+ const message = response.message || response.Message || errorCode;
1104
+ response.message = message;
1105
+ delete response.Message;
1106
+ return Promise.reject(Object.assign(new Error(message), response));
1107
+ };
1040
1108
  const deserializeAws_restJson1CreateChannelCommand = async (output, context) => {
1041
1109
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1042
1110
  return deserializeAws_restJson1CreateChannelCommandError(output, context);
@@ -1053,30 +1121,30 @@ const deserializeAws_restJson1CreateChannelCommand = async (output, context) =>
1053
1121
  PlaybackMode: undefined,
1054
1122
  Tags: undefined,
1055
1123
  };
1056
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1124
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1057
1125
  if (data.Arn !== undefined && data.Arn !== null) {
1058
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1126
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1059
1127
  }
1060
1128
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
1061
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
1129
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
1062
1130
  }
1063
1131
  if (data.ChannelState !== undefined && data.ChannelState !== null) {
1064
- contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
1132
+ contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
1065
1133
  }
1066
1134
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1067
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1135
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1068
1136
  }
1069
1137
  if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
1070
1138
  contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
1071
1139
  }
1072
1140
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1073
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1141
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1074
1142
  }
1075
1143
  if (data.Outputs !== undefined && data.Outputs !== null) {
1076
1144
  contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
1077
1145
  }
1078
1146
  if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
1079
- contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
1147
+ contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
1080
1148
  }
1081
1149
  if (data.tags !== undefined && data.tags !== null) {
1082
1150
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1124,30 +1192,30 @@ const deserializeAws_restJson1CreateProgramCommand = async (output, context) =>
1124
1192
  SourceLocationName: undefined,
1125
1193
  VodSourceName: undefined,
1126
1194
  };
1127
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1195
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1128
1196
  if (data.AdBreaks !== undefined && data.AdBreaks !== null) {
1129
1197
  contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
1130
1198
  }
1131
1199
  if (data.Arn !== undefined && data.Arn !== null) {
1132
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1200
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1133
1201
  }
1134
1202
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
1135
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
1203
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
1136
1204
  }
1137
1205
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1138
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1206
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1139
1207
  }
1140
1208
  if (data.ProgramName !== undefined && data.ProgramName !== null) {
1141
- contents.ProgramName = (0, smithy_client_1.expectString)(data.ProgramName);
1209
+ contents.ProgramName = smithy_client_1.expectString(data.ProgramName);
1142
1210
  }
1143
1211
  if (data.ScheduledStartTime !== undefined && data.ScheduledStartTime !== null) {
1144
- contents.ScheduledStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ScheduledStartTime)));
1212
+ contents.ScheduledStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ScheduledStartTime)));
1145
1213
  }
1146
1214
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1147
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1215
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1148
1216
  }
1149
1217
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
1150
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
1218
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
1151
1219
  }
1152
1220
  return Promise.resolve(contents);
1153
1221
  };
@@ -1192,15 +1260,15 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
1192
1260
  SourceLocationName: undefined,
1193
1261
  Tags: undefined,
1194
1262
  };
1195
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1263
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1196
1264
  if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
1197
1265
  contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
1198
1266
  }
1199
1267
  if (data.Arn !== undefined && data.Arn !== null) {
1200
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1268
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1201
1269
  }
1202
1270
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1203
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1271
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1204
1272
  }
1205
1273
  if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
1206
1274
  contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
@@ -1209,10 +1277,10 @@ const deserializeAws_restJson1CreateSourceLocationCommand = async (output, conte
1209
1277
  contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
1210
1278
  }
1211
1279
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1212
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1280
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1213
1281
  }
1214
1282
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1215
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1283
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1216
1284
  }
1217
1285
  if (data.tags !== undefined && data.tags !== null) {
1218
1286
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1259,27 +1327,27 @@ const deserializeAws_restJson1CreateVodSourceCommand = async (output, context) =
1259
1327
  Tags: undefined,
1260
1328
  VodSourceName: undefined,
1261
1329
  };
1262
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1330
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1263
1331
  if (data.Arn !== undefined && data.Arn !== null) {
1264
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1332
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1265
1333
  }
1266
1334
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1267
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1335
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1268
1336
  }
1269
1337
  if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
1270
1338
  contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1271
1339
  }
1272
1340
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1273
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1341
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1274
1342
  }
1275
1343
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1276
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1344
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1277
1345
  }
1278
1346
  if (data.tags !== undefined && data.tags !== null) {
1279
1347
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1280
1348
  }
1281
1349
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
1282
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
1350
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
1283
1351
  }
1284
1352
  return Promise.resolve(contents);
1285
1353
  };
@@ -1541,30 +1609,30 @@ const deserializeAws_restJson1DescribeChannelCommand = async (output, context) =
1541
1609
  PlaybackMode: undefined,
1542
1610
  Tags: undefined,
1543
1611
  };
1544
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1612
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1545
1613
  if (data.Arn !== undefined && data.Arn !== null) {
1546
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1614
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1547
1615
  }
1548
1616
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
1549
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
1617
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
1550
1618
  }
1551
1619
  if (data.ChannelState !== undefined && data.ChannelState !== null) {
1552
- contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
1620
+ contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
1553
1621
  }
1554
1622
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1555
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1623
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1556
1624
  }
1557
1625
  if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
1558
1626
  contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
1559
1627
  }
1560
1628
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1561
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1629
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1562
1630
  }
1563
1631
  if (data.Outputs !== undefined && data.Outputs !== null) {
1564
1632
  contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
1565
1633
  }
1566
1634
  if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
1567
- contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
1635
+ contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
1568
1636
  }
1569
1637
  if (data.tags !== undefined && data.tags !== null) {
1570
1638
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1612,30 +1680,30 @@ const deserializeAws_restJson1DescribeProgramCommand = async (output, context) =
1612
1680
  SourceLocationName: undefined,
1613
1681
  VodSourceName: undefined,
1614
1682
  };
1615
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1683
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1616
1684
  if (data.AdBreaks !== undefined && data.AdBreaks !== null) {
1617
1685
  contents.AdBreaks = deserializeAws_restJson1__listOfAdBreak(data.AdBreaks, context);
1618
1686
  }
1619
1687
  if (data.Arn !== undefined && data.Arn !== null) {
1620
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1688
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1621
1689
  }
1622
1690
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
1623
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
1691
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
1624
1692
  }
1625
1693
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1626
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1694
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1627
1695
  }
1628
1696
  if (data.ProgramName !== undefined && data.ProgramName !== null) {
1629
- contents.ProgramName = (0, smithy_client_1.expectString)(data.ProgramName);
1697
+ contents.ProgramName = smithy_client_1.expectString(data.ProgramName);
1630
1698
  }
1631
1699
  if (data.ScheduledStartTime !== undefined && data.ScheduledStartTime !== null) {
1632
- contents.ScheduledStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ScheduledStartTime)));
1700
+ contents.ScheduledStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ScheduledStartTime)));
1633
1701
  }
1634
1702
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1635
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1703
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1636
1704
  }
1637
1705
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
1638
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
1706
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
1639
1707
  }
1640
1708
  return Promise.resolve(contents);
1641
1709
  };
@@ -1680,15 +1748,15 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
1680
1748
  SourceLocationName: undefined,
1681
1749
  Tags: undefined,
1682
1750
  };
1683
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1751
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1684
1752
  if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
1685
1753
  contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
1686
1754
  }
1687
1755
  if (data.Arn !== undefined && data.Arn !== null) {
1688
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1756
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1689
1757
  }
1690
1758
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1691
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1759
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1692
1760
  }
1693
1761
  if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
1694
1762
  contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
@@ -1697,10 +1765,10 @@ const deserializeAws_restJson1DescribeSourceLocationCommand = async (output, con
1697
1765
  contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
1698
1766
  }
1699
1767
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1700
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1768
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1701
1769
  }
1702
1770
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1703
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1771
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1704
1772
  }
1705
1773
  if (data.tags !== undefined && data.tags !== null) {
1706
1774
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -1747,27 +1815,27 @@ const deserializeAws_restJson1DescribeVodSourceCommand = async (output, context)
1747
1815
  Tags: undefined,
1748
1816
  VodSourceName: undefined,
1749
1817
  };
1750
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1818
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1751
1819
  if (data.Arn !== undefined && data.Arn !== null) {
1752
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
1820
+ contents.Arn = smithy_client_1.expectString(data.Arn);
1753
1821
  }
1754
1822
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1755
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1823
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1756
1824
  }
1757
1825
  if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
1758
1826
  contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
1759
1827
  }
1760
1828
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
1761
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
1829
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
1762
1830
  }
1763
1831
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
1764
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
1832
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
1765
1833
  }
1766
1834
  if (data.tags !== undefined && data.tags !== null) {
1767
1835
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1768
1836
  }
1769
1837
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
1770
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
1838
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
1771
1839
  }
1772
1840
  return Promise.resolve(contents);
1773
1841
  };
@@ -1805,9 +1873,9 @@ const deserializeAws_restJson1GetChannelPolicyCommand = async (output, context)
1805
1873
  $metadata: deserializeMetadata(output),
1806
1874
  Policy: undefined,
1807
1875
  };
1808
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1876
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1809
1877
  if (data.Policy !== undefined && data.Policy !== null) {
1810
- contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
1878
+ contents.Policy = smithy_client_1.expectString(data.Policy);
1811
1879
  }
1812
1880
  return Promise.resolve(contents);
1813
1881
  };
@@ -1846,12 +1914,12 @@ const deserializeAws_restJson1GetChannelScheduleCommand = async (output, context
1846
1914
  Items: undefined,
1847
1915
  NextToken: undefined,
1848
1916
  };
1849
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1917
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1850
1918
  if (data.Items !== undefined && data.Items !== null) {
1851
1919
  contents.Items = deserializeAws_restJson1__listOfScheduleEntry(data.Items, context);
1852
1920
  }
1853
1921
  if (data.NextToken !== undefined && data.NextToken !== null) {
1854
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1922
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1855
1923
  }
1856
1924
  return Promise.resolve(contents);
1857
1925
  };
@@ -1895,6 +1963,7 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
1895
1963
  DashConfiguration: undefined,
1896
1964
  HlsConfiguration: undefined,
1897
1965
  LivePreRollConfiguration: undefined,
1966
+ LogConfiguration: undefined,
1898
1967
  ManifestProcessingRules: undefined,
1899
1968
  Name: undefined,
1900
1969
  PersonalizationThresholdSeconds: undefined,
@@ -1906,9 +1975,9 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
1906
1975
  TranscodeProfileName: undefined,
1907
1976
  VideoContentSourceUrl: undefined,
1908
1977
  };
1909
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1978
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1910
1979
  if (data.AdDecisionServerUrl !== undefined && data.AdDecisionServerUrl !== null) {
1911
- contents.AdDecisionServerUrl = (0, smithy_client_1.expectString)(data.AdDecisionServerUrl);
1980
+ contents.AdDecisionServerUrl = smithy_client_1.expectString(data.AdDecisionServerUrl);
1912
1981
  }
1913
1982
  if (data.AvailSuppression !== undefined && data.AvailSuppression !== null) {
1914
1983
  contents.AvailSuppression = deserializeAws_restJson1AvailSuppression(data.AvailSuppression, context);
@@ -1931,35 +2000,38 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommand = async (output, c
1931
2000
  if (data.LivePreRollConfiguration !== undefined && data.LivePreRollConfiguration !== null) {
1932
2001
  contents.LivePreRollConfiguration = deserializeAws_restJson1LivePreRollConfiguration(data.LivePreRollConfiguration, context);
1933
2002
  }
2003
+ if (data.LogConfiguration !== undefined && data.LogConfiguration !== null) {
2004
+ contents.LogConfiguration = deserializeAws_restJson1LogConfiguration(data.LogConfiguration, context);
2005
+ }
1934
2006
  if (data.ManifestProcessingRules !== undefined && data.ManifestProcessingRules !== null) {
1935
2007
  contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(data.ManifestProcessingRules, context);
1936
2008
  }
1937
2009
  if (data.Name !== undefined && data.Name !== null) {
1938
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
2010
+ contents.Name = smithy_client_1.expectString(data.Name);
1939
2011
  }
1940
2012
  if (data.PersonalizationThresholdSeconds !== undefined && data.PersonalizationThresholdSeconds !== null) {
1941
- contents.PersonalizationThresholdSeconds = (0, smithy_client_1.expectInt32)(data.PersonalizationThresholdSeconds);
2013
+ contents.PersonalizationThresholdSeconds = smithy_client_1.expectInt32(data.PersonalizationThresholdSeconds);
1942
2014
  }
1943
2015
  if (data.PlaybackConfigurationArn !== undefined && data.PlaybackConfigurationArn !== null) {
1944
- contents.PlaybackConfigurationArn = (0, smithy_client_1.expectString)(data.PlaybackConfigurationArn);
2016
+ contents.PlaybackConfigurationArn = smithy_client_1.expectString(data.PlaybackConfigurationArn);
1945
2017
  }
1946
2018
  if (data.PlaybackEndpointPrefix !== undefined && data.PlaybackEndpointPrefix !== null) {
1947
- contents.PlaybackEndpointPrefix = (0, smithy_client_1.expectString)(data.PlaybackEndpointPrefix);
2019
+ contents.PlaybackEndpointPrefix = smithy_client_1.expectString(data.PlaybackEndpointPrefix);
1948
2020
  }
1949
2021
  if (data.SessionInitializationEndpointPrefix !== undefined && data.SessionInitializationEndpointPrefix !== null) {
1950
- contents.SessionInitializationEndpointPrefix = (0, smithy_client_1.expectString)(data.SessionInitializationEndpointPrefix);
2022
+ contents.SessionInitializationEndpointPrefix = smithy_client_1.expectString(data.SessionInitializationEndpointPrefix);
1951
2023
  }
1952
2024
  if (data.SlateAdUrl !== undefined && data.SlateAdUrl !== null) {
1953
- contents.SlateAdUrl = (0, smithy_client_1.expectString)(data.SlateAdUrl);
2025
+ contents.SlateAdUrl = smithy_client_1.expectString(data.SlateAdUrl);
1954
2026
  }
1955
2027
  if (data.tags !== undefined && data.tags !== null) {
1956
2028
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1957
2029
  }
1958
2030
  if (data.TranscodeProfileName !== undefined && data.TranscodeProfileName !== null) {
1959
- contents.TranscodeProfileName = (0, smithy_client_1.expectString)(data.TranscodeProfileName);
2031
+ contents.TranscodeProfileName = smithy_client_1.expectString(data.TranscodeProfileName);
1960
2032
  }
1961
2033
  if (data.VideoContentSourceUrl !== undefined && data.VideoContentSourceUrl !== null) {
1962
- contents.VideoContentSourceUrl = (0, smithy_client_1.expectString)(data.VideoContentSourceUrl);
2034
+ contents.VideoContentSourceUrl = smithy_client_1.expectString(data.VideoContentSourceUrl);
1963
2035
  }
1964
2036
  return Promise.resolve(contents);
1965
2037
  };
@@ -1998,12 +2070,12 @@ const deserializeAws_restJson1ListAlertsCommand = async (output, context) => {
1998
2070
  Items: undefined,
1999
2071
  NextToken: undefined,
2000
2072
  };
2001
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2073
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2002
2074
  if (data.Items !== undefined && data.Items !== null) {
2003
2075
  contents.Items = deserializeAws_restJson1__listOfAlert(data.Items, context);
2004
2076
  }
2005
2077
  if (data.NextToken !== undefined && data.NextToken !== null) {
2006
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2078
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2007
2079
  }
2008
2080
  return Promise.resolve(contents);
2009
2081
  };
@@ -2042,12 +2114,12 @@ const deserializeAws_restJson1ListChannelsCommand = async (output, context) => {
2042
2114
  Items: undefined,
2043
2115
  NextToken: undefined,
2044
2116
  };
2045
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2117
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2046
2118
  if (data.Items !== undefined && data.Items !== null) {
2047
2119
  contents.Items = deserializeAws_restJson1__listOfChannel(data.Items, context);
2048
2120
  }
2049
2121
  if (data.NextToken !== undefined && data.NextToken !== null) {
2050
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2122
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2051
2123
  }
2052
2124
  return Promise.resolve(contents);
2053
2125
  };
@@ -2086,12 +2158,12 @@ const deserializeAws_restJson1ListPlaybackConfigurationsCommand = async (output,
2086
2158
  Items: undefined,
2087
2159
  NextToken: undefined,
2088
2160
  };
2089
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2161
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2090
2162
  if (data.Items !== undefined && data.Items !== null) {
2091
2163
  contents.Items = deserializeAws_restJson1__listOfPlaybackConfiguration(data.Items, context);
2092
2164
  }
2093
2165
  if (data.NextToken !== undefined && data.NextToken !== null) {
2094
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2166
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2095
2167
  }
2096
2168
  return Promise.resolve(contents);
2097
2169
  };
@@ -2130,12 +2202,12 @@ const deserializeAws_restJson1ListSourceLocationsCommand = async (output, contex
2130
2202
  Items: undefined,
2131
2203
  NextToken: undefined,
2132
2204
  };
2133
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2205
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2134
2206
  if (data.Items !== undefined && data.Items !== null) {
2135
2207
  contents.Items = deserializeAws_restJson1__listOfSourceLocation(data.Items, context);
2136
2208
  }
2137
2209
  if (data.NextToken !== undefined && data.NextToken !== null) {
2138
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2210
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2139
2211
  }
2140
2212
  return Promise.resolve(contents);
2141
2213
  };
@@ -2173,7 +2245,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2173
2245
  $metadata: deserializeMetadata(output),
2174
2246
  Tags: undefined,
2175
2247
  };
2176
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2248
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2177
2249
  if (data.tags !== undefined && data.tags !== null) {
2178
2250
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2179
2251
  }
@@ -2222,12 +2294,12 @@ const deserializeAws_restJson1ListVodSourcesCommand = async (output, context) =>
2222
2294
  Items: undefined,
2223
2295
  NextToken: undefined,
2224
2296
  };
2225
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2297
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2226
2298
  if (data.Items !== undefined && data.Items !== null) {
2227
2299
  contents.Items = deserializeAws_restJson1__listOfVodSource(data.Items, context);
2228
2300
  }
2229
2301
  if (data.NextToken !== undefined && data.NextToken !== null) {
2230
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2302
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
2231
2303
  }
2232
2304
  return Promise.resolve(contents);
2233
2305
  };
@@ -2307,6 +2379,7 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
2307
2379
  DashConfiguration: undefined,
2308
2380
  HlsConfiguration: undefined,
2309
2381
  LivePreRollConfiguration: undefined,
2382
+ LogConfiguration: undefined,
2310
2383
  ManifestProcessingRules: undefined,
2311
2384
  Name: undefined,
2312
2385
  PersonalizationThresholdSeconds: undefined,
@@ -2318,9 +2391,9 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
2318
2391
  TranscodeProfileName: undefined,
2319
2392
  VideoContentSourceUrl: undefined,
2320
2393
  };
2321
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2394
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2322
2395
  if (data.AdDecisionServerUrl !== undefined && data.AdDecisionServerUrl !== null) {
2323
- contents.AdDecisionServerUrl = (0, smithy_client_1.expectString)(data.AdDecisionServerUrl);
2396
+ contents.AdDecisionServerUrl = smithy_client_1.expectString(data.AdDecisionServerUrl);
2324
2397
  }
2325
2398
  if (data.AvailSuppression !== undefined && data.AvailSuppression !== null) {
2326
2399
  contents.AvailSuppression = deserializeAws_restJson1AvailSuppression(data.AvailSuppression, context);
@@ -2343,35 +2416,38 @@ const deserializeAws_restJson1PutPlaybackConfigurationCommand = async (output, c
2343
2416
  if (data.LivePreRollConfiguration !== undefined && data.LivePreRollConfiguration !== null) {
2344
2417
  contents.LivePreRollConfiguration = deserializeAws_restJson1LivePreRollConfiguration(data.LivePreRollConfiguration, context);
2345
2418
  }
2419
+ if (data.LogConfiguration !== undefined && data.LogConfiguration !== null) {
2420
+ contents.LogConfiguration = deserializeAws_restJson1LogConfiguration(data.LogConfiguration, context);
2421
+ }
2346
2422
  if (data.ManifestProcessingRules !== undefined && data.ManifestProcessingRules !== null) {
2347
2423
  contents.ManifestProcessingRules = deserializeAws_restJson1ManifestProcessingRules(data.ManifestProcessingRules, context);
2348
2424
  }
2349
2425
  if (data.Name !== undefined && data.Name !== null) {
2350
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
2426
+ contents.Name = smithy_client_1.expectString(data.Name);
2351
2427
  }
2352
2428
  if (data.PersonalizationThresholdSeconds !== undefined && data.PersonalizationThresholdSeconds !== null) {
2353
- contents.PersonalizationThresholdSeconds = (0, smithy_client_1.expectInt32)(data.PersonalizationThresholdSeconds);
2429
+ contents.PersonalizationThresholdSeconds = smithy_client_1.expectInt32(data.PersonalizationThresholdSeconds);
2354
2430
  }
2355
2431
  if (data.PlaybackConfigurationArn !== undefined && data.PlaybackConfigurationArn !== null) {
2356
- contents.PlaybackConfigurationArn = (0, smithy_client_1.expectString)(data.PlaybackConfigurationArn);
2432
+ contents.PlaybackConfigurationArn = smithy_client_1.expectString(data.PlaybackConfigurationArn);
2357
2433
  }
2358
2434
  if (data.PlaybackEndpointPrefix !== undefined && data.PlaybackEndpointPrefix !== null) {
2359
- contents.PlaybackEndpointPrefix = (0, smithy_client_1.expectString)(data.PlaybackEndpointPrefix);
2435
+ contents.PlaybackEndpointPrefix = smithy_client_1.expectString(data.PlaybackEndpointPrefix);
2360
2436
  }
2361
2437
  if (data.SessionInitializationEndpointPrefix !== undefined && data.SessionInitializationEndpointPrefix !== null) {
2362
- contents.SessionInitializationEndpointPrefix = (0, smithy_client_1.expectString)(data.SessionInitializationEndpointPrefix);
2438
+ contents.SessionInitializationEndpointPrefix = smithy_client_1.expectString(data.SessionInitializationEndpointPrefix);
2363
2439
  }
2364
2440
  if (data.SlateAdUrl !== undefined && data.SlateAdUrl !== null) {
2365
- contents.SlateAdUrl = (0, smithy_client_1.expectString)(data.SlateAdUrl);
2441
+ contents.SlateAdUrl = smithy_client_1.expectString(data.SlateAdUrl);
2366
2442
  }
2367
2443
  if (data.tags !== undefined && data.tags !== null) {
2368
2444
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2369
2445
  }
2370
2446
  if (data.TranscodeProfileName !== undefined && data.TranscodeProfileName !== null) {
2371
- contents.TranscodeProfileName = (0, smithy_client_1.expectString)(data.TranscodeProfileName);
2447
+ contents.TranscodeProfileName = smithy_client_1.expectString(data.TranscodeProfileName);
2372
2448
  }
2373
2449
  if (data.VideoContentSourceUrl !== undefined && data.VideoContentSourceUrl !== null) {
2374
- contents.VideoContentSourceUrl = (0, smithy_client_1.expectString)(data.VideoContentSourceUrl);
2450
+ contents.VideoContentSourceUrl = smithy_client_1.expectString(data.VideoContentSourceUrl);
2375
2451
  }
2376
2452
  return Promise.resolve(contents);
2377
2453
  };
@@ -2577,30 +2653,30 @@ const deserializeAws_restJson1UpdateChannelCommand = async (output, context) =>
2577
2653
  PlaybackMode: undefined,
2578
2654
  Tags: undefined,
2579
2655
  };
2580
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2656
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2581
2657
  if (data.Arn !== undefined && data.Arn !== null) {
2582
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
2658
+ contents.Arn = smithy_client_1.expectString(data.Arn);
2583
2659
  }
2584
2660
  if (data.ChannelName !== undefined && data.ChannelName !== null) {
2585
- contents.ChannelName = (0, smithy_client_1.expectString)(data.ChannelName);
2661
+ contents.ChannelName = smithy_client_1.expectString(data.ChannelName);
2586
2662
  }
2587
2663
  if (data.ChannelState !== undefined && data.ChannelState !== null) {
2588
- contents.ChannelState = (0, smithy_client_1.expectString)(data.ChannelState);
2664
+ contents.ChannelState = smithy_client_1.expectString(data.ChannelState);
2589
2665
  }
2590
2666
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
2591
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
2667
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
2592
2668
  }
2593
2669
  if (data.FillerSlate !== undefined && data.FillerSlate !== null) {
2594
2670
  contents.FillerSlate = deserializeAws_restJson1SlateSource(data.FillerSlate, context);
2595
2671
  }
2596
2672
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
2597
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
2673
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
2598
2674
  }
2599
2675
  if (data.Outputs !== undefined && data.Outputs !== null) {
2600
2676
  contents.Outputs = deserializeAws_restJson1ResponseOutputs(data.Outputs, context);
2601
2677
  }
2602
2678
  if (data.PlaybackMode !== undefined && data.PlaybackMode !== null) {
2603
- contents.PlaybackMode = (0, smithy_client_1.expectString)(data.PlaybackMode);
2679
+ contents.PlaybackMode = smithy_client_1.expectString(data.PlaybackMode);
2604
2680
  }
2605
2681
  if (data.tags !== undefined && data.tags !== null) {
2606
2682
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -2648,15 +2724,15 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
2648
2724
  SourceLocationName: undefined,
2649
2725
  Tags: undefined,
2650
2726
  };
2651
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2727
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2652
2728
  if (data.AccessConfiguration !== undefined && data.AccessConfiguration !== null) {
2653
2729
  contents.AccessConfiguration = deserializeAws_restJson1AccessConfiguration(data.AccessConfiguration, context);
2654
2730
  }
2655
2731
  if (data.Arn !== undefined && data.Arn !== null) {
2656
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
2732
+ contents.Arn = smithy_client_1.expectString(data.Arn);
2657
2733
  }
2658
2734
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
2659
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
2735
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
2660
2736
  }
2661
2737
  if (data.DefaultSegmentDeliveryConfiguration !== undefined && data.DefaultSegmentDeliveryConfiguration !== null) {
2662
2738
  contents.DefaultSegmentDeliveryConfiguration = deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(data.DefaultSegmentDeliveryConfiguration, context);
@@ -2665,10 +2741,10 @@ const deserializeAws_restJson1UpdateSourceLocationCommand = async (output, conte
2665
2741
  contents.HttpConfiguration = deserializeAws_restJson1HttpConfiguration(data.HttpConfiguration, context);
2666
2742
  }
2667
2743
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
2668
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
2744
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
2669
2745
  }
2670
2746
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
2671
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
2747
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
2672
2748
  }
2673
2749
  if (data.tags !== undefined && data.tags !== null) {
2674
2750
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
@@ -2715,27 +2791,27 @@ const deserializeAws_restJson1UpdateVodSourceCommand = async (output, context) =
2715
2791
  Tags: undefined,
2716
2792
  VodSourceName: undefined,
2717
2793
  };
2718
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2794
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2719
2795
  if (data.Arn !== undefined && data.Arn !== null) {
2720
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
2796
+ contents.Arn = smithy_client_1.expectString(data.Arn);
2721
2797
  }
2722
2798
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
2723
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
2799
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
2724
2800
  }
2725
2801
  if (data.HttpPackageConfigurations !== undefined && data.HttpPackageConfigurations !== null) {
2726
2802
  contents.HttpPackageConfigurations = deserializeAws_restJson1HttpPackageConfigurations(data.HttpPackageConfigurations, context);
2727
2803
  }
2728
2804
  if (data.LastModifiedTime !== undefined && data.LastModifiedTime !== null) {
2729
- contents.LastModifiedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedTime)));
2805
+ contents.LastModifiedTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedTime)));
2730
2806
  }
2731
2807
  if (data.SourceLocationName !== undefined && data.SourceLocationName !== null) {
2732
- contents.SourceLocationName = (0, smithy_client_1.expectString)(data.SourceLocationName);
2808
+ contents.SourceLocationName = smithy_client_1.expectString(data.SourceLocationName);
2733
2809
  }
2734
2810
  if (data.tags !== undefined && data.tags !== null) {
2735
2811
  contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
2736
2812
  }
2737
2813
  if (data.VodSourceName !== undefined && data.VodSourceName !== null) {
2738
- contents.VodSourceName = (0, smithy_client_1.expectString)(data.VodSourceName);
2814
+ contents.VodSourceName = smithy_client_1.expectString(data.VodSourceName);
2739
2815
  }
2740
2816
  return Promise.resolve(contents);
2741
2817
  };
@@ -2774,7 +2850,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
2774
2850
  };
2775
2851
  const data = parsedOutput.body;
2776
2852
  if (data.Message !== undefined && data.Message !== null) {
2777
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2853
+ contents.Message = smithy_client_1.expectString(data.Message);
2778
2854
  }
2779
2855
  return contents;
2780
2856
  };
@@ -2999,7 +3075,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2999
3075
  if (entry === null) {
3000
3076
  return null;
3001
3077
  }
3002
- return (0, smithy_client_1.expectString)(entry);
3078
+ return smithy_client_1.expectString(entry);
3003
3079
  });
3004
3080
  };
3005
3081
  const deserializeAws_restJson1__listOfAdBreak = (output, context) => {
@@ -3089,13 +3165,13 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
3089
3165
  }
3090
3166
  return {
3091
3167
  ...acc,
3092
- [key]: (0, smithy_client_1.expectString)(value),
3168
+ [key]: smithy_client_1.expectString(value),
3093
3169
  };
3094
3170
  }, {});
3095
3171
  };
3096
3172
  const deserializeAws_restJson1AccessConfiguration = (output, context) => {
3097
3173
  return {
3098
- AccessType: (0, smithy_client_1.expectString)(output.AccessType),
3174
+ AccessType: smithy_client_1.expectString(output.AccessType),
3099
3175
  SecretsManagerAccessTokenConfiguration: output.SecretsManagerAccessTokenConfiguration !== undefined &&
3100
3176
  output.SecretsManagerAccessTokenConfiguration !== null
3101
3177
  ? deserializeAws_restJson1SecretsManagerAccessTokenConfiguration(output.SecretsManagerAccessTokenConfiguration, context)
@@ -3104,8 +3180,8 @@ const deserializeAws_restJson1AccessConfiguration = (output, context) => {
3104
3180
  };
3105
3181
  const deserializeAws_restJson1AdBreak = (output, context) => {
3106
3182
  return {
3107
- MessageType: (0, smithy_client_1.expectString)(output.MessageType),
3108
- OffsetMillis: (0, smithy_client_1.expectLong)(output.OffsetMillis),
3183
+ MessageType: smithy_client_1.expectString(output.MessageType),
3184
+ OffsetMillis: smithy_client_1.expectLong(output.OffsetMillis),
3109
3185
  Slate: output.Slate !== undefined && output.Slate !== null
3110
3186
  ? deserializeAws_restJson1SlateSource(output.Slate, context)
3111
3187
  : undefined,
@@ -3116,58 +3192,58 @@ const deserializeAws_restJson1AdBreak = (output, context) => {
3116
3192
  };
3117
3193
  const deserializeAws_restJson1AdMarkerPassthrough = (output, context) => {
3118
3194
  return {
3119
- Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
3195
+ Enabled: smithy_client_1.expectBoolean(output.Enabled),
3120
3196
  };
3121
3197
  };
3122
3198
  const deserializeAws_restJson1Alert = (output, context) => {
3123
3199
  return {
3124
- AlertCode: (0, smithy_client_1.expectString)(output.AlertCode),
3125
- AlertMessage: (0, smithy_client_1.expectString)(output.AlertMessage),
3200
+ AlertCode: smithy_client_1.expectString(output.AlertCode),
3201
+ AlertMessage: smithy_client_1.expectString(output.AlertMessage),
3126
3202
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3127
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3203
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3128
3204
  : undefined,
3129
3205
  RelatedResourceArns: output.RelatedResourceArns !== undefined && output.RelatedResourceArns !== null
3130
3206
  ? deserializeAws_restJson1__listOf__string(output.RelatedResourceArns, context)
3131
3207
  : undefined,
3132
- ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
3208
+ ResourceArn: smithy_client_1.expectString(output.ResourceArn),
3133
3209
  };
3134
3210
  };
3135
3211
  const deserializeAws_restJson1AvailSuppression = (output, context) => {
3136
3212
  return {
3137
- Mode: (0, smithy_client_1.expectString)(output.Mode),
3138
- Value: (0, smithy_client_1.expectString)(output.Value),
3213
+ Mode: smithy_client_1.expectString(output.Mode),
3214
+ Value: smithy_client_1.expectString(output.Value),
3139
3215
  };
3140
3216
  };
3141
3217
  const deserializeAws_restJson1Bumper = (output, context) => {
3142
3218
  return {
3143
- EndUrl: (0, smithy_client_1.expectString)(output.EndUrl),
3144
- StartUrl: (0, smithy_client_1.expectString)(output.StartUrl),
3219
+ EndUrl: smithy_client_1.expectString(output.EndUrl),
3220
+ StartUrl: smithy_client_1.expectString(output.StartUrl),
3145
3221
  };
3146
3222
  };
3147
3223
  const deserializeAws_restJson1CdnConfiguration = (output, context) => {
3148
3224
  return {
3149
- AdSegmentUrlPrefix: (0, smithy_client_1.expectString)(output.AdSegmentUrlPrefix),
3150
- ContentSegmentUrlPrefix: (0, smithy_client_1.expectString)(output.ContentSegmentUrlPrefix),
3225
+ AdSegmentUrlPrefix: smithy_client_1.expectString(output.AdSegmentUrlPrefix),
3226
+ ContentSegmentUrlPrefix: smithy_client_1.expectString(output.ContentSegmentUrlPrefix),
3151
3227
  };
3152
3228
  };
3153
3229
  const deserializeAws_restJson1Channel = (output, context) => {
3154
3230
  return {
3155
- Arn: (0, smithy_client_1.expectString)(output.Arn),
3156
- ChannelName: (0, smithy_client_1.expectString)(output.ChannelName),
3157
- ChannelState: (0, smithy_client_1.expectString)(output.ChannelState),
3231
+ Arn: smithy_client_1.expectString(output.Arn),
3232
+ ChannelName: smithy_client_1.expectString(output.ChannelName),
3233
+ ChannelState: smithy_client_1.expectString(output.ChannelState),
3158
3234
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3159
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3235
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3160
3236
  : undefined,
3161
3237
  FillerSlate: output.FillerSlate !== undefined && output.FillerSlate !== null
3162
3238
  ? deserializeAws_restJson1SlateSource(output.FillerSlate, context)
3163
3239
  : undefined,
3164
3240
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3165
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3241
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3166
3242
  : undefined,
3167
3243
  Outputs: output.Outputs !== undefined && output.Outputs !== null
3168
3244
  ? deserializeAws_restJson1ResponseOutputs(output.Outputs, context)
3169
3245
  : undefined,
3170
- PlaybackMode: (0, smithy_client_1.expectString)(output.PlaybackMode),
3246
+ PlaybackMode: smithy_client_1.expectString(output.PlaybackMode),
3171
3247
  Tags: output.tags !== undefined && output.tags !== null
3172
3248
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
3173
3249
  : undefined,
@@ -3186,44 +3262,44 @@ const deserializeAws_restJson1ConfigurationAliasesResponse = (output, context) =
3186
3262
  };
3187
3263
  const deserializeAws_restJson1DashConfiguration = (output, context) => {
3188
3264
  return {
3189
- ManifestEndpointPrefix: (0, smithy_client_1.expectString)(output.ManifestEndpointPrefix),
3190
- MpdLocation: (0, smithy_client_1.expectString)(output.MpdLocation),
3191
- OriginManifestType: (0, smithy_client_1.expectString)(output.OriginManifestType),
3265
+ ManifestEndpointPrefix: smithy_client_1.expectString(output.ManifestEndpointPrefix),
3266
+ MpdLocation: smithy_client_1.expectString(output.MpdLocation),
3267
+ OriginManifestType: smithy_client_1.expectString(output.OriginManifestType),
3192
3268
  };
3193
3269
  };
3194
3270
  const deserializeAws_restJson1DashPlaylistSettings = (output, context) => {
3195
3271
  return {
3196
- ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.ManifestWindowSeconds),
3197
- MinBufferTimeSeconds: (0, smithy_client_1.expectInt32)(output.MinBufferTimeSeconds),
3198
- MinUpdatePeriodSeconds: (0, smithy_client_1.expectInt32)(output.MinUpdatePeriodSeconds),
3199
- SuggestedPresentationDelaySeconds: (0, smithy_client_1.expectInt32)(output.SuggestedPresentationDelaySeconds),
3272
+ ManifestWindowSeconds: smithy_client_1.expectInt32(output.ManifestWindowSeconds),
3273
+ MinBufferTimeSeconds: smithy_client_1.expectInt32(output.MinBufferTimeSeconds),
3274
+ MinUpdatePeriodSeconds: smithy_client_1.expectInt32(output.MinUpdatePeriodSeconds),
3275
+ SuggestedPresentationDelaySeconds: smithy_client_1.expectInt32(output.SuggestedPresentationDelaySeconds),
3200
3276
  };
3201
3277
  };
3202
3278
  const deserializeAws_restJson1DefaultSegmentDeliveryConfiguration = (output, context) => {
3203
3279
  return {
3204
- BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
3280
+ BaseUrl: smithy_client_1.expectString(output.BaseUrl),
3205
3281
  };
3206
3282
  };
3207
3283
  const deserializeAws_restJson1HlsConfiguration = (output, context) => {
3208
3284
  return {
3209
- ManifestEndpointPrefix: (0, smithy_client_1.expectString)(output.ManifestEndpointPrefix),
3285
+ ManifestEndpointPrefix: smithy_client_1.expectString(output.ManifestEndpointPrefix),
3210
3286
  };
3211
3287
  };
3212
3288
  const deserializeAws_restJson1HlsPlaylistSettings = (output, context) => {
3213
3289
  return {
3214
- ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.ManifestWindowSeconds),
3290
+ ManifestWindowSeconds: smithy_client_1.expectInt32(output.ManifestWindowSeconds),
3215
3291
  };
3216
3292
  };
3217
3293
  const deserializeAws_restJson1HttpConfiguration = (output, context) => {
3218
3294
  return {
3219
- BaseUrl: (0, smithy_client_1.expectString)(output.BaseUrl),
3295
+ BaseUrl: smithy_client_1.expectString(output.BaseUrl),
3220
3296
  };
3221
3297
  };
3222
3298
  const deserializeAws_restJson1HttpPackageConfiguration = (output, context) => {
3223
3299
  return {
3224
- Path: (0, smithy_client_1.expectString)(output.Path),
3225
- SourceGroup: (0, smithy_client_1.expectString)(output.SourceGroup),
3226
- Type: (0, smithy_client_1.expectString)(output.Type),
3300
+ Path: smithy_client_1.expectString(output.Path),
3301
+ SourceGroup: smithy_client_1.expectString(output.SourceGroup),
3302
+ Type: smithy_client_1.expectString(output.Type),
3227
3303
  };
3228
3304
  };
3229
3305
  const deserializeAws_restJson1HttpPackageConfigurations = (output, context) => {
@@ -3238,8 +3314,13 @@ const deserializeAws_restJson1HttpPackageConfigurations = (output, context) => {
3238
3314
  };
3239
3315
  const deserializeAws_restJson1LivePreRollConfiguration = (output, context) => {
3240
3316
  return {
3241
- AdDecisionServerUrl: (0, smithy_client_1.expectString)(output.AdDecisionServerUrl),
3242
- MaxDurationSeconds: (0, smithy_client_1.expectInt32)(output.MaxDurationSeconds),
3317
+ AdDecisionServerUrl: smithy_client_1.expectString(output.AdDecisionServerUrl),
3318
+ MaxDurationSeconds: smithy_client_1.expectInt32(output.MaxDurationSeconds),
3319
+ };
3320
+ };
3321
+ const deserializeAws_restJson1LogConfiguration = (output, context) => {
3322
+ return {
3323
+ PercentEnabled: smithy_client_1.expectInt32(output.PercentEnabled),
3243
3324
  };
3244
3325
  };
3245
3326
  const deserializeAws_restJson1ManifestProcessingRules = (output, context) => {
@@ -3251,7 +3332,7 @@ const deserializeAws_restJson1ManifestProcessingRules = (output, context) => {
3251
3332
  };
3252
3333
  const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
3253
3334
  return {
3254
- AdDecisionServerUrl: (0, smithy_client_1.expectString)(output.AdDecisionServerUrl),
3335
+ AdDecisionServerUrl: smithy_client_1.expectString(output.AdDecisionServerUrl),
3255
3336
  AvailSuppression: output.AvailSuppression !== undefined && output.AvailSuppression !== null
3256
3337
  ? deserializeAws_restJson1AvailSuppression(output.AvailSuppression, context)
3257
3338
  : undefined,
@@ -3273,20 +3354,23 @@ const deserializeAws_restJson1PlaybackConfiguration = (output, context) => {
3273
3354
  LivePreRollConfiguration: output.LivePreRollConfiguration !== undefined && output.LivePreRollConfiguration !== null
3274
3355
  ? deserializeAws_restJson1LivePreRollConfiguration(output.LivePreRollConfiguration, context)
3275
3356
  : undefined,
3357
+ LogConfiguration: output.LogConfiguration !== undefined && output.LogConfiguration !== null
3358
+ ? deserializeAws_restJson1LogConfiguration(output.LogConfiguration, context)
3359
+ : undefined,
3276
3360
  ManifestProcessingRules: output.ManifestProcessingRules !== undefined && output.ManifestProcessingRules !== null
3277
3361
  ? deserializeAws_restJson1ManifestProcessingRules(output.ManifestProcessingRules, context)
3278
3362
  : undefined,
3279
- Name: (0, smithy_client_1.expectString)(output.Name),
3280
- PersonalizationThresholdSeconds: (0, smithy_client_1.expectInt32)(output.PersonalizationThresholdSeconds),
3281
- PlaybackConfigurationArn: (0, smithy_client_1.expectString)(output.PlaybackConfigurationArn),
3282
- PlaybackEndpointPrefix: (0, smithy_client_1.expectString)(output.PlaybackEndpointPrefix),
3283
- SessionInitializationEndpointPrefix: (0, smithy_client_1.expectString)(output.SessionInitializationEndpointPrefix),
3284
- SlateAdUrl: (0, smithy_client_1.expectString)(output.SlateAdUrl),
3363
+ Name: smithy_client_1.expectString(output.Name),
3364
+ PersonalizationThresholdSeconds: smithy_client_1.expectInt32(output.PersonalizationThresholdSeconds),
3365
+ PlaybackConfigurationArn: smithy_client_1.expectString(output.PlaybackConfigurationArn),
3366
+ PlaybackEndpointPrefix: smithy_client_1.expectString(output.PlaybackEndpointPrefix),
3367
+ SessionInitializationEndpointPrefix: smithy_client_1.expectString(output.SessionInitializationEndpointPrefix),
3368
+ SlateAdUrl: smithy_client_1.expectString(output.SlateAdUrl),
3285
3369
  Tags: output.tags !== undefined && output.tags !== null
3286
3370
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
3287
3371
  : undefined,
3288
- TranscodeProfileName: (0, smithy_client_1.expectString)(output.TranscodeProfileName),
3289
- VideoContentSourceUrl: (0, smithy_client_1.expectString)(output.VideoContentSourceUrl),
3372
+ TranscodeProfileName: smithy_client_1.expectString(output.TranscodeProfileName),
3373
+ VideoContentSourceUrl: smithy_client_1.expectString(output.VideoContentSourceUrl),
3290
3374
  };
3291
3375
  };
3292
3376
  const deserializeAws_restJson1ResponseOutputItem = (output, context) => {
@@ -3297,9 +3381,9 @@ const deserializeAws_restJson1ResponseOutputItem = (output, context) => {
3297
3381
  HlsPlaylistSettings: output.HlsPlaylistSettings !== undefined && output.HlsPlaylistSettings !== null
3298
3382
  ? deserializeAws_restJson1HlsPlaylistSettings(output.HlsPlaylistSettings, context)
3299
3383
  : undefined,
3300
- ManifestName: (0, smithy_client_1.expectString)(output.ManifestName),
3301
- PlaybackUrl: (0, smithy_client_1.expectString)(output.PlaybackUrl),
3302
- SourceGroup: (0, smithy_client_1.expectString)(output.SourceGroup),
3384
+ ManifestName: smithy_client_1.expectString(output.ManifestName),
3385
+ PlaybackUrl: smithy_client_1.expectString(output.PlaybackUrl),
3386
+ SourceGroup: smithy_client_1.expectString(output.SourceGroup),
3303
3387
  };
3304
3388
  };
3305
3389
  const deserializeAws_restJson1ResponseOutputs = (output, context) => {
@@ -3314,42 +3398,42 @@ const deserializeAws_restJson1ResponseOutputs = (output, context) => {
3314
3398
  };
3315
3399
  const deserializeAws_restJson1ScheduleAdBreak = (output, context) => {
3316
3400
  return {
3317
- ApproximateDurationSeconds: (0, smithy_client_1.expectLong)(output.ApproximateDurationSeconds),
3401
+ ApproximateDurationSeconds: smithy_client_1.expectLong(output.ApproximateDurationSeconds),
3318
3402
  ApproximateStartTime: output.ApproximateStartTime !== undefined && output.ApproximateStartTime !== null
3319
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApproximateStartTime)))
3403
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApproximateStartTime)))
3320
3404
  : undefined,
3321
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3322
- VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
3405
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3406
+ VodSourceName: smithy_client_1.expectString(output.VodSourceName),
3323
3407
  };
3324
3408
  };
3325
3409
  const deserializeAws_restJson1ScheduleEntry = (output, context) => {
3326
3410
  return {
3327
- ApproximateDurationSeconds: (0, smithy_client_1.expectLong)(output.ApproximateDurationSeconds),
3411
+ ApproximateDurationSeconds: smithy_client_1.expectLong(output.ApproximateDurationSeconds),
3328
3412
  ApproximateStartTime: output.ApproximateStartTime !== undefined && output.ApproximateStartTime !== null
3329
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApproximateStartTime)))
3413
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApproximateStartTime)))
3330
3414
  : undefined,
3331
- Arn: (0, smithy_client_1.expectString)(output.Arn),
3332
- ChannelName: (0, smithy_client_1.expectString)(output.ChannelName),
3333
- ProgramName: (0, smithy_client_1.expectString)(output.ProgramName),
3415
+ Arn: smithy_client_1.expectString(output.Arn),
3416
+ ChannelName: smithy_client_1.expectString(output.ChannelName),
3417
+ ProgramName: smithy_client_1.expectString(output.ProgramName),
3334
3418
  ScheduleAdBreaks: output.ScheduleAdBreaks !== undefined && output.ScheduleAdBreaks !== null
3335
3419
  ? deserializeAws_restJson1__listOfScheduleAdBreak(output.ScheduleAdBreaks, context)
3336
3420
  : undefined,
3337
- ScheduleEntryType: (0, smithy_client_1.expectString)(output.ScheduleEntryType),
3338
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3339
- VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
3421
+ ScheduleEntryType: smithy_client_1.expectString(output.ScheduleEntryType),
3422
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3423
+ VodSourceName: smithy_client_1.expectString(output.VodSourceName),
3340
3424
  };
3341
3425
  };
3342
3426
  const deserializeAws_restJson1SecretsManagerAccessTokenConfiguration = (output, context) => {
3343
3427
  return {
3344
- HeaderName: (0, smithy_client_1.expectString)(output.HeaderName),
3345
- SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
3346
- SecretStringKey: (0, smithy_client_1.expectString)(output.SecretStringKey),
3428
+ HeaderName: smithy_client_1.expectString(output.HeaderName),
3429
+ SecretArn: smithy_client_1.expectString(output.SecretArn),
3430
+ SecretStringKey: smithy_client_1.expectString(output.SecretStringKey),
3347
3431
  };
3348
3432
  };
3349
3433
  const deserializeAws_restJson1SlateSource = (output, context) => {
3350
3434
  return {
3351
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3352
- VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
3435
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3436
+ VodSourceName: smithy_client_1.expectString(output.VodSourceName),
3353
3437
  };
3354
3438
  };
3355
3439
  const deserializeAws_restJson1SourceLocation = (output, context) => {
@@ -3357,9 +3441,9 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
3357
3441
  AccessConfiguration: output.AccessConfiguration !== undefined && output.AccessConfiguration !== null
3358
3442
  ? deserializeAws_restJson1AccessConfiguration(output.AccessConfiguration, context)
3359
3443
  : undefined,
3360
- Arn: (0, smithy_client_1.expectString)(output.Arn),
3444
+ Arn: smithy_client_1.expectString(output.Arn),
3361
3445
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3362
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3446
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3363
3447
  : undefined,
3364
3448
  DefaultSegmentDeliveryConfiguration: output.DefaultSegmentDeliveryConfiguration !== undefined && output.DefaultSegmentDeliveryConfiguration !== null
3365
3449
  ? deserializeAws_restJson1DefaultSegmentDeliveryConfiguration(output.DefaultSegmentDeliveryConfiguration, context)
@@ -3368,9 +3452,9 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
3368
3452
  ? deserializeAws_restJson1HttpConfiguration(output.HttpConfiguration, context)
3369
3453
  : undefined,
3370
3454
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3371
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3455
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3372
3456
  : undefined,
3373
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3457
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3374
3458
  Tags: output.tags !== undefined && output.tags !== null
3375
3459
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
3376
3460
  : undefined,
@@ -3378,29 +3462,29 @@ const deserializeAws_restJson1SourceLocation = (output, context) => {
3378
3462
  };
3379
3463
  const deserializeAws_restJson1SpliceInsertMessage = (output, context) => {
3380
3464
  return {
3381
- AvailNum: (0, smithy_client_1.expectInt32)(output.AvailNum),
3382
- AvailsExpected: (0, smithy_client_1.expectInt32)(output.AvailsExpected),
3383
- SpliceEventId: (0, smithy_client_1.expectInt32)(output.SpliceEventId),
3384
- UniqueProgramId: (0, smithy_client_1.expectInt32)(output.UniqueProgramId),
3465
+ AvailNum: smithy_client_1.expectInt32(output.AvailNum),
3466
+ AvailsExpected: smithy_client_1.expectInt32(output.AvailsExpected),
3467
+ SpliceEventId: smithy_client_1.expectInt32(output.SpliceEventId),
3468
+ UniqueProgramId: smithy_client_1.expectInt32(output.UniqueProgramId),
3385
3469
  };
3386
3470
  };
3387
3471
  const deserializeAws_restJson1VodSource = (output, context) => {
3388
3472
  return {
3389
- Arn: (0, smithy_client_1.expectString)(output.Arn),
3473
+ Arn: smithy_client_1.expectString(output.Arn),
3390
3474
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3391
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3475
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3392
3476
  : undefined,
3393
3477
  HttpPackageConfigurations: output.HttpPackageConfigurations !== undefined && output.HttpPackageConfigurations !== null
3394
3478
  ? deserializeAws_restJson1HttpPackageConfigurations(output.HttpPackageConfigurations, context)
3395
3479
  : undefined,
3396
3480
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
3397
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
3481
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
3398
3482
  : undefined,
3399
- SourceLocationName: (0, smithy_client_1.expectString)(output.SourceLocationName),
3483
+ SourceLocationName: smithy_client_1.expectString(output.SourceLocationName),
3400
3484
  Tags: output.tags !== undefined && output.tags !== null
3401
3485
  ? deserializeAws_restJson1__mapOf__string(output.tags, context)
3402
3486
  : undefined,
3403
- VodSourceName: (0, smithy_client_1.expectString)(output.VodSourceName),
3487
+ VodSourceName: smithy_client_1.expectString(output.VodSourceName),
3404
3488
  };
3405
3489
  };
3406
3490
  const deserializeMetadata = (output) => {