@aws-sdk/client-firehose 3.933.0 → 3.935.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.
@@ -0,0 +1,445 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ProcessorParameterName: {
6
+ readonly BUFFER_INTERVAL_IN_SECONDS: "BufferIntervalInSeconds";
7
+ readonly BUFFER_SIZE_IN_MB: "BufferSizeInMBs";
8
+ readonly COMPRESSION_FORMAT: "CompressionFormat";
9
+ readonly DATA_MESSAGE_EXTRACTION: "DataMessageExtraction";
10
+ readonly Delimiter: "Delimiter";
11
+ readonly JSON_PARSING_ENGINE: "JsonParsingEngine";
12
+ readonly LAMBDA_ARN: "LambdaArn";
13
+ readonly LAMBDA_NUMBER_OF_RETRIES: "NumberOfRetries";
14
+ readonly METADATA_EXTRACTION_QUERY: "MetadataExtractionQuery";
15
+ readonly ROLE_ARN: "RoleArn";
16
+ readonly SUB_RECORD_TYPE: "SubRecordType";
17
+ };
18
+ /**
19
+ * @public
20
+ */
21
+ export type ProcessorParameterName = (typeof ProcessorParameterName)[keyof typeof ProcessorParameterName];
22
+ /**
23
+ * @public
24
+ * @enum
25
+ */
26
+ export declare const ProcessorType: {
27
+ readonly AppendDelimiterToRecord: "AppendDelimiterToRecord";
28
+ readonly CloudWatchLogProcessing: "CloudWatchLogProcessing";
29
+ readonly Decompression: "Decompression";
30
+ readonly Lambda: "Lambda";
31
+ readonly MetadataExtraction: "MetadataExtraction";
32
+ readonly RecordDeAggregation: "RecordDeAggregation";
33
+ };
34
+ /**
35
+ * @public
36
+ */
37
+ export type ProcessorType = (typeof ProcessorType)[keyof typeof ProcessorType];
38
+ /**
39
+ * @public
40
+ * @enum
41
+ */
42
+ export declare const AmazonOpenSearchServerlessS3BackupMode: {
43
+ readonly AllDocuments: "AllDocuments";
44
+ readonly FailedDocumentsOnly: "FailedDocumentsOnly";
45
+ };
46
+ /**
47
+ * @public
48
+ */
49
+ export type AmazonOpenSearchServerlessS3BackupMode = (typeof AmazonOpenSearchServerlessS3BackupMode)[keyof typeof AmazonOpenSearchServerlessS3BackupMode];
50
+ /**
51
+ * @public
52
+ * @enum
53
+ */
54
+ export declare const CompressionFormat: {
55
+ readonly GZIP: "GZIP";
56
+ readonly HADOOP_SNAPPY: "HADOOP_SNAPPY";
57
+ readonly SNAPPY: "Snappy";
58
+ readonly UNCOMPRESSED: "UNCOMPRESSED";
59
+ readonly ZIP: "ZIP";
60
+ };
61
+ /**
62
+ * @public
63
+ */
64
+ export type CompressionFormat = (typeof CompressionFormat)[keyof typeof CompressionFormat];
65
+ /**
66
+ * @public
67
+ * @enum
68
+ */
69
+ export declare const NoEncryptionConfig: {
70
+ readonly NoEncryption: "NoEncryption";
71
+ };
72
+ /**
73
+ * @public
74
+ */
75
+ export type NoEncryptionConfig = (typeof NoEncryptionConfig)[keyof typeof NoEncryptionConfig];
76
+ /**
77
+ * @public
78
+ * @enum
79
+ */
80
+ export declare const DefaultDocumentIdFormat: {
81
+ readonly FIREHOSE_DEFAULT: "FIREHOSE_DEFAULT";
82
+ readonly NO_DOCUMENT_ID: "NO_DOCUMENT_ID";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type DefaultDocumentIdFormat = (typeof DefaultDocumentIdFormat)[keyof typeof DefaultDocumentIdFormat];
88
+ /**
89
+ * @public
90
+ * @enum
91
+ */
92
+ export declare const AmazonopensearchserviceIndexRotationPeriod: {
93
+ readonly NoRotation: "NoRotation";
94
+ readonly OneDay: "OneDay";
95
+ readonly OneHour: "OneHour";
96
+ readonly OneMonth: "OneMonth";
97
+ readonly OneWeek: "OneWeek";
98
+ };
99
+ /**
100
+ * @public
101
+ */
102
+ export type AmazonopensearchserviceIndexRotationPeriod = (typeof AmazonopensearchserviceIndexRotationPeriod)[keyof typeof AmazonopensearchserviceIndexRotationPeriod];
103
+ /**
104
+ * @public
105
+ * @enum
106
+ */
107
+ export declare const AmazonopensearchserviceS3BackupMode: {
108
+ readonly AllDocuments: "AllDocuments";
109
+ readonly FailedDocumentsOnly: "FailedDocumentsOnly";
110
+ };
111
+ /**
112
+ * @public
113
+ */
114
+ export type AmazonopensearchserviceS3BackupMode = (typeof AmazonopensearchserviceS3BackupMode)[keyof typeof AmazonopensearchserviceS3BackupMode];
115
+ /**
116
+ * @public
117
+ * @enum
118
+ */
119
+ export declare const Connectivity: {
120
+ readonly PRIVATE: "PRIVATE";
121
+ readonly PUBLIC: "PUBLIC";
122
+ };
123
+ /**
124
+ * @public
125
+ */
126
+ export type Connectivity = (typeof Connectivity)[keyof typeof Connectivity];
127
+ /**
128
+ * @public
129
+ * @enum
130
+ */
131
+ export declare const ContentEncoding: {
132
+ readonly GZIP: "GZIP";
133
+ readonly NONE: "NONE";
134
+ };
135
+ /**
136
+ * @public
137
+ */
138
+ export type ContentEncoding = (typeof ContentEncoding)[keyof typeof ContentEncoding];
139
+ /**
140
+ * @public
141
+ * @enum
142
+ */
143
+ export declare const SSLMode: {
144
+ readonly Disabled: "Disabled";
145
+ readonly Enabled: "Enabled";
146
+ };
147
+ /**
148
+ * @public
149
+ */
150
+ export type SSLMode = (typeof SSLMode)[keyof typeof SSLMode];
151
+ /**
152
+ * @public
153
+ * @enum
154
+ */
155
+ export declare const DatabaseType: {
156
+ readonly MySQL: "MySQL";
157
+ readonly PostgreSQL: "PostgreSQL";
158
+ };
159
+ /**
160
+ * @public
161
+ */
162
+ export type DatabaseType = (typeof DatabaseType)[keyof typeof DatabaseType];
163
+ /**
164
+ * @public
165
+ * @enum
166
+ */
167
+ export declare const KeyType: {
168
+ readonly AWS_OWNED_CMK: "AWS_OWNED_CMK";
169
+ readonly CUSTOMER_MANAGED_CMK: "CUSTOMER_MANAGED_CMK";
170
+ };
171
+ /**
172
+ * @public
173
+ */
174
+ export type KeyType = (typeof KeyType)[keyof typeof KeyType];
175
+ /**
176
+ * @public
177
+ * @enum
178
+ */
179
+ export declare const DeliveryStreamType: {
180
+ readonly DatabaseAsSource: "DatabaseAsSource";
181
+ readonly DirectPut: "DirectPut";
182
+ readonly KinesisStreamAsSource: "KinesisStreamAsSource";
183
+ readonly MSKAsSource: "MSKAsSource";
184
+ };
185
+ /**
186
+ * @public
187
+ */
188
+ export type DeliveryStreamType = (typeof DeliveryStreamType)[keyof typeof DeliveryStreamType];
189
+ /**
190
+ * @public
191
+ * @enum
192
+ */
193
+ export declare const ElasticsearchIndexRotationPeriod: {
194
+ readonly NoRotation: "NoRotation";
195
+ readonly OneDay: "OneDay";
196
+ readonly OneHour: "OneHour";
197
+ readonly OneMonth: "OneMonth";
198
+ readonly OneWeek: "OneWeek";
199
+ };
200
+ /**
201
+ * @public
202
+ */
203
+ export type ElasticsearchIndexRotationPeriod = (typeof ElasticsearchIndexRotationPeriod)[keyof typeof ElasticsearchIndexRotationPeriod];
204
+ /**
205
+ * @public
206
+ * @enum
207
+ */
208
+ export declare const ElasticsearchS3BackupMode: {
209
+ readonly AllDocuments: "AllDocuments";
210
+ readonly FailedDocumentsOnly: "FailedDocumentsOnly";
211
+ };
212
+ /**
213
+ * @public
214
+ */
215
+ export type ElasticsearchS3BackupMode = (typeof ElasticsearchS3BackupMode)[keyof typeof ElasticsearchS3BackupMode];
216
+ /**
217
+ * @public
218
+ * @enum
219
+ */
220
+ export declare const OrcCompression: {
221
+ readonly NONE: "NONE";
222
+ readonly SNAPPY: "SNAPPY";
223
+ readonly ZLIB: "ZLIB";
224
+ };
225
+ /**
226
+ * @public
227
+ */
228
+ export type OrcCompression = (typeof OrcCompression)[keyof typeof OrcCompression];
229
+ /**
230
+ * @public
231
+ * @enum
232
+ */
233
+ export declare const OrcFormatVersion: {
234
+ readonly V0_11: "V0_11";
235
+ readonly V0_12: "V0_12";
236
+ };
237
+ /**
238
+ * @public
239
+ */
240
+ export type OrcFormatVersion = (typeof OrcFormatVersion)[keyof typeof OrcFormatVersion];
241
+ /**
242
+ * @public
243
+ * @enum
244
+ */
245
+ export declare const ParquetCompression: {
246
+ readonly GZIP: "GZIP";
247
+ readonly SNAPPY: "SNAPPY";
248
+ readonly UNCOMPRESSED: "UNCOMPRESSED";
249
+ };
250
+ /**
251
+ * @public
252
+ */
253
+ export type ParquetCompression = (typeof ParquetCompression)[keyof typeof ParquetCompression];
254
+ /**
255
+ * @public
256
+ * @enum
257
+ */
258
+ export declare const ParquetWriterVersion: {
259
+ readonly V1: "V1";
260
+ readonly V2: "V2";
261
+ };
262
+ /**
263
+ * @public
264
+ */
265
+ export type ParquetWriterVersion = (typeof ParquetWriterVersion)[keyof typeof ParquetWriterVersion];
266
+ /**
267
+ * @public
268
+ * @enum
269
+ */
270
+ export declare const S3BackupMode: {
271
+ readonly Disabled: "Disabled";
272
+ readonly Enabled: "Enabled";
273
+ };
274
+ /**
275
+ * @public
276
+ */
277
+ export type S3BackupMode = (typeof S3BackupMode)[keyof typeof S3BackupMode];
278
+ /**
279
+ * @public
280
+ * @enum
281
+ */
282
+ export declare const HttpEndpointS3BackupMode: {
283
+ readonly AllData: "AllData";
284
+ readonly FailedDataOnly: "FailedDataOnly";
285
+ };
286
+ /**
287
+ * @public
288
+ */
289
+ export type HttpEndpointS3BackupMode = (typeof HttpEndpointS3BackupMode)[keyof typeof HttpEndpointS3BackupMode];
290
+ /**
291
+ * @public
292
+ * @enum
293
+ */
294
+ export declare const IcebergS3BackupMode: {
295
+ readonly AllData: "AllData";
296
+ readonly FailedDataOnly: "FailedDataOnly";
297
+ };
298
+ /**
299
+ * @public
300
+ */
301
+ export type IcebergS3BackupMode = (typeof IcebergS3BackupMode)[keyof typeof IcebergS3BackupMode];
302
+ /**
303
+ * @public
304
+ * @enum
305
+ */
306
+ export declare const RedshiftS3BackupMode: {
307
+ readonly Disabled: "Disabled";
308
+ readonly Enabled: "Enabled";
309
+ };
310
+ /**
311
+ * @public
312
+ */
313
+ export type RedshiftS3BackupMode = (typeof RedshiftS3BackupMode)[keyof typeof RedshiftS3BackupMode];
314
+ /**
315
+ * @public
316
+ * @enum
317
+ */
318
+ export declare const SnowflakeDataLoadingOption: {
319
+ readonly JSON_MAPPING: "JSON_MAPPING";
320
+ readonly VARIANT_CONTENT_AND_METADATA_MAPPING: "VARIANT_CONTENT_AND_METADATA_MAPPING";
321
+ readonly VARIANT_CONTENT_MAPPING: "VARIANT_CONTENT_MAPPING";
322
+ };
323
+ /**
324
+ * @public
325
+ */
326
+ export type SnowflakeDataLoadingOption = (typeof SnowflakeDataLoadingOption)[keyof typeof SnowflakeDataLoadingOption];
327
+ /**
328
+ * @public
329
+ * @enum
330
+ */
331
+ export declare const SnowflakeS3BackupMode: {
332
+ readonly AllData: "AllData";
333
+ readonly FailedDataOnly: "FailedDataOnly";
334
+ };
335
+ /**
336
+ * @public
337
+ */
338
+ export type SnowflakeS3BackupMode = (typeof SnowflakeS3BackupMode)[keyof typeof SnowflakeS3BackupMode];
339
+ /**
340
+ * @public
341
+ * @enum
342
+ */
343
+ export declare const HECEndpointType: {
344
+ readonly Event: "Event";
345
+ readonly Raw: "Raw";
346
+ };
347
+ /**
348
+ * @public
349
+ */
350
+ export type HECEndpointType = (typeof HECEndpointType)[keyof typeof HECEndpointType];
351
+ /**
352
+ * @public
353
+ * @enum
354
+ */
355
+ export declare const SplunkS3BackupMode: {
356
+ readonly AllEvents: "AllEvents";
357
+ readonly FailedEventsOnly: "FailedEventsOnly";
358
+ };
359
+ /**
360
+ * @public
361
+ */
362
+ export type SplunkS3BackupMode = (typeof SplunkS3BackupMode)[keyof typeof SplunkS3BackupMode];
363
+ /**
364
+ * @public
365
+ * @enum
366
+ */
367
+ export declare const DeliveryStreamFailureType: {
368
+ readonly CREATE_ENI_FAILED: "CREATE_ENI_FAILED";
369
+ readonly CREATE_KMS_GRANT_FAILED: "CREATE_KMS_GRANT_FAILED";
370
+ readonly DELETE_ENI_FAILED: "DELETE_ENI_FAILED";
371
+ readonly DISABLED_KMS_KEY: "DISABLED_KMS_KEY";
372
+ readonly ENI_ACCESS_DENIED: "ENI_ACCESS_DENIED";
373
+ readonly INVALID_KMS_KEY: "INVALID_KMS_KEY";
374
+ readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
375
+ readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
376
+ readonly KMS_OPT_IN_REQUIRED: "KMS_OPT_IN_REQUIRED";
377
+ readonly RETIRE_KMS_GRANT_FAILED: "RETIRE_KMS_GRANT_FAILED";
378
+ readonly SECURITY_GROUP_ACCESS_DENIED: "SECURITY_GROUP_ACCESS_DENIED";
379
+ readonly SECURITY_GROUP_NOT_FOUND: "SECURITY_GROUP_NOT_FOUND";
380
+ readonly SUBNET_ACCESS_DENIED: "SUBNET_ACCESS_DENIED";
381
+ readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
382
+ readonly UNKNOWN_ERROR: "UNKNOWN_ERROR";
383
+ readonly VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND: "VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND";
384
+ readonly VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED: "VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED";
385
+ };
386
+ /**
387
+ * @public
388
+ */
389
+ export type DeliveryStreamFailureType = (typeof DeliveryStreamFailureType)[keyof typeof DeliveryStreamFailureType];
390
+ /**
391
+ * @public
392
+ * @enum
393
+ */
394
+ export declare const SnapshotRequestedBy: {
395
+ readonly FIREHOSE: "FIREHOSE";
396
+ readonly USER: "USER";
397
+ };
398
+ /**
399
+ * @public
400
+ */
401
+ export type SnapshotRequestedBy = (typeof SnapshotRequestedBy)[keyof typeof SnapshotRequestedBy];
402
+ /**
403
+ * @public
404
+ * @enum
405
+ */
406
+ export declare const SnapshotStatus: {
407
+ readonly COMPLETE: "COMPLETE";
408
+ readonly IN_PROGRESS: "IN_PROGRESS";
409
+ readonly SUSPENDED: "SUSPENDED";
410
+ };
411
+ /**
412
+ * @public
413
+ */
414
+ export type SnapshotStatus = (typeof SnapshotStatus)[keyof typeof SnapshotStatus];
415
+ /**
416
+ * @public
417
+ * @enum
418
+ */
419
+ export declare const DeliveryStreamEncryptionStatus: {
420
+ readonly DISABLED: "DISABLED";
421
+ readonly DISABLING: "DISABLING";
422
+ readonly DISABLING_FAILED: "DISABLING_FAILED";
423
+ readonly ENABLED: "ENABLED";
424
+ readonly ENABLING: "ENABLING";
425
+ readonly ENABLING_FAILED: "ENABLING_FAILED";
426
+ };
427
+ /**
428
+ * @public
429
+ */
430
+ export type DeliveryStreamEncryptionStatus = (typeof DeliveryStreamEncryptionStatus)[keyof typeof DeliveryStreamEncryptionStatus];
431
+ /**
432
+ * @public
433
+ * @enum
434
+ */
435
+ export declare const DeliveryStreamStatus: {
436
+ readonly ACTIVE: "ACTIVE";
437
+ readonly CREATING: "CREATING";
438
+ readonly CREATING_FAILED: "CREATING_FAILED";
439
+ readonly DELETING: "DELETING";
440
+ readonly DELETING_FAILED: "DELETING_FAILED";
441
+ };
442
+ /**
443
+ * @public
444
+ */
445
+ export type DeliveryStreamStatus = (typeof DeliveryStreamStatus)[keyof typeof DeliveryStreamStatus];
@@ -0,0 +1,108 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { FirehoseServiceException as __BaseException } from "./FirehoseServiceException";
3
+ /**
4
+ * <p>Another modification has already happened. Fetch <code>VersionId</code> again and use
5
+ * it to update the destination.</p>
6
+ * @public
7
+ */
8
+ export declare class ConcurrentModificationException extends __BaseException {
9
+ readonly name: "ConcurrentModificationException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The specified input parameter has a value that is not valid.</p>
18
+ * @public
19
+ */
20
+ export declare class InvalidArgumentException extends __BaseException {
21
+ readonly name: "InvalidArgumentException";
22
+ readonly $fault: "client";
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
27
+ }
28
+ /**
29
+ * <p>Firehose throws this exception when an attempt to put records or to start
30
+ * or stop Firehose stream encryption fails. This happens when the KMS service throws one of
31
+ * the following exception types: <code>AccessDeniedException</code>,
32
+ * <code>InvalidStateException</code>, <code>DisabledException</code>, or
33
+ * <code>NotFoundException</code>.</p>
34
+ * @public
35
+ */
36
+ export declare class InvalidKMSResourceException extends __BaseException {
37
+ readonly name: "InvalidKMSResourceException";
38
+ readonly $fault: "client";
39
+ code?: string | undefined;
40
+ /**
41
+ * @internal
42
+ */
43
+ constructor(opts: __ExceptionOptionType<InvalidKMSResourceException, __BaseException>);
44
+ }
45
+ /**
46
+ * <p>You have already reached the limit for a requested resource.</p>
47
+ * @public
48
+ */
49
+ export declare class LimitExceededException extends __BaseException {
50
+ readonly name: "LimitExceededException";
51
+ readonly $fault: "client";
52
+ /**
53
+ * @internal
54
+ */
55
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
56
+ }
57
+ /**
58
+ * <p>The resource is already in use and not available for this operation.</p>
59
+ * @public
60
+ */
61
+ export declare class ResourceInUseException extends __BaseException {
62
+ readonly name: "ResourceInUseException";
63
+ readonly $fault: "client";
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
68
+ }
69
+ /**
70
+ * <p>The specified resource could not be found.</p>
71
+ * @public
72
+ */
73
+ export declare class ResourceNotFoundException extends __BaseException {
74
+ readonly name: "ResourceNotFoundException";
75
+ readonly $fault: "client";
76
+ /**
77
+ * @internal
78
+ */
79
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
80
+ }
81
+ /**
82
+ * <p>Only requests from CloudWatch Logs are supported when CloudWatch Logs decompression is enabled.</p>
83
+ * @public
84
+ */
85
+ export declare class InvalidSourceException extends __BaseException {
86
+ readonly name: "InvalidSourceException";
87
+ readonly $fault: "client";
88
+ code?: string | undefined;
89
+ /**
90
+ * @internal
91
+ */
92
+ constructor(opts: __ExceptionOptionType<InvalidSourceException, __BaseException>);
93
+ }
94
+ /**
95
+ * <p>The service is unavailable. Back off and retry the operation. If you continue to see
96
+ * the exception, throughput limits for the Firehose stream may have been exceeded. For more
97
+ * information about limits and how to request an increase, see <a href="https://docs.aws.amazon.com/firehose/latest/dev/limits.html">Amazon Firehose
98
+ * Limits</a>.</p>
99
+ * @public
100
+ */
101
+ export declare class ServiceUnavailableException extends __BaseException {
102
+ readonly name: "ServiceUnavailableException";
103
+ readonly $fault: "server";
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
108
+ }