@aws-sdk/client-firehose 3.301.0 → 3.303.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.
@@ -3,55 +3,48 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateDestinationInputFilterSensitiveLog = exports.RedshiftDestinationUpdateFilterSensitiveLog = exports.HttpEndpointDestinationUpdateFilterSensitiveLog = exports.DescribeDeliveryStreamOutputFilterSensitiveLog = exports.DeliveryStreamDescriptionFilterSensitiveLog = exports.DestinationDescriptionFilterSensitiveLog = exports.RedshiftDestinationDescriptionFilterSensitiveLog = exports.HttpEndpointDestinationDescriptionFilterSensitiveLog = exports.HttpEndpointDescriptionFilterSensitiveLog = exports.CreateDeliveryStreamInputFilterSensitiveLog = exports.RedshiftDestinationConfigurationFilterSensitiveLog = exports.HttpEndpointDestinationConfigurationFilterSensitiveLog = exports.HttpEndpointRequestConfigurationFilterSensitiveLog = exports.HttpEndpointCommonAttributeFilterSensitiveLog = exports.HttpEndpointConfigurationFilterSensitiveLog = exports.ServiceUnavailableException = exports.DeliveryStreamStatus = exports.DeliveryStreamEncryptionStatus = exports.DeliveryStreamFailureType = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidKMSResourceException = exports.InvalidArgumentException = exports.SplunkS3BackupMode = exports.HECEndpointType = exports.RedshiftS3BackupMode = exports.HttpEndpointS3BackupMode = exports.S3BackupMode = exports.ParquetWriterVersion = exports.ParquetCompression = exports.OrcFormatVersion = exports.OrcCompression = exports.ElasticsearchS3BackupMode = exports.ElasticsearchIndexRotationPeriod = exports.DeliveryStreamType = exports.KeyType = exports.ContentEncoding = exports.ConcurrentModificationException = exports.AmazonopensearchserviceS3BackupMode = exports.AmazonopensearchserviceIndexRotationPeriod = exports.NoEncryptionConfig = exports.CompressionFormat = exports.AmazonOpenSearchServerlessS3BackupMode = exports.ProcessorType = exports.ProcessorParameterName = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const FirehoseServiceException_1 = require("./FirehoseServiceException");
6
- var ProcessorParameterName;
7
- (function (ProcessorParameterName) {
8
- ProcessorParameterName["BUFFER_INTERVAL_IN_SECONDS"] = "BufferIntervalInSeconds";
9
- ProcessorParameterName["BUFFER_SIZE_IN_MB"] = "BufferSizeInMBs";
10
- ProcessorParameterName["Delimiter"] = "Delimiter";
11
- ProcessorParameterName["JSON_PARSING_ENGINE"] = "JsonParsingEngine";
12
- ProcessorParameterName["LAMBDA_ARN"] = "LambdaArn";
13
- ProcessorParameterName["LAMBDA_NUMBER_OF_RETRIES"] = "NumberOfRetries";
14
- ProcessorParameterName["METADATA_EXTRACTION_QUERY"] = "MetadataExtractionQuery";
15
- ProcessorParameterName["ROLE_ARN"] = "RoleArn";
16
- ProcessorParameterName["SUB_RECORD_TYPE"] = "SubRecordType";
17
- })(ProcessorParameterName = exports.ProcessorParameterName || (exports.ProcessorParameterName = {}));
18
- var ProcessorType;
19
- (function (ProcessorType) {
20
- ProcessorType["AppendDelimiterToRecord"] = "AppendDelimiterToRecord";
21
- ProcessorType["Lambda"] = "Lambda";
22
- ProcessorType["MetadataExtraction"] = "MetadataExtraction";
23
- ProcessorType["RecordDeAggregation"] = "RecordDeAggregation";
24
- })(ProcessorType = exports.ProcessorType || (exports.ProcessorType = {}));
25
- var AmazonOpenSearchServerlessS3BackupMode;
26
- (function (AmazonOpenSearchServerlessS3BackupMode) {
27
- AmazonOpenSearchServerlessS3BackupMode["AllDocuments"] = "AllDocuments";
28
- AmazonOpenSearchServerlessS3BackupMode["FailedDocumentsOnly"] = "FailedDocumentsOnly";
29
- })(AmazonOpenSearchServerlessS3BackupMode = exports.AmazonOpenSearchServerlessS3BackupMode || (exports.AmazonOpenSearchServerlessS3BackupMode = {}));
30
- var CompressionFormat;
31
- (function (CompressionFormat) {
32
- CompressionFormat["GZIP"] = "GZIP";
33
- CompressionFormat["HADOOP_SNAPPY"] = "HADOOP_SNAPPY";
34
- CompressionFormat["SNAPPY"] = "Snappy";
35
- CompressionFormat["UNCOMPRESSED"] = "UNCOMPRESSED";
36
- CompressionFormat["ZIP"] = "ZIP";
37
- })(CompressionFormat = exports.CompressionFormat || (exports.CompressionFormat = {}));
38
- var NoEncryptionConfig;
39
- (function (NoEncryptionConfig) {
40
- NoEncryptionConfig["NoEncryption"] = "NoEncryption";
41
- })(NoEncryptionConfig = exports.NoEncryptionConfig || (exports.NoEncryptionConfig = {}));
42
- var AmazonopensearchserviceIndexRotationPeriod;
43
- (function (AmazonopensearchserviceIndexRotationPeriod) {
44
- AmazonopensearchserviceIndexRotationPeriod["NoRotation"] = "NoRotation";
45
- AmazonopensearchserviceIndexRotationPeriod["OneDay"] = "OneDay";
46
- AmazonopensearchserviceIndexRotationPeriod["OneHour"] = "OneHour";
47
- AmazonopensearchserviceIndexRotationPeriod["OneMonth"] = "OneMonth";
48
- AmazonopensearchserviceIndexRotationPeriod["OneWeek"] = "OneWeek";
49
- })(AmazonopensearchserviceIndexRotationPeriod = exports.AmazonopensearchserviceIndexRotationPeriod || (exports.AmazonopensearchserviceIndexRotationPeriod = {}));
50
- var AmazonopensearchserviceS3BackupMode;
51
- (function (AmazonopensearchserviceS3BackupMode) {
52
- AmazonopensearchserviceS3BackupMode["AllDocuments"] = "AllDocuments";
53
- AmazonopensearchserviceS3BackupMode["FailedDocumentsOnly"] = "FailedDocumentsOnly";
54
- })(AmazonopensearchserviceS3BackupMode = exports.AmazonopensearchserviceS3BackupMode || (exports.AmazonopensearchserviceS3BackupMode = {}));
6
+ exports.ProcessorParameterName = {
7
+ BUFFER_INTERVAL_IN_SECONDS: "BufferIntervalInSeconds",
8
+ BUFFER_SIZE_IN_MB: "BufferSizeInMBs",
9
+ Delimiter: "Delimiter",
10
+ JSON_PARSING_ENGINE: "JsonParsingEngine",
11
+ LAMBDA_ARN: "LambdaArn",
12
+ LAMBDA_NUMBER_OF_RETRIES: "NumberOfRetries",
13
+ METADATA_EXTRACTION_QUERY: "MetadataExtractionQuery",
14
+ ROLE_ARN: "RoleArn",
15
+ SUB_RECORD_TYPE: "SubRecordType",
16
+ };
17
+ exports.ProcessorType = {
18
+ AppendDelimiterToRecord: "AppendDelimiterToRecord",
19
+ Lambda: "Lambda",
20
+ MetadataExtraction: "MetadataExtraction",
21
+ RecordDeAggregation: "RecordDeAggregation",
22
+ };
23
+ exports.AmazonOpenSearchServerlessS3BackupMode = {
24
+ AllDocuments: "AllDocuments",
25
+ FailedDocumentsOnly: "FailedDocumentsOnly",
26
+ };
27
+ exports.CompressionFormat = {
28
+ GZIP: "GZIP",
29
+ HADOOP_SNAPPY: "HADOOP_SNAPPY",
30
+ SNAPPY: "Snappy",
31
+ UNCOMPRESSED: "UNCOMPRESSED",
32
+ ZIP: "ZIP",
33
+ };
34
+ exports.NoEncryptionConfig = {
35
+ NoEncryption: "NoEncryption",
36
+ };
37
+ exports.AmazonopensearchserviceIndexRotationPeriod = {
38
+ NoRotation: "NoRotation",
39
+ OneDay: "OneDay",
40
+ OneHour: "OneHour",
41
+ OneMonth: "OneMonth",
42
+ OneWeek: "OneWeek",
43
+ };
44
+ exports.AmazonopensearchserviceS3BackupMode = {
45
+ AllDocuments: "AllDocuments",
46
+ FailedDocumentsOnly: "FailedDocumentsOnly",
47
+ };
55
48
  class ConcurrentModificationException extends FirehoseServiceException_1.FirehoseServiceException {
56
49
  constructor(opts) {
57
50
  super({
@@ -65,81 +58,67 @@ class ConcurrentModificationException extends FirehoseServiceException_1.Firehos
65
58
  }
66
59
  }
67
60
  exports.ConcurrentModificationException = ConcurrentModificationException;
68
- var ContentEncoding;
69
- (function (ContentEncoding) {
70
- ContentEncoding["GZIP"] = "GZIP";
71
- ContentEncoding["NONE"] = "NONE";
72
- })(ContentEncoding = exports.ContentEncoding || (exports.ContentEncoding = {}));
73
- var KeyType;
74
- (function (KeyType) {
75
- KeyType["AWS_OWNED_CMK"] = "AWS_OWNED_CMK";
76
- KeyType["CUSTOMER_MANAGED_CMK"] = "CUSTOMER_MANAGED_CMK";
77
- })(KeyType = exports.KeyType || (exports.KeyType = {}));
78
- var DeliveryStreamType;
79
- (function (DeliveryStreamType) {
80
- DeliveryStreamType["DirectPut"] = "DirectPut";
81
- DeliveryStreamType["KinesisStreamAsSource"] = "KinesisStreamAsSource";
82
- })(DeliveryStreamType = exports.DeliveryStreamType || (exports.DeliveryStreamType = {}));
83
- var ElasticsearchIndexRotationPeriod;
84
- (function (ElasticsearchIndexRotationPeriod) {
85
- ElasticsearchIndexRotationPeriod["NoRotation"] = "NoRotation";
86
- ElasticsearchIndexRotationPeriod["OneDay"] = "OneDay";
87
- ElasticsearchIndexRotationPeriod["OneHour"] = "OneHour";
88
- ElasticsearchIndexRotationPeriod["OneMonth"] = "OneMonth";
89
- ElasticsearchIndexRotationPeriod["OneWeek"] = "OneWeek";
90
- })(ElasticsearchIndexRotationPeriod = exports.ElasticsearchIndexRotationPeriod || (exports.ElasticsearchIndexRotationPeriod = {}));
91
- var ElasticsearchS3BackupMode;
92
- (function (ElasticsearchS3BackupMode) {
93
- ElasticsearchS3BackupMode["AllDocuments"] = "AllDocuments";
94
- ElasticsearchS3BackupMode["FailedDocumentsOnly"] = "FailedDocumentsOnly";
95
- })(ElasticsearchS3BackupMode = exports.ElasticsearchS3BackupMode || (exports.ElasticsearchS3BackupMode = {}));
96
- var OrcCompression;
97
- (function (OrcCompression) {
98
- OrcCompression["NONE"] = "NONE";
99
- OrcCompression["SNAPPY"] = "SNAPPY";
100
- OrcCompression["ZLIB"] = "ZLIB";
101
- })(OrcCompression = exports.OrcCompression || (exports.OrcCompression = {}));
102
- var OrcFormatVersion;
103
- (function (OrcFormatVersion) {
104
- OrcFormatVersion["V0_11"] = "V0_11";
105
- OrcFormatVersion["V0_12"] = "V0_12";
106
- })(OrcFormatVersion = exports.OrcFormatVersion || (exports.OrcFormatVersion = {}));
107
- var ParquetCompression;
108
- (function (ParquetCompression) {
109
- ParquetCompression["GZIP"] = "GZIP";
110
- ParquetCompression["SNAPPY"] = "SNAPPY";
111
- ParquetCompression["UNCOMPRESSED"] = "UNCOMPRESSED";
112
- })(ParquetCompression = exports.ParquetCompression || (exports.ParquetCompression = {}));
113
- var ParquetWriterVersion;
114
- (function (ParquetWriterVersion) {
115
- ParquetWriterVersion["V1"] = "V1";
116
- ParquetWriterVersion["V2"] = "V2";
117
- })(ParquetWriterVersion = exports.ParquetWriterVersion || (exports.ParquetWriterVersion = {}));
118
- var S3BackupMode;
119
- (function (S3BackupMode) {
120
- S3BackupMode["Disabled"] = "Disabled";
121
- S3BackupMode["Enabled"] = "Enabled";
122
- })(S3BackupMode = exports.S3BackupMode || (exports.S3BackupMode = {}));
123
- var HttpEndpointS3BackupMode;
124
- (function (HttpEndpointS3BackupMode) {
125
- HttpEndpointS3BackupMode["AllData"] = "AllData";
126
- HttpEndpointS3BackupMode["FailedDataOnly"] = "FailedDataOnly";
127
- })(HttpEndpointS3BackupMode = exports.HttpEndpointS3BackupMode || (exports.HttpEndpointS3BackupMode = {}));
128
- var RedshiftS3BackupMode;
129
- (function (RedshiftS3BackupMode) {
130
- RedshiftS3BackupMode["Disabled"] = "Disabled";
131
- RedshiftS3BackupMode["Enabled"] = "Enabled";
132
- })(RedshiftS3BackupMode = exports.RedshiftS3BackupMode || (exports.RedshiftS3BackupMode = {}));
133
- var HECEndpointType;
134
- (function (HECEndpointType) {
135
- HECEndpointType["Event"] = "Event";
136
- HECEndpointType["Raw"] = "Raw";
137
- })(HECEndpointType = exports.HECEndpointType || (exports.HECEndpointType = {}));
138
- var SplunkS3BackupMode;
139
- (function (SplunkS3BackupMode) {
140
- SplunkS3BackupMode["AllEvents"] = "AllEvents";
141
- SplunkS3BackupMode["FailedEventsOnly"] = "FailedEventsOnly";
142
- })(SplunkS3BackupMode = exports.SplunkS3BackupMode || (exports.SplunkS3BackupMode = {}));
61
+ exports.ContentEncoding = {
62
+ GZIP: "GZIP",
63
+ NONE: "NONE",
64
+ };
65
+ exports.KeyType = {
66
+ AWS_OWNED_CMK: "AWS_OWNED_CMK",
67
+ CUSTOMER_MANAGED_CMK: "CUSTOMER_MANAGED_CMK",
68
+ };
69
+ exports.DeliveryStreamType = {
70
+ DirectPut: "DirectPut",
71
+ KinesisStreamAsSource: "KinesisStreamAsSource",
72
+ };
73
+ exports.ElasticsearchIndexRotationPeriod = {
74
+ NoRotation: "NoRotation",
75
+ OneDay: "OneDay",
76
+ OneHour: "OneHour",
77
+ OneMonth: "OneMonth",
78
+ OneWeek: "OneWeek",
79
+ };
80
+ exports.ElasticsearchS3BackupMode = {
81
+ AllDocuments: "AllDocuments",
82
+ FailedDocumentsOnly: "FailedDocumentsOnly",
83
+ };
84
+ exports.OrcCompression = {
85
+ NONE: "NONE",
86
+ SNAPPY: "SNAPPY",
87
+ ZLIB: "ZLIB",
88
+ };
89
+ exports.OrcFormatVersion = {
90
+ V0_11: "V0_11",
91
+ V0_12: "V0_12",
92
+ };
93
+ exports.ParquetCompression = {
94
+ GZIP: "GZIP",
95
+ SNAPPY: "SNAPPY",
96
+ UNCOMPRESSED: "UNCOMPRESSED",
97
+ };
98
+ exports.ParquetWriterVersion = {
99
+ V1: "V1",
100
+ V2: "V2",
101
+ };
102
+ exports.S3BackupMode = {
103
+ Disabled: "Disabled",
104
+ Enabled: "Enabled",
105
+ };
106
+ exports.HttpEndpointS3BackupMode = {
107
+ AllData: "AllData",
108
+ FailedDataOnly: "FailedDataOnly",
109
+ };
110
+ exports.RedshiftS3BackupMode = {
111
+ Disabled: "Disabled",
112
+ Enabled: "Enabled",
113
+ };
114
+ exports.HECEndpointType = {
115
+ Event: "Event",
116
+ Raw: "Raw",
117
+ };
118
+ exports.SplunkS3BackupMode = {
119
+ AllEvents: "AllEvents",
120
+ FailedEventsOnly: "FailedEventsOnly",
121
+ };
143
122
  class InvalidArgumentException extends FirehoseServiceException_1.FirehoseServiceException {
144
123
  constructor(opts) {
145
124
  super({
@@ -206,41 +185,38 @@ class ResourceNotFoundException extends FirehoseServiceException_1.FirehoseServi
206
185
  }
207
186
  }
208
187
  exports.ResourceNotFoundException = ResourceNotFoundException;
209
- var DeliveryStreamFailureType;
210
- (function (DeliveryStreamFailureType) {
211
- DeliveryStreamFailureType["CREATE_ENI_FAILED"] = "CREATE_ENI_FAILED";
212
- DeliveryStreamFailureType["CREATE_KMS_GRANT_FAILED"] = "CREATE_KMS_GRANT_FAILED";
213
- DeliveryStreamFailureType["DELETE_ENI_FAILED"] = "DELETE_ENI_FAILED";
214
- DeliveryStreamFailureType["DISABLED_KMS_KEY"] = "DISABLED_KMS_KEY";
215
- DeliveryStreamFailureType["ENI_ACCESS_DENIED"] = "ENI_ACCESS_DENIED";
216
- DeliveryStreamFailureType["INVALID_KMS_KEY"] = "INVALID_KMS_KEY";
217
- DeliveryStreamFailureType["KMS_ACCESS_DENIED"] = "KMS_ACCESS_DENIED";
218
- DeliveryStreamFailureType["KMS_KEY_NOT_FOUND"] = "KMS_KEY_NOT_FOUND";
219
- DeliveryStreamFailureType["KMS_OPT_IN_REQUIRED"] = "KMS_OPT_IN_REQUIRED";
220
- DeliveryStreamFailureType["RETIRE_KMS_GRANT_FAILED"] = "RETIRE_KMS_GRANT_FAILED";
221
- DeliveryStreamFailureType["SECURITY_GROUP_ACCESS_DENIED"] = "SECURITY_GROUP_ACCESS_DENIED";
222
- DeliveryStreamFailureType["SECURITY_GROUP_NOT_FOUND"] = "SECURITY_GROUP_NOT_FOUND";
223
- DeliveryStreamFailureType["SUBNET_ACCESS_DENIED"] = "SUBNET_ACCESS_DENIED";
224
- DeliveryStreamFailureType["SUBNET_NOT_FOUND"] = "SUBNET_NOT_FOUND";
225
- DeliveryStreamFailureType["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
226
- })(DeliveryStreamFailureType = exports.DeliveryStreamFailureType || (exports.DeliveryStreamFailureType = {}));
227
- var DeliveryStreamEncryptionStatus;
228
- (function (DeliveryStreamEncryptionStatus) {
229
- DeliveryStreamEncryptionStatus["DISABLED"] = "DISABLED";
230
- DeliveryStreamEncryptionStatus["DISABLING"] = "DISABLING";
231
- DeliveryStreamEncryptionStatus["DISABLING_FAILED"] = "DISABLING_FAILED";
232
- DeliveryStreamEncryptionStatus["ENABLED"] = "ENABLED";
233
- DeliveryStreamEncryptionStatus["ENABLING"] = "ENABLING";
234
- DeliveryStreamEncryptionStatus["ENABLING_FAILED"] = "ENABLING_FAILED";
235
- })(DeliveryStreamEncryptionStatus = exports.DeliveryStreamEncryptionStatus || (exports.DeliveryStreamEncryptionStatus = {}));
236
- var DeliveryStreamStatus;
237
- (function (DeliveryStreamStatus) {
238
- DeliveryStreamStatus["ACTIVE"] = "ACTIVE";
239
- DeliveryStreamStatus["CREATING"] = "CREATING";
240
- DeliveryStreamStatus["CREATING_FAILED"] = "CREATING_FAILED";
241
- DeliveryStreamStatus["DELETING"] = "DELETING";
242
- DeliveryStreamStatus["DELETING_FAILED"] = "DELETING_FAILED";
243
- })(DeliveryStreamStatus = exports.DeliveryStreamStatus || (exports.DeliveryStreamStatus = {}));
188
+ exports.DeliveryStreamFailureType = {
189
+ CREATE_ENI_FAILED: "CREATE_ENI_FAILED",
190
+ CREATE_KMS_GRANT_FAILED: "CREATE_KMS_GRANT_FAILED",
191
+ DELETE_ENI_FAILED: "DELETE_ENI_FAILED",
192
+ DISABLED_KMS_KEY: "DISABLED_KMS_KEY",
193
+ ENI_ACCESS_DENIED: "ENI_ACCESS_DENIED",
194
+ INVALID_KMS_KEY: "INVALID_KMS_KEY",
195
+ KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
196
+ KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
197
+ KMS_OPT_IN_REQUIRED: "KMS_OPT_IN_REQUIRED",
198
+ RETIRE_KMS_GRANT_FAILED: "RETIRE_KMS_GRANT_FAILED",
199
+ SECURITY_GROUP_ACCESS_DENIED: "SECURITY_GROUP_ACCESS_DENIED",
200
+ SECURITY_GROUP_NOT_FOUND: "SECURITY_GROUP_NOT_FOUND",
201
+ SUBNET_ACCESS_DENIED: "SUBNET_ACCESS_DENIED",
202
+ SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND",
203
+ UNKNOWN_ERROR: "UNKNOWN_ERROR",
204
+ };
205
+ exports.DeliveryStreamEncryptionStatus = {
206
+ DISABLED: "DISABLED",
207
+ DISABLING: "DISABLING",
208
+ DISABLING_FAILED: "DISABLING_FAILED",
209
+ ENABLED: "ENABLED",
210
+ ENABLING: "ENABLING",
211
+ ENABLING_FAILED: "ENABLING_FAILED",
212
+ };
213
+ exports.DeliveryStreamStatus = {
214
+ ACTIVE: "ACTIVE",
215
+ CREATING: "CREATING",
216
+ CREATING_FAILED: "CREATING_FAILED",
217
+ DELETING: "DELETING",
218
+ DELETING_FAILED: "DELETING_FAILED",
219
+ };
244
220
  class ServiceUnavailableException extends FirehoseServiceException_1.FirehoseServiceException {
245
221
  constructor(opts) {
246
222
  super({