@aws-sdk/client-kinesis 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 (137) hide show
  1. package/dist-cjs/index.js +73 -568
  2. package/dist-es/commandBuilder.js +32 -0
  3. package/dist-es/commands/AddTagsToStreamCommand.js +2 -19
  4. package/dist-es/commands/CreateStreamCommand.js +2 -14
  5. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +2 -19
  6. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -19
  7. package/dist-es/commands/DeleteStreamCommand.js +2 -19
  8. package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -20
  9. package/dist-es/commands/DescribeAccountSettingsCommand.js +2 -14
  10. package/dist-es/commands/DescribeLimitsCommand.js +2 -14
  11. package/dist-es/commands/DescribeStreamCommand.js +2 -19
  12. package/dist-es/commands/DescribeStreamConsumerCommand.js +2 -20
  13. package/dist-es/commands/DescribeStreamSummaryCommand.js +2 -19
  14. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +2 -19
  15. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +2 -19
  16. package/dist-es/commands/GetRecordsCommand.js +2 -19
  17. package/dist-es/commands/GetResourcePolicyCommand.js +2 -19
  18. package/dist-es/commands/GetShardIteratorCommand.js +2 -19
  19. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +2 -19
  20. package/dist-es/commands/ListShardsCommand.js +2 -19
  21. package/dist-es/commands/ListStreamConsumersCommand.js +2 -19
  22. package/dist-es/commands/ListStreamsCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -19
  24. package/dist-es/commands/ListTagsForStreamCommand.js +2 -19
  25. package/dist-es/commands/MergeShardsCommand.js +2 -19
  26. package/dist-es/commands/PutRecordCommand.js +2 -19
  27. package/dist-es/commands/PutRecordsCommand.js +2 -19
  28. package/dist-es/commands/PutResourcePolicyCommand.js +2 -19
  29. package/dist-es/commands/RegisterStreamConsumerCommand.js +2 -19
  30. package/dist-es/commands/RemoveTagsFromStreamCommand.js +2 -19
  31. package/dist-es/commands/SplitShardCommand.js +2 -19
  32. package/dist-es/commands/StartStreamEncryptionCommand.js +2 -19
  33. package/dist-es/commands/StopStreamEncryptionCommand.js +2 -19
  34. package/dist-es/commands/SubscribeToShardCommand.js +2 -23
  35. package/dist-es/commands/TagResourceCommand.js +2 -19
  36. package/dist-es/commands/UntagResourceCommand.js +2 -19
  37. package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -14
  38. package/dist-es/commands/UpdateMaxRecordSizeCommand.js +2 -19
  39. package/dist-es/commands/UpdateShardCountCommand.js +2 -19
  40. package/dist-es/commands/UpdateStreamModeCommand.js +2 -19
  41. package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +2 -19
  42. package/dist-es/index.js +1 -0
  43. package/dist-es/runtimeConfig.browser.js +0 -2
  44. package/dist-es/runtimeConfig.js +1 -2
  45. package/dist-es/runtimeConfig.native.js +0 -2
  46. package/dist-es/runtimeConfig.shared.js +2 -0
  47. package/dist-types/commandBuilder.d.ts +38 -0
  48. package/dist-types/commands/AddTagsToStreamCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateStreamCommand.d.ts +3 -8
  50. package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteStreamCommand.d.ts +3 -8
  53. package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeLimitsCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribeStreamCommand.d.ts +3 -8
  57. package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +3 -8
  58. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +3 -8
  59. package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +3 -8
  60. package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +3 -8
  61. package/dist-types/commands/GetRecordsCommand.d.ts +3 -8
  62. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  63. package/dist-types/commands/GetShardIteratorCommand.d.ts +3 -8
  64. package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +3 -8
  65. package/dist-types/commands/ListShardsCommand.d.ts +3 -8
  66. package/dist-types/commands/ListStreamConsumersCommand.d.ts +3 -8
  67. package/dist-types/commands/ListStreamsCommand.d.ts +3 -8
  68. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  69. package/dist-types/commands/ListTagsForStreamCommand.d.ts +3 -8
  70. package/dist-types/commands/MergeShardsCommand.d.ts +3 -8
  71. package/dist-types/commands/PutRecordCommand.d.ts +3 -8
  72. package/dist-types/commands/PutRecordsCommand.d.ts +3 -8
  73. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  74. package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +3 -8
  75. package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +3 -8
  76. package/dist-types/commands/SplitShardCommand.d.ts +3 -8
  77. package/dist-types/commands/StartStreamEncryptionCommand.d.ts +3 -8
  78. package/dist-types/commands/StopStreamEncryptionCommand.d.ts +3 -8
  79. package/dist-types/commands/SubscribeToShardCommand.d.ts +3 -8
  80. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  81. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  82. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +3 -8
  83. package/dist-types/commands/UpdateMaxRecordSizeCommand.d.ts +3 -8
  84. package/dist-types/commands/UpdateShardCountCommand.d.ts +3 -8
  85. package/dist-types/commands/UpdateStreamModeCommand.d.ts +3 -8
  86. package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +3 -8
  87. package/dist-types/index.d.ts +1 -0
  88. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  89. package/dist-types/runtimeConfig.d.ts +1 -1
  90. package/dist-types/runtimeConfig.native.d.ts +1 -1
  91. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  92. package/dist-types/ts3.4/commandBuilder.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/AddTagsToStreamCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DecreaseStreamRetentionPeriodCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DeregisterStreamConsumerCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/DescribeStreamConsumerCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/DescribeStreamSummaryCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/DisableEnhancedMonitoringCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/EnableEnhancedMonitoringCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/IncreaseStreamRetentionPeriodCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/ListShardsCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/ListStreamConsumersCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListTagsForStreamCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/MergeShardsCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/PutRecordsCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/RegisterStreamConsumerCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/RemoveTagsFromStreamCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/SplitShardCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/StartStreamEncryptionCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/StopStreamEncryptionCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/SubscribeToShardCommand.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/UpdateAccountSettingsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/UpdateMaxRecordSizeCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/UpdateShardCountCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/UpdateStreamWarmThroughputCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/index.d.ts +1 -0
  133. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  134. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  135. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  136. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  137. package/package.json +9 -11
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, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, 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");
@@ -11,9 +12,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
11
12
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
12
13
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
13
14
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
14
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
15
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
15
16
  const { streamCollector, NodeHttp2Handler } = require("@smithy/node-http-handler");
16
17
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
18
+ const { Sha256 } = require("@smithy/core/checksum");
17
19
 
18
20
  const defaultKinesisHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
21
  return {
@@ -68,7 +70,7 @@ const commonParams = {
68
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
71
  };
70
72
 
71
- var version = "3.1075.0";
73
+ var version = "3.1077.0";
72
74
  var packageInfo = {
73
75
  version: version};
74
76
 
@@ -1442,6 +1444,7 @@ const getRuntimeConfig$1 = (config) => {
1442
1444
  serviceTarget: "Kinesis_20131202",
1443
1445
  },
1444
1446
  serviceId: config?.serviceId ?? "Kinesis",
1447
+ sha256: config?.sha256 ?? Sha256,
1445
1448
  urlParser: config?.urlParser ?? parseUrl,
1446
1449
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1447
1450
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1479,7 +1482,6 @@ const getRuntimeConfig = (config) => {
1479
1482
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1480
1483
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1481
1484
  }, config),
1482
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1483
1485
  streamCollector: config?.streamCollector ?? streamCollector,
1484
1486
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1485
1487
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1568,648 +1570,151 @@ class KinesisClient extends Client {
1568
1570
  }
1569
1571
  }
1570
1572
 
1571
- class AddTagsToStreamCommand extends Command
1572
- .classBuilder()
1573
- .ep({
1574
- ...commonParams,
1573
+ const command = makeBuilder(commonParams, "Kinesis_20131202", "KinesisClient", getEndpointPlugin);
1574
+ const _ep0 = {
1575
1575
  OperationType: { type: "staticContextParams", value: `control` },
1576
1576
  StreamId: { type: "contextParams", name: "StreamId" },
1577
1577
  StreamARN: { type: "contextParams", name: "StreamARN" },
1578
- })
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("Kinesis_20131202", "AddTagsToStream", {})
1583
- .n("KinesisClient", "AddTagsToStreamCommand")
1584
- .sc(AddTagsToStream$)
1585
- .build() {
1578
+ };
1579
+ const _ep1 = {};
1580
+ const _ep2 = {
1581
+ OperationType: { type: "staticContextParams", value: `control` },
1582
+ ResourceARN: { type: "contextParams", name: "ResourceARN" },
1583
+ StreamId: { type: "contextParams", name: "StreamId" },
1584
+ };
1585
+ const _ep3 = {
1586
+ OperationType: { type: "staticContextParams", value: `control` },
1587
+ StreamId: { type: "contextParams", name: "StreamId" },
1588
+ ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
1589
+ StreamARN: { type: "contextParams", name: "StreamARN" },
1590
+ };
1591
+ const _ep4 = {
1592
+ OperationType: { type: "staticContextParams", value: `data` },
1593
+ StreamId: { type: "contextParams", name: "StreamId" },
1594
+ StreamARN: { type: "contextParams", name: "StreamARN" },
1595
+ };
1596
+ const _ep5 = {
1597
+ OperationType: { type: "staticContextParams", value: `data` },
1598
+ StreamId: { type: "contextParams", name: "StreamId" },
1599
+ ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
1600
+ };
1601
+ const _mw0 = (Command, cs, config, o) => [];
1602
+
1603
+ class AddTagsToStreamCommand extends command(_ep0, _mw0, "AddTagsToStream", AddTagsToStream$) {
1586
1604
  }
1587
1605
 
1588
- class CreateStreamCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("Kinesis_20131202", "CreateStream", {})
1595
- .n("KinesisClient", "CreateStreamCommand")
1596
- .sc(CreateStream$)
1597
- .build() {
1606
+ class CreateStreamCommand extends command(_ep1, _mw0, "CreateStream", CreateStream$) {
1598
1607
  }
1599
1608
 
1600
- class DecreaseStreamRetentionPeriodCommand extends Command
1601
- .classBuilder()
1602
- .ep({
1603
- ...commonParams,
1604
- OperationType: { type: "staticContextParams", value: `control` },
1605
- StreamId: { type: "contextParams", name: "StreamId" },
1606
- StreamARN: { type: "contextParams", name: "StreamARN" },
1607
- })
1608
- .m(function (Command, cs, config, o) {
1609
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
- })
1611
- .s("Kinesis_20131202", "DecreaseStreamRetentionPeriod", {})
1612
- .n("KinesisClient", "DecreaseStreamRetentionPeriodCommand")
1613
- .sc(DecreaseStreamRetentionPeriod$)
1614
- .build() {
1609
+ class DecreaseStreamRetentionPeriodCommand extends command(_ep0, _mw0, "DecreaseStreamRetentionPeriod", DecreaseStreamRetentionPeriod$) {
1615
1610
  }
1616
1611
 
1617
- class DeleteResourcePolicyCommand extends Command
1618
- .classBuilder()
1619
- .ep({
1620
- ...commonParams,
1621
- OperationType: { type: "staticContextParams", value: `control` },
1622
- ResourceARN: { type: "contextParams", name: "ResourceARN" },
1623
- StreamId: { type: "contextParams", name: "StreamId" },
1624
- })
1625
- .m(function (Command, cs, config, o) {
1626
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1627
- })
1628
- .s("Kinesis_20131202", "DeleteResourcePolicy", {})
1629
- .n("KinesisClient", "DeleteResourcePolicyCommand")
1630
- .sc(DeleteResourcePolicy$)
1631
- .build() {
1612
+ class DeleteResourcePolicyCommand extends command(_ep2, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1632
1613
  }
1633
1614
 
1634
- class DeleteStreamCommand extends Command
1635
- .classBuilder()
1636
- .ep({
1637
- ...commonParams,
1638
- OperationType: { type: "staticContextParams", value: `control` },
1639
- StreamId: { type: "contextParams", name: "StreamId" },
1640
- StreamARN: { type: "contextParams", name: "StreamARN" },
1641
- })
1642
- .m(function (Command, cs, config, o) {
1643
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
- })
1645
- .s("Kinesis_20131202", "DeleteStream", {})
1646
- .n("KinesisClient", "DeleteStreamCommand")
1647
- .sc(DeleteStream$)
1648
- .build() {
1615
+ class DeleteStreamCommand extends command(_ep0, _mw0, "DeleteStream", DeleteStream$) {
1649
1616
  }
1650
1617
 
1651
- class DeregisterStreamConsumerCommand extends Command
1652
- .classBuilder()
1653
- .ep({
1654
- ...commonParams,
1655
- OperationType: { type: "staticContextParams", value: `control` },
1656
- StreamId: { type: "contextParams", name: "StreamId" },
1657
- ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
1658
- StreamARN: { type: "contextParams", name: "StreamARN" },
1659
- })
1660
- .m(function (Command, cs, config, o) {
1661
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1662
- })
1663
- .s("Kinesis_20131202", "DeregisterStreamConsumer", {})
1664
- .n("KinesisClient", "DeregisterStreamConsumerCommand")
1665
- .sc(DeregisterStreamConsumer$)
1666
- .build() {
1618
+ class DeregisterStreamConsumerCommand extends command(_ep3, _mw0, "DeregisterStreamConsumer", DeregisterStreamConsumer$) {
1667
1619
  }
1668
1620
 
1669
- class DescribeAccountSettingsCommand extends Command
1670
- .classBuilder()
1671
- .ep(commonParams)
1672
- .m(function (Command, cs, config, o) {
1673
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1674
- })
1675
- .s("Kinesis_20131202", "DescribeAccountSettings", {})
1676
- .n("KinesisClient", "DescribeAccountSettingsCommand")
1677
- .sc(DescribeAccountSettings$)
1678
- .build() {
1621
+ class DescribeAccountSettingsCommand extends command(_ep1, _mw0, "DescribeAccountSettings", DescribeAccountSettings$) {
1679
1622
  }
1680
1623
 
1681
- class DescribeLimitsCommand extends Command
1682
- .classBuilder()
1683
- .ep(commonParams)
1684
- .m(function (Command, cs, config, o) {
1685
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1686
- })
1687
- .s("Kinesis_20131202", "DescribeLimits", {})
1688
- .n("KinesisClient", "DescribeLimitsCommand")
1689
- .sc(DescribeLimits$)
1690
- .build() {
1624
+ class DescribeLimitsCommand extends command(_ep1, _mw0, "DescribeLimits", DescribeLimits$) {
1691
1625
  }
1692
1626
 
1693
- class DescribeStreamCommand extends Command
1694
- .classBuilder()
1695
- .ep({
1696
- ...commonParams,
1697
- OperationType: { type: "staticContextParams", value: `control` },
1698
- StreamId: { type: "contextParams", name: "StreamId" },
1699
- StreamARN: { type: "contextParams", name: "StreamARN" },
1700
- })
1701
- .m(function (Command, cs, config, o) {
1702
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1703
- })
1704
- .s("Kinesis_20131202", "DescribeStream", {})
1705
- .n("KinesisClient", "DescribeStreamCommand")
1706
- .sc(DescribeStream$)
1707
- .build() {
1627
+ class DescribeStreamCommand extends command(_ep0, _mw0, "DescribeStream", DescribeStream$) {
1708
1628
  }
1709
1629
 
1710
- class DescribeStreamConsumerCommand extends Command
1711
- .classBuilder()
1712
- .ep({
1713
- ...commonParams,
1714
- OperationType: { type: "staticContextParams", value: `control` },
1715
- StreamId: { type: "contextParams", name: "StreamId" },
1716
- ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
1717
- StreamARN: { type: "contextParams", name: "StreamARN" },
1718
- })
1719
- .m(function (Command, cs, config, o) {
1720
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1721
- })
1722
- .s("Kinesis_20131202", "DescribeStreamConsumer", {})
1723
- .n("KinesisClient", "DescribeStreamConsumerCommand")
1724
- .sc(DescribeStreamConsumer$)
1725
- .build() {
1630
+ class DescribeStreamConsumerCommand extends command(_ep3, _mw0, "DescribeStreamConsumer", DescribeStreamConsumer$) {
1726
1631
  }
1727
1632
 
1728
- class DescribeStreamSummaryCommand extends Command
1729
- .classBuilder()
1730
- .ep({
1731
- ...commonParams,
1732
- OperationType: { type: "staticContextParams", value: `control` },
1733
- StreamId: { type: "contextParams", name: "StreamId" },
1734
- StreamARN: { type: "contextParams", name: "StreamARN" },
1735
- })
1736
- .m(function (Command, cs, config, o) {
1737
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1738
- })
1739
- .s("Kinesis_20131202", "DescribeStreamSummary", {})
1740
- .n("KinesisClient", "DescribeStreamSummaryCommand")
1741
- .sc(DescribeStreamSummary$)
1742
- .build() {
1633
+ class DescribeStreamSummaryCommand extends command(_ep0, _mw0, "DescribeStreamSummary", DescribeStreamSummary$) {
1743
1634
  }
1744
1635
 
1745
- class DisableEnhancedMonitoringCommand extends Command
1746
- .classBuilder()
1747
- .ep({
1748
- ...commonParams,
1749
- OperationType: { type: "staticContextParams", value: `control` },
1750
- StreamId: { type: "contextParams", name: "StreamId" },
1751
- StreamARN: { type: "contextParams", name: "StreamARN" },
1752
- })
1753
- .m(function (Command, cs, config, o) {
1754
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1755
- })
1756
- .s("Kinesis_20131202", "DisableEnhancedMonitoring", {})
1757
- .n("KinesisClient", "DisableEnhancedMonitoringCommand")
1758
- .sc(DisableEnhancedMonitoring$)
1759
- .build() {
1636
+ class DisableEnhancedMonitoringCommand extends command(_ep0, _mw0, "DisableEnhancedMonitoring", DisableEnhancedMonitoring$) {
1760
1637
  }
1761
1638
 
1762
- class EnableEnhancedMonitoringCommand extends Command
1763
- .classBuilder()
1764
- .ep({
1765
- ...commonParams,
1766
- OperationType: { type: "staticContextParams", value: `control` },
1767
- StreamId: { type: "contextParams", name: "StreamId" },
1768
- StreamARN: { type: "contextParams", name: "StreamARN" },
1769
- })
1770
- .m(function (Command, cs, config, o) {
1771
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1772
- })
1773
- .s("Kinesis_20131202", "EnableEnhancedMonitoring", {})
1774
- .n("KinesisClient", "EnableEnhancedMonitoringCommand")
1775
- .sc(EnableEnhancedMonitoring$)
1776
- .build() {
1639
+ class EnableEnhancedMonitoringCommand extends command(_ep0, _mw0, "EnableEnhancedMonitoring", EnableEnhancedMonitoring$) {
1777
1640
  }
1778
1641
 
1779
- class GetRecordsCommand extends Command
1780
- .classBuilder()
1781
- .ep({
1782
- ...commonParams,
1783
- OperationType: { type: "staticContextParams", value: `data` },
1784
- StreamId: { type: "contextParams", name: "StreamId" },
1785
- StreamARN: { type: "contextParams", name: "StreamARN" },
1786
- })
1787
- .m(function (Command, cs, config, o) {
1788
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1789
- })
1790
- .s("Kinesis_20131202", "GetRecords", {})
1791
- .n("KinesisClient", "GetRecordsCommand")
1792
- .sc(GetRecords$)
1793
- .build() {
1642
+ class GetRecordsCommand extends command(_ep4, _mw0, "GetRecords", GetRecords$) {
1794
1643
  }
1795
1644
 
1796
- class GetResourcePolicyCommand extends Command
1797
- .classBuilder()
1798
- .ep({
1799
- ...commonParams,
1800
- OperationType: { type: "staticContextParams", value: `control` },
1801
- ResourceARN: { type: "contextParams", name: "ResourceARN" },
1802
- StreamId: { type: "contextParams", name: "StreamId" },
1803
- })
1804
- .m(function (Command, cs, config, o) {
1805
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1806
- })
1807
- .s("Kinesis_20131202", "GetResourcePolicy", {})
1808
- .n("KinesisClient", "GetResourcePolicyCommand")
1809
- .sc(GetResourcePolicy$)
1810
- .build() {
1645
+ class GetResourcePolicyCommand extends command(_ep2, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1811
1646
  }
1812
1647
 
1813
- class GetShardIteratorCommand extends Command
1814
- .classBuilder()
1815
- .ep({
1816
- ...commonParams,
1817
- OperationType: { type: "staticContextParams", value: `data` },
1818
- StreamId: { type: "contextParams", name: "StreamId" },
1819
- StreamARN: { type: "contextParams", name: "StreamARN" },
1820
- })
1821
- .m(function (Command, cs, config, o) {
1822
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1823
- })
1824
- .s("Kinesis_20131202", "GetShardIterator", {})
1825
- .n("KinesisClient", "GetShardIteratorCommand")
1826
- .sc(GetShardIterator$)
1827
- .build() {
1648
+ class GetShardIteratorCommand extends command(_ep4, _mw0, "GetShardIterator", GetShardIterator$) {
1828
1649
  }
1829
1650
 
1830
- class IncreaseStreamRetentionPeriodCommand extends Command
1831
- .classBuilder()
1832
- .ep({
1833
- ...commonParams,
1834
- OperationType: { type: "staticContextParams", value: `control` },
1835
- StreamId: { type: "contextParams", name: "StreamId" },
1836
- StreamARN: { type: "contextParams", name: "StreamARN" },
1837
- })
1838
- .m(function (Command, cs, config, o) {
1839
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1840
- })
1841
- .s("Kinesis_20131202", "IncreaseStreamRetentionPeriod", {})
1842
- .n("KinesisClient", "IncreaseStreamRetentionPeriodCommand")
1843
- .sc(IncreaseStreamRetentionPeriod$)
1844
- .build() {
1651
+ class IncreaseStreamRetentionPeriodCommand extends command(_ep0, _mw0, "IncreaseStreamRetentionPeriod", IncreaseStreamRetentionPeriod$) {
1845
1652
  }
1846
1653
 
1847
- class ListShardsCommand extends Command
1848
- .classBuilder()
1849
- .ep({
1850
- ...commonParams,
1851
- OperationType: { type: "staticContextParams", value: `control` },
1852
- StreamId: { type: "contextParams", name: "StreamId" },
1853
- StreamARN: { type: "contextParams", name: "StreamARN" },
1854
- })
1855
- .m(function (Command, cs, config, o) {
1856
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1857
- })
1858
- .s("Kinesis_20131202", "ListShards", {})
1859
- .n("KinesisClient", "ListShardsCommand")
1860
- .sc(ListShards$)
1861
- .build() {
1654
+ class ListShardsCommand extends command(_ep0, _mw0, "ListShards", ListShards$) {
1862
1655
  }
1863
1656
 
1864
- class ListStreamConsumersCommand extends Command
1865
- .classBuilder()
1866
- .ep({
1867
- ...commonParams,
1868
- OperationType: { type: "staticContextParams", value: `control` },
1869
- StreamId: { type: "contextParams", name: "StreamId" },
1870
- StreamARN: { type: "contextParams", name: "StreamARN" },
1871
- })
1872
- .m(function (Command, cs, config, o) {
1873
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1874
- })
1875
- .s("Kinesis_20131202", "ListStreamConsumers", {})
1876
- .n("KinesisClient", "ListStreamConsumersCommand")
1877
- .sc(ListStreamConsumers$)
1878
- .build() {
1657
+ class ListStreamConsumersCommand extends command(_ep0, _mw0, "ListStreamConsumers", ListStreamConsumers$) {
1879
1658
  }
1880
1659
 
1881
- class ListStreamsCommand extends Command
1882
- .classBuilder()
1883
- .ep(commonParams)
1884
- .m(function (Command, cs, config, o) {
1885
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1886
- })
1887
- .s("Kinesis_20131202", "ListStreams", {})
1888
- .n("KinesisClient", "ListStreamsCommand")
1889
- .sc(ListStreams$)
1890
- .build() {
1660
+ class ListStreamsCommand extends command(_ep1, _mw0, "ListStreams", ListStreams$) {
1891
1661
  }
1892
1662
 
1893
- class ListTagsForResourceCommand extends Command
1894
- .classBuilder()
1895
- .ep({
1896
- ...commonParams,
1897
- OperationType: { type: "staticContextParams", value: `control` },
1898
- ResourceARN: { type: "contextParams", name: "ResourceARN" },
1899
- StreamId: { type: "contextParams", name: "StreamId" },
1900
- })
1901
- .m(function (Command, cs, config, o) {
1902
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1903
- })
1904
- .s("Kinesis_20131202", "ListTagsForResource", {})
1905
- .n("KinesisClient", "ListTagsForResourceCommand")
1906
- .sc(ListTagsForResource$)
1907
- .build() {
1663
+ class ListTagsForResourceCommand extends command(_ep2, _mw0, "ListTagsForResource", ListTagsForResource$) {
1908
1664
  }
1909
1665
 
1910
- class ListTagsForStreamCommand extends Command
1911
- .classBuilder()
1912
- .ep({
1913
- ...commonParams,
1914
- OperationType: { type: "staticContextParams", value: `control` },
1915
- StreamId: { type: "contextParams", name: "StreamId" },
1916
- StreamARN: { type: "contextParams", name: "StreamARN" },
1917
- })
1918
- .m(function (Command, cs, config, o) {
1919
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1920
- })
1921
- .s("Kinesis_20131202", "ListTagsForStream", {})
1922
- .n("KinesisClient", "ListTagsForStreamCommand")
1923
- .sc(ListTagsForStream$)
1924
- .build() {
1666
+ class ListTagsForStreamCommand extends command(_ep0, _mw0, "ListTagsForStream", ListTagsForStream$) {
1925
1667
  }
1926
1668
 
1927
- class MergeShardsCommand extends Command
1928
- .classBuilder()
1929
- .ep({
1930
- ...commonParams,
1931
- OperationType: { type: "staticContextParams", value: `control` },
1932
- StreamId: { type: "contextParams", name: "StreamId" },
1933
- StreamARN: { type: "contextParams", name: "StreamARN" },
1934
- })
1935
- .m(function (Command, cs, config, o) {
1936
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1937
- })
1938
- .s("Kinesis_20131202", "MergeShards", {})
1939
- .n("KinesisClient", "MergeShardsCommand")
1940
- .sc(MergeShards$)
1941
- .build() {
1669
+ class MergeShardsCommand extends command(_ep0, _mw0, "MergeShards", MergeShards$) {
1942
1670
  }
1943
1671
 
1944
- class PutRecordCommand extends Command
1945
- .classBuilder()
1946
- .ep({
1947
- ...commonParams,
1948
- OperationType: { type: "staticContextParams", value: `data` },
1949
- StreamId: { type: "contextParams", name: "StreamId" },
1950
- StreamARN: { type: "contextParams", name: "StreamARN" },
1951
- })
1952
- .m(function (Command, cs, config, o) {
1953
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1954
- })
1955
- .s("Kinesis_20131202", "PutRecord", {})
1956
- .n("KinesisClient", "PutRecordCommand")
1957
- .sc(PutRecord$)
1958
- .build() {
1672
+ class PutRecordCommand extends command(_ep4, _mw0, "PutRecord", PutRecord$) {
1959
1673
  }
1960
1674
 
1961
- class PutRecordsCommand extends Command
1962
- .classBuilder()
1963
- .ep({
1964
- ...commonParams,
1965
- OperationType: { type: "staticContextParams", value: `data` },
1966
- StreamId: { type: "contextParams", name: "StreamId" },
1967
- StreamARN: { type: "contextParams", name: "StreamARN" },
1968
- })
1969
- .m(function (Command, cs, config, o) {
1970
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1971
- })
1972
- .s("Kinesis_20131202", "PutRecords", {})
1973
- .n("KinesisClient", "PutRecordsCommand")
1974
- .sc(PutRecords$)
1975
- .build() {
1675
+ class PutRecordsCommand extends command(_ep4, _mw0, "PutRecords", PutRecords$) {
1976
1676
  }
1977
1677
 
1978
- class PutResourcePolicyCommand extends Command
1979
- .classBuilder()
1980
- .ep({
1981
- ...commonParams,
1982
- OperationType: { type: "staticContextParams", value: `control` },
1983
- ResourceARN: { type: "contextParams", name: "ResourceARN" },
1984
- StreamId: { type: "contextParams", name: "StreamId" },
1985
- })
1986
- .m(function (Command, cs, config, o) {
1987
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1988
- })
1989
- .s("Kinesis_20131202", "PutResourcePolicy", {})
1990
- .n("KinesisClient", "PutResourcePolicyCommand")
1991
- .sc(PutResourcePolicy$)
1992
- .build() {
1678
+ class PutResourcePolicyCommand extends command(_ep2, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1993
1679
  }
1994
1680
 
1995
- class RegisterStreamConsumerCommand extends Command
1996
- .classBuilder()
1997
- .ep({
1998
- ...commonParams,
1999
- OperationType: { type: "staticContextParams", value: `control` },
2000
- StreamId: { type: "contextParams", name: "StreamId" },
2001
- StreamARN: { type: "contextParams", name: "StreamARN" },
2002
- })
2003
- .m(function (Command, cs, config, o) {
2004
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2005
- })
2006
- .s("Kinesis_20131202", "RegisterStreamConsumer", {})
2007
- .n("KinesisClient", "RegisterStreamConsumerCommand")
2008
- .sc(RegisterStreamConsumer$)
2009
- .build() {
1681
+ class RegisterStreamConsumerCommand extends command(_ep0, _mw0, "RegisterStreamConsumer", RegisterStreamConsumer$) {
2010
1682
  }
2011
1683
 
2012
- class RemoveTagsFromStreamCommand extends Command
2013
- .classBuilder()
2014
- .ep({
2015
- ...commonParams,
2016
- OperationType: { type: "staticContextParams", value: `control` },
2017
- StreamId: { type: "contextParams", name: "StreamId" },
2018
- StreamARN: { type: "contextParams", name: "StreamARN" },
2019
- })
2020
- .m(function (Command, cs, config, o) {
2021
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2022
- })
2023
- .s("Kinesis_20131202", "RemoveTagsFromStream", {})
2024
- .n("KinesisClient", "RemoveTagsFromStreamCommand")
2025
- .sc(RemoveTagsFromStream$)
2026
- .build() {
1684
+ class RemoveTagsFromStreamCommand extends command(_ep0, _mw0, "RemoveTagsFromStream", RemoveTagsFromStream$) {
2027
1685
  }
2028
1686
 
2029
- class SplitShardCommand extends Command
2030
- .classBuilder()
2031
- .ep({
2032
- ...commonParams,
2033
- OperationType: { type: "staticContextParams", value: `control` },
2034
- StreamId: { type: "contextParams", name: "StreamId" },
2035
- StreamARN: { type: "contextParams", name: "StreamARN" },
2036
- })
2037
- .m(function (Command, cs, config, o) {
2038
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2039
- })
2040
- .s("Kinesis_20131202", "SplitShard", {})
2041
- .n("KinesisClient", "SplitShardCommand")
2042
- .sc(SplitShard$)
2043
- .build() {
1687
+ class SplitShardCommand extends command(_ep0, _mw0, "SplitShard", SplitShard$) {
2044
1688
  }
2045
1689
 
2046
- class StartStreamEncryptionCommand extends Command
2047
- .classBuilder()
2048
- .ep({
2049
- ...commonParams,
2050
- OperationType: { type: "staticContextParams", value: `control` },
2051
- StreamId: { type: "contextParams", name: "StreamId" },
2052
- StreamARN: { type: "contextParams", name: "StreamARN" },
2053
- })
2054
- .m(function (Command, cs, config, o) {
2055
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2056
- })
2057
- .s("Kinesis_20131202", "StartStreamEncryption", {})
2058
- .n("KinesisClient", "StartStreamEncryptionCommand")
2059
- .sc(StartStreamEncryption$)
2060
- .build() {
1690
+ class StartStreamEncryptionCommand extends command(_ep0, _mw0, "StartStreamEncryption", StartStreamEncryption$) {
2061
1691
  }
2062
1692
 
2063
- class StopStreamEncryptionCommand extends Command
2064
- .classBuilder()
2065
- .ep({
2066
- ...commonParams,
2067
- OperationType: { type: "staticContextParams", value: `control` },
2068
- StreamId: { type: "contextParams", name: "StreamId" },
2069
- StreamARN: { type: "contextParams", name: "StreamARN" },
2070
- })
2071
- .m(function (Command, cs, config, o) {
2072
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2073
- })
2074
- .s("Kinesis_20131202", "StopStreamEncryption", {})
2075
- .n("KinesisClient", "StopStreamEncryptionCommand")
2076
- .sc(StopStreamEncryption$)
2077
- .build() {
1693
+ class StopStreamEncryptionCommand extends command(_ep0, _mw0, "StopStreamEncryption", StopStreamEncryption$) {
2078
1694
  }
2079
1695
 
2080
- class SubscribeToShardCommand extends Command
2081
- .classBuilder()
2082
- .ep({
2083
- ...commonParams,
2084
- OperationType: { type: "staticContextParams", value: `data` },
2085
- StreamId: { type: "contextParams", name: "StreamId" },
2086
- ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
2087
- })
2088
- .m(function (Command, cs, config, o) {
2089
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2090
- })
2091
- .s("Kinesis_20131202", "SubscribeToShard", {
2092
- eventStream: {
2093
- output: true,
2094
- },
2095
- })
2096
- .n("KinesisClient", "SubscribeToShardCommand")
2097
- .sc(SubscribeToShard$)
2098
- .build() {
1696
+ class SubscribeToShardCommand extends command(_ep5, _mw0, "SubscribeToShard", SubscribeToShard$) {
2099
1697
  }
2100
1698
 
2101
- class TagResourceCommand extends Command
2102
- .classBuilder()
2103
- .ep({
2104
- ...commonParams,
2105
- OperationType: { type: "staticContextParams", value: `control` },
2106
- ResourceARN: { type: "contextParams", name: "ResourceARN" },
2107
- StreamId: { type: "contextParams", name: "StreamId" },
2108
- })
2109
- .m(function (Command, cs, config, o) {
2110
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2111
- })
2112
- .s("Kinesis_20131202", "TagResource", {})
2113
- .n("KinesisClient", "TagResourceCommand")
2114
- .sc(TagResource$)
2115
- .build() {
1699
+ class TagResourceCommand extends command(_ep2, _mw0, "TagResource", TagResource$) {
2116
1700
  }
2117
1701
 
2118
- class UntagResourceCommand extends Command
2119
- .classBuilder()
2120
- .ep({
2121
- ...commonParams,
2122
- OperationType: { type: "staticContextParams", value: `control` },
2123
- ResourceARN: { type: "contextParams", name: "ResourceARN" },
2124
- StreamId: { type: "contextParams", name: "StreamId" },
2125
- })
2126
- .m(function (Command, cs, config, o) {
2127
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2128
- })
2129
- .s("Kinesis_20131202", "UntagResource", {})
2130
- .n("KinesisClient", "UntagResourceCommand")
2131
- .sc(UntagResource$)
2132
- .build() {
1702
+ class UntagResourceCommand extends command(_ep2, _mw0, "UntagResource", UntagResource$) {
2133
1703
  }
2134
1704
 
2135
- class UpdateAccountSettingsCommand extends Command
2136
- .classBuilder()
2137
- .ep(commonParams)
2138
- .m(function (Command, cs, config, o) {
2139
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2140
- })
2141
- .s("Kinesis_20131202", "UpdateAccountSettings", {})
2142
- .n("KinesisClient", "UpdateAccountSettingsCommand")
2143
- .sc(UpdateAccountSettings$)
2144
- .build() {
1705
+ class UpdateAccountSettingsCommand extends command(_ep1, _mw0, "UpdateAccountSettings", UpdateAccountSettings$) {
2145
1706
  }
2146
1707
 
2147
- class UpdateMaxRecordSizeCommand extends Command
2148
- .classBuilder()
2149
- .ep({
2150
- ...commonParams,
2151
- OperationType: { type: "staticContextParams", value: `control` },
2152
- StreamId: { type: "contextParams", name: "StreamId" },
2153
- StreamARN: { type: "contextParams", name: "StreamARN" },
2154
- })
2155
- .m(function (Command, cs, config, o) {
2156
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2157
- })
2158
- .s("Kinesis_20131202", "UpdateMaxRecordSize", {})
2159
- .n("KinesisClient", "UpdateMaxRecordSizeCommand")
2160
- .sc(UpdateMaxRecordSize$)
2161
- .build() {
1708
+ class UpdateMaxRecordSizeCommand extends command(_ep0, _mw0, "UpdateMaxRecordSize", UpdateMaxRecordSize$) {
2162
1709
  }
2163
1710
 
2164
- class UpdateShardCountCommand extends Command
2165
- .classBuilder()
2166
- .ep({
2167
- ...commonParams,
2168
- OperationType: { type: "staticContextParams", value: `control` },
2169
- StreamId: { type: "contextParams", name: "StreamId" },
2170
- StreamARN: { type: "contextParams", name: "StreamARN" },
2171
- })
2172
- .m(function (Command, cs, config, o) {
2173
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2174
- })
2175
- .s("Kinesis_20131202", "UpdateShardCount", {})
2176
- .n("KinesisClient", "UpdateShardCountCommand")
2177
- .sc(UpdateShardCount$)
2178
- .build() {
1711
+ class UpdateShardCountCommand extends command(_ep0, _mw0, "UpdateShardCount", UpdateShardCount$) {
2179
1712
  }
2180
1713
 
2181
- class UpdateStreamModeCommand extends Command
2182
- .classBuilder()
2183
- .ep({
2184
- ...commonParams,
2185
- OperationType: { type: "staticContextParams", value: `control` },
2186
- StreamId: { type: "contextParams", name: "StreamId" },
2187
- StreamARN: { type: "contextParams", name: "StreamARN" },
2188
- })
2189
- .m(function (Command, cs, config, o) {
2190
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2191
- })
2192
- .s("Kinesis_20131202", "UpdateStreamMode", {})
2193
- .n("KinesisClient", "UpdateStreamModeCommand")
2194
- .sc(UpdateStreamMode$)
2195
- .build() {
1714
+ class UpdateStreamModeCommand extends command(_ep0, _mw0, "UpdateStreamMode", UpdateStreamMode$) {
2196
1715
  }
2197
1716
 
2198
- class UpdateStreamWarmThroughputCommand extends Command
2199
- .classBuilder()
2200
- .ep({
2201
- ...commonParams,
2202
- OperationType: { type: "staticContextParams", value: `control` },
2203
- StreamId: { type: "contextParams", name: "StreamId" },
2204
- StreamARN: { type: "contextParams", name: "StreamARN" },
2205
- })
2206
- .m(function (Command, cs, config, o) {
2207
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2208
- })
2209
- .s("Kinesis_20131202", "UpdateStreamWarmThroughput", {})
2210
- .n("KinesisClient", "UpdateStreamWarmThroughputCommand")
2211
- .sc(UpdateStreamWarmThroughput$)
2212
- .build() {
1717
+ class UpdateStreamWarmThroughputCommand extends command(_ep0, _mw0, "UpdateStreamWarmThroughput", UpdateStreamWarmThroughput$) {
2213
1718
  }
2214
1719
 
2215
1720
  const paginateListStreamConsumers = createPaginator(KinesisClient, ListStreamConsumersCommand, "NextToken", "NextToken", "MaxResults");