@aws-sdk/client-kinesis 3.980.0 → 3.982.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 (79) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +1 -0
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/index.js +113 -78
  4. package/dist-es/commands/AddTagsToStreamCommand.js +1 -0
  5. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +1 -0
  6. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -0
  7. package/dist-es/commands/DeleteStreamCommand.js +1 -0
  8. package/dist-es/commands/DeregisterStreamConsumerCommand.js +1 -0
  9. package/dist-es/commands/DescribeStreamCommand.js +1 -0
  10. package/dist-es/commands/DescribeStreamConsumerCommand.js +1 -0
  11. package/dist-es/commands/DescribeStreamSummaryCommand.js +1 -0
  12. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +1 -0
  13. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +1 -0
  14. package/dist-es/commands/GetRecordsCommand.js +1 -0
  15. package/dist-es/commands/GetResourcePolicyCommand.js +1 -0
  16. package/dist-es/commands/GetShardIteratorCommand.js +1 -0
  17. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +1 -0
  18. package/dist-es/commands/ListShardsCommand.js +1 -0
  19. package/dist-es/commands/ListStreamConsumersCommand.js +1 -0
  20. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  21. package/dist-es/commands/ListTagsForStreamCommand.js +1 -0
  22. package/dist-es/commands/MergeShardsCommand.js +1 -0
  23. package/dist-es/commands/PutRecordCommand.js +1 -0
  24. package/dist-es/commands/PutRecordsCommand.js +1 -0
  25. package/dist-es/commands/PutResourcePolicyCommand.js +1 -0
  26. package/dist-es/commands/RegisterStreamConsumerCommand.js +1 -0
  27. package/dist-es/commands/RemoveTagsFromStreamCommand.js +1 -0
  28. package/dist-es/commands/SplitShardCommand.js +1 -0
  29. package/dist-es/commands/StartStreamEncryptionCommand.js +1 -0
  30. package/dist-es/commands/StopStreamEncryptionCommand.js +1 -0
  31. package/dist-es/commands/SubscribeToShardCommand.js +1 -0
  32. package/dist-es/commands/TagResourceCommand.js +1 -0
  33. package/dist-es/commands/UntagResourceCommand.js +1 -0
  34. package/dist-es/commands/UpdateMaxRecordSizeCommand.js +1 -0
  35. package/dist-es/commands/UpdateShardCountCommand.js +1 -0
  36. package/dist-es/commands/UpdateStreamModeCommand.js +1 -0
  37. package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +1 -0
  38. package/dist-es/endpoint/endpointResolver.js +1 -0
  39. package/dist-es/endpoint/ruleset.js +3 -3
  40. package/dist-es/schemas/schemas_0.js +79 -78
  41. package/dist-types/commands/AddTagsToStreamCommand.d.ts +1 -0
  42. package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
  44. package/dist-types/commands/DeleteStreamCommand.d.ts +1 -0
  45. package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +1 -0
  46. package/dist-types/commands/DescribeStreamCommand.d.ts +1 -0
  47. package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +1 -0
  48. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +2 -0
  49. package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +1 -0
  50. package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +1 -0
  51. package/dist-types/commands/GetRecordsCommand.d.ts +1 -0
  52. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -0
  53. package/dist-types/commands/GetShardIteratorCommand.d.ts +1 -0
  54. package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +1 -0
  55. package/dist-types/commands/ListShardsCommand.d.ts +1 -0
  56. package/dist-types/commands/ListStreamConsumersCommand.d.ts +1 -0
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  58. package/dist-types/commands/ListTagsForStreamCommand.d.ts +1 -0
  59. package/dist-types/commands/MergeShardsCommand.d.ts +1 -0
  60. package/dist-types/commands/PutRecordCommand.d.ts +1 -0
  61. package/dist-types/commands/PutRecordsCommand.d.ts +1 -0
  62. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -0
  63. package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +1 -0
  64. package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +1 -0
  65. package/dist-types/commands/SplitShardCommand.d.ts +1 -0
  66. package/dist-types/commands/StartStreamEncryptionCommand.d.ts +1 -0
  67. package/dist-types/commands/StopStreamEncryptionCommand.d.ts +1 -0
  68. package/dist-types/commands/SubscribeToShardCommand.d.ts +1 -0
  69. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  70. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  71. package/dist-types/commands/UpdateMaxRecordSizeCommand.d.ts +1 -0
  72. package/dist-types/commands/UpdateShardCountCommand.d.ts +1 -0
  73. package/dist-types/commands/UpdateStreamModeCommand.d.ts +1 -0
  74. package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +1 -0
  75. package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
  76. package/dist-types/models/models_0.d.ts +177 -2
  77. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +35 -0
  79. package/package.json +6 -6
@@ -25,6 +25,7 @@ export interface AddTagsToStreamInput {
25
25
  StreamName?: string | undefined;
26
26
  Tags: Record<string, string> | undefined;
27
27
  StreamARN?: string | undefined;
28
+ StreamId?: string | undefined;
28
29
  }
29
30
  export interface HashKeyRange {
30
31
  StartingHashKey: string | undefined;
@@ -63,19 +64,23 @@ export interface DecreaseStreamRetentionPeriodInput {
63
64
  StreamName?: string | undefined;
64
65
  RetentionPeriodHours: number | undefined;
65
66
  StreamARN?: string | undefined;
67
+ StreamId?: string | undefined;
66
68
  }
67
69
  export interface DeleteResourcePolicyInput {
68
70
  ResourceARN: string | undefined;
71
+ StreamId?: string | undefined;
69
72
  }
70
73
  export interface DeleteStreamInput {
71
74
  StreamName?: string | undefined;
72
75
  EnforceConsumerDeletion?: boolean | undefined;
73
76
  StreamARN?: string | undefined;
77
+ StreamId?: string | undefined;
74
78
  }
75
79
  export interface DeregisterStreamConsumerInput {
76
80
  StreamARN?: string | undefined;
77
81
  ConsumerName?: string | undefined;
78
82
  ConsumerARN?: string | undefined;
83
+ StreamId?: string | undefined;
79
84
  }
80
85
  export interface DescribeAccountSettingsInput {}
81
86
  export interface MinimumThroughputBillingCommitmentOutput {
@@ -101,6 +106,7 @@ export interface DescribeStreamInput {
101
106
  Limit?: number | undefined;
102
107
  ExclusiveStartShardId?: string | undefined;
103
108
  StreamARN?: string | undefined;
109
+ StreamId?: string | undefined;
104
110
  }
105
111
  export interface EnhancedMetrics {
106
112
  ShardLevelMetrics?: MetricsName[] | undefined;
@@ -136,6 +142,7 @@ export interface DescribeStreamConsumerInput {
136
142
  StreamARN?: string | undefined;
137
143
  ConsumerName?: string | undefined;
138
144
  ConsumerARN?: string | undefined;
145
+ StreamId?: string | undefined;
139
146
  }
140
147
  export interface DescribeStreamConsumerOutput {
141
148
  ConsumerDescription: ConsumerDescription | undefined;
@@ -143,6 +150,7 @@ export interface DescribeStreamConsumerOutput {
143
150
  export interface DescribeStreamSummaryInput {
144
151
  StreamName?: string | undefined;
145
152
  StreamARN?: string | undefined;
153
+ StreamId?: string | undefined;
146
154
  }
147
155
  export interface WarmThroughputObject {
148
156
  TargetMiBps?: number | undefined;
@@ -151,6 +159,7 @@ export interface WarmThroughputObject {
151
159
  export interface StreamDescriptionSummary {
152
160
  StreamName: string | undefined;
153
161
  StreamARN: string | undefined;
162
+ StreamId?: string | undefined;
154
163
  StreamStatus: StreamStatus | undefined;
155
164
  StreamModeDetails?: StreamModeDetails | undefined;
156
165
  RetentionPeriodHours: number | undefined;
@@ -170,6 +179,7 @@ export interface DisableEnhancedMonitoringInput {
170
179
  StreamName?: string | undefined;
171
180
  ShardLevelMetrics: MetricsName[] | undefined;
172
181
  StreamARN?: string | undefined;
182
+ StreamId?: string | undefined;
173
183
  }
174
184
  export interface EnhancedMonitoringOutput {
175
185
  StreamName?: string | undefined;
@@ -181,11 +191,13 @@ export interface EnableEnhancedMonitoringInput {
181
191
  StreamName?: string | undefined;
182
192
  ShardLevelMetrics: MetricsName[] | undefined;
183
193
  StreamARN?: string | undefined;
194
+ StreamId?: string | undefined;
184
195
  }
185
196
  export interface GetRecordsInput {
186
197
  ShardIterator: string | undefined;
187
198
  Limit?: number | undefined;
188
199
  StreamARN?: string | undefined;
200
+ StreamId?: string | undefined;
189
201
  }
190
202
  export interface _Record {
191
203
  SequenceNumber: string | undefined;
@@ -202,6 +214,7 @@ export interface GetRecordsOutput {
202
214
  }
203
215
  export interface GetResourcePolicyInput {
204
216
  ResourceARN: string | undefined;
217
+ StreamId?: string | undefined;
205
218
  }
206
219
  export interface GetResourcePolicyOutput {
207
220
  Policy: string | undefined;
@@ -213,6 +226,7 @@ export interface GetShardIteratorInput {
213
226
  StartingSequenceNumber?: string | undefined;
214
227
  Timestamp?: Date | undefined;
215
228
  StreamARN?: string | undefined;
229
+ StreamId?: string | undefined;
216
230
  }
217
231
  export interface GetShardIteratorOutput {
218
232
  ShardIterator?: string | undefined;
@@ -221,6 +235,7 @@ export interface IncreaseStreamRetentionPeriodInput {
221
235
  StreamName?: string | undefined;
222
236
  RetentionPeriodHours: number | undefined;
223
237
  StreamARN?: string | undefined;
238
+ StreamId?: string | undefined;
224
239
  }
225
240
  export interface ShardFilter {
226
241
  Type: ShardFilterType | undefined;
@@ -235,6 +250,7 @@ export interface ListShardsInput {
235
250
  StreamCreationTimestamp?: Date | undefined;
236
251
  ShardFilter?: ShardFilter | undefined;
237
252
  StreamARN?: string | undefined;
253
+ StreamId?: string | undefined;
238
254
  }
239
255
  export interface ListShardsOutput {
240
256
  Shards?: Shard[] | undefined;
@@ -245,6 +261,7 @@ export interface ListStreamConsumersInput {
245
261
  NextToken?: string | undefined;
246
262
  MaxResults?: number | undefined;
247
263
  StreamCreationTimestamp?: Date | undefined;
264
+ StreamId?: string | undefined;
248
265
  }
249
266
  export interface ListStreamConsumersOutput {
250
267
  Consumers?: Consumer[] | undefined;
@@ -270,6 +287,7 @@ export interface ListStreamsOutput {
270
287
  }
271
288
  export interface ListTagsForResourceInput {
272
289
  ResourceARN: string | undefined;
290
+ StreamId?: string | undefined;
273
291
  }
274
292
  export interface Tag {
275
293
  Key: string | undefined;
@@ -283,6 +301,7 @@ export interface ListTagsForStreamInput {
283
301
  ExclusiveStartTagKey?: string | undefined;
284
302
  Limit?: number | undefined;
285
303
  StreamARN?: string | undefined;
304
+ StreamId?: string | undefined;
286
305
  }
287
306
  export interface ListTagsForStreamOutput {
288
307
  Tags: Tag[] | undefined;
@@ -293,6 +312,7 @@ export interface MergeShardsInput {
293
312
  ShardToMerge: string | undefined;
294
313
  AdjacentShardToMerge: string | undefined;
295
314
  StreamARN?: string | undefined;
315
+ StreamId?: string | undefined;
296
316
  }
297
317
  export interface PutRecordInput {
298
318
  StreamName?: string | undefined;
@@ -301,6 +321,7 @@ export interface PutRecordInput {
301
321
  ExplicitHashKey?: string | undefined;
302
322
  SequenceNumberForOrdering?: string | undefined;
303
323
  StreamARN?: string | undefined;
324
+ StreamId?: string | undefined;
304
325
  }
305
326
  export interface PutRecordOutput {
306
327
  ShardId: string | undefined;
@@ -316,6 +337,7 @@ export interface PutRecordsInput {
316
337
  Records: PutRecordsRequestEntry[] | undefined;
317
338
  StreamName?: string | undefined;
318
339
  StreamARN?: string | undefined;
340
+ StreamId?: string | undefined;
319
341
  }
320
342
  export interface PutRecordsResultEntry {
321
343
  SequenceNumber?: string | undefined;
@@ -330,11 +352,13 @@ export interface PutRecordsOutput {
330
352
  }
331
353
  export interface PutResourcePolicyInput {
332
354
  ResourceARN: string | undefined;
355
+ StreamId?: string | undefined;
333
356
  Policy: string | undefined;
334
357
  }
335
358
  export interface RegisterStreamConsumerInput {
336
359
  StreamARN: string | undefined;
337
360
  ConsumerName: string | undefined;
361
+ StreamId?: string | undefined;
338
362
  Tags?: Record<string, string> | undefined;
339
363
  }
340
364
  export interface RegisterStreamConsumerOutput {
@@ -344,24 +368,28 @@ export interface RemoveTagsFromStreamInput {
344
368
  StreamName?: string | undefined;
345
369
  TagKeys: string[] | undefined;
346
370
  StreamARN?: string | undefined;
371
+ StreamId?: string | undefined;
347
372
  }
348
373
  export interface SplitShardInput {
349
374
  StreamName?: string | undefined;
350
375
  ShardToSplit: string | undefined;
351
376
  NewStartingHashKey: string | undefined;
352
377
  StreamARN?: string | undefined;
378
+ StreamId?: string | undefined;
353
379
  }
354
380
  export interface StartStreamEncryptionInput {
355
381
  StreamName?: string | undefined;
356
382
  EncryptionType: EncryptionType | undefined;
357
383
  KeyId: string | undefined;
358
384
  StreamARN?: string | undefined;
385
+ StreamId?: string | undefined;
359
386
  }
360
387
  export interface StopStreamEncryptionInput {
361
388
  StreamName?: string | undefined;
362
389
  EncryptionType: EncryptionType | undefined;
363
390
  KeyId: string | undefined;
364
391
  StreamARN?: string | undefined;
392
+ StreamId?: string | undefined;
365
393
  }
366
394
  export interface StartingPosition {
367
395
  Type: ShardIteratorType | undefined;
@@ -370,6 +398,7 @@ export interface StartingPosition {
370
398
  }
371
399
  export interface SubscribeToShardInput {
372
400
  ConsumerARN: string | undefined;
401
+ StreamId?: string | undefined;
373
402
  ShardId: string | undefined;
374
403
  StartingPosition: StartingPosition | undefined;
375
404
  }
@@ -555,10 +584,12 @@ export interface SubscribeToShardOutput {
555
584
  export interface TagResourceInput {
556
585
  Tags: Record<string, string> | undefined;
557
586
  ResourceARN: string | undefined;
587
+ StreamId?: string | undefined;
558
588
  }
559
589
  export interface UntagResourceInput {
560
590
  TagKeys: string[] | undefined;
561
591
  ResourceARN: string | undefined;
592
+ StreamId?: string | undefined;
562
593
  }
563
594
  export interface MinimumThroughputBillingCommitmentInput {
564
595
  Status: MinimumThroughputBillingCommitmentInputStatus | undefined;
@@ -575,6 +606,7 @@ export interface UpdateAccountSettingsOutput {
575
606
  }
576
607
  export interface UpdateMaxRecordSizeInput {
577
608
  StreamARN?: string | undefined;
609
+ StreamId?: string | undefined;
578
610
  MaxRecordSizeInKiB: number | undefined;
579
611
  }
580
612
  export interface UpdateShardCountInput {
@@ -582,6 +614,7 @@ export interface UpdateShardCountInput {
582
614
  TargetShardCount: number | undefined;
583
615
  ScalingType: ScalingType | undefined;
584
616
  StreamARN?: string | undefined;
617
+ StreamId?: string | undefined;
585
618
  }
586
619
  export interface UpdateShardCountOutput {
587
620
  StreamName?: string | undefined;
@@ -591,12 +624,14 @@ export interface UpdateShardCountOutput {
591
624
  }
592
625
  export interface UpdateStreamModeInput {
593
626
  StreamARN: string | undefined;
627
+ StreamId?: string | undefined;
594
628
  StreamModeDetails: StreamModeDetails | undefined;
595
629
  WarmThroughputMiBps?: number | undefined;
596
630
  }
597
631
  export interface UpdateStreamWarmThroughputInput {
598
632
  StreamARN?: string | undefined;
599
633
  StreamName?: string | undefined;
634
+ StreamId?: string | undefined;
600
635
  WarmThroughputMiBps: number | undefined;
601
636
  }
602
637
  export interface UpdateStreamWarmThroughputOutput {
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.980.0",
4
+ "version": "3.982.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kinesis",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.5",
27
- "@aws-sdk/credential-provider-node": "^3.972.4",
26
+ "@aws-sdk/core": "^3.973.6",
27
+ "@aws-sdk/credential-provider-node": "^3.972.5",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.3",
29
29
  "@aws-sdk/middleware-logger": "^3.972.3",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
- "@aws-sdk/middleware-user-agent": "^3.972.5",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.6",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.3",
33
33
  "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.980.0",
34
+ "@aws-sdk/util-endpoints": "3.982.0",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
- "@aws-sdk/util-user-agent-node": "^3.972.3",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.4",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
38
  "@smithy/core": "^3.22.0",
39
39
  "@smithy/eventstream-serde-browser": "^4.2.8",