@aws-sdk/client-kinesis 3.43.0 → 3.44.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.
- package/CHANGELOG.md +11 -0
- package/README.md +2 -2
- package/dist-cjs/Kinesis.js +15 -0
- package/dist-cjs/commands/UpdateStreamModeCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +25 -2
- package/dist-cjs/protocols/Aws_json1_1.js +151 -2
- package/dist-es/Kinesis.js +15 -0
- package/dist-es/commands/UpdateStreamModeCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/protocols/Aws_json1_1.js +189 -35
- package/dist-types/Kinesis.d.ts +165 -143
- package/dist-types/KinesisClient.d.ts +5 -4
- package/dist-types/commands/AddTagsToStreamCommand.d.ts +2 -4
- package/dist-types/commands/CreateStreamCommand.d.ts +19 -19
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +5 -5
- package/dist-types/commands/DeleteStreamCommand.d.ts +5 -4
- package/dist-types/commands/DescribeStreamCommand.d.ts +5 -1
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +5 -5
- package/dist-types/commands/GetRecordsCommand.d.ts +29 -19
- package/dist-types/commands/GetShardIteratorCommand.d.ts +7 -7
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +3 -3
- package/dist-types/commands/ListShardsCommand.d.ts +4 -2
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
- package/dist-types/commands/MergeShardsCommand.d.ts +5 -5
- package/dist-types/commands/PutRecordCommand.d.ts +8 -8
- package/dist-types/commands/PutRecordsCommand.d.ts +7 -7
- package/dist-types/commands/SplitShardCommand.d.ts +17 -19
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +10 -10
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +8 -9
- package/dist-types/commands/SubscribeToShardCommand.d.ts +3 -2
- package/dist-types/commands/UpdateShardCountCommand.d.ts +10 -11
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +333 -152
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/Kinesis.d.ts +5 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +54 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
|
+
import { UpdateStreamModeInput } from "../models/models_0";
|
|
5
|
+
export interface UpdateStreamModeCommandInput extends UpdateStreamModeInput {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateStreamModeCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p> Updates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you
|
|
11
|
+
* can choose between an <b>on-demand</b> capacity mode and a
|
|
12
|
+
* <b>provisioned</b> capacity mode for your data stream.
|
|
13
|
+
* </p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { KinesisClient, UpdateStreamModeCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
18
|
+
* // const { KinesisClient, UpdateStreamModeCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
19
|
+
* const client = new KinesisClient(config);
|
|
20
|
+
* const command = new UpdateStreamModeCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link UpdateStreamModeCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link UpdateStreamModeCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link KinesisClientResolvedConfig | config} for KinesisClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class UpdateStreamModeCommand extends $Command<UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput, KinesisClientResolvedConfig> {
|
|
30
|
+
readonly input: UpdateStreamModeCommandInput;
|
|
31
|
+
constructor(input: UpdateStreamModeCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|