@aws-sdk/client-mediatailor 3.30.0 → 3.34.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 (216) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/MediaTailor.ts +39 -0
  3. package/MediaTailorClient.ts +6 -0
  4. package/README.md +7 -7
  5. package/commands/ConfigureLogsForPlaybackConfigurationCommand.ts +106 -0
  6. package/dist/cjs/MediaTailor.js +15 -0
  7. package/dist/cjs/MediaTailor.js.map +1 -1
  8. package/dist/cjs/MediaTailorClient.js +13 -13
  9. package/dist/cjs/MediaTailorClient.js.map +1 -1
  10. package/dist/cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +61 -0
  11. package/dist/cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +1 -0
  12. package/dist/cjs/commands/CreateChannelCommand.js +3 -3
  13. package/dist/cjs/commands/CreateChannelCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateProgramCommand.js +3 -3
  15. package/dist/cjs/commands/CreateProgramCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreateSourceLocationCommand.js +3 -3
  17. package/dist/cjs/commands/CreateSourceLocationCommand.js.map +1 -1
  18. package/dist/cjs/commands/CreateVodSourceCommand.js +3 -3
  19. package/dist/cjs/commands/CreateVodSourceCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteChannelCommand.js +3 -3
  21. package/dist/cjs/commands/DeleteChannelCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteChannelPolicyCommand.js +3 -3
  23. package/dist/cjs/commands/DeleteChannelPolicyCommand.js.map +1 -1
  24. package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js +3 -3
  25. package/dist/cjs/commands/DeletePlaybackConfigurationCommand.js.map +1 -1
  26. package/dist/cjs/commands/DeleteProgramCommand.js +3 -3
  27. package/dist/cjs/commands/DeleteProgramCommand.js.map +1 -1
  28. package/dist/cjs/commands/DeleteSourceLocationCommand.js +3 -3
  29. package/dist/cjs/commands/DeleteSourceLocationCommand.js.map +1 -1
  30. package/dist/cjs/commands/DeleteVodSourceCommand.js +3 -3
  31. package/dist/cjs/commands/DeleteVodSourceCommand.js.map +1 -1
  32. package/dist/cjs/commands/DescribeChannelCommand.js +3 -3
  33. package/dist/cjs/commands/DescribeChannelCommand.js.map +1 -1
  34. package/dist/cjs/commands/DescribeProgramCommand.js +3 -3
  35. package/dist/cjs/commands/DescribeProgramCommand.js.map +1 -1
  36. package/dist/cjs/commands/DescribeSourceLocationCommand.js +3 -3
  37. package/dist/cjs/commands/DescribeSourceLocationCommand.js.map +1 -1
  38. package/dist/cjs/commands/DescribeVodSourceCommand.js +3 -3
  39. package/dist/cjs/commands/DescribeVodSourceCommand.js.map +1 -1
  40. package/dist/cjs/commands/GetChannelPolicyCommand.js +3 -3
  41. package/dist/cjs/commands/GetChannelPolicyCommand.js.map +1 -1
  42. package/dist/cjs/commands/GetChannelScheduleCommand.js +3 -3
  43. package/dist/cjs/commands/GetChannelScheduleCommand.js.map +1 -1
  44. package/dist/cjs/commands/GetPlaybackConfigurationCommand.js +3 -3
  45. package/dist/cjs/commands/GetPlaybackConfigurationCommand.js.map +1 -1
  46. package/dist/cjs/commands/ListAlertsCommand.js +3 -3
  47. package/dist/cjs/commands/ListAlertsCommand.js.map +1 -1
  48. package/dist/cjs/commands/ListChannelsCommand.js +3 -3
  49. package/dist/cjs/commands/ListChannelsCommand.js.map +1 -1
  50. package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js +3 -3
  51. package/dist/cjs/commands/ListPlaybackConfigurationsCommand.js.map +1 -1
  52. package/dist/cjs/commands/ListSourceLocationsCommand.js +3 -3
  53. package/dist/cjs/commands/ListSourceLocationsCommand.js.map +1 -1
  54. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  55. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  56. package/dist/cjs/commands/ListVodSourcesCommand.js +3 -3
  57. package/dist/cjs/commands/ListVodSourcesCommand.js.map +1 -1
  58. package/dist/cjs/commands/PutChannelPolicyCommand.js +3 -3
  59. package/dist/cjs/commands/PutChannelPolicyCommand.js.map +1 -1
  60. package/dist/cjs/commands/PutPlaybackConfigurationCommand.js +3 -3
  61. package/dist/cjs/commands/PutPlaybackConfigurationCommand.js.map +1 -1
  62. package/dist/cjs/commands/StartChannelCommand.js +3 -3
  63. package/dist/cjs/commands/StartChannelCommand.js.map +1 -1
  64. package/dist/cjs/commands/StopChannelCommand.js +3 -3
  65. package/dist/cjs/commands/StopChannelCommand.js.map +1 -1
  66. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  67. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  68. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  69. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  70. package/dist/cjs/commands/UpdateChannelCommand.js +3 -3
  71. package/dist/cjs/commands/UpdateChannelCommand.js.map +1 -1
  72. package/dist/cjs/commands/UpdateSourceLocationCommand.js +3 -3
  73. package/dist/cjs/commands/UpdateSourceLocationCommand.js.map +1 -1
  74. package/dist/cjs/commands/UpdateVodSourceCommand.js +3 -3
  75. package/dist/cjs/commands/UpdateVodSourceCommand.js.map +1 -1
  76. package/dist/cjs/endpoints.js +1 -1
  77. package/dist/cjs/endpoints.js.map +1 -1
  78. package/dist/cjs/index.js +43 -42
  79. package/dist/cjs/index.js.map +1 -1
  80. package/dist/cjs/models/index.js +1 -1
  81. package/dist/cjs/models/index.js.map +1 -1
  82. package/dist/cjs/models/models_0.js +30 -3
  83. package/dist/cjs/models/models_0.js.map +1 -1
  84. package/dist/cjs/package.json +39 -39
  85. package/dist/cjs/protocols/Aws_restJson1.js +306 -222
  86. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  87. package/dist/cjs/runtimeConfig.browser.js +4 -4
  88. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  89. package/dist/cjs/runtimeConfig.js +8 -8
  90. package/dist/cjs/runtimeConfig.js.map +1 -1
  91. package/dist/cjs/runtimeConfig.native.js +1 -1
  92. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  93. package/dist/es/MediaTailor.js +16 -4
  94. package/dist/es/MediaTailor.js.map +1 -1
  95. package/dist/es/MediaTailorClient.js +1 -9
  96. package/dist/es/MediaTailorClient.js.map +1 -1
  97. package/dist/es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +40 -0
  98. package/dist/es/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +1 -0
  99. package/dist/es/commands/CreateChannelCommand.js +2 -27
  100. package/dist/es/commands/CreateChannelCommand.js.map +1 -1
  101. package/dist/es/commands/CreateProgramCommand.js +2 -27
  102. package/dist/es/commands/CreateProgramCommand.js.map +1 -1
  103. package/dist/es/commands/CreateSourceLocationCommand.js +2 -27
  104. package/dist/es/commands/CreateSourceLocationCommand.js.map +1 -1
  105. package/dist/es/commands/CreateVodSourceCommand.js +2 -27
  106. package/dist/es/commands/CreateVodSourceCommand.js.map +1 -1
  107. package/dist/es/commands/DeleteChannelCommand.js +2 -27
  108. package/dist/es/commands/DeleteChannelCommand.js.map +1 -1
  109. package/dist/es/commands/DeleteChannelPolicyCommand.js +2 -27
  110. package/dist/es/commands/DeleteChannelPolicyCommand.js.map +1 -1
  111. package/dist/es/commands/DeletePlaybackConfigurationCommand.js +2 -27
  112. package/dist/es/commands/DeletePlaybackConfigurationCommand.js.map +1 -1
  113. package/dist/es/commands/DeleteProgramCommand.js +2 -27
  114. package/dist/es/commands/DeleteProgramCommand.js.map +1 -1
  115. package/dist/es/commands/DeleteSourceLocationCommand.js +2 -27
  116. package/dist/es/commands/DeleteSourceLocationCommand.js.map +1 -1
  117. package/dist/es/commands/DeleteVodSourceCommand.js +2 -27
  118. package/dist/es/commands/DeleteVodSourceCommand.js.map +1 -1
  119. package/dist/es/commands/DescribeChannelCommand.js +2 -27
  120. package/dist/es/commands/DescribeChannelCommand.js.map +1 -1
  121. package/dist/es/commands/DescribeProgramCommand.js +2 -27
  122. package/dist/es/commands/DescribeProgramCommand.js.map +1 -1
  123. package/dist/es/commands/DescribeSourceLocationCommand.js +2 -27
  124. package/dist/es/commands/DescribeSourceLocationCommand.js.map +1 -1
  125. package/dist/es/commands/DescribeVodSourceCommand.js +2 -27
  126. package/dist/es/commands/DescribeVodSourceCommand.js.map +1 -1
  127. package/dist/es/commands/GetChannelPolicyCommand.js +2 -27
  128. package/dist/es/commands/GetChannelPolicyCommand.js.map +1 -1
  129. package/dist/es/commands/GetChannelScheduleCommand.js +2 -27
  130. package/dist/es/commands/GetChannelScheduleCommand.js.map +1 -1
  131. package/dist/es/commands/GetPlaybackConfigurationCommand.js +2 -27
  132. package/dist/es/commands/GetPlaybackConfigurationCommand.js.map +1 -1
  133. package/dist/es/commands/ListAlertsCommand.js +2 -27
  134. package/dist/es/commands/ListAlertsCommand.js.map +1 -1
  135. package/dist/es/commands/ListChannelsCommand.js +2 -27
  136. package/dist/es/commands/ListChannelsCommand.js.map +1 -1
  137. package/dist/es/commands/ListPlaybackConfigurationsCommand.js +2 -27
  138. package/dist/es/commands/ListPlaybackConfigurationsCommand.js.map +1 -1
  139. package/dist/es/commands/ListSourceLocationsCommand.js +2 -27
  140. package/dist/es/commands/ListSourceLocationsCommand.js.map +1 -1
  141. package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
  142. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  143. package/dist/es/commands/ListVodSourcesCommand.js +2 -27
  144. package/dist/es/commands/ListVodSourcesCommand.js.map +1 -1
  145. package/dist/es/commands/PutChannelPolicyCommand.js +2 -27
  146. package/dist/es/commands/PutChannelPolicyCommand.js.map +1 -1
  147. package/dist/es/commands/PutPlaybackConfigurationCommand.js +2 -27
  148. package/dist/es/commands/PutPlaybackConfigurationCommand.js.map +1 -1
  149. package/dist/es/commands/StartChannelCommand.js +2 -27
  150. package/dist/es/commands/StartChannelCommand.js.map +1 -1
  151. package/dist/es/commands/StopChannelCommand.js +2 -27
  152. package/dist/es/commands/StopChannelCommand.js.map +1 -1
  153. package/dist/es/commands/TagResourceCommand.js +2 -27
  154. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  155. package/dist/es/commands/UntagResourceCommand.js +2 -27
  156. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  157. package/dist/es/commands/UpdateChannelCommand.js +2 -27
  158. package/dist/es/commands/UpdateChannelCommand.js.map +1 -1
  159. package/dist/es/commands/UpdateSourceLocationCommand.js +2 -27
  160. package/dist/es/commands/UpdateSourceLocationCommand.js.map +1 -1
  161. package/dist/es/commands/UpdateVodSourceCommand.js +2 -27
  162. package/dist/es/commands/UpdateVodSourceCommand.js.map +1 -1
  163. package/dist/es/endpoints.js +1 -1
  164. package/dist/es/endpoints.js.map +1 -1
  165. package/dist/es/index.js +1 -0
  166. package/dist/es/index.js.map +1 -1
  167. package/dist/es/models/models_0.js +12 -279
  168. package/dist/es/models/models_0.js.map +1 -1
  169. package/dist/es/package.json +39 -39
  170. package/dist/es/pagination/GetChannelSchedulePaginator.js +16 -28
  171. package/dist/es/pagination/GetChannelSchedulePaginator.js.map +1 -1
  172. package/dist/es/pagination/ListAlertsPaginator.js +16 -28
  173. package/dist/es/pagination/ListAlertsPaginator.js.map +1 -1
  174. package/dist/es/pagination/ListChannelsPaginator.js +16 -28
  175. package/dist/es/pagination/ListChannelsPaginator.js.map +1 -1
  176. package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js +16 -28
  177. package/dist/es/pagination/ListPlaybackConfigurationsPaginator.js.map +1 -1
  178. package/dist/es/pagination/ListSourceLocationsPaginator.js +16 -28
  179. package/dist/es/pagination/ListSourceLocationsPaginator.js.map +1 -1
  180. package/dist/es/pagination/ListVodSourcesPaginator.js +16 -28
  181. package/dist/es/pagination/ListVodSourcesPaginator.js.map +1 -1
  182. package/dist/es/protocols/Aws_restJson1.js +368 -277
  183. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  184. package/dist/es/runtimeConfig.browser.js +0 -3
  185. package/dist/es/runtimeConfig.browser.js.map +1 -1
  186. package/dist/es/runtimeConfig.js +0 -3
  187. package/dist/es/runtimeConfig.js.map +1 -1
  188. package/dist/es/runtimeConfig.native.js +0 -3
  189. package/dist/es/runtimeConfig.native.js.map +1 -1
  190. package/dist/es/runtimeConfig.shared.js +0 -3
  191. package/dist/es/runtimeConfig.shared.js.map +1 -1
  192. package/dist/types/MediaTailor.d.ts +7 -0
  193. package/dist/types/MediaTailorClient.d.ts +3 -2
  194. package/dist/types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
  195. package/dist/types/index.d.ts +1 -0
  196. package/dist/types/models/models_0.d.ts +63 -1
  197. package/dist/types/protocols/Aws_restJson1.d.ts +3 -0
  198. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  199. package/dist/types/runtimeConfig.d.ts +1 -0
  200. package/dist/types/runtimeConfig.native.d.ts +1 -0
  201. package/dist/types/ts3.4/MediaTailor.d.ts +7 -0
  202. package/dist/types/ts3.4/MediaTailorClient.d.ts +3 -2
  203. package/dist/types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +35 -0
  204. package/dist/types/ts3.4/index.d.ts +1 -0
  205. package/dist/types/ts3.4/models/models_0.d.ts +63 -1
  206. package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  207. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  208. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  209. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  210. package/index.ts +1 -0
  211. package/models/models_0.ts +80 -1
  212. package/package.json +39 -39
  213. package/protocols/Aws_restJson1.ts +135 -31
  214. package/tsconfig.es.json +0 -2
  215. package/tsconfig.json +3 -5
  216. package/tsconfig.types.json +8 -0
@@ -9,9 +9,6 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
- /**
13
- * @internal
14
- */
15
12
  export var getRuntimeConfig = function (config) {
16
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
14
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeConfig.browser.js","sourceRoot":"","sources":["../../runtimeConfig.browser.ts"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEpF;;GAEG;AACH,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAA+B;;IAC9D,IAAM,kBAAkB,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IAC1D,sCACK,kBAAkB,GAClB,MAAM,KACT,OAAO,EAAE,SAAS,EAClB,aAAa,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa,mCAAI,UAAU,EAClD,aAAa,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,a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fig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
- /**
17
- * @internal
18
- */
19
16
  export var getRuntimeConfig = function (config) {
20
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
18
  emitWarningIfUnsupportedVersion(process.version);
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeConfig.js","sourceRoot":"","sources":["../../runtimeConfig.ts"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,+BAA+B,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACvG,OAAO,EAAE,eAAe,IAAI,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AACjG,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,+BAA+B,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC5G,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAEzE;;GAEG;AACH,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAA+B;;IAC9D,+BAA+B,CAAC,OAAO,CAAC,OAAO,C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MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,eAAe,mCAAI,eAAe,EAC3D,WAAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,QAAQ,EAC5C,WAAW,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,mCAAI,MAAM,IAC1C;AACJ,CAAC,CAAC"}
@@ -1,9 +1,6 @@
1
1
  import { __assign } from "tslib";
2
2
  import { Sha256 } from "@aws-crypto/sha256-js";
3
3
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
- /**
5
- * @internal
6
- */
7
4
  export var getRuntimeConfig = function (config) {
8
5
  var _a;
9
6
  var browserDefaults = getBrowserRuntimeConfig(config);
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeConfig.native.js","sourceRoot":"","sources":["../../runtimeConfig.native.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/C,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEtF;;GAEG;AACH,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAA+B;;IAC9D,IAAM,eAAe,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACxD,sCACK,eAAe,GACf,MAAM,KACT,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAI,MAAM,IAChC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"runtimeConfig.native.js","sourceRoot":"","sources":["../../runtimeConfig.native.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/C,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAKtF,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAA+B;;IAC9D,IAAM,eAAe,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACxD,sCACK,eAAe,GACf,MAAM,KACT,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAI,MAAM,IAChC;AACJ,CAAC,CAAC"}
@@ -1,8 +1,5 @@
1
1
  import { defaultRegionInfoProvider } from "./endpoints";
2
2
  import { parseUrl } from "@aws-sdk/url-parser";
3
- /**
4
- * @internal
5
- */
6
3
  export var getRuntimeConfig = function (config) {
7
4
  var _a, _b, _c, _d, _e;
8
5
  return ({
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeConfig.shared.js","sourceRoot":"","sources":["../../runtimeConfig.shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAG/C;;GAEG;AACH,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAA+B;;IAAK,OAAA,CAAC;QACpE,UAAU,EAAE,YAAY;QACxB,iBAAiB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,iBAAiB,mCAAI,KAAK;QACrD,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAK,EAAe;QAC1C,kBAAkB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,kBAAkB,mCAAI,yBAAyB;QAC3E,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,aAAa;QAC7C,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,QAAQ;KACzC,CAAC,CAAA;CAAA,CAAC"}
1
+ {"version":3,"file":"runtimeConfig.shared.js","sourceRoot":"","sources":["../../runtimeConfig.shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAM/C,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAA+B;;IAAK,OAAA,CAAC;QACpE,UAAU,EAAE,YAAY;QACxB,iBAAiB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,iBAAiB,mCAAI,KAAK;QACrD,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAK,EAAe;QAC1C,kBAAkB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,kBAAkB,mCAAI,yBAAyB;QAC3E,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,aAAa;QAC7C,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,QAAQ;KACzC,CAAC,CAAA;CAAA,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { MediaTailorClient } from "./MediaTailorClient";
2
+ import { ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput } from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
2
3
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
3
4
  import { CreateProgramCommandInput, CreateProgramCommandOutput } from "./commands/CreateProgramCommand";
4
5
  import { CreateSourceLocationCommandInput, CreateSourceLocationCommandOutput } from "./commands/CreateSourceLocationCommand";
@@ -36,6 +37,12 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
36
37
  * <p>Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/">AWS Elemental MediaTailor User Guide</a>.</p> <p>Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</p>
37
38
  */
38
39
  export declare class MediaTailor extends MediaTailorClient {
40
+ /**
41
+ * <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
42
+ */
43
+ configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput>;
44
+ configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void): void;
45
+ configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void): void;
39
46
  /**
40
47
  * <p>Creates a channel.</p>
41
48
  */
@@ -1,3 +1,4 @@
1
+ import { ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput } from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
1
2
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
2
3
  import { CreateProgramCommandInput, CreateProgramCommandOutput } from "./commands/CreateProgramCommand";
3
4
  import { CreateSourceLocationCommandInput, CreateSourceLocationCommandOutput } from "./commands/CreateSourceLocationCommand";
@@ -38,8 +39,8 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
38
39
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
39
40
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
40
41
  import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
41
- export declare type ServiceInputTypes = CreateChannelCommandInput | CreateProgramCommandInput | CreateSourceLocationCommandInput | CreateVodSourceCommandInput | DeleteChannelCommandInput | DeleteChannelPolicyCommandInput | DeletePlaybackConfigurationCommandInput | DeleteProgramCommandInput | DeleteSourceLocationCommandInput | DeleteVodSourceCommandInput | DescribeChannelCommandInput | DescribeProgramCommandInput | DescribeSourceLocationCommandInput | DescribeVodSourceCommandInput | GetChannelPolicyCommandInput | GetChannelScheduleCommandInput | GetPlaybackConfigurationCommandInput | ListAlertsCommandInput | ListChannelsCommandInput | ListPlaybackConfigurationsCommandInput | ListSourceLocationsCommandInput | ListTagsForResourceCommandInput | ListVodSourcesCommandInput | PutChannelPolicyCommandInput | PutPlaybackConfigurationCommandInput | StartChannelCommandInput | StopChannelCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdateSourceLocationCommandInput | UpdateVodSourceCommandInput;
42
- export declare type ServiceOutputTypes = CreateChannelCommandOutput | CreateProgramCommandOutput | CreateSourceLocationCommandOutput | CreateVodSourceCommandOutput | DeleteChannelCommandOutput | DeleteChannelPolicyCommandOutput | DeletePlaybackConfigurationCommandOutput | DeleteProgramCommandOutput | DeleteSourceLocationCommandOutput | DeleteVodSourceCommandOutput | DescribeChannelCommandOutput | DescribeProgramCommandOutput | DescribeSourceLocationCommandOutput | DescribeVodSourceCommandOutput | GetChannelPolicyCommandOutput | GetChannelScheduleCommandOutput | GetPlaybackConfigurationCommandOutput | ListAlertsCommandOutput | ListChannelsCommandOutput | ListPlaybackConfigurationsCommandOutput | ListSourceLocationsCommandOutput | ListTagsForResourceCommandOutput | ListVodSourcesCommandOutput | PutChannelPolicyCommandOutput | PutPlaybackConfigurationCommandOutput | StartChannelCommandOutput | StopChannelCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdateSourceLocationCommandOutput | UpdateVodSourceCommandOutput;
42
+ export declare type ServiceInputTypes = ConfigureLogsForPlaybackConfigurationCommandInput | CreateChannelCommandInput | CreateProgramCommandInput | CreateSourceLocationCommandInput | CreateVodSourceCommandInput | DeleteChannelCommandInput | DeleteChannelPolicyCommandInput | DeletePlaybackConfigurationCommandInput | DeleteProgramCommandInput | DeleteSourceLocationCommandInput | DeleteVodSourceCommandInput | DescribeChannelCommandInput | DescribeProgramCommandInput | DescribeSourceLocationCommandInput | DescribeVodSourceCommandInput | GetChannelPolicyCommandInput | GetChannelScheduleCommandInput | GetPlaybackConfigurationCommandInput | ListAlertsCommandInput | ListChannelsCommandInput | ListPlaybackConfigurationsCommandInput | ListSourceLocationsCommandInput | ListTagsForResourceCommandInput | ListVodSourcesCommandInput | PutChannelPolicyCommandInput | PutPlaybackConfigurationCommandInput | StartChannelCommandInput | StopChannelCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdateSourceLocationCommandInput | UpdateVodSourceCommandInput;
43
+ export declare type ServiceOutputTypes = ConfigureLogsForPlaybackConfigurationCommandOutput | CreateChannelCommandOutput | CreateProgramCommandOutput | CreateSourceLocationCommandOutput | CreateVodSourceCommandOutput | DeleteChannelCommandOutput | DeleteChannelPolicyCommandOutput | DeletePlaybackConfigurationCommandOutput | DeleteProgramCommandOutput | DeleteSourceLocationCommandOutput | DeleteVodSourceCommandOutput | DescribeChannelCommandOutput | DescribeProgramCommandOutput | DescribeSourceLocationCommandOutput | DescribeVodSourceCommandOutput | GetChannelPolicyCommandOutput | GetChannelScheduleCommandOutput | GetPlaybackConfigurationCommandOutput | ListAlertsCommandOutput | ListChannelsCommandOutput | ListPlaybackConfigurationsCommandOutput | ListSourceLocationsCommandOutput | ListTagsForResourceCommandOutput | ListVodSourcesCommandOutput | PutChannelPolicyCommandOutput | PutPlaybackConfigurationCommandOutput | StartChannelCommandOutput | StopChannelCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdateSourceLocationCommandOutput | UpdateVodSourceCommandOutput;
43
44
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
44
45
  /**
45
46
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
+ import { ConfigureLogsForPlaybackConfigurationRequest, ConfigureLogsForPlaybackConfigurationResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
+ export interface ConfigureLogsForPlaybackConfigurationCommandInput extends ConfigureLogsForPlaybackConfigurationRequest {
6
+ }
7
+ export interface ConfigureLogsForPlaybackConfigurationCommandOutput extends ConfigureLogsForPlaybackConfigurationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MediaTailorClient, ConfigureLogsForPlaybackConfigurationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
15
+ * // const { MediaTailorClient, ConfigureLogsForPlaybackConfigurationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
16
+ * const client = new MediaTailorClient(config);
17
+ * const command = new ConfigureLogsForPlaybackConfigurationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ConfigureLogsForPlaybackConfigurationCommandInput} for command's `input` shape.
22
+ * @see {@link ConfigureLogsForPlaybackConfigurationCommandOutput} for command's `response` shape.
23
+ * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
24
+ *
25
+ */
26
+ export declare class ConfigureLogsForPlaybackConfigurationCommand extends $Command<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput, MediaTailorClientResolvedConfig> {
27
+ readonly input: ConfigureLogsForPlaybackConfigurationCommandInput;
28
+ constructor(input: ConfigureLogsForPlaybackConfigurationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./MediaTailorClient";
2
2
  export * from "./MediaTailor";
3
+ export * from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
3
4
  export * from "./commands/CreateChannelCommand";
4
5
  export * from "./commands/CreateProgramCommand";
5
6
  export * from "./commands/CreateSourceLocationCommand";
@@ -350,6 +350,21 @@ export declare namespace LivePreRollConfiguration {
350
350
  */
351
351
  const filterSensitiveLog: (obj: LivePreRollConfiguration) => any;
352
352
  }
353
+ /**
354
+ * <p>Returns Amazon CloudWatch log settings for a playback configuration.</p>
355
+ */
356
+ export interface LogConfiguration {
357
+ /**
358
+ * <p>The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html">debug log mode</a>.</p> <p>Valid values: 0 - 100</p>
359
+ */
360
+ PercentEnabled: number | undefined;
361
+ }
362
+ export declare namespace LogConfiguration {
363
+ /**
364
+ * @internal
365
+ */
366
+ const filterSensitiveLog: (obj: LogConfiguration) => any;
367
+ }
353
368
  /**
354
369
  * <p>For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest.</p> <p>No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.</p>
355
370
  */
@@ -420,6 +435,10 @@ export interface PlaybackConfiguration {
420
435
  * <p>The configuration for pre-roll ad insertion.</p>
421
436
  */
422
437
  LivePreRollConfiguration?: LivePreRollConfiguration;
438
+ /**
439
+ * <p>The Amazon CloudWatch log settings for a playback configuration.</p>
440
+ */
441
+ LogConfiguration?: LogConfiguration;
423
442
  /**
424
443
  * <p>The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.</p>
425
444
  */
@@ -754,6 +773,41 @@ export declare enum ChannelState {
754
773
  RUNNING = "RUNNING",
755
774
  STOPPED = "STOPPED"
756
775
  }
776
+ /**
777
+ * <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
778
+ */
779
+ export interface ConfigureLogsForPlaybackConfigurationRequest {
780
+ /**
781
+ * <p>The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html">debug log mode</a>.</p> <p>Valid values: 0 - 100</p>
782
+ */
783
+ PercentEnabled: number | undefined;
784
+ /**
785
+ * <p>The name of the playback configuration.</p>
786
+ */
787
+ PlaybackConfigurationName: string | undefined;
788
+ }
789
+ export declare namespace ConfigureLogsForPlaybackConfigurationRequest {
790
+ /**
791
+ * @internal
792
+ */
793
+ const filterSensitiveLog: (obj: ConfigureLogsForPlaybackConfigurationRequest) => any;
794
+ }
795
+ export interface ConfigureLogsForPlaybackConfigurationResponse {
796
+ /**
797
+ * <p>The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.</p>
798
+ */
799
+ PercentEnabled?: number;
800
+ /**
801
+ * <p>The name of the playback configuration.</p>
802
+ */
803
+ PlaybackConfigurationName?: string;
804
+ }
805
+ export declare namespace ConfigureLogsForPlaybackConfigurationResponse {
806
+ /**
807
+ * @internal
808
+ */
809
+ const filterSensitiveLog: (obj: ConfigureLogsForPlaybackConfigurationResponse) => any;
810
+ }
757
811
  /**
758
812
  * <p>The output configuration for this channel.</p>
759
813
  */
@@ -791,7 +845,7 @@ export interface CreateChannelRequest {
791
845
  */
792
846
  ChannelName: string | undefined;
793
847
  /**
794
- * <p>The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses an LINEAR PlaybackMode.</p>
848
+ * <p>The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses a LINEAR PlaybackMode.</p>
795
849
  */
796
850
  FillerSlate?: SlateSource;
797
851
  /**
@@ -1597,6 +1651,10 @@ export interface GetPlaybackConfigurationResponse {
1597
1651
  * <p>The configuration for pre-roll ad insertion.</p>
1598
1652
  */
1599
1653
  LivePreRollConfiguration?: LivePreRollConfiguration;
1654
+ /**
1655
+ * <p>The Amazon CloudWatch log settings for a playback configuration.</p>
1656
+ */
1657
+ LogConfiguration?: LogConfiguration;
1600
1658
  /**
1601
1659
  * <p>The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.</p>
1602
1660
  */
@@ -1971,6 +2029,10 @@ export interface PutPlaybackConfigurationResponse {
1971
2029
  * <p>The configuration for pre-roll ad insertion.</p>
1972
2030
  */
1973
2031
  LivePreRollConfiguration?: LivePreRollConfiguration;
2032
+ /**
2033
+ * <p>The Amazon CloudWatch log settings for a playback configuration.</p>
2034
+ */
2035
+ LogConfiguration?: LogConfiguration;
1974
2036
  /**
1975
2037
  * <p>The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.</p>
1976
2038
  */
@@ -1,3 +1,4 @@
1
+ import { ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput } from "../commands/ConfigureLogsForPlaybackConfigurationCommand";
1
2
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "../commands/CreateChannelCommand";
2
3
  import { CreateProgramCommandInput, CreateProgramCommandOutput } from "../commands/CreateProgramCommand";
3
4
  import { CreateSourceLocationCommandInput, CreateSourceLocationCommandOutput } from "../commands/CreateSourceLocationCommand";
@@ -32,6 +33,7 @@ import { UpdateSourceLocationCommandInput, UpdateSourceLocationCommandOutput } f
32
33
  import { UpdateVodSourceCommandInput, UpdateVodSourceCommandOutput } from "../commands/UpdateVodSourceCommand";
33
34
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
34
35
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
36
+ export declare const serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand: (input: ConfigureLogsForPlaybackConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
37
  export declare const serializeAws_restJson1CreateChannelCommand: (input: CreateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
38
  export declare const serializeAws_restJson1CreateProgramCommand: (input: CreateProgramCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
39
  export declare const serializeAws_restJson1CreateSourceLocationCommand: (input: CreateSourceLocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -64,6 +66,7 @@ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagRe
64
66
  export declare const serializeAws_restJson1UpdateChannelCommand: (input: UpdateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
67
  export declare const serializeAws_restJson1UpdateSourceLocationCommand: (input: UpdateSourceLocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
68
  export declare const serializeAws_restJson1UpdateVodSourceCommand: (input: UpdateVodSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ export declare const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ConfigureLogsForPlaybackConfigurationCommandOutput>;
67
70
  export declare const deserializeAws_restJson1CreateChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateChannelCommandOutput>;
68
71
  export declare const deserializeAws_restJson1CreateProgramCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProgramCommandOutput>;
69
72
  export declare const deserializeAws_restJson1CreateSourceLocationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSourceLocationCommandOutput>;
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: MediaTailorClientConfig) => {
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
37
  };
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: MediaTailorClientConfig) => {
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
37
  };
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: MediaTailorClientConfig) => {
31
31
  signingEscapePath?: boolean | undefined;
32
32
  systemClockOffset?: number | undefined;
33
33
  signingRegion?: string | undefined;
34
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
34
35
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
35
36
  };
@@ -1,4 +1,5 @@
1
1
  import { MediaTailorClient } from "./MediaTailorClient";
2
+ import { ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput } from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
2
3
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
3
4
  import { CreateProgramCommandInput, CreateProgramCommandOutput } from "./commands/CreateProgramCommand";
4
5
  import { CreateSourceLocationCommandInput, CreateSourceLocationCommandOutput } from "./commands/CreateSourceLocationCommand";
@@ -36,6 +37,12 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
36
37
  * <p>Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/">AWS Elemental MediaTailor User Guide</a>.</p> <p>Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</p>
37
38
  */
38
39
  export declare class MediaTailor extends MediaTailorClient {
40
+ /**
41
+ * <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
42
+ */
43
+ configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput>;
44
+ configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void): void;
45
+ configureLogsForPlaybackConfiguration(args: ConfigureLogsForPlaybackConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void): void;
39
46
  /**
40
47
  * <p>Creates a channel.</p>
41
48
  */
@@ -1,3 +1,4 @@
1
+ import { ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput } from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
1
2
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
2
3
  import { CreateProgramCommandInput, CreateProgramCommandOutput } from "./commands/CreateProgramCommand";
3
4
  import { CreateSourceLocationCommandInput, CreateSourceLocationCommandOutput } from "./commands/CreateSourceLocationCommand";
@@ -38,8 +39,8 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
38
39
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
39
40
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
40
41
  import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
41
- export declare type ServiceInputTypes = CreateChannelCommandInput | CreateProgramCommandInput | CreateSourceLocationCommandInput | CreateVodSourceCommandInput | DeleteChannelCommandInput | DeleteChannelPolicyCommandInput | DeletePlaybackConfigurationCommandInput | DeleteProgramCommandInput | DeleteSourceLocationCommandInput | DeleteVodSourceCommandInput | DescribeChannelCommandInput | DescribeProgramCommandInput | DescribeSourceLocationCommandInput | DescribeVodSourceCommandInput | GetChannelPolicyCommandInput | GetChannelScheduleCommandInput | GetPlaybackConfigurationCommandInput | ListAlertsCommandInput | ListChannelsCommandInput | ListPlaybackConfigurationsCommandInput | ListSourceLocationsCommandInput | ListTagsForResourceCommandInput | ListVodSourcesCommandInput | PutChannelPolicyCommandInput | PutPlaybackConfigurationCommandInput | StartChannelCommandInput | StopChannelCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdateSourceLocationCommandInput | UpdateVodSourceCommandInput;
42
- export declare type ServiceOutputTypes = CreateChannelCommandOutput | CreateProgramCommandOutput | CreateSourceLocationCommandOutput | CreateVodSourceCommandOutput | DeleteChannelCommandOutput | DeleteChannelPolicyCommandOutput | DeletePlaybackConfigurationCommandOutput | DeleteProgramCommandOutput | DeleteSourceLocationCommandOutput | DeleteVodSourceCommandOutput | DescribeChannelCommandOutput | DescribeProgramCommandOutput | DescribeSourceLocationCommandOutput | DescribeVodSourceCommandOutput | GetChannelPolicyCommandOutput | GetChannelScheduleCommandOutput | GetPlaybackConfigurationCommandOutput | ListAlertsCommandOutput | ListChannelsCommandOutput | ListPlaybackConfigurationsCommandOutput | ListSourceLocationsCommandOutput | ListTagsForResourceCommandOutput | ListVodSourcesCommandOutput | PutChannelPolicyCommandOutput | PutPlaybackConfigurationCommandOutput | StartChannelCommandOutput | StopChannelCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdateSourceLocationCommandOutput | UpdateVodSourceCommandOutput;
42
+ export declare type ServiceInputTypes = ConfigureLogsForPlaybackConfigurationCommandInput | CreateChannelCommandInput | CreateProgramCommandInput | CreateSourceLocationCommandInput | CreateVodSourceCommandInput | DeleteChannelCommandInput | DeleteChannelPolicyCommandInput | DeletePlaybackConfigurationCommandInput | DeleteProgramCommandInput | DeleteSourceLocationCommandInput | DeleteVodSourceCommandInput | DescribeChannelCommandInput | DescribeProgramCommandInput | DescribeSourceLocationCommandInput | DescribeVodSourceCommandInput | GetChannelPolicyCommandInput | GetChannelScheduleCommandInput | GetPlaybackConfigurationCommandInput | ListAlertsCommandInput | ListChannelsCommandInput | ListPlaybackConfigurationsCommandInput | ListSourceLocationsCommandInput | ListTagsForResourceCommandInput | ListVodSourcesCommandInput | PutChannelPolicyCommandInput | PutPlaybackConfigurationCommandInput | StartChannelCommandInput | StopChannelCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdateSourceLocationCommandInput | UpdateVodSourceCommandInput;
43
+ export declare type ServiceOutputTypes = ConfigureLogsForPlaybackConfigurationCommandOutput | CreateChannelCommandOutput | CreateProgramCommandOutput | CreateSourceLocationCommandOutput | CreateVodSourceCommandOutput | DeleteChannelCommandOutput | DeleteChannelPolicyCommandOutput | DeletePlaybackConfigurationCommandOutput | DeleteProgramCommandOutput | DeleteSourceLocationCommandOutput | DeleteVodSourceCommandOutput | DescribeChannelCommandOutput | DescribeProgramCommandOutput | DescribeSourceLocationCommandOutput | DescribeVodSourceCommandOutput | GetChannelPolicyCommandOutput | GetChannelScheduleCommandOutput | GetPlaybackConfigurationCommandOutput | ListAlertsCommandOutput | ListChannelsCommandOutput | ListPlaybackConfigurationsCommandOutput | ListSourceLocationsCommandOutput | ListTagsForResourceCommandOutput | ListVodSourcesCommandOutput | PutChannelPolicyCommandOutput | PutPlaybackConfigurationCommandOutput | StartChannelCommandOutput | StopChannelCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdateSourceLocationCommandOutput | UpdateVodSourceCommandOutput;
43
44
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
44
45
  /**
45
46
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
2
+ import { ConfigureLogsForPlaybackConfigurationRequest, ConfigureLogsForPlaybackConfigurationResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
+ export interface ConfigureLogsForPlaybackConfigurationCommandInput extends ConfigureLogsForPlaybackConfigurationRequest {
6
+ }
7
+ export interface ConfigureLogsForPlaybackConfigurationCommandOutput extends ConfigureLogsForPlaybackConfigurationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { MediaTailorClient, ConfigureLogsForPlaybackConfigurationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
15
+ * // const { MediaTailorClient, ConfigureLogsForPlaybackConfigurationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
16
+ * const client = new MediaTailorClient(config);
17
+ * const command = new ConfigureLogsForPlaybackConfigurationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ConfigureLogsForPlaybackConfigurationCommandInput} for command's `input` shape.
22
+ * @see {@link ConfigureLogsForPlaybackConfigurationCommandOutput} for command's `response` shape.
23
+ * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
24
+ *
25
+ */
26
+ export declare class ConfigureLogsForPlaybackConfigurationCommand extends $Command<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput, MediaTailorClientResolvedConfig> {
27
+ readonly input: ConfigureLogsForPlaybackConfigurationCommandInput;
28
+ constructor(input: ConfigureLogsForPlaybackConfigurationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./MediaTailorClient";
2
2
  export * from "./MediaTailor";
3
+ export * from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
3
4
  export * from "./commands/CreateChannelCommand";
4
5
  export * from "./commands/CreateProgramCommand";
5
6
  export * from "./commands/CreateSourceLocationCommand";
@@ -350,6 +350,21 @@ export declare namespace LivePreRollConfiguration {
350
350
  */
351
351
  const filterSensitiveLog: (obj: LivePreRollConfiguration) => any;
352
352
  }
353
+ /**
354
+ * <p>Returns Amazon CloudWatch log settings for a playback configuration.</p>
355
+ */
356
+ export interface LogConfiguration {
357
+ /**
358
+ * <p>The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html">debug log mode</a>.</p> <p>Valid values: 0 - 100</p>
359
+ */
360
+ PercentEnabled: number | undefined;
361
+ }
362
+ export declare namespace LogConfiguration {
363
+ /**
364
+ * @internal
365
+ */
366
+ const filterSensitiveLog: (obj: LogConfiguration) => any;
367
+ }
353
368
  /**
354
369
  * <p>For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest.</p> <p>No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.</p>
355
370
  */
@@ -420,6 +435,10 @@ export interface PlaybackConfiguration {
420
435
  * <p>The configuration for pre-roll ad insertion.</p>
421
436
  */
422
437
  LivePreRollConfiguration?: LivePreRollConfiguration;
438
+ /**
439
+ * <p>The Amazon CloudWatch log settings for a playback configuration.</p>
440
+ */
441
+ LogConfiguration?: LogConfiguration;
423
442
  /**
424
443
  * <p>The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.</p>
425
444
  */
@@ -754,6 +773,41 @@ export declare enum ChannelState {
754
773
  RUNNING = "RUNNING",
755
774
  STOPPED = "STOPPED"
756
775
  }
776
+ /**
777
+ * <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
778
+ */
779
+ export interface ConfigureLogsForPlaybackConfigurationRequest {
780
+ /**
781
+ * <p>The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html">debug log mode</a>.</p> <p>Valid values: 0 - 100</p>
782
+ */
783
+ PercentEnabled: number | undefined;
784
+ /**
785
+ * <p>The name of the playback configuration.</p>
786
+ */
787
+ PlaybackConfigurationName: string | undefined;
788
+ }
789
+ export declare namespace ConfigureLogsForPlaybackConfigurationRequest {
790
+ /**
791
+ * @internal
792
+ */
793
+ const filterSensitiveLog: (obj: ConfigureLogsForPlaybackConfigurationRequest) => any;
794
+ }
795
+ export interface ConfigureLogsForPlaybackConfigurationResponse {
796
+ /**
797
+ * <p>The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.</p>
798
+ */
799
+ PercentEnabled?: number;
800
+ /**
801
+ * <p>The name of the playback configuration.</p>
802
+ */
803
+ PlaybackConfigurationName?: string;
804
+ }
805
+ export declare namespace ConfigureLogsForPlaybackConfigurationResponse {
806
+ /**
807
+ * @internal
808
+ */
809
+ const filterSensitiveLog: (obj: ConfigureLogsForPlaybackConfigurationResponse) => any;
810
+ }
757
811
  /**
758
812
  * <p>The output configuration for this channel.</p>
759
813
  */
@@ -791,7 +845,7 @@ export interface CreateChannelRequest {
791
845
  */
792
846
  ChannelName: string | undefined;
793
847
  /**
794
- * <p>The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses an LINEAR PlaybackMode.</p>
848
+ * <p>The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses a LINEAR PlaybackMode.</p>
795
849
  */
796
850
  FillerSlate?: SlateSource;
797
851
  /**
@@ -1597,6 +1651,10 @@ export interface GetPlaybackConfigurationResponse {
1597
1651
  * <p>The configuration for pre-roll ad insertion.</p>
1598
1652
  */
1599
1653
  LivePreRollConfiguration?: LivePreRollConfiguration;
1654
+ /**
1655
+ * <p>The Amazon CloudWatch log settings for a playback configuration.</p>
1656
+ */
1657
+ LogConfiguration?: LogConfiguration;
1600
1658
  /**
1601
1659
  * <p>The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.</p>
1602
1660
  */
@@ -1971,6 +2029,10 @@ export interface PutPlaybackConfigurationResponse {
1971
2029
  * <p>The configuration for pre-roll ad insertion.</p>
1972
2030
  */
1973
2031
  LivePreRollConfiguration?: LivePreRollConfiguration;
2032
+ /**
2033
+ * <p>The Amazon CloudWatch log settings for a playback configuration.</p>
2034
+ */
2035
+ LogConfiguration?: LogConfiguration;
1974
2036
  /**
1975
2037
  * <p>The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.</p>
1976
2038
  */
@@ -1,3 +1,4 @@
1
+ import { ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput } from "../commands/ConfigureLogsForPlaybackConfigurationCommand";
1
2
  import { CreateChannelCommandInput, CreateChannelCommandOutput } from "../commands/CreateChannelCommand";
2
3
  import { CreateProgramCommandInput, CreateProgramCommandOutput } from "../commands/CreateProgramCommand";
3
4
  import { CreateSourceLocationCommandInput, CreateSourceLocationCommandOutput } from "../commands/CreateSourceLocationCommand";
@@ -32,6 +33,7 @@ import { UpdateSourceLocationCommandInput, UpdateSourceLocationCommandOutput } f
32
33
  import { UpdateVodSourceCommandInput, UpdateVodSourceCommandOutput } from "../commands/UpdateVodSourceCommand";
33
34
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
34
35
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
36
+ export declare const serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand: (input: ConfigureLogsForPlaybackConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
37
  export declare const serializeAws_restJson1CreateChannelCommand: (input: CreateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
38
  export declare const serializeAws_restJson1CreateProgramCommand: (input: CreateProgramCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
39
  export declare const serializeAws_restJson1CreateSourceLocationCommand: (input: CreateSourceLocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -64,6 +66,7 @@ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagRe
64
66
  export declare const serializeAws_restJson1UpdateChannelCommand: (input: UpdateChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
67
  export declare const serializeAws_restJson1UpdateSourceLocationCommand: (input: UpdateSourceLocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
68
  export declare const serializeAws_restJson1UpdateVodSourceCommand: (input: UpdateVodSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ export declare const deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ConfigureLogsForPlaybackConfigurationCommandOutput>;
67
70
  export declare const deserializeAws_restJson1CreateChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateChannelCommandOutput>;
68
71
  export declare const deserializeAws_restJson1CreateProgramCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProgramCommandOutput>;
69
72
  export declare const deserializeAws_restJson1CreateSourceLocationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSourceLocationCommandOutput>;
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: MediaTailorClientConfig) => {
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
37
  };
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: MediaTailorClientConfig) => {
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
37
  };
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: MediaTailorClientConfig) => {
31
31
  signingEscapePath?: boolean | undefined;
32
32
  systemClockOffset?: number | undefined;
33
33
  signingRegion?: string | undefined;
34
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
34
35
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
35
36
  };
package/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./MediaTailorClient";
2
2
  export * from "./MediaTailor";
3
+ export * from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
3
4
  export * from "./commands/CreateChannelCommand";
4
5
  export * from "./commands/CreateProgramCommand";
5
6
  export * from "./commands/CreateSourceLocationCommand";