@aws-sdk/client-kinesis 3.922.0 → 3.923.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/README.md +24 -0
- package/dist-cjs/index.js +163 -15
- package/dist-es/Kinesis.js +6 -0
- package/dist-es/commands/DescribeAccountSettingsCommand.js +22 -0
- package/dist-es/commands/UpdateAccountSettingsCommand.js +22 -0
- package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +26 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +21 -12
- package/dist-es/protocols/Aws_json1_1.js +79 -3
- package/dist-types/Kinesis.d.ts +22 -0
- package/dist-types/KinesisClient.d.ts +5 -2
- package/dist-types/commands/CreateStreamCommand.d.ts +10 -14
- package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +82 -0
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +106 -0
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +7 -0
- package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +122 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +198 -14
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/Kinesis.d.ts +52 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateStreamWarmThroughputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +62 -7
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -39,6 +39,12 @@ export const se_DeregisterStreamConsumerCommand = async (input, context) => {
|
|
|
39
39
|
body = JSON.stringify(_json(input));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
|
+
export const se_DescribeAccountSettingsCommand = async (input, context) => {
|
|
43
|
+
const headers = sharedHeaders("DescribeAccountSettings");
|
|
44
|
+
let body;
|
|
45
|
+
body = JSON.stringify(_json(input));
|
|
46
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
+
};
|
|
42
48
|
export const se_DescribeLimitsCommand = async (input, context) => {
|
|
43
49
|
const headers = sharedHeaders("DescribeLimits");
|
|
44
50
|
let body;
|
|
@@ -201,6 +207,12 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
201
207
|
body = JSON.stringify(_json(input));
|
|
202
208
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
209
|
};
|
|
210
|
+
export const se_UpdateAccountSettingsCommand = async (input, context) => {
|
|
211
|
+
const headers = sharedHeaders("UpdateAccountSettings");
|
|
212
|
+
let body;
|
|
213
|
+
body = JSON.stringify(_json(input));
|
|
214
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
+
};
|
|
204
216
|
export const se_UpdateMaxRecordSizeCommand = async (input, context) => {
|
|
205
217
|
const headers = sharedHeaders("UpdateMaxRecordSize");
|
|
206
218
|
let body;
|
|
@@ -219,6 +231,12 @@ export const se_UpdateStreamModeCommand = async (input, context) => {
|
|
|
219
231
|
body = JSON.stringify(_json(input));
|
|
220
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
233
|
};
|
|
234
|
+
export const se_UpdateStreamWarmThroughputCommand = async (input, context) => {
|
|
235
|
+
const headers = sharedHeaders("UpdateStreamWarmThroughput");
|
|
236
|
+
let body;
|
|
237
|
+
body = JSON.stringify(_json(input));
|
|
238
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
|
+
};
|
|
222
240
|
export const de_AddTagsToStreamCommand = async (output, context) => {
|
|
223
241
|
if (output.statusCode >= 300) {
|
|
224
242
|
return de_CommandError(output, context);
|
|
@@ -279,6 +297,19 @@ export const de_DeregisterStreamConsumerCommand = async (output, context) => {
|
|
|
279
297
|
};
|
|
280
298
|
return response;
|
|
281
299
|
};
|
|
300
|
+
export const de_DescribeAccountSettingsCommand = async (output, context) => {
|
|
301
|
+
if (output.statusCode >= 300) {
|
|
302
|
+
return de_CommandError(output, context);
|
|
303
|
+
}
|
|
304
|
+
const data = await parseBody(output.body, context);
|
|
305
|
+
let contents = {};
|
|
306
|
+
contents = de_DescribeAccountSettingsOutput(data, context);
|
|
307
|
+
const response = {
|
|
308
|
+
$metadata: deserializeMetadata(output),
|
|
309
|
+
...contents,
|
|
310
|
+
};
|
|
311
|
+
return response;
|
|
312
|
+
};
|
|
282
313
|
export const de_DescribeLimitsCommand = async (output, context) => {
|
|
283
314
|
if (output.statusCode >= 300) {
|
|
284
315
|
return de_CommandError(output, context);
|
|
@@ -601,6 +632,19 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
601
632
|
};
|
|
602
633
|
return response;
|
|
603
634
|
};
|
|
635
|
+
export const de_UpdateAccountSettingsCommand = async (output, context) => {
|
|
636
|
+
if (output.statusCode >= 300) {
|
|
637
|
+
return de_CommandError(output, context);
|
|
638
|
+
}
|
|
639
|
+
const data = await parseBody(output.body, context);
|
|
640
|
+
let contents = {};
|
|
641
|
+
contents = de_UpdateAccountSettingsOutput(data, context);
|
|
642
|
+
const response = {
|
|
643
|
+
$metadata: deserializeMetadata(output),
|
|
644
|
+
...contents,
|
|
645
|
+
};
|
|
646
|
+
return response;
|
|
647
|
+
};
|
|
604
648
|
export const de_UpdateMaxRecordSizeCommand = async (output, context) => {
|
|
605
649
|
if (output.statusCode >= 300) {
|
|
606
650
|
return de_CommandError(output, context);
|
|
@@ -634,6 +678,19 @@ export const de_UpdateStreamModeCommand = async (output, context) => {
|
|
|
634
678
|
};
|
|
635
679
|
return response;
|
|
636
680
|
};
|
|
681
|
+
export const de_UpdateStreamWarmThroughputCommand = async (output, context) => {
|
|
682
|
+
if (output.statusCode >= 300) {
|
|
683
|
+
return de_CommandError(output, context);
|
|
684
|
+
}
|
|
685
|
+
const data = await parseBody(output.body, context);
|
|
686
|
+
let contents = {};
|
|
687
|
+
contents = _json(data);
|
|
688
|
+
const response = {
|
|
689
|
+
$metadata: deserializeMetadata(output),
|
|
690
|
+
...contents,
|
|
691
|
+
};
|
|
692
|
+
return response;
|
|
693
|
+
};
|
|
637
694
|
const de_CommandError = async (output, context) => {
|
|
638
695
|
const parsedOutput = {
|
|
639
696
|
...output,
|
|
@@ -656,6 +713,9 @@ const de_CommandError = async (output, context) => {
|
|
|
656
713
|
case "ResourceNotFoundException":
|
|
657
714
|
case "com.amazonaws.kinesis#ResourceNotFoundException":
|
|
658
715
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
716
|
+
case "ValidationException":
|
|
717
|
+
case "com.amazonaws.kinesis#ValidationException":
|
|
718
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
659
719
|
case "ExpiredIteratorException":
|
|
660
720
|
case "com.amazonaws.kinesis#ExpiredIteratorException":
|
|
661
721
|
throw await de_ExpiredIteratorExceptionRes(parsedOutput, context);
|
|
@@ -686,9 +746,6 @@ const de_CommandError = async (output, context) => {
|
|
|
686
746
|
case "ExpiredNextTokenException":
|
|
687
747
|
case "com.amazonaws.kinesis#ExpiredNextTokenException":
|
|
688
748
|
throw await de_ExpiredNextTokenExceptionRes(parsedOutput, context);
|
|
689
|
-
case "ValidationException":
|
|
690
|
-
case "com.amazonaws.kinesis#ValidationException":
|
|
691
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
692
749
|
default:
|
|
693
750
|
const parsedBody = parsedOutput.body;
|
|
694
751
|
return throwDefaultError({
|
|
@@ -1072,6 +1129,11 @@ const de_ConsumerList = (output, context) => {
|
|
|
1072
1129
|
});
|
|
1073
1130
|
return retVal;
|
|
1074
1131
|
};
|
|
1132
|
+
const de_DescribeAccountSettingsOutput = (output, context) => {
|
|
1133
|
+
return take(output, {
|
|
1134
|
+
MinimumThroughputBillingCommitment: (_) => de_MinimumThroughputBillingCommitmentOutput(_, context),
|
|
1135
|
+
});
|
|
1136
|
+
};
|
|
1075
1137
|
const de_DescribeStreamConsumerOutput = (output, context) => {
|
|
1076
1138
|
return take(output, {
|
|
1077
1139
|
ConsumerDescription: (_) => de_ConsumerDescription(_, context),
|
|
@@ -1109,6 +1171,14 @@ const de_ListStreamsOutput = (output, context) => {
|
|
|
1109
1171
|
StreamSummaries: (_) => de_StreamSummaryList(_, context),
|
|
1110
1172
|
});
|
|
1111
1173
|
};
|
|
1174
|
+
const de_MinimumThroughputBillingCommitmentOutput = (output, context) => {
|
|
1175
|
+
return take(output, {
|
|
1176
|
+
EarliestAllowedEndAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1177
|
+
EndedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1178
|
+
StartedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1179
|
+
Status: __expectString,
|
|
1180
|
+
});
|
|
1181
|
+
};
|
|
1112
1182
|
const de__Record = (output, context) => {
|
|
1113
1183
|
return take(output, {
|
|
1114
1184
|
ApproximateArrivalTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1160,6 +1230,7 @@ const de_StreamDescriptionSummary = (output, context) => {
|
|
|
1160
1230
|
StreamModeDetails: _json,
|
|
1161
1231
|
StreamName: __expectString,
|
|
1162
1232
|
StreamStatus: __expectString,
|
|
1233
|
+
WarmThroughput: _json,
|
|
1163
1234
|
});
|
|
1164
1235
|
};
|
|
1165
1236
|
const de_StreamSummary = (output, context) => {
|
|
@@ -1187,6 +1258,11 @@ const de_SubscribeToShardEvent = (output, context) => {
|
|
|
1187
1258
|
Records: (_) => de_RecordList(_, context),
|
|
1188
1259
|
});
|
|
1189
1260
|
};
|
|
1261
|
+
const de_UpdateAccountSettingsOutput = (output, context) => {
|
|
1262
|
+
return take(output, {
|
|
1263
|
+
MinimumThroughputBillingCommitment: (_) => de_MinimumThroughputBillingCommitmentOutput(_, context),
|
|
1264
|
+
});
|
|
1265
|
+
};
|
|
1190
1266
|
const deserializeMetadata = (output) => ({
|
|
1191
1267
|
httpStatusCode: output.statusCode,
|
|
1192
1268
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
package/dist-types/Kinesis.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPerio
|
|
|
5
5
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
6
6
|
import { DeleteStreamCommandInput, DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand";
|
|
7
7
|
import { DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput } from "./commands/DeregisterStreamConsumerCommand";
|
|
8
|
+
import { DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput } from "./commands/DescribeAccountSettingsCommand";
|
|
8
9
|
import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
|
|
9
10
|
import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
10
11
|
import { DescribeStreamConsumerCommandInput, DescribeStreamConsumerCommandOutput } from "./commands/DescribeStreamConsumerCommand";
|
|
@@ -32,9 +33,11 @@ import { StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput } f
|
|
|
32
33
|
import { SubscribeToShardCommandInput, SubscribeToShardCommandOutput } from "./commands/SubscribeToShardCommand";
|
|
33
34
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
35
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
36
|
+
import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
35
37
|
import { UpdateMaxRecordSizeCommandInput, UpdateMaxRecordSizeCommandOutput } from "./commands/UpdateMaxRecordSizeCommand";
|
|
36
38
|
import { UpdateShardCountCommandInput, UpdateShardCountCommandOutput } from "./commands/UpdateShardCountCommand";
|
|
37
39
|
import { UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput } from "./commands/UpdateStreamModeCommand";
|
|
40
|
+
import { UpdateStreamWarmThroughputCommandInput, UpdateStreamWarmThroughputCommandOutput } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
38
41
|
import { KinesisClient } from "./KinesisClient";
|
|
39
42
|
export interface Kinesis {
|
|
40
43
|
/**
|
|
@@ -75,6 +78,13 @@ export interface Kinesis {
|
|
|
75
78
|
deregisterStreamConsumer(args: DeregisterStreamConsumerCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterStreamConsumerCommandOutput>;
|
|
76
79
|
deregisterStreamConsumer(args: DeregisterStreamConsumerCommandInput, cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void): void;
|
|
77
80
|
deregisterStreamConsumer(args: DeregisterStreamConsumerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void): void;
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link DescribeAccountSettingsCommand}
|
|
83
|
+
*/
|
|
84
|
+
describeAccountSettings(): Promise<DescribeAccountSettingsCommandOutput>;
|
|
85
|
+
describeAccountSettings(args: DescribeAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountSettingsCommandOutput>;
|
|
86
|
+
describeAccountSettings(args: DescribeAccountSettingsCommandInput, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
|
|
87
|
+
describeAccountSettings(args: DescribeAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void): void;
|
|
78
88
|
/**
|
|
79
89
|
* @see {@link DescribeLimitsCommand}
|
|
80
90
|
*/
|
|
@@ -244,6 +254,12 @@ export interface Kinesis {
|
|
|
244
254
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
245
255
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
246
256
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
257
|
+
/**
|
|
258
|
+
* @see {@link UpdateAccountSettingsCommand}
|
|
259
|
+
*/
|
|
260
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
|
|
261
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
|
|
262
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
|
|
247
263
|
/**
|
|
248
264
|
* @see {@link UpdateMaxRecordSizeCommand}
|
|
249
265
|
*/
|
|
@@ -262,6 +278,12 @@ export interface Kinesis {
|
|
|
262
278
|
updateStreamMode(args: UpdateStreamModeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStreamModeCommandOutput>;
|
|
263
279
|
updateStreamMode(args: UpdateStreamModeCommandInput, cb: (err: any, data?: UpdateStreamModeCommandOutput) => void): void;
|
|
264
280
|
updateStreamMode(args: UpdateStreamModeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStreamModeCommandOutput) => void): void;
|
|
281
|
+
/**
|
|
282
|
+
* @see {@link UpdateStreamWarmThroughputCommand}
|
|
283
|
+
*/
|
|
284
|
+
updateStreamWarmThroughput(args: UpdateStreamWarmThroughputCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStreamWarmThroughputCommandOutput>;
|
|
285
|
+
updateStreamWarmThroughput(args: UpdateStreamWarmThroughputCommandInput, cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void): void;
|
|
286
|
+
updateStreamWarmThroughput(args: UpdateStreamWarmThroughputCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void): void;
|
|
265
287
|
}
|
|
266
288
|
/**
|
|
267
289
|
* <fullname>Amazon Kinesis Data Streams Service API Reference</fullname>
|
|
@@ -14,6 +14,7 @@ import { DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPerio
|
|
|
14
14
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
15
15
|
import { DeleteStreamCommandInput, DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand";
|
|
16
16
|
import { DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput } from "./commands/DeregisterStreamConsumerCommand";
|
|
17
|
+
import { DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput } from "./commands/DescribeAccountSettingsCommand";
|
|
17
18
|
import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
|
|
18
19
|
import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
19
20
|
import { DescribeStreamConsumerCommandInput, DescribeStreamConsumerCommandOutput } from "./commands/DescribeStreamConsumerCommand";
|
|
@@ -41,20 +42,22 @@ import { StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput } f
|
|
|
41
42
|
import { SubscribeToShardCommandInput, SubscribeToShardCommandOutput } from "./commands/SubscribeToShardCommand";
|
|
42
43
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
43
44
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
45
|
+
import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
44
46
|
import { UpdateMaxRecordSizeCommandInput, UpdateMaxRecordSizeCommandOutput } from "./commands/UpdateMaxRecordSizeCommand";
|
|
45
47
|
import { UpdateShardCountCommandInput, UpdateShardCountCommandOutput } from "./commands/UpdateShardCountCommand";
|
|
46
48
|
import { UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput } from "./commands/UpdateStreamModeCommand";
|
|
49
|
+
import { UpdateStreamWarmThroughputCommandInput, UpdateStreamWarmThroughputCommandOutput } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
47
50
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
48
51
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
49
52
|
export { __Client };
|
|
50
53
|
/**
|
|
51
54
|
* @public
|
|
52
55
|
*/
|
|
53
|
-
export type ServiceInputTypes = AddTagsToStreamCommandInput | CreateStreamCommandInput | DecreaseStreamRetentionPeriodCommandInput | DeleteResourcePolicyCommandInput | DeleteStreamCommandInput | DeregisterStreamConsumerCommandInput | DescribeLimitsCommandInput | DescribeStreamCommandInput | DescribeStreamConsumerCommandInput | DescribeStreamSummaryCommandInput | DisableEnhancedMonitoringCommandInput | EnableEnhancedMonitoringCommandInput | GetRecordsCommandInput | GetResourcePolicyCommandInput | GetShardIteratorCommandInput | IncreaseStreamRetentionPeriodCommandInput | ListShardsCommandInput | ListStreamConsumersCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTagsForStreamCommandInput | MergeShardsCommandInput | PutRecordCommandInput | PutRecordsCommandInput | PutResourcePolicyCommandInput | RegisterStreamConsumerCommandInput | RemoveTagsFromStreamCommandInput | SplitShardCommandInput | StartStreamEncryptionCommandInput | StopStreamEncryptionCommandInput | SubscribeToShardCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateMaxRecordSizeCommandInput | UpdateShardCountCommandInput | UpdateStreamModeCommandInput;
|
|
56
|
+
export type ServiceInputTypes = AddTagsToStreamCommandInput | CreateStreamCommandInput | DecreaseStreamRetentionPeriodCommandInput | DeleteResourcePolicyCommandInput | DeleteStreamCommandInput | DeregisterStreamConsumerCommandInput | DescribeAccountSettingsCommandInput | DescribeLimitsCommandInput | DescribeStreamCommandInput | DescribeStreamConsumerCommandInput | DescribeStreamSummaryCommandInput | DisableEnhancedMonitoringCommandInput | EnableEnhancedMonitoringCommandInput | GetRecordsCommandInput | GetResourcePolicyCommandInput | GetShardIteratorCommandInput | IncreaseStreamRetentionPeriodCommandInput | ListShardsCommandInput | ListStreamConsumersCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTagsForStreamCommandInput | MergeShardsCommandInput | PutRecordCommandInput | PutRecordsCommandInput | PutResourcePolicyCommandInput | RegisterStreamConsumerCommandInput | RemoveTagsFromStreamCommandInput | SplitShardCommandInput | StartStreamEncryptionCommandInput | StopStreamEncryptionCommandInput | SubscribeToShardCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateMaxRecordSizeCommandInput | UpdateShardCountCommandInput | UpdateStreamModeCommandInput | UpdateStreamWarmThroughputCommandInput;
|
|
54
57
|
/**
|
|
55
58
|
* @public
|
|
56
59
|
*/
|
|
57
|
-
export type ServiceOutputTypes = AddTagsToStreamCommandOutput | CreateStreamCommandOutput | DecreaseStreamRetentionPeriodCommandOutput | DeleteResourcePolicyCommandOutput | DeleteStreamCommandOutput | DeregisterStreamConsumerCommandOutput | DescribeLimitsCommandOutput | DescribeStreamCommandOutput | DescribeStreamConsumerCommandOutput | DescribeStreamSummaryCommandOutput | DisableEnhancedMonitoringCommandOutput | EnableEnhancedMonitoringCommandOutput | GetRecordsCommandOutput | GetResourcePolicyCommandOutput | GetShardIteratorCommandOutput | IncreaseStreamRetentionPeriodCommandOutput | ListShardsCommandOutput | ListStreamConsumersCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForStreamCommandOutput | MergeShardsCommandOutput | PutRecordCommandOutput | PutRecordsCommandOutput | PutResourcePolicyCommandOutput | RegisterStreamConsumerCommandOutput | RemoveTagsFromStreamCommandOutput | SplitShardCommandOutput | StartStreamEncryptionCommandOutput | StopStreamEncryptionCommandOutput | SubscribeToShardCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateMaxRecordSizeCommandOutput | UpdateShardCountCommandOutput | UpdateStreamModeCommandOutput;
|
|
60
|
+
export type ServiceOutputTypes = AddTagsToStreamCommandOutput | CreateStreamCommandOutput | DecreaseStreamRetentionPeriodCommandOutput | DeleteResourcePolicyCommandOutput | DeleteStreamCommandOutput | DeregisterStreamConsumerCommandOutput | DescribeAccountSettingsCommandOutput | DescribeLimitsCommandOutput | DescribeStreamCommandOutput | DescribeStreamConsumerCommandOutput | DescribeStreamSummaryCommandOutput | DisableEnhancedMonitoringCommandOutput | EnableEnhancedMonitoringCommandOutput | GetRecordsCommandOutput | GetResourcePolicyCommandOutput | GetShardIteratorCommandOutput | IncreaseStreamRetentionPeriodCommandOutput | ListShardsCommandOutput | ListStreamConsumersCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForStreamCommandOutput | MergeShardsCommandOutput | PutRecordCommandOutput | PutRecordsCommandOutput | PutResourcePolicyCommandOutput | RegisterStreamConsumerCommandOutput | RemoveTagsFromStreamCommandOutput | SplitShardCommandOutput | StartStreamEncryptionCommandOutput | StopStreamEncryptionCommandOutput | SubscribeToShardCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateMaxRecordSizeCommandOutput | UpdateShardCountCommandOutput | UpdateStreamModeCommandOutput | UpdateStreamWarmThroughputCommandOutput;
|
|
58
61
|
/**
|
|
59
62
|
* @public
|
|
60
63
|
*/
|
|
@@ -31,16 +31,9 @@ declare const CreateStreamCommand_base: {
|
|
|
31
31
|
* continuously emitted from different data sources or <i>producers</i>.
|
|
32
32
|
* Scale-out within a stream is explicitly supported by means of shards, which are uniquely
|
|
33
33
|
* identified groups of data records in a stream.</p>
|
|
34
|
-
* <p>You can create your data stream using either on-demand or provisioned capacity mode.
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* Kinesis Data Streams automatically manages the shards in order to provide the necessary
|
|
38
|
-
* throughput. For the data streams with a provisioned mode, you must specify the number of
|
|
39
|
-
* shards for the data stream. Each shard can support reads up to five transactions per
|
|
40
|
-
* second, up to a maximum data read total of 2 MiB per second. Each shard can support
|
|
41
|
-
* writes up to 1,000 records per second, up to a maximum data write total of 1 MiB per
|
|
42
|
-
* second. If the amount of data input increases or decreases, you can add or remove
|
|
43
|
-
* shards.</p>
|
|
34
|
+
* <p>You can create your data stream using either on-demand or provisioned capacity mode. Data streams with an on-demand mode require no capacity planning and automatically scale to handle gigabytes of write and read throughput per minute. With the on-demand mode, Kinesis Data Streams automatically manages the shards in order to provide the necessary throughput.</p>
|
|
35
|
+
* <p>If you'd still like to proactively scale your on-demand data stream’s capacity, you can unlock the warm throughput feature for on-demand data streams by enabling <code>MinimumThroughputBillingCommitment</code> for your account. Once your account has <code>MinimumThroughputBillingCommitment</code> enabled, you can specify the warm throughput in MiB per second that your stream can support in writes.</p>
|
|
36
|
+
* <p>For the data streams with a provisioned mode, you must specify the number of shards for the data stream. Each shard can support reads up to five transactions per second, up to a maximum data read total of 2 MiB per second. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MiB per second. If the amount of data input increases or decreases, you can add or remove shards.</p>
|
|
44
37
|
* <p>The stream name identifies the stream. The name is scoped to the Amazon Web Services
|
|
45
38
|
* account used by the application. It is also scoped by Amazon Web Services Region. That
|
|
46
39
|
* is, two streams in two different accounts can have the same name, and two streams in the
|
|
@@ -62,10 +55,7 @@ declare const CreateStreamCommand_base: {
|
|
|
62
55
|
* <p>Create more shards than are authorized for your account.</p>
|
|
63
56
|
* </li>
|
|
64
57
|
* </ul>
|
|
65
|
-
* <p>For the default shard
|
|
66
|
-
* Kinesis Data Streams Limits</a> in the <i>Amazon Kinesis Data Streams
|
|
67
|
-
* Developer Guide</i>. To increase this limit, <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">contact Amazon Web Services
|
|
68
|
-
* Support</a>.</p>
|
|
58
|
+
* <p>For the default shard or on-demand throughput limits for an Amazon Web Services account, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html">Amazon Kinesis Data Streams Limits</a> in the <i>Amazon Kinesis Data Streams Developer Guide</i>. To increase this limit, <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">contact Amazon Web Services Support</a>.</p>
|
|
69
59
|
* <p>You can use <a>DescribeStreamSummary</a> to check the stream status, which
|
|
70
60
|
* is returned in <code>StreamStatus</code>.</p>
|
|
71
61
|
* <p>
|
|
@@ -89,6 +79,7 @@ declare const CreateStreamCommand_base: {
|
|
|
89
79
|
* Tags: { // TagMap
|
|
90
80
|
* "<keys>": "STRING_VALUE",
|
|
91
81
|
* },
|
|
82
|
+
* WarmThroughputMiBps: Number("int"),
|
|
92
83
|
* MaxRecordSizeInKiB: Number("int"),
|
|
93
84
|
* };
|
|
94
85
|
* const command = new CreateStreamCommand(input);
|
|
@@ -115,6 +106,11 @@ declare const CreateStreamCommand_base: {
|
|
|
115
106
|
* <p>The resource is not available for this operation. For successful operation, the
|
|
116
107
|
* resource must be in the <code>ACTIVE</code> state.</p>
|
|
117
108
|
*
|
|
109
|
+
* @throws {@link ValidationException} (client fault)
|
|
110
|
+
* <p>Specifies that you tried to invoke this API for a data stream with the on-demand
|
|
111
|
+
* capacity mode. This API is only supported for data streams with the provisioned capacity
|
|
112
|
+
* mode. </p>
|
|
113
|
+
*
|
|
118
114
|
* @throws {@link KinesisServiceException}
|
|
119
115
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
120
116
|
*
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
|
+
import { DescribeAccountSettingsInput, DescribeAccountSettingsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeAccountSettingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeAccountSettingsCommandInput extends DescribeAccountSettingsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeAccountSettingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeAccountSettingsCommandOutput extends DescribeAccountSettingsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeAccountSettingsCommand_base: {
|
|
25
|
+
new (input: DescribeAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DescribeAccountSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Describes the account-level settings for Amazon Kinesis Data Streams. This operation returns information about the minimum throughput billing commitments and other account-level configurations.</p>
|
|
31
|
+
* <p>This API has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. TPS over 5 will initiate the <code>LimitExceededException</code>.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { KinesisClient, DescribeAccountSettingsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
36
|
+
* // const { KinesisClient, DescribeAccountSettingsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
37
|
+
* // import type { KinesisClientConfig } from "@aws-sdk/client-kinesis";
|
|
38
|
+
* const config = {}; // type is KinesisClientConfig
|
|
39
|
+
* const client = new KinesisClient(config);
|
|
40
|
+
* const input = {};
|
|
41
|
+
* const command = new DescribeAccountSettingsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeAccountSettingsOutput
|
|
44
|
+
* // MinimumThroughputBillingCommitment: { // MinimumThroughputBillingCommitmentOutput
|
|
45
|
+
* // Status: "ENABLED" || "DISABLED" || "ENABLED_UNTIL_EARLIEST_ALLOWED_END", // required
|
|
46
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
47
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // EarliestAllowedEndAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param DescribeAccountSettingsCommandInput - {@link DescribeAccountSettingsCommandInput}
|
|
55
|
+
* @returns {@link DescribeAccountSettingsCommandOutput}
|
|
56
|
+
* @see {@link DescribeAccountSettingsCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link DescribeAccountSettingsCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link KinesisClientResolvedConfig | config} for KinesisClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
61
|
+
* <p>The requested resource exceeds the maximum number allowed, or the number of concurrent
|
|
62
|
+
* stream requests exceeds the maximum number allowed. </p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link KinesisServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class DescribeAccountSettingsCommand extends DescribeAccountSettingsCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: {};
|
|
75
|
+
output: DescribeAccountSettingsOutput;
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: DescribeAccountSettingsCommandInput;
|
|
79
|
+
output: DescribeAccountSettingsCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -75,6 +75,10 @@ declare const DescribeStreamSummaryCommand_base: {
|
|
|
75
75
|
* // KeyId: "STRING_VALUE",
|
|
76
76
|
* // OpenShardCount: Number("int"), // required
|
|
77
77
|
* // ConsumerCount: Number("int"),
|
|
78
|
+
* // WarmThroughput: { // WarmThroughputObject
|
|
79
|
+
* // TargetMiBps: Number("int"),
|
|
80
|
+
* // CurrentMiBps: Number("int"),
|
|
81
|
+
* // },
|
|
78
82
|
* // MaxRecordSizeInKiB: Number("int"),
|
|
79
83
|
* // },
|
|
80
84
|
* // };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
|
+
import { UpdateAccountSettingsInput, UpdateAccountSettingsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateAccountSettingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAccountSettingsCommandInput extends UpdateAccountSettingsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAccountSettingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAccountSettingsCommandOutput extends UpdateAccountSettingsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAccountSettingsCommand_base: {
|
|
25
|
+
new (input: UpdateAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the account-level settings for Amazon Kinesis Data Streams.</p>
|
|
31
|
+
* <p>Updating account settings is a synchronous operation. Upon receiving the request, Kinesis Data Streams will return immediately with your account’s updated settings.</p>
|
|
32
|
+
* <p>
|
|
33
|
+
* <b>API limits</b>
|
|
34
|
+
* </p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>Certain account configurations have minimum commitment windows. Attempting to update your settings prior to the end of the minimum commitment window might have certain restrictions.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>This API has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. TPS over 5 will initiate the <code>LimitExceededException</code>.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* </ul>
|
|
43
|
+
* @example
|
|
44
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
+
* ```javascript
|
|
46
|
+
* import { KinesisClient, UpdateAccountSettingsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
47
|
+
* // const { KinesisClient, UpdateAccountSettingsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
48
|
+
* // import type { KinesisClientConfig } from "@aws-sdk/client-kinesis";
|
|
49
|
+
* const config = {}; // type is KinesisClientConfig
|
|
50
|
+
* const client = new KinesisClient(config);
|
|
51
|
+
* const input = { // UpdateAccountSettingsInput
|
|
52
|
+
* MinimumThroughputBillingCommitment: { // MinimumThroughputBillingCommitmentInput
|
|
53
|
+
* Status: "ENABLED" || "DISABLED", // required
|
|
54
|
+
* },
|
|
55
|
+
* };
|
|
56
|
+
* const command = new UpdateAccountSettingsCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // UpdateAccountSettingsOutput
|
|
59
|
+
* // MinimumThroughputBillingCommitment: { // MinimumThroughputBillingCommitmentOutput
|
|
60
|
+
* // Status: "ENABLED" || "DISABLED" || "ENABLED_UNTIL_EARLIEST_ALLOWED_END", // required
|
|
61
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // EarliestAllowedEndAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param UpdateAccountSettingsCommandInput - {@link UpdateAccountSettingsCommandInput}
|
|
70
|
+
* @returns {@link UpdateAccountSettingsCommandOutput}
|
|
71
|
+
* @see {@link UpdateAccountSettingsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link UpdateAccountSettingsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link KinesisClientResolvedConfig | config} for KinesisClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
76
|
+
* <p>A specified parameter exceeds its restrictions, is not supported, or can't be used.
|
|
77
|
+
* For more information, see the returned message.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
80
|
+
* <p>The requested resource exceeds the maximum number allowed, or the number of concurrent
|
|
81
|
+
* stream requests exceeds the maximum number allowed. </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>Specifies that you tried to invoke this API for a data stream with the on-demand
|
|
85
|
+
* capacity mode. This API is only supported for data streams with the provisioned capacity
|
|
86
|
+
* mode. </p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link KinesisServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class UpdateAccountSettingsCommand extends UpdateAccountSettingsCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: UpdateAccountSettingsInput;
|
|
99
|
+
output: UpdateAccountSettingsOutput;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: UpdateAccountSettingsCommandInput;
|
|
103
|
+
output: UpdateAccountSettingsCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -31,6 +31,7 @@ declare const UpdateStreamModeCommand_base: {
|
|
|
31
31
|
* can choose between an <b>on-demand</b> capacity mode and a
|
|
32
32
|
* <b>provisioned</b> capacity mode for your data stream.
|
|
33
33
|
* </p>
|
|
34
|
+
* <p>If you'd still like to proactively scale your on-demand data stream’s capacity, you can unlock the warm throughput feature for on-demand data streams by enabling <code>MinimumThroughputBillingCommitment</code> for your account. Once your account has <code>MinimumThroughputBillingCommitment</code> enabled, you can specify the warm throughput in MiB per second that your stream can support in writes.</p>
|
|
34
35
|
* @example
|
|
35
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
37
|
* ```javascript
|
|
@@ -44,6 +45,7 @@ declare const UpdateStreamModeCommand_base: {
|
|
|
44
45
|
* StreamModeDetails: { // StreamModeDetails
|
|
45
46
|
* StreamMode: "PROVISIONED" || "ON_DEMAND", // required
|
|
46
47
|
* },
|
|
48
|
+
* WarmThroughputMiBps: Number("int"),
|
|
47
49
|
* };
|
|
48
50
|
* const command = new UpdateStreamModeCommand(input);
|
|
49
51
|
* const response = await client.send(command);
|
|
@@ -73,6 +75,11 @@ declare const UpdateStreamModeCommand_base: {
|
|
|
73
75
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
74
76
|
* correctly.</p>
|
|
75
77
|
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>Specifies that you tried to invoke this API for a data stream with the on-demand
|
|
80
|
+
* capacity mode. This API is only supported for data streams with the provisioned capacity
|
|
81
|
+
* mode. </p>
|
|
82
|
+
*
|
|
76
83
|
* @throws {@link KinesisServiceException}
|
|
77
84
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
78
85
|
*
|