@aws-sdk/client-kinesis 3.36.0 → 3.39.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 (96) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Kinesis.js +0 -5
  3. package/dist-cjs/KinesisClient.js +0 -10
  4. package/dist-cjs/commands/AddTagsToStreamCommand.js +0 -32
  5. package/dist-cjs/commands/CreateStreamCommand.js +0 -64
  6. package/dist-cjs/commands/DecreaseStreamRetentionPeriodCommand.js +0 -29
  7. package/dist-cjs/commands/DeleteStreamCommand.js +0 -42
  8. package/dist-cjs/commands/DeregisterStreamConsumerCommand.js +0 -31
  9. package/dist-cjs/commands/DescribeLimitsCommand.js +0 -27
  10. package/dist-cjs/commands/DescribeStreamCommand.js +0 -40
  11. package/dist-cjs/commands/DescribeStreamConsumerCommand.js +0 -31
  12. package/dist-cjs/commands/DescribeStreamSummaryCommand.js +0 -31
  13. package/dist-cjs/commands/DisableEnhancedMonitoringCommand.js +0 -24
  14. package/dist-cjs/commands/EnableEnhancedMonitoringCommand.js +0 -24
  15. package/dist-cjs/commands/GetRecordsCommand.js +0 -70
  16. package/dist-cjs/commands/GetShardIteratorCommand.js +0 -57
  17. package/dist-cjs/commands/IncreaseStreamRetentionPeriodCommand.js +0 -32
  18. package/dist-cjs/commands/ListShardsCommand.js +0 -32
  19. package/dist-cjs/commands/ListStreamConsumersCommand.js +0 -26
  20. package/dist-cjs/commands/ListStreamsCommand.js +0 -39
  21. package/dist-cjs/commands/ListTagsForStreamCommand.js +0 -25
  22. package/dist-cjs/commands/MergeShardsCommand.js +0 -59
  23. package/dist-cjs/commands/PutRecordCommand.js +0 -59
  24. package/dist-cjs/commands/PutRecordsCommand.js +0 -79
  25. package/dist-cjs/commands/RegisterStreamConsumerCommand.js +0 -37
  26. package/dist-cjs/commands/RemoveTagsFromStreamCommand.js +0 -29
  27. package/dist-cjs/commands/SplitShardCommand.js +0 -65
  28. package/dist-cjs/commands/StartStreamEncryptionCommand.js +0 -39
  29. package/dist-cjs/commands/StopStreamEncryptionCommand.js +0 -39
  30. package/dist-cjs/commands/SubscribeToShardCommand.js +0 -45
  31. package/dist-cjs/commands/UpdateShardCountCommand.js +0 -67
  32. package/dist-cjs/commands/index.js +31 -0
  33. package/dist-cjs/endpoints.js +6 -1
  34. package/dist-cjs/index.js +5 -34
  35. package/dist-cjs/models/models_0.js +0 -225
  36. package/dist-cjs/pagination/ListStreamConsumersPaginator.js +0 -10
  37. package/dist-cjs/pagination/index.js +5 -0
  38. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  39. package/dist-cjs/runtimeConfig.browser.js +1 -5
  40. package/dist-cjs/runtimeConfig.js +1 -5
  41. package/dist-cjs/runtimeConfig.native.js +0 -3
  42. package/dist-cjs/runtimeConfig.shared.js +0 -3
  43. package/dist-cjs/waiters/index.js +5 -0
  44. package/dist-cjs/waiters/waitForStreamExists.js +0 -9
  45. package/dist-cjs/waiters/waitForStreamNotExists.js +0 -9
  46. package/dist-es/commands/index.js +28 -0
  47. package/dist-es/endpoints.js +6 -1
  48. package/dist-es/index.js +5 -34
  49. package/dist-es/pagination/index.js +2 -0
  50. package/dist-es/waiters/index.js +2 -0
  51. package/dist-types/commands/index.d.ts +28 -0
  52. package/dist-types/index.d.ts +5 -34
  53. package/dist-types/pagination/index.d.ts +2 -0
  54. package/dist-types/ts3.4/Kinesis.d.ts +29 -591
  55. package/dist-types/ts3.4/KinesisClient.d.ts +25 -94
  56. package/dist-types/ts3.4/commands/AddTagsToStreamCommand.d.ts +2 -28
  57. package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +2 -60
  58. package/dist-types/ts3.4/commands/DecreaseStreamRetentionPeriodCommand.d.ts +2 -25
  59. package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +2 -38
  60. package/dist-types/ts3.4/commands/DeregisterStreamConsumerCommand.d.ts +2 -27
  61. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -23
  62. package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +2 -36
  63. package/dist-types/ts3.4/commands/DescribeStreamConsumerCommand.d.ts +2 -27
  64. package/dist-types/ts3.4/commands/DescribeStreamSummaryCommand.d.ts +2 -27
  65. package/dist-types/ts3.4/commands/DisableEnhancedMonitoringCommand.d.ts +2 -20
  66. package/dist-types/ts3.4/commands/EnableEnhancedMonitoringCommand.d.ts +2 -20
  67. package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +2 -66
  68. package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +2 -53
  69. package/dist-types/ts3.4/commands/IncreaseStreamRetentionPeriodCommand.d.ts +2 -28
  70. package/dist-types/ts3.4/commands/ListShardsCommand.d.ts +2 -28
  71. package/dist-types/ts3.4/commands/ListStreamConsumersCommand.d.ts +2 -22
  72. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -35
  73. package/dist-types/ts3.4/commands/ListTagsForStreamCommand.d.ts +2 -21
  74. package/dist-types/ts3.4/commands/MergeShardsCommand.d.ts +2 -55
  75. package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +2 -55
  76. package/dist-types/ts3.4/commands/PutRecordsCommand.d.ts +2 -75
  77. package/dist-types/ts3.4/commands/RegisterStreamConsumerCommand.d.ts +2 -33
  78. package/dist-types/ts3.4/commands/RemoveTagsFromStreamCommand.d.ts +2 -25
  79. package/dist-types/ts3.4/commands/SplitShardCommand.d.ts +2 -61
  80. package/dist-types/ts3.4/commands/StartStreamEncryptionCommand.d.ts +2 -35
  81. package/dist-types/ts3.4/commands/StopStreamEncryptionCommand.d.ts +2 -35
  82. package/dist-types/ts3.4/commands/SubscribeToShardCommand.d.ts +2 -41
  83. package/dist-types/ts3.4/commands/UpdateShardCountCommand.d.ts +2 -63
  84. package/dist-types/ts3.4/commands/index.d.ts +28 -0
  85. package/dist-types/ts3.4/index.d.ts +5 -34
  86. package/dist-types/ts3.4/models/models_0.d.ts +316 -1659
  87. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  92. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  93. package/dist-types/ts3.4/waiters/waitForStreamExists.d.ts +2 -9
  94. package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +2 -9
  95. package/dist-types/waiters/index.d.ts +2 -0
  96. package/package.json +36 -36
@@ -6,34 +6,11 @@ export interface RemoveTagsFromStreamCommandInput extends RemoveTagsFromStreamIn
6
6
  }
7
7
  export interface RemoveTagsFromStreamCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Removes tags from the specified Kinesis data stream. Removed tags are deleted and
11
- * cannot be recovered after this operation successfully completes.</p>
12
- * <p>If you specify a tag that does not exist, it is ignored.</p>
13
- * <p>
14
- * <a>RemoveTagsFromStream</a> has a limit of five transactions per second per
15
- * account.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { KinesisClient, RemoveTagsFromStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
20
- * // const { KinesisClient, RemoveTagsFromStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
21
- * const client = new KinesisClient(config);
22
- * const command = new RemoveTagsFromStreamCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link RemoveTagsFromStreamCommandInput} for command's `input` shape.
27
- * @see {@link RemoveTagsFromStreamCommandOutput} for command's `response` shape.
28
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
9
+
31
10
  export declare class RemoveTagsFromStreamCommand extends $Command<RemoveTagsFromStreamCommandInput, RemoveTagsFromStreamCommandOutput, KinesisClientResolvedConfig> {
32
11
  readonly input: RemoveTagsFromStreamCommandInput;
33
12
  constructor(input: RemoveTagsFromStreamCommandInput);
34
- /**
35
- * @internal
36
- */
13
+
37
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveTagsFromStreamCommandInput, RemoveTagsFromStreamCommandOutput>;
38
15
  private serialize;
39
16
  private deserialize;
@@ -6,70 +6,11 @@ export interface SplitShardCommandInput extends SplitShardInput {
6
6
  }
7
7
  export interface SplitShardCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Splits a shard into two new shards in the Kinesis data stream, to increase the
11
- * stream's capacity to ingest and transport data. <code>SplitShard</code> is called when
12
- * there is a need to increase the overall capacity of a stream because of an expected
13
- * increase in the volume of data records being ingested. </p>
14
- * <p>You can also use <code>SplitShard</code> when a shard appears to be approaching its
15
- * maximum utilization; for example, the producers sending data into the specific shard are
16
- * suddenly sending more than previously anticipated. You can also call
17
- * <code>SplitShard</code> to increase stream capacity, so that more Kinesis Data
18
- * Streams applications can simultaneously read data from the stream for real-time
19
- * processing. </p>
20
- * <p>You must specify the shard to be split and the new hash key, which is the position
21
- * in the shard where the shard gets split in two. In many cases, the new hash key might be
22
- * the average of the beginning and ending hash key, but it can be any hash key value in
23
- * the range being mapped into the shard. For more information, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-split.html">Split a
24
- * Shard</a> in the <i>Amazon Kinesis Data Streams Developer
25
- * Guide</i>.</p>
26
- * <p>You can use <a>DescribeStream</a> to determine the shard ID and hash key
27
- * values for the <code>ShardToSplit</code> and <code>NewStartingHashKey</code> parameters
28
- * that are specified in the <code>SplitShard</code> request.</p>
29
- * <p>
30
- * <code>SplitShard</code> is an asynchronous operation. Upon receiving a
31
- * <code>SplitShard</code> request, Kinesis Data Streams immediately returns a response
32
- * and sets the stream status to <code>UPDATING</code>. After the operation is completed,
33
- * Kinesis Data Streams sets the stream status to <code>ACTIVE</code>. Read and write
34
- * operations continue to work while the stream is in the <code>UPDATING</code> state. </p>
35
- * <p>You can use <code>DescribeStream</code> to check the status of the stream, which is
36
- * returned in <code>StreamStatus</code>. If the stream is in the <code>ACTIVE</code>
37
- * state, you can call <code>SplitShard</code>. If a stream is in <code>CREATING</code> or
38
- * <code>UPDATING</code> or <code>DELETING</code> states, <code>DescribeStream</code>
39
- * returns a <code>ResourceInUseException</code>.</p>
40
- * <p>If the specified stream does not exist, <code>DescribeStream</code> returns a
41
- * <code>ResourceNotFoundException</code>. If you try to create more shards than are
42
- * authorized for your account, you receive a <code>LimitExceededException</code>. </p>
43
- * <p>For the default shard limit for an AWS account, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html">Kinesis Data Streams
44
- * Limits</a> in the <i>Amazon Kinesis Data Streams Developer
45
- * Guide</i>. To increase this limit, <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">contact AWS
46
- * Support</a>.</p>
47
- * <p>If you try to operate on too many streams simultaneously using <a>CreateStream</a>, <a>DeleteStream</a>, <a>MergeShards</a>, and/or <a>SplitShard</a>, you receive a
48
- * <code>LimitExceededException</code>. </p>
49
- * <p>
50
- * <code>SplitShard</code> has a limit of five transactions per second per
51
- * account.</p>
52
- * @example
53
- * Use a bare-bones client and the command you need to make an API call.
54
- * ```javascript
55
- * import { KinesisClient, SplitShardCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
56
- * // const { KinesisClient, SplitShardCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
57
- * const client = new KinesisClient(config);
58
- * const command = new SplitShardCommand(input);
59
- * const response = await client.send(command);
60
- * ```
61
- *
62
- * @see {@link SplitShardCommandInput} for command's `input` shape.
63
- * @see {@link SplitShardCommandOutput} for command's `response` shape.
64
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
65
- *
66
- */
9
+
67
10
  export declare class SplitShardCommand extends $Command<SplitShardCommandInput, SplitShardCommandOutput, KinesisClientResolvedConfig> {
68
11
  readonly input: SplitShardCommandInput;
69
12
  constructor(input: SplitShardCommandInput);
70
- /**
71
- * @internal
72
- */
13
+
73
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SplitShardCommandInput, SplitShardCommandOutput>;
74
15
  private serialize;
75
16
  private deserialize;
@@ -6,44 +6,11 @@ export interface StartStreamEncryptionCommandInput extends StartStreamEncryption
6
6
  }
7
7
  export interface StartStreamEncryptionCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Enables or updates server-side encryption using an AWS KMS key for a specified
11
- * stream. </p>
12
- * <p>Starting encryption is an asynchronous operation. Upon receiving the request,
13
- * Kinesis Data Streams returns immediately and sets the status of the stream to
14
- * <code>UPDATING</code>. After the update is complete, Kinesis Data Streams sets the
15
- * status of the stream back to <code>ACTIVE</code>. Updating or applying encryption
16
- * normally takes a few seconds to complete, but it can take minutes. You can continue to
17
- * read and write data to your stream while its status is <code>UPDATING</code>. Once the
18
- * status of the stream is <code>ACTIVE</code>, encryption begins for records written to
19
- * the stream. </p>
20
- * <p>API Limits: You can successfully apply a new AWS KMS key for server-side encryption
21
- * 25 times in a rolling 24-hour period.</p>
22
- * <p>Note: It can take up to 5 seconds after the stream is in an <code>ACTIVE</code>
23
- * status before all records written to the stream are encrypted. After you enable
24
- * encryption, you can verify that encryption is applied by inspecting the API response
25
- * from <code>PutRecord</code> or <code>PutRecords</code>.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { KinesisClient, StartStreamEncryptionCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
30
- * // const { KinesisClient, StartStreamEncryptionCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
31
- * const client = new KinesisClient(config);
32
- * const command = new StartStreamEncryptionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link StartStreamEncryptionCommandInput} for command's `input` shape.
37
- * @see {@link StartStreamEncryptionCommandOutput} for command's `response` shape.
38
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
9
+
41
10
  export declare class StartStreamEncryptionCommand extends $Command<StartStreamEncryptionCommandInput, StartStreamEncryptionCommandOutput, KinesisClientResolvedConfig> {
42
11
  readonly input: StartStreamEncryptionCommandInput;
43
12
  constructor(input: StartStreamEncryptionCommandInput);
44
- /**
45
- * @internal
46
- */
13
+
47
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartStreamEncryptionCommandInput, StartStreamEncryptionCommandOutput>;
48
15
  private serialize;
49
16
  private deserialize;
@@ -6,44 +6,11 @@ export interface StopStreamEncryptionCommandInput extends StopStreamEncryptionIn
6
6
  }
7
7
  export interface StopStreamEncryptionCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Disables server-side encryption for a specified stream. </p>
11
- * <p>Stopping encryption is an asynchronous operation. Upon receiving the request,
12
- * Kinesis Data Streams returns immediately and sets the status of the stream to
13
- * <code>UPDATING</code>. After the update is complete, Kinesis Data Streams sets the
14
- * status of the stream back to <code>ACTIVE</code>. Stopping encryption normally takes a
15
- * few seconds to complete, but it can take minutes. You can continue to read and write
16
- * data to your stream while its status is <code>UPDATING</code>. Once the status of the
17
- * stream is <code>ACTIVE</code>, records written to the stream are no longer encrypted by
18
- * Kinesis Data Streams. </p>
19
- * <p>API Limits: You can successfully disable server-side encryption 25 times in a
20
- * rolling 24-hour period. </p>
21
- * <p>Note: It can take up to 5 seconds after the stream is in an <code>ACTIVE</code>
22
- * status before all records written to the stream are no longer subject to encryption.
23
- * After you disabled encryption, you can verify that encryption is not applied by
24
- * inspecting the API response from <code>PutRecord</code> or
25
- * <code>PutRecords</code>.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { KinesisClient, StopStreamEncryptionCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
30
- * // const { KinesisClient, StopStreamEncryptionCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
31
- * const client = new KinesisClient(config);
32
- * const command = new StopStreamEncryptionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link StopStreamEncryptionCommandInput} for command's `input` shape.
37
- * @see {@link StopStreamEncryptionCommandOutput} for command's `response` shape.
38
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
9
+
41
10
  export declare class StopStreamEncryptionCommand extends $Command<StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput, KinesisClientResolvedConfig> {
42
11
  readonly input: StopStreamEncryptionCommandInput;
43
12
  constructor(input: StopStreamEncryptionCommandInput);
44
- /**
45
- * @internal
46
- */
13
+
47
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput>;
48
15
  private serialize;
49
16
  private deserialize;
@@ -6,50 +6,11 @@ export interface SubscribeToShardCommandInput extends SubscribeToShardInput {
6
6
  }
7
7
  export interface SubscribeToShardCommandOutput extends SubscribeToShardOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>This operation establishes an HTTP/2 connection between the consumer you specify in
11
- * the <code>ConsumerARN</code> parameter and the shard you specify in the
12
- * <code>ShardId</code> parameter. After the connection is successfully established,
13
- * Kinesis Data Streams pushes records from the shard to the consumer over this connection.
14
- * Before you call this operation, call <a>RegisterStreamConsumer</a> to
15
- * register the consumer with Kinesis Data Streams.</p>
16
- * <p>When the <code>SubscribeToShard</code> call succeeds, your consumer starts receiving
17
- * events of type <a>SubscribeToShardEvent</a> over the HTTP/2 connection for up
18
- * to 5 minutes, after which time you need to call <code>SubscribeToShard</code> again to
19
- * renew the subscription if you want to continue to receive records.</p>
20
- * <p>You can make one call to <code>SubscribeToShard</code> per second per registered
21
- * consumer per shard. For example, if you have a 4000 shard stream and two registered
22
- * stream consumers, you can make one <code>SubscribeToShard</code> request per second for
23
- * each combination of shard and registered consumer, allowing you to subscribe both
24
- * consumers to all 4000 shards in one second. </p>
25
- * <p>If you call <code>SubscribeToShard</code> again with the same <code>ConsumerARN</code>
26
- * and <code>ShardId</code> within 5 seconds of a successful call, you'll get a
27
- * <code>ResourceInUseException</code>. If you call <code>SubscribeToShard</code> 5
28
- * seconds or more after a successful call, the first connection will expire and the second
29
- * call will take over the subscription.</p>
30
- * <p>For an example of how to use this operations, see <a href="/streams/latest/dev/building-enhanced-consumers-api.html">Enhanced Fan-Out
31
- * Using the Kinesis Data Streams API</a>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { KinesisClient, SubscribeToShardCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
36
- * // const { KinesisClient, SubscribeToShardCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
37
- * const client = new KinesisClient(config);
38
- * const command = new SubscribeToShardCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link SubscribeToShardCommandInput} for command's `input` shape.
43
- * @see {@link SubscribeToShardCommandOutput} for command's `response` shape.
44
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
9
+
47
10
  export declare class SubscribeToShardCommand extends $Command<SubscribeToShardCommandInput, SubscribeToShardCommandOutput, KinesisClientResolvedConfig> {
48
11
  readonly input: SubscribeToShardCommandInput;
49
12
  constructor(input: SubscribeToShardCommandInput);
50
- /**
51
- * @internal
52
- */
13
+
53
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeToShardCommandInput, SubscribeToShardCommandOutput>;
54
15
  private serialize;
55
16
  private deserialize;
@@ -6,72 +6,11 @@ export interface UpdateShardCountCommandInput extends UpdateShardCountInput {
6
6
  }
7
7
  export interface UpdateShardCountCommandOutput extends UpdateShardCountOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Updates the shard count of the specified stream to the specified number of
11
- * shards.</p>
12
- * <p>Updating the shard count is an asynchronous operation. Upon receiving the request,
13
- * Kinesis Data Streams returns immediately and sets the status of the stream to
14
- * <code>UPDATING</code>. After the update is complete, Kinesis Data Streams sets the
15
- * status of the stream back to <code>ACTIVE</code>. Depending on the size of the stream,
16
- * the scaling action could take a few minutes to complete. You can continue to read and
17
- * write data to your stream while its status is <code>UPDATING</code>.</p>
18
- * <p>To update the shard count, Kinesis Data Streams performs splits or merges on
19
- * individual shards. This can cause short-lived shards to be created, in addition to the
20
- * final shards. These short-lived shards count towards your total shard limit for your
21
- * account in the Region.</p>
22
- * <p>When using this operation, we recommend that you specify a target shard count that
23
- * is a multiple of 25% (25%, 50%, 75%, 100%). You can specify any target value within your
24
- * shard limit. However, if you specify a target that isn't a multiple of 25%, the scaling
25
- * action might take longer to complete. </p>
26
- * <p>This operation has the following default limits. By default, you cannot do the
27
- * following:</p>
28
- * <ul>
29
- * <li>
30
- * <p>Scale more than ten times per rolling 24-hour period per stream</p>
31
- * </li>
32
- * <li>
33
- * <p>Scale up to more than double your current shard count for a
34
- * stream</p>
35
- * </li>
36
- * <li>
37
- * <p>Scale down below half your current shard count for a stream</p>
38
- * </li>
39
- * <li>
40
- * <p>Scale up to more than 500 shards in a stream</p>
41
- * </li>
42
- * <li>
43
- * <p>Scale a stream with more than 500 shards down unless the result is less
44
- * than 500 shards</p>
45
- * </li>
46
- * <li>
47
- * <p>Scale up to more than the shard limit for your account</p>
48
- * </li>
49
- * </ul>
50
- * <p>For the default limits for an AWS account, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html">Streams Limits</a> in the
51
- * <i>Amazon Kinesis Data Streams Developer Guide</i>. To request an
52
- * increase in the call rate limit, the shard limit for this API, or your overall shard
53
- * limit, use the <a href="https://console.aws.amazon.com/support/v1#/case/create?issueType=service-limit-increase&limitType=service-code-kinesis">limits form</a>.</p>
54
- * @example
55
- * Use a bare-bones client and the command you need to make an API call.
56
- * ```javascript
57
- * import { KinesisClient, UpdateShardCountCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
58
- * // const { KinesisClient, UpdateShardCountCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
59
- * const client = new KinesisClient(config);
60
- * const command = new UpdateShardCountCommand(input);
61
- * const response = await client.send(command);
62
- * ```
63
- *
64
- * @see {@link UpdateShardCountCommandInput} for command's `input` shape.
65
- * @see {@link UpdateShardCountCommandOutput} for command's `response` shape.
66
- * @see {@link KinesisClientResolvedConfig | config} for command's `input` shape.
67
- *
68
- */
9
+
69
10
  export declare class UpdateShardCountCommand extends $Command<UpdateShardCountCommandInput, UpdateShardCountCommandOutput, KinesisClientResolvedConfig> {
70
11
  readonly input: UpdateShardCountCommandInput;
71
12
  constructor(input: UpdateShardCountCommandInput);
72
- /**
73
- * @internal
74
- */
13
+
75
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateShardCountCommandInput, UpdateShardCountCommandOutput>;
76
15
  private serialize;
77
16
  private deserialize;
@@ -0,0 +1,28 @@
1
+ export * from "./AddTagsToStreamCommand";
2
+ export * from "./CreateStreamCommand";
3
+ export * from "./DecreaseStreamRetentionPeriodCommand";
4
+ export * from "./DeleteStreamCommand";
5
+ export * from "./DeregisterStreamConsumerCommand";
6
+ export * from "./DescribeLimitsCommand";
7
+ export * from "./DescribeStreamCommand";
8
+ export * from "./DescribeStreamConsumerCommand";
9
+ export * from "./DescribeStreamSummaryCommand";
10
+ export * from "./DisableEnhancedMonitoringCommand";
11
+ export * from "./EnableEnhancedMonitoringCommand";
12
+ export * from "./GetRecordsCommand";
13
+ export * from "./GetShardIteratorCommand";
14
+ export * from "./IncreaseStreamRetentionPeriodCommand";
15
+ export * from "./ListShardsCommand";
16
+ export * from "./ListStreamConsumersCommand";
17
+ export * from "./ListStreamsCommand";
18
+ export * from "./ListTagsForStreamCommand";
19
+ export * from "./MergeShardsCommand";
20
+ export * from "./PutRecordCommand";
21
+ export * from "./PutRecordsCommand";
22
+ export * from "./RegisterStreamConsumerCommand";
23
+ export * from "./RemoveTagsFromStreamCommand";
24
+ export * from "./SplitShardCommand";
25
+ export * from "./StartStreamEncryptionCommand";
26
+ export * from "./StopStreamEncryptionCommand";
27
+ export * from "./SubscribeToShardCommand";
28
+ export * from "./UpdateShardCountCommand";
@@ -1,35 +1,6 @@
1
- export * from "./KinesisClient";
2
1
  export * from "./Kinesis";
3
- export * from "./commands/AddTagsToStreamCommand";
4
- export * from "./commands/CreateStreamCommand";
5
- export * from "./commands/DecreaseStreamRetentionPeriodCommand";
6
- export * from "./commands/DeleteStreamCommand";
7
- export * from "./commands/DeregisterStreamConsumerCommand";
8
- export * from "./commands/DescribeLimitsCommand";
9
- export * from "./commands/DescribeStreamCommand";
10
- export * from "./waiters/waitForStreamExists";
11
- export * from "./waiters/waitForStreamNotExists";
12
- export * from "./commands/DescribeStreamConsumerCommand";
13
- export * from "./commands/DescribeStreamSummaryCommand";
14
- export * from "./commands/DisableEnhancedMonitoringCommand";
15
- export * from "./commands/EnableEnhancedMonitoringCommand";
16
- export * from "./commands/GetRecordsCommand";
17
- export * from "./commands/GetShardIteratorCommand";
18
- export * from "./commands/IncreaseStreamRetentionPeriodCommand";
19
- export * from "./commands/ListShardsCommand";
20
- export * from "./commands/ListStreamConsumersCommand";
21
- export * from "./pagination/ListStreamConsumersPaginator";
22
- export * from "./commands/ListStreamsCommand";
23
- export * from "./commands/ListTagsForStreamCommand";
24
- export * from "./commands/MergeShardsCommand";
25
- export * from "./commands/PutRecordCommand";
26
- export * from "./commands/PutRecordsCommand";
27
- export * from "./commands/RegisterStreamConsumerCommand";
28
- export * from "./commands/RemoveTagsFromStreamCommand";
29
- export * from "./commands/SplitShardCommand";
30
- export * from "./commands/StartStreamEncryptionCommand";
31
- export * from "./commands/StopStreamEncryptionCommand";
32
- export * from "./commands/SubscribeToShardCommand";
33
- export * from "./commands/UpdateShardCountCommand";
34
- export * from "./pagination/Interfaces";
35
- export * from "./models/index";
2
+ export * from "./KinesisClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";