@aws-sdk/client-kinesis 3.686.0 → 3.691.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.
@@ -22,7 +22,7 @@ export interface AddTagsToStreamInput {
22
22
  * <p>The name of the stream.</p>
23
23
  * @public
24
24
  */
25
- StreamName?: string;
25
+ StreamName?: string | undefined;
26
26
  /**
27
27
  * <p>A set of up to 10 key-value pairs to use to create the tags.</p>
28
28
  * @public
@@ -32,7 +32,7 @@ export interface AddTagsToStreamInput {
32
32
  * <p>The ARN of the stream.</p>
33
33
  * @public
34
34
  */
35
- StreamARN?: string;
35
+ StreamARN?: string | undefined;
36
36
  }
37
37
  /**
38
38
  * <p>A specified parameter exceeds its restrictions, is not supported, or can't be used.
@@ -254,7 +254,7 @@ export interface CreateStreamInput {
254
254
  * throughput.</p>
255
255
  * @public
256
256
  */
257
- ShardCount?: number;
257
+ ShardCount?: number | undefined;
258
258
  /**
259
259
  * <p> Indicates the capacity mode of the data stream. Currently, in Kinesis Data Streams,
260
260
  * you can choose between an <b>on-demand</b> capacity mode and a
@@ -262,12 +262,12 @@ export interface CreateStreamInput {
262
262
  * streams.</p>
263
263
  * @public
264
264
  */
265
- StreamModeDetails?: StreamModeDetails;
265
+ StreamModeDetails?: StreamModeDetails | undefined;
266
266
  /**
267
267
  * <p>A set of up to 10 key-value pairs to use to create the tags.</p>
268
268
  * @public
269
269
  */
270
- Tags?: Record<string, string>;
270
+ Tags?: Record<string, string> | undefined;
271
271
  }
272
272
  /**
273
273
  * <p>Represents the input for <a>DecreaseStreamRetentionPeriod</a>.</p>
@@ -278,7 +278,7 @@ export interface DecreaseStreamRetentionPeriodInput {
278
278
  * <p>The name of the stream to modify.</p>
279
279
  * @public
280
280
  */
281
- StreamName?: string;
281
+ StreamName?: string | undefined;
282
282
  /**
283
283
  * <p>The new retention period of the stream, in hours. Must be less than the current
284
284
  * retention period.</p>
@@ -289,7 +289,7 @@ export interface DecreaseStreamRetentionPeriodInput {
289
289
  * <p>The ARN of the stream.</p>
290
290
  * @public
291
291
  */
292
- StreamARN?: string;
292
+ StreamARN?: string | undefined;
293
293
  }
294
294
  /**
295
295
  * @public
@@ -310,19 +310,19 @@ export interface DeleteStreamInput {
310
310
  * <p>The name of the stream to delete.</p>
311
311
  * @public
312
312
  */
313
- StreamName?: string;
313
+ StreamName?: string | undefined;
314
314
  /**
315
315
  * <p>If this parameter is unset (<code>null</code>) or if you set it to <code>false</code>,
316
316
  * and the stream has registered consumers, the call to <code>DeleteStream</code> fails
317
317
  * with a <code>ResourceInUseException</code>. </p>
318
318
  * @public
319
319
  */
320
- EnforceConsumerDeletion?: boolean;
320
+ EnforceConsumerDeletion?: boolean | undefined;
321
321
  /**
322
322
  * <p>The ARN of the stream.</p>
323
323
  * @public
324
324
  */
325
- StreamARN?: string;
325
+ StreamARN?: string | undefined;
326
326
  }
327
327
  /**
328
328
  * @public
@@ -334,12 +334,12 @@ export interface DeregisterStreamConsumerInput {
334
334
  * Namespaces</a>.</p>
335
335
  * @public
336
336
  */
337
- StreamARN?: string;
337
+ StreamARN?: string | undefined;
338
338
  /**
339
339
  * <p>The name that you gave to the consumer.</p>
340
340
  * @public
341
341
  */
342
- ConsumerName?: string;
342
+ ConsumerName?: string | undefined;
343
343
  /**
344
344
  * <p>The ARN returned by Kinesis Data Streams when you registered the consumer. If you
345
345
  * don't know the ARN of the consumer that you want to deregister, you can use the
@@ -348,7 +348,7 @@ export interface DeregisterStreamConsumerInput {
348
348
  * contains its ARN.</p>
349
349
  * @public
350
350
  */
351
- ConsumerARN?: string;
351
+ ConsumerARN?: string | undefined;
352
352
  }
353
353
  /**
354
354
  * @public
@@ -389,13 +389,13 @@ export interface DescribeStreamInput {
389
389
  * <p>The name of the stream to describe.</p>
390
390
  * @public
391
391
  */
392
- StreamName?: string;
392
+ StreamName?: string | undefined;
393
393
  /**
394
394
  * <p>The maximum number of shards to return in a single call. The default value is 100. If
395
395
  * you specify a value greater than 100, at most 100 results are returned.</p>
396
396
  * @public
397
397
  */
398
- Limit?: number;
398
+ Limit?: number | undefined;
399
399
  /**
400
400
  * <p>The shard ID of the shard to start with.</p>
401
401
  * <p>Specify this parameter to indicate that you want to describe the stream starting with
@@ -405,12 +405,12 @@ export interface DescribeStreamInput {
405
405
  * in the stream.</p>
406
406
  * @public
407
407
  */
408
- ExclusiveStartShardId?: string;
408
+ ExclusiveStartShardId?: string | undefined;
409
409
  /**
410
410
  * <p>The ARN of the stream.</p>
411
411
  * @public
412
412
  */
413
- StreamARN?: string;
413
+ StreamARN?: string | undefined;
414
414
  }
415
415
  /**
416
416
  * @public
@@ -498,7 +498,7 @@ export interface EnhancedMetrics {
498
498
  * Kinesis Data Streams Developer Guide</i>.</p>
499
499
  * @public
500
500
  */
501
- ShardLevelMetrics?: MetricsName[];
501
+ ShardLevelMetrics?: MetricsName[] | undefined;
502
502
  }
503
503
  /**
504
504
  * <p>The range of possible sequence numbers for the shard.</p>
@@ -515,7 +515,7 @@ export interface SequenceNumberRange {
515
515
  * ending sequence number of <code>null</code>.</p>
516
516
  * @public
517
517
  */
518
- EndingSequenceNumber?: string;
518
+ EndingSequenceNumber?: string | undefined;
519
519
  }
520
520
  /**
521
521
  * <p>A uniquely identified group of data records in a Kinesis data stream.</p>
@@ -531,12 +531,12 @@ export interface Shard {
531
531
  * <p>The shard ID of the shard's parent.</p>
532
532
  * @public
533
533
  */
534
- ParentShardId?: string;
534
+ ParentShardId?: string | undefined;
535
535
  /**
536
536
  * <p>The shard ID of the shard adjacent to the shard's parent.</p>
537
537
  * @public
538
538
  */
539
- AdjacentParentShardId?: string;
539
+ AdjacentParentShardId?: string | undefined;
540
540
  /**
541
541
  * <p>The range of possible hash key values for the shard, which is a set of ordered
542
542
  * contiguous positive integers.</p>
@@ -615,7 +615,7 @@ export interface StreamDescription {
615
615
  * 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>
616
616
  * @public
617
617
  */
618
- StreamModeDetails?: StreamModeDetails;
618
+ StreamModeDetails?: StreamModeDetails | undefined;
619
619
  /**
620
620
  * <p>The shards that comprise the stream.</p>
621
621
  * @public
@@ -659,7 +659,7 @@ export interface StreamDescription {
659
659
  * </ul>
660
660
  * @public
661
661
  */
662
- EncryptionType?: EncryptionType;
662
+ EncryptionType?: EncryptionType | undefined;
663
663
  /**
664
664
  * <p>The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
665
665
  * This value can be a globally unique identifier, a fully specified ARN to either an alias
@@ -693,7 +693,7 @@ export interface StreamDescription {
693
693
  * </ul>
694
694
  * @public
695
695
  */
696
- KeyId?: string;
696
+ KeyId?: string | undefined;
697
697
  }
698
698
  /**
699
699
  * <p>Represents the output for <code>DescribeStream</code>.</p>
@@ -718,17 +718,17 @@ export interface DescribeStreamConsumerInput {
718
718
  * Namespaces</a>.</p>
719
719
  * @public
720
720
  */
721
- StreamARN?: string;
721
+ StreamARN?: string | undefined;
722
722
  /**
723
723
  * <p>The name that you gave to the consumer.</p>
724
724
  * @public
725
725
  */
726
- ConsumerName?: string;
726
+ ConsumerName?: string | undefined;
727
727
  /**
728
728
  * <p>The ARN returned by Kinesis Data Streams when you registered the consumer.</p>
729
729
  * @public
730
730
  */
731
- ConsumerARN?: string;
731
+ ConsumerARN?: string | undefined;
732
732
  }
733
733
  /**
734
734
  * @public
@@ -748,12 +748,12 @@ export interface DescribeStreamSummaryInput {
748
748
  * <p>The name of the stream to describe.</p>
749
749
  * @public
750
750
  */
751
- StreamName?: string;
751
+ StreamName?: string | undefined;
752
752
  /**
753
753
  * <p>The ARN of the stream.</p>
754
754
  * @public
755
755
  */
756
- StreamARN?: string;
756
+ StreamARN?: string | undefined;
757
757
  }
758
758
  /**
759
759
  * <p>Represents the output for <a>DescribeStreamSummary</a>
@@ -808,7 +808,7 @@ export interface StreamDescriptionSummary {
808
808
  * Kinesis Data Streams, you can choose between an <b>on-demand</b> ycapacity mode and a <b>provisioned</b> capacity mode for your data streams. </p>
809
809
  * @public
810
810
  */
811
- StreamModeDetails?: StreamModeDetails;
811
+ StreamModeDetails?: StreamModeDetails | undefined;
812
812
  /**
813
813
  * <p>The current retention period, in hours.</p>
814
814
  * @public
@@ -840,7 +840,7 @@ export interface StreamDescriptionSummary {
840
840
  * </ul>
841
841
  * @public
842
842
  */
843
- EncryptionType?: EncryptionType;
843
+ EncryptionType?: EncryptionType | undefined;
844
844
  /**
845
845
  * <p>The GUID for the customer-managed Amazon Web Services KMS key to use for encryption.
846
846
  * This value can be a globally unique identifier, a fully specified ARN to either an alias
@@ -874,7 +874,7 @@ export interface StreamDescriptionSummary {
874
874
  * </ul>
875
875
  * @public
876
876
  */
877
- KeyId?: string;
877
+ KeyId?: string | undefined;
878
878
  /**
879
879
  * <p>The number of open shards in the stream.</p>
880
880
  * @public
@@ -884,7 +884,7 @@ export interface StreamDescriptionSummary {
884
884
  * <p>The number of enhanced fan-out consumers registered with the stream.</p>
885
885
  * @public
886
886
  */
887
- ConsumerCount?: number;
887
+ ConsumerCount?: number | undefined;
888
888
  }
889
889
  /**
890
890
  * @public
@@ -906,7 +906,7 @@ export interface DisableEnhancedMonitoringInput {
906
906
  * <p>The name of the Kinesis data stream for which to disable enhanced monitoring.</p>
907
907
  * @public
908
908
  */
909
- StreamName?: string;
909
+ StreamName?: string | undefined;
910
910
  /**
911
911
  * <p>List of shard-level metrics to disable.</p>
912
912
  * <p>The following are the valid shard-level metrics. The value "<code>ALL</code>" disables
@@ -963,7 +963,7 @@ export interface DisableEnhancedMonitoringInput {
963
963
  * <p>The ARN of the stream.</p>
964
964
  * @public
965
965
  */
966
- StreamARN?: string;
966
+ StreamARN?: string | undefined;
967
967
  }
968
968
  /**
969
969
  * <p>Represents the output for <a>EnableEnhancedMonitoring</a> and <a>DisableEnhancedMonitoring</a>.</p>
@@ -974,24 +974,24 @@ export interface EnhancedMonitoringOutput {
974
974
  * <p>The name of the Kinesis data stream.</p>
975
975
  * @public
976
976
  */
977
- StreamName?: string;
977
+ StreamName?: string | undefined;
978
978
  /**
979
979
  * <p>Represents the current state of the metrics that are in the enhanced state before the
980
980
  * operation.</p>
981
981
  * @public
982
982
  */
983
- CurrentShardLevelMetrics?: MetricsName[];
983
+ CurrentShardLevelMetrics?: MetricsName[] | undefined;
984
984
  /**
985
985
  * <p>Represents the list of all the metrics that would be in the enhanced state after the
986
986
  * operation.</p>
987
987
  * @public
988
988
  */
989
- DesiredShardLevelMetrics?: MetricsName[];
989
+ DesiredShardLevelMetrics?: MetricsName[] | undefined;
990
990
  /**
991
991
  * <p>The ARN of the stream.</p>
992
992
  * @public
993
993
  */
994
- StreamARN?: string;
994
+ StreamARN?: string | undefined;
995
995
  }
996
996
  /**
997
997
  * <p>Represents the input for <a>EnableEnhancedMonitoring</a>.</p>
@@ -1002,7 +1002,7 @@ export interface EnableEnhancedMonitoringInput {
1002
1002
  * <p>The name of the stream for which to enable enhanced monitoring.</p>
1003
1003
  * @public
1004
1004
  */
1005
- StreamName?: string;
1005
+ StreamName?: string | undefined;
1006
1006
  /**
1007
1007
  * <p>List of shard-level metrics to enable.</p>
1008
1008
  * <p>The following are the valid shard-level metrics. The value "<code>ALL</code>" enables
@@ -1059,7 +1059,7 @@ export interface EnableEnhancedMonitoringInput {
1059
1059
  * <p>The ARN of the stream.</p>
1060
1060
  * @public
1061
1061
  */
1062
- StreamARN?: string;
1062
+ StreamARN?: string | undefined;
1063
1063
  }
1064
1064
  /**
1065
1065
  * <p>The provided iterator exceeds the maximum age allowed.</p>
@@ -1103,12 +1103,12 @@ export interface GetRecordsInput {
1103
1103
  * <code>InvalidArgumentException</code>. The default value is 10,000.</p>
1104
1104
  * @public
1105
1105
  */
1106
- Limit?: number;
1106
+ Limit?: number | undefined;
1107
1107
  /**
1108
1108
  * <p>The ARN of the stream.</p>
1109
1109
  * @public
1110
1110
  */
1111
- StreamARN?: string;
1111
+ StreamARN?: string | undefined;
1112
1112
  }
1113
1113
  /**
1114
1114
  * <p>The unit of data of the Kinesis data stream, which is composed of a sequence number, a
@@ -1125,7 +1125,7 @@ export interface _Record {
1125
1125
  * <p>The approximate time that the record was inserted into the stream.</p>
1126
1126
  * @public
1127
1127
  */
1128
- ApproximateArrivalTimestamp?: Date;
1128
+ ApproximateArrivalTimestamp?: Date | undefined;
1129
1129
  /**
1130
1130
  * <p>The data blob. The data in the blob is both opaque and immutable to Kinesis Data
1131
1131
  * Streams, which does not inspect, interpret, or change the data in the blob in any way.
@@ -1155,7 +1155,7 @@ export interface _Record {
1155
1155
  * </ul>
1156
1156
  * @public
1157
1157
  */
1158
- EncryptionType?: EncryptionType;
1158
+ EncryptionType?: EncryptionType | undefined;
1159
1159
  }
1160
1160
  /**
1161
1161
  * <p>Represents the output for <a>GetRecords</a>.</p>
@@ -1173,7 +1173,7 @@ export interface GetRecordsOutput {
1173
1173
  * not return any more data. </p>
1174
1174
  * @public
1175
1175
  */
1176
- NextShardIterator?: string;
1176
+ NextShardIterator?: string | undefined;
1177
1177
  /**
1178
1178
  * <p>The number of milliseconds the <a>GetRecords</a> response is from the tip
1179
1179
  * of the stream, indicating how far behind current time the consumer is. A value of zero
@@ -1181,13 +1181,13 @@ export interface GetRecordsOutput {
1181
1181
  * at this moment.</p>
1182
1182
  * @public
1183
1183
  */
1184
- MillisBehindLatest?: number;
1184
+ MillisBehindLatest?: number | undefined;
1185
1185
  /**
1186
1186
  * <p>The list of the current shard's child shards, returned in the <code>GetRecords</code>
1187
1187
  * API's response only when the end of the current shard is reached.</p>
1188
1188
  * @public
1189
1189
  */
1190
- ChildShards?: ChildShard[];
1190
+ ChildShards?: ChildShard[] | undefined;
1191
1191
  }
1192
1192
  /**
1193
1193
  * <p>The ciphertext references a key that doesn't exist or that you don't have access
@@ -1330,7 +1330,7 @@ export interface GetShardIteratorInput {
1330
1330
  * <p>The name of the Amazon Kinesis data stream.</p>
1331
1331
  * @public
1332
1332
  */
1333
- StreamName?: string;
1333
+ StreamName?: string | undefined;
1334
1334
  /**
1335
1335
  * <p>The shard ID of the Kinesis Data Streams shard to get the iterator for.</p>
1336
1336
  * @public
@@ -1372,7 +1372,7 @@ export interface GetShardIteratorInput {
1372
1372
  * with shard iterator type AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER.</p>
1373
1373
  * @public
1374
1374
  */
1375
- StartingSequenceNumber?: string;
1375
+ StartingSequenceNumber?: string | undefined;
1376
1376
  /**
1377
1377
  * <p>The time stamp of the data record from which to start reading. Used with shard
1378
1378
  * iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in
@@ -1383,12 +1383,12 @@ export interface GetShardIteratorInput {
1383
1383
  * (TRIM_HORIZON).</p>
1384
1384
  * @public
1385
1385
  */
1386
- Timestamp?: Date;
1386
+ Timestamp?: Date | undefined;
1387
1387
  /**
1388
1388
  * <p>The ARN of the stream.</p>
1389
1389
  * @public
1390
1390
  */
1391
- StreamARN?: string;
1391
+ StreamARN?: string | undefined;
1392
1392
  }
1393
1393
  /**
1394
1394
  * <p>Represents the output for <code>GetShardIterator</code>.</p>
@@ -1401,7 +1401,7 @@ export interface GetShardIteratorOutput {
1401
1401
  * shard.</p>
1402
1402
  * @public
1403
1403
  */
1404
- ShardIterator?: string;
1404
+ ShardIterator?: string | undefined;
1405
1405
  }
1406
1406
  /**
1407
1407
  * <p>Represents the input for <a>IncreaseStreamRetentionPeriod</a>.</p>
@@ -1412,7 +1412,7 @@ export interface IncreaseStreamRetentionPeriodInput {
1412
1412
  * <p>The name of the stream to modify.</p>
1413
1413
  * @public
1414
1414
  */
1415
- StreamName?: string;
1415
+ StreamName?: string | undefined;
1416
1416
  /**
1417
1417
  * <p>The new retention period of the stream, in hours. Must be more than the current
1418
1418
  * retention period.</p>
@@ -1423,7 +1423,7 @@ export interface IncreaseStreamRetentionPeriodInput {
1423
1423
  * <p>The ARN of the stream.</p>
1424
1424
  * @public
1425
1425
  */
1426
- StreamARN?: string;
1426
+ StreamARN?: string | undefined;
1427
1427
  }
1428
1428
  /**
1429
1429
  * <p>The processing of the request failed because of an unknown error, exception, or
@@ -1510,7 +1510,7 @@ export interface ShardFilter {
1510
1510
  * is specified.</p>
1511
1511
  * @public
1512
1512
  */
1513
- ShardId?: string;
1513
+ ShardId?: string | undefined;
1514
1514
  /**
1515
1515
  * <p>The timestamps specified in the <code>ShardFilter</code> parameter. A timestamp is a
1516
1516
  * Unix epoch date with precision in milliseconds. For example,
@@ -1519,7 +1519,7 @@ export interface ShardFilter {
1519
1519
  * specified.</p>
1520
1520
  * @public
1521
1521
  */
1522
- Timestamp?: Date;
1522
+ Timestamp?: Date | undefined;
1523
1523
  }
1524
1524
  /**
1525
1525
  * @public
@@ -1531,7 +1531,7 @@ export interface ListShardsInput {
1531
1531
  * parameter.</p>
1532
1532
  * @public
1533
1533
  */
1534
- StreamName?: string;
1534
+ StreamName?: string | undefined;
1535
1535
  /**
1536
1536
  * <p>When the number of shards in the data stream is greater than the default value for the
1537
1537
  * <code>MaxResults</code> parameter, or if you explicitly specify a value for
@@ -1556,7 +1556,7 @@ export interface ListShardsInput {
1556
1556
  * </important>
1557
1557
  * @public
1558
1558
  */
1559
- NextToken?: string;
1559
+ NextToken?: string | undefined;
1560
1560
  /**
1561
1561
  * <p>Specify this parameter to indicate that you want to list the shards starting with the
1562
1562
  * shard whose ID immediately follows <code>ExclusiveStartShardId</code>.</p>
@@ -1566,7 +1566,7 @@ export interface ListShardsInput {
1566
1566
  * <p>You cannot specify this parameter if you specify <code>NextToken</code>.</p>
1567
1567
  * @public
1568
1568
  */
1569
- ExclusiveStartShardId?: string;
1569
+ ExclusiveStartShardId?: string | undefined;
1570
1570
  /**
1571
1571
  * <p>The maximum number of shards to return in a single call to <code>ListShards</code>.
1572
1572
  * The maximum number of shards to return in a single call. The default value is 1000. If
@@ -1577,7 +1577,7 @@ export interface ListShardsInput {
1577
1577
  * shards.</p>
1578
1578
  * @public
1579
1579
  */
1580
- MaxResults?: number;
1580
+ MaxResults?: number | undefined;
1581
1581
  /**
1582
1582
  * <p>Specify this input parameter to distinguish data streams that have the same name. For
1583
1583
  * example, if you create a data stream and then delete it, and you later create another
@@ -1587,7 +1587,7 @@ export interface ListShardsInput {
1587
1587
  * parameter.</p>
1588
1588
  * @public
1589
1589
  */
1590
- StreamCreationTimestamp?: Date;
1590
+ StreamCreationTimestamp?: Date | undefined;
1591
1591
  /**
1592
1592
  * <p>Enables you to filter out the response of the <code>ListShards</code> API. You can
1593
1593
  * only specify one filter at a time. </p>
@@ -1609,12 +1609,12 @@ export interface ListShardsInput {
1609
1609
  * provided timestamp to TIP are returned. </p>
1610
1610
  * @public
1611
1611
  */
1612
- ShardFilter?: ShardFilter;
1612
+ ShardFilter?: ShardFilter | undefined;
1613
1613
  /**
1614
1614
  * <p>The ARN of the stream.</p>
1615
1615
  * @public
1616
1616
  */
1617
- StreamARN?: string;
1617
+ StreamARN?: string | undefined;
1618
1618
  }
1619
1619
  /**
1620
1620
  * @public
@@ -1627,7 +1627,7 @@ export interface ListShardsOutput {
1627
1627
  * sequence numbers for the shard.</p>
1628
1628
  * @public
1629
1629
  */
1630
- Shards?: Shard[];
1630
+ Shards?: Shard[] | undefined;
1631
1631
  /**
1632
1632
  * <p>When the number of shards in the data stream is greater than the default value for the
1633
1633
  * <code>MaxResults</code> parameter, or if you explicitly specify a value for
@@ -1644,7 +1644,7 @@ export interface ListShardsOutput {
1644
1644
  * </important>
1645
1645
  * @public
1646
1646
  */
1647
- NextToken?: string;
1647
+ NextToken?: string | undefined;
1648
1648
  }
1649
1649
  /**
1650
1650
  * @public
@@ -1683,14 +1683,14 @@ export interface ListStreamConsumersInput {
1683
1683
  * </important>
1684
1684
  * @public
1685
1685
  */
1686
- NextToken?: string;
1686
+ NextToken?: string | undefined;
1687
1687
  /**
1688
1688
  * <p>The maximum number of consumers that you want a single call of
1689
1689
  * <code>ListStreamConsumers</code> to return. The default value is 100. If you specify
1690
1690
  * a value greater than 100, at most 100 results are returned. </p>
1691
1691
  * @public
1692
1692
  */
1693
- MaxResults?: number;
1693
+ MaxResults?: number | undefined;
1694
1694
  /**
1695
1695
  * <p>Specify this input parameter to distinguish data streams that have the same name. For
1696
1696
  * example, if you create a data stream and then delete it, and you later create another
@@ -1699,7 +1699,7 @@ export interface ListStreamConsumersInput {
1699
1699
  * <p>You can't specify this parameter if you specify the NextToken parameter. </p>
1700
1700
  * @public
1701
1701
  */
1702
- StreamCreationTimestamp?: Date;
1702
+ StreamCreationTimestamp?: Date | undefined;
1703
1703
  }
1704
1704
  /**
1705
1705
  * @public
@@ -1709,7 +1709,7 @@ export interface ListStreamConsumersOutput {
1709
1709
  * <p>An array of JSON objects. Each object represents one registered consumer.</p>
1710
1710
  * @public
1711
1711
  */
1712
- Consumers?: Consumer[];
1712
+ Consumers?: Consumer[] | undefined;
1713
1713
  /**
1714
1714
  * <p>When the number of consumers that are registered with the data stream is greater than
1715
1715
  * the default value for the <code>MaxResults</code> parameter, or if you explicitly
@@ -1728,7 +1728,7 @@ export interface ListStreamConsumersOutput {
1728
1728
  * </important>
1729
1729
  * @public
1730
1730
  */
1731
- NextToken?: string;
1731
+ NextToken?: string | undefined;
1732
1732
  }
1733
1733
  /**
1734
1734
  * <p>Represents the input for <code>ListStreams</code>.</p>
@@ -1740,17 +1740,17 @@ export interface ListStreamsInput {
1740
1740
  * value greater than 100, at most 100 results are returned.</p>
1741
1741
  * @public
1742
1742
  */
1743
- Limit?: number;
1743
+ Limit?: number | undefined;
1744
1744
  /**
1745
1745
  * <p>The name of the stream to start the list with.</p>
1746
1746
  * @public
1747
1747
  */
1748
- ExclusiveStartStreamName?: string;
1748
+ ExclusiveStartStreamName?: string | undefined;
1749
1749
  /**
1750
1750
  * <p></p>
1751
1751
  * @public
1752
1752
  */
1753
- NextToken?: string;
1753
+ NextToken?: string | undefined;
1754
1754
  }
1755
1755
  /**
1756
1756
  * <p>The summary of a stream.</p>
@@ -1777,12 +1777,12 @@ export interface StreamSummary {
1777
1777
  * 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>
1778
1778
  * @public
1779
1779
  */
1780
- StreamModeDetails?: StreamModeDetails;
1780
+ StreamModeDetails?: StreamModeDetails | undefined;
1781
1781
  /**
1782
1782
  * <p>The timestamp at which the stream was created.</p>
1783
1783
  * @public
1784
1784
  */
1785
- StreamCreationTimestamp?: Date;
1785
+ StreamCreationTimestamp?: Date | undefined;
1786
1786
  }
1787
1787
  /**
1788
1788
  * <p>Represents the output for <code>ListStreams</code>.</p>
@@ -1804,12 +1804,12 @@ export interface ListStreamsOutput {
1804
1804
  * <p></p>
1805
1805
  * @public
1806
1806
  */
1807
- NextToken?: string;
1807
+ NextToken?: string | undefined;
1808
1808
  /**
1809
1809
  * <p></p>
1810
1810
  * @public
1811
1811
  */
1812
- StreamSummaries?: StreamSummary[];
1812
+ StreamSummaries?: StreamSummary[] | undefined;
1813
1813
  }
1814
1814
  /**
1815
1815
  * <p>Represents the input for <code>ListTagsForStream</code>.</p>
@@ -1820,14 +1820,14 @@ export interface ListTagsForStreamInput {
1820
1820
  * <p>The name of the stream.</p>
1821
1821
  * @public
1822
1822
  */
1823
- StreamName?: string;
1823
+ StreamName?: string | undefined;
1824
1824
  /**
1825
1825
  * <p>The key to use as the starting point for the list of tags. If this parameter is set,
1826
1826
  * <code>ListTagsForStream</code> gets all tags that occur after
1827
1827
  * <code>ExclusiveStartTagKey</code>. </p>
1828
1828
  * @public
1829
1829
  */
1830
- ExclusiveStartTagKey?: string;
1830
+ ExclusiveStartTagKey?: string | undefined;
1831
1831
  /**
1832
1832
  * <p>The number of tags to return. If this number is less than the total number of tags
1833
1833
  * associated with the stream, <code>HasMoreTags</code> is set to <code>true</code>. To
@@ -1835,12 +1835,12 @@ export interface ListTagsForStreamInput {
1835
1835
  * response.</p>
1836
1836
  * @public
1837
1837
  */
1838
- Limit?: number;
1838
+ Limit?: number | undefined;
1839
1839
  /**
1840
1840
  * <p>The ARN of the stream.</p>
1841
1841
  * @public
1842
1842
  */
1843
- StreamARN?: string;
1843
+ StreamARN?: string | undefined;
1844
1844
  }
1845
1845
  /**
1846
1846
  * <p>Metadata assigned to the stream, consisting of a key-value pair.</p>
@@ -1859,7 +1859,7 @@ export interface Tag {
1859
1859
  * @</p>
1860
1860
  * @public
1861
1861
  */
1862
- Value?: string;
1862
+ Value?: string | undefined;
1863
1863
  }
1864
1864
  /**
1865
1865
  * <p>Represents the output for <code>ListTagsForStream</code>.</p>
@@ -1889,7 +1889,7 @@ export interface MergeShardsInput {
1889
1889
  * <p>The name of the stream for the merge.</p>
1890
1890
  * @public
1891
1891
  */
1892
- StreamName?: string;
1892
+ StreamName?: string | undefined;
1893
1893
  /**
1894
1894
  * <p>The shard ID of the shard to combine with the adjacent shard for the merge.</p>
1895
1895
  * @public
@@ -1904,7 +1904,7 @@ export interface MergeShardsInput {
1904
1904
  * <p>The ARN of the stream.</p>
1905
1905
  * @public
1906
1906
  */
1907
- StreamARN?: string;
1907
+ StreamARN?: string | undefined;
1908
1908
  }
1909
1909
  /**
1910
1910
  * <p>Specifies that you tried to invoke this API for a data stream with the on-demand
@@ -1929,7 +1929,7 @@ export interface PutRecordInput {
1929
1929
  * <p>The name of the stream to put the data record into.</p>
1930
1930
  * @public
1931
1931
  */
1932
- StreamName?: string;
1932
+ StreamName?: string | undefined;
1933
1933
  /**
1934
1934
  * <p>The data blob to put into the record, which is base64-encoded when the blob is
1935
1935
  * serialized. When the data blob (the payload before base64-encoding) is added to the
@@ -1954,7 +1954,7 @@ export interface PutRecordInput {
1954
1954
  * by overriding the partition key hash.</p>
1955
1955
  * @public
1956
1956
  */
1957
- ExplicitHashKey?: string;
1957
+ ExplicitHashKey?: string | undefined;
1958
1958
  /**
1959
1959
  * <p>Guarantees strictly increasing sequence numbers, for puts from the same client and to
1960
1960
  * the same partition key. Usage: set the <code>SequenceNumberForOrdering</code> of record
@@ -1963,12 +1963,12 @@ export interface PutRecordInput {
1963
1963
  * is not set, records are coarsely ordered based on arrival time.</p>
1964
1964
  * @public
1965
1965
  */
1966
- SequenceNumberForOrdering?: string;
1966
+ SequenceNumberForOrdering?: string | undefined;
1967
1967
  /**
1968
1968
  * <p>The ARN of the stream.</p>
1969
1969
  * @public
1970
1970
  */
1971
- StreamARN?: string;
1971
+ StreamARN?: string | undefined;
1972
1972
  }
1973
1973
  /**
1974
1974
  * <p>Represents the output for <code>PutRecord</code>.</p>
@@ -2003,7 +2003,7 @@ export interface PutRecordOutput {
2003
2003
  * </ul>
2004
2004
  * @public
2005
2005
  */
2006
- EncryptionType?: EncryptionType;
2006
+ EncryptionType?: EncryptionType | undefined;
2007
2007
  }
2008
2008
  /**
2009
2009
  * <p>Represents the output for <code>PutRecords</code>.</p>
@@ -2023,7 +2023,7 @@ export interface PutRecordsRequestEntry {
2023
2023
  * to by overriding the partition key hash.</p>
2024
2024
  * @public
2025
2025
  */
2026
- ExplicitHashKey?: string;
2026
+ ExplicitHashKey?: string | undefined;
2027
2027
  /**
2028
2028
  * <p>Determines which shard in the stream the data record is assigned to. Partition keys
2029
2029
  * are Unicode strings with a maximum length limit of 256 characters for each key. Amazon
@@ -2050,12 +2050,12 @@ export interface PutRecordsInput {
2050
2050
  * <p>The stream name associated with the request.</p>
2051
2051
  * @public
2052
2052
  */
2053
- StreamName?: string;
2053
+ StreamName?: string | undefined;
2054
2054
  /**
2055
2055
  * <p>The ARN of the stream.</p>
2056
2056
  * @public
2057
2057
  */
2058
- StreamARN?: string;
2058
+ StreamARN?: string | undefined;
2059
2059
  }
2060
2060
  /**
2061
2061
  * <p>Represents the result of an individual record from a <code>PutRecords</code> request.
@@ -2069,19 +2069,19 @@ export interface PutRecordsResultEntry {
2069
2069
  * <p>The sequence number for an individual record result.</p>
2070
2070
  * @public
2071
2071
  */
2072
- SequenceNumber?: string;
2072
+ SequenceNumber?: string | undefined;
2073
2073
  /**
2074
2074
  * <p>The shard ID for an individual record result.</p>
2075
2075
  * @public
2076
2076
  */
2077
- ShardId?: string;
2077
+ ShardId?: string | undefined;
2078
2078
  /**
2079
2079
  * <p>The error code for an individual record result. <code>ErrorCodes</code> can be either
2080
2080
  * <code>ProvisionedThroughputExceededException</code> or
2081
2081
  * <code>InternalFailure</code>.</p>
2082
2082
  * @public
2083
2083
  */
2084
- ErrorCode?: string;
2084
+ ErrorCode?: string | undefined;
2085
2085
  /**
2086
2086
  * <p>The error message for an individual record result. An <code>ErrorCode</code> value of
2087
2087
  * <code>ProvisionedThroughputExceededException</code> has an error message that
@@ -2090,7 +2090,7 @@ export interface PutRecordsResultEntry {
2090
2090
  * Failure"</code>.</p>
2091
2091
  * @public
2092
2092
  */
2093
- ErrorMessage?: string;
2093
+ ErrorMessage?: string | undefined;
2094
2094
  }
2095
2095
  /**
2096
2096
  * <p>
@@ -2103,7 +2103,7 @@ export interface PutRecordsOutput {
2103
2103
  * request.</p>
2104
2104
  * @public
2105
2105
  */
2106
- FailedRecordCount?: number;
2106
+ FailedRecordCount?: number | undefined;
2107
2107
  /**
2108
2108
  * <p>An array of successfully and unsuccessfully processed record results. A record that is
2109
2109
  * successfully added to a stream includes <code>SequenceNumber</code> and
@@ -2128,7 +2128,7 @@ export interface PutRecordsOutput {
2128
2128
  * </ul>
2129
2129
  * @public
2130
2130
  */
2131
- EncryptionType?: EncryptionType;
2131
+ EncryptionType?: EncryptionType | undefined;
2132
2132
  }
2133
2133
  /**
2134
2134
  * @public
@@ -2183,7 +2183,7 @@ export interface RemoveTagsFromStreamInput {
2183
2183
  * <p>The name of the stream.</p>
2184
2184
  * @public
2185
2185
  */
2186
- StreamName?: string;
2186
+ StreamName?: string | undefined;
2187
2187
  /**
2188
2188
  * <p>A list of tag keys. Each corresponding tag is removed from the stream.</p>
2189
2189
  * @public
@@ -2193,7 +2193,7 @@ export interface RemoveTagsFromStreamInput {
2193
2193
  * <p>The ARN of the stream.</p>
2194
2194
  * @public
2195
2195
  */
2196
- StreamARN?: string;
2196
+ StreamARN?: string | undefined;
2197
2197
  }
2198
2198
  /**
2199
2199
  * <p>Represents the input for <code>SplitShard</code>.</p>
@@ -2204,7 +2204,7 @@ export interface SplitShardInput {
2204
2204
  * <p>The name of the stream for the shard split.</p>
2205
2205
  * @public
2206
2206
  */
2207
- StreamName?: string;
2207
+ StreamName?: string | undefined;
2208
2208
  /**
2209
2209
  * <p>The shard ID of the shard to split.</p>
2210
2210
  * @public
@@ -2225,7 +2225,7 @@ export interface SplitShardInput {
2225
2225
  * <p>The ARN of the stream.</p>
2226
2226
  * @public
2227
2227
  */
2228
- StreamARN?: string;
2228
+ StreamARN?: string | undefined;
2229
2229
  }
2230
2230
  /**
2231
2231
  * @public
@@ -2235,7 +2235,7 @@ export interface StartStreamEncryptionInput {
2235
2235
  * <p>The name of the stream for which to start encrypting records.</p>
2236
2236
  * @public
2237
2237
  */
2238
- StreamName?: string;
2238
+ StreamName?: string | undefined;
2239
2239
  /**
2240
2240
  * <p>The encryption type to use. The only valid value is <code>KMS</code>.</p>
2241
2241
  * @public
@@ -2280,7 +2280,7 @@ export interface StartStreamEncryptionInput {
2280
2280
  * <p>The ARN of the stream.</p>
2281
2281
  * @public
2282
2282
  */
2283
- StreamARN?: string;
2283
+ StreamARN?: string | undefined;
2284
2284
  }
2285
2285
  /**
2286
2286
  * @public
@@ -2290,7 +2290,7 @@ export interface StopStreamEncryptionInput {
2290
2290
  * <p>The name of the stream on which to stop encrypting records.</p>
2291
2291
  * @public
2292
2292
  */
2293
- StreamName?: string;
2293
+ StreamName?: string | undefined;
2294
2294
  /**
2295
2295
  * <p>The encryption type. The only valid value is <code>KMS</code>.</p>
2296
2296
  * @public
@@ -2335,7 +2335,7 @@ export interface StopStreamEncryptionInput {
2335
2335
  * <p>The ARN of the stream.</p>
2336
2336
  * @public
2337
2337
  */
2338
- StreamARN?: string;
2338
+ StreamARN?: string | undefined;
2339
2339
  }
2340
2340
  /**
2341
2341
  * <p>The starting position in the data stream from which to start streaming.</p>
@@ -2368,7 +2368,7 @@ export interface StartingPosition {
2368
2368
  * <code>AT_SEQUENCE_NUMBER</code> or <code>AFTER_SEQUENCE_NUMBER</code>.</p>
2369
2369
  * @public
2370
2370
  */
2371
- SequenceNumber?: string;
2371
+ SequenceNumber?: string | undefined;
2372
2372
  /**
2373
2373
  * <p>The time stamp of the data record from which to start reading. To specify a time
2374
2374
  * stamp, set <code>StartingPosition</code> to <code>Type AT_TIMESTAMP</code>. A time stamp
@@ -2379,7 +2379,7 @@ export interface StartingPosition {
2379
2379
  * be streamed from the oldest untrimmed data record (<code>TRIM_HORIZON</code>).</p>
2380
2380
  * @public
2381
2381
  */
2382
- Timestamp?: Date;
2382
+ Timestamp?: Date | undefined;
2383
2383
  }
2384
2384
  /**
2385
2385
  * @public
@@ -2433,7 +2433,7 @@ export interface SubscribeToShardEvent {
2433
2433
  * current shard.</p>
2434
2434
  * @public
2435
2435
  */
2436
- ChildShards?: ChildShard[];
2436
+ ChildShards?: ChildShard[] | undefined;
2437
2437
  }
2438
2438
  /**
2439
2439
  * <p>This is a tagged union for all of the types of events an enhanced fan-out consumer can
@@ -2689,7 +2689,7 @@ export interface UpdateShardCountInput {
2689
2689
  * <p>The name of the stream.</p>
2690
2690
  * @public
2691
2691
  */
2692
- StreamName?: string;
2692
+ StreamName?: string | undefined;
2693
2693
  /**
2694
2694
  * <p>The new number of shards. This value has the following default limits. By default, you
2695
2695
  * cannot do the following: </p>
@@ -2723,7 +2723,7 @@ export interface UpdateShardCountInput {
2723
2723
  * <p>The ARN of the stream.</p>
2724
2724
  * @public
2725
2725
  */
2726
- StreamARN?: string;
2726
+ StreamARN?: string | undefined;
2727
2727
  }
2728
2728
  /**
2729
2729
  * @public
@@ -2733,22 +2733,22 @@ export interface UpdateShardCountOutput {
2733
2733
  * <p>The name of the stream.</p>
2734
2734
  * @public
2735
2735
  */
2736
- StreamName?: string;
2736
+ StreamName?: string | undefined;
2737
2737
  /**
2738
2738
  * <p>The current number of shards.</p>
2739
2739
  * @public
2740
2740
  */
2741
- CurrentShardCount?: number;
2741
+ CurrentShardCount?: number | undefined;
2742
2742
  /**
2743
2743
  * <p>The updated number of shards.</p>
2744
2744
  * @public
2745
2745
  */
2746
- TargetShardCount?: number;
2746
+ TargetShardCount?: number | undefined;
2747
2747
  /**
2748
2748
  * <p>The ARN of the stream.</p>
2749
2749
  * @public
2750
2750
  */
2751
- StreamARN?: string;
2751
+ StreamARN?: string | undefined;
2752
2752
  }
2753
2753
  /**
2754
2754
  * @public