@aws-sdk/client-mediatailor 3.477.0 → 3.481.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 (217) hide show
  1. package/dist-cjs/commands/ConfigureLogsForChannelCommand.js +18 -41
  2. package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateChannelCommand.js +18 -41
  4. package/dist-cjs/commands/CreateLiveSourceCommand.js +18 -41
  5. package/dist-cjs/commands/CreatePrefetchScheduleCommand.js +18 -41
  6. package/dist-cjs/commands/CreateProgramCommand.js +18 -41
  7. package/dist-cjs/commands/CreateSourceLocationCommand.js +18 -41
  8. package/dist-cjs/commands/CreateVodSourceCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteLiveSourceCommand.js +18 -41
  12. package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +18 -41
  13. package/dist-cjs/commands/DeletePrefetchScheduleCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteProgramCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteSourceLocationCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteVodSourceCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeChannelCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeLiveSourceCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeProgramCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeSourceLocationCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeVodSourceCommand.js +18 -41
  22. package/dist-cjs/commands/GetChannelPolicyCommand.js +18 -41
  23. package/dist-cjs/commands/GetChannelScheduleCommand.js +18 -41
  24. package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +18 -41
  25. package/dist-cjs/commands/GetPrefetchScheduleCommand.js +18 -41
  26. package/dist-cjs/commands/ListAlertsCommand.js +18 -41
  27. package/dist-cjs/commands/ListChannelsCommand.js +18 -41
  28. package/dist-cjs/commands/ListLiveSourcesCommand.js +18 -41
  29. package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +18 -41
  30. package/dist-cjs/commands/ListPrefetchSchedulesCommand.js +18 -41
  31. package/dist-cjs/commands/ListSourceLocationsCommand.js +18 -41
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  33. package/dist-cjs/commands/ListVodSourcesCommand.js +18 -41
  34. package/dist-cjs/commands/PutChannelPolicyCommand.js +18 -41
  35. package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +18 -41
  36. package/dist-cjs/commands/StartChannelCommand.js +18 -41
  37. package/dist-cjs/commands/StopChannelCommand.js +18 -41
  38. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  39. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  40. package/dist-cjs/commands/UpdateChannelCommand.js +18 -41
  41. package/dist-cjs/commands/UpdateLiveSourceCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateProgramCommand.js +18 -41
  43. package/dist-cjs/commands/UpdateSourceLocationCommand.js +18 -41
  44. package/dist-cjs/commands/UpdateVodSourceCommand.js +18 -41
  45. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  46. package/dist-cjs/pagination/GetChannelSchedulePaginator.js +2 -24
  47. package/dist-cjs/pagination/ListAlertsPaginator.js +2 -24
  48. package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
  49. package/dist-cjs/pagination/ListLiveSourcesPaginator.js +2 -24
  50. package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js +2 -24
  51. package/dist-cjs/pagination/ListPrefetchSchedulesPaginator.js +2 -24
  52. package/dist-cjs/pagination/ListSourceLocationsPaginator.js +2 -24
  53. package/dist-cjs/pagination/ListVodSourcesPaginator.js +2 -24
  54. package/dist-cjs/protocols/Aws_restJson1.js +5 -0
  55. package/dist-es/commands/ConfigureLogsForChannelCommand.js +18 -41
  56. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +18 -41
  57. package/dist-es/commands/CreateChannelCommand.js +18 -41
  58. package/dist-es/commands/CreateLiveSourceCommand.js +18 -41
  59. package/dist-es/commands/CreatePrefetchScheduleCommand.js +18 -41
  60. package/dist-es/commands/CreateProgramCommand.js +18 -41
  61. package/dist-es/commands/CreateSourceLocationCommand.js +18 -41
  62. package/dist-es/commands/CreateVodSourceCommand.js +18 -41
  63. package/dist-es/commands/DeleteChannelCommand.js +18 -41
  64. package/dist-es/commands/DeleteChannelPolicyCommand.js +18 -41
  65. package/dist-es/commands/DeleteLiveSourceCommand.js +18 -41
  66. package/dist-es/commands/DeletePlaybackConfigurationCommand.js +18 -41
  67. package/dist-es/commands/DeletePrefetchScheduleCommand.js +18 -41
  68. package/dist-es/commands/DeleteProgramCommand.js +18 -41
  69. package/dist-es/commands/DeleteSourceLocationCommand.js +18 -41
  70. package/dist-es/commands/DeleteVodSourceCommand.js +18 -41
  71. package/dist-es/commands/DescribeChannelCommand.js +18 -41
  72. package/dist-es/commands/DescribeLiveSourceCommand.js +18 -41
  73. package/dist-es/commands/DescribeProgramCommand.js +18 -41
  74. package/dist-es/commands/DescribeSourceLocationCommand.js +18 -41
  75. package/dist-es/commands/DescribeVodSourceCommand.js +18 -41
  76. package/dist-es/commands/GetChannelPolicyCommand.js +18 -41
  77. package/dist-es/commands/GetChannelScheduleCommand.js +18 -41
  78. package/dist-es/commands/GetPlaybackConfigurationCommand.js +18 -41
  79. package/dist-es/commands/GetPrefetchScheduleCommand.js +18 -41
  80. package/dist-es/commands/ListAlertsCommand.js +18 -41
  81. package/dist-es/commands/ListChannelsCommand.js +18 -41
  82. package/dist-es/commands/ListLiveSourcesCommand.js +18 -41
  83. package/dist-es/commands/ListPlaybackConfigurationsCommand.js +18 -41
  84. package/dist-es/commands/ListPrefetchSchedulesCommand.js +18 -41
  85. package/dist-es/commands/ListSourceLocationsCommand.js +18 -41
  86. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  87. package/dist-es/commands/ListVodSourcesCommand.js +18 -41
  88. package/dist-es/commands/PutChannelPolicyCommand.js +18 -41
  89. package/dist-es/commands/PutPlaybackConfigurationCommand.js +18 -41
  90. package/dist-es/commands/StartChannelCommand.js +18 -41
  91. package/dist-es/commands/StopChannelCommand.js +18 -41
  92. package/dist-es/commands/TagResourceCommand.js +18 -41
  93. package/dist-es/commands/UntagResourceCommand.js +18 -41
  94. package/dist-es/commands/UpdateChannelCommand.js +18 -41
  95. package/dist-es/commands/UpdateLiveSourceCommand.js +18 -41
  96. package/dist-es/commands/UpdateProgramCommand.js +18 -41
  97. package/dist-es/commands/UpdateSourceLocationCommand.js +18 -41
  98. package/dist-es/commands/UpdateVodSourceCommand.js +18 -41
  99. package/dist-es/endpoint/EndpointParameters.js +6 -0
  100. package/dist-es/pagination/GetChannelSchedulePaginator.js +2 -23
  101. package/dist-es/pagination/ListAlertsPaginator.js +2 -23
  102. package/dist-es/pagination/ListChannelsPaginator.js +2 -23
  103. package/dist-es/pagination/ListLiveSourcesPaginator.js +2 -23
  104. package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js +2 -23
  105. package/dist-es/pagination/ListPrefetchSchedulesPaginator.js +2 -23
  106. package/dist-es/pagination/ListSourceLocationsPaginator.js +2 -23
  107. package/dist-es/pagination/ListVodSourcesPaginator.js +2 -23
  108. package/dist-es/protocols/Aws_restJson1.js +5 -0
  109. package/dist-types/commands/ConfigureLogsForChannelCommand.d.ts +6 -21
  110. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +6 -21
  111. package/dist-types/commands/CreateChannelCommand.d.ts +12 -21
  112. package/dist-types/commands/CreateLiveSourceCommand.d.ts +6 -21
  113. package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +6 -21
  114. package/dist-types/commands/CreateProgramCommand.d.ts +6 -21
  115. package/dist-types/commands/CreateSourceLocationCommand.d.ts +6 -21
  116. package/dist-types/commands/CreateVodSourceCommand.d.ts +6 -21
  117. package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
  118. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +6 -21
  119. package/dist-types/commands/DeleteLiveSourceCommand.d.ts +6 -21
  120. package/dist-types/commands/DeletePlaybackConfigurationCommand.d.ts +6 -21
  121. package/dist-types/commands/DeletePrefetchScheduleCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteProgramCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteSourceLocationCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteVodSourceCommand.d.ts +6 -21
  125. package/dist-types/commands/DescribeChannelCommand.d.ts +9 -21
  126. package/dist-types/commands/DescribeLiveSourceCommand.d.ts +6 -21
  127. package/dist-types/commands/DescribeProgramCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeSourceLocationCommand.d.ts +6 -21
  129. package/dist-types/commands/DescribeVodSourceCommand.d.ts +6 -21
  130. package/dist-types/commands/GetChannelPolicyCommand.d.ts +6 -21
  131. package/dist-types/commands/GetChannelScheduleCommand.d.ts +6 -21
  132. package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +6 -21
  133. package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +6 -21
  134. package/dist-types/commands/ListAlertsCommand.d.ts +6 -21
  135. package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
  136. package/dist-types/commands/ListLiveSourcesCommand.d.ts +6 -21
  137. package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +6 -21
  138. package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +6 -21
  139. package/dist-types/commands/ListSourceLocationsCommand.d.ts +6 -21
  140. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  141. package/dist-types/commands/ListVodSourcesCommand.d.ts +6 -21
  142. package/dist-types/commands/PutChannelPolicyCommand.d.ts +6 -21
  143. package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +6 -21
  144. package/dist-types/commands/StartChannelCommand.d.ts +6 -21
  145. package/dist-types/commands/StopChannelCommand.d.ts +6 -21
  146. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  147. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  148. package/dist-types/commands/UpdateChannelCommand.d.ts +12 -21
  149. package/dist-types/commands/UpdateLiveSourceCommand.d.ts +6 -21
  150. package/dist-types/commands/UpdateProgramCommand.d.ts +6 -21
  151. package/dist-types/commands/UpdateSourceLocationCommand.d.ts +6 -21
  152. package/dist-types/commands/UpdateVodSourceCommand.d.ts +6 -21
  153. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  154. package/dist-types/models/models_0.d.ts +51 -0
  155. package/dist-types/pagination/GetChannelSchedulePaginator.d.ts +1 -1
  156. package/dist-types/pagination/ListAlertsPaginator.d.ts +1 -1
  157. package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
  158. package/dist-types/pagination/ListLiveSourcesPaginator.d.ts +1 -1
  159. package/dist-types/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
  160. package/dist-types/pagination/ListPrefetchSchedulesPaginator.d.ts +1 -1
  161. package/dist-types/pagination/ListSourceLocationsPaginator.d.ts +1 -1
  162. package/dist-types/pagination/ListVodSourcesPaginator.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/ConfigureLogsForChannelCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/CreateLiveSourceCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/CreatePrefetchScheduleCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/CreateProgramCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/CreateSourceLocationCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/CreateVodSourceCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/DeleteLiveSourceCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/DeletePrefetchScheduleCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/DeleteProgramCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/DeleteSourceLocationCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/DeleteVodSourceCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/DescribeLiveSourceCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/DescribeProgramCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/DescribeSourceLocationCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/DescribeVodSourceCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/GetChannelScheduleCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/GetPrefetchScheduleCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/ListAlertsCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/ListLiveSourcesCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/ListPrefetchSchedulesCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/ListSourceLocationsCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/ListVodSourcesCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/StartChannelCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/StopChannelCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/UpdateLiveSourceCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/UpdateProgramCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/UpdateSourceLocationCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/UpdateVodSourceCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  208. package/dist-types/ts3.4/models/models_0.d.ts +8 -0
  209. package/dist-types/ts3.4/pagination/GetChannelSchedulePaginator.d.ts +3 -3
  210. package/dist-types/ts3.4/pagination/ListAlertsPaginator.d.ts +3 -3
  211. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
  212. package/dist-types/ts3.4/pagination/ListLiveSourcesPaginator.d.ts +3 -3
  213. package/dist-types/ts3.4/pagination/ListPlaybackConfigurationsPaginator.d.ts +3 -3
  214. package/dist-types/ts3.4/pagination/ListPrefetchSchedulesPaginator.d.ts +3 -3
  215. package/dist-types/ts3.4/pagination/ListSourceLocationsPaginator.d.ts +3 -3
  216. package/dist-types/ts3.4/pagination/ListVodSourcesPaginator.d.ts +3 -3
  217. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteVodSourceCommand, se_DeleteVodSourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteVodSourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteVodSourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "DeleteVodSourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "DeleteVodSource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteVodSourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteVodSourceCommand(output, context);
46
- }
7
+ export class DeleteVodSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "DeleteVodSource", {})
19
+ .n("MediaTailorClient", "DeleteVodSourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteVodSourceCommand)
22
+ .de(de_DeleteVodSourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeChannelCommand, se_DescribeChannelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeChannelCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeChannelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "DescribeChannelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "DescribeChannel",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeChannelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeChannelCommand(output, context);
46
- }
7
+ export class DescribeChannelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "DescribeChannel", {})
19
+ .n("MediaTailorClient", "DescribeChannelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeChannelCommand)
22
+ .de(de_DescribeChannelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeLiveSourceCommand, se_DescribeLiveSourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeLiveSourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeLiveSourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "DescribeLiveSourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "DescribeLiveSource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeLiveSourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeLiveSourceCommand(output, context);
46
- }
7
+ export class DescribeLiveSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "DescribeLiveSource", {})
19
+ .n("MediaTailorClient", "DescribeLiveSourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeLiveSourceCommand)
22
+ .de(de_DescribeLiveSourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeProgramCommand, se_DescribeProgramCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeProgramCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeProgramCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "DescribeProgramCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "DescribeProgram",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeProgramCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeProgramCommand(output, context);
46
- }
7
+ export class DescribeProgramCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "DescribeProgram", {})
19
+ .n("MediaTailorClient", "DescribeProgramCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeProgramCommand)
22
+ .de(de_DescribeProgramCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeSourceLocationCommand, se_DescribeSourceLocationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeSourceLocationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeSourceLocationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "DescribeSourceLocationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "DescribeSourceLocation",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeSourceLocationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeSourceLocationCommand(output, context);
46
- }
7
+ export class DescribeSourceLocationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "DescribeSourceLocation", {})
19
+ .n("MediaTailorClient", "DescribeSourceLocationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSourceLocationCommand)
22
+ .de(de_DescribeSourceLocationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeVodSourceCommand, se_DescribeVodSourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeVodSourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeVodSourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "DescribeVodSourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "DescribeVodSource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeVodSourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeVodSourceCommand(output, context);
46
- }
7
+ export class DescribeVodSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "DescribeVodSource", {})
19
+ .n("MediaTailorClient", "DescribeVodSourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeVodSourceCommand)
22
+ .de(de_DescribeVodSourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetChannelPolicyCommand, se_GetChannelPolicyCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetChannelPolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetChannelPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "GetChannelPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "GetChannelPolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetChannelPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetChannelPolicyCommand(output, context);
46
- }
7
+ export class GetChannelPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "GetChannelPolicy", {})
19
+ .n("MediaTailorClient", "GetChannelPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetChannelPolicyCommand)
22
+ .de(de_GetChannelPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetChannelScheduleCommand, se_GetChannelScheduleCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetChannelScheduleCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetChannelScheduleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "GetChannelScheduleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "GetChannelSchedule",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetChannelScheduleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetChannelScheduleCommand(output, context);
46
- }
7
+ export class GetChannelScheduleCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "GetChannelSchedule", {})
19
+ .n("MediaTailorClient", "GetChannelScheduleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetChannelScheduleCommand)
22
+ .de(de_GetChannelScheduleCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetPlaybackConfigurationCommand, se_GetPlaybackConfigurationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetPlaybackConfigurationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPlaybackConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaTailorClient";
26
- const commandName = "GetPlaybackConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaTailor",
35
- operation: "GetPlaybackConfiguration",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetPlaybackConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetPlaybackConfigurationCommand(output, context);
46
- }
7
+ export class GetPlaybackConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaTailor", "GetPlaybackConfiguration", {})
19
+ .n("MediaTailorClient", "GetPlaybackConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetPlaybackConfigurationCommand)
22
+ .de(de_GetPlaybackConfigurationCommand)
23
+ .build() {
47
24
  }