@aws-sdk/client-firehose 3.32.0 → 3.36.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 (176) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/{dist/cjs → dist-cjs}/Firehose.js +1 -2
  3. package/{dist/cjs → dist-cjs}/FirehoseClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateDeliveryStreamCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/DeleteDeliveryStreamCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/DescribeDeliveryStreamCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/ListDeliveryStreamsCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/ListTagsForDeliveryStreamCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/PutRecordBatchCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/PutRecordCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/StartDeliveryStreamEncryptionCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/StopDeliveryStreamEncryptionCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/TagDeliveryStreamCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/UntagDeliveryStreamCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/UpdateDestinationCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  17. package/{dist/cjs → dist-cjs}/index.js +0 -1
  18. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  19. package/{dist/cjs → dist-cjs}/models/models_0.js +150 -93
  20. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +132 -1
  21. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  22. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  23. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  24. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  25. package/{dist/es → dist-es}/Firehose.js +2 -9
  26. package/{dist/es → dist-es}/FirehoseClient.js +2 -14
  27. package/dist-es/commands/CreateDeliveryStreamCommand.js +39 -0
  28. package/dist-es/commands/DeleteDeliveryStreamCommand.js +39 -0
  29. package/{dist/es → dist-es}/commands/DescribeDeliveryStreamCommand.js +4 -36
  30. package/{dist/es → dist-es}/commands/ListDeliveryStreamsCommand.js +4 -37
  31. package/{dist/es → dist-es}/commands/ListTagsForDeliveryStreamCommand.js +4 -31
  32. package/dist-es/commands/PutRecordBatchCommand.js +39 -0
  33. package/dist-es/commands/PutRecordCommand.js +39 -0
  34. package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +39 -0
  35. package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +39 -0
  36. package/dist-es/commands/TagDeliveryStreamCommand.js +39 -0
  37. package/{dist/es → dist-es}/commands/UntagDeliveryStreamCommand.js +4 -33
  38. package/dist-es/commands/UpdateDestinationCommand.js +39 -0
  39. package/{dist/es → dist-es}/endpoints.js +1 -2
  40. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  41. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  42. package/{dist/es → dist-es}/models/models_0.js +87 -331
  43. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +349 -256
  44. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  45. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  46. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  47. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  48. package/{dist/types → dist-types}/Firehose.d.ts +2 -2
  49. package/{dist/types → dist-types}/FirehoseClient.d.ts +8 -8
  50. package/{dist/types → dist-types}/commands/CreateDeliveryStreamCommand.d.ts +2 -2
  51. package/{dist/types → dist-types}/commands/DeleteDeliveryStreamCommand.d.ts +2 -2
  52. package/{dist/types → dist-types}/commands/DescribeDeliveryStreamCommand.d.ts +2 -2
  53. package/{dist/types → dist-types}/commands/ListDeliveryStreamsCommand.d.ts +2 -2
  54. package/{dist/types → dist-types}/commands/ListTagsForDeliveryStreamCommand.d.ts +2 -2
  55. package/{dist/types → dist-types}/commands/PutRecordBatchCommand.d.ts +2 -2
  56. package/{dist/types → dist-types}/commands/PutRecordCommand.d.ts +2 -2
  57. package/{dist/types → dist-types}/commands/StartDeliveryStreamEncryptionCommand.d.ts +2 -2
  58. package/{dist/types → dist-types}/commands/StopDeliveryStreamEncryptionCommand.d.ts +2 -2
  59. package/{dist/types → dist-types}/commands/TagDeliveryStreamCommand.d.ts +2 -2
  60. package/{dist/types → dist-types}/commands/UntagDeliveryStreamCommand.d.ts +2 -2
  61. package/{dist/types → dist-types}/commands/UpdateDestinationCommand.d.ts +2 -2
  62. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  63. package/{index.ts → dist-types/index.d.ts} +0 -0
  64. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  65. package/{dist/types → dist-types}/models/models_0.d.ts +524 -397
  66. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  67. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  68. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  69. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  70. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  71. package/{dist/types → dist-types}/ts3.4/Firehose.d.ts +2 -2
  72. package/{dist/types → dist-types}/ts3.4/FirehoseClient.d.ts +8 -8
  73. package/{dist/types → dist-types}/ts3.4/commands/CreateDeliveryStreamCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/ts3.4/commands/DeleteDeliveryStreamCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/ts3.4/commands/DescribeDeliveryStreamCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/ts3.4/commands/ListDeliveryStreamsCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForDeliveryStreamCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/ts3.4/commands/PutRecordBatchCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/ts3.4/commands/PutRecordCommand.d.ts +2 -2
  80. package/{dist/types → dist-types}/ts3.4/commands/StartDeliveryStreamEncryptionCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/ts3.4/commands/StopDeliveryStreamEncryptionCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/ts3.4/commands/TagDeliveryStreamCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/ts3.4/commands/UntagDeliveryStreamCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/ts3.4/commands/UpdateDestinationCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  86. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  87. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  88. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +524 -397
  89. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  90. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  91. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  92. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  93. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  94. package/package.json +52 -49
  95. package/Firehose.ts +0 -704
  96. package/FirehoseClient.ts +0 -298
  97. package/commands/CreateDeliveryStreamCommand.ts +0 -162
  98. package/commands/DeleteDeliveryStreamCommand.ts +0 -103
  99. package/commands/DescribeDeliveryStreamCommand.ts +0 -100
  100. package/commands/ListDeliveryStreamsCommand.ts +0 -101
  101. package/commands/ListTagsForDeliveryStreamCommand.ts +0 -98
  102. package/commands/PutRecordBatchCommand.ts +0 -144
  103. package/commands/PutRecordCommand.ts +0 -122
  104. package/commands/StartDeliveryStreamEncryptionCommand.ts +0 -134
  105. package/commands/StopDeliveryStreamEncryptionCommand.ts +0 -118
  106. package/commands/TagDeliveryStreamCommand.ts +0 -102
  107. package/commands/UntagDeliveryStreamCommand.ts +0 -97
  108. package/commands/UpdateDestinationCommand.ts +0 -117
  109. package/dist/cjs/Firehose.js.map +0 -1
  110. package/dist/cjs/FirehoseClient.js.map +0 -1
  111. package/dist/cjs/commands/CreateDeliveryStreamCommand.js.map +0 -1
  112. package/dist/cjs/commands/DeleteDeliveryStreamCommand.js.map +0 -1
  113. package/dist/cjs/commands/DescribeDeliveryStreamCommand.js.map +0 -1
  114. package/dist/cjs/commands/ListDeliveryStreamsCommand.js.map +0 -1
  115. package/dist/cjs/commands/ListTagsForDeliveryStreamCommand.js.map +0 -1
  116. package/dist/cjs/commands/PutRecordBatchCommand.js.map +0 -1
  117. package/dist/cjs/commands/PutRecordCommand.js.map +0 -1
  118. package/dist/cjs/commands/StartDeliveryStreamEncryptionCommand.js.map +0 -1
  119. package/dist/cjs/commands/StopDeliveryStreamEncryptionCommand.js.map +0 -1
  120. package/dist/cjs/commands/TagDeliveryStreamCommand.js.map +0 -1
  121. package/dist/cjs/commands/UntagDeliveryStreamCommand.js.map +0 -1
  122. package/dist/cjs/commands/UpdateDestinationCommand.js.map +0 -1
  123. package/dist/cjs/endpoints.js.map +0 -1
  124. package/dist/cjs/index.js.map +0 -1
  125. package/dist/cjs/models/index.js.map +0 -1
  126. package/dist/cjs/models/models_0.js.map +0 -1
  127. package/dist/cjs/package.json +0 -91
  128. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  129. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  130. package/dist/cjs/runtimeConfig.js.map +0 -1
  131. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  132. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  133. package/dist/es/Firehose.js.map +0 -1
  134. package/dist/es/FirehoseClient.js.map +0 -1
  135. package/dist/es/commands/CreateDeliveryStreamCommand.js +0 -133
  136. package/dist/es/commands/CreateDeliveryStreamCommand.js.map +0 -1
  137. package/dist/es/commands/DeleteDeliveryStreamCommand.js +0 -74
  138. package/dist/es/commands/DeleteDeliveryStreamCommand.js.map +0 -1
  139. package/dist/es/commands/DescribeDeliveryStreamCommand.js.map +0 -1
  140. package/dist/es/commands/ListDeliveryStreamsCommand.js.map +0 -1
  141. package/dist/es/commands/ListTagsForDeliveryStreamCommand.js.map +0 -1
  142. package/dist/es/commands/PutRecordBatchCommand.js +0 -115
  143. package/dist/es/commands/PutRecordBatchCommand.js.map +0 -1
  144. package/dist/es/commands/PutRecordCommand.js +0 -96
  145. package/dist/es/commands/PutRecordCommand.js.map +0 -1
  146. package/dist/es/commands/StartDeliveryStreamEncryptionCommand.js +0 -100
  147. package/dist/es/commands/StartDeliveryStreamEncryptionCommand.js.map +0 -1
  148. package/dist/es/commands/StopDeliveryStreamEncryptionCommand.js +0 -84
  149. package/dist/es/commands/StopDeliveryStreamEncryptionCommand.js.map +0 -1
  150. package/dist/es/commands/TagDeliveryStreamCommand.js +0 -73
  151. package/dist/es/commands/TagDeliveryStreamCommand.js.map +0 -1
  152. package/dist/es/commands/UntagDeliveryStreamCommand.js.map +0 -1
  153. package/dist/es/commands/UpdateDestinationCommand.js +0 -88
  154. package/dist/es/commands/UpdateDestinationCommand.js.map +0 -1
  155. package/dist/es/endpoints.js.map +0 -1
  156. package/dist/es/index.js +0 -16
  157. package/dist/es/index.js.map +0 -1
  158. package/dist/es/models/index.js +0 -2
  159. package/dist/es/models/index.js.map +0 -1
  160. package/dist/es/models/models_0.js.map +0 -1
  161. package/dist/es/package.json +0 -91
  162. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  163. package/dist/es/runtimeConfig.browser.js.map +0 -1
  164. package/dist/es/runtimeConfig.js.map +0 -1
  165. package/dist/es/runtimeConfig.native.js.map +0 -1
  166. package/dist/es/runtimeConfig.shared.js.map +0 -1
  167. package/endpoints.ts +0 -86
  168. package/jest.config.js +0 -4
  169. package/models/models_0.ts +0 -3952
  170. package/protocols/Aws_json1_1.ts +0 -3513
  171. package/runtimeConfig.browser.ts +0 -40
  172. package/runtimeConfig.native.ts +0 -16
  173. package/runtimeConfig.shared.ts +0 -16
  174. package/runtimeConfig.ts +0 -45
  175. package/tsconfig.es.json +0 -12
  176. package/tsconfig.json +0 -32
@@ -1,18 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateDeliveryStreamOutput = exports.CreateDeliveryStreamInput = exports.Tag = exports.SplunkDestinationConfiguration = exports.SplunkRetryOptions = exports.RedshiftDestinationConfiguration = exports.RedshiftRetryOptions = exports.KinesisStreamSourceConfiguration = exports.HttpEndpointDestinationConfiguration = exports.HttpEndpointRetryOptions = exports.HttpEndpointRequestConfiguration = exports.HttpEndpointCommonAttribute = exports.HttpEndpointConfiguration = exports.HttpEndpointBufferingHints = exports.ExtendedS3DestinationConfiguration = exports.DynamicPartitioningConfiguration = exports.RetryOptions = exports.DataFormatConversionConfiguration = exports.SchemaConfiguration = exports.OutputFormatConfiguration = exports.Serializer = exports.ParquetSerDe = exports.ParquetWriterVersion = exports.ParquetCompression = exports.OrcSerDe = exports.OrcFormatVersion = exports.OrcCompression = exports.InputFormatConfiguration = exports.Deserializer = exports.OpenXJsonSerDe = exports.HiveJsonSerDe = exports.ElasticsearchDestinationConfiguration = exports.VpcConfiguration = exports.S3DestinationConfiguration = exports.EncryptionConfiguration = exports.KMSEncryptionConfig = exports.ElasticsearchRetryOptions = exports.ProcessingConfiguration = exports.Processor = exports.ProcessorParameter = exports.ProcessorParameterName = exports.ElasticsearchBufferingHints = exports.DeliveryStreamEncryptionConfigurationInput = exports.KeyType = exports.CopyCommand = exports.ContentEncoding = exports.ConcurrentModificationException = exports.CompressionFormat = exports.CloudWatchLoggingOptions = exports.BufferingHints = void 0;
4
- exports.RedshiftDestinationUpdate = exports.HttpEndpointDestinationUpdate = exports.UntagDeliveryStreamOutput = exports.UntagDeliveryStreamInput = exports.TagDeliveryStreamOutput = exports.TagDeliveryStreamInput = exports.StopDeliveryStreamEncryptionOutput = exports.StopDeliveryStreamEncryptionInput = exports.StartDeliveryStreamEncryptionOutput = exports.StartDeliveryStreamEncryptionInput = exports.PutRecordBatchOutput = exports.PutRecordBatchResponseEntry = exports.PutRecordBatchInput = exports.ServiceUnavailableException = exports.PutRecordOutput = exports.PutRecordInput = exports._Record = exports.ListTagsForDeliveryStreamOutput = exports.ListTagsForDeliveryStreamInput = exports.ListDeliveryStreamsOutput = exports.ListDeliveryStreamsInput = exports.ExtendedS3DestinationUpdate = exports.ElasticsearchDestinationUpdate = exports.S3DestinationUpdate = exports.DescribeDeliveryStreamOutput = exports.DescribeDeliveryStreamInput = exports.DeliveryStreamDescription = exports.SourceDescription = exports.KinesisStreamSourceDescription = exports.DestinationDescription = exports.SplunkDestinationDescription = exports.RedshiftDestinationDescription = exports.HttpEndpointDestinationDescription = exports.HttpEndpointDescription = exports.ExtendedS3DestinationDescription = exports.ElasticsearchDestinationDescription = exports.VpcConfigurationDescription = exports.S3DestinationDescription = exports.DeliveryStreamStatus = exports.DeliveryStreamEncryptionConfiguration = exports.DeliveryStreamEncryptionStatus = exports.FailureDescription = exports.DeliveryStreamFailureType = exports.ResourceNotFoundException = exports.DeleteDeliveryStreamOutput = exports.DeleteDeliveryStreamInput = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidKMSResourceException = exports.InvalidArgumentException = void 0;
5
- exports.UpdateDestinationOutput = exports.UpdateDestinationInput = exports.SplunkDestinationUpdate = void 0;
3
+ exports.HttpEndpointRequestConfiguration = exports.HttpEndpointCommonAttribute = exports.HttpEndpointConfiguration = exports.HttpEndpointBufferingHints = exports.ExtendedS3DestinationConfiguration = exports.DynamicPartitioningConfiguration = exports.RetryOptions = exports.DataFormatConversionConfiguration = exports.SchemaConfiguration = exports.OutputFormatConfiguration = exports.Serializer = exports.ParquetSerDe = exports.ParquetWriterVersion = exports.ParquetCompression = exports.OrcSerDe = exports.OrcFormatVersion = exports.OrcCompression = exports.InputFormatConfiguration = exports.Deserializer = exports.OpenXJsonSerDe = exports.HiveJsonSerDe = exports.ElasticsearchDestinationConfiguration = exports.ElasticsearchRetryOptions = exports.ElasticsearchBufferingHints = exports.DeliveryStreamEncryptionConfigurationInput = exports.KeyType = exports.CopyCommand = exports.ContentEncoding = exports.ConcurrentModificationException = exports.AmazonopensearchserviceDestinationUpdate = exports.S3DestinationUpdate = exports.AmazonopensearchserviceDestinationDescription = exports.VpcConfigurationDescription = exports.S3DestinationDescription = exports.AmazonopensearchserviceDestinationConfiguration = exports.VpcConfiguration = exports.S3DestinationConfiguration = exports.EncryptionConfiguration = exports.KMSEncryptionConfig = exports.CompressionFormat = exports.BufferingHints = exports.AmazonopensearchserviceS3BackupMode = exports.AmazonopensearchserviceRetryOptions = exports.ProcessingConfiguration = exports.Processor = exports.ProcessorParameter = exports.ProcessorParameterName = exports.AmazonopensearchserviceIndexRotationPeriod = exports.CloudWatchLoggingOptions = exports.AmazonopensearchserviceBufferingHints = void 0;
4
+ exports.StopDeliveryStreamEncryptionInput = exports.StartDeliveryStreamEncryptionOutput = exports.StartDeliveryStreamEncryptionInput = exports.PutRecordBatchOutput = exports.PutRecordBatchResponseEntry = exports.PutRecordBatchInput = exports.ServiceUnavailableException = exports.PutRecordOutput = exports.PutRecordInput = exports._Record = exports.ListTagsForDeliveryStreamOutput = exports.ListTagsForDeliveryStreamInput = exports.ListDeliveryStreamsOutput = exports.ListDeliveryStreamsInput = exports.ExtendedS3DestinationUpdate = exports.ElasticsearchDestinationUpdate = exports.DescribeDeliveryStreamOutput = exports.DescribeDeliveryStreamInput = exports.DeliveryStreamDescription = exports.SourceDescription = exports.KinesisStreamSourceDescription = exports.DestinationDescription = exports.SplunkDestinationDescription = exports.RedshiftDestinationDescription = exports.HttpEndpointDestinationDescription = exports.HttpEndpointDescription = exports.ExtendedS3DestinationDescription = exports.ElasticsearchDestinationDescription = exports.DeliveryStreamStatus = exports.DeliveryStreamEncryptionConfiguration = exports.DeliveryStreamEncryptionStatus = exports.FailureDescription = exports.DeliveryStreamFailureType = exports.ResourceNotFoundException = exports.DeleteDeliveryStreamOutput = exports.DeleteDeliveryStreamInput = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidKMSResourceException = exports.InvalidArgumentException = exports.CreateDeliveryStreamOutput = exports.CreateDeliveryStreamInput = exports.Tag = exports.SplunkDestinationConfiguration = exports.SplunkRetryOptions = exports.RedshiftDestinationConfiguration = exports.RedshiftRetryOptions = exports.KinesisStreamSourceConfiguration = exports.HttpEndpointDestinationConfiguration = exports.HttpEndpointRetryOptions = void 0;
5
+ exports.UpdateDestinationOutput = exports.UpdateDestinationInput = exports.SplunkDestinationUpdate = exports.RedshiftDestinationUpdate = exports.HttpEndpointDestinationUpdate = exports.UntagDeliveryStreamOutput = exports.UntagDeliveryStreamInput = exports.TagDeliveryStreamOutput = exports.TagDeliveryStreamInput = exports.StopDeliveryStreamEncryptionOutput = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- var BufferingHints;
8
- (function (BufferingHints) {
7
+ var AmazonopensearchserviceBufferingHints;
8
+ (function (AmazonopensearchserviceBufferingHints) {
9
9
  /**
10
10
  * @internal
11
11
  */
12
- BufferingHints.filterSensitiveLog = (obj) => ({
12
+ AmazonopensearchserviceBufferingHints.filterSensitiveLog = (obj) => ({
13
13
  ...obj,
14
14
  });
15
- })(BufferingHints = exports.BufferingHints || (exports.BufferingHints = {}));
15
+ })(AmazonopensearchserviceBufferingHints = exports.AmazonopensearchserviceBufferingHints || (exports.AmazonopensearchserviceBufferingHints = {}));
16
16
  var CloudWatchLoggingOptions;
17
17
  (function (CloudWatchLoggingOptions) {
18
18
  /**
@@ -22,60 +22,14 @@ var CloudWatchLoggingOptions;
22
22
  ...obj,
23
23
  });
24
24
  })(CloudWatchLoggingOptions = exports.CloudWatchLoggingOptions || (exports.CloudWatchLoggingOptions = {}));
25
- var CompressionFormat;
26
- (function (CompressionFormat) {
27
- CompressionFormat["GZIP"] = "GZIP";
28
- CompressionFormat["HADOOP_SNAPPY"] = "HADOOP_SNAPPY";
29
- CompressionFormat["SNAPPY"] = "Snappy";
30
- CompressionFormat["UNCOMPRESSED"] = "UNCOMPRESSED";
31
- CompressionFormat["ZIP"] = "ZIP";
32
- })(CompressionFormat = exports.CompressionFormat || (exports.CompressionFormat = {}));
33
- var ConcurrentModificationException;
34
- (function (ConcurrentModificationException) {
35
- /**
36
- * @internal
37
- */
38
- ConcurrentModificationException.filterSensitiveLog = (obj) => ({
39
- ...obj,
40
- });
41
- })(ConcurrentModificationException = exports.ConcurrentModificationException || (exports.ConcurrentModificationException = {}));
42
- var ContentEncoding;
43
- (function (ContentEncoding) {
44
- ContentEncoding["GZIP"] = "GZIP";
45
- ContentEncoding["NONE"] = "NONE";
46
- })(ContentEncoding = exports.ContentEncoding || (exports.ContentEncoding = {}));
47
- var CopyCommand;
48
- (function (CopyCommand) {
49
- /**
50
- * @internal
51
- */
52
- CopyCommand.filterSensitiveLog = (obj) => ({
53
- ...obj,
54
- });
55
- })(CopyCommand = exports.CopyCommand || (exports.CopyCommand = {}));
56
- var KeyType;
57
- (function (KeyType) {
58
- KeyType["AWS_OWNED_CMK"] = "AWS_OWNED_CMK";
59
- KeyType["CUSTOMER_MANAGED_CMK"] = "CUSTOMER_MANAGED_CMK";
60
- })(KeyType = exports.KeyType || (exports.KeyType = {}));
61
- var DeliveryStreamEncryptionConfigurationInput;
62
- (function (DeliveryStreamEncryptionConfigurationInput) {
63
- /**
64
- * @internal
65
- */
66
- DeliveryStreamEncryptionConfigurationInput.filterSensitiveLog = (obj) => ({
67
- ...obj,
68
- });
69
- })(DeliveryStreamEncryptionConfigurationInput = exports.DeliveryStreamEncryptionConfigurationInput || (exports.DeliveryStreamEncryptionConfigurationInput = {}));
70
- var ElasticsearchBufferingHints;
71
- (function (ElasticsearchBufferingHints) {
72
- /**
73
- * @internal
74
- */
75
- ElasticsearchBufferingHints.filterSensitiveLog = (obj) => ({
76
- ...obj,
77
- });
78
- })(ElasticsearchBufferingHints = exports.ElasticsearchBufferingHints || (exports.ElasticsearchBufferingHints = {}));
25
+ var AmazonopensearchserviceIndexRotationPeriod;
26
+ (function (AmazonopensearchserviceIndexRotationPeriod) {
27
+ AmazonopensearchserviceIndexRotationPeriod["NoRotation"] = "NoRotation";
28
+ AmazonopensearchserviceIndexRotationPeriod["OneDay"] = "OneDay";
29
+ AmazonopensearchserviceIndexRotationPeriod["OneHour"] = "OneHour";
30
+ AmazonopensearchserviceIndexRotationPeriod["OneMonth"] = "OneMonth";
31
+ AmazonopensearchserviceIndexRotationPeriod["OneWeek"] = "OneWeek";
32
+ })(AmazonopensearchserviceIndexRotationPeriod = exports.AmazonopensearchserviceIndexRotationPeriod || (exports.AmazonopensearchserviceIndexRotationPeriod = {}));
79
33
  var ProcessorParameterName;
80
34
  (function (ProcessorParameterName) {
81
35
  ProcessorParameterName["BUFFER_INTERVAL_IN_SECONDS"] = "BufferIntervalInSeconds";
@@ -115,15 +69,37 @@ var ProcessingConfiguration;
115
69
  ...obj,
116
70
  });
117
71
  })(ProcessingConfiguration = exports.ProcessingConfiguration || (exports.ProcessingConfiguration = {}));
118
- var ElasticsearchRetryOptions;
119
- (function (ElasticsearchRetryOptions) {
72
+ var AmazonopensearchserviceRetryOptions;
73
+ (function (AmazonopensearchserviceRetryOptions) {
120
74
  /**
121
75
  * @internal
122
76
  */
123
- ElasticsearchRetryOptions.filterSensitiveLog = (obj) => ({
77
+ AmazonopensearchserviceRetryOptions.filterSensitiveLog = (obj) => ({
124
78
  ...obj,
125
79
  });
126
- })(ElasticsearchRetryOptions = exports.ElasticsearchRetryOptions || (exports.ElasticsearchRetryOptions = {}));
80
+ })(AmazonopensearchserviceRetryOptions = exports.AmazonopensearchserviceRetryOptions || (exports.AmazonopensearchserviceRetryOptions = {}));
81
+ var AmazonopensearchserviceS3BackupMode;
82
+ (function (AmazonopensearchserviceS3BackupMode) {
83
+ AmazonopensearchserviceS3BackupMode["AllDocuments"] = "AllDocuments";
84
+ AmazonopensearchserviceS3BackupMode["FailedDocumentsOnly"] = "FailedDocumentsOnly";
85
+ })(AmazonopensearchserviceS3BackupMode = exports.AmazonopensearchserviceS3BackupMode || (exports.AmazonopensearchserviceS3BackupMode = {}));
86
+ var BufferingHints;
87
+ (function (BufferingHints) {
88
+ /**
89
+ * @internal
90
+ */
91
+ BufferingHints.filterSensitiveLog = (obj) => ({
92
+ ...obj,
93
+ });
94
+ })(BufferingHints = exports.BufferingHints || (exports.BufferingHints = {}));
95
+ var CompressionFormat;
96
+ (function (CompressionFormat) {
97
+ CompressionFormat["GZIP"] = "GZIP";
98
+ CompressionFormat["HADOOP_SNAPPY"] = "HADOOP_SNAPPY";
99
+ CompressionFormat["SNAPPY"] = "Snappy";
100
+ CompressionFormat["UNCOMPRESSED"] = "UNCOMPRESSED";
101
+ CompressionFormat["ZIP"] = "ZIP";
102
+ })(CompressionFormat = exports.CompressionFormat || (exports.CompressionFormat = {}));
127
103
  var KMSEncryptionConfig;
128
104
  (function (KMSEncryptionConfig) {
129
105
  /**
@@ -160,6 +136,115 @@ var VpcConfiguration;
160
136
  ...obj,
161
137
  });
162
138
  })(VpcConfiguration = exports.VpcConfiguration || (exports.VpcConfiguration = {}));
139
+ var AmazonopensearchserviceDestinationConfiguration;
140
+ (function (AmazonopensearchserviceDestinationConfiguration) {
141
+ /**
142
+ * @internal
143
+ */
144
+ AmazonopensearchserviceDestinationConfiguration.filterSensitiveLog = (obj) => ({
145
+ ...obj,
146
+ });
147
+ })(AmazonopensearchserviceDestinationConfiguration = exports.AmazonopensearchserviceDestinationConfiguration || (exports.AmazonopensearchserviceDestinationConfiguration = {}));
148
+ var S3DestinationDescription;
149
+ (function (S3DestinationDescription) {
150
+ /**
151
+ * @internal
152
+ */
153
+ S3DestinationDescription.filterSensitiveLog = (obj) => ({
154
+ ...obj,
155
+ });
156
+ })(S3DestinationDescription = exports.S3DestinationDescription || (exports.S3DestinationDescription = {}));
157
+ var VpcConfigurationDescription;
158
+ (function (VpcConfigurationDescription) {
159
+ /**
160
+ * @internal
161
+ */
162
+ VpcConfigurationDescription.filterSensitiveLog = (obj) => ({
163
+ ...obj,
164
+ });
165
+ })(VpcConfigurationDescription = exports.VpcConfigurationDescription || (exports.VpcConfigurationDescription = {}));
166
+ var AmazonopensearchserviceDestinationDescription;
167
+ (function (AmazonopensearchserviceDestinationDescription) {
168
+ /**
169
+ * @internal
170
+ */
171
+ AmazonopensearchserviceDestinationDescription.filterSensitiveLog = (obj) => ({
172
+ ...obj,
173
+ });
174
+ })(AmazonopensearchserviceDestinationDescription = exports.AmazonopensearchserviceDestinationDescription || (exports.AmazonopensearchserviceDestinationDescription = {}));
175
+ var S3DestinationUpdate;
176
+ (function (S3DestinationUpdate) {
177
+ /**
178
+ * @internal
179
+ */
180
+ S3DestinationUpdate.filterSensitiveLog = (obj) => ({
181
+ ...obj,
182
+ });
183
+ })(S3DestinationUpdate = exports.S3DestinationUpdate || (exports.S3DestinationUpdate = {}));
184
+ var AmazonopensearchserviceDestinationUpdate;
185
+ (function (AmazonopensearchserviceDestinationUpdate) {
186
+ /**
187
+ * @internal
188
+ */
189
+ AmazonopensearchserviceDestinationUpdate.filterSensitiveLog = (obj) => ({
190
+ ...obj,
191
+ });
192
+ })(AmazonopensearchserviceDestinationUpdate = exports.AmazonopensearchserviceDestinationUpdate || (exports.AmazonopensearchserviceDestinationUpdate = {}));
193
+ var ConcurrentModificationException;
194
+ (function (ConcurrentModificationException) {
195
+ /**
196
+ * @internal
197
+ */
198
+ ConcurrentModificationException.filterSensitiveLog = (obj) => ({
199
+ ...obj,
200
+ });
201
+ })(ConcurrentModificationException = exports.ConcurrentModificationException || (exports.ConcurrentModificationException = {}));
202
+ var ContentEncoding;
203
+ (function (ContentEncoding) {
204
+ ContentEncoding["GZIP"] = "GZIP";
205
+ ContentEncoding["NONE"] = "NONE";
206
+ })(ContentEncoding = exports.ContentEncoding || (exports.ContentEncoding = {}));
207
+ var CopyCommand;
208
+ (function (CopyCommand) {
209
+ /**
210
+ * @internal
211
+ */
212
+ CopyCommand.filterSensitiveLog = (obj) => ({
213
+ ...obj,
214
+ });
215
+ })(CopyCommand = exports.CopyCommand || (exports.CopyCommand = {}));
216
+ var KeyType;
217
+ (function (KeyType) {
218
+ KeyType["AWS_OWNED_CMK"] = "AWS_OWNED_CMK";
219
+ KeyType["CUSTOMER_MANAGED_CMK"] = "CUSTOMER_MANAGED_CMK";
220
+ })(KeyType = exports.KeyType || (exports.KeyType = {}));
221
+ var DeliveryStreamEncryptionConfigurationInput;
222
+ (function (DeliveryStreamEncryptionConfigurationInput) {
223
+ /**
224
+ * @internal
225
+ */
226
+ DeliveryStreamEncryptionConfigurationInput.filterSensitiveLog = (obj) => ({
227
+ ...obj,
228
+ });
229
+ })(DeliveryStreamEncryptionConfigurationInput = exports.DeliveryStreamEncryptionConfigurationInput || (exports.DeliveryStreamEncryptionConfigurationInput = {}));
230
+ var ElasticsearchBufferingHints;
231
+ (function (ElasticsearchBufferingHints) {
232
+ /**
233
+ * @internal
234
+ */
235
+ ElasticsearchBufferingHints.filterSensitiveLog = (obj) => ({
236
+ ...obj,
237
+ });
238
+ })(ElasticsearchBufferingHints = exports.ElasticsearchBufferingHints || (exports.ElasticsearchBufferingHints = {}));
239
+ var ElasticsearchRetryOptions;
240
+ (function (ElasticsearchRetryOptions) {
241
+ /**
242
+ * @internal
243
+ */
244
+ ElasticsearchRetryOptions.filterSensitiveLog = (obj) => ({
245
+ ...obj,
246
+ });
247
+ })(ElasticsearchRetryOptions = exports.ElasticsearchRetryOptions || (exports.ElasticsearchRetryOptions = {}));
163
248
  var ElasticsearchDestinationConfiguration;
164
249
  (function (ElasticsearchDestinationConfiguration) {
165
250
  /**
@@ -571,24 +656,6 @@ var DeliveryStreamStatus;
571
656
  DeliveryStreamStatus["DELETING"] = "DELETING";
572
657
  DeliveryStreamStatus["DELETING_FAILED"] = "DELETING_FAILED";
573
658
  })(DeliveryStreamStatus = exports.DeliveryStreamStatus || (exports.DeliveryStreamStatus = {}));
574
- var S3DestinationDescription;
575
- (function (S3DestinationDescription) {
576
- /**
577
- * @internal
578
- */
579
- S3DestinationDescription.filterSensitiveLog = (obj) => ({
580
- ...obj,
581
- });
582
- })(S3DestinationDescription = exports.S3DestinationDescription || (exports.S3DestinationDescription = {}));
583
- var VpcConfigurationDescription;
584
- (function (VpcConfigurationDescription) {
585
- /**
586
- * @internal
587
- */
588
- VpcConfigurationDescription.filterSensitiveLog = (obj) => ({
589
- ...obj,
590
- });
591
- })(VpcConfigurationDescription = exports.VpcConfigurationDescription || (exports.VpcConfigurationDescription = {}));
592
659
  var ElasticsearchDestinationDescription;
593
660
  (function (ElasticsearchDestinationDescription) {
594
661
  /**
@@ -717,15 +784,6 @@ var DescribeDeliveryStreamOutput;
717
784
  }),
718
785
  });
719
786
  })(DescribeDeliveryStreamOutput = exports.DescribeDeliveryStreamOutput || (exports.DescribeDeliveryStreamOutput = {}));
720
- var S3DestinationUpdate;
721
- (function (S3DestinationUpdate) {
722
- /**
723
- * @internal
724
- */
725
- S3DestinationUpdate.filterSensitiveLog = (obj) => ({
726
- ...obj,
727
- });
728
- })(S3DestinationUpdate = exports.S3DestinationUpdate || (exports.S3DestinationUpdate = {}));
729
787
  var ElasticsearchDestinationUpdate;
730
788
  (function (ElasticsearchDestinationUpdate) {
731
789
  /**
@@ -974,4 +1032,3 @@ var UpdateDestinationOutput;
974
1032
  ...obj,
975
1033
  });
976
1034
  })(UpdateDestinationOutput = exports.UpdateDestinationOutput || (exports.UpdateDestinationOutput = {}));
977
- //# sourceMappingURL=models_0.js.map
@@ -980,6 +980,86 @@ const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedO
980
980
  };
981
981
  return contents;
982
982
  };
983
+ const serializeAws_json1_1AmazonopensearchserviceBufferingHints = (input, context) => {
984
+ return {
985
+ ...(input.IntervalInSeconds !== undefined &&
986
+ input.IntervalInSeconds !== null && { IntervalInSeconds: input.IntervalInSeconds }),
987
+ ...(input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }),
988
+ };
989
+ };
990
+ const serializeAws_json1_1AmazonopensearchserviceDestinationConfiguration = (input, context) => {
991
+ return {
992
+ ...(input.BufferingHints !== undefined &&
993
+ input.BufferingHints !== null && {
994
+ BufferingHints: serializeAws_json1_1AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
995
+ }),
996
+ ...(input.CloudWatchLoggingOptions !== undefined &&
997
+ input.CloudWatchLoggingOptions !== null && {
998
+ CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
999
+ }),
1000
+ ...(input.ClusterEndpoint !== undefined &&
1001
+ input.ClusterEndpoint !== null && { ClusterEndpoint: input.ClusterEndpoint }),
1002
+ ...(input.DomainARN !== undefined && input.DomainARN !== null && { DomainARN: input.DomainARN }),
1003
+ ...(input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName }),
1004
+ ...(input.IndexRotationPeriod !== undefined &&
1005
+ input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod }),
1006
+ ...(input.ProcessingConfiguration !== undefined &&
1007
+ input.ProcessingConfiguration !== null && {
1008
+ ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
1009
+ }),
1010
+ ...(input.RetryOptions !== undefined &&
1011
+ input.RetryOptions !== null && {
1012
+ RetryOptions: serializeAws_json1_1AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
1013
+ }),
1014
+ ...(input.RoleARN !== undefined && input.RoleARN !== null && { RoleARN: input.RoleARN }),
1015
+ ...(input.S3BackupMode !== undefined && input.S3BackupMode !== null && { S3BackupMode: input.S3BackupMode }),
1016
+ ...(input.S3Configuration !== undefined &&
1017
+ input.S3Configuration !== null && {
1018
+ S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
1019
+ }),
1020
+ ...(input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }),
1021
+ ...(input.VpcConfiguration !== undefined &&
1022
+ input.VpcConfiguration !== null && {
1023
+ VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
1024
+ }),
1025
+ };
1026
+ };
1027
+ const serializeAws_json1_1AmazonopensearchserviceDestinationUpdate = (input, context) => {
1028
+ return {
1029
+ ...(input.BufferingHints !== undefined &&
1030
+ input.BufferingHints !== null && {
1031
+ BufferingHints: serializeAws_json1_1AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
1032
+ }),
1033
+ ...(input.CloudWatchLoggingOptions !== undefined &&
1034
+ input.CloudWatchLoggingOptions !== null && {
1035
+ CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
1036
+ }),
1037
+ ...(input.ClusterEndpoint !== undefined &&
1038
+ input.ClusterEndpoint !== null && { ClusterEndpoint: input.ClusterEndpoint }),
1039
+ ...(input.DomainARN !== undefined && input.DomainARN !== null && { DomainARN: input.DomainARN }),
1040
+ ...(input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName }),
1041
+ ...(input.IndexRotationPeriod !== undefined &&
1042
+ input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod }),
1043
+ ...(input.ProcessingConfiguration !== undefined &&
1044
+ input.ProcessingConfiguration !== null && {
1045
+ ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
1046
+ }),
1047
+ ...(input.RetryOptions !== undefined &&
1048
+ input.RetryOptions !== null && {
1049
+ RetryOptions: serializeAws_json1_1AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
1050
+ }),
1051
+ ...(input.RoleARN !== undefined && input.RoleARN !== null && { RoleARN: input.RoleARN }),
1052
+ ...(input.S3Update !== undefined &&
1053
+ input.S3Update !== null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
1054
+ ...(input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }),
1055
+ };
1056
+ };
1057
+ const serializeAws_json1_1AmazonopensearchserviceRetryOptions = (input, context) => {
1058
+ return {
1059
+ ...(input.DurationInSeconds !== undefined &&
1060
+ input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }),
1061
+ };
1062
+ };
983
1063
  const serializeAws_json1_1BufferingHints = (input, context) => {
984
1064
  return {
985
1065
  ...(input.IntervalInSeconds !== undefined &&
@@ -1015,6 +1095,10 @@ const serializeAws_json1_1CopyCommand = (input, context) => {
1015
1095
  };
1016
1096
  const serializeAws_json1_1CreateDeliveryStreamInput = (input, context) => {
1017
1097
  return {
1098
+ ...(input.AmazonopensearchserviceDestinationConfiguration !== undefined &&
1099
+ input.AmazonopensearchserviceDestinationConfiguration !== null && {
1100
+ AmazonopensearchserviceDestinationConfiguration: serializeAws_json1_1AmazonopensearchserviceDestinationConfiguration(input.AmazonopensearchserviceDestinationConfiguration, context),
1101
+ }),
1018
1102
  ...(input.DeliveryStreamEncryptionConfigurationInput !== undefined &&
1019
1103
  input.DeliveryStreamEncryptionConfigurationInput !== null && {
1020
1104
  DeliveryStreamEncryptionConfigurationInput: serializeAws_json1_1DeliveryStreamEncryptionConfigurationInput(input.DeliveryStreamEncryptionConfigurationInput, context),
@@ -1879,6 +1963,10 @@ const serializeAws_json1_1UntagDeliveryStreamInput = (input, context) => {
1879
1963
  };
1880
1964
  const serializeAws_json1_1UpdateDestinationInput = (input, context) => {
1881
1965
  return {
1966
+ ...(input.AmazonopensearchserviceDestinationUpdate !== undefined &&
1967
+ input.AmazonopensearchserviceDestinationUpdate !== null && {
1968
+ AmazonopensearchserviceDestinationUpdate: serializeAws_json1_1AmazonopensearchserviceDestinationUpdate(input.AmazonopensearchserviceDestinationUpdate, context),
1969
+ }),
1882
1970
  ...(input.CurrentDeliveryStreamVersionId !== undefined &&
1883
1971
  input.CurrentDeliveryStreamVersionId !== null && {
1884
1972
  CurrentDeliveryStreamVersionId: input.CurrentDeliveryStreamVersionId,
@@ -1923,6 +2011,46 @@ const serializeAws_json1_1VpcConfiguration = (input, context) => {
1923
2011
  input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }),
1924
2012
  };
1925
2013
  };
2014
+ const deserializeAws_json1_1AmazonopensearchserviceBufferingHints = (output, context) => {
2015
+ return {
2016
+ IntervalInSeconds: smithy_client_1.expectInt32(output.IntervalInSeconds),
2017
+ SizeInMBs: smithy_client_1.expectInt32(output.SizeInMBs),
2018
+ };
2019
+ };
2020
+ const deserializeAws_json1_1AmazonopensearchserviceDestinationDescription = (output, context) => {
2021
+ return {
2022
+ BufferingHints: output.BufferingHints !== undefined && output.BufferingHints !== null
2023
+ ? deserializeAws_json1_1AmazonopensearchserviceBufferingHints(output.BufferingHints, context)
2024
+ : undefined,
2025
+ CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
2026
+ ? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
2027
+ : undefined,
2028
+ ClusterEndpoint: smithy_client_1.expectString(output.ClusterEndpoint),
2029
+ DomainARN: smithy_client_1.expectString(output.DomainARN),
2030
+ IndexName: smithy_client_1.expectString(output.IndexName),
2031
+ IndexRotationPeriod: smithy_client_1.expectString(output.IndexRotationPeriod),
2032
+ ProcessingConfiguration: output.ProcessingConfiguration !== undefined && output.ProcessingConfiguration !== null
2033
+ ? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
2034
+ : undefined,
2035
+ RetryOptions: output.RetryOptions !== undefined && output.RetryOptions !== null
2036
+ ? deserializeAws_json1_1AmazonopensearchserviceRetryOptions(output.RetryOptions, context)
2037
+ : undefined,
2038
+ RoleARN: smithy_client_1.expectString(output.RoleARN),
2039
+ S3BackupMode: smithy_client_1.expectString(output.S3BackupMode),
2040
+ S3DestinationDescription: output.S3DestinationDescription !== undefined && output.S3DestinationDescription !== null
2041
+ ? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
2042
+ : undefined,
2043
+ TypeName: smithy_client_1.expectString(output.TypeName),
2044
+ VpcConfigurationDescription: output.VpcConfigurationDescription !== undefined && output.VpcConfigurationDescription !== null
2045
+ ? deserializeAws_json1_1VpcConfigurationDescription(output.VpcConfigurationDescription, context)
2046
+ : undefined,
2047
+ };
2048
+ };
2049
+ const deserializeAws_json1_1AmazonopensearchserviceRetryOptions = (output, context) => {
2050
+ return {
2051
+ DurationInSeconds: smithy_client_1.expectInt32(output.DurationInSeconds),
2052
+ };
2053
+ };
1926
2054
  const deserializeAws_json1_1BufferingHints = (output, context) => {
1927
2055
  return {
1928
2056
  IntervalInSeconds: smithy_client_1.expectInt32(output.IntervalInSeconds),
@@ -2049,6 +2177,10 @@ const deserializeAws_json1_1Deserializer = (output, context) => {
2049
2177
  };
2050
2178
  const deserializeAws_json1_1DestinationDescription = (output, context) => {
2051
2179
  return {
2180
+ AmazonopensearchserviceDestinationDescription: output.AmazonopensearchserviceDestinationDescription !== undefined &&
2181
+ output.AmazonopensearchserviceDestinationDescription !== null
2182
+ ? deserializeAws_json1_1AmazonopensearchserviceDestinationDescription(output.AmazonopensearchserviceDestinationDescription, context)
2183
+ : undefined,
2052
2184
  DestinationId: smithy_client_1.expectString(output.DestinationId),
2053
2185
  ElasticsearchDestinationDescription: output.ElasticsearchDestinationDescription !== undefined && output.ElasticsearchDestinationDescription !== null
2054
2186
  ? deserializeAws_json1_1ElasticsearchDestinationDescription(output.ElasticsearchDestinationDescription, context)
@@ -2691,4 +2823,3 @@ const loadRestJsonErrorCode = (output, data) => {
2691
2823
  }
2692
2824
  return "";
2693
2825
  };
2694
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { FirehoseClient } from "./FirehoseClient";
3
2
  import { CreateDeliveryStreamCommand, } from "./commands/CreateDeliveryStreamCommand";
4
3
  import { DeleteDeliveryStreamCommand, } from "./commands/DeleteDeliveryStreamCommand";
5
4
  import { DescribeDeliveryStreamCommand, } from "./commands/DescribeDeliveryStreamCommand";
@@ -12,13 +11,8 @@ import { StopDeliveryStreamEncryptionCommand, } from "./commands/StopDeliveryStr
12
11
  import { TagDeliveryStreamCommand, } from "./commands/TagDeliveryStreamCommand";
13
12
  import { UntagDeliveryStreamCommand, } from "./commands/UntagDeliveryStreamCommand";
14
13
  import { UpdateDestinationCommand, } from "./commands/UpdateDestinationCommand";
15
- /**
16
- * <fullname>Amazon Kinesis Data Firehose API Reference</fullname>
17
- * <p>Amazon Kinesis Data Firehose is a fully managed service that delivers real-time
18
- * streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon
19
- * Elasticsearch Service (Amazon ES), Amazon Redshift, and Splunk.</p>
20
- */
21
- var Firehose = /** @class */ (function (_super) {
14
+ import { FirehoseClient } from "./FirehoseClient";
15
+ var Firehose = (function (_super) {
22
16
  __extends(Firehose, _super);
23
17
  function Firehose() {
24
18
  return _super !== null && _super.apply(this, arguments) || this;
@@ -194,4 +188,3 @@ var Firehose = /** @class */ (function (_super) {
194
188
  return Firehose;
195
189
  }(FirehoseClient));
196
190
  export { Firehose };
197
- //# sourceMappingURL=Firehose.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,13 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <fullname>Amazon Kinesis Data Firehose API Reference</fullname>
13
- * <p>Amazon Kinesis Data Firehose is a fully managed service that delivers real-time
14
- * streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon
15
- * Elasticsearch Service (Amazon ES), Amazon Redshift, and Splunk.</p>
16
- */
17
- var FirehoseClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var FirehoseClient = (function (_super) {
18
12
  __extends(FirehoseClient, _super);
19
13
  function FirehoseClient(configuration) {
20
14
  var _this = this;
@@ -35,15 +29,9 @@ var FirehoseClient = /** @class */ (function (_super) {
35
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
36
30
  return _this;
37
31
  }
38
- /**
39
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
40
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
41
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
42
- */
43
32
  FirehoseClient.prototype.destroy = function () {
44
33
  _super.prototype.destroy.call(this);
45
34
  };
46
35
  return FirehoseClient;
47
36
  }(__Client));
48
37
  export { FirehoseClient };
49
- //# sourceMappingURL=FirehoseClient.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateDeliveryStreamInput, CreateDeliveryStreamOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateDeliveryStreamCommand, serializeAws_json1_1CreateDeliveryStreamCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateDeliveryStreamCommand = (function (_super) {
7
+ __extends(CreateDeliveryStreamCommand, _super);
8
+ function CreateDeliveryStreamCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateDeliveryStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FirehoseClient";
18
+ var commandName = "CreateDeliveryStreamCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateDeliveryStreamInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateDeliveryStreamOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDeliveryStreamCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateDeliveryStreamCommand(input, context);
33
+ };
34
+ CreateDeliveryStreamCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateDeliveryStreamCommand(output, context);
36
+ };
37
+ return CreateDeliveryStreamCommand;
38
+ }($Command));
39
+ export { CreateDeliveryStreamCommand };