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