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