@aws-sdk/client-kinesis 3.427.0 → 3.429.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.
@@ -165,7 +165,7 @@ export interface Consumer {
165
165
  * <p>A consumer can't read data while in the <code>CREATING</code> or <code>DELETING</code>
166
166
  * states.</p>
167
167
  */
168
- ConsumerStatus: ConsumerStatus | string | undefined;
168
+ ConsumerStatus: ConsumerStatus | undefined;
169
169
  /**
170
170
  * @public
171
171
  * <p></p>
@@ -198,7 +198,7 @@ export interface ConsumerDescription {
198
198
  * <p>A consumer can't read data while in the <code>CREATING</code> or <code>DELETING</code>
199
199
  * states.</p>
200
200
  */
201
- ConsumerStatus: ConsumerStatus | string | undefined;
201
+ ConsumerStatus: ConsumerStatus | undefined;
202
202
  /**
203
203
  * @public
204
204
  * <p></p>
@@ -233,7 +233,7 @@ export interface StreamModeDetails {
233
233
  * <p> Specifies the capacity mode to which you want to set your data stream. Currently, in
234
234
  * Kinesis Data Streams, you can choose between an <b>on-demand</b> capacity mode and a <b>provisioned</b> capacity mode for your data streams. </p>
235
235
  */
236
- StreamMode: StreamMode | string | undefined;
236
+ StreamMode: StreamMode | undefined;
237
237
  }
238
238
  /**
239
239
  * @public
@@ -483,7 +483,7 @@ export interface EnhancedMetrics {
483
483
  * Kinesis Data Streams Service with Amazon CloudWatch</a> in the <i>Amazon
484
484
  * Kinesis Data Streams Developer Guide</i>.</p>
485
485
  */
486
- ShardLevelMetrics?: (MetricsName | string)[];
486
+ ShardLevelMetrics?: MetricsName[];
487
487
  }
488
488
  /**
489
489
  * @public
@@ -594,7 +594,7 @@ export interface StreamDescription {
594
594
  * </li>
595
595
  * </ul>
596
596
  */
597
- StreamStatus: StreamStatus | string | undefined;
597
+ StreamStatus: StreamStatus | undefined;
598
598
  /**
599
599
  * @public
600
600
  * <p> Specifies the capacity mode to which you want to set your data stream. Currently, in
@@ -644,7 +644,7 @@ export interface StreamDescription {
644
644
  * </li>
645
645
  * </ul>
646
646
  */
647
- EncryptionType?: EncryptionType | string;
647
+ EncryptionType?: EncryptionType;
648
648
  /**
649
649
  * @public
650
650
  * <p>The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
@@ -787,7 +787,7 @@ export interface StreamDescriptionSummary {
787
787
  * </li>
788
788
  * </ul>
789
789
  */
790
- StreamStatus: StreamStatus | string | undefined;
790
+ StreamStatus: StreamStatus | undefined;
791
791
  /**
792
792
  * @public
793
793
  * <p> Specifies the capacity mode to which you want to set your data stream. Currently, in
@@ -825,7 +825,7 @@ export interface StreamDescriptionSummary {
825
825
  * </li>
826
826
  * </ul>
827
827
  */
828
- EncryptionType?: EncryptionType | string;
828
+ EncryptionType?: EncryptionType;
829
829
  /**
830
830
  * @public
831
831
  * <p>The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
@@ -943,7 +943,7 @@ export interface DisableEnhancedMonitoringInput {
943
943
  * Kinesis Data Streams Service with Amazon CloudWatch</a> in the <i>Amazon
944
944
  * Kinesis Data Streams Developer Guide</i>.</p>
945
945
  */
946
- ShardLevelMetrics: (MetricsName | string)[] | undefined;
946
+ ShardLevelMetrics: MetricsName[] | undefined;
947
947
  /**
948
948
  * @public
949
949
  * <p>The ARN of the stream.</p>
@@ -965,13 +965,13 @@ export interface EnhancedMonitoringOutput {
965
965
  * <p>Represents the current state of the metrics that are in the enhanced state before the
966
966
  * operation.</p>
967
967
  */
968
- CurrentShardLevelMetrics?: (MetricsName | string)[];
968
+ CurrentShardLevelMetrics?: MetricsName[];
969
969
  /**
970
970
  * @public
971
971
  * <p>Represents the list of all the metrics that would be in the enhanced state after the
972
972
  * operation.</p>
973
973
  */
974
- DesiredShardLevelMetrics?: (MetricsName | string)[];
974
+ DesiredShardLevelMetrics?: MetricsName[];
975
975
  /**
976
976
  * @public
977
977
  * <p>The ARN of the stream.</p>
@@ -1039,7 +1039,7 @@ export interface EnableEnhancedMonitoringInput {
1039
1039
  * Kinesis Data Streams Service with Amazon CloudWatch</a> in the <i>Amazon
1040
1040
  * Kinesis Data Streams Developer Guide</i>.</p>
1041
1041
  */
1042
- ShardLevelMetrics: (MetricsName | string)[] | undefined;
1042
+ ShardLevelMetrics: MetricsName[] | undefined;
1043
1043
  /**
1044
1044
  * @public
1045
1045
  * <p>The ARN of the stream.</p>
@@ -1140,7 +1140,7 @@ export interface _Record {
1140
1140
  * </li>
1141
1141
  * </ul>
1142
1142
  */
1143
- EncryptionType?: EncryptionType | string;
1143
+ EncryptionType?: EncryptionType;
1144
1144
  }
1145
1145
  /**
1146
1146
  * @public
@@ -1331,7 +1331,7 @@ export interface GetShardIteratorInput {
1331
1331
  * </li>
1332
1332
  * </ul>
1333
1333
  */
1334
- ShardIteratorType: ShardIteratorType | string | undefined;
1334
+ ShardIteratorType: ShardIteratorType | undefined;
1335
1335
  /**
1336
1336
  * @public
1337
1337
  * <p>The sequence number of the data record in the shard from which to start reading. Used
@@ -1468,7 +1468,7 @@ export interface ShardFilter {
1468
1468
  * </li>
1469
1469
  * </ul>
1470
1470
  */
1471
- Type: ShardFilterType | string | undefined;
1471
+ Type: ShardFilterType | undefined;
1472
1472
  /**
1473
1473
  * @public
1474
1474
  * <p>The exclusive start <code>shardID</code> speified in the <code>ShardFilter</code>
@@ -1736,7 +1736,7 @@ export interface StreamSummary {
1736
1736
  * @public
1737
1737
  * <p>The status of the stream.</p>
1738
1738
  */
1739
- StreamStatus: StreamStatus | string | undefined;
1739
+ StreamStatus: StreamStatus | undefined;
1740
1740
  /**
1741
1741
  * @public
1742
1742
  * <p> Specifies the capacity mode to which you want to set your data stream. Currently, in
@@ -1968,7 +1968,7 @@ export interface PutRecordOutput {
1968
1968
  * </li>
1969
1969
  * </ul>
1970
1970
  */
1971
- EncryptionType?: EncryptionType | string;
1971
+ EncryptionType?: EncryptionType;
1972
1972
  }
1973
1973
  /**
1974
1974
  * @public
@@ -2093,7 +2093,7 @@ export interface PutRecordsOutput {
2093
2093
  * </li>
2094
2094
  * </ul>
2095
2095
  */
2096
- EncryptionType?: EncryptionType | string;
2096
+ EncryptionType?: EncryptionType;
2097
2097
  }
2098
2098
  /**
2099
2099
  * @public
@@ -2190,7 +2190,7 @@ export interface StartStreamEncryptionInput {
2190
2190
  * @public
2191
2191
  * <p>The encryption type to use. The only valid value is <code>KMS</code>.</p>
2192
2192
  */
2193
- EncryptionType: EncryptionType | string | undefined;
2193
+ EncryptionType: EncryptionType | undefined;
2194
2194
  /**
2195
2195
  * @public
2196
2196
  * <p>The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
@@ -2245,7 +2245,7 @@ export interface StopStreamEncryptionInput {
2245
2245
  * @public
2246
2246
  * <p>The encryption type. The only valid value is <code>KMS</code>.</p>
2247
2247
  */
2248
- EncryptionType: EncryptionType | string | undefined;
2248
+ EncryptionType: EncryptionType | undefined;
2249
2249
  /**
2250
2250
  * @public
2251
2251
  * <p>The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
@@ -2311,7 +2311,7 @@ export interface StartingPosition {
2311
2311
  * <code>LATEST</code>: Start streaming just after the most recent record in the shard,
2312
2312
  * so that you always read the most recent data in the shard.</p>
2313
2313
  */
2314
- Type: ShardIteratorType | string | undefined;
2314
+ Type: ShardIteratorType | undefined;
2315
2315
  /**
2316
2316
  * @public
2317
2317
  * <p>The sequence number of the data record in the shard from which to start streaming. To
@@ -2668,7 +2668,7 @@ export interface UpdateShardCountInput {
2668
2668
  * @public
2669
2669
  * <p>The scaling type. Uniform scaling creates shards of equal size.</p>
2670
2670
  */
2671
- ScalingType: ScalingType | string | undefined;
2671
+ ScalingType: ScalingType | undefined;
2672
2672
  /**
2673
2673
  * @public
2674
2674
  * <p>The ARN of the stream.</p>
@@ -59,13 +59,13 @@ export type ConsumerStatus =
59
59
  export interface Consumer {
60
60
  ConsumerName: string | undefined;
61
61
  ConsumerARN: string | undefined;
62
- ConsumerStatus: ConsumerStatus | string | undefined;
62
+ ConsumerStatus: ConsumerStatus | undefined;
63
63
  ConsumerCreationTimestamp: Date | undefined;
64
64
  }
65
65
  export interface ConsumerDescription {
66
66
  ConsumerName: string | undefined;
67
67
  ConsumerARN: string | undefined;
68
- ConsumerStatus: ConsumerStatus | string | undefined;
68
+ ConsumerStatus: ConsumerStatus | undefined;
69
69
  ConsumerCreationTimestamp: Date | undefined;
70
70
  StreamARN: string | undefined;
71
71
  }
@@ -75,7 +75,7 @@ export declare const StreamMode: {
75
75
  };
76
76
  export type StreamMode = (typeof StreamMode)[keyof typeof StreamMode];
77
77
  export interface StreamModeDetails {
78
- StreamMode: StreamMode | string | undefined;
78
+ StreamMode: StreamMode | undefined;
79
79
  }
80
80
  export interface CreateStreamInput {
81
81
  StreamName: string | undefined;
@@ -128,7 +128,7 @@ export declare const MetricsName: {
128
128
  };
129
129
  export type MetricsName = (typeof MetricsName)[keyof typeof MetricsName];
130
130
  export interface EnhancedMetrics {
131
- ShardLevelMetrics?: (MetricsName | string)[];
131
+ ShardLevelMetrics?: MetricsName[];
132
132
  }
133
133
  export interface SequenceNumberRange {
134
134
  StartingSequenceNumber: string | undefined;
@@ -151,14 +151,14 @@ export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
151
151
  export interface StreamDescription {
152
152
  StreamName: string | undefined;
153
153
  StreamARN: string | undefined;
154
- StreamStatus: StreamStatus | string | undefined;
154
+ StreamStatus: StreamStatus | undefined;
155
155
  StreamModeDetails?: StreamModeDetails;
156
156
  Shards: Shard[] | undefined;
157
157
  HasMoreShards: boolean | undefined;
158
158
  RetentionPeriodHours: number | undefined;
159
159
  StreamCreationTimestamp: Date | undefined;
160
160
  EnhancedMonitoring: EnhancedMetrics[] | undefined;
161
- EncryptionType?: EncryptionType | string;
161
+ EncryptionType?: EncryptionType;
162
162
  KeyId?: string;
163
163
  }
164
164
  export interface DescribeStreamOutput {
@@ -179,12 +179,12 @@ export interface DescribeStreamSummaryInput {
179
179
  export interface StreamDescriptionSummary {
180
180
  StreamName: string | undefined;
181
181
  StreamARN: string | undefined;
182
- StreamStatus: StreamStatus | string | undefined;
182
+ StreamStatus: StreamStatus | undefined;
183
183
  StreamModeDetails?: StreamModeDetails;
184
184
  RetentionPeriodHours: number | undefined;
185
185
  StreamCreationTimestamp: Date | undefined;
186
186
  EnhancedMonitoring: EnhancedMetrics[] | undefined;
187
- EncryptionType?: EncryptionType | string;
187
+ EncryptionType?: EncryptionType;
188
188
  KeyId?: string;
189
189
  OpenShardCount: number | undefined;
190
190
  ConsumerCount?: number;
@@ -194,18 +194,18 @@ export interface DescribeStreamSummaryOutput {
194
194
  }
195
195
  export interface DisableEnhancedMonitoringInput {
196
196
  StreamName?: string;
197
- ShardLevelMetrics: (MetricsName | string)[] | undefined;
197
+ ShardLevelMetrics: MetricsName[] | undefined;
198
198
  StreamARN?: string;
199
199
  }
200
200
  export interface EnhancedMonitoringOutput {
201
201
  StreamName?: string;
202
- CurrentShardLevelMetrics?: (MetricsName | string)[];
203
- DesiredShardLevelMetrics?: (MetricsName | string)[];
202
+ CurrentShardLevelMetrics?: MetricsName[];
203
+ DesiredShardLevelMetrics?: MetricsName[];
204
204
  StreamARN?: string;
205
205
  }
206
206
  export interface EnableEnhancedMonitoringInput {
207
207
  StreamName?: string;
208
- ShardLevelMetrics: (MetricsName | string)[] | undefined;
208
+ ShardLevelMetrics: MetricsName[] | undefined;
209
209
  StreamARN?: string;
210
210
  }
211
211
  export declare class ExpiredIteratorException extends __BaseException {
@@ -232,7 +232,7 @@ export interface _Record {
232
232
  ApproximateArrivalTimestamp?: Date;
233
233
  Data: Uint8Array | undefined;
234
234
  PartitionKey: string | undefined;
235
- EncryptionType?: EncryptionType | string;
235
+ EncryptionType?: EncryptionType;
236
236
  }
237
237
  export interface GetRecordsOutput {
238
238
  Records: _Record[] | undefined;
@@ -302,7 +302,7 @@ export type ShardIteratorType =
302
302
  export interface GetShardIteratorInput {
303
303
  StreamName?: string;
304
304
  ShardId: string | undefined;
305
- ShardIteratorType: ShardIteratorType | string | undefined;
305
+ ShardIteratorType: ShardIteratorType | undefined;
306
306
  StartingSequenceNumber?: string;
307
307
  Timestamp?: Date;
308
308
  StreamARN?: string;
@@ -333,7 +333,7 @@ export declare const ShardFilterType: {
333
333
  export type ShardFilterType =
334
334
  (typeof ShardFilterType)[keyof typeof ShardFilterType];
335
335
  export interface ShardFilter {
336
- Type: ShardFilterType | string | undefined;
336
+ Type: ShardFilterType | undefined;
337
337
  ShardId?: string;
338
338
  Timestamp?: Date;
339
339
  }
@@ -368,7 +368,7 @@ export interface ListStreamsInput {
368
368
  export interface StreamSummary {
369
369
  StreamName: string | undefined;
370
370
  StreamARN: string | undefined;
371
- StreamStatus: StreamStatus | string | undefined;
371
+ StreamStatus: StreamStatus | undefined;
372
372
  StreamModeDetails?: StreamModeDetails;
373
373
  StreamCreationTimestamp?: Date;
374
374
  }
@@ -416,7 +416,7 @@ export interface PutRecordInput {
416
416
  export interface PutRecordOutput {
417
417
  ShardId: string | undefined;
418
418
  SequenceNumber: string | undefined;
419
- EncryptionType?: EncryptionType | string;
419
+ EncryptionType?: EncryptionType;
420
420
  }
421
421
  export interface PutRecordsRequestEntry {
422
422
  Data: Uint8Array | undefined;
@@ -437,7 +437,7 @@ export interface PutRecordsResultEntry {
437
437
  export interface PutRecordsOutput {
438
438
  FailedRecordCount?: number;
439
439
  Records: PutRecordsResultEntry[] | undefined;
440
- EncryptionType?: EncryptionType | string;
440
+ EncryptionType?: EncryptionType;
441
441
  }
442
442
  export interface RegisterStreamConsumerInput {
443
443
  StreamARN: string | undefined;
@@ -459,18 +459,18 @@ export interface SplitShardInput {
459
459
  }
460
460
  export interface StartStreamEncryptionInput {
461
461
  StreamName?: string;
462
- EncryptionType: EncryptionType | string | undefined;
462
+ EncryptionType: EncryptionType | undefined;
463
463
  KeyId: string | undefined;
464
464
  StreamARN?: string;
465
465
  }
466
466
  export interface StopStreamEncryptionInput {
467
467
  StreamName?: string;
468
- EncryptionType: EncryptionType | string | undefined;
468
+ EncryptionType: EncryptionType | undefined;
469
469
  KeyId: string | undefined;
470
470
  StreamARN?: string;
471
471
  }
472
472
  export interface StartingPosition {
473
- Type: ShardIteratorType | string | undefined;
473
+ Type: ShardIteratorType | undefined;
474
474
  SequenceNumber?: string;
475
475
  Timestamp?: Date;
476
476
  }
@@ -669,7 +669,7 @@ export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
669
669
  export interface UpdateShardCountInput {
670
670
  StreamName?: string;
671
671
  TargetShardCount: number | undefined;
672
- ScalingType: ScalingType | string | undefined;
672
+ ScalingType: ScalingType | undefined;
673
673
  StreamARN?: string;
674
674
  }
675
675
  export interface UpdateShardCountOutput {
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.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22,44 +22,44 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
- "@aws-sdk/client-sts": "3.427.0",
26
- "@aws-sdk/credential-provider-node": "3.427.0",
27
- "@aws-sdk/middleware-host-header": "3.425.0",
28
- "@aws-sdk/middleware-logger": "3.425.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
30
- "@aws-sdk/middleware-signing": "3.425.0",
31
- "@aws-sdk/middleware-user-agent": "3.427.0",
32
- "@aws-sdk/region-config-resolver": "3.425.0",
33
- "@aws-sdk/types": "3.425.0",
34
- "@aws-sdk/util-endpoints": "3.427.0",
35
- "@aws-sdk/util-user-agent-browser": "3.425.0",
36
- "@aws-sdk/util-user-agent-node": "3.425.0",
37
- "@smithy/config-resolver": "^2.0.11",
38
- "@smithy/eventstream-serde-browser": "^2.0.10",
39
- "@smithy/eventstream-serde-config-resolver": "^2.0.10",
40
- "@smithy/eventstream-serde-node": "^2.0.10",
41
- "@smithy/fetch-http-handler": "^2.2.1",
42
- "@smithy/hash-node": "^2.0.10",
43
- "@smithy/invalid-dependency": "^2.0.10",
44
- "@smithy/middleware-content-length": "^2.0.12",
45
- "@smithy/middleware-endpoint": "^2.0.10",
46
- "@smithy/middleware-retry": "^2.0.13",
47
- "@smithy/middleware-serde": "^2.0.10",
48
- "@smithy/middleware-stack": "^2.0.4",
49
- "@smithy/node-config-provider": "^2.0.13",
50
- "@smithy/node-http-handler": "^2.1.6",
51
- "@smithy/protocol-http": "^3.0.6",
52
- "@smithy/smithy-client": "^2.1.9",
53
- "@smithy/types": "^2.3.4",
54
- "@smithy/url-parser": "^2.0.10",
25
+ "@aws-sdk/client-sts": "3.429.0",
26
+ "@aws-sdk/credential-provider-node": "3.429.0",
27
+ "@aws-sdk/middleware-host-header": "3.429.0",
28
+ "@aws-sdk/middleware-logger": "3.428.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
30
+ "@aws-sdk/middleware-signing": "3.428.0",
31
+ "@aws-sdk/middleware-user-agent": "3.428.0",
32
+ "@aws-sdk/region-config-resolver": "3.428.0",
33
+ "@aws-sdk/types": "3.428.0",
34
+ "@aws-sdk/util-endpoints": "3.428.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
36
+ "@aws-sdk/util-user-agent-node": "3.428.0",
37
+ "@smithy/config-resolver": "^2.0.14",
38
+ "@smithy/eventstream-serde-browser": "^2.0.11",
39
+ "@smithy/eventstream-serde-config-resolver": "^2.0.11",
40
+ "@smithy/eventstream-serde-node": "^2.0.11",
41
+ "@smithy/fetch-http-handler": "^2.2.3",
42
+ "@smithy/hash-node": "^2.0.11",
43
+ "@smithy/invalid-dependency": "^2.0.11",
44
+ "@smithy/middleware-content-length": "^2.0.13",
45
+ "@smithy/middleware-endpoint": "^2.1.1",
46
+ "@smithy/middleware-retry": "^2.0.16",
47
+ "@smithy/middleware-serde": "^2.0.11",
48
+ "@smithy/middleware-stack": "^2.0.5",
49
+ "@smithy/node-config-provider": "^2.1.1",
50
+ "@smithy/node-http-handler": "^2.1.7",
51
+ "@smithy/protocol-http": "^3.0.7",
52
+ "@smithy/smithy-client": "^2.1.11",
53
+ "@smithy/types": "^2.3.5",
54
+ "@smithy/url-parser": "^2.0.11",
55
55
  "@smithy/util-base64": "^2.0.0",
56
56
  "@smithy/util-body-length-browser": "^2.0.0",
57
57
  "@smithy/util-body-length-node": "^2.1.0",
58
- "@smithy/util-defaults-mode-browser": "^2.0.13",
59
- "@smithy/util-defaults-mode-node": "^2.0.15",
60
- "@smithy/util-retry": "^2.0.3",
58
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
59
+ "@smithy/util-defaults-mode-node": "^2.0.19",
60
+ "@smithy/util-retry": "^2.0.4",
61
61
  "@smithy/util-utf8": "^2.0.0",
62
- "@smithy/util-waiter": "^2.0.10",
62
+ "@smithy/util-waiter": "^2.0.11",
63
63
  "tslib": "^2.5.0"
64
64
  },
65
65
  "devDependencies": {