@aws-sdk/client-mediatailor 3.35.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/MediaTailor.js +0 -1
  3. package/dist-cjs/MediaTailorClient.js +0 -1
  4. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +0 -1
  5. package/dist-cjs/commands/CreateChannelCommand.js +0 -1
  6. package/dist-cjs/commands/CreateProgramCommand.js +0 -1
  7. package/dist-cjs/commands/CreateSourceLocationCommand.js +0 -1
  8. package/dist-cjs/commands/CreateVodSourceCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteChannelCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +0 -1
  11. package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteProgramCommand.js +0 -1
  13. package/dist-cjs/commands/DeleteSourceLocationCommand.js +0 -1
  14. package/dist-cjs/commands/DeleteVodSourceCommand.js +0 -1
  15. package/dist-cjs/commands/DescribeChannelCommand.js +0 -1
  16. package/dist-cjs/commands/DescribeProgramCommand.js +0 -1
  17. package/dist-cjs/commands/DescribeSourceLocationCommand.js +0 -1
  18. package/dist-cjs/commands/DescribeVodSourceCommand.js +0 -1
  19. package/dist-cjs/commands/GetChannelPolicyCommand.js +0 -1
  20. package/dist-cjs/commands/GetChannelScheduleCommand.js +0 -1
  21. package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +0 -1
  22. package/dist-cjs/commands/ListAlertsCommand.js +0 -1
  23. package/dist-cjs/commands/ListChannelsCommand.js +0 -1
  24. package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +0 -1
  25. package/dist-cjs/commands/ListSourceLocationsCommand.js +0 -1
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  27. package/dist-cjs/commands/ListVodSourcesCommand.js +0 -1
  28. package/dist-cjs/commands/PutChannelPolicyCommand.js +0 -1
  29. package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +0 -1
  30. package/dist-cjs/commands/StartChannelCommand.js +0 -1
  31. package/dist-cjs/commands/StopChannelCommand.js +0 -1
  32. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  33. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  34. package/dist-cjs/commands/UpdateChannelCommand.js +0 -1
  35. package/dist-cjs/commands/UpdateSourceLocationCommand.js +0 -1
  36. package/dist-cjs/commands/UpdateVodSourceCommand.js +0 -1
  37. package/dist-cjs/endpoints.js +0 -1
  38. package/dist-cjs/index.js +0 -1
  39. package/dist-cjs/models/index.js +0 -1
  40. package/dist-cjs/models/models_0.js +0 -1
  41. package/dist-cjs/pagination/GetChannelSchedulePaginator.js +0 -1
  42. package/dist-cjs/pagination/Interfaces.js +0 -1
  43. package/dist-cjs/pagination/ListAlertsPaginator.js +0 -1
  44. package/dist-cjs/pagination/ListChannelsPaginator.js +0 -1
  45. package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js +0 -1
  46. package/dist-cjs/pagination/ListSourceLocationsPaginator.js +0 -1
  47. package/dist-cjs/pagination/ListVodSourcesPaginator.js +0 -1
  48. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  49. package/dist-cjs/runtimeConfig.browser.js +2 -3
  50. package/dist-cjs/runtimeConfig.js +3 -4
  51. package/dist-cjs/runtimeConfig.native.js +0 -1
  52. package/dist-cjs/runtimeConfig.shared.js +0 -1
  53. package/dist-es/MediaTailor.js +0 -1
  54. package/dist-es/MediaTailorClient.js +0 -1
  55. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +0 -1
  56. package/dist-es/commands/CreateChannelCommand.js +0 -1
  57. package/dist-es/commands/CreateProgramCommand.js +0 -1
  58. package/dist-es/commands/CreateSourceLocationCommand.js +0 -1
  59. package/dist-es/commands/CreateVodSourceCommand.js +0 -1
  60. package/dist-es/commands/DeleteChannelCommand.js +0 -1
  61. package/dist-es/commands/DeleteChannelPolicyCommand.js +0 -1
  62. package/dist-es/commands/DeletePlaybackConfigurationCommand.js +0 -1
  63. package/dist-es/commands/DeleteProgramCommand.js +0 -1
  64. package/dist-es/commands/DeleteSourceLocationCommand.js +0 -1
  65. package/dist-es/commands/DeleteVodSourceCommand.js +0 -1
  66. package/dist-es/commands/DescribeChannelCommand.js +0 -1
  67. package/dist-es/commands/DescribeProgramCommand.js +0 -1
  68. package/dist-es/commands/DescribeSourceLocationCommand.js +0 -1
  69. package/dist-es/commands/DescribeVodSourceCommand.js +0 -1
  70. package/dist-es/commands/GetChannelPolicyCommand.js +0 -1
  71. package/dist-es/commands/GetChannelScheduleCommand.js +0 -1
  72. package/dist-es/commands/GetPlaybackConfigurationCommand.js +0 -1
  73. package/dist-es/commands/ListAlertsCommand.js +0 -1
  74. package/dist-es/commands/ListChannelsCommand.js +0 -1
  75. package/dist-es/commands/ListPlaybackConfigurationsCommand.js +0 -1
  76. package/dist-es/commands/ListSourceLocationsCommand.js +0 -1
  77. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  78. package/dist-es/commands/ListVodSourcesCommand.js +0 -1
  79. package/dist-es/commands/PutChannelPolicyCommand.js +0 -1
  80. package/dist-es/commands/PutPlaybackConfigurationCommand.js +0 -1
  81. package/dist-es/commands/StartChannelCommand.js +0 -1
  82. package/dist-es/commands/StopChannelCommand.js +0 -1
  83. package/dist-es/commands/TagResourceCommand.js +0 -1
  84. package/dist-es/commands/UntagResourceCommand.js +0 -1
  85. package/dist-es/commands/UpdateChannelCommand.js +0 -1
  86. package/dist-es/commands/UpdateSourceLocationCommand.js +0 -1
  87. package/dist-es/commands/UpdateVodSourceCommand.js +0 -1
  88. package/dist-es/endpoints.js +0 -1
  89. package/dist-es/index.js +0 -1
  90. package/dist-es/models/index.js +0 -1
  91. package/dist-es/models/models_0.js +0 -1
  92. package/dist-es/pagination/GetChannelSchedulePaginator.js +0 -1
  93. package/dist-es/pagination/Interfaces.js +0 -1
  94. package/dist-es/pagination/ListAlertsPaginator.js +0 -1
  95. package/dist-es/pagination/ListChannelsPaginator.js +0 -1
  96. package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js +0 -1
  97. package/dist-es/pagination/ListSourceLocationsPaginator.js +0 -1
  98. package/dist-es/pagination/ListVodSourcesPaginator.js +0 -1
  99. package/dist-es/protocols/Aws_restJson1.js +0 -1
  100. package/dist-es/runtimeConfig.browser.js +1 -2
  101. package/dist-es/runtimeConfig.js +2 -3
  102. package/dist-es/runtimeConfig.native.js +0 -1
  103. package/dist-es/runtimeConfig.shared.js +0 -1
  104. package/package.json +33 -30
  105. package/dist-cjs/MediaTailor.js.map +0 -1
  106. package/dist-cjs/MediaTailorClient.js.map +0 -1
  107. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +0 -1
  108. package/dist-cjs/commands/CreateChannelCommand.js.map +0 -1
  109. package/dist-cjs/commands/CreateProgramCommand.js.map +0 -1
  110. package/dist-cjs/commands/CreateSourceLocationCommand.js.map +0 -1
  111. package/dist-cjs/commands/CreateVodSourceCommand.js.map +0 -1
  112. package/dist-cjs/commands/DeleteChannelCommand.js.map +0 -1
  113. package/dist-cjs/commands/DeleteChannelPolicyCommand.js.map +0 -1
  114. package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
  115. package/dist-cjs/commands/DeleteProgramCommand.js.map +0 -1
  116. package/dist-cjs/commands/DeleteSourceLocationCommand.js.map +0 -1
  117. package/dist-cjs/commands/DeleteVodSourceCommand.js.map +0 -1
  118. package/dist-cjs/commands/DescribeChannelCommand.js.map +0 -1
  119. package/dist-cjs/commands/DescribeProgramCommand.js.map +0 -1
  120. package/dist-cjs/commands/DescribeSourceLocationCommand.js.map +0 -1
  121. package/dist-cjs/commands/DescribeVodSourceCommand.js.map +0 -1
  122. package/dist-cjs/commands/GetChannelPolicyCommand.js.map +0 -1
  123. package/dist-cjs/commands/GetChannelScheduleCommand.js.map +0 -1
  124. package/dist-cjs/commands/GetPlaybackConfigurationCommand.js.map +0 -1
  125. package/dist-cjs/commands/ListAlertsCommand.js.map +0 -1
  126. package/dist-cjs/commands/ListChannelsCommand.js.map +0 -1
  127. package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
  128. package/dist-cjs/commands/ListSourceLocationsCommand.js.map +0 -1
  129. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  130. package/dist-cjs/commands/ListVodSourcesCommand.js.map +0 -1
  131. package/dist-cjs/commands/PutChannelPolicyCommand.js.map +0 -1
  132. package/dist-cjs/commands/PutPlaybackConfigurationCommand.js.map +0 -1
  133. package/dist-cjs/commands/StartChannelCommand.js.map +0 -1
  134. package/dist-cjs/commands/StopChannelCommand.js.map +0 -1
  135. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  136. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  137. package/dist-cjs/commands/UpdateChannelCommand.js.map +0 -1
  138. package/dist-cjs/commands/UpdateSourceLocationCommand.js.map +0 -1
  139. package/dist-cjs/commands/UpdateVodSourceCommand.js.map +0 -1
  140. package/dist-cjs/endpoints.js.map +0 -1
  141. package/dist-cjs/index.js.map +0 -1
  142. package/dist-cjs/models/index.js.map +0 -1
  143. package/dist-cjs/models/models_0.js.map +0 -1
  144. package/dist-cjs/pagination/GetChannelSchedulePaginator.js.map +0 -1
  145. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  146. package/dist-cjs/pagination/ListAlertsPaginator.js.map +0 -1
  147. package/dist-cjs/pagination/ListChannelsPaginator.js.map +0 -1
  148. package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
  149. package/dist-cjs/pagination/ListSourceLocationsPaginator.js.map +0 -1
  150. package/dist-cjs/pagination/ListVodSourcesPaginator.js.map +0 -1
  151. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  152. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  153. package/dist-cjs/runtimeConfig.js.map +0 -1
  154. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  155. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  156. package/dist-es/MediaTailor.js.map +0 -1
  157. package/dist-es/MediaTailorClient.js.map +0 -1
  158. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +0 -1
  159. package/dist-es/commands/CreateChannelCommand.js.map +0 -1
  160. package/dist-es/commands/CreateProgramCommand.js.map +0 -1
  161. package/dist-es/commands/CreateSourceLocationCommand.js.map +0 -1
  162. package/dist-es/commands/CreateVodSourceCommand.js.map +0 -1
  163. package/dist-es/commands/DeleteChannelCommand.js.map +0 -1
  164. package/dist-es/commands/DeleteChannelPolicyCommand.js.map +0 -1
  165. package/dist-es/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
  166. package/dist-es/commands/DeleteProgramCommand.js.map +0 -1
  167. package/dist-es/commands/DeleteSourceLocationCommand.js.map +0 -1
  168. package/dist-es/commands/DeleteVodSourceCommand.js.map +0 -1
  169. package/dist-es/commands/DescribeChannelCommand.js.map +0 -1
  170. package/dist-es/commands/DescribeProgramCommand.js.map +0 -1
  171. package/dist-es/commands/DescribeSourceLocationCommand.js.map +0 -1
  172. package/dist-es/commands/DescribeVodSourceCommand.js.map +0 -1
  173. package/dist-es/commands/GetChannelPolicyCommand.js.map +0 -1
  174. package/dist-es/commands/GetChannelScheduleCommand.js.map +0 -1
  175. package/dist-es/commands/GetPlaybackConfigurationCommand.js.map +0 -1
  176. package/dist-es/commands/ListAlertsCommand.js.map +0 -1
  177. package/dist-es/commands/ListChannelsCommand.js.map +0 -1
  178. package/dist-es/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
  179. package/dist-es/commands/ListSourceLocationsCommand.js.map +0 -1
  180. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  181. package/dist-es/commands/ListVodSourcesCommand.js.map +0 -1
  182. package/dist-es/commands/PutChannelPolicyCommand.js.map +0 -1
  183. package/dist-es/commands/PutPlaybackConfigurationCommand.js.map +0 -1
  184. package/dist-es/commands/StartChannelCommand.js.map +0 -1
  185. package/dist-es/commands/StopChannelCommand.js.map +0 -1
  186. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  187. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  188. package/dist-es/commands/UpdateChannelCommand.js.map +0 -1
  189. package/dist-es/commands/UpdateSourceLocationCommand.js.map +0 -1
  190. package/dist-es/commands/UpdateVodSourceCommand.js.map +0 -1
  191. package/dist-es/endpoints.js.map +0 -1
  192. package/dist-es/index.js.map +0 -1
  193. package/dist-es/models/index.js.map +0 -1
  194. package/dist-es/models/models_0.js.map +0 -1
  195. package/dist-es/pagination/GetChannelSchedulePaginator.js.map +0 -1
  196. package/dist-es/pagination/Interfaces.js.map +0 -1
  197. package/dist-es/pagination/ListAlertsPaginator.js.map +0 -1
  198. package/dist-es/pagination/ListChannelsPaginator.js.map +0 -1
  199. package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
  200. package/dist-es/pagination/ListSourceLocationsPaginator.js.map +0 -1
  201. package/dist-es/pagination/ListVodSourcesPaginator.js.map +0 -1
  202. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  203. package/dist-es/runtimeConfig.browser.js.map +0 -1
  204. package/dist-es/runtimeConfig.js.map +0 -1
  205. package/dist-es/runtimeConfig.native.js.map +0 -1
  206. package/dist-es/runtimeConfig.shared.js.map +0 -1
  207. package/jest.config.js +0 -4
  208. package/src/MediaTailor.ts +0 -1195
  209. package/src/MediaTailorClient.ts +0 -371
  210. package/src/commands/ConfigureLogsForPlaybackConfigurationCommand.ts +0 -107
  211. package/src/commands/CreateChannelCommand.ts +0 -95
  212. package/src/commands/CreateProgramCommand.ts +0 -95
  213. package/src/commands/CreateSourceLocationCommand.ts +0 -95
  214. package/src/commands/CreateVodSourceCommand.ts +0 -95
  215. package/src/commands/DeleteChannelCommand.ts +0 -95
  216. package/src/commands/DeleteChannelPolicyCommand.ts +0 -95
  217. package/src/commands/DeletePlaybackConfigurationCommand.ts +0 -100
  218. package/src/commands/DeleteProgramCommand.ts +0 -95
  219. package/src/commands/DeleteSourceLocationCommand.ts +0 -95
  220. package/src/commands/DeleteVodSourceCommand.ts +0 -95
  221. package/src/commands/DescribeChannelCommand.ts +0 -95
  222. package/src/commands/DescribeProgramCommand.ts +0 -95
  223. package/src/commands/DescribeSourceLocationCommand.ts +0 -95
  224. package/src/commands/DescribeVodSourceCommand.ts +0 -95
  225. package/src/commands/GetChannelPolicyCommand.ts +0 -95
  226. package/src/commands/GetChannelScheduleCommand.ts +0 -95
  227. package/src/commands/GetPlaybackConfigurationCommand.ts +0 -95
  228. package/src/commands/ListAlertsCommand.ts +0 -95
  229. package/src/commands/ListChannelsCommand.ts +0 -95
  230. package/src/commands/ListPlaybackConfigurationsCommand.ts +0 -98
  231. package/src/commands/ListSourceLocationsCommand.ts +0 -95
  232. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  233. package/src/commands/ListVodSourcesCommand.ts +0 -95
  234. package/src/commands/PutChannelPolicyCommand.ts +0 -95
  235. package/src/commands/PutPlaybackConfigurationCommand.ts +0 -95
  236. package/src/commands/StartChannelCommand.ts +0 -95
  237. package/src/commands/StopChannelCommand.ts +0 -95
  238. package/src/commands/TagResourceCommand.ts +0 -95
  239. package/src/commands/UntagResourceCommand.ts +0 -95
  240. package/src/commands/UpdateChannelCommand.ts +0 -95
  241. package/src/commands/UpdateSourceLocationCommand.ts +0 -95
  242. package/src/commands/UpdateVodSourceCommand.ts +0 -95
  243. package/src/endpoints.ts +0 -57
  244. package/src/index.ts +0 -43
  245. package/src/models/index.ts +0 -1
  246. package/src/models/models_0.ts +0 -2929
  247. package/src/pagination/GetChannelSchedulePaginator.ts +0 -59
  248. package/src/pagination/Interfaces.ts +0 -8
  249. package/src/pagination/ListAlertsPaginator.ts +0 -55
  250. package/src/pagination/ListChannelsPaginator.ts +0 -59
  251. package/src/pagination/ListPlaybackConfigurationsPaginator.ts +0 -59
  252. package/src/pagination/ListSourceLocationsPaginator.ts +0 -59
  253. package/src/pagination/ListVodSourcesPaginator.ts +0 -59
  254. package/src/protocols/Aws_restJson1.ts +0 -4207
  255. package/src/runtimeConfig.browser.ts +0 -41
  256. package/src/runtimeConfig.native.ts +0 -17
  257. package/src/runtimeConfig.shared.ts +0 -17
  258. package/src/runtimeConfig.ts +0 -46
  259. package/tsconfig.es.json +0 -10
  260. package/tsconfig.json +0 -33
  261. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
- import { GetPlaybackConfigurationRequest, GetPlaybackConfigurationResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetPlaybackConfigurationCommand,
18
- serializeAws_restJson1GetPlaybackConfigurationCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetPlaybackConfigurationCommandInput extends GetPlaybackConfigurationRequest {}
22
- export interface GetPlaybackConfigurationCommandOutput extends GetPlaybackConfigurationResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the playback configuration for the specified name.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaTailorClient, GetPlaybackConfigurationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
30
- * // const { MediaTailorClient, GetPlaybackConfigurationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
31
- * const client = new MediaTailorClient(config);
32
- * const command = new GetPlaybackConfigurationCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetPlaybackConfigurationCommandInput} for command's `input` shape.
37
- * @see {@link GetPlaybackConfigurationCommandOutput} for command's `response` shape.
38
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetPlaybackConfigurationCommand extends $Command<
42
- GetPlaybackConfigurationCommandInput,
43
- GetPlaybackConfigurationCommandOutput,
44
- MediaTailorClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetPlaybackConfigurationCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaTailorClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetPlaybackConfigurationCommandInput, GetPlaybackConfigurationCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaTailorClient";
69
- const commandName = "GetPlaybackConfigurationCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetPlaybackConfigurationRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetPlaybackConfigurationResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetPlaybackConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetPlaybackConfigurationCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetPlaybackConfigurationCommandOutput> {
90
- return deserializeAws_restJson1GetPlaybackConfigurationCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
- import { ListAlertsRequest, ListAlertsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListAlertsCommand,
18
- serializeAws_restJson1ListAlertsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListAlertsCommandInput extends ListAlertsRequest {}
22
- export interface ListAlertsCommandOutput extends ListAlertsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of alerts for the given resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaTailorClient, ListAlertsCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
30
- * // const { MediaTailorClient, ListAlertsCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
31
- * const client = new MediaTailorClient(config);
32
- * const command = new ListAlertsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListAlertsCommandInput} for command's `input` shape.
37
- * @see {@link ListAlertsCommandOutput} for command's `response` shape.
38
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListAlertsCommand extends $Command<
42
- ListAlertsCommandInput,
43
- ListAlertsCommandOutput,
44
- MediaTailorClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListAlertsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaTailorClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListAlertsCommandInput, ListAlertsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaTailorClient";
69
- const commandName = "ListAlertsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListAlertsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListAlertsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListAlertsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListAlertsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAlertsCommandOutput> {
90
- return deserializeAws_restJson1ListAlertsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
- import { ListChannelsRequest, ListChannelsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListChannelsCommand,
18
- serializeAws_restJson1ListChannelsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListChannelsCommandInput extends ListChannelsRequest {}
22
- export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves a list of channels that are associated with this account.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaTailorClient, ListChannelsCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
30
- * // const { MediaTailorClient, ListChannelsCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
31
- * const client = new MediaTailorClient(config);
32
- * const command = new ListChannelsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListChannelsCommandInput} for command's `input` shape.
37
- * @see {@link ListChannelsCommandOutput} for command's `response` shape.
38
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListChannelsCommand extends $Command<
42
- ListChannelsCommandInput,
43
- ListChannelsCommandOutput,
44
- MediaTailorClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListChannelsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaTailorClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListChannelsCommandInput, ListChannelsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaTailorClient";
69
- const commandName = "ListChannelsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListChannelsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListChannelsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListChannelsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListChannelsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListChannelsCommandOutput> {
90
- return deserializeAws_restJson1ListChannelsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
- import { ListPlaybackConfigurationsRequest, ListPlaybackConfigurationsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListPlaybackConfigurationsCommand,
18
- serializeAws_restJson1ListPlaybackConfigurationsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListPlaybackConfigurationsCommandInput extends ListPlaybackConfigurationsRequest {}
22
- export interface ListPlaybackConfigurationsCommandOutput extends ListPlaybackConfigurationsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaTailorClient, ListPlaybackConfigurationsCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
30
- * // const { MediaTailorClient, ListPlaybackConfigurationsCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
31
- * const client = new MediaTailorClient(config);
32
- * const command = new ListPlaybackConfigurationsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListPlaybackConfigurationsCommandInput} for command's `input` shape.
37
- * @see {@link ListPlaybackConfigurationsCommandOutput} for command's `response` shape.
38
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListPlaybackConfigurationsCommand extends $Command<
42
- ListPlaybackConfigurationsCommandInput,
43
- ListPlaybackConfigurationsCommandOutput,
44
- MediaTailorClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListPlaybackConfigurationsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaTailorClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListPlaybackConfigurationsCommandInput, ListPlaybackConfigurationsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaTailorClient";
69
- const commandName = "ListPlaybackConfigurationsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListPlaybackConfigurationsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListPlaybackConfigurationsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListPlaybackConfigurationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListPlaybackConfigurationsCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<ListPlaybackConfigurationsCommandOutput> {
93
- return deserializeAws_restJson1ListPlaybackConfigurationsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
- import { ListSourceLocationsRequest, ListSourceLocationsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListSourceLocationsCommand,
18
- serializeAws_restJson1ListSourceLocationsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListSourceLocationsCommandInput extends ListSourceLocationsRequest {}
22
- export interface ListSourceLocationsCommandOutput extends ListSourceLocationsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves a list of source locations.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaTailorClient, ListSourceLocationsCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
30
- * // const { MediaTailorClient, ListSourceLocationsCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
31
- * const client = new MediaTailorClient(config);
32
- * const command = new ListSourceLocationsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListSourceLocationsCommandInput} for command's `input` shape.
37
- * @see {@link ListSourceLocationsCommandOutput} for command's `response` shape.
38
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListSourceLocationsCommand extends $Command<
42
- ListSourceLocationsCommandInput,
43
- ListSourceLocationsCommandOutput,
44
- MediaTailorClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListSourceLocationsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaTailorClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListSourceLocationsCommandInput, ListSourceLocationsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaTailorClient";
69
- const commandName = "ListSourceLocationsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListSourceLocationsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListSourceLocationsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListSourceLocationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListSourceLocationsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListSourceLocationsCommandOutput> {
90
- return deserializeAws_restJson1ListSourceLocationsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListTagsForResourceCommand,
18
- serializeAws_restJson1ListTagsForResourceCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
22
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of the tags assigned to the specified playback configuration resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaTailorClient, ListTagsForResourceCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
30
- * // const { MediaTailorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
31
- * const client = new MediaTailorClient(config);
32
- * const command = new ListTagsForResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
37
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
38
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListTagsForResourceCommand extends $Command<
42
- ListTagsForResourceCommandInput,
43
- ListTagsForResourceCommandOutput,
44
- MediaTailorClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListTagsForResourceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaTailorClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaTailorClient";
69
- const commandName = "ListTagsForResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListTagsForResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
90
- return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
15
- import { ListVodSourcesRequest, ListVodSourcesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1ListVodSourcesCommand,
18
- serializeAws_restJson1ListVodSourcesCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface ListVodSourcesCommandInput extends ListVodSourcesRequest {}
22
- export interface ListVodSourcesCommandOutput extends ListVodSourcesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists all the VOD sources in a source location.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MediaTailorClient, ListVodSourcesCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
30
- * // const { MediaTailorClient, ListVodSourcesCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
31
- * const client = new MediaTailorClient(config);
32
- * const command = new ListVodSourcesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListVodSourcesCommandInput} for command's `input` shape.
37
- * @see {@link ListVodSourcesCommandOutput} for command's `response` shape.
38
- * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListVodSourcesCommand extends $Command<
42
- ListVodSourcesCommandInput,
43
- ListVodSourcesCommandOutput,
44
- MediaTailorClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListVodSourcesCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MediaTailorClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListVodSourcesCommandInput, ListVodSourcesCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MediaTailorClient";
69
- const commandName = "ListVodSourcesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListVodSourcesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListVodSourcesResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListVodSourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1ListVodSourcesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListVodSourcesCommandOutput> {
90
- return deserializeAws_restJson1ListVodSourcesCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }