@aws-sdk/client-ivs 3.1077.0 → 3.1079.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 (131) hide show
  1. package/dist-cjs/index.js +49 -413
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetChannelCommand.js +2 -14
  4. package/dist-es/commands/BatchGetStreamKeyCommand.js +2 -14
  5. package/dist-es/commands/BatchStartViewerSessionRevocationCommand.js +2 -14
  6. package/dist-es/commands/CreateAdConfigurationCommand.js +2 -14
  7. package/dist-es/commands/CreateChannelCommand.js +2 -14
  8. package/dist-es/commands/CreatePlaybackRestrictionPolicyCommand.js +2 -14
  9. package/dist-es/commands/CreateRecordingConfigurationCommand.js +2 -14
  10. package/dist-es/commands/CreateStreamKeyCommand.js +2 -14
  11. package/dist-es/commands/DeleteAdConfigurationCommand.js +2 -14
  12. package/dist-es/commands/DeleteChannelCommand.js +2 -14
  13. package/dist-es/commands/DeletePlaybackKeyPairCommand.js +2 -14
  14. package/dist-es/commands/DeletePlaybackRestrictionPolicyCommand.js +2 -14
  15. package/dist-es/commands/DeleteRecordingConfigurationCommand.js +2 -14
  16. package/dist-es/commands/DeleteStreamKeyCommand.js +2 -14
  17. package/dist-es/commands/GetAdConfigurationCommand.js +2 -14
  18. package/dist-es/commands/GetChannelCommand.js +2 -14
  19. package/dist-es/commands/GetPlaybackKeyPairCommand.js +2 -14
  20. package/dist-es/commands/GetPlaybackRestrictionPolicyCommand.js +2 -14
  21. package/dist-es/commands/GetRecordingConfigurationCommand.js +2 -14
  22. package/dist-es/commands/GetStreamCommand.js +2 -14
  23. package/dist-es/commands/GetStreamKeyCommand.js +2 -14
  24. package/dist-es/commands/GetStreamSessionCommand.js +2 -14
  25. package/dist-es/commands/ImportPlaybackKeyPairCommand.js +2 -14
  26. package/dist-es/commands/InsertAdBreakCommand.js +2 -14
  27. package/dist-es/commands/ListAdConfigurationsCommand.js +2 -14
  28. package/dist-es/commands/ListChannelsCommand.js +2 -14
  29. package/dist-es/commands/ListPlaybackKeyPairsCommand.js +2 -14
  30. package/dist-es/commands/ListPlaybackRestrictionPoliciesCommand.js +2 -14
  31. package/dist-es/commands/ListRecordingConfigurationsCommand.js +2 -14
  32. package/dist-es/commands/ListStreamKeysCommand.js +2 -14
  33. package/dist-es/commands/ListStreamSessionsCommand.js +2 -14
  34. package/dist-es/commands/ListStreamsCommand.js +2 -14
  35. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  36. package/dist-es/commands/PutMetadataCommand.js +2 -14
  37. package/dist-es/commands/StartViewerSessionRevocationCommand.js +2 -14
  38. package/dist-es/commands/StopStreamCommand.js +2 -14
  39. package/dist-es/commands/TagResourceCommand.js +2 -14
  40. package/dist-es/commands/UntagResourceCommand.js +2 -14
  41. package/dist-es/commands/UpdateAdConfigurationCommand.js +2 -14
  42. package/dist-es/commands/UpdateChannelCommand.js +2 -14
  43. package/dist-es/commands/UpdatePlaybackRestrictionPolicyCommand.js +2 -14
  44. package/dist-es/index.js +1 -0
  45. package/dist-types/commandBuilder.d.ts +18 -0
  46. package/dist-types/commands/BatchGetChannelCommand.d.ts +3 -8
  47. package/dist-types/commands/BatchGetStreamKeyCommand.d.ts +3 -8
  48. package/dist-types/commands/BatchStartViewerSessionRevocationCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateAdConfigurationCommand.d.ts +3 -8
  50. package/dist-types/commands/CreateChannelCommand.d.ts +3 -8
  51. package/dist-types/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +3 -8
  52. package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +3 -8
  53. package/dist-types/commands/CreateStreamKeyCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteAdConfigurationCommand.d.ts +3 -8
  55. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -8
  56. package/dist-types/commands/DeletePlaybackKeyPairCommand.d.ts +3 -8
  57. package/dist-types/commands/DeletePlaybackRestrictionPolicyCommand.d.ts +3 -8
  58. package/dist-types/commands/DeleteRecordingConfigurationCommand.d.ts +3 -8
  59. package/dist-types/commands/DeleteStreamKeyCommand.d.ts +3 -8
  60. package/dist-types/commands/GetAdConfigurationCommand.d.ts +3 -8
  61. package/dist-types/commands/GetChannelCommand.d.ts +3 -8
  62. package/dist-types/commands/GetPlaybackKeyPairCommand.d.ts +3 -8
  63. package/dist-types/commands/GetPlaybackRestrictionPolicyCommand.d.ts +3 -8
  64. package/dist-types/commands/GetRecordingConfigurationCommand.d.ts +3 -8
  65. package/dist-types/commands/GetStreamCommand.d.ts +3 -8
  66. package/dist-types/commands/GetStreamKeyCommand.d.ts +3 -8
  67. package/dist-types/commands/GetStreamSessionCommand.d.ts +3 -8
  68. package/dist-types/commands/ImportPlaybackKeyPairCommand.d.ts +3 -8
  69. package/dist-types/commands/InsertAdBreakCommand.d.ts +3 -8
  70. package/dist-types/commands/ListAdConfigurationsCommand.d.ts +3 -8
  71. package/dist-types/commands/ListChannelsCommand.d.ts +3 -8
  72. package/dist-types/commands/ListPlaybackKeyPairsCommand.d.ts +3 -8
  73. package/dist-types/commands/ListPlaybackRestrictionPoliciesCommand.d.ts +3 -8
  74. package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +3 -8
  75. package/dist-types/commands/ListStreamKeysCommand.d.ts +3 -8
  76. package/dist-types/commands/ListStreamSessionsCommand.d.ts +3 -8
  77. package/dist-types/commands/ListStreamsCommand.d.ts +3 -8
  78. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  79. package/dist-types/commands/PutMetadataCommand.d.ts +3 -8
  80. package/dist-types/commands/StartViewerSessionRevocationCommand.d.ts +3 -8
  81. package/dist-types/commands/StopStreamCommand.d.ts +3 -8
  82. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  83. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  84. package/dist-types/commands/UpdateAdConfigurationCommand.d.ts +3 -8
  85. package/dist-types/commands/UpdateChannelCommand.d.ts +3 -8
  86. package/dist-types/commands/UpdatePlaybackRestrictionPolicyCommand.d.ts +3 -8
  87. package/dist-types/index.d.ts +1 -0
  88. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  89. package/dist-types/ts3.4/commands/BatchGetChannelCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/BatchGetStreamKeyCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/BatchStartViewerSessionRevocationCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/CreateAdConfigurationCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/CreatePlaybackRestrictionPolicyCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/CreateStreamKeyCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DeleteAdConfigurationCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DeletePlaybackRestrictionPolicyCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetAdConfigurationCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetPlaybackRestrictionPolicyCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/GetRecordingConfigurationCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/GetStreamKeyCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/InsertAdBreakCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListAdConfigurationsCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ListPlaybackRestrictionPoliciesCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ListRecordingConfigurationsCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/ListStreamKeysCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/PutMetadataCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/StartViewerSessionRevocationCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/StopStreamCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/UpdateAdConfigurationCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/UpdatePlaybackRestrictionPolicyCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/index.d.ts +1 -0
  131. 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.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1719,496 +1720,131 @@ class IvsClient extends Client {
1719
1720
  }
1720
1721
  }
1721
1722
 
1722
- class BatchGetChannelCommand extends Command
1723
- .classBuilder()
1724
- .ep(commonParams)
1725
- .m(function (Command, cs, config, o) {
1726
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1727
- })
1728
- .s("AmazonInteractiveVideoService", "BatchGetChannel", {})
1729
- .n("IvsClient", "BatchGetChannelCommand")
1730
- .sc(BatchGetChannel$)
1731
- .build() {
1723
+ const command = makeBuilder(commonParams, "AmazonInteractiveVideoService", "IvsClient", getEndpointPlugin);
1724
+ const _ep0 = {};
1725
+ const _mw0 = (Command, cs, config, o) => [];
1726
+
1727
+ class BatchGetChannelCommand extends command(_ep0, _mw0, "BatchGetChannel", BatchGetChannel$) {
1732
1728
  }
1733
1729
 
1734
- class BatchGetStreamKeyCommand extends Command
1735
- .classBuilder()
1736
- .ep(commonParams)
1737
- .m(function (Command, cs, config, o) {
1738
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1739
- })
1740
- .s("AmazonInteractiveVideoService", "BatchGetStreamKey", {})
1741
- .n("IvsClient", "BatchGetStreamKeyCommand")
1742
- .sc(BatchGetStreamKey$)
1743
- .build() {
1730
+ class BatchGetStreamKeyCommand extends command(_ep0, _mw0, "BatchGetStreamKey", BatchGetStreamKey$) {
1744
1731
  }
1745
1732
 
1746
- class BatchStartViewerSessionRevocationCommand extends Command
1747
- .classBuilder()
1748
- .ep(commonParams)
1749
- .m(function (Command, cs, config, o) {
1750
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1751
- })
1752
- .s("AmazonInteractiveVideoService", "BatchStartViewerSessionRevocation", {})
1753
- .n("IvsClient", "BatchStartViewerSessionRevocationCommand")
1754
- .sc(BatchStartViewerSessionRevocation$)
1755
- .build() {
1733
+ class BatchStartViewerSessionRevocationCommand extends command(_ep0, _mw0, "BatchStartViewerSessionRevocation", BatchStartViewerSessionRevocation$) {
1756
1734
  }
1757
1735
 
1758
- class CreateAdConfigurationCommand extends Command
1759
- .classBuilder()
1760
- .ep(commonParams)
1761
- .m(function (Command, cs, config, o) {
1762
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
- })
1764
- .s("AmazonInteractiveVideoService", "CreateAdConfiguration", {})
1765
- .n("IvsClient", "CreateAdConfigurationCommand")
1766
- .sc(CreateAdConfiguration$)
1767
- .build() {
1736
+ class CreateAdConfigurationCommand extends command(_ep0, _mw0, "CreateAdConfiguration", CreateAdConfiguration$) {
1768
1737
  }
1769
1738
 
1770
- class CreateChannelCommand extends Command
1771
- .classBuilder()
1772
- .ep(commonParams)
1773
- .m(function (Command, cs, config, o) {
1774
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1775
- })
1776
- .s("AmazonInteractiveVideoService", "CreateChannel", {})
1777
- .n("IvsClient", "CreateChannelCommand")
1778
- .sc(CreateChannel$)
1779
- .build() {
1739
+ class CreateChannelCommand extends command(_ep0, _mw0, "CreateChannel", CreateChannel$) {
1780
1740
  }
1781
1741
 
1782
- class CreatePlaybackRestrictionPolicyCommand extends Command
1783
- .classBuilder()
1784
- .ep(commonParams)
1785
- .m(function (Command, cs, config, o) {
1786
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1787
- })
1788
- .s("AmazonInteractiveVideoService", "CreatePlaybackRestrictionPolicy", {})
1789
- .n("IvsClient", "CreatePlaybackRestrictionPolicyCommand")
1790
- .sc(CreatePlaybackRestrictionPolicy$)
1791
- .build() {
1742
+ class CreatePlaybackRestrictionPolicyCommand extends command(_ep0, _mw0, "CreatePlaybackRestrictionPolicy", CreatePlaybackRestrictionPolicy$) {
1792
1743
  }
1793
1744
 
1794
- class CreateRecordingConfigurationCommand extends Command
1795
- .classBuilder()
1796
- .ep(commonParams)
1797
- .m(function (Command, cs, config, o) {
1798
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1799
- })
1800
- .s("AmazonInteractiveVideoService", "CreateRecordingConfiguration", {})
1801
- .n("IvsClient", "CreateRecordingConfigurationCommand")
1802
- .sc(CreateRecordingConfiguration$)
1803
- .build() {
1745
+ class CreateRecordingConfigurationCommand extends command(_ep0, _mw0, "CreateRecordingConfiguration", CreateRecordingConfiguration$) {
1804
1746
  }
1805
1747
 
1806
- class CreateStreamKeyCommand extends Command
1807
- .classBuilder()
1808
- .ep(commonParams)
1809
- .m(function (Command, cs, config, o) {
1810
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1811
- })
1812
- .s("AmazonInteractiveVideoService", "CreateStreamKey", {})
1813
- .n("IvsClient", "CreateStreamKeyCommand")
1814
- .sc(CreateStreamKey$)
1815
- .build() {
1748
+ class CreateStreamKeyCommand extends command(_ep0, _mw0, "CreateStreamKey", CreateStreamKey$) {
1816
1749
  }
1817
1750
 
1818
- class DeleteAdConfigurationCommand extends Command
1819
- .classBuilder()
1820
- .ep(commonParams)
1821
- .m(function (Command, cs, config, o) {
1822
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1823
- })
1824
- .s("AmazonInteractiveVideoService", "DeleteAdConfiguration", {})
1825
- .n("IvsClient", "DeleteAdConfigurationCommand")
1826
- .sc(DeleteAdConfiguration$)
1827
- .build() {
1751
+ class DeleteAdConfigurationCommand extends command(_ep0, _mw0, "DeleteAdConfiguration", DeleteAdConfiguration$) {
1828
1752
  }
1829
1753
 
1830
- class DeleteChannelCommand extends Command
1831
- .classBuilder()
1832
- .ep(commonParams)
1833
- .m(function (Command, cs, config, o) {
1834
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1835
- })
1836
- .s("AmazonInteractiveVideoService", "DeleteChannel", {})
1837
- .n("IvsClient", "DeleteChannelCommand")
1838
- .sc(DeleteChannel$)
1839
- .build() {
1754
+ class DeleteChannelCommand extends command(_ep0, _mw0, "DeleteChannel", DeleteChannel$) {
1840
1755
  }
1841
1756
 
1842
- class DeletePlaybackKeyPairCommand extends Command
1843
- .classBuilder()
1844
- .ep(commonParams)
1845
- .m(function (Command, cs, config, o) {
1846
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1847
- })
1848
- .s("AmazonInteractiveVideoService", "DeletePlaybackKeyPair", {})
1849
- .n("IvsClient", "DeletePlaybackKeyPairCommand")
1850
- .sc(DeletePlaybackKeyPair$)
1851
- .build() {
1757
+ class DeletePlaybackKeyPairCommand extends command(_ep0, _mw0, "DeletePlaybackKeyPair", DeletePlaybackKeyPair$) {
1852
1758
  }
1853
1759
 
1854
- class DeletePlaybackRestrictionPolicyCommand extends Command
1855
- .classBuilder()
1856
- .ep(commonParams)
1857
- .m(function (Command, cs, config, o) {
1858
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1859
- })
1860
- .s("AmazonInteractiveVideoService", "DeletePlaybackRestrictionPolicy", {})
1861
- .n("IvsClient", "DeletePlaybackRestrictionPolicyCommand")
1862
- .sc(DeletePlaybackRestrictionPolicy$)
1863
- .build() {
1760
+ class DeletePlaybackRestrictionPolicyCommand extends command(_ep0, _mw0, "DeletePlaybackRestrictionPolicy", DeletePlaybackRestrictionPolicy$) {
1864
1761
  }
1865
1762
 
1866
- class DeleteRecordingConfigurationCommand extends Command
1867
- .classBuilder()
1868
- .ep(commonParams)
1869
- .m(function (Command, cs, config, o) {
1870
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1871
- })
1872
- .s("AmazonInteractiveVideoService", "DeleteRecordingConfiguration", {})
1873
- .n("IvsClient", "DeleteRecordingConfigurationCommand")
1874
- .sc(DeleteRecordingConfiguration$)
1875
- .build() {
1763
+ class DeleteRecordingConfigurationCommand extends command(_ep0, _mw0, "DeleteRecordingConfiguration", DeleteRecordingConfiguration$) {
1876
1764
  }
1877
1765
 
1878
- class DeleteStreamKeyCommand extends Command
1879
- .classBuilder()
1880
- .ep(commonParams)
1881
- .m(function (Command, cs, config, o) {
1882
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1883
- })
1884
- .s("AmazonInteractiveVideoService", "DeleteStreamKey", {})
1885
- .n("IvsClient", "DeleteStreamKeyCommand")
1886
- .sc(DeleteStreamKey$)
1887
- .build() {
1766
+ class DeleteStreamKeyCommand extends command(_ep0, _mw0, "DeleteStreamKey", DeleteStreamKey$) {
1888
1767
  }
1889
1768
 
1890
- class GetAdConfigurationCommand extends Command
1891
- .classBuilder()
1892
- .ep(commonParams)
1893
- .m(function (Command, cs, config, o) {
1894
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1895
- })
1896
- .s("AmazonInteractiveVideoService", "GetAdConfiguration", {})
1897
- .n("IvsClient", "GetAdConfigurationCommand")
1898
- .sc(GetAdConfiguration$)
1899
- .build() {
1769
+ class GetAdConfigurationCommand extends command(_ep0, _mw0, "GetAdConfiguration", GetAdConfiguration$) {
1900
1770
  }
1901
1771
 
1902
- class GetChannelCommand extends Command
1903
- .classBuilder()
1904
- .ep(commonParams)
1905
- .m(function (Command, cs, config, o) {
1906
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1907
- })
1908
- .s("AmazonInteractiveVideoService", "GetChannel", {})
1909
- .n("IvsClient", "GetChannelCommand")
1910
- .sc(GetChannel$)
1911
- .build() {
1772
+ class GetChannelCommand extends command(_ep0, _mw0, "GetChannel", GetChannel$) {
1912
1773
  }
1913
1774
 
1914
- class GetPlaybackKeyPairCommand extends Command
1915
- .classBuilder()
1916
- .ep(commonParams)
1917
- .m(function (Command, cs, config, o) {
1918
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1919
- })
1920
- .s("AmazonInteractiveVideoService", "GetPlaybackKeyPair", {})
1921
- .n("IvsClient", "GetPlaybackKeyPairCommand")
1922
- .sc(GetPlaybackKeyPair$)
1923
- .build() {
1775
+ class GetPlaybackKeyPairCommand extends command(_ep0, _mw0, "GetPlaybackKeyPair", GetPlaybackKeyPair$) {
1924
1776
  }
1925
1777
 
1926
- class GetPlaybackRestrictionPolicyCommand extends Command
1927
- .classBuilder()
1928
- .ep(commonParams)
1929
- .m(function (Command, cs, config, o) {
1930
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1931
- })
1932
- .s("AmazonInteractiveVideoService", "GetPlaybackRestrictionPolicy", {})
1933
- .n("IvsClient", "GetPlaybackRestrictionPolicyCommand")
1934
- .sc(GetPlaybackRestrictionPolicy$)
1935
- .build() {
1778
+ class GetPlaybackRestrictionPolicyCommand extends command(_ep0, _mw0, "GetPlaybackRestrictionPolicy", GetPlaybackRestrictionPolicy$) {
1936
1779
  }
1937
1780
 
1938
- class GetRecordingConfigurationCommand extends Command
1939
- .classBuilder()
1940
- .ep(commonParams)
1941
- .m(function (Command, cs, config, o) {
1942
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1943
- })
1944
- .s("AmazonInteractiveVideoService", "GetRecordingConfiguration", {})
1945
- .n("IvsClient", "GetRecordingConfigurationCommand")
1946
- .sc(GetRecordingConfiguration$)
1947
- .build() {
1781
+ class GetRecordingConfigurationCommand extends command(_ep0, _mw0, "GetRecordingConfiguration", GetRecordingConfiguration$) {
1948
1782
  }
1949
1783
 
1950
- class GetStreamCommand extends Command
1951
- .classBuilder()
1952
- .ep(commonParams)
1953
- .m(function (Command, cs, config, o) {
1954
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1955
- })
1956
- .s("AmazonInteractiveVideoService", "GetStream", {})
1957
- .n("IvsClient", "GetStreamCommand")
1958
- .sc(GetStream$)
1959
- .build() {
1784
+ class GetStreamCommand extends command(_ep0, _mw0, "GetStream", GetStream$) {
1960
1785
  }
1961
1786
 
1962
- class GetStreamKeyCommand extends Command
1963
- .classBuilder()
1964
- .ep(commonParams)
1965
- .m(function (Command, cs, config, o) {
1966
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1967
- })
1968
- .s("AmazonInteractiveVideoService", "GetStreamKey", {})
1969
- .n("IvsClient", "GetStreamKeyCommand")
1970
- .sc(GetStreamKey$)
1971
- .build() {
1787
+ class GetStreamKeyCommand extends command(_ep0, _mw0, "GetStreamKey", GetStreamKey$) {
1972
1788
  }
1973
1789
 
1974
- class GetStreamSessionCommand extends Command
1975
- .classBuilder()
1976
- .ep(commonParams)
1977
- .m(function (Command, cs, config, o) {
1978
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1979
- })
1980
- .s("AmazonInteractiveVideoService", "GetStreamSession", {})
1981
- .n("IvsClient", "GetStreamSessionCommand")
1982
- .sc(GetStreamSession$)
1983
- .build() {
1790
+ class GetStreamSessionCommand extends command(_ep0, _mw0, "GetStreamSession", GetStreamSession$) {
1984
1791
  }
1985
1792
 
1986
- class ImportPlaybackKeyPairCommand extends Command
1987
- .classBuilder()
1988
- .ep(commonParams)
1989
- .m(function (Command, cs, config, o) {
1990
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1991
- })
1992
- .s("AmazonInteractiveVideoService", "ImportPlaybackKeyPair", {})
1993
- .n("IvsClient", "ImportPlaybackKeyPairCommand")
1994
- .sc(ImportPlaybackKeyPair$)
1995
- .build() {
1793
+ class ImportPlaybackKeyPairCommand extends command(_ep0, _mw0, "ImportPlaybackKeyPair", ImportPlaybackKeyPair$) {
1996
1794
  }
1997
1795
 
1998
- class InsertAdBreakCommand extends Command
1999
- .classBuilder()
2000
- .ep(commonParams)
2001
- .m(function (Command, cs, config, o) {
2002
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2003
- })
2004
- .s("AmazonInteractiveVideoService", "InsertAdBreak", {})
2005
- .n("IvsClient", "InsertAdBreakCommand")
2006
- .sc(InsertAdBreak$)
2007
- .build() {
1796
+ class InsertAdBreakCommand extends command(_ep0, _mw0, "InsertAdBreak", InsertAdBreak$) {
2008
1797
  }
2009
1798
 
2010
- class ListAdConfigurationsCommand extends Command
2011
- .classBuilder()
2012
- .ep(commonParams)
2013
- .m(function (Command, cs, config, o) {
2014
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2015
- })
2016
- .s("AmazonInteractiveVideoService", "ListAdConfigurations", {})
2017
- .n("IvsClient", "ListAdConfigurationsCommand")
2018
- .sc(ListAdConfigurations$)
2019
- .build() {
1799
+ class ListAdConfigurationsCommand extends command(_ep0, _mw0, "ListAdConfigurations", ListAdConfigurations$) {
2020
1800
  }
2021
1801
 
2022
- class ListChannelsCommand extends Command
2023
- .classBuilder()
2024
- .ep(commonParams)
2025
- .m(function (Command, cs, config, o) {
2026
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2027
- })
2028
- .s("AmazonInteractiveVideoService", "ListChannels", {})
2029
- .n("IvsClient", "ListChannelsCommand")
2030
- .sc(ListChannels$)
2031
- .build() {
1802
+ class ListChannelsCommand extends command(_ep0, _mw0, "ListChannels", ListChannels$) {
2032
1803
  }
2033
1804
 
2034
- class ListPlaybackKeyPairsCommand extends Command
2035
- .classBuilder()
2036
- .ep(commonParams)
2037
- .m(function (Command, cs, config, o) {
2038
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2039
- })
2040
- .s("AmazonInteractiveVideoService", "ListPlaybackKeyPairs", {})
2041
- .n("IvsClient", "ListPlaybackKeyPairsCommand")
2042
- .sc(ListPlaybackKeyPairs$)
2043
- .build() {
1805
+ class ListPlaybackKeyPairsCommand extends command(_ep0, _mw0, "ListPlaybackKeyPairs", ListPlaybackKeyPairs$) {
2044
1806
  }
2045
1807
 
2046
- class ListPlaybackRestrictionPoliciesCommand extends Command
2047
- .classBuilder()
2048
- .ep(commonParams)
2049
- .m(function (Command, cs, config, o) {
2050
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2051
- })
2052
- .s("AmazonInteractiveVideoService", "ListPlaybackRestrictionPolicies", {})
2053
- .n("IvsClient", "ListPlaybackRestrictionPoliciesCommand")
2054
- .sc(ListPlaybackRestrictionPolicies$)
2055
- .build() {
1808
+ class ListPlaybackRestrictionPoliciesCommand extends command(_ep0, _mw0, "ListPlaybackRestrictionPolicies", ListPlaybackRestrictionPolicies$) {
2056
1809
  }
2057
1810
 
2058
- class ListRecordingConfigurationsCommand extends Command
2059
- .classBuilder()
2060
- .ep(commonParams)
2061
- .m(function (Command, cs, config, o) {
2062
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2063
- })
2064
- .s("AmazonInteractiveVideoService", "ListRecordingConfigurations", {})
2065
- .n("IvsClient", "ListRecordingConfigurationsCommand")
2066
- .sc(ListRecordingConfigurations$)
2067
- .build() {
1811
+ class ListRecordingConfigurationsCommand extends command(_ep0, _mw0, "ListRecordingConfigurations", ListRecordingConfigurations$) {
2068
1812
  }
2069
1813
 
2070
- class ListStreamKeysCommand extends Command
2071
- .classBuilder()
2072
- .ep(commonParams)
2073
- .m(function (Command, cs, config, o) {
2074
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2075
- })
2076
- .s("AmazonInteractiveVideoService", "ListStreamKeys", {})
2077
- .n("IvsClient", "ListStreamKeysCommand")
2078
- .sc(ListStreamKeys$)
2079
- .build() {
1814
+ class ListStreamKeysCommand extends command(_ep0, _mw0, "ListStreamKeys", ListStreamKeys$) {
2080
1815
  }
2081
1816
 
2082
- class ListStreamsCommand extends Command
2083
- .classBuilder()
2084
- .ep(commonParams)
2085
- .m(function (Command, cs, config, o) {
2086
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2087
- })
2088
- .s("AmazonInteractiveVideoService", "ListStreams", {})
2089
- .n("IvsClient", "ListStreamsCommand")
2090
- .sc(ListStreams$)
2091
- .build() {
1817
+ class ListStreamsCommand extends command(_ep0, _mw0, "ListStreams", ListStreams$) {
2092
1818
  }
2093
1819
 
2094
- class ListStreamSessionsCommand extends Command
2095
- .classBuilder()
2096
- .ep(commonParams)
2097
- .m(function (Command, cs, config, o) {
2098
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2099
- })
2100
- .s("AmazonInteractiveVideoService", "ListStreamSessions", {})
2101
- .n("IvsClient", "ListStreamSessionsCommand")
2102
- .sc(ListStreamSessions$)
2103
- .build() {
1820
+ class ListStreamSessionsCommand extends command(_ep0, _mw0, "ListStreamSessions", ListStreamSessions$) {
2104
1821
  }
2105
1822
 
2106
- class ListTagsForResourceCommand extends Command
2107
- .classBuilder()
2108
- .ep(commonParams)
2109
- .m(function (Command, cs, config, o) {
2110
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2111
- })
2112
- .s("AmazonInteractiveVideoService", "ListTagsForResource", {})
2113
- .n("IvsClient", "ListTagsForResourceCommand")
2114
- .sc(ListTagsForResource$)
2115
- .build() {
1823
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2116
1824
  }
2117
1825
 
2118
- class PutMetadataCommand extends Command
2119
- .classBuilder()
2120
- .ep(commonParams)
2121
- .m(function (Command, cs, config, o) {
2122
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2123
- })
2124
- .s("AmazonInteractiveVideoService", "PutMetadata", {})
2125
- .n("IvsClient", "PutMetadataCommand")
2126
- .sc(PutMetadata$)
2127
- .build() {
1826
+ class PutMetadataCommand extends command(_ep0, _mw0, "PutMetadata", PutMetadata$) {
2128
1827
  }
2129
1828
 
2130
- class StartViewerSessionRevocationCommand extends Command
2131
- .classBuilder()
2132
- .ep(commonParams)
2133
- .m(function (Command, cs, config, o) {
2134
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2135
- })
2136
- .s("AmazonInteractiveVideoService", "StartViewerSessionRevocation", {})
2137
- .n("IvsClient", "StartViewerSessionRevocationCommand")
2138
- .sc(StartViewerSessionRevocation$)
2139
- .build() {
1829
+ class StartViewerSessionRevocationCommand extends command(_ep0, _mw0, "StartViewerSessionRevocation", StartViewerSessionRevocation$) {
2140
1830
  }
2141
1831
 
2142
- class StopStreamCommand extends Command
2143
- .classBuilder()
2144
- .ep(commonParams)
2145
- .m(function (Command, cs, config, o) {
2146
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2147
- })
2148
- .s("AmazonInteractiveVideoService", "StopStream", {})
2149
- .n("IvsClient", "StopStreamCommand")
2150
- .sc(StopStream$)
2151
- .build() {
1832
+ class StopStreamCommand extends command(_ep0, _mw0, "StopStream", StopStream$) {
2152
1833
  }
2153
1834
 
2154
- class TagResourceCommand extends Command
2155
- .classBuilder()
2156
- .ep(commonParams)
2157
- .m(function (Command, cs, config, o) {
2158
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2159
- })
2160
- .s("AmazonInteractiveVideoService", "TagResource", {})
2161
- .n("IvsClient", "TagResourceCommand")
2162
- .sc(TagResource$)
2163
- .build() {
1835
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2164
1836
  }
2165
1837
 
2166
- class UntagResourceCommand extends Command
2167
- .classBuilder()
2168
- .ep(commonParams)
2169
- .m(function (Command, cs, config, o) {
2170
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2171
- })
2172
- .s("AmazonInteractiveVideoService", "UntagResource", {})
2173
- .n("IvsClient", "UntagResourceCommand")
2174
- .sc(UntagResource$)
2175
- .build() {
1838
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2176
1839
  }
2177
1840
 
2178
- class UpdateAdConfigurationCommand extends Command
2179
- .classBuilder()
2180
- .ep(commonParams)
2181
- .m(function (Command, cs, config, o) {
2182
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2183
- })
2184
- .s("AmazonInteractiveVideoService", "UpdateAdConfiguration", {})
2185
- .n("IvsClient", "UpdateAdConfigurationCommand")
2186
- .sc(UpdateAdConfiguration$)
2187
- .build() {
1841
+ class UpdateAdConfigurationCommand extends command(_ep0, _mw0, "UpdateAdConfiguration", UpdateAdConfiguration$) {
2188
1842
  }
2189
1843
 
2190
- class UpdateChannelCommand extends Command
2191
- .classBuilder()
2192
- .ep(commonParams)
2193
- .m(function (Command, cs, config, o) {
2194
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2195
- })
2196
- .s("AmazonInteractiveVideoService", "UpdateChannel", {})
2197
- .n("IvsClient", "UpdateChannelCommand")
2198
- .sc(UpdateChannel$)
2199
- .build() {
1844
+ class UpdateChannelCommand extends command(_ep0, _mw0, "UpdateChannel", UpdateChannel$) {
2200
1845
  }
2201
1846
 
2202
- class UpdatePlaybackRestrictionPolicyCommand extends Command
2203
- .classBuilder()
2204
- .ep(commonParams)
2205
- .m(function (Command, cs, config, o) {
2206
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2207
- })
2208
- .s("AmazonInteractiveVideoService", "UpdatePlaybackRestrictionPolicy", {})
2209
- .n("IvsClient", "UpdatePlaybackRestrictionPolicyCommand")
2210
- .sc(UpdatePlaybackRestrictionPolicy$)
2211
- .build() {
1847
+ class UpdatePlaybackRestrictionPolicyCommand extends command(_ep0, _mw0, "UpdatePlaybackRestrictionPolicy", UpdatePlaybackRestrictionPolicy$) {
2212
1848
  }
2213
1849
 
2214
1850
  const paginateListAdConfigurations = createPaginator(IvsClient, ListAdConfigurationsCommand, "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, "AmazonInteractiveVideoService", "IvsClient", 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 { BatchGetChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoService", "BatchGetChannel", {})
13
- .n("IvsClient", "BatchGetChannelCommand")
14
- .sc(BatchGetChannel$)
15
- .build() {
3
+ export class BatchGetChannelCommand extends command(_ep0, _mw0, "BatchGetChannel", BatchGetChannel$) {
16
4
  }
@@ -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 { BatchGetStreamKey$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetStreamKeyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoService", "BatchGetStreamKey", {})
13
- .n("IvsClient", "BatchGetStreamKeyCommand")
14
- .sc(BatchGetStreamKey$)
15
- .build() {
3
+ export class BatchGetStreamKeyCommand extends command(_ep0, _mw0, "BatchGetStreamKey", BatchGetStreamKey$) {
16
4
  }
@@ -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 { BatchStartViewerSessionRevocation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchStartViewerSessionRevocationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoService", "BatchStartViewerSessionRevocation", {})
13
- .n("IvsClient", "BatchStartViewerSessionRevocationCommand")
14
- .sc(BatchStartViewerSessionRevocation$)
15
- .build() {
3
+ export class BatchStartViewerSessionRevocationCommand extends command(_ep0, _mw0, "BatchStartViewerSessionRevocation", BatchStartViewerSessionRevocation$) {
16
4
  }
@@ -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 { CreateAdConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAdConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoService", "CreateAdConfiguration", {})
13
- .n("IvsClient", "CreateAdConfigurationCommand")
14
- .sc(CreateAdConfiguration$)
15
- .build() {
3
+ export class CreateAdConfigurationCommand extends command(_ep0, _mw0, "CreateAdConfiguration", CreateAdConfiguration$) {
16
4
  }
@@ -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 { CreateChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoService", "CreateChannel", {})
13
- .n("IvsClient", "CreateChannelCommand")
14
- .sc(CreateChannel$)
15
- .build() {
3
+ export class CreateChannelCommand extends command(_ep0, _mw0, "CreateChannel", CreateChannel$) {
16
4
  }