@aws-sdk/client-firehose 3.300.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.
- package/dist-cjs/models/models_0.js +135 -159
- package/dist-es/models/models_0.js +135 -159
- package/dist-types/commands/CreateDeliveryStreamCommand.d.ts +70 -216
- package/dist-types/commands/DeleteDeliveryStreamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeliveryStreamCommand.d.ts +1 -1
- package/dist-types/commands/ListDeliveryStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForDeliveryStreamCommand.d.ts +1 -1
- package/dist-types/commands/PutRecordBatchCommand.d.ts +3 -3
- package/dist-types/commands/PutRecordCommand.d.ts +2 -2
- package/dist-types/commands/StartDeliveryStreamEncryptionCommand.d.ts +2 -2
- package/dist-types/commands/StopDeliveryStreamEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/TagDeliveryStreamCommand.d.ts +3 -3
- package/dist-types/commands/UntagDeliveryStreamCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDestinationCommand.d.ts +63 -209
- package/dist-types/models/models_0.d.ts +255 -135
- package/dist-types/ts3.4/models/models_0.d.ts +180 -135
- package/package.json +34 -34
|
@@ -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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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({
|