@aws-sdk/client-kinesis 3.1077.0 → 3.1078.0

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