@aws-sdk/client-kinesis 3.53.0 → 3.55.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 (49) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/KinesisClient.js +14 -14
  3. package/dist-cjs/commands/AddTagsToStreamCommand.js +3 -3
  4. package/dist-cjs/commands/CreateStreamCommand.js +3 -3
  5. package/dist-cjs/commands/DecreaseStreamRetentionPeriodCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteStreamCommand.js +3 -3
  7. package/dist-cjs/commands/DeregisterStreamConsumerCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeLimitsCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeStreamCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeStreamConsumerCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeStreamSummaryCommand.js +3 -3
  12. package/dist-cjs/commands/DisableEnhancedMonitoringCommand.js +3 -3
  13. package/dist-cjs/commands/EnableEnhancedMonitoringCommand.js +3 -3
  14. package/dist-cjs/commands/GetRecordsCommand.js +3 -3
  15. package/dist-cjs/commands/GetShardIteratorCommand.js +3 -3
  16. package/dist-cjs/commands/IncreaseStreamRetentionPeriodCommand.js +3 -3
  17. package/dist-cjs/commands/ListShardsCommand.js +3 -3
  18. package/dist-cjs/commands/ListStreamConsumersCommand.js +3 -3
  19. package/dist-cjs/commands/ListStreamsCommand.js +3 -3
  20. package/dist-cjs/commands/ListTagsForStreamCommand.js +3 -3
  21. package/dist-cjs/commands/MergeShardsCommand.js +3 -3
  22. package/dist-cjs/commands/PutRecordCommand.js +3 -3
  23. package/dist-cjs/commands/PutRecordsCommand.js +3 -3
  24. package/dist-cjs/commands/RegisterStreamConsumerCommand.js +3 -3
  25. package/dist-cjs/commands/RemoveTagsFromStreamCommand.js +3 -3
  26. package/dist-cjs/commands/SplitShardCommand.js +3 -3
  27. package/dist-cjs/commands/StartStreamEncryptionCommand.js +3 -3
  28. package/dist-cjs/commands/StopStreamEncryptionCommand.js +3 -3
  29. package/dist-cjs/commands/SubscribeToShardCommand.js +3 -3
  30. package/dist-cjs/commands/UpdateShardCountCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateStreamModeCommand.js +3 -3
  32. package/dist-cjs/endpoints.js +1 -1
  33. package/dist-cjs/protocols/Aws_json1_1.js +129 -129
  34. package/dist-cjs/runtimeConfig.browser.js +4 -4
  35. package/dist-cjs/runtimeConfig.js +9 -9
  36. package/dist-cjs/runtimeConfig.native.js +1 -1
  37. package/dist-cjs/waiters/waitForStreamExists.js +3 -3
  38. package/dist-cjs/waiters/waitForStreamNotExists.js +3 -3
  39. package/dist-es/Kinesis.js +29 -29
  40. package/dist-es/pagination/ListStreamConsumersPaginator.js +4 -4
  41. package/dist-types/KinesisClient.d.ts +2 -2
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  43. package/dist-types/runtimeConfig.d.ts +1 -1
  44. package/dist-types/runtimeConfig.native.d.ts +3 -3
  45. package/dist-types/ts3.4/KinesisClient.d.ts +2 -2
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  49. package/package.json +38 -38
@@ -335,7 +335,7 @@ const deserializeAws_json1_1AddTagsToStreamCommandError = async (output, context
335
335
  $fault: "client",
336
336
  $metadata: deserializeMetadata(output),
337
337
  });
338
- throw smithy_client_1.decorateServiceException(response, parsedBody);
338
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
339
339
  }
340
340
  };
341
341
  const deserializeAws_json1_1CreateStreamCommand = async (output, context) => {
@@ -374,7 +374,7 @@ const deserializeAws_json1_1CreateStreamCommandError = async (output, context) =
374
374
  $fault: "client",
375
375
  $metadata: deserializeMetadata(output),
376
376
  });
377
- throw smithy_client_1.decorateServiceException(response, parsedBody);
377
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
378
378
  }
379
379
  };
380
380
  const deserializeAws_json1_1DecreaseStreamRetentionPeriodCommand = async (output, context) => {
@@ -416,7 +416,7 @@ const deserializeAws_json1_1DecreaseStreamRetentionPeriodCommandError = async (o
416
416
  $fault: "client",
417
417
  $metadata: deserializeMetadata(output),
418
418
  });
419
- throw smithy_client_1.decorateServiceException(response, parsedBody);
419
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
420
420
  }
421
421
  };
422
422
  const deserializeAws_json1_1DeleteStreamCommand = async (output, context) => {
@@ -455,7 +455,7 @@ const deserializeAws_json1_1DeleteStreamCommandError = async (output, context) =
455
455
  $fault: "client",
456
456
  $metadata: deserializeMetadata(output),
457
457
  });
458
- throw smithy_client_1.decorateServiceException(response, parsedBody);
458
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
459
459
  }
460
460
  };
461
461
  const deserializeAws_json1_1DeregisterStreamConsumerCommand = async (output, context) => {
@@ -494,7 +494,7 @@ const deserializeAws_json1_1DeregisterStreamConsumerCommandError = async (output
494
494
  $fault: "client",
495
495
  $metadata: deserializeMetadata(output),
496
496
  });
497
- throw smithy_client_1.decorateServiceException(response, parsedBody);
497
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
498
498
  }
499
499
  };
500
500
  const deserializeAws_json1_1DescribeLimitsCommand = async (output, context) => {
@@ -530,7 +530,7 @@ const deserializeAws_json1_1DescribeLimitsCommandError = async (output, context)
530
530
  $fault: "client",
531
531
  $metadata: deserializeMetadata(output),
532
532
  });
533
- throw smithy_client_1.decorateServiceException(response, parsedBody);
533
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
534
534
  }
535
535
  };
536
536
  const deserializeAws_json1_1DescribeStreamCommand = async (output, context) => {
@@ -569,7 +569,7 @@ const deserializeAws_json1_1DescribeStreamCommandError = async (output, context)
569
569
  $fault: "client",
570
570
  $metadata: deserializeMetadata(output),
571
571
  });
572
- throw smithy_client_1.decorateServiceException(response, parsedBody);
572
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
573
573
  }
574
574
  };
575
575
  const deserializeAws_json1_1DescribeStreamConsumerCommand = async (output, context) => {
@@ -611,7 +611,7 @@ const deserializeAws_json1_1DescribeStreamConsumerCommandError = async (output,
611
611
  $fault: "client",
612
612
  $metadata: deserializeMetadata(output),
613
613
  });
614
- throw smithy_client_1.decorateServiceException(response, parsedBody);
614
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
615
615
  }
616
616
  };
617
617
  const deserializeAws_json1_1DescribeStreamSummaryCommand = async (output, context) => {
@@ -650,7 +650,7 @@ const deserializeAws_json1_1DescribeStreamSummaryCommandError = async (output, c
650
650
  $fault: "client",
651
651
  $metadata: deserializeMetadata(output),
652
652
  });
653
- throw smithy_client_1.decorateServiceException(response, parsedBody);
653
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
654
654
  }
655
655
  };
656
656
  const deserializeAws_json1_1DisableEnhancedMonitoringCommand = async (output, context) => {
@@ -695,7 +695,7 @@ const deserializeAws_json1_1DisableEnhancedMonitoringCommandError = async (outpu
695
695
  $fault: "client",
696
696
  $metadata: deserializeMetadata(output),
697
697
  });
698
- throw smithy_client_1.decorateServiceException(response, parsedBody);
698
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
699
699
  }
700
700
  };
701
701
  const deserializeAws_json1_1EnableEnhancedMonitoringCommand = async (output, context) => {
@@ -740,7 +740,7 @@ const deserializeAws_json1_1EnableEnhancedMonitoringCommandError = async (output
740
740
  $fault: "client",
741
741
  $metadata: deserializeMetadata(output),
742
742
  });
743
- throw smithy_client_1.decorateServiceException(response, parsedBody);
743
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
744
744
  }
745
745
  };
746
746
  const deserializeAws_json1_1GetRecordsCommand = async (output, context) => {
@@ -803,7 +803,7 @@ const deserializeAws_json1_1GetRecordsCommandError = async (output, context) =>
803
803
  $fault: "client",
804
804
  $metadata: deserializeMetadata(output),
805
805
  });
806
- throw smithy_client_1.decorateServiceException(response, parsedBody);
806
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
807
807
  }
808
808
  };
809
809
  const deserializeAws_json1_1GetShardIteratorCommand = async (output, context) => {
@@ -845,7 +845,7 @@ const deserializeAws_json1_1GetShardIteratorCommandError = async (output, contex
845
845
  $fault: "client",
846
846
  $metadata: deserializeMetadata(output),
847
847
  });
848
- throw smithy_client_1.decorateServiceException(response, parsedBody);
848
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
849
849
  }
850
850
  };
851
851
  const deserializeAws_json1_1IncreaseStreamRetentionPeriodCommand = async (output, context) => {
@@ -887,7 +887,7 @@ const deserializeAws_json1_1IncreaseStreamRetentionPeriodCommandError = async (o
887
887
  $fault: "client",
888
888
  $metadata: deserializeMetadata(output),
889
889
  });
890
- throw smithy_client_1.decorateServiceException(response, parsedBody);
890
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
891
891
  }
892
892
  };
893
893
  const deserializeAws_json1_1ListShardsCommand = async (output, context) => {
@@ -935,7 +935,7 @@ const deserializeAws_json1_1ListShardsCommandError = async (output, context) =>
935
935
  $fault: "client",
936
936
  $metadata: deserializeMetadata(output),
937
937
  });
938
- throw smithy_client_1.decorateServiceException(response, parsedBody);
938
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
939
939
  }
940
940
  };
941
941
  const deserializeAws_json1_1ListStreamConsumersCommand = async (output, context) => {
@@ -983,7 +983,7 @@ const deserializeAws_json1_1ListStreamConsumersCommandError = async (output, con
983
983
  $fault: "client",
984
984
  $metadata: deserializeMetadata(output),
985
985
  });
986
- throw smithy_client_1.decorateServiceException(response, parsedBody);
986
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
987
987
  }
988
988
  };
989
989
  const deserializeAws_json1_1ListStreamsCommand = async (output, context) => {
@@ -1019,7 +1019,7 @@ const deserializeAws_json1_1ListStreamsCommandError = async (output, context) =>
1019
1019
  $fault: "client",
1020
1020
  $metadata: deserializeMetadata(output),
1021
1021
  });
1022
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1022
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1023
1023
  }
1024
1024
  };
1025
1025
  const deserializeAws_json1_1ListTagsForStreamCommand = async (output, context) => {
@@ -1061,7 +1061,7 @@ const deserializeAws_json1_1ListTagsForStreamCommandError = async (output, conte
1061
1061
  $fault: "client",
1062
1062
  $metadata: deserializeMetadata(output),
1063
1063
  });
1064
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1064
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1065
1065
  }
1066
1066
  };
1067
1067
  const deserializeAws_json1_1MergeShardsCommand = async (output, context) => {
@@ -1106,7 +1106,7 @@ const deserializeAws_json1_1MergeShardsCommandError = async (output, context) =>
1106
1106
  $fault: "client",
1107
1107
  $metadata: deserializeMetadata(output),
1108
1108
  });
1109
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1109
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1110
1110
  }
1111
1111
  };
1112
1112
  const deserializeAws_json1_1PutRecordCommand = async (output, context) => {
@@ -1166,7 +1166,7 @@ const deserializeAws_json1_1PutRecordCommandError = async (output, context) => {
1166
1166
  $fault: "client",
1167
1167
  $metadata: deserializeMetadata(output),
1168
1168
  });
1169
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1169
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1170
1170
  }
1171
1171
  };
1172
1172
  const deserializeAws_json1_1PutRecordsCommand = async (output, context) => {
@@ -1226,7 +1226,7 @@ const deserializeAws_json1_1PutRecordsCommandError = async (output, context) =>
1226
1226
  $fault: "client",
1227
1227
  $metadata: deserializeMetadata(output),
1228
1228
  });
1229
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1229
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1230
1230
  }
1231
1231
  };
1232
1232
  const deserializeAws_json1_1RegisterStreamConsumerCommand = async (output, context) => {
@@ -1271,7 +1271,7 @@ const deserializeAws_json1_1RegisterStreamConsumerCommandError = async (output,
1271
1271
  $fault: "client",
1272
1272
  $metadata: deserializeMetadata(output),
1273
1273
  });
1274
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1274
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1275
1275
  }
1276
1276
  };
1277
1277
  const deserializeAws_json1_1RemoveTagsFromStreamCommand = async (output, context) => {
@@ -1313,7 +1313,7 @@ const deserializeAws_json1_1RemoveTagsFromStreamCommandError = async (output, co
1313
1313
  $fault: "client",
1314
1314
  $metadata: deserializeMetadata(output),
1315
1315
  });
1316
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1316
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1317
1317
  }
1318
1318
  };
1319
1319
  const deserializeAws_json1_1SplitShardCommand = async (output, context) => {
@@ -1358,7 +1358,7 @@ const deserializeAws_json1_1SplitShardCommandError = async (output, context) =>
1358
1358
  $fault: "client",
1359
1359
  $metadata: deserializeMetadata(output),
1360
1360
  });
1361
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1361
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1362
1362
  }
1363
1363
  };
1364
1364
  const deserializeAws_json1_1StartStreamEncryptionCommand = async (output, context) => {
@@ -1418,7 +1418,7 @@ const deserializeAws_json1_1StartStreamEncryptionCommandError = async (output, c
1418
1418
  $fault: "client",
1419
1419
  $metadata: deserializeMetadata(output),
1420
1420
  });
1421
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1421
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1422
1422
  }
1423
1423
  };
1424
1424
  const deserializeAws_json1_1StopStreamEncryptionCommand = async (output, context) => {
@@ -1460,7 +1460,7 @@ const deserializeAws_json1_1StopStreamEncryptionCommandError = async (output, co
1460
1460
  $fault: "client",
1461
1461
  $metadata: deserializeMetadata(output),
1462
1462
  });
1463
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1463
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1464
1464
  }
1465
1465
  };
1466
1466
  const deserializeAws_json1_1SubscribeToShardCommand = async (output, context) => {
@@ -1505,7 +1505,7 @@ const deserializeAws_json1_1SubscribeToShardCommandError = async (output, contex
1505
1505
  $fault: "client",
1506
1506
  $metadata: deserializeMetadata(output),
1507
1507
  });
1508
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1508
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1509
1509
  }
1510
1510
  };
1511
1511
  const deserializeAws_json1_1UpdateShardCountCommand = async (output, context) => {
@@ -1553,7 +1553,7 @@ const deserializeAws_json1_1UpdateShardCountCommandError = async (output, contex
1553
1553
  $fault: "client",
1554
1554
  $metadata: deserializeMetadata(output),
1555
1555
  });
1556
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1556
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1557
1557
  }
1558
1558
  };
1559
1559
  const deserializeAws_json1_1UpdateStreamModeCommand = async (output, context) => {
@@ -1595,7 +1595,7 @@ const deserializeAws_json1_1UpdateStreamModeCommandError = async (output, contex
1595
1595
  $fault: "client",
1596
1596
  $metadata: deserializeMetadata(output),
1597
1597
  });
1598
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1598
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1599
1599
  }
1600
1600
  };
1601
1601
  const deserializeAws_json1_1ExpiredIteratorExceptionResponse = async (parsedOutput, context) => {
@@ -1605,7 +1605,7 @@ const deserializeAws_json1_1ExpiredIteratorExceptionResponse = async (parsedOutp
1605
1605
  $metadata: deserializeMetadata(parsedOutput),
1606
1606
  ...deserialized,
1607
1607
  });
1608
- return smithy_client_1.decorateServiceException(exception, body);
1608
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1609
1609
  };
1610
1610
  const deserializeAws_json1_1ExpiredNextTokenExceptionResponse = async (parsedOutput, context) => {
1611
1611
  const body = parsedOutput.body;
@@ -1614,7 +1614,7 @@ const deserializeAws_json1_1ExpiredNextTokenExceptionResponse = async (parsedOut
1614
1614
  $metadata: deserializeMetadata(parsedOutput),
1615
1615
  ...deserialized,
1616
1616
  });
1617
- return smithy_client_1.decorateServiceException(exception, body);
1617
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1618
1618
  };
1619
1619
  const deserializeAws_json1_1InvalidArgumentExceptionResponse = async (parsedOutput, context) => {
1620
1620
  const body = parsedOutput.body;
@@ -1623,7 +1623,7 @@ const deserializeAws_json1_1InvalidArgumentExceptionResponse = async (parsedOutp
1623
1623
  $metadata: deserializeMetadata(parsedOutput),
1624
1624
  ...deserialized,
1625
1625
  });
1626
- return smithy_client_1.decorateServiceException(exception, body);
1626
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1627
1627
  };
1628
1628
  const deserializeAws_json1_1KMSAccessDeniedExceptionResponse = async (parsedOutput, context) => {
1629
1629
  const body = parsedOutput.body;
@@ -1632,7 +1632,7 @@ const deserializeAws_json1_1KMSAccessDeniedExceptionResponse = async (parsedOutp
1632
1632
  $metadata: deserializeMetadata(parsedOutput),
1633
1633
  ...deserialized,
1634
1634
  });
1635
- return smithy_client_1.decorateServiceException(exception, body);
1635
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1636
1636
  };
1637
1637
  const deserializeAws_json1_1KMSDisabledExceptionResponse = async (parsedOutput, context) => {
1638
1638
  const body = parsedOutput.body;
@@ -1641,7 +1641,7 @@ const deserializeAws_json1_1KMSDisabledExceptionResponse = async (parsedOutput,
1641
1641
  $metadata: deserializeMetadata(parsedOutput),
1642
1642
  ...deserialized,
1643
1643
  });
1644
- return smithy_client_1.decorateServiceException(exception, body);
1644
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1645
1645
  };
1646
1646
  const deserializeAws_json1_1KMSInvalidStateExceptionResponse = async (parsedOutput, context) => {
1647
1647
  const body = parsedOutput.body;
@@ -1650,7 +1650,7 @@ const deserializeAws_json1_1KMSInvalidStateExceptionResponse = async (parsedOutp
1650
1650
  $metadata: deserializeMetadata(parsedOutput),
1651
1651
  ...deserialized,
1652
1652
  });
1653
- return smithy_client_1.decorateServiceException(exception, body);
1653
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1654
1654
  };
1655
1655
  const deserializeAws_json1_1KMSNotFoundExceptionResponse = async (parsedOutput, context) => {
1656
1656
  const body = parsedOutput.body;
@@ -1659,7 +1659,7 @@ const deserializeAws_json1_1KMSNotFoundExceptionResponse = async (parsedOutput,
1659
1659
  $metadata: deserializeMetadata(parsedOutput),
1660
1660
  ...deserialized,
1661
1661
  });
1662
- return smithy_client_1.decorateServiceException(exception, body);
1662
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1663
1663
  };
1664
1664
  const deserializeAws_json1_1KMSOptInRequiredResponse = async (parsedOutput, context) => {
1665
1665
  const body = parsedOutput.body;
@@ -1668,7 +1668,7 @@ const deserializeAws_json1_1KMSOptInRequiredResponse = async (parsedOutput, cont
1668
1668
  $metadata: deserializeMetadata(parsedOutput),
1669
1669
  ...deserialized,
1670
1670
  });
1671
- return smithy_client_1.decorateServiceException(exception, body);
1671
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1672
1672
  };
1673
1673
  const deserializeAws_json1_1KMSThrottlingExceptionResponse = async (parsedOutput, context) => {
1674
1674
  const body = parsedOutput.body;
@@ -1677,7 +1677,7 @@ const deserializeAws_json1_1KMSThrottlingExceptionResponse = async (parsedOutput
1677
1677
  $metadata: deserializeMetadata(parsedOutput),
1678
1678
  ...deserialized,
1679
1679
  });
1680
- return smithy_client_1.decorateServiceException(exception, body);
1680
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1681
1681
  };
1682
1682
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
1683
1683
  const body = parsedOutput.body;
@@ -1686,7 +1686,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
1686
1686
  $metadata: deserializeMetadata(parsedOutput),
1687
1687
  ...deserialized,
1688
1688
  });
1689
- return smithy_client_1.decorateServiceException(exception, body);
1689
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1690
1690
  };
1691
1691
  const deserializeAws_json1_1ProvisionedThroughputExceededExceptionResponse = async (parsedOutput, context) => {
1692
1692
  const body = parsedOutput.body;
@@ -1695,7 +1695,7 @@ const deserializeAws_json1_1ProvisionedThroughputExceededExceptionResponse = asy
1695
1695
  $metadata: deserializeMetadata(parsedOutput),
1696
1696
  ...deserialized,
1697
1697
  });
1698
- return smithy_client_1.decorateServiceException(exception, body);
1698
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1699
1699
  };
1700
1700
  const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
1701
1701
  const body = parsedOutput.body;
@@ -1704,7 +1704,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
1704
1704
  $metadata: deserializeMetadata(parsedOutput),
1705
1705
  ...deserialized,
1706
1706
  });
1707
- return smithy_client_1.decorateServiceException(exception, body);
1707
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1708
1708
  };
1709
1709
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1710
1710
  const body = parsedOutput.body;
@@ -1713,7 +1713,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
1713
1713
  $metadata: deserializeMetadata(parsedOutput),
1714
1714
  ...deserialized,
1715
1715
  });
1716
- return smithy_client_1.decorateServiceException(exception, body);
1716
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1717
1717
  };
1718
1718
  const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
1719
1719
  const body = parsedOutput.body;
@@ -1722,7 +1722,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
1722
1722
  $metadata: deserializeMetadata(parsedOutput),
1723
1723
  ...deserialized,
1724
1724
  });
1725
- return smithy_client_1.decorateServiceException(exception, body);
1725
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1726
1726
  };
1727
1727
  const serializeAws_json1_1AddTagsToStreamInput = (input, context) => {
1728
1728
  return {
@@ -2037,7 +2037,7 @@ const deserializeAws_json1_1ChildShard = (output, context) => {
2037
2037
  ParentShards: output.ParentShards !== undefined && output.ParentShards !== null
2038
2038
  ? deserializeAws_json1_1ShardIdList(output.ParentShards, context)
2039
2039
  : undefined,
2040
- ShardId: smithy_client_1.expectString(output.ShardId),
2040
+ ShardId: (0, smithy_client_1.expectString)(output.ShardId),
2041
2041
  };
2042
2042
  };
2043
2043
  const deserializeAws_json1_1ChildShardList = (output, context) => {
@@ -2053,23 +2053,23 @@ const deserializeAws_json1_1ChildShardList = (output, context) => {
2053
2053
  };
2054
2054
  const deserializeAws_json1_1Consumer = (output, context) => {
2055
2055
  return {
2056
- ConsumerARN: smithy_client_1.expectString(output.ConsumerARN),
2056
+ ConsumerARN: (0, smithy_client_1.expectString)(output.ConsumerARN),
2057
2057
  ConsumerCreationTimestamp: output.ConsumerCreationTimestamp !== undefined && output.ConsumerCreationTimestamp !== null
2058
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConsumerCreationTimestamp)))
2058
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ConsumerCreationTimestamp)))
2059
2059
  : undefined,
2060
- ConsumerName: smithy_client_1.expectString(output.ConsumerName),
2061
- ConsumerStatus: smithy_client_1.expectString(output.ConsumerStatus),
2060
+ ConsumerName: (0, smithy_client_1.expectString)(output.ConsumerName),
2061
+ ConsumerStatus: (0, smithy_client_1.expectString)(output.ConsumerStatus),
2062
2062
  };
2063
2063
  };
2064
2064
  const deserializeAws_json1_1ConsumerDescription = (output, context) => {
2065
2065
  return {
2066
- ConsumerARN: smithy_client_1.expectString(output.ConsumerARN),
2066
+ ConsumerARN: (0, smithy_client_1.expectString)(output.ConsumerARN),
2067
2067
  ConsumerCreationTimestamp: output.ConsumerCreationTimestamp !== undefined && output.ConsumerCreationTimestamp !== null
2068
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConsumerCreationTimestamp)))
2068
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ConsumerCreationTimestamp)))
2069
2069
  : undefined,
2070
- ConsumerName: smithy_client_1.expectString(output.ConsumerName),
2071
- ConsumerStatus: smithy_client_1.expectString(output.ConsumerStatus),
2072
- StreamARN: smithy_client_1.expectString(output.StreamARN),
2070
+ ConsumerName: (0, smithy_client_1.expectString)(output.ConsumerName),
2071
+ ConsumerStatus: (0, smithy_client_1.expectString)(output.ConsumerStatus),
2072
+ StreamARN: (0, smithy_client_1.expectString)(output.StreamARN),
2073
2073
  };
2074
2074
  };
2075
2075
  const deserializeAws_json1_1ConsumerList = (output, context) => {
@@ -2085,10 +2085,10 @@ const deserializeAws_json1_1ConsumerList = (output, context) => {
2085
2085
  };
2086
2086
  const deserializeAws_json1_1DescribeLimitsOutput = (output, context) => {
2087
2087
  return {
2088
- OnDemandStreamCount: smithy_client_1.expectInt32(output.OnDemandStreamCount),
2089
- OnDemandStreamCountLimit: smithy_client_1.expectInt32(output.OnDemandStreamCountLimit),
2090
- OpenShardCount: smithy_client_1.expectInt32(output.OpenShardCount),
2091
- ShardLimit: smithy_client_1.expectInt32(output.ShardLimit),
2088
+ OnDemandStreamCount: (0, smithy_client_1.expectInt32)(output.OnDemandStreamCount),
2089
+ OnDemandStreamCountLimit: (0, smithy_client_1.expectInt32)(output.OnDemandStreamCountLimit),
2090
+ OpenShardCount: (0, smithy_client_1.expectInt32)(output.OpenShardCount),
2091
+ ShardLimit: (0, smithy_client_1.expectInt32)(output.ShardLimit),
2092
2092
  };
2093
2093
  };
2094
2094
  const deserializeAws_json1_1DescribeStreamConsumerOutput = (output, context) => {
@@ -2138,17 +2138,17 @@ const deserializeAws_json1_1EnhancedMonitoringOutput = (output, context) => {
2138
2138
  DesiredShardLevelMetrics: output.DesiredShardLevelMetrics !== undefined && output.DesiredShardLevelMetrics !== null
2139
2139
  ? deserializeAws_json1_1MetricsNameList(output.DesiredShardLevelMetrics, context)
2140
2140
  : undefined,
2141
- StreamName: smithy_client_1.expectString(output.StreamName),
2141
+ StreamName: (0, smithy_client_1.expectString)(output.StreamName),
2142
2142
  };
2143
2143
  };
2144
2144
  const deserializeAws_json1_1ExpiredIteratorException = (output, context) => {
2145
2145
  return {
2146
- message: smithy_client_1.expectString(output.message),
2146
+ message: (0, smithy_client_1.expectString)(output.message),
2147
2147
  };
2148
2148
  };
2149
2149
  const deserializeAws_json1_1ExpiredNextTokenException = (output, context) => {
2150
2150
  return {
2151
- message: smithy_client_1.expectString(output.message),
2151
+ message: (0, smithy_client_1.expectString)(output.message),
2152
2152
  };
2153
2153
  };
2154
2154
  const deserializeAws_json1_1GetRecordsOutput = (output, context) => {
@@ -2156,8 +2156,8 @@ const deserializeAws_json1_1GetRecordsOutput = (output, context) => {
2156
2156
  ChildShards: output.ChildShards !== undefined && output.ChildShards !== null
2157
2157
  ? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
2158
2158
  : undefined,
2159
- MillisBehindLatest: smithy_client_1.expectLong(output.MillisBehindLatest),
2160
- NextShardIterator: smithy_client_1.expectString(output.NextShardIterator),
2159
+ MillisBehindLatest: (0, smithy_client_1.expectLong)(output.MillisBehindLatest),
2160
+ NextShardIterator: (0, smithy_client_1.expectString)(output.NextShardIterator),
2161
2161
  Records: output.Records !== undefined && output.Records !== null
2162
2162
  ? deserializeAws_json1_1RecordList(output.Records, context)
2163
2163
  : undefined,
@@ -2165,63 +2165,63 @@ const deserializeAws_json1_1GetRecordsOutput = (output, context) => {
2165
2165
  };
2166
2166
  const deserializeAws_json1_1GetShardIteratorOutput = (output, context) => {
2167
2167
  return {
2168
- ShardIterator: smithy_client_1.expectString(output.ShardIterator),
2168
+ ShardIterator: (0, smithy_client_1.expectString)(output.ShardIterator),
2169
2169
  };
2170
2170
  };
2171
2171
  const deserializeAws_json1_1HashKeyRange = (output, context) => {
2172
2172
  return {
2173
- EndingHashKey: smithy_client_1.expectString(output.EndingHashKey),
2174
- StartingHashKey: smithy_client_1.expectString(output.StartingHashKey),
2173
+ EndingHashKey: (0, smithy_client_1.expectString)(output.EndingHashKey),
2174
+ StartingHashKey: (0, smithy_client_1.expectString)(output.StartingHashKey),
2175
2175
  };
2176
2176
  };
2177
2177
  const deserializeAws_json1_1InternalFailureException = (output, context) => {
2178
2178
  return {
2179
- message: smithy_client_1.expectString(output.message),
2179
+ message: (0, smithy_client_1.expectString)(output.message),
2180
2180
  };
2181
2181
  };
2182
2182
  const deserializeAws_json1_1InvalidArgumentException = (output, context) => {
2183
2183
  return {
2184
- message: smithy_client_1.expectString(output.message),
2184
+ message: (0, smithy_client_1.expectString)(output.message),
2185
2185
  };
2186
2186
  };
2187
2187
  const deserializeAws_json1_1KMSAccessDeniedException = (output, context) => {
2188
2188
  return {
2189
- message: smithy_client_1.expectString(output.message),
2189
+ message: (0, smithy_client_1.expectString)(output.message),
2190
2190
  };
2191
2191
  };
2192
2192
  const deserializeAws_json1_1KMSDisabledException = (output, context) => {
2193
2193
  return {
2194
- message: smithy_client_1.expectString(output.message),
2194
+ message: (0, smithy_client_1.expectString)(output.message),
2195
2195
  };
2196
2196
  };
2197
2197
  const deserializeAws_json1_1KMSInvalidStateException = (output, context) => {
2198
2198
  return {
2199
- message: smithy_client_1.expectString(output.message),
2199
+ message: (0, smithy_client_1.expectString)(output.message),
2200
2200
  };
2201
2201
  };
2202
2202
  const deserializeAws_json1_1KMSNotFoundException = (output, context) => {
2203
2203
  return {
2204
- message: smithy_client_1.expectString(output.message),
2204
+ message: (0, smithy_client_1.expectString)(output.message),
2205
2205
  };
2206
2206
  };
2207
2207
  const deserializeAws_json1_1KMSOptInRequired = (output, context) => {
2208
2208
  return {
2209
- message: smithy_client_1.expectString(output.message),
2209
+ message: (0, smithy_client_1.expectString)(output.message),
2210
2210
  };
2211
2211
  };
2212
2212
  const deserializeAws_json1_1KMSThrottlingException = (output, context) => {
2213
2213
  return {
2214
- message: smithy_client_1.expectString(output.message),
2214
+ message: (0, smithy_client_1.expectString)(output.message),
2215
2215
  };
2216
2216
  };
2217
2217
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
2218
2218
  return {
2219
- message: smithy_client_1.expectString(output.message),
2219
+ message: (0, smithy_client_1.expectString)(output.message),
2220
2220
  };
2221
2221
  };
2222
2222
  const deserializeAws_json1_1ListShardsOutput = (output, context) => {
2223
2223
  return {
2224
- NextToken: smithy_client_1.expectString(output.NextToken),
2224
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2225
2225
  Shards: output.Shards !== undefined && output.Shards !== null
2226
2226
  ? deserializeAws_json1_1ShardList(output.Shards, context)
2227
2227
  : undefined,
@@ -2232,12 +2232,12 @@ const deserializeAws_json1_1ListStreamConsumersOutput = (output, context) => {
2232
2232
  Consumers: output.Consumers !== undefined && output.Consumers !== null
2233
2233
  ? deserializeAws_json1_1ConsumerList(output.Consumers, context)
2234
2234
  : undefined,
2235
- NextToken: smithy_client_1.expectString(output.NextToken),
2235
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2236
2236
  };
2237
2237
  };
2238
2238
  const deserializeAws_json1_1ListStreamsOutput = (output, context) => {
2239
2239
  return {
2240
- HasMoreStreams: smithy_client_1.expectBoolean(output.HasMoreStreams),
2240
+ HasMoreStreams: (0, smithy_client_1.expectBoolean)(output.HasMoreStreams),
2241
2241
  StreamNames: output.StreamNames !== undefined && output.StreamNames !== null
2242
2242
  ? deserializeAws_json1_1StreamNameList(output.StreamNames, context)
2243
2243
  : undefined,
@@ -2245,7 +2245,7 @@ const deserializeAws_json1_1ListStreamsOutput = (output, context) => {
2245
2245
  };
2246
2246
  const deserializeAws_json1_1ListTagsForStreamOutput = (output, context) => {
2247
2247
  return {
2248
- HasMoreTags: smithy_client_1.expectBoolean(output.HasMoreTags),
2248
+ HasMoreTags: (0, smithy_client_1.expectBoolean)(output.HasMoreTags),
2249
2249
  Tags: output.Tags !== undefined && output.Tags !== null
2250
2250
  ? deserializeAws_json1_1TagList(output.Tags, context)
2251
2251
  : undefined,
@@ -2258,26 +2258,26 @@ const deserializeAws_json1_1MetricsNameList = (output, context) => {
2258
2258
  if (entry === null) {
2259
2259
  return null;
2260
2260
  }
2261
- return smithy_client_1.expectString(entry);
2261
+ return (0, smithy_client_1.expectString)(entry);
2262
2262
  });
2263
2263
  return retVal;
2264
2264
  };
2265
2265
  const deserializeAws_json1_1ProvisionedThroughputExceededException = (output, context) => {
2266
2266
  return {
2267
- message: smithy_client_1.expectString(output.message),
2267
+ message: (0, smithy_client_1.expectString)(output.message),
2268
2268
  };
2269
2269
  };
2270
2270
  const deserializeAws_json1_1PutRecordOutput = (output, context) => {
2271
2271
  return {
2272
- EncryptionType: smithy_client_1.expectString(output.EncryptionType),
2273
- SequenceNumber: smithy_client_1.expectString(output.SequenceNumber),
2274
- ShardId: smithy_client_1.expectString(output.ShardId),
2272
+ EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
2273
+ SequenceNumber: (0, smithy_client_1.expectString)(output.SequenceNumber),
2274
+ ShardId: (0, smithy_client_1.expectString)(output.ShardId),
2275
2275
  };
2276
2276
  };
2277
2277
  const deserializeAws_json1_1PutRecordsOutput = (output, context) => {
2278
2278
  return {
2279
- EncryptionType: smithy_client_1.expectString(output.EncryptionType),
2280
- FailedRecordCount: smithy_client_1.expectInt32(output.FailedRecordCount),
2279
+ EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
2280
+ FailedRecordCount: (0, smithy_client_1.expectInt32)(output.FailedRecordCount),
2281
2281
  Records: output.Records !== undefined && output.Records !== null
2282
2282
  ? deserializeAws_json1_1PutRecordsResultEntryList(output.Records, context)
2283
2283
  : undefined,
@@ -2285,10 +2285,10 @@ const deserializeAws_json1_1PutRecordsOutput = (output, context) => {
2285
2285
  };
2286
2286
  const deserializeAws_json1_1PutRecordsResultEntry = (output, context) => {
2287
2287
  return {
2288
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
2289
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
2290
- SequenceNumber: smithy_client_1.expectString(output.SequenceNumber),
2291
- ShardId: smithy_client_1.expectString(output.ShardId),
2288
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
2289
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
2290
+ SequenceNumber: (0, smithy_client_1.expectString)(output.SequenceNumber),
2291
+ ShardId: (0, smithy_client_1.expectString)(output.ShardId),
2292
2292
  };
2293
2293
  };
2294
2294
  const deserializeAws_json1_1PutRecordsResultEntryList = (output, context) => {
@@ -2305,12 +2305,12 @@ const deserializeAws_json1_1PutRecordsResultEntryList = (output, context) => {
2305
2305
  const deserializeAws_json1_1_Record = (output, context) => {
2306
2306
  return {
2307
2307
  ApproximateArrivalTimestamp: output.ApproximateArrivalTimestamp !== undefined && output.ApproximateArrivalTimestamp !== null
2308
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApproximateArrivalTimestamp)))
2308
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApproximateArrivalTimestamp)))
2309
2309
  : undefined,
2310
2310
  Data: output.Data !== undefined && output.Data !== null ? context.base64Decoder(output.Data) : undefined,
2311
- EncryptionType: smithy_client_1.expectString(output.EncryptionType),
2312
- PartitionKey: smithy_client_1.expectString(output.PartitionKey),
2313
- SequenceNumber: smithy_client_1.expectString(output.SequenceNumber),
2311
+ EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
2312
+ PartitionKey: (0, smithy_client_1.expectString)(output.PartitionKey),
2313
+ SequenceNumber: (0, smithy_client_1.expectString)(output.SequenceNumber),
2314
2314
  };
2315
2315
  };
2316
2316
  const deserializeAws_json1_1RecordList = (output, context) => {
@@ -2333,31 +2333,31 @@ const deserializeAws_json1_1RegisterStreamConsumerOutput = (output, context) =>
2333
2333
  };
2334
2334
  const deserializeAws_json1_1ResourceInUseException = (output, context) => {
2335
2335
  return {
2336
- message: smithy_client_1.expectString(output.message),
2336
+ message: (0, smithy_client_1.expectString)(output.message),
2337
2337
  };
2338
2338
  };
2339
2339
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2340
2340
  return {
2341
- message: smithy_client_1.expectString(output.message),
2341
+ message: (0, smithy_client_1.expectString)(output.message),
2342
2342
  };
2343
2343
  };
2344
2344
  const deserializeAws_json1_1SequenceNumberRange = (output, context) => {
2345
2345
  return {
2346
- EndingSequenceNumber: smithy_client_1.expectString(output.EndingSequenceNumber),
2347
- StartingSequenceNumber: smithy_client_1.expectString(output.StartingSequenceNumber),
2346
+ EndingSequenceNumber: (0, smithy_client_1.expectString)(output.EndingSequenceNumber),
2347
+ StartingSequenceNumber: (0, smithy_client_1.expectString)(output.StartingSequenceNumber),
2348
2348
  };
2349
2349
  };
2350
2350
  const deserializeAws_json1_1Shard = (output, context) => {
2351
2351
  return {
2352
- AdjacentParentShardId: smithy_client_1.expectString(output.AdjacentParentShardId),
2352
+ AdjacentParentShardId: (0, smithy_client_1.expectString)(output.AdjacentParentShardId),
2353
2353
  HashKeyRange: output.HashKeyRange !== undefined && output.HashKeyRange !== null
2354
2354
  ? deserializeAws_json1_1HashKeyRange(output.HashKeyRange, context)
2355
2355
  : undefined,
2356
- ParentShardId: smithy_client_1.expectString(output.ParentShardId),
2356
+ ParentShardId: (0, smithy_client_1.expectString)(output.ParentShardId),
2357
2357
  SequenceNumberRange: output.SequenceNumberRange !== undefined && output.SequenceNumberRange !== null
2358
2358
  ? deserializeAws_json1_1SequenceNumberRange(output.SequenceNumberRange, context)
2359
2359
  : undefined,
2360
- ShardId: smithy_client_1.expectString(output.ShardId),
2360
+ ShardId: (0, smithy_client_1.expectString)(output.ShardId),
2361
2361
  };
2362
2362
  };
2363
2363
  const deserializeAws_json1_1ShardIdList = (output, context) => {
@@ -2367,7 +2367,7 @@ const deserializeAws_json1_1ShardIdList = (output, context) => {
2367
2367
  if (entry === null) {
2368
2368
  return null;
2369
2369
  }
2370
- return smithy_client_1.expectString(entry);
2370
+ return (0, smithy_client_1.expectString)(entry);
2371
2371
  });
2372
2372
  return retVal;
2373
2373
  };
@@ -2384,51 +2384,51 @@ const deserializeAws_json1_1ShardList = (output, context) => {
2384
2384
  };
2385
2385
  const deserializeAws_json1_1StreamDescription = (output, context) => {
2386
2386
  return {
2387
- EncryptionType: smithy_client_1.expectString(output.EncryptionType),
2387
+ EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
2388
2388
  EnhancedMonitoring: output.EnhancedMonitoring !== undefined && output.EnhancedMonitoring !== null
2389
2389
  ? deserializeAws_json1_1EnhancedMonitoringList(output.EnhancedMonitoring, context)
2390
2390
  : undefined,
2391
- HasMoreShards: smithy_client_1.expectBoolean(output.HasMoreShards),
2392
- KeyId: smithy_client_1.expectString(output.KeyId),
2393
- RetentionPeriodHours: smithy_client_1.expectInt32(output.RetentionPeriodHours),
2391
+ HasMoreShards: (0, smithy_client_1.expectBoolean)(output.HasMoreShards),
2392
+ KeyId: (0, smithy_client_1.expectString)(output.KeyId),
2393
+ RetentionPeriodHours: (0, smithy_client_1.expectInt32)(output.RetentionPeriodHours),
2394
2394
  Shards: output.Shards !== undefined && output.Shards !== null
2395
2395
  ? deserializeAws_json1_1ShardList(output.Shards, context)
2396
2396
  : undefined,
2397
- StreamARN: smithy_client_1.expectString(output.StreamARN),
2397
+ StreamARN: (0, smithy_client_1.expectString)(output.StreamARN),
2398
2398
  StreamCreationTimestamp: output.StreamCreationTimestamp !== undefined && output.StreamCreationTimestamp !== null
2399
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StreamCreationTimestamp)))
2399
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StreamCreationTimestamp)))
2400
2400
  : undefined,
2401
2401
  StreamModeDetails: output.StreamModeDetails !== undefined && output.StreamModeDetails !== null
2402
2402
  ? deserializeAws_json1_1StreamModeDetails(output.StreamModeDetails, context)
2403
2403
  : undefined,
2404
- StreamName: smithy_client_1.expectString(output.StreamName),
2405
- StreamStatus: smithy_client_1.expectString(output.StreamStatus),
2404
+ StreamName: (0, smithy_client_1.expectString)(output.StreamName),
2405
+ StreamStatus: (0, smithy_client_1.expectString)(output.StreamStatus),
2406
2406
  };
2407
2407
  };
2408
2408
  const deserializeAws_json1_1StreamDescriptionSummary = (output, context) => {
2409
2409
  return {
2410
- ConsumerCount: smithy_client_1.expectInt32(output.ConsumerCount),
2411
- EncryptionType: smithy_client_1.expectString(output.EncryptionType),
2410
+ ConsumerCount: (0, smithy_client_1.expectInt32)(output.ConsumerCount),
2411
+ EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
2412
2412
  EnhancedMonitoring: output.EnhancedMonitoring !== undefined && output.EnhancedMonitoring !== null
2413
2413
  ? deserializeAws_json1_1EnhancedMonitoringList(output.EnhancedMonitoring, context)
2414
2414
  : undefined,
2415
- KeyId: smithy_client_1.expectString(output.KeyId),
2416
- OpenShardCount: smithy_client_1.expectInt32(output.OpenShardCount),
2417
- RetentionPeriodHours: smithy_client_1.expectInt32(output.RetentionPeriodHours),
2418
- StreamARN: smithy_client_1.expectString(output.StreamARN),
2415
+ KeyId: (0, smithy_client_1.expectString)(output.KeyId),
2416
+ OpenShardCount: (0, smithy_client_1.expectInt32)(output.OpenShardCount),
2417
+ RetentionPeriodHours: (0, smithy_client_1.expectInt32)(output.RetentionPeriodHours),
2418
+ StreamARN: (0, smithy_client_1.expectString)(output.StreamARN),
2419
2419
  StreamCreationTimestamp: output.StreamCreationTimestamp !== undefined && output.StreamCreationTimestamp !== null
2420
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StreamCreationTimestamp)))
2420
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StreamCreationTimestamp)))
2421
2421
  : undefined,
2422
2422
  StreamModeDetails: output.StreamModeDetails !== undefined && output.StreamModeDetails !== null
2423
2423
  ? deserializeAws_json1_1StreamModeDetails(output.StreamModeDetails, context)
2424
2424
  : undefined,
2425
- StreamName: smithy_client_1.expectString(output.StreamName),
2426
- StreamStatus: smithy_client_1.expectString(output.StreamStatus),
2425
+ StreamName: (0, smithy_client_1.expectString)(output.StreamName),
2426
+ StreamStatus: (0, smithy_client_1.expectString)(output.StreamStatus),
2427
2427
  };
2428
2428
  };
2429
2429
  const deserializeAws_json1_1StreamModeDetails = (output, context) => {
2430
2430
  return {
2431
- StreamMode: smithy_client_1.expectString(output.StreamMode),
2431
+ StreamMode: (0, smithy_client_1.expectString)(output.StreamMode),
2432
2432
  };
2433
2433
  };
2434
2434
  const deserializeAws_json1_1StreamNameList = (output, context) => {
@@ -2438,7 +2438,7 @@ const deserializeAws_json1_1StreamNameList = (output, context) => {
2438
2438
  if (entry === null) {
2439
2439
  return null;
2440
2440
  }
2441
- return smithy_client_1.expectString(entry);
2441
+ return (0, smithy_client_1.expectString)(entry);
2442
2442
  });
2443
2443
  return retVal;
2444
2444
  };
@@ -2447,8 +2447,8 @@ const deserializeAws_json1_1SubscribeToShardEvent = (output, context) => {
2447
2447
  ChildShards: output.ChildShards !== undefined && output.ChildShards !== null
2448
2448
  ? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
2449
2449
  : undefined,
2450
- ContinuationSequenceNumber: smithy_client_1.expectString(output.ContinuationSequenceNumber),
2451
- MillisBehindLatest: smithy_client_1.expectLong(output.MillisBehindLatest),
2450
+ ContinuationSequenceNumber: (0, smithy_client_1.expectString)(output.ContinuationSequenceNumber),
2451
+ MillisBehindLatest: (0, smithy_client_1.expectLong)(output.MillisBehindLatest),
2452
2452
  Records: output.Records !== undefined && output.Records !== null
2453
2453
  ? deserializeAws_json1_1RecordList(output.Records, context)
2454
2454
  : undefined,
@@ -2510,14 +2510,14 @@ const deserializeAws_json1_1SubscribeToShardEventStream = (output, context) => {
2510
2510
  const deserializeAws_json1_1SubscribeToShardOutput = (output, context) => {
2511
2511
  return {
2512
2512
  EventStream: output.EventStream !== undefined && output.EventStream !== null
2513
- ? deserializeAws_json1_1SubscribeToShardEventStream(smithy_client_1.expectUnion(output.EventStream), context)
2513
+ ? deserializeAws_json1_1SubscribeToShardEventStream((0, smithy_client_1.expectUnion)(output.EventStream), context)
2514
2514
  : undefined,
2515
2515
  };
2516
2516
  };
2517
2517
  const deserializeAws_json1_1Tag = (output, context) => {
2518
2518
  return {
2519
- Key: smithy_client_1.expectString(output.Key),
2520
- Value: smithy_client_1.expectString(output.Value),
2519
+ Key: (0, smithy_client_1.expectString)(output.Key),
2520
+ Value: (0, smithy_client_1.expectString)(output.Value),
2521
2521
  };
2522
2522
  };
2523
2523
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -2533,14 +2533,14 @@ const deserializeAws_json1_1TagList = (output, context) => {
2533
2533
  };
2534
2534
  const deserializeAws_json1_1UpdateShardCountOutput = (output, context) => {
2535
2535
  return {
2536
- CurrentShardCount: smithy_client_1.expectInt32(output.CurrentShardCount),
2537
- StreamName: smithy_client_1.expectString(output.StreamName),
2538
- TargetShardCount: smithy_client_1.expectInt32(output.TargetShardCount),
2536
+ CurrentShardCount: (0, smithy_client_1.expectInt32)(output.CurrentShardCount),
2537
+ StreamName: (0, smithy_client_1.expectString)(output.StreamName),
2538
+ TargetShardCount: (0, smithy_client_1.expectInt32)(output.TargetShardCount),
2539
2539
  };
2540
2540
  };
2541
2541
  const deserializeAws_json1_1ValidationException = (output, context) => {
2542
2542
  return {
2543
- message: smithy_client_1.expectString(output.message),
2543
+ message: (0, smithy_client_1.expectString)(output.message),
2544
2544
  };
2545
2545
  };
2546
2546
  const deserializeMetadata = (output) => {