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