@aws-sdk/client-mediatailor 3.1076.0 → 3.1078.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 (164) hide show
  1. package/dist-cjs/index.js +59 -485
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/ConfigureLogsForChannelCommand.js +2 -14
  4. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +2 -14
  5. package/dist-es/commands/CreateChannelCommand.js +2 -14
  6. package/dist-es/commands/CreateLiveSourceCommand.js +2 -14
  7. package/dist-es/commands/CreatePrefetchScheduleCommand.js +2 -14
  8. package/dist-es/commands/CreateProgramCommand.js +2 -14
  9. package/dist-es/commands/CreateSourceLocationCommand.js +2 -14
  10. package/dist-es/commands/CreateVodSourceCommand.js +2 -14
  11. package/dist-es/commands/DeleteChannelCommand.js +2 -14
  12. package/dist-es/commands/DeleteChannelPolicyCommand.js +2 -14
  13. package/dist-es/commands/DeleteFunctionCommand.js +2 -14
  14. package/dist-es/commands/DeleteLiveSourceCommand.js +2 -14
  15. package/dist-es/commands/DeletePlaybackConfigurationCommand.js +2 -14
  16. package/dist-es/commands/DeletePrefetchScheduleCommand.js +2 -14
  17. package/dist-es/commands/DeleteProgramCommand.js +2 -14
  18. package/dist-es/commands/DeleteSourceLocationCommand.js +2 -14
  19. package/dist-es/commands/DeleteVodSourceCommand.js +2 -14
  20. package/dist-es/commands/DescribeChannelCommand.js +2 -14
  21. package/dist-es/commands/DescribeLiveSourceCommand.js +2 -14
  22. package/dist-es/commands/DescribeProgramCommand.js +2 -14
  23. package/dist-es/commands/DescribeSourceLocationCommand.js +2 -14
  24. package/dist-es/commands/DescribeVodSourceCommand.js +2 -14
  25. package/dist-es/commands/GetChannelPolicyCommand.js +2 -14
  26. package/dist-es/commands/GetChannelScheduleCommand.js +2 -14
  27. package/dist-es/commands/GetFunctionCommand.js +2 -14
  28. package/dist-es/commands/GetPlaybackConfigurationCommand.js +2 -14
  29. package/dist-es/commands/GetPrefetchScheduleCommand.js +2 -14
  30. package/dist-es/commands/ListAlertsCommand.js +2 -14
  31. package/dist-es/commands/ListChannelsCommand.js +2 -14
  32. package/dist-es/commands/ListFunctionsCommand.js +2 -14
  33. package/dist-es/commands/ListLiveSourcesCommand.js +2 -14
  34. package/dist-es/commands/ListPlaybackConfigurationsCommand.js +2 -14
  35. package/dist-es/commands/ListPrefetchSchedulesCommand.js +2 -14
  36. package/dist-es/commands/ListSourceLocationsCommand.js +2 -14
  37. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  38. package/dist-es/commands/ListVodSourcesCommand.js +2 -14
  39. package/dist-es/commands/PutChannelPolicyCommand.js +2 -14
  40. package/dist-es/commands/PutFunctionCommand.js +2 -14
  41. package/dist-es/commands/PutPlaybackConfigurationCommand.js +2 -14
  42. package/dist-es/commands/StartChannelCommand.js +2 -14
  43. package/dist-es/commands/StopChannelCommand.js +2 -14
  44. package/dist-es/commands/TagResourceCommand.js +2 -14
  45. package/dist-es/commands/UntagResourceCommand.js +2 -14
  46. package/dist-es/commands/UpdateChannelCommand.js +2 -14
  47. package/dist-es/commands/UpdateLiveSourceCommand.js +2 -14
  48. package/dist-es/commands/UpdateProgramCommand.js +2 -14
  49. package/dist-es/commands/UpdateSourceLocationCommand.js +2 -14
  50. package/dist-es/commands/UpdateVodSourceCommand.js +2 -14
  51. package/dist-es/index.js +1 -0
  52. package/dist-es/runtimeConfig.browser.js +0 -2
  53. package/dist-es/runtimeConfig.js +1 -2
  54. package/dist-es/runtimeConfig.native.js +0 -2
  55. package/dist-es/runtimeConfig.shared.js +2 -0
  56. package/dist-types/commandBuilder.d.ts +18 -0
  57. package/dist-types/commands/ConfigureLogsForChannelCommand.d.ts +3 -8
  58. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +3 -8
  59. package/dist-types/commands/CreateChannelCommand.d.ts +3 -8
  60. package/dist-types/commands/CreateLiveSourceCommand.d.ts +3 -8
  61. package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +3 -8
  62. package/dist-types/commands/CreateProgramCommand.d.ts +3 -8
  63. package/dist-types/commands/CreateSourceLocationCommand.d.ts +3 -8
  64. package/dist-types/commands/CreateVodSourceCommand.d.ts +3 -8
  65. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -8
  66. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +3 -8
  67. package/dist-types/commands/DeleteFunctionCommand.d.ts +3 -8
  68. package/dist-types/commands/DeleteLiveSourceCommand.d.ts +3 -8
  69. package/dist-types/commands/DeletePlaybackConfigurationCommand.d.ts +3 -8
  70. package/dist-types/commands/DeletePrefetchScheduleCommand.d.ts +3 -8
  71. package/dist-types/commands/DeleteProgramCommand.d.ts +3 -8
  72. package/dist-types/commands/DeleteSourceLocationCommand.d.ts +3 -8
  73. package/dist-types/commands/DeleteVodSourceCommand.d.ts +3 -8
  74. package/dist-types/commands/DescribeChannelCommand.d.ts +3 -8
  75. package/dist-types/commands/DescribeLiveSourceCommand.d.ts +3 -8
  76. package/dist-types/commands/DescribeProgramCommand.d.ts +3 -8
  77. package/dist-types/commands/DescribeSourceLocationCommand.d.ts +3 -8
  78. package/dist-types/commands/DescribeVodSourceCommand.d.ts +3 -8
  79. package/dist-types/commands/GetChannelPolicyCommand.d.ts +3 -8
  80. package/dist-types/commands/GetChannelScheduleCommand.d.ts +3 -8
  81. package/dist-types/commands/GetFunctionCommand.d.ts +3 -8
  82. package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +3 -8
  83. package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +3 -8
  84. package/dist-types/commands/ListAlertsCommand.d.ts +3 -8
  85. package/dist-types/commands/ListChannelsCommand.d.ts +3 -8
  86. package/dist-types/commands/ListFunctionsCommand.d.ts +3 -8
  87. package/dist-types/commands/ListLiveSourcesCommand.d.ts +3 -8
  88. package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +3 -8
  89. package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +3 -8
  90. package/dist-types/commands/ListSourceLocationsCommand.d.ts +3 -8
  91. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  92. package/dist-types/commands/ListVodSourcesCommand.d.ts +3 -8
  93. package/dist-types/commands/PutChannelPolicyCommand.d.ts +3 -8
  94. package/dist-types/commands/PutFunctionCommand.d.ts +3 -8
  95. package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +3 -8
  96. package/dist-types/commands/StartChannelCommand.d.ts +3 -8
  97. package/dist-types/commands/StopChannelCommand.d.ts +3 -8
  98. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  99. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  100. package/dist-types/commands/UpdateChannelCommand.d.ts +3 -8
  101. package/dist-types/commands/UpdateLiveSourceCommand.d.ts +3 -8
  102. package/dist-types/commands/UpdateProgramCommand.d.ts +3 -8
  103. package/dist-types/commands/UpdateSourceLocationCommand.d.ts +3 -8
  104. package/dist-types/commands/UpdateVodSourceCommand.d.ts +3 -8
  105. package/dist-types/index.d.ts +1 -0
  106. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  107. package/dist-types/runtimeConfig.d.ts +1 -1
  108. package/dist-types/runtimeConfig.native.d.ts +1 -1
  109. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  110. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  111. package/dist-types/ts3.4/commands/ConfigureLogsForChannelCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/CreateLiveSourceCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/CreatePrefetchScheduleCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/CreateProgramCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/CreateSourceLocationCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/CreateVodSourceCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/DeleteLiveSourceCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/DeletePrefetchScheduleCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/DeleteProgramCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/DeleteSourceLocationCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/DeleteVodSourceCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/DescribeLiveSourceCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/DescribeProgramCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/DescribeSourceLocationCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/DescribeVodSourceCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/GetChannelScheduleCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/GetPrefetchScheduleCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/ListAlertsCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/ListLiveSourcesCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/ListPrefetchSchedulesCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/ListSourceLocationsCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/ListVodSourcesCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/PutFunctionCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/StartChannelCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/StopChannelCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/UpdateLiveSourceCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/UpdateProgramCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/UpdateSourceLocationCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/UpdateVodSourceCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/index.d.ts +1 -0
  160. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  161. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  162. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  163. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  164. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultMediaTailorHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1578,6 +1580,7 @@ const getRuntimeConfig$1 = (config) => {
1578
1580
  serviceTarget: "MediaTailor",
1579
1581
  },
1580
1582
  serviceId: config?.serviceId ?? "MediaTailor",
1583
+ sha256: config?.sha256 ?? Sha256,
1581
1584
  urlParser: config?.urlParser ?? parseUrl,
1582
1585
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1583
1586
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1611,7 +1614,6 @@ const getRuntimeConfig = (config) => {
1611
1614
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1612
1615
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1613
1616
  }, config),
1614
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1615
1617
  streamCollector: config?.streamCollector ?? streamCollector,
1616
1618
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1617
1619
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1699,580 +1701,152 @@ class MediaTailorClient extends Client {
1699
1701
  }
1700
1702
  }
1701
1703
 
1702
- class ConfigureLogsForChannelCommand extends Command
1703
- .classBuilder()
1704
- .ep(commonParams)
1705
- .m(function (Command, cs, config, o) {
1706
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1707
- })
1708
- .s("MediaTailor", "ConfigureLogsForChannel", {})
1709
- .n("MediaTailorClient", "ConfigureLogsForChannelCommand")
1710
- .sc(ConfigureLogsForChannel$)
1711
- .build() {
1704
+ const command = makeBuilder(commonParams, "MediaTailor", "MediaTailorClient", getEndpointPlugin);
1705
+ const _ep0 = {};
1706
+ const _mw0 = (Command, cs, config, o) => [];
1707
+
1708
+ class ConfigureLogsForChannelCommand extends command(_ep0, _mw0, "ConfigureLogsForChannel", ConfigureLogsForChannel$) {
1712
1709
  }
1713
1710
 
1714
- class ConfigureLogsForPlaybackConfigurationCommand extends Command
1715
- .classBuilder()
1716
- .ep(commonParams)
1717
- .m(function (Command, cs, config, o) {
1718
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1719
- })
1720
- .s("MediaTailor", "ConfigureLogsForPlaybackConfiguration", {})
1721
- .n("MediaTailorClient", "ConfigureLogsForPlaybackConfigurationCommand")
1722
- .sc(ConfigureLogsForPlaybackConfiguration$)
1723
- .build() {
1711
+ class ConfigureLogsForPlaybackConfigurationCommand extends command(_ep0, _mw0, "ConfigureLogsForPlaybackConfiguration", ConfigureLogsForPlaybackConfiguration$) {
1724
1712
  }
1725
1713
 
1726
- class CreateChannelCommand extends Command
1727
- .classBuilder()
1728
- .ep(commonParams)
1729
- .m(function (Command, cs, config, o) {
1730
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1731
- })
1732
- .s("MediaTailor", "CreateChannel", {})
1733
- .n("MediaTailorClient", "CreateChannelCommand")
1734
- .sc(CreateChannel$)
1735
- .build() {
1714
+ class CreateChannelCommand extends command(_ep0, _mw0, "CreateChannel", CreateChannel$) {
1736
1715
  }
1737
1716
 
1738
- class CreateLiveSourceCommand extends Command
1739
- .classBuilder()
1740
- .ep(commonParams)
1741
- .m(function (Command, cs, config, o) {
1742
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1743
- })
1744
- .s("MediaTailor", "CreateLiveSource", {})
1745
- .n("MediaTailorClient", "CreateLiveSourceCommand")
1746
- .sc(CreateLiveSource$)
1747
- .build() {
1717
+ class CreateLiveSourceCommand extends command(_ep0, _mw0, "CreateLiveSource", CreateLiveSource$) {
1748
1718
  }
1749
1719
 
1750
- class CreatePrefetchScheduleCommand extends Command
1751
- .classBuilder()
1752
- .ep(commonParams)
1753
- .m(function (Command, cs, config, o) {
1754
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1755
- })
1756
- .s("MediaTailor", "CreatePrefetchSchedule", {})
1757
- .n("MediaTailorClient", "CreatePrefetchScheduleCommand")
1758
- .sc(CreatePrefetchSchedule$)
1759
- .build() {
1720
+ class CreatePrefetchScheduleCommand extends command(_ep0, _mw0, "CreatePrefetchSchedule", CreatePrefetchSchedule$) {
1760
1721
  }
1761
1722
 
1762
- class CreateProgramCommand extends Command
1763
- .classBuilder()
1764
- .ep(commonParams)
1765
- .m(function (Command, cs, config, o) {
1766
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1767
- })
1768
- .s("MediaTailor", "CreateProgram", {})
1769
- .n("MediaTailorClient", "CreateProgramCommand")
1770
- .sc(CreateProgram$)
1771
- .build() {
1723
+ class CreateProgramCommand extends command(_ep0, _mw0, "CreateProgram", CreateProgram$) {
1772
1724
  }
1773
1725
 
1774
- class CreateSourceLocationCommand extends Command
1775
- .classBuilder()
1776
- .ep(commonParams)
1777
- .m(function (Command, cs, config, o) {
1778
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1779
- })
1780
- .s("MediaTailor", "CreateSourceLocation", {})
1781
- .n("MediaTailorClient", "CreateSourceLocationCommand")
1782
- .sc(CreateSourceLocation$)
1783
- .build() {
1726
+ class CreateSourceLocationCommand extends command(_ep0, _mw0, "CreateSourceLocation", CreateSourceLocation$) {
1784
1727
  }
1785
1728
 
1786
- class CreateVodSourceCommand extends Command
1787
- .classBuilder()
1788
- .ep(commonParams)
1789
- .m(function (Command, cs, config, o) {
1790
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1791
- })
1792
- .s("MediaTailor", "CreateVodSource", {})
1793
- .n("MediaTailorClient", "CreateVodSourceCommand")
1794
- .sc(CreateVodSource$)
1795
- .build() {
1729
+ class CreateVodSourceCommand extends command(_ep0, _mw0, "CreateVodSource", CreateVodSource$) {
1796
1730
  }
1797
1731
 
1798
- class DeleteChannelCommand extends Command
1799
- .classBuilder()
1800
- .ep(commonParams)
1801
- .m(function (Command, cs, config, o) {
1802
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1803
- })
1804
- .s("MediaTailor", "DeleteChannel", {})
1805
- .n("MediaTailorClient", "DeleteChannelCommand")
1806
- .sc(DeleteChannel$)
1807
- .build() {
1732
+ class DeleteChannelCommand extends command(_ep0, _mw0, "DeleteChannel", DeleteChannel$) {
1808
1733
  }
1809
1734
 
1810
- class DeleteChannelPolicyCommand extends Command
1811
- .classBuilder()
1812
- .ep(commonParams)
1813
- .m(function (Command, cs, config, o) {
1814
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1815
- })
1816
- .s("MediaTailor", "DeleteChannelPolicy", {})
1817
- .n("MediaTailorClient", "DeleteChannelPolicyCommand")
1818
- .sc(DeleteChannelPolicy$)
1819
- .build() {
1735
+ class DeleteChannelPolicyCommand extends command(_ep0, _mw0, "DeleteChannelPolicy", DeleteChannelPolicy$) {
1820
1736
  }
1821
1737
 
1822
- class DeleteFunctionCommand extends Command
1823
- .classBuilder()
1824
- .ep(commonParams)
1825
- .m(function (Command, cs, config, o) {
1826
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1827
- })
1828
- .s("MediaTailor", "DeleteFunction", {})
1829
- .n("MediaTailorClient", "DeleteFunctionCommand")
1830
- .sc(DeleteFunction$)
1831
- .build() {
1738
+ class DeleteFunctionCommand extends command(_ep0, _mw0, "DeleteFunction", DeleteFunction$) {
1832
1739
  }
1833
1740
 
1834
- class DeleteLiveSourceCommand extends Command
1835
- .classBuilder()
1836
- .ep(commonParams)
1837
- .m(function (Command, cs, config, o) {
1838
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1839
- })
1840
- .s("MediaTailor", "DeleteLiveSource", {})
1841
- .n("MediaTailorClient", "DeleteLiveSourceCommand")
1842
- .sc(DeleteLiveSource$)
1843
- .build() {
1741
+ class DeleteLiveSourceCommand extends command(_ep0, _mw0, "DeleteLiveSource", DeleteLiveSource$) {
1844
1742
  }
1845
1743
 
1846
- class DeletePlaybackConfigurationCommand extends Command
1847
- .classBuilder()
1848
- .ep(commonParams)
1849
- .m(function (Command, cs, config, o) {
1850
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1851
- })
1852
- .s("MediaTailor", "DeletePlaybackConfiguration", {})
1853
- .n("MediaTailorClient", "DeletePlaybackConfigurationCommand")
1854
- .sc(DeletePlaybackConfiguration$)
1855
- .build() {
1744
+ class DeletePlaybackConfigurationCommand extends command(_ep0, _mw0, "DeletePlaybackConfiguration", DeletePlaybackConfiguration$) {
1856
1745
  }
1857
1746
 
1858
- class DeletePrefetchScheduleCommand extends Command
1859
- .classBuilder()
1860
- .ep(commonParams)
1861
- .m(function (Command, cs, config, o) {
1862
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1863
- })
1864
- .s("MediaTailor", "DeletePrefetchSchedule", {})
1865
- .n("MediaTailorClient", "DeletePrefetchScheduleCommand")
1866
- .sc(DeletePrefetchSchedule$)
1867
- .build() {
1747
+ class DeletePrefetchScheduleCommand extends command(_ep0, _mw0, "DeletePrefetchSchedule", DeletePrefetchSchedule$) {
1868
1748
  }
1869
1749
 
1870
- class DeleteProgramCommand extends Command
1871
- .classBuilder()
1872
- .ep(commonParams)
1873
- .m(function (Command, cs, config, o) {
1874
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1875
- })
1876
- .s("MediaTailor", "DeleteProgram", {})
1877
- .n("MediaTailorClient", "DeleteProgramCommand")
1878
- .sc(DeleteProgram$)
1879
- .build() {
1750
+ class DeleteProgramCommand extends command(_ep0, _mw0, "DeleteProgram", DeleteProgram$) {
1880
1751
  }
1881
1752
 
1882
- class DeleteSourceLocationCommand extends Command
1883
- .classBuilder()
1884
- .ep(commonParams)
1885
- .m(function (Command, cs, config, o) {
1886
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1887
- })
1888
- .s("MediaTailor", "DeleteSourceLocation", {})
1889
- .n("MediaTailorClient", "DeleteSourceLocationCommand")
1890
- .sc(DeleteSourceLocation$)
1891
- .build() {
1753
+ class DeleteSourceLocationCommand extends command(_ep0, _mw0, "DeleteSourceLocation", DeleteSourceLocation$) {
1892
1754
  }
1893
1755
 
1894
- class DeleteVodSourceCommand extends Command
1895
- .classBuilder()
1896
- .ep(commonParams)
1897
- .m(function (Command, cs, config, o) {
1898
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1899
- })
1900
- .s("MediaTailor", "DeleteVodSource", {})
1901
- .n("MediaTailorClient", "DeleteVodSourceCommand")
1902
- .sc(DeleteVodSource$)
1903
- .build() {
1756
+ class DeleteVodSourceCommand extends command(_ep0, _mw0, "DeleteVodSource", DeleteVodSource$) {
1904
1757
  }
1905
1758
 
1906
- class DescribeChannelCommand extends Command
1907
- .classBuilder()
1908
- .ep(commonParams)
1909
- .m(function (Command, cs, config, o) {
1910
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1911
- })
1912
- .s("MediaTailor", "DescribeChannel", {})
1913
- .n("MediaTailorClient", "DescribeChannelCommand")
1914
- .sc(DescribeChannel$)
1915
- .build() {
1759
+ class DescribeChannelCommand extends command(_ep0, _mw0, "DescribeChannel", DescribeChannel$) {
1916
1760
  }
1917
1761
 
1918
- class DescribeLiveSourceCommand extends Command
1919
- .classBuilder()
1920
- .ep(commonParams)
1921
- .m(function (Command, cs, config, o) {
1922
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1923
- })
1924
- .s("MediaTailor", "DescribeLiveSource", {})
1925
- .n("MediaTailorClient", "DescribeLiveSourceCommand")
1926
- .sc(DescribeLiveSource$)
1927
- .build() {
1762
+ class DescribeLiveSourceCommand extends command(_ep0, _mw0, "DescribeLiveSource", DescribeLiveSource$) {
1928
1763
  }
1929
1764
 
1930
- class DescribeProgramCommand extends Command
1931
- .classBuilder()
1932
- .ep(commonParams)
1933
- .m(function (Command, cs, config, o) {
1934
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1935
- })
1936
- .s("MediaTailor", "DescribeProgram", {})
1937
- .n("MediaTailorClient", "DescribeProgramCommand")
1938
- .sc(DescribeProgram$)
1939
- .build() {
1765
+ class DescribeProgramCommand extends command(_ep0, _mw0, "DescribeProgram", DescribeProgram$) {
1940
1766
  }
1941
1767
 
1942
- class DescribeSourceLocationCommand extends Command
1943
- .classBuilder()
1944
- .ep(commonParams)
1945
- .m(function (Command, cs, config, o) {
1946
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1947
- })
1948
- .s("MediaTailor", "DescribeSourceLocation", {})
1949
- .n("MediaTailorClient", "DescribeSourceLocationCommand")
1950
- .sc(DescribeSourceLocation$)
1951
- .build() {
1768
+ class DescribeSourceLocationCommand extends command(_ep0, _mw0, "DescribeSourceLocation", DescribeSourceLocation$) {
1952
1769
  }
1953
1770
 
1954
- class DescribeVodSourceCommand extends Command
1955
- .classBuilder()
1956
- .ep(commonParams)
1957
- .m(function (Command, cs, config, o) {
1958
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1959
- })
1960
- .s("MediaTailor", "DescribeVodSource", {})
1961
- .n("MediaTailorClient", "DescribeVodSourceCommand")
1962
- .sc(DescribeVodSource$)
1963
- .build() {
1771
+ class DescribeVodSourceCommand extends command(_ep0, _mw0, "DescribeVodSource", DescribeVodSource$) {
1964
1772
  }
1965
1773
 
1966
- class GetChannelPolicyCommand extends Command
1967
- .classBuilder()
1968
- .ep(commonParams)
1969
- .m(function (Command, cs, config, o) {
1970
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1971
- })
1972
- .s("MediaTailor", "GetChannelPolicy", {})
1973
- .n("MediaTailorClient", "GetChannelPolicyCommand")
1974
- .sc(GetChannelPolicy$)
1975
- .build() {
1774
+ class GetChannelPolicyCommand extends command(_ep0, _mw0, "GetChannelPolicy", GetChannelPolicy$) {
1976
1775
  }
1977
1776
 
1978
- class GetChannelScheduleCommand extends Command
1979
- .classBuilder()
1980
- .ep(commonParams)
1981
- .m(function (Command, cs, config, o) {
1982
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1983
- })
1984
- .s("MediaTailor", "GetChannelSchedule", {})
1985
- .n("MediaTailorClient", "GetChannelScheduleCommand")
1986
- .sc(GetChannelSchedule$)
1987
- .build() {
1777
+ class GetChannelScheduleCommand extends command(_ep0, _mw0, "GetChannelSchedule", GetChannelSchedule$) {
1988
1778
  }
1989
1779
 
1990
- class GetFunctionCommand extends Command
1991
- .classBuilder()
1992
- .ep(commonParams)
1993
- .m(function (Command, cs, config, o) {
1994
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1995
- })
1996
- .s("MediaTailor", "GetFunction", {})
1997
- .n("MediaTailorClient", "GetFunctionCommand")
1998
- .sc(GetFunction$)
1999
- .build() {
1780
+ class GetFunctionCommand extends command(_ep0, _mw0, "GetFunction", GetFunction$) {
2000
1781
  }
2001
1782
 
2002
- class GetPlaybackConfigurationCommand extends Command
2003
- .classBuilder()
2004
- .ep(commonParams)
2005
- .m(function (Command, cs, config, o) {
2006
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2007
- })
2008
- .s("MediaTailor", "GetPlaybackConfiguration", {})
2009
- .n("MediaTailorClient", "GetPlaybackConfigurationCommand")
2010
- .sc(GetPlaybackConfiguration$)
2011
- .build() {
1783
+ class GetPlaybackConfigurationCommand extends command(_ep0, _mw0, "GetPlaybackConfiguration", GetPlaybackConfiguration$) {
2012
1784
  }
2013
1785
 
2014
- class GetPrefetchScheduleCommand extends Command
2015
- .classBuilder()
2016
- .ep(commonParams)
2017
- .m(function (Command, cs, config, o) {
2018
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2019
- })
2020
- .s("MediaTailor", "GetPrefetchSchedule", {})
2021
- .n("MediaTailorClient", "GetPrefetchScheduleCommand")
2022
- .sc(GetPrefetchSchedule$)
2023
- .build() {
1786
+ class GetPrefetchScheduleCommand extends command(_ep0, _mw0, "GetPrefetchSchedule", GetPrefetchSchedule$) {
2024
1787
  }
2025
1788
 
2026
- class ListAlertsCommand extends Command
2027
- .classBuilder()
2028
- .ep(commonParams)
2029
- .m(function (Command, cs, config, o) {
2030
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2031
- })
2032
- .s("MediaTailor", "ListAlerts", {})
2033
- .n("MediaTailorClient", "ListAlertsCommand")
2034
- .sc(ListAlerts$)
2035
- .build() {
1789
+ class ListAlertsCommand extends command(_ep0, _mw0, "ListAlerts", ListAlerts$) {
2036
1790
  }
2037
1791
 
2038
- class ListChannelsCommand extends Command
2039
- .classBuilder()
2040
- .ep(commonParams)
2041
- .m(function (Command, cs, config, o) {
2042
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2043
- })
2044
- .s("MediaTailor", "ListChannels", {})
2045
- .n("MediaTailorClient", "ListChannelsCommand")
2046
- .sc(ListChannels$)
2047
- .build() {
1792
+ class ListChannelsCommand extends command(_ep0, _mw0, "ListChannels", ListChannels$) {
2048
1793
  }
2049
1794
 
2050
- class ListFunctionsCommand extends Command
2051
- .classBuilder()
2052
- .ep(commonParams)
2053
- .m(function (Command, cs, config, o) {
2054
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2055
- })
2056
- .s("MediaTailor", "ListFunctions", {})
2057
- .n("MediaTailorClient", "ListFunctionsCommand")
2058
- .sc(ListFunctions$)
2059
- .build() {
1795
+ class ListFunctionsCommand extends command(_ep0, _mw0, "ListFunctions", ListFunctions$) {
2060
1796
  }
2061
1797
 
2062
- class ListLiveSourcesCommand extends Command
2063
- .classBuilder()
2064
- .ep(commonParams)
2065
- .m(function (Command, cs, config, o) {
2066
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2067
- })
2068
- .s("MediaTailor", "ListLiveSources", {})
2069
- .n("MediaTailorClient", "ListLiveSourcesCommand")
2070
- .sc(ListLiveSources$)
2071
- .build() {
1798
+ class ListLiveSourcesCommand extends command(_ep0, _mw0, "ListLiveSources", ListLiveSources$) {
2072
1799
  }
2073
1800
 
2074
- class ListPlaybackConfigurationsCommand extends Command
2075
- .classBuilder()
2076
- .ep(commonParams)
2077
- .m(function (Command, cs, config, o) {
2078
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2079
- })
2080
- .s("MediaTailor", "ListPlaybackConfigurations", {})
2081
- .n("MediaTailorClient", "ListPlaybackConfigurationsCommand")
2082
- .sc(ListPlaybackConfigurations$)
2083
- .build() {
1801
+ class ListPlaybackConfigurationsCommand extends command(_ep0, _mw0, "ListPlaybackConfigurations", ListPlaybackConfigurations$) {
2084
1802
  }
2085
1803
 
2086
- class ListPrefetchSchedulesCommand extends Command
2087
- .classBuilder()
2088
- .ep(commonParams)
2089
- .m(function (Command, cs, config, o) {
2090
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2091
- })
2092
- .s("MediaTailor", "ListPrefetchSchedules", {})
2093
- .n("MediaTailorClient", "ListPrefetchSchedulesCommand")
2094
- .sc(ListPrefetchSchedules$)
2095
- .build() {
1804
+ class ListPrefetchSchedulesCommand extends command(_ep0, _mw0, "ListPrefetchSchedules", ListPrefetchSchedules$) {
2096
1805
  }
2097
1806
 
2098
- class ListSourceLocationsCommand extends Command
2099
- .classBuilder()
2100
- .ep(commonParams)
2101
- .m(function (Command, cs, config, o) {
2102
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2103
- })
2104
- .s("MediaTailor", "ListSourceLocations", {})
2105
- .n("MediaTailorClient", "ListSourceLocationsCommand")
2106
- .sc(ListSourceLocations$)
2107
- .build() {
1807
+ class ListSourceLocationsCommand extends command(_ep0, _mw0, "ListSourceLocations", ListSourceLocations$) {
2108
1808
  }
2109
1809
 
2110
- class ListTagsForResourceCommand extends Command
2111
- .classBuilder()
2112
- .ep(commonParams)
2113
- .m(function (Command, cs, config, o) {
2114
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2115
- })
2116
- .s("MediaTailor", "ListTagsForResource", {})
2117
- .n("MediaTailorClient", "ListTagsForResourceCommand")
2118
- .sc(ListTagsForResource$)
2119
- .build() {
1810
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2120
1811
  }
2121
1812
 
2122
- class ListVodSourcesCommand extends Command
2123
- .classBuilder()
2124
- .ep(commonParams)
2125
- .m(function (Command, cs, config, o) {
2126
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2127
- })
2128
- .s("MediaTailor", "ListVodSources", {})
2129
- .n("MediaTailorClient", "ListVodSourcesCommand")
2130
- .sc(ListVodSources$)
2131
- .build() {
1813
+ class ListVodSourcesCommand extends command(_ep0, _mw0, "ListVodSources", ListVodSources$) {
2132
1814
  }
2133
1815
 
2134
- class PutChannelPolicyCommand extends Command
2135
- .classBuilder()
2136
- .ep(commonParams)
2137
- .m(function (Command, cs, config, o) {
2138
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2139
- })
2140
- .s("MediaTailor", "PutChannelPolicy", {})
2141
- .n("MediaTailorClient", "PutChannelPolicyCommand")
2142
- .sc(PutChannelPolicy$)
2143
- .build() {
1816
+ class PutChannelPolicyCommand extends command(_ep0, _mw0, "PutChannelPolicy", PutChannelPolicy$) {
2144
1817
  }
2145
1818
 
2146
- class PutFunctionCommand extends Command
2147
- .classBuilder()
2148
- .ep(commonParams)
2149
- .m(function (Command, cs, config, o) {
2150
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2151
- })
2152
- .s("MediaTailor", "PutFunction", {})
2153
- .n("MediaTailorClient", "PutFunctionCommand")
2154
- .sc(PutFunction$)
2155
- .build() {
1819
+ class PutFunctionCommand extends command(_ep0, _mw0, "PutFunction", PutFunction$) {
2156
1820
  }
2157
1821
 
2158
- class PutPlaybackConfigurationCommand extends Command
2159
- .classBuilder()
2160
- .ep(commonParams)
2161
- .m(function (Command, cs, config, o) {
2162
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2163
- })
2164
- .s("MediaTailor", "PutPlaybackConfiguration", {})
2165
- .n("MediaTailorClient", "PutPlaybackConfigurationCommand")
2166
- .sc(PutPlaybackConfiguration$)
2167
- .build() {
1822
+ class PutPlaybackConfigurationCommand extends command(_ep0, _mw0, "PutPlaybackConfiguration", PutPlaybackConfiguration$) {
2168
1823
  }
2169
1824
 
2170
- class StartChannelCommand extends Command
2171
- .classBuilder()
2172
- .ep(commonParams)
2173
- .m(function (Command, cs, config, o) {
2174
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2175
- })
2176
- .s("MediaTailor", "StartChannel", {})
2177
- .n("MediaTailorClient", "StartChannelCommand")
2178
- .sc(StartChannel$)
2179
- .build() {
1825
+ class StartChannelCommand extends command(_ep0, _mw0, "StartChannel", StartChannel$) {
2180
1826
  }
2181
1827
 
2182
- class StopChannelCommand extends Command
2183
- .classBuilder()
2184
- .ep(commonParams)
2185
- .m(function (Command, cs, config, o) {
2186
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2187
- })
2188
- .s("MediaTailor", "StopChannel", {})
2189
- .n("MediaTailorClient", "StopChannelCommand")
2190
- .sc(StopChannel$)
2191
- .build() {
1828
+ class StopChannelCommand extends command(_ep0, _mw0, "StopChannel", StopChannel$) {
2192
1829
  }
2193
1830
 
2194
- class TagResourceCommand extends Command
2195
- .classBuilder()
2196
- .ep(commonParams)
2197
- .m(function (Command, cs, config, o) {
2198
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2199
- })
2200
- .s("MediaTailor", "TagResource", {})
2201
- .n("MediaTailorClient", "TagResourceCommand")
2202
- .sc(TagResource$)
2203
- .build() {
1831
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2204
1832
  }
2205
1833
 
2206
- class UntagResourceCommand extends Command
2207
- .classBuilder()
2208
- .ep(commonParams)
2209
- .m(function (Command, cs, config, o) {
2210
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2211
- })
2212
- .s("MediaTailor", "UntagResource", {})
2213
- .n("MediaTailorClient", "UntagResourceCommand")
2214
- .sc(UntagResource$)
2215
- .build() {
1834
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2216
1835
  }
2217
1836
 
2218
- class UpdateChannelCommand extends Command
2219
- .classBuilder()
2220
- .ep(commonParams)
2221
- .m(function (Command, cs, config, o) {
2222
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2223
- })
2224
- .s("MediaTailor", "UpdateChannel", {})
2225
- .n("MediaTailorClient", "UpdateChannelCommand")
2226
- .sc(UpdateChannel$)
2227
- .build() {
1837
+ class UpdateChannelCommand extends command(_ep0, _mw0, "UpdateChannel", UpdateChannel$) {
2228
1838
  }
2229
1839
 
2230
- class UpdateLiveSourceCommand extends Command
2231
- .classBuilder()
2232
- .ep(commonParams)
2233
- .m(function (Command, cs, config, o) {
2234
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2235
- })
2236
- .s("MediaTailor", "UpdateLiveSource", {})
2237
- .n("MediaTailorClient", "UpdateLiveSourceCommand")
2238
- .sc(UpdateLiveSource$)
2239
- .build() {
1840
+ class UpdateLiveSourceCommand extends command(_ep0, _mw0, "UpdateLiveSource", UpdateLiveSource$) {
2240
1841
  }
2241
1842
 
2242
- class UpdateProgramCommand extends Command
2243
- .classBuilder()
2244
- .ep(commonParams)
2245
- .m(function (Command, cs, config, o) {
2246
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2247
- })
2248
- .s("MediaTailor", "UpdateProgram", {})
2249
- .n("MediaTailorClient", "UpdateProgramCommand")
2250
- .sc(UpdateProgram$)
2251
- .build() {
1843
+ class UpdateProgramCommand extends command(_ep0, _mw0, "UpdateProgram", UpdateProgram$) {
2252
1844
  }
2253
1845
 
2254
- class UpdateSourceLocationCommand extends Command
2255
- .classBuilder()
2256
- .ep(commonParams)
2257
- .m(function (Command, cs, config, o) {
2258
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2259
- })
2260
- .s("MediaTailor", "UpdateSourceLocation", {})
2261
- .n("MediaTailorClient", "UpdateSourceLocationCommand")
2262
- .sc(UpdateSourceLocation$)
2263
- .build() {
1846
+ class UpdateSourceLocationCommand extends command(_ep0, _mw0, "UpdateSourceLocation", UpdateSourceLocation$) {
2264
1847
  }
2265
1848
 
2266
- class UpdateVodSourceCommand extends Command
2267
- .classBuilder()
2268
- .ep(commonParams)
2269
- .m(function (Command, cs, config, o) {
2270
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2271
- })
2272
- .s("MediaTailor", "UpdateVodSource", {})
2273
- .n("MediaTailorClient", "UpdateVodSourceCommand")
2274
- .sc(UpdateVodSource$)
2275
- .build() {
1849
+ class UpdateVodSourceCommand extends command(_ep0, _mw0, "UpdateVodSource", UpdateVodSource$) {
2276
1850
  }
2277
1851
 
2278
1852
  const paginateGetChannelSchedule = createPaginator(MediaTailorClient, GetChannelScheduleCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "MediaTailor", "MediaTailorClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];