@aws-sdk/client-firehose 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 (29) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/FirehoseClient.js +13 -13
  3. package/dist-cjs/commands/CreateDeliveryStreamCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteDeliveryStreamCommand.js +3 -3
  5. package/dist-cjs/commands/DescribeDeliveryStreamCommand.js +3 -3
  6. package/dist-cjs/commands/ListDeliveryStreamsCommand.js +3 -3
  7. package/dist-cjs/commands/ListTagsForDeliveryStreamCommand.js +3 -3
  8. package/dist-cjs/commands/PutRecordBatchCommand.js +3 -3
  9. package/dist-cjs/commands/PutRecordCommand.js +3 -3
  10. package/dist-cjs/commands/StartDeliveryStreamEncryptionCommand.js +3 -3
  11. package/dist-cjs/commands/StopDeliveryStreamEncryptionCommand.js +3 -3
  12. package/dist-cjs/commands/TagDeliveryStreamCommand.js +3 -3
  13. package/dist-cjs/commands/UntagDeliveryStreamCommand.js +3 -3
  14. package/dist-cjs/commands/UpdateDestinationCommand.js +3 -3
  15. package/dist-cjs/endpoints.js +1 -1
  16. package/dist-cjs/protocols/Aws_json1_1.js +159 -159
  17. package/dist-cjs/runtimeConfig.browser.js +4 -4
  18. package/dist-cjs/runtimeConfig.js +9 -9
  19. package/dist-cjs/runtimeConfig.native.js +1 -1
  20. package/dist-es/Firehose.js +12 -12
  21. package/dist-types/FirehoseClient.d.ts +2 -2
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  23. package/dist-types/runtimeConfig.d.ts +1 -1
  24. package/dist-types/runtimeConfig.native.d.ts +3 -3
  25. package/dist-types/ts3.4/FirehoseClient.d.ts +2 -2
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  29. package/package.json +34 -34
@@ -167,7 +167,7 @@ const deserializeAws_json1_1CreateDeliveryStreamCommandError = async (output, co
167
167
  $fault: "client",
168
168
  $metadata: deserializeMetadata(output),
169
169
  });
170
- throw smithy_client_1.decorateServiceException(response, parsedBody);
170
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
171
171
  }
172
172
  };
173
173
  const deserializeAws_json1_1DeleteDeliveryStreamCommand = async (output, context) => {
@@ -206,7 +206,7 @@ const deserializeAws_json1_1DeleteDeliveryStreamCommandError = async (output, co
206
206
  $fault: "client",
207
207
  $metadata: deserializeMetadata(output),
208
208
  });
209
- throw smithy_client_1.decorateServiceException(response, parsedBody);
209
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
210
210
  }
211
211
  };
212
212
  const deserializeAws_json1_1DescribeDeliveryStreamCommand = async (output, context) => {
@@ -242,7 +242,7 @@ const deserializeAws_json1_1DescribeDeliveryStreamCommandError = async (output,
242
242
  $fault: "client",
243
243
  $metadata: deserializeMetadata(output),
244
244
  });
245
- throw smithy_client_1.decorateServiceException(response, parsedBody);
245
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
246
246
  }
247
247
  };
248
248
  const deserializeAws_json1_1ListDeliveryStreamsCommand = async (output, context) => {
@@ -275,7 +275,7 @@ const deserializeAws_json1_1ListDeliveryStreamsCommandError = async (output, con
275
275
  $fault: "client",
276
276
  $metadata: deserializeMetadata(output),
277
277
  });
278
- throw smithy_client_1.decorateServiceException(response, parsedBody);
278
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
279
279
  }
280
280
  };
281
281
  const deserializeAws_json1_1ListTagsForDeliveryStreamCommand = async (output, context) => {
@@ -317,7 +317,7 @@ const deserializeAws_json1_1ListTagsForDeliveryStreamCommandError = async (outpu
317
317
  $fault: "client",
318
318
  $metadata: deserializeMetadata(output),
319
319
  });
320
- throw smithy_client_1.decorateServiceException(response, parsedBody);
320
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
321
321
  }
322
322
  };
323
323
  const deserializeAws_json1_1PutRecordCommand = async (output, context) => {
@@ -362,7 +362,7 @@ const deserializeAws_json1_1PutRecordCommandError = async (output, context) => {
362
362
  $fault: "client",
363
363
  $metadata: deserializeMetadata(output),
364
364
  });
365
- throw smithy_client_1.decorateServiceException(response, parsedBody);
365
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
366
366
  }
367
367
  };
368
368
  const deserializeAws_json1_1PutRecordBatchCommand = async (output, context) => {
@@ -407,7 +407,7 @@ const deserializeAws_json1_1PutRecordBatchCommandError = async (output, context)
407
407
  $fault: "client",
408
408
  $metadata: deserializeMetadata(output),
409
409
  });
410
- throw smithy_client_1.decorateServiceException(response, parsedBody);
410
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
411
411
  }
412
412
  };
413
413
  const deserializeAws_json1_1StartDeliveryStreamEncryptionCommand = async (output, context) => {
@@ -455,7 +455,7 @@ const deserializeAws_json1_1StartDeliveryStreamEncryptionCommandError = async (o
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_1StopDeliveryStreamEncryptionCommand = async (output, context) => {
@@ -500,7 +500,7 @@ const deserializeAws_json1_1StopDeliveryStreamEncryptionCommandError = async (ou
500
500
  $fault: "client",
501
501
  $metadata: deserializeMetadata(output),
502
502
  });
503
- throw smithy_client_1.decorateServiceException(response, parsedBody);
503
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
504
504
  }
505
505
  };
506
506
  const deserializeAws_json1_1TagDeliveryStreamCommand = async (output, context) => {
@@ -545,7 +545,7 @@ const deserializeAws_json1_1TagDeliveryStreamCommandError = async (output, conte
545
545
  $fault: "client",
546
546
  $metadata: deserializeMetadata(output),
547
547
  });
548
- throw smithy_client_1.decorateServiceException(response, parsedBody);
548
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
549
549
  }
550
550
  };
551
551
  const deserializeAws_json1_1UntagDeliveryStreamCommand = async (output, context) => {
@@ -590,7 +590,7 @@ const deserializeAws_json1_1UntagDeliveryStreamCommandError = async (output, con
590
590
  $fault: "client",
591
591
  $metadata: deserializeMetadata(output),
592
592
  });
593
- throw smithy_client_1.decorateServiceException(response, parsedBody);
593
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
594
594
  }
595
595
  };
596
596
  const deserializeAws_json1_1UpdateDestinationCommand = async (output, context) => {
@@ -635,7 +635,7 @@ const deserializeAws_json1_1UpdateDestinationCommandError = async (output, conte
635
635
  $fault: "client",
636
636
  $metadata: deserializeMetadata(output),
637
637
  });
638
- throw smithy_client_1.decorateServiceException(response, parsedBody);
638
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
639
639
  }
640
640
  };
641
641
  const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
@@ -645,7 +645,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (par
645
645
  $metadata: deserializeMetadata(parsedOutput),
646
646
  ...deserialized,
647
647
  });
648
- return smithy_client_1.decorateServiceException(exception, body);
648
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
649
649
  };
650
650
  const deserializeAws_json1_1InvalidArgumentExceptionResponse = async (parsedOutput, context) => {
651
651
  const body = parsedOutput.body;
@@ -654,7 +654,7 @@ const deserializeAws_json1_1InvalidArgumentExceptionResponse = async (parsedOutp
654
654
  $metadata: deserializeMetadata(parsedOutput),
655
655
  ...deserialized,
656
656
  });
657
- return smithy_client_1.decorateServiceException(exception, body);
657
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
658
658
  };
659
659
  const deserializeAws_json1_1InvalidKMSResourceExceptionResponse = async (parsedOutput, context) => {
660
660
  const body = parsedOutput.body;
@@ -663,7 +663,7 @@ const deserializeAws_json1_1InvalidKMSResourceExceptionResponse = async (parsedO
663
663
  $metadata: deserializeMetadata(parsedOutput),
664
664
  ...deserialized,
665
665
  });
666
- return smithy_client_1.decorateServiceException(exception, body);
666
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
667
667
  };
668
668
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
669
669
  const body = parsedOutput.body;
@@ -672,7 +672,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
672
672
  $metadata: deserializeMetadata(parsedOutput),
673
673
  ...deserialized,
674
674
  });
675
- return smithy_client_1.decorateServiceException(exception, body);
675
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
676
676
  };
677
677
  const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
678
678
  const body = parsedOutput.body;
@@ -681,7 +681,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
681
681
  $metadata: deserializeMetadata(parsedOutput),
682
682
  ...deserialized,
683
683
  });
684
- return smithy_client_1.decorateServiceException(exception, body);
684
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
685
685
  };
686
686
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
687
687
  const body = parsedOutput.body;
@@ -690,7 +690,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
690
690
  $metadata: deserializeMetadata(parsedOutput),
691
691
  ...deserialized,
692
692
  });
693
- return smithy_client_1.decorateServiceException(exception, body);
693
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
694
694
  };
695
695
  const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
696
696
  const body = parsedOutput.body;
@@ -699,7 +699,7 @@ const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedO
699
699
  $metadata: deserializeMetadata(parsedOutput),
700
700
  ...deserialized,
701
701
  });
702
- return smithy_client_1.decorateServiceException(exception, body);
702
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
703
703
  };
704
704
  const serializeAws_json1_1AmazonopensearchserviceBufferingHints = (input, context) => {
705
705
  return {
@@ -1292,17 +1292,17 @@ const serializeAws_json1_1OrcSerDe = (input, context) => {
1292
1292
  }),
1293
1293
  ...(input.BloomFilterFalsePositiveProbability !== undefined &&
1294
1294
  input.BloomFilterFalsePositiveProbability !== null && {
1295
- BloomFilterFalsePositiveProbability: smithy_client_1.serializeFloat(input.BloomFilterFalsePositiveProbability),
1295
+ BloomFilterFalsePositiveProbability: (0, smithy_client_1.serializeFloat)(input.BloomFilterFalsePositiveProbability),
1296
1296
  }),
1297
1297
  ...(input.Compression !== undefined && input.Compression !== null && { Compression: input.Compression }),
1298
1298
  ...(input.DictionaryKeyThreshold !== undefined &&
1299
1299
  input.DictionaryKeyThreshold !== null && {
1300
- DictionaryKeyThreshold: smithy_client_1.serializeFloat(input.DictionaryKeyThreshold),
1300
+ DictionaryKeyThreshold: (0, smithy_client_1.serializeFloat)(input.DictionaryKeyThreshold),
1301
1301
  }),
1302
1302
  ...(input.EnablePadding !== undefined && input.EnablePadding !== null && { EnablePadding: input.EnablePadding }),
1303
1303
  ...(input.FormatVersion !== undefined && input.FormatVersion !== null && { FormatVersion: input.FormatVersion }),
1304
1304
  ...(input.PaddingTolerance !== undefined &&
1305
- input.PaddingTolerance !== null && { PaddingTolerance: smithy_client_1.serializeFloat(input.PaddingTolerance) }),
1305
+ input.PaddingTolerance !== null && { PaddingTolerance: (0, smithy_client_1.serializeFloat)(input.PaddingTolerance) }),
1306
1306
  ...(input.RowIndexStride !== undefined &&
1307
1307
  input.RowIndexStride !== null && { RowIndexStride: input.RowIndexStride }),
1308
1308
  ...(input.StripeSizeBytes !== undefined &&
@@ -1734,8 +1734,8 @@ const serializeAws_json1_1VpcConfiguration = (input, context) => {
1734
1734
  };
1735
1735
  const deserializeAws_json1_1AmazonopensearchserviceBufferingHints = (output, context) => {
1736
1736
  return {
1737
- IntervalInSeconds: smithy_client_1.expectInt32(output.IntervalInSeconds),
1738
- SizeInMBs: smithy_client_1.expectInt32(output.SizeInMBs),
1737
+ IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
1738
+ SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
1739
1739
  };
1740
1740
  };
1741
1741
  const deserializeAws_json1_1AmazonopensearchserviceDestinationDescription = (output, context) => {
@@ -1746,22 +1746,22 @@ const deserializeAws_json1_1AmazonopensearchserviceDestinationDescription = (out
1746
1746
  CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
1747
1747
  ? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
1748
1748
  : undefined,
1749
- ClusterEndpoint: smithy_client_1.expectString(output.ClusterEndpoint),
1750
- DomainARN: smithy_client_1.expectString(output.DomainARN),
1751
- IndexName: smithy_client_1.expectString(output.IndexName),
1752
- IndexRotationPeriod: smithy_client_1.expectString(output.IndexRotationPeriod),
1749
+ ClusterEndpoint: (0, smithy_client_1.expectString)(output.ClusterEndpoint),
1750
+ DomainARN: (0, smithy_client_1.expectString)(output.DomainARN),
1751
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
1752
+ IndexRotationPeriod: (0, smithy_client_1.expectString)(output.IndexRotationPeriod),
1753
1753
  ProcessingConfiguration: output.ProcessingConfiguration !== undefined && output.ProcessingConfiguration !== null
1754
1754
  ? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
1755
1755
  : undefined,
1756
1756
  RetryOptions: output.RetryOptions !== undefined && output.RetryOptions !== null
1757
1757
  ? deserializeAws_json1_1AmazonopensearchserviceRetryOptions(output.RetryOptions, context)
1758
1758
  : undefined,
1759
- RoleARN: smithy_client_1.expectString(output.RoleARN),
1760
- S3BackupMode: smithy_client_1.expectString(output.S3BackupMode),
1759
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
1760
+ S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
1761
1761
  S3DestinationDescription: output.S3DestinationDescription !== undefined && output.S3DestinationDescription !== null
1762
1762
  ? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
1763
1763
  : undefined,
1764
- TypeName: smithy_client_1.expectString(output.TypeName),
1764
+ TypeName: (0, smithy_client_1.expectString)(output.TypeName),
1765
1765
  VpcConfigurationDescription: output.VpcConfigurationDescription !== undefined && output.VpcConfigurationDescription !== null
1766
1766
  ? deserializeAws_json1_1VpcConfigurationDescription(output.VpcConfigurationDescription, context)
1767
1767
  : undefined,
@@ -1769,20 +1769,20 @@ const deserializeAws_json1_1AmazonopensearchserviceDestinationDescription = (out
1769
1769
  };
1770
1770
  const deserializeAws_json1_1AmazonopensearchserviceRetryOptions = (output, context) => {
1771
1771
  return {
1772
- DurationInSeconds: smithy_client_1.expectInt32(output.DurationInSeconds),
1772
+ DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
1773
1773
  };
1774
1774
  };
1775
1775
  const deserializeAws_json1_1BufferingHints = (output, context) => {
1776
1776
  return {
1777
- IntervalInSeconds: smithy_client_1.expectInt32(output.IntervalInSeconds),
1778
- SizeInMBs: smithy_client_1.expectInt32(output.SizeInMBs),
1777
+ IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
1778
+ SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
1779
1779
  };
1780
1780
  };
1781
1781
  const deserializeAws_json1_1CloudWatchLoggingOptions = (output, context) => {
1782
1782
  return {
1783
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
1784
- LogGroupName: smithy_client_1.expectString(output.LogGroupName),
1785
- LogStreamName: smithy_client_1.expectString(output.LogStreamName),
1783
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
1784
+ LogGroupName: (0, smithy_client_1.expectString)(output.LogGroupName),
1785
+ LogStreamName: (0, smithy_client_1.expectString)(output.LogStreamName),
1786
1786
  };
1787
1787
  };
1788
1788
  const deserializeAws_json1_1ColumnToJsonKeyMappings = (output, context) => {
@@ -1792,30 +1792,30 @@ const deserializeAws_json1_1ColumnToJsonKeyMappings = (output, context) => {
1792
1792
  }
1793
1793
  return {
1794
1794
  ...acc,
1795
- [key]: smithy_client_1.expectString(value),
1795
+ [key]: (0, smithy_client_1.expectString)(value),
1796
1796
  };
1797
1797
  }, {});
1798
1798
  };
1799
1799
  const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
1800
1800
  return {
1801
- message: smithy_client_1.expectString(output.message),
1801
+ message: (0, smithy_client_1.expectString)(output.message),
1802
1802
  };
1803
1803
  };
1804
1804
  const deserializeAws_json1_1CopyCommand = (output, context) => {
1805
1805
  return {
1806
- CopyOptions: smithy_client_1.expectString(output.CopyOptions),
1807
- DataTableColumns: smithy_client_1.expectString(output.DataTableColumns),
1808
- DataTableName: smithy_client_1.expectString(output.DataTableName),
1806
+ CopyOptions: (0, smithy_client_1.expectString)(output.CopyOptions),
1807
+ DataTableColumns: (0, smithy_client_1.expectString)(output.DataTableColumns),
1808
+ DataTableName: (0, smithy_client_1.expectString)(output.DataTableName),
1809
1809
  };
1810
1810
  };
1811
1811
  const deserializeAws_json1_1CreateDeliveryStreamOutput = (output, context) => {
1812
1812
  return {
1813
- DeliveryStreamARN: smithy_client_1.expectString(output.DeliveryStreamARN),
1813
+ DeliveryStreamARN: (0, smithy_client_1.expectString)(output.DeliveryStreamARN),
1814
1814
  };
1815
1815
  };
1816
1816
  const deserializeAws_json1_1DataFormatConversionConfiguration = (output, context) => {
1817
1817
  return {
1818
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
1818
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
1819
1819
  InputFormatConfiguration: output.InputFormatConfiguration !== undefined && output.InputFormatConfiguration !== null
1820
1820
  ? deserializeAws_json1_1InputFormatConfiguration(output.InputFormatConfiguration, context)
1821
1821
  : undefined,
@@ -1833,30 +1833,30 @@ const deserializeAws_json1_1DeleteDeliveryStreamOutput = (output, context) => {
1833
1833
  const deserializeAws_json1_1DeliveryStreamDescription = (output, context) => {
1834
1834
  return {
1835
1835
  CreateTimestamp: output.CreateTimestamp !== undefined && output.CreateTimestamp !== null
1836
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTimestamp)))
1836
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTimestamp)))
1837
1837
  : undefined,
1838
- DeliveryStreamARN: smithy_client_1.expectString(output.DeliveryStreamARN),
1838
+ DeliveryStreamARN: (0, smithy_client_1.expectString)(output.DeliveryStreamARN),
1839
1839
  DeliveryStreamEncryptionConfiguration: output.DeliveryStreamEncryptionConfiguration !== undefined &&
1840
1840
  output.DeliveryStreamEncryptionConfiguration !== null
1841
1841
  ? deserializeAws_json1_1DeliveryStreamEncryptionConfiguration(output.DeliveryStreamEncryptionConfiguration, context)
1842
1842
  : undefined,
1843
- DeliveryStreamName: smithy_client_1.expectString(output.DeliveryStreamName),
1844
- DeliveryStreamStatus: smithy_client_1.expectString(output.DeliveryStreamStatus),
1845
- DeliveryStreamType: smithy_client_1.expectString(output.DeliveryStreamType),
1843
+ DeliveryStreamName: (0, smithy_client_1.expectString)(output.DeliveryStreamName),
1844
+ DeliveryStreamStatus: (0, smithy_client_1.expectString)(output.DeliveryStreamStatus),
1845
+ DeliveryStreamType: (0, smithy_client_1.expectString)(output.DeliveryStreamType),
1846
1846
  Destinations: output.Destinations !== undefined && output.Destinations !== null
1847
1847
  ? deserializeAws_json1_1DestinationDescriptionList(output.Destinations, context)
1848
1848
  : undefined,
1849
1849
  FailureDescription: output.FailureDescription !== undefined && output.FailureDescription !== null
1850
1850
  ? deserializeAws_json1_1FailureDescription(output.FailureDescription, context)
1851
1851
  : undefined,
1852
- HasMoreDestinations: smithy_client_1.expectBoolean(output.HasMoreDestinations),
1852
+ HasMoreDestinations: (0, smithy_client_1.expectBoolean)(output.HasMoreDestinations),
1853
1853
  LastUpdateTimestamp: output.LastUpdateTimestamp !== undefined && output.LastUpdateTimestamp !== null
1854
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTimestamp)))
1854
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTimestamp)))
1855
1855
  : undefined,
1856
1856
  Source: output.Source !== undefined && output.Source !== null
1857
1857
  ? deserializeAws_json1_1SourceDescription(output.Source, context)
1858
1858
  : undefined,
1859
- VersionId: smithy_client_1.expectString(output.VersionId),
1859
+ VersionId: (0, smithy_client_1.expectString)(output.VersionId),
1860
1860
  };
1861
1861
  };
1862
1862
  const deserializeAws_json1_1DeliveryStreamEncryptionConfiguration = (output, context) => {
@@ -1864,9 +1864,9 @@ const deserializeAws_json1_1DeliveryStreamEncryptionConfiguration = (output, con
1864
1864
  FailureDescription: output.FailureDescription !== undefined && output.FailureDescription !== null
1865
1865
  ? deserializeAws_json1_1FailureDescription(output.FailureDescription, context)
1866
1866
  : undefined,
1867
- KeyARN: smithy_client_1.expectString(output.KeyARN),
1868
- KeyType: smithy_client_1.expectString(output.KeyType),
1869
- Status: smithy_client_1.expectString(output.Status),
1867
+ KeyARN: (0, smithy_client_1.expectString)(output.KeyARN),
1868
+ KeyType: (0, smithy_client_1.expectString)(output.KeyType),
1869
+ Status: (0, smithy_client_1.expectString)(output.Status),
1870
1870
  };
1871
1871
  };
1872
1872
  const deserializeAws_json1_1DeliveryStreamNameList = (output, context) => {
@@ -1876,7 +1876,7 @@ const deserializeAws_json1_1DeliveryStreamNameList = (output, context) => {
1876
1876
  if (entry === null) {
1877
1877
  return null;
1878
1878
  }
1879
- return smithy_client_1.expectString(entry);
1879
+ return (0, smithy_client_1.expectString)(entry);
1880
1880
  });
1881
1881
  return retVal;
1882
1882
  };
@@ -1903,7 +1903,7 @@ const deserializeAws_json1_1DestinationDescription = (output, context) => {
1903
1903
  output.AmazonopensearchserviceDestinationDescription !== null
1904
1904
  ? deserializeAws_json1_1AmazonopensearchserviceDestinationDescription(output.AmazonopensearchserviceDestinationDescription, context)
1905
1905
  : undefined,
1906
- DestinationId: smithy_client_1.expectString(output.DestinationId),
1906
+ DestinationId: (0, smithy_client_1.expectString)(output.DestinationId),
1907
1907
  ElasticsearchDestinationDescription: output.ElasticsearchDestinationDescription !== undefined && output.ElasticsearchDestinationDescription !== null
1908
1908
  ? deserializeAws_json1_1ElasticsearchDestinationDescription(output.ElasticsearchDestinationDescription, context)
1909
1909
  : undefined,
@@ -1937,7 +1937,7 @@ const deserializeAws_json1_1DestinationDescriptionList = (output, context) => {
1937
1937
  };
1938
1938
  const deserializeAws_json1_1DynamicPartitioningConfiguration = (output, context) => {
1939
1939
  return {
1940
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
1940
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
1941
1941
  RetryOptions: output.RetryOptions !== undefined && output.RetryOptions !== null
1942
1942
  ? deserializeAws_json1_1RetryOptions(output.RetryOptions, context)
1943
1943
  : undefined,
@@ -1945,8 +1945,8 @@ const deserializeAws_json1_1DynamicPartitioningConfiguration = (output, context)
1945
1945
  };
1946
1946
  const deserializeAws_json1_1ElasticsearchBufferingHints = (output, context) => {
1947
1947
  return {
1948
- IntervalInSeconds: smithy_client_1.expectInt32(output.IntervalInSeconds),
1949
- SizeInMBs: smithy_client_1.expectInt32(output.SizeInMBs),
1948
+ IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
1949
+ SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
1950
1950
  };
1951
1951
  };
1952
1952
  const deserializeAws_json1_1ElasticsearchDestinationDescription = (output, context) => {
@@ -1957,22 +1957,22 @@ const deserializeAws_json1_1ElasticsearchDestinationDescription = (output, conte
1957
1957
  CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
1958
1958
  ? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
1959
1959
  : undefined,
1960
- ClusterEndpoint: smithy_client_1.expectString(output.ClusterEndpoint),
1961
- DomainARN: smithy_client_1.expectString(output.DomainARN),
1962
- IndexName: smithy_client_1.expectString(output.IndexName),
1963
- IndexRotationPeriod: smithy_client_1.expectString(output.IndexRotationPeriod),
1960
+ ClusterEndpoint: (0, smithy_client_1.expectString)(output.ClusterEndpoint),
1961
+ DomainARN: (0, smithy_client_1.expectString)(output.DomainARN),
1962
+ IndexName: (0, smithy_client_1.expectString)(output.IndexName),
1963
+ IndexRotationPeriod: (0, smithy_client_1.expectString)(output.IndexRotationPeriod),
1964
1964
  ProcessingConfiguration: output.ProcessingConfiguration !== undefined && output.ProcessingConfiguration !== null
1965
1965
  ? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
1966
1966
  : undefined,
1967
1967
  RetryOptions: output.RetryOptions !== undefined && output.RetryOptions !== null
1968
1968
  ? deserializeAws_json1_1ElasticsearchRetryOptions(output.RetryOptions, context)
1969
1969
  : undefined,
1970
- RoleARN: smithy_client_1.expectString(output.RoleARN),
1971
- S3BackupMode: smithy_client_1.expectString(output.S3BackupMode),
1970
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
1971
+ S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
1972
1972
  S3DestinationDescription: output.S3DestinationDescription !== undefined && output.S3DestinationDescription !== null
1973
1973
  ? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
1974
1974
  : undefined,
1975
- TypeName: smithy_client_1.expectString(output.TypeName),
1975
+ TypeName: (0, smithy_client_1.expectString)(output.TypeName),
1976
1976
  VpcConfigurationDescription: output.VpcConfigurationDescription !== undefined && output.VpcConfigurationDescription !== null
1977
1977
  ? deserializeAws_json1_1VpcConfigurationDescription(output.VpcConfigurationDescription, context)
1978
1978
  : undefined,
@@ -1980,7 +1980,7 @@ const deserializeAws_json1_1ElasticsearchDestinationDescription = (output, conte
1980
1980
  };
1981
1981
  const deserializeAws_json1_1ElasticsearchRetryOptions = (output, context) => {
1982
1982
  return {
1983
- DurationInSeconds: smithy_client_1.expectInt32(output.DurationInSeconds),
1983
+ DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
1984
1984
  };
1985
1985
  };
1986
1986
  const deserializeAws_json1_1EncryptionConfiguration = (output, context) => {
@@ -1988,19 +1988,19 @@ const deserializeAws_json1_1EncryptionConfiguration = (output, context) => {
1988
1988
  KMSEncryptionConfig: output.KMSEncryptionConfig !== undefined && output.KMSEncryptionConfig !== null
1989
1989
  ? deserializeAws_json1_1KMSEncryptionConfig(output.KMSEncryptionConfig, context)
1990
1990
  : undefined,
1991
- NoEncryptionConfig: smithy_client_1.expectString(output.NoEncryptionConfig),
1991
+ NoEncryptionConfig: (0, smithy_client_1.expectString)(output.NoEncryptionConfig),
1992
1992
  };
1993
1993
  };
1994
1994
  const deserializeAws_json1_1ExtendedS3DestinationDescription = (output, context) => {
1995
1995
  return {
1996
- BucketARN: smithy_client_1.expectString(output.BucketARN),
1996
+ BucketARN: (0, smithy_client_1.expectString)(output.BucketARN),
1997
1997
  BufferingHints: output.BufferingHints !== undefined && output.BufferingHints !== null
1998
1998
  ? deserializeAws_json1_1BufferingHints(output.BufferingHints, context)
1999
1999
  : undefined,
2000
2000
  CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
2001
2001
  ? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
2002
2002
  : undefined,
2003
- CompressionFormat: smithy_client_1.expectString(output.CompressionFormat),
2003
+ CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
2004
2004
  DataFormatConversionConfiguration: output.DataFormatConversionConfiguration !== undefined && output.DataFormatConversionConfiguration !== null
2005
2005
  ? deserializeAws_json1_1DataFormatConversionConfiguration(output.DataFormatConversionConfiguration, context)
2006
2006
  : undefined,
@@ -2010,22 +2010,22 @@ const deserializeAws_json1_1ExtendedS3DestinationDescription = (output, context)
2010
2010
  EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
2011
2011
  ? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
2012
2012
  : undefined,
2013
- ErrorOutputPrefix: smithy_client_1.expectString(output.ErrorOutputPrefix),
2014
- Prefix: smithy_client_1.expectString(output.Prefix),
2013
+ ErrorOutputPrefix: (0, smithy_client_1.expectString)(output.ErrorOutputPrefix),
2014
+ Prefix: (0, smithy_client_1.expectString)(output.Prefix),
2015
2015
  ProcessingConfiguration: output.ProcessingConfiguration !== undefined && output.ProcessingConfiguration !== null
2016
2016
  ? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
2017
2017
  : undefined,
2018
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2018
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2019
2019
  S3BackupDescription: output.S3BackupDescription !== undefined && output.S3BackupDescription !== null
2020
2020
  ? deserializeAws_json1_1S3DestinationDescription(output.S3BackupDescription, context)
2021
2021
  : undefined,
2022
- S3BackupMode: smithy_client_1.expectString(output.S3BackupMode),
2022
+ S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
2023
2023
  };
2024
2024
  };
2025
2025
  const deserializeAws_json1_1FailureDescription = (output, context) => {
2026
2026
  return {
2027
- Details: smithy_client_1.expectString(output.Details),
2028
- Type: smithy_client_1.expectString(output.Type),
2027
+ Details: (0, smithy_client_1.expectString)(output.Details),
2028
+ Type: (0, smithy_client_1.expectString)(output.Type),
2029
2029
  };
2030
2030
  };
2031
2031
  const deserializeAws_json1_1HiveJsonSerDe = (output, context) => {
@@ -2037,14 +2037,14 @@ const deserializeAws_json1_1HiveJsonSerDe = (output, context) => {
2037
2037
  };
2038
2038
  const deserializeAws_json1_1HttpEndpointBufferingHints = (output, context) => {
2039
2039
  return {
2040
- IntervalInSeconds: smithy_client_1.expectInt32(output.IntervalInSeconds),
2041
- SizeInMBs: smithy_client_1.expectInt32(output.SizeInMBs),
2040
+ IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
2041
+ SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
2042
2042
  };
2043
2043
  };
2044
2044
  const deserializeAws_json1_1HttpEndpointCommonAttribute = (output, context) => {
2045
2045
  return {
2046
- AttributeName: smithy_client_1.expectString(output.AttributeName),
2047
- AttributeValue: smithy_client_1.expectString(output.AttributeValue),
2046
+ AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
2047
+ AttributeValue: (0, smithy_client_1.expectString)(output.AttributeValue),
2048
2048
  };
2049
2049
  };
2050
2050
  const deserializeAws_json1_1HttpEndpointCommonAttributesList = (output, context) => {
@@ -2060,8 +2060,8 @@ const deserializeAws_json1_1HttpEndpointCommonAttributesList = (output, context)
2060
2060
  };
2061
2061
  const deserializeAws_json1_1HttpEndpointDescription = (output, context) => {
2062
2062
  return {
2063
- Name: smithy_client_1.expectString(output.Name),
2064
- Url: smithy_client_1.expectString(output.Url),
2063
+ Name: (0, smithy_client_1.expectString)(output.Name),
2064
+ Url: (0, smithy_client_1.expectString)(output.Url),
2065
2065
  };
2066
2066
  };
2067
2067
  const deserializeAws_json1_1HttpEndpointDestinationDescription = (output, context) => {
@@ -2084,8 +2084,8 @@ const deserializeAws_json1_1HttpEndpointDestinationDescription = (output, contex
2084
2084
  RetryOptions: output.RetryOptions !== undefined && output.RetryOptions !== null
2085
2085
  ? deserializeAws_json1_1HttpEndpointRetryOptions(output.RetryOptions, context)
2086
2086
  : undefined,
2087
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2088
- S3BackupMode: smithy_client_1.expectString(output.S3BackupMode),
2087
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2088
+ S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
2089
2089
  S3DestinationDescription: output.S3DestinationDescription !== undefined && output.S3DestinationDescription !== null
2090
2090
  ? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
2091
2091
  : undefined,
@@ -2096,12 +2096,12 @@ const deserializeAws_json1_1HttpEndpointRequestConfiguration = (output, context)
2096
2096
  CommonAttributes: output.CommonAttributes !== undefined && output.CommonAttributes !== null
2097
2097
  ? deserializeAws_json1_1HttpEndpointCommonAttributesList(output.CommonAttributes, context)
2098
2098
  : undefined,
2099
- ContentEncoding: smithy_client_1.expectString(output.ContentEncoding),
2099
+ ContentEncoding: (0, smithy_client_1.expectString)(output.ContentEncoding),
2100
2100
  };
2101
2101
  };
2102
2102
  const deserializeAws_json1_1HttpEndpointRetryOptions = (output, context) => {
2103
2103
  return {
2104
- DurationInSeconds: smithy_client_1.expectInt32(output.DurationInSeconds),
2104
+ DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
2105
2105
  };
2106
2106
  };
2107
2107
  const deserializeAws_json1_1InputFormatConfiguration = (output, context) => {
@@ -2113,32 +2113,32 @@ const deserializeAws_json1_1InputFormatConfiguration = (output, context) => {
2113
2113
  };
2114
2114
  const deserializeAws_json1_1InvalidArgumentException = (output, context) => {
2115
2115
  return {
2116
- message: smithy_client_1.expectString(output.message),
2116
+ message: (0, smithy_client_1.expectString)(output.message),
2117
2117
  };
2118
2118
  };
2119
2119
  const deserializeAws_json1_1InvalidKMSResourceException = (output, context) => {
2120
2120
  return {
2121
- code: smithy_client_1.expectString(output.code),
2122
- message: smithy_client_1.expectString(output.message),
2121
+ code: (0, smithy_client_1.expectString)(output.code),
2122
+ message: (0, smithy_client_1.expectString)(output.message),
2123
2123
  };
2124
2124
  };
2125
2125
  const deserializeAws_json1_1KinesisStreamSourceDescription = (output, context) => {
2126
2126
  return {
2127
2127
  DeliveryStartTimestamp: output.DeliveryStartTimestamp !== undefined && output.DeliveryStartTimestamp !== null
2128
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeliveryStartTimestamp)))
2128
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeliveryStartTimestamp)))
2129
2129
  : undefined,
2130
- KinesisStreamARN: smithy_client_1.expectString(output.KinesisStreamARN),
2131
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2130
+ KinesisStreamARN: (0, smithy_client_1.expectString)(output.KinesisStreamARN),
2131
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2132
2132
  };
2133
2133
  };
2134
2134
  const deserializeAws_json1_1KMSEncryptionConfig = (output, context) => {
2135
2135
  return {
2136
- AWSKMSKeyARN: smithy_client_1.expectString(output.AWSKMSKeyARN),
2136
+ AWSKMSKeyARN: (0, smithy_client_1.expectString)(output.AWSKMSKeyARN),
2137
2137
  };
2138
2138
  };
2139
2139
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
2140
2140
  return {
2141
- message: smithy_client_1.expectString(output.message),
2141
+ message: (0, smithy_client_1.expectString)(output.message),
2142
2142
  };
2143
2143
  };
2144
2144
  const deserializeAws_json1_1ListDeliveryStreamsOutput = (output, context) => {
@@ -2146,7 +2146,7 @@ const deserializeAws_json1_1ListDeliveryStreamsOutput = (output, context) => {
2146
2146
  DeliveryStreamNames: output.DeliveryStreamNames !== undefined && output.DeliveryStreamNames !== null
2147
2147
  ? deserializeAws_json1_1DeliveryStreamNameList(output.DeliveryStreamNames, context)
2148
2148
  : undefined,
2149
- HasMoreDeliveryStreams: smithy_client_1.expectBoolean(output.HasMoreDeliveryStreams),
2149
+ HasMoreDeliveryStreams: (0, smithy_client_1.expectBoolean)(output.HasMoreDeliveryStreams),
2150
2150
  };
2151
2151
  };
2152
2152
  const deserializeAws_json1_1ListOfNonEmptyStrings = (output, context) => {
@@ -2156,7 +2156,7 @@ const deserializeAws_json1_1ListOfNonEmptyStrings = (output, context) => {
2156
2156
  if (entry === null) {
2157
2157
  return null;
2158
2158
  }
2159
- return smithy_client_1.expectString(entry);
2159
+ return (0, smithy_client_1.expectString)(entry);
2160
2160
  });
2161
2161
  return retVal;
2162
2162
  };
@@ -2167,13 +2167,13 @@ const deserializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace = (output, co
2167
2167
  if (entry === null) {
2168
2168
  return null;
2169
2169
  }
2170
- return smithy_client_1.expectString(entry);
2170
+ return (0, smithy_client_1.expectString)(entry);
2171
2171
  });
2172
2172
  return retVal;
2173
2173
  };
2174
2174
  const deserializeAws_json1_1ListTagsForDeliveryStreamOutput = (output, context) => {
2175
2175
  return {
2176
- HasMoreTags: smithy_client_1.expectBoolean(output.HasMoreTags),
2176
+ HasMoreTags: (0, smithy_client_1.expectBoolean)(output.HasMoreTags),
2177
2177
  Tags: output.Tags !== undefined && output.Tags !== null
2178
2178
  ? deserializeAws_json1_1ListTagsForDeliveryStreamOutputTagList(output.Tags, context)
2179
2179
  : undefined,
@@ -2192,27 +2192,27 @@ const deserializeAws_json1_1ListTagsForDeliveryStreamOutputTagList = (output, co
2192
2192
  };
2193
2193
  const deserializeAws_json1_1OpenXJsonSerDe = (output, context) => {
2194
2194
  return {
2195
- CaseInsensitive: smithy_client_1.expectBoolean(output.CaseInsensitive),
2195
+ CaseInsensitive: (0, smithy_client_1.expectBoolean)(output.CaseInsensitive),
2196
2196
  ColumnToJsonKeyMappings: output.ColumnToJsonKeyMappings !== undefined && output.ColumnToJsonKeyMappings !== null
2197
2197
  ? deserializeAws_json1_1ColumnToJsonKeyMappings(output.ColumnToJsonKeyMappings, context)
2198
2198
  : undefined,
2199
- ConvertDotsInJsonKeysToUnderscores: smithy_client_1.expectBoolean(output.ConvertDotsInJsonKeysToUnderscores),
2199
+ ConvertDotsInJsonKeysToUnderscores: (0, smithy_client_1.expectBoolean)(output.ConvertDotsInJsonKeysToUnderscores),
2200
2200
  };
2201
2201
  };
2202
2202
  const deserializeAws_json1_1OrcSerDe = (output, context) => {
2203
2203
  return {
2204
- BlockSizeBytes: smithy_client_1.expectInt32(output.BlockSizeBytes),
2204
+ BlockSizeBytes: (0, smithy_client_1.expectInt32)(output.BlockSizeBytes),
2205
2205
  BloomFilterColumns: output.BloomFilterColumns !== undefined && output.BloomFilterColumns !== null
2206
2206
  ? deserializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace(output.BloomFilterColumns, context)
2207
2207
  : undefined,
2208
- BloomFilterFalsePositiveProbability: smithy_client_1.limitedParseDouble(output.BloomFilterFalsePositiveProbability),
2209
- Compression: smithy_client_1.expectString(output.Compression),
2210
- DictionaryKeyThreshold: smithy_client_1.limitedParseDouble(output.DictionaryKeyThreshold),
2211
- EnablePadding: smithy_client_1.expectBoolean(output.EnablePadding),
2212
- FormatVersion: smithy_client_1.expectString(output.FormatVersion),
2213
- PaddingTolerance: smithy_client_1.limitedParseDouble(output.PaddingTolerance),
2214
- RowIndexStride: smithy_client_1.expectInt32(output.RowIndexStride),
2215
- StripeSizeBytes: smithy_client_1.expectInt32(output.StripeSizeBytes),
2208
+ BloomFilterFalsePositiveProbability: (0, smithy_client_1.limitedParseDouble)(output.BloomFilterFalsePositiveProbability),
2209
+ Compression: (0, smithy_client_1.expectString)(output.Compression),
2210
+ DictionaryKeyThreshold: (0, smithy_client_1.limitedParseDouble)(output.DictionaryKeyThreshold),
2211
+ EnablePadding: (0, smithy_client_1.expectBoolean)(output.EnablePadding),
2212
+ FormatVersion: (0, smithy_client_1.expectString)(output.FormatVersion),
2213
+ PaddingTolerance: (0, smithy_client_1.limitedParseDouble)(output.PaddingTolerance),
2214
+ RowIndexStride: (0, smithy_client_1.expectInt32)(output.RowIndexStride),
2215
+ StripeSizeBytes: (0, smithy_client_1.expectInt32)(output.StripeSizeBytes),
2216
2216
  };
2217
2217
  };
2218
2218
  const deserializeAws_json1_1OutputFormatConfiguration = (output, context) => {
@@ -2224,17 +2224,17 @@ const deserializeAws_json1_1OutputFormatConfiguration = (output, context) => {
2224
2224
  };
2225
2225
  const deserializeAws_json1_1ParquetSerDe = (output, context) => {
2226
2226
  return {
2227
- BlockSizeBytes: smithy_client_1.expectInt32(output.BlockSizeBytes),
2228
- Compression: smithy_client_1.expectString(output.Compression),
2229
- EnableDictionaryCompression: smithy_client_1.expectBoolean(output.EnableDictionaryCompression),
2230
- MaxPaddingBytes: smithy_client_1.expectInt32(output.MaxPaddingBytes),
2231
- PageSizeBytes: smithy_client_1.expectInt32(output.PageSizeBytes),
2232
- WriterVersion: smithy_client_1.expectString(output.WriterVersion),
2227
+ BlockSizeBytes: (0, smithy_client_1.expectInt32)(output.BlockSizeBytes),
2228
+ Compression: (0, smithy_client_1.expectString)(output.Compression),
2229
+ EnableDictionaryCompression: (0, smithy_client_1.expectBoolean)(output.EnableDictionaryCompression),
2230
+ MaxPaddingBytes: (0, smithy_client_1.expectInt32)(output.MaxPaddingBytes),
2231
+ PageSizeBytes: (0, smithy_client_1.expectInt32)(output.PageSizeBytes),
2232
+ WriterVersion: (0, smithy_client_1.expectString)(output.WriterVersion),
2233
2233
  };
2234
2234
  };
2235
2235
  const deserializeAws_json1_1ProcessingConfiguration = (output, context) => {
2236
2236
  return {
2237
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
2237
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
2238
2238
  Processors: output.Processors !== undefined && output.Processors !== null
2239
2239
  ? deserializeAws_json1_1ProcessorList(output.Processors, context)
2240
2240
  : undefined,
@@ -2245,7 +2245,7 @@ const deserializeAws_json1_1Processor = (output, context) => {
2245
2245
  Parameters: output.Parameters !== undefined && output.Parameters !== null
2246
2246
  ? deserializeAws_json1_1ProcessorParameterList(output.Parameters, context)
2247
2247
  : undefined,
2248
- Type: smithy_client_1.expectString(output.Type),
2248
+ Type: (0, smithy_client_1.expectString)(output.Type),
2249
2249
  };
2250
2250
  };
2251
2251
  const deserializeAws_json1_1ProcessorList = (output, context) => {
@@ -2261,8 +2261,8 @@ const deserializeAws_json1_1ProcessorList = (output, context) => {
2261
2261
  };
2262
2262
  const deserializeAws_json1_1ProcessorParameter = (output, context) => {
2263
2263
  return {
2264
- ParameterName: smithy_client_1.expectString(output.ParameterName),
2265
- ParameterValue: smithy_client_1.expectString(output.ParameterValue),
2264
+ ParameterName: (0, smithy_client_1.expectString)(output.ParameterName),
2265
+ ParameterValue: (0, smithy_client_1.expectString)(output.ParameterValue),
2266
2266
  };
2267
2267
  };
2268
2268
  const deserializeAws_json1_1ProcessorParameterList = (output, context) => {
@@ -2278,8 +2278,8 @@ const deserializeAws_json1_1ProcessorParameterList = (output, context) => {
2278
2278
  };
2279
2279
  const deserializeAws_json1_1PutRecordBatchOutput = (output, context) => {
2280
2280
  return {
2281
- Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
2282
- FailedPutCount: smithy_client_1.expectInt32(output.FailedPutCount),
2281
+ Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
2282
+ FailedPutCount: (0, smithy_client_1.expectInt32)(output.FailedPutCount),
2283
2283
  RequestResponses: output.RequestResponses !== undefined && output.RequestResponses !== null
2284
2284
  ? deserializeAws_json1_1PutRecordBatchResponseEntryList(output.RequestResponses, context)
2285
2285
  : undefined,
@@ -2287,9 +2287,9 @@ const deserializeAws_json1_1PutRecordBatchOutput = (output, context) => {
2287
2287
  };
2288
2288
  const deserializeAws_json1_1PutRecordBatchResponseEntry = (output, context) => {
2289
2289
  return {
2290
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
2291
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
2292
- RecordId: smithy_client_1.expectString(output.RecordId),
2290
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
2291
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
2292
+ RecordId: (0, smithy_client_1.expectString)(output.RecordId),
2293
2293
  };
2294
2294
  };
2295
2295
  const deserializeAws_json1_1PutRecordBatchResponseEntryList = (output, context) => {
@@ -2305,8 +2305,8 @@ const deserializeAws_json1_1PutRecordBatchResponseEntryList = (output, context)
2305
2305
  };
2306
2306
  const deserializeAws_json1_1PutRecordOutput = (output, context) => {
2307
2307
  return {
2308
- Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
2309
- RecordId: smithy_client_1.expectString(output.RecordId),
2308
+ Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
2309
+ RecordId: (0, smithy_client_1.expectString)(output.RecordId),
2310
2310
  };
2311
2311
  };
2312
2312
  const deserializeAws_json1_1RedshiftDestinationDescription = (output, context) => {
@@ -2314,7 +2314,7 @@ const deserializeAws_json1_1RedshiftDestinationDescription = (output, context) =
2314
2314
  CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
2315
2315
  ? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
2316
2316
  : undefined,
2317
- ClusterJDBCURL: smithy_client_1.expectString(output.ClusterJDBCURL),
2317
+ ClusterJDBCURL: (0, smithy_client_1.expectString)(output.ClusterJDBCURL),
2318
2318
  CopyCommand: output.CopyCommand !== undefined && output.CopyCommand !== null
2319
2319
  ? deserializeAws_json1_1CopyCommand(output.CopyCommand, context)
2320
2320
  : undefined,
@@ -2324,63 +2324,63 @@ const deserializeAws_json1_1RedshiftDestinationDescription = (output, context) =
2324
2324
  RetryOptions: output.RetryOptions !== undefined && output.RetryOptions !== null
2325
2325
  ? deserializeAws_json1_1RedshiftRetryOptions(output.RetryOptions, context)
2326
2326
  : undefined,
2327
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2327
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2328
2328
  S3BackupDescription: output.S3BackupDescription !== undefined && output.S3BackupDescription !== null
2329
2329
  ? deserializeAws_json1_1S3DestinationDescription(output.S3BackupDescription, context)
2330
2330
  : undefined,
2331
- S3BackupMode: smithy_client_1.expectString(output.S3BackupMode),
2331
+ S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
2332
2332
  S3DestinationDescription: output.S3DestinationDescription !== undefined && output.S3DestinationDescription !== null
2333
2333
  ? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
2334
2334
  : undefined,
2335
- Username: smithy_client_1.expectString(output.Username),
2335
+ Username: (0, smithy_client_1.expectString)(output.Username),
2336
2336
  };
2337
2337
  };
2338
2338
  const deserializeAws_json1_1RedshiftRetryOptions = (output, context) => {
2339
2339
  return {
2340
- DurationInSeconds: smithy_client_1.expectInt32(output.DurationInSeconds),
2340
+ DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
2341
2341
  };
2342
2342
  };
2343
2343
  const deserializeAws_json1_1ResourceInUseException = (output, context) => {
2344
2344
  return {
2345
- message: smithy_client_1.expectString(output.message),
2345
+ message: (0, smithy_client_1.expectString)(output.message),
2346
2346
  };
2347
2347
  };
2348
2348
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2349
2349
  return {
2350
- message: smithy_client_1.expectString(output.message),
2350
+ message: (0, smithy_client_1.expectString)(output.message),
2351
2351
  };
2352
2352
  };
2353
2353
  const deserializeAws_json1_1RetryOptions = (output, context) => {
2354
2354
  return {
2355
- DurationInSeconds: smithy_client_1.expectInt32(output.DurationInSeconds),
2355
+ DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
2356
2356
  };
2357
2357
  };
2358
2358
  const deserializeAws_json1_1S3DestinationDescription = (output, context) => {
2359
2359
  return {
2360
- BucketARN: smithy_client_1.expectString(output.BucketARN),
2360
+ BucketARN: (0, smithy_client_1.expectString)(output.BucketARN),
2361
2361
  BufferingHints: output.BufferingHints !== undefined && output.BufferingHints !== null
2362
2362
  ? deserializeAws_json1_1BufferingHints(output.BufferingHints, context)
2363
2363
  : undefined,
2364
2364
  CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
2365
2365
  ? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
2366
2366
  : undefined,
2367
- CompressionFormat: smithy_client_1.expectString(output.CompressionFormat),
2367
+ CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
2368
2368
  EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
2369
2369
  ? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
2370
2370
  : undefined,
2371
- ErrorOutputPrefix: smithy_client_1.expectString(output.ErrorOutputPrefix),
2372
- Prefix: smithy_client_1.expectString(output.Prefix),
2373
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2371
+ ErrorOutputPrefix: (0, smithy_client_1.expectString)(output.ErrorOutputPrefix),
2372
+ Prefix: (0, smithy_client_1.expectString)(output.Prefix),
2373
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2374
2374
  };
2375
2375
  };
2376
2376
  const deserializeAws_json1_1SchemaConfiguration = (output, context) => {
2377
2377
  return {
2378
- CatalogId: smithy_client_1.expectString(output.CatalogId),
2379
- DatabaseName: smithy_client_1.expectString(output.DatabaseName),
2380
- Region: smithy_client_1.expectString(output.Region),
2381
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2382
- TableName: smithy_client_1.expectString(output.TableName),
2383
- VersionId: smithy_client_1.expectString(output.VersionId),
2378
+ CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
2379
+ DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
2380
+ Region: (0, smithy_client_1.expectString)(output.Region),
2381
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2382
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
2383
+ VersionId: (0, smithy_client_1.expectString)(output.VersionId),
2384
2384
  };
2385
2385
  };
2386
2386
  const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
@@ -2390,7 +2390,7 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
2390
2390
  if (entry === null) {
2391
2391
  return null;
2392
2392
  }
2393
- return smithy_client_1.expectString(entry);
2393
+ return (0, smithy_client_1.expectString)(entry);
2394
2394
  });
2395
2395
  return retVal;
2396
2396
  };
@@ -2406,7 +2406,7 @@ const deserializeAws_json1_1Serializer = (output, context) => {
2406
2406
  };
2407
2407
  const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
2408
2408
  return {
2409
- message: smithy_client_1.expectString(output.message),
2409
+ message: (0, smithy_client_1.expectString)(output.message),
2410
2410
  };
2411
2411
  };
2412
2412
  const deserializeAws_json1_1SourceDescription = (output, context) => {
@@ -2421,17 +2421,17 @@ const deserializeAws_json1_1SplunkDestinationDescription = (output, context) =>
2421
2421
  CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
2422
2422
  ? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
2423
2423
  : undefined,
2424
- HECAcknowledgmentTimeoutInSeconds: smithy_client_1.expectInt32(output.HECAcknowledgmentTimeoutInSeconds),
2425
- HECEndpoint: smithy_client_1.expectString(output.HECEndpoint),
2426
- HECEndpointType: smithy_client_1.expectString(output.HECEndpointType),
2427
- HECToken: smithy_client_1.expectString(output.HECToken),
2424
+ HECAcknowledgmentTimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.HECAcknowledgmentTimeoutInSeconds),
2425
+ HECEndpoint: (0, smithy_client_1.expectString)(output.HECEndpoint),
2426
+ HECEndpointType: (0, smithy_client_1.expectString)(output.HECEndpointType),
2427
+ HECToken: (0, smithy_client_1.expectString)(output.HECToken),
2428
2428
  ProcessingConfiguration: output.ProcessingConfiguration !== undefined && output.ProcessingConfiguration !== null
2429
2429
  ? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
2430
2430
  : undefined,
2431
2431
  RetryOptions: output.RetryOptions !== undefined && output.RetryOptions !== null
2432
2432
  ? deserializeAws_json1_1SplunkRetryOptions(output.RetryOptions, context)
2433
2433
  : undefined,
2434
- S3BackupMode: smithy_client_1.expectString(output.S3BackupMode),
2434
+ S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
2435
2435
  S3DestinationDescription: output.S3DestinationDescription !== undefined && output.S3DestinationDescription !== null
2436
2436
  ? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
2437
2437
  : undefined,
@@ -2439,7 +2439,7 @@ const deserializeAws_json1_1SplunkDestinationDescription = (output, context) =>
2439
2439
  };
2440
2440
  const deserializeAws_json1_1SplunkRetryOptions = (output, context) => {
2441
2441
  return {
2442
- DurationInSeconds: smithy_client_1.expectInt32(output.DurationInSeconds),
2442
+ DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
2443
2443
  };
2444
2444
  };
2445
2445
  const deserializeAws_json1_1StartDeliveryStreamEncryptionOutput = (output, context) => {
@@ -2455,14 +2455,14 @@ const deserializeAws_json1_1SubnetIdList = (output, context) => {
2455
2455
  if (entry === null) {
2456
2456
  return null;
2457
2457
  }
2458
- return smithy_client_1.expectString(entry);
2458
+ return (0, smithy_client_1.expectString)(entry);
2459
2459
  });
2460
2460
  return retVal;
2461
2461
  };
2462
2462
  const deserializeAws_json1_1Tag = (output, context) => {
2463
2463
  return {
2464
- Key: smithy_client_1.expectString(output.Key),
2465
- Value: smithy_client_1.expectString(output.Value),
2464
+ Key: (0, smithy_client_1.expectString)(output.Key),
2465
+ Value: (0, smithy_client_1.expectString)(output.Value),
2466
2466
  };
2467
2467
  };
2468
2468
  const deserializeAws_json1_1TagDeliveryStreamOutput = (output, context) => {
@@ -2476,14 +2476,14 @@ const deserializeAws_json1_1UpdateDestinationOutput = (output, context) => {
2476
2476
  };
2477
2477
  const deserializeAws_json1_1VpcConfigurationDescription = (output, context) => {
2478
2478
  return {
2479
- RoleARN: smithy_client_1.expectString(output.RoleARN),
2479
+ RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
2480
2480
  SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
2481
2481
  ? deserializeAws_json1_1SecurityGroupIdList(output.SecurityGroupIds, context)
2482
2482
  : undefined,
2483
2483
  SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
2484
2484
  ? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context)
2485
2485
  : undefined,
2486
- VpcId: smithy_client_1.expectString(output.VpcId),
2486
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
2487
2487
  };
2488
2488
  };
2489
2489
  const deserializeMetadata = (output) => {