@aws-sdk/client-mediatailor 3.478.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 (181) 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-es/commands/ConfigureLogsForChannelCommand.js +18 -41
  47. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +18 -41
  48. package/dist-es/commands/CreateChannelCommand.js +18 -41
  49. package/dist-es/commands/CreateLiveSourceCommand.js +18 -41
  50. package/dist-es/commands/CreatePrefetchScheduleCommand.js +18 -41
  51. package/dist-es/commands/CreateProgramCommand.js +18 -41
  52. package/dist-es/commands/CreateSourceLocationCommand.js +18 -41
  53. package/dist-es/commands/CreateVodSourceCommand.js +18 -41
  54. package/dist-es/commands/DeleteChannelCommand.js +18 -41
  55. package/dist-es/commands/DeleteChannelPolicyCommand.js +18 -41
  56. package/dist-es/commands/DeleteLiveSourceCommand.js +18 -41
  57. package/dist-es/commands/DeletePlaybackConfigurationCommand.js +18 -41
  58. package/dist-es/commands/DeletePrefetchScheduleCommand.js +18 -41
  59. package/dist-es/commands/DeleteProgramCommand.js +18 -41
  60. package/dist-es/commands/DeleteSourceLocationCommand.js +18 -41
  61. package/dist-es/commands/DeleteVodSourceCommand.js +18 -41
  62. package/dist-es/commands/DescribeChannelCommand.js +18 -41
  63. package/dist-es/commands/DescribeLiveSourceCommand.js +18 -41
  64. package/dist-es/commands/DescribeProgramCommand.js +18 -41
  65. package/dist-es/commands/DescribeSourceLocationCommand.js +18 -41
  66. package/dist-es/commands/DescribeVodSourceCommand.js +18 -41
  67. package/dist-es/commands/GetChannelPolicyCommand.js +18 -41
  68. package/dist-es/commands/GetChannelScheduleCommand.js +18 -41
  69. package/dist-es/commands/GetPlaybackConfigurationCommand.js +18 -41
  70. package/dist-es/commands/GetPrefetchScheduleCommand.js +18 -41
  71. package/dist-es/commands/ListAlertsCommand.js +18 -41
  72. package/dist-es/commands/ListChannelsCommand.js +18 -41
  73. package/dist-es/commands/ListLiveSourcesCommand.js +18 -41
  74. package/dist-es/commands/ListPlaybackConfigurationsCommand.js +18 -41
  75. package/dist-es/commands/ListPrefetchSchedulesCommand.js +18 -41
  76. package/dist-es/commands/ListSourceLocationsCommand.js +18 -41
  77. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  78. package/dist-es/commands/ListVodSourcesCommand.js +18 -41
  79. package/dist-es/commands/PutChannelPolicyCommand.js +18 -41
  80. package/dist-es/commands/PutPlaybackConfigurationCommand.js +18 -41
  81. package/dist-es/commands/StartChannelCommand.js +18 -41
  82. package/dist-es/commands/StopChannelCommand.js +18 -41
  83. package/dist-es/commands/TagResourceCommand.js +18 -41
  84. package/dist-es/commands/UntagResourceCommand.js +18 -41
  85. package/dist-es/commands/UpdateChannelCommand.js +18 -41
  86. package/dist-es/commands/UpdateLiveSourceCommand.js +18 -41
  87. package/dist-es/commands/UpdateProgramCommand.js +18 -41
  88. package/dist-es/commands/UpdateSourceLocationCommand.js +18 -41
  89. package/dist-es/commands/UpdateVodSourceCommand.js +18 -41
  90. package/dist-es/endpoint/EndpointParameters.js +6 -0
  91. package/dist-types/commands/ConfigureLogsForChannelCommand.d.ts +6 -21
  92. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +6 -21
  93. package/dist-types/commands/CreateChannelCommand.d.ts +6 -21
  94. package/dist-types/commands/CreateLiveSourceCommand.d.ts +6 -21
  95. package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +6 -21
  96. package/dist-types/commands/CreateProgramCommand.d.ts +6 -21
  97. package/dist-types/commands/CreateSourceLocationCommand.d.ts +6 -21
  98. package/dist-types/commands/CreateVodSourceCommand.d.ts +6 -21
  99. package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
  100. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +6 -21
  101. package/dist-types/commands/DeleteLiveSourceCommand.d.ts +6 -21
  102. package/dist-types/commands/DeletePlaybackConfigurationCommand.d.ts +6 -21
  103. package/dist-types/commands/DeletePrefetchScheduleCommand.d.ts +6 -21
  104. package/dist-types/commands/DeleteProgramCommand.d.ts +6 -21
  105. package/dist-types/commands/DeleteSourceLocationCommand.d.ts +6 -21
  106. package/dist-types/commands/DeleteVodSourceCommand.d.ts +6 -21
  107. package/dist-types/commands/DescribeChannelCommand.d.ts +6 -21
  108. package/dist-types/commands/DescribeLiveSourceCommand.d.ts +6 -21
  109. package/dist-types/commands/DescribeProgramCommand.d.ts +6 -21
  110. package/dist-types/commands/DescribeSourceLocationCommand.d.ts +6 -21
  111. package/dist-types/commands/DescribeVodSourceCommand.d.ts +6 -21
  112. package/dist-types/commands/GetChannelPolicyCommand.d.ts +6 -21
  113. package/dist-types/commands/GetChannelScheduleCommand.d.ts +6 -21
  114. package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +6 -21
  115. package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +6 -21
  116. package/dist-types/commands/ListAlertsCommand.d.ts +6 -21
  117. package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
  118. package/dist-types/commands/ListLiveSourcesCommand.d.ts +6 -21
  119. package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +6 -21
  120. package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +6 -21
  121. package/dist-types/commands/ListSourceLocationsCommand.d.ts +6 -21
  122. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  123. package/dist-types/commands/ListVodSourcesCommand.d.ts +6 -21
  124. package/dist-types/commands/PutChannelPolicyCommand.d.ts +6 -21
  125. package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +6 -21
  126. package/dist-types/commands/StartChannelCommand.d.ts +6 -21
  127. package/dist-types/commands/StopChannelCommand.d.ts +6 -21
  128. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  129. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  130. package/dist-types/commands/UpdateChannelCommand.d.ts +6 -21
  131. package/dist-types/commands/UpdateLiveSourceCommand.d.ts +6 -21
  132. package/dist-types/commands/UpdateProgramCommand.d.ts +6 -21
  133. package/dist-types/commands/UpdateSourceLocationCommand.d.ts +6 -21
  134. package/dist-types/commands/UpdateVodSourceCommand.d.ts +6 -21
  135. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  136. package/dist-types/ts3.4/commands/ConfigureLogsForChannelCommand.d.ts +12 -24
  137. package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/CreateLiveSourceCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/CreatePrefetchScheduleCommand.d.ts +12 -24
  141. package/dist-types/ts3.4/commands/CreateProgramCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/CreateSourceLocationCommand.d.ts +12 -24
  143. package/dist-types/ts3.4/commands/CreateVodSourceCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/DeleteLiveSourceCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +12 -24
  148. package/dist-types/ts3.4/commands/DeletePrefetchScheduleCommand.d.ts +12 -24
  149. package/dist-types/ts3.4/commands/DeleteProgramCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/DeleteSourceLocationCommand.d.ts +12 -24
  151. package/dist-types/ts3.4/commands/DeleteVodSourceCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/DescribeLiveSourceCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/DescribeProgramCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/DescribeSourceLocationCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/DescribeVodSourceCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +14 -23
  158. package/dist-types/ts3.4/commands/GetChannelScheduleCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +12 -24
  160. package/dist-types/ts3.4/commands/GetPrefetchScheduleCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/ListAlertsCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/ListLiveSourcesCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/ListPrefetchSchedulesCommand.d.ts +12 -24
  166. package/dist-types/ts3.4/commands/ListSourceLocationsCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/ListVodSourcesCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/StartChannelCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/StopChannelCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/UpdateLiveSourceCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/UpdateProgramCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/UpdateSourceLocationCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/UpdateVodSourceCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  181. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ConfigureLogsForChannelCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ConfigureLogsForChannelCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "ConfigureLogsForChannelCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "ConfigureLogsForChannel",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ConfigureLogsForChannelCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ConfigureLogsForChannelCommand)(output, context);
49
- }
10
+ class ConfigureLogsForChannelCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "ConfigureLogsForChannel", {})
22
+ .n("MediaTailorClient", "ConfigureLogsForChannelCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ConfigureLogsForChannelCommand)
25
+ .de(Aws_restJson1_1.de_ConfigureLogsForChannelCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ConfigureLogsForChannelCommand = ConfigureLogsForChannelCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ConfigureLogsForPlaybackConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ConfigureLogsForPlaybackConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "ConfigureLogsForPlaybackConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "ConfigureLogsForPlaybackConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ConfigureLogsForPlaybackConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ConfigureLogsForPlaybackConfigurationCommand)(output, context);
49
- }
10
+ class ConfigureLogsForPlaybackConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "ConfigureLogsForPlaybackConfiguration", {})
22
+ .n("MediaTailorClient", "ConfigureLogsForPlaybackConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ConfigureLogsForPlaybackConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_ConfigureLogsForPlaybackConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ConfigureLogsForPlaybackConfigurationCommand = ConfigureLogsForPlaybackConfigurationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateChannelCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateChannelCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "CreateChannelCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "CreateChannel",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateChannelCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateChannelCommand)(output, context);
49
- }
10
+ class CreateChannelCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "CreateChannel", {})
22
+ .n("MediaTailorClient", "CreateChannelCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateChannelCommand)
25
+ .de(Aws_restJson1_1.de_CreateChannelCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateChannelCommand = CreateChannelCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateLiveSourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLiveSourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "CreateLiveSourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "CreateLiveSource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateLiveSourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateLiveSourceCommand)(output, context);
49
- }
10
+ class CreateLiveSourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "CreateLiveSource", {})
22
+ .n("MediaTailorClient", "CreateLiveSourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateLiveSourceCommand)
25
+ .de(Aws_restJson1_1.de_CreateLiveSourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateLiveSourceCommand = CreateLiveSourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreatePrefetchScheduleCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreatePrefetchScheduleCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "CreatePrefetchScheduleCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "CreatePrefetchSchedule",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreatePrefetchScheduleCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreatePrefetchScheduleCommand)(output, context);
49
- }
10
+ class CreatePrefetchScheduleCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "CreatePrefetchSchedule", {})
22
+ .n("MediaTailorClient", "CreatePrefetchScheduleCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreatePrefetchScheduleCommand)
25
+ .de(Aws_restJson1_1.de_CreatePrefetchScheduleCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreatePrefetchScheduleCommand = CreatePrefetchScheduleCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateProgramCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateProgramCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "CreateProgramCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "CreateProgram",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateProgramCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateProgramCommand)(output, context);
49
- }
10
+ class CreateProgramCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "CreateProgram", {})
22
+ .n("MediaTailorClient", "CreateProgramCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateProgramCommand)
25
+ .de(Aws_restJson1_1.de_CreateProgramCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateProgramCommand = CreateProgramCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateSourceLocationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateSourceLocationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "CreateSourceLocationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "CreateSourceLocation",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateSourceLocationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateSourceLocationCommand)(output, context);
49
- }
10
+ class CreateSourceLocationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "CreateSourceLocation", {})
22
+ .n("MediaTailorClient", "CreateSourceLocationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateSourceLocationCommand)
25
+ .de(Aws_restJson1_1.de_CreateSourceLocationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateSourceLocationCommand = CreateSourceLocationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateVodSourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateVodSourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "CreateVodSourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "CreateVodSource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateVodSourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateVodSourceCommand)(output, context);
49
- }
10
+ class CreateVodSourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "CreateVodSource", {})
22
+ .n("MediaTailorClient", "CreateVodSourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateVodSourceCommand)
25
+ .de(Aws_restJson1_1.de_CreateVodSourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateVodSourceCommand = CreateVodSourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteChannelCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteChannelCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MediaTailorClient";
29
- const commandName = "DeleteChannelCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "MediaTailor",
38
- operation: "DeleteChannel",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteChannelCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteChannelCommand)(output, context);
49
- }
10
+ class DeleteChannelCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("MediaTailor", "DeleteChannel", {})
22
+ .n("MediaTailorClient", "DeleteChannelCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteChannelCommand)
25
+ .de(Aws_restJson1_1.de_DeleteChannelCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteChannelCommand = DeleteChannelCommand;