@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.
Files changed (29) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +163 -15
  3. package/dist-es/Kinesis.js +6 -0
  4. package/dist-es/commands/DescribeAccountSettingsCommand.js +22 -0
  5. package/dist-es/commands/UpdateAccountSettingsCommand.js +22 -0
  6. package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +26 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +21 -12
  9. package/dist-es/protocols/Aws_json1_1.js +79 -3
  10. package/dist-types/Kinesis.d.ts +22 -0
  11. package/dist-types/KinesisClient.d.ts +5 -2
  12. package/dist-types/commands/CreateStreamCommand.d.ts +10 -14
  13. package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +82 -0
  14. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +4 -0
  15. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +106 -0
  16. package/dist-types/commands/UpdateStreamModeCommand.d.ts +7 -0
  17. package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +122 -0
  18. package/dist-types/commands/index.d.ts +3 -0
  19. package/dist-types/models/models_0.d.ts +198 -14
  20. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  21. package/dist-types/ts3.4/Kinesis.d.ts +52 -0
  22. package/dist-types/ts3.4/KinesisClient.d.ts +20 -2
  23. package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +51 -0
  24. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/UpdateStreamWarmThroughputCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +62 -7
  28. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  29. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ KinesisClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../KinesisClient";
8
+ import {
9
+ DescribeAccountSettingsInput,
10
+ DescribeAccountSettingsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeAccountSettingsCommandInput
15
+ extends DescribeAccountSettingsInput {}
16
+ export interface DescribeAccountSettingsCommandOutput
17
+ extends DescribeAccountSettingsOutput,
18
+ __MetadataBearer {}
19
+ declare const DescribeAccountSettingsCommand_base: {
20
+ new (
21
+ input: DescribeAccountSettingsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeAccountSettingsCommandInput,
24
+ DescribeAccountSettingsCommandOutput,
25
+ KinesisClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeAccountSettingsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeAccountSettingsCommandInput,
33
+ DescribeAccountSettingsCommandOutput,
34
+ KinesisClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeAccountSettingsCommand extends DescribeAccountSettingsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: {};
44
+ output: DescribeAccountSettingsOutput;
45
+ };
46
+ sdk: {
47
+ input: DescribeAccountSettingsCommandInput;
48
+ output: DescribeAccountSettingsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ KinesisClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../KinesisClient";
8
+ import {
9
+ UpdateAccountSettingsInput,
10
+ UpdateAccountSettingsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateAccountSettingsCommandInput
15
+ extends UpdateAccountSettingsInput {}
16
+ export interface UpdateAccountSettingsCommandOutput
17
+ extends UpdateAccountSettingsOutput,
18
+ __MetadataBearer {}
19
+ declare const UpdateAccountSettingsCommand_base: {
20
+ new (
21
+ input: UpdateAccountSettingsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateAccountSettingsCommandInput,
24
+ UpdateAccountSettingsCommandOutput,
25
+ KinesisClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateAccountSettingsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateAccountSettingsCommandInput,
33
+ UpdateAccountSettingsCommandOutput,
34
+ KinesisClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateAccountSettingsCommand extends UpdateAccountSettingsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateAccountSettingsInput;
44
+ output: UpdateAccountSettingsOutput;
45
+ };
46
+ sdk: {
47
+ input: UpdateAccountSettingsCommandInput;
48
+ output: UpdateAccountSettingsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ KinesisClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../KinesisClient";
8
+ import {
9
+ UpdateStreamWarmThroughputInput,
10
+ UpdateStreamWarmThroughputOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateStreamWarmThroughputCommandInput
15
+ extends UpdateStreamWarmThroughputInput {}
16
+ export interface UpdateStreamWarmThroughputCommandOutput
17
+ extends UpdateStreamWarmThroughputOutput,
18
+ __MetadataBearer {}
19
+ declare const UpdateStreamWarmThroughputCommand_base: {
20
+ new (
21
+ input: UpdateStreamWarmThroughputCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateStreamWarmThroughputCommandInput,
24
+ UpdateStreamWarmThroughputCommandOutput,
25
+ KinesisClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateStreamWarmThroughputCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateStreamWarmThroughputCommandInput,
33
+ UpdateStreamWarmThroughputCommandOutput,
34
+ KinesisClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateStreamWarmThroughputCommand extends UpdateStreamWarmThroughputCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateStreamWarmThroughputInput;
44
+ output: UpdateStreamWarmThroughputOutput;
45
+ };
46
+ sdk: {
47
+ input: UpdateStreamWarmThroughputCommandInput;
48
+ output: UpdateStreamWarmThroughputCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -4,6 +4,7 @@ export * from "./DecreaseStreamRetentionPeriodCommand";
4
4
  export * from "./DeleteResourcePolicyCommand";
5
5
  export * from "./DeleteStreamCommand";
6
6
  export * from "./DeregisterStreamConsumerCommand";
7
+ export * from "./DescribeAccountSettingsCommand";
7
8
  export * from "./DescribeLimitsCommand";
8
9
  export * from "./DescribeStreamCommand";
9
10
  export * from "./DescribeStreamConsumerCommand";
@@ -31,6 +32,8 @@ export * from "./StopStreamEncryptionCommand";
31
32
  export * from "./SubscribeToShardCommand";
32
33
  export * from "./TagResourceCommand";
33
34
  export * from "./UntagResourceCommand";
35
+ export * from "./UpdateAccountSettingsCommand";
34
36
  export * from "./UpdateMaxRecordSizeCommand";
35
37
  export * from "./UpdateShardCountCommand";
36
38
  export * from "./UpdateStreamModeCommand";
39
+ export * from "./UpdateStreamWarmThroughputCommand";
@@ -82,8 +82,16 @@ export interface CreateStreamInput {
82
82
  ShardCount?: number | undefined;
83
83
  StreamModeDetails?: StreamModeDetails | undefined;
84
84
  Tags?: Record<string, string> | undefined;
85
+ WarmThroughputMiBps?: number | undefined;
85
86
  MaxRecordSizeInKiB?: number | undefined;
86
87
  }
88
+ export declare class ValidationException extends __BaseException {
89
+ readonly name: "ValidationException";
90
+ readonly $fault: "client";
91
+ constructor(
92
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
93
+ );
94
+ }
87
95
  export interface DecreaseStreamRetentionPeriodInput {
88
96
  StreamName?: string | undefined;
89
97
  RetentionPeriodHours: number | undefined;
@@ -102,6 +110,25 @@ export interface DeregisterStreamConsumerInput {
102
110
  ConsumerName?: string | undefined;
103
111
  ConsumerARN?: string | undefined;
104
112
  }
113
+ export interface DescribeAccountSettingsInput {}
114
+ export declare const MinimumThroughputBillingCommitmentOutputStatus: {
115
+ readonly DISABLED: "DISABLED";
116
+ readonly ENABLED: "ENABLED";
117
+ readonly ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END";
118
+ };
119
+ export type MinimumThroughputBillingCommitmentOutputStatus =
120
+ (typeof MinimumThroughputBillingCommitmentOutputStatus)[keyof typeof MinimumThroughputBillingCommitmentOutputStatus];
121
+ export interface MinimumThroughputBillingCommitmentOutput {
122
+ Status: MinimumThroughputBillingCommitmentOutputStatus | undefined;
123
+ StartedAt?: Date | undefined;
124
+ EndedAt?: Date | undefined;
125
+ EarliestAllowedEndAt?: Date | undefined;
126
+ }
127
+ export interface DescribeAccountSettingsOutput {
128
+ MinimumThroughputBillingCommitment?:
129
+ | MinimumThroughputBillingCommitmentOutput
130
+ | undefined;
131
+ }
105
132
  export interface DescribeLimitsInput {}
106
133
  export interface DescribeLimitsOutput {
107
134
  ShardLimit: number | undefined;
@@ -181,6 +208,10 @@ export interface DescribeStreamSummaryInput {
181
208
  StreamName?: string | undefined;
182
209
  StreamARN?: string | undefined;
183
210
  }
211
+ export interface WarmThroughputObject {
212
+ TargetMiBps?: number | undefined;
213
+ CurrentMiBps?: number | undefined;
214
+ }
184
215
  export interface StreamDescriptionSummary {
185
216
  StreamName: string | undefined;
186
217
  StreamARN: string | undefined;
@@ -193,6 +224,7 @@ export interface StreamDescriptionSummary {
193
224
  KeyId?: string | undefined;
194
225
  OpenShardCount: number | undefined;
195
226
  ConsumerCount?: number | undefined;
227
+ WarmThroughput?: WarmThroughputObject | undefined;
196
228
  MaxRecordSizeInKiB?: number | undefined;
197
229
  }
198
230
  export interface DescribeStreamSummaryOutput {
@@ -416,13 +448,6 @@ export interface MergeShardsInput {
416
448
  AdjacentShardToMerge: string | undefined;
417
449
  StreamARN?: string | undefined;
418
450
  }
419
- export declare class ValidationException extends __BaseException {
420
- readonly name: "ValidationException";
421
- readonly $fault: "client";
422
- constructor(
423
- opts: __ExceptionOptionType<ValidationException, __BaseException>
424
- );
425
- }
426
451
  export interface PutRecordInput {
427
452
  StreamName?: string | undefined;
428
453
  Data: Uint8Array | undefined;
@@ -693,6 +718,25 @@ export interface UntagResourceInput {
693
718
  TagKeys: string[] | undefined;
694
719
  ResourceARN: string | undefined;
695
720
  }
721
+ export declare const MinimumThroughputBillingCommitmentInputStatus: {
722
+ readonly DISABLED: "DISABLED";
723
+ readonly ENABLED: "ENABLED";
724
+ };
725
+ export type MinimumThroughputBillingCommitmentInputStatus =
726
+ (typeof MinimumThroughputBillingCommitmentInputStatus)[keyof typeof MinimumThroughputBillingCommitmentInputStatus];
727
+ export interface MinimumThroughputBillingCommitmentInput {
728
+ Status: MinimumThroughputBillingCommitmentInputStatus | undefined;
729
+ }
730
+ export interface UpdateAccountSettingsInput {
731
+ MinimumThroughputBillingCommitment:
732
+ | MinimumThroughputBillingCommitmentInput
733
+ | undefined;
734
+ }
735
+ export interface UpdateAccountSettingsOutput {
736
+ MinimumThroughputBillingCommitment?:
737
+ | MinimumThroughputBillingCommitmentOutput
738
+ | undefined;
739
+ }
696
740
  export interface UpdateMaxRecordSizeInput {
697
741
  StreamARN?: string | undefined;
698
742
  MaxRecordSizeInKiB: number | undefined;
@@ -716,6 +760,17 @@ export interface UpdateShardCountOutput {
716
760
  export interface UpdateStreamModeInput {
717
761
  StreamARN: string | undefined;
718
762
  StreamModeDetails: StreamModeDetails | undefined;
763
+ WarmThroughputMiBps?: number | undefined;
764
+ }
765
+ export interface UpdateStreamWarmThroughputInput {
766
+ StreamARN?: string | undefined;
767
+ StreamName?: string | undefined;
768
+ WarmThroughputMiBps: number | undefined;
769
+ }
770
+ export interface UpdateStreamWarmThroughputOutput {
771
+ StreamARN?: string | undefined;
772
+ StreamName?: string | undefined;
773
+ WarmThroughput?: WarmThroughputObject | undefined;
719
774
  }
720
775
  export declare const SubscribeToShardEventStreamFilterSensitiveLog: (
721
776
  obj: SubscribeToShardEventStream
@@ -30,6 +30,10 @@ import {
30
30
  DeregisterStreamConsumerCommandInput,
31
31
  DeregisterStreamConsumerCommandOutput,
32
32
  } from "../commands/DeregisterStreamConsumerCommand";
33
+ import {
34
+ DescribeAccountSettingsCommandInput,
35
+ DescribeAccountSettingsCommandOutput,
36
+ } from "../commands/DescribeAccountSettingsCommand";
33
37
  import {
34
38
  DescribeLimitsCommandInput,
35
39
  DescribeLimitsCommandOutput,
@@ -138,6 +142,10 @@ import {
138
142
  UntagResourceCommandInput,
139
143
  UntagResourceCommandOutput,
140
144
  } from "../commands/UntagResourceCommand";
145
+ import {
146
+ UpdateAccountSettingsCommandInput,
147
+ UpdateAccountSettingsCommandOutput,
148
+ } from "../commands/UpdateAccountSettingsCommand";
141
149
  import {
142
150
  UpdateMaxRecordSizeCommandInput,
143
151
  UpdateMaxRecordSizeCommandOutput,
@@ -150,6 +158,10 @@ import {
150
158
  UpdateStreamModeCommandInput,
151
159
  UpdateStreamModeCommandOutput,
152
160
  } from "../commands/UpdateStreamModeCommand";
161
+ import {
162
+ UpdateStreamWarmThroughputCommandInput,
163
+ UpdateStreamWarmThroughputCommandOutput,
164
+ } from "../commands/UpdateStreamWarmThroughputCommand";
153
165
  export declare const se_AddTagsToStreamCommand: (
154
166
  input: AddTagsToStreamCommandInput,
155
167
  context: __SerdeContext
@@ -174,6 +186,10 @@ export declare const se_DeregisterStreamConsumerCommand: (
174
186
  input: DeregisterStreamConsumerCommandInput,
175
187
  context: __SerdeContext
176
188
  ) => Promise<__HttpRequest>;
189
+ export declare const se_DescribeAccountSettingsCommand: (
190
+ input: DescribeAccountSettingsCommandInput,
191
+ context: __SerdeContext
192
+ ) => Promise<__HttpRequest>;
177
193
  export declare const se_DescribeLimitsCommand: (
178
194
  input: DescribeLimitsCommandInput,
179
195
  context: __SerdeContext
@@ -282,6 +298,10 @@ export declare const se_UntagResourceCommand: (
282
298
  input: UntagResourceCommandInput,
283
299
  context: __SerdeContext
284
300
  ) => Promise<__HttpRequest>;
301
+ export declare const se_UpdateAccountSettingsCommand: (
302
+ input: UpdateAccountSettingsCommandInput,
303
+ context: __SerdeContext
304
+ ) => Promise<__HttpRequest>;
285
305
  export declare const se_UpdateMaxRecordSizeCommand: (
286
306
  input: UpdateMaxRecordSizeCommandInput,
287
307
  context: __SerdeContext
@@ -294,6 +314,10 @@ export declare const se_UpdateStreamModeCommand: (
294
314
  input: UpdateStreamModeCommandInput,
295
315
  context: __SerdeContext
296
316
  ) => Promise<__HttpRequest>;
317
+ export declare const se_UpdateStreamWarmThroughputCommand: (
318
+ input: UpdateStreamWarmThroughputCommandInput,
319
+ context: __SerdeContext
320
+ ) => Promise<__HttpRequest>;
297
321
  export declare const de_AddTagsToStreamCommand: (
298
322
  output: __HttpResponse,
299
323
  context: __SerdeContext
@@ -318,6 +342,10 @@ export declare const de_DeregisterStreamConsumerCommand: (
318
342
  output: __HttpResponse,
319
343
  context: __SerdeContext
320
344
  ) => Promise<DeregisterStreamConsumerCommandOutput>;
345
+ export declare const de_DescribeAccountSettingsCommand: (
346
+ output: __HttpResponse,
347
+ context: __SerdeContext
348
+ ) => Promise<DescribeAccountSettingsCommandOutput>;
321
349
  export declare const de_DescribeLimitsCommand: (
322
350
  output: __HttpResponse,
323
351
  context: __SerdeContext
@@ -426,6 +454,10 @@ export declare const de_UntagResourceCommand: (
426
454
  output: __HttpResponse,
427
455
  context: __SerdeContext
428
456
  ) => Promise<UntagResourceCommandOutput>;
457
+ export declare const de_UpdateAccountSettingsCommand: (
458
+ output: __HttpResponse,
459
+ context: __SerdeContext
460
+ ) => Promise<UpdateAccountSettingsCommandOutput>;
429
461
  export declare const de_UpdateMaxRecordSizeCommand: (
430
462
  output: __HttpResponse,
431
463
  context: __SerdeContext
@@ -438,3 +470,7 @@ export declare const de_UpdateStreamModeCommand: (
438
470
  output: __HttpResponse,
439
471
  context: __SerdeContext
440
472
  ) => Promise<UpdateStreamModeCommandOutput>;
473
+ export declare const de_UpdateStreamWarmThroughputCommand: (
474
+ output: __HttpResponse,
475
+ context: __SerdeContext
476
+ ) => Promise<UpdateStreamWarmThroughputCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
3
  "description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
4
- "version": "3.922.0",
4
+ "version": "3.923.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kinesis",