@aws-sdk/client-firehose 3.934.0 → 3.936.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/index.js +182 -181
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +181 -0
- package/dist-es/models/errors.js +101 -0
- package/dist-es/models/models_0.js +1 -282
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +445 -0
- package/dist-types/models/errors.d.ts +108 -0
- package/dist-types/models/models_0.d.ts +1 -553
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +241 -0
- package/dist-types/ts3.4/models/errors.d.ts +63 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -304
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,282 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const ProcessorParameterName = {
|
|
3
|
-
BUFFER_INTERVAL_IN_SECONDS: "BufferIntervalInSeconds",
|
|
4
|
-
BUFFER_SIZE_IN_MB: "BufferSizeInMBs",
|
|
5
|
-
COMPRESSION_FORMAT: "CompressionFormat",
|
|
6
|
-
DATA_MESSAGE_EXTRACTION: "DataMessageExtraction",
|
|
7
|
-
Delimiter: "Delimiter",
|
|
8
|
-
JSON_PARSING_ENGINE: "JsonParsingEngine",
|
|
9
|
-
LAMBDA_ARN: "LambdaArn",
|
|
10
|
-
LAMBDA_NUMBER_OF_RETRIES: "NumberOfRetries",
|
|
11
|
-
METADATA_EXTRACTION_QUERY: "MetadataExtractionQuery",
|
|
12
|
-
ROLE_ARN: "RoleArn",
|
|
13
|
-
SUB_RECORD_TYPE: "SubRecordType",
|
|
14
|
-
};
|
|
15
|
-
export const ProcessorType = {
|
|
16
|
-
AppendDelimiterToRecord: "AppendDelimiterToRecord",
|
|
17
|
-
CloudWatchLogProcessing: "CloudWatchLogProcessing",
|
|
18
|
-
Decompression: "Decompression",
|
|
19
|
-
Lambda: "Lambda",
|
|
20
|
-
MetadataExtraction: "MetadataExtraction",
|
|
21
|
-
RecordDeAggregation: "RecordDeAggregation",
|
|
22
|
-
};
|
|
23
|
-
export const AmazonOpenSearchServerlessS3BackupMode = {
|
|
24
|
-
AllDocuments: "AllDocuments",
|
|
25
|
-
FailedDocumentsOnly: "FailedDocumentsOnly",
|
|
26
|
-
};
|
|
27
|
-
export const CompressionFormat = {
|
|
28
|
-
GZIP: "GZIP",
|
|
29
|
-
HADOOP_SNAPPY: "HADOOP_SNAPPY",
|
|
30
|
-
SNAPPY: "Snappy",
|
|
31
|
-
UNCOMPRESSED: "UNCOMPRESSED",
|
|
32
|
-
ZIP: "ZIP",
|
|
33
|
-
};
|
|
34
|
-
export const NoEncryptionConfig = {
|
|
35
|
-
NoEncryption: "NoEncryption",
|
|
36
|
-
};
|
|
37
|
-
export const DefaultDocumentIdFormat = {
|
|
38
|
-
FIREHOSE_DEFAULT: "FIREHOSE_DEFAULT",
|
|
39
|
-
NO_DOCUMENT_ID: "NO_DOCUMENT_ID",
|
|
40
|
-
};
|
|
41
|
-
export const AmazonopensearchserviceIndexRotationPeriod = {
|
|
42
|
-
NoRotation: "NoRotation",
|
|
43
|
-
OneDay: "OneDay",
|
|
44
|
-
OneHour: "OneHour",
|
|
45
|
-
OneMonth: "OneMonth",
|
|
46
|
-
OneWeek: "OneWeek",
|
|
47
|
-
};
|
|
48
|
-
export const AmazonopensearchserviceS3BackupMode = {
|
|
49
|
-
AllDocuments: "AllDocuments",
|
|
50
|
-
FailedDocumentsOnly: "FailedDocumentsOnly",
|
|
51
|
-
};
|
|
52
|
-
export const Connectivity = {
|
|
53
|
-
PRIVATE: "PRIVATE",
|
|
54
|
-
PUBLIC: "PUBLIC",
|
|
55
|
-
};
|
|
56
|
-
export class ConcurrentModificationException extends __BaseException {
|
|
57
|
-
name = "ConcurrentModificationException";
|
|
58
|
-
$fault = "client";
|
|
59
|
-
constructor(opts) {
|
|
60
|
-
super({
|
|
61
|
-
name: "ConcurrentModificationException",
|
|
62
|
-
$fault: "client",
|
|
63
|
-
...opts,
|
|
64
|
-
});
|
|
65
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
export const ContentEncoding = {
|
|
69
|
-
GZIP: "GZIP",
|
|
70
|
-
NONE: "NONE",
|
|
71
|
-
};
|
|
72
|
-
export const SSLMode = {
|
|
73
|
-
Disabled: "Disabled",
|
|
74
|
-
Enabled: "Enabled",
|
|
75
|
-
};
|
|
76
|
-
export const DatabaseType = {
|
|
77
|
-
MySQL: "MySQL",
|
|
78
|
-
PostgreSQL: "PostgreSQL",
|
|
79
|
-
};
|
|
80
|
-
export const KeyType = {
|
|
81
|
-
AWS_OWNED_CMK: "AWS_OWNED_CMK",
|
|
82
|
-
CUSTOMER_MANAGED_CMK: "CUSTOMER_MANAGED_CMK",
|
|
83
|
-
};
|
|
84
|
-
export const DeliveryStreamType = {
|
|
85
|
-
DatabaseAsSource: "DatabaseAsSource",
|
|
86
|
-
DirectPut: "DirectPut",
|
|
87
|
-
KinesisStreamAsSource: "KinesisStreamAsSource",
|
|
88
|
-
MSKAsSource: "MSKAsSource",
|
|
89
|
-
};
|
|
90
|
-
export const ElasticsearchIndexRotationPeriod = {
|
|
91
|
-
NoRotation: "NoRotation",
|
|
92
|
-
OneDay: "OneDay",
|
|
93
|
-
OneHour: "OneHour",
|
|
94
|
-
OneMonth: "OneMonth",
|
|
95
|
-
OneWeek: "OneWeek",
|
|
96
|
-
};
|
|
97
|
-
export const ElasticsearchS3BackupMode = {
|
|
98
|
-
AllDocuments: "AllDocuments",
|
|
99
|
-
FailedDocumentsOnly: "FailedDocumentsOnly",
|
|
100
|
-
};
|
|
101
|
-
export const OrcCompression = {
|
|
102
|
-
NONE: "NONE",
|
|
103
|
-
SNAPPY: "SNAPPY",
|
|
104
|
-
ZLIB: "ZLIB",
|
|
105
|
-
};
|
|
106
|
-
export const OrcFormatVersion = {
|
|
107
|
-
V0_11: "V0_11",
|
|
108
|
-
V0_12: "V0_12",
|
|
109
|
-
};
|
|
110
|
-
export const ParquetCompression = {
|
|
111
|
-
GZIP: "GZIP",
|
|
112
|
-
SNAPPY: "SNAPPY",
|
|
113
|
-
UNCOMPRESSED: "UNCOMPRESSED",
|
|
114
|
-
};
|
|
115
|
-
export const ParquetWriterVersion = {
|
|
116
|
-
V1: "V1",
|
|
117
|
-
V2: "V2",
|
|
118
|
-
};
|
|
119
|
-
export const S3BackupMode = {
|
|
120
|
-
Disabled: "Disabled",
|
|
121
|
-
Enabled: "Enabled",
|
|
122
|
-
};
|
|
123
|
-
export const HttpEndpointS3BackupMode = {
|
|
124
|
-
AllData: "AllData",
|
|
125
|
-
FailedDataOnly: "FailedDataOnly",
|
|
126
|
-
};
|
|
127
|
-
export const IcebergS3BackupMode = {
|
|
128
|
-
AllData: "AllData",
|
|
129
|
-
FailedDataOnly: "FailedDataOnly",
|
|
130
|
-
};
|
|
131
|
-
export const RedshiftS3BackupMode = {
|
|
132
|
-
Disabled: "Disabled",
|
|
133
|
-
Enabled: "Enabled",
|
|
134
|
-
};
|
|
135
|
-
export const SnowflakeDataLoadingOption = {
|
|
136
|
-
JSON_MAPPING: "JSON_MAPPING",
|
|
137
|
-
VARIANT_CONTENT_AND_METADATA_MAPPING: "VARIANT_CONTENT_AND_METADATA_MAPPING",
|
|
138
|
-
VARIANT_CONTENT_MAPPING: "VARIANT_CONTENT_MAPPING",
|
|
139
|
-
};
|
|
140
|
-
export const SnowflakeS3BackupMode = {
|
|
141
|
-
AllData: "AllData",
|
|
142
|
-
FailedDataOnly: "FailedDataOnly",
|
|
143
|
-
};
|
|
144
|
-
export const HECEndpointType = {
|
|
145
|
-
Event: "Event",
|
|
146
|
-
Raw: "Raw",
|
|
147
|
-
};
|
|
148
|
-
export const SplunkS3BackupMode = {
|
|
149
|
-
AllEvents: "AllEvents",
|
|
150
|
-
FailedEventsOnly: "FailedEventsOnly",
|
|
151
|
-
};
|
|
152
|
-
export class InvalidArgumentException extends __BaseException {
|
|
153
|
-
name = "InvalidArgumentException";
|
|
154
|
-
$fault = "client";
|
|
155
|
-
constructor(opts) {
|
|
156
|
-
super({
|
|
157
|
-
name: "InvalidArgumentException",
|
|
158
|
-
$fault: "client",
|
|
159
|
-
...opts,
|
|
160
|
-
});
|
|
161
|
-
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
export class InvalidKMSResourceException extends __BaseException {
|
|
165
|
-
name = "InvalidKMSResourceException";
|
|
166
|
-
$fault = "client";
|
|
167
|
-
code;
|
|
168
|
-
constructor(opts) {
|
|
169
|
-
super({
|
|
170
|
-
name: "InvalidKMSResourceException",
|
|
171
|
-
$fault: "client",
|
|
172
|
-
...opts,
|
|
173
|
-
});
|
|
174
|
-
Object.setPrototypeOf(this, InvalidKMSResourceException.prototype);
|
|
175
|
-
this.code = opts.code;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
export class LimitExceededException extends __BaseException {
|
|
179
|
-
name = "LimitExceededException";
|
|
180
|
-
$fault = "client";
|
|
181
|
-
constructor(opts) {
|
|
182
|
-
super({
|
|
183
|
-
name: "LimitExceededException",
|
|
184
|
-
$fault: "client",
|
|
185
|
-
...opts,
|
|
186
|
-
});
|
|
187
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
export class ResourceInUseException extends __BaseException {
|
|
191
|
-
name = "ResourceInUseException";
|
|
192
|
-
$fault = "client";
|
|
193
|
-
constructor(opts) {
|
|
194
|
-
super({
|
|
195
|
-
name: "ResourceInUseException",
|
|
196
|
-
$fault: "client",
|
|
197
|
-
...opts,
|
|
198
|
-
});
|
|
199
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
export const DeliveryStreamFailureType = {
|
|
203
|
-
CREATE_ENI_FAILED: "CREATE_ENI_FAILED",
|
|
204
|
-
CREATE_KMS_GRANT_FAILED: "CREATE_KMS_GRANT_FAILED",
|
|
205
|
-
DELETE_ENI_FAILED: "DELETE_ENI_FAILED",
|
|
206
|
-
DISABLED_KMS_KEY: "DISABLED_KMS_KEY",
|
|
207
|
-
ENI_ACCESS_DENIED: "ENI_ACCESS_DENIED",
|
|
208
|
-
INVALID_KMS_KEY: "INVALID_KMS_KEY",
|
|
209
|
-
KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
|
|
210
|
-
KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
|
|
211
|
-
KMS_OPT_IN_REQUIRED: "KMS_OPT_IN_REQUIRED",
|
|
212
|
-
RETIRE_KMS_GRANT_FAILED: "RETIRE_KMS_GRANT_FAILED",
|
|
213
|
-
SECURITY_GROUP_ACCESS_DENIED: "SECURITY_GROUP_ACCESS_DENIED",
|
|
214
|
-
SECURITY_GROUP_NOT_FOUND: "SECURITY_GROUP_NOT_FOUND",
|
|
215
|
-
SUBNET_ACCESS_DENIED: "SUBNET_ACCESS_DENIED",
|
|
216
|
-
SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND",
|
|
217
|
-
UNKNOWN_ERROR: "UNKNOWN_ERROR",
|
|
218
|
-
VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND: "VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND",
|
|
219
|
-
VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED: "VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED",
|
|
220
|
-
};
|
|
221
|
-
export const SnapshotRequestedBy = {
|
|
222
|
-
FIREHOSE: "FIREHOSE",
|
|
223
|
-
USER: "USER",
|
|
224
|
-
};
|
|
225
|
-
export const SnapshotStatus = {
|
|
226
|
-
COMPLETE: "COMPLETE",
|
|
227
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
228
|
-
SUSPENDED: "SUSPENDED",
|
|
229
|
-
};
|
|
230
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
231
|
-
name = "ResourceNotFoundException";
|
|
232
|
-
$fault = "client";
|
|
233
|
-
constructor(opts) {
|
|
234
|
-
super({
|
|
235
|
-
name: "ResourceNotFoundException",
|
|
236
|
-
$fault: "client",
|
|
237
|
-
...opts,
|
|
238
|
-
});
|
|
239
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
export const DeliveryStreamEncryptionStatus = {
|
|
243
|
-
DISABLED: "DISABLED",
|
|
244
|
-
DISABLING: "DISABLING",
|
|
245
|
-
DISABLING_FAILED: "DISABLING_FAILED",
|
|
246
|
-
ENABLED: "ENABLED",
|
|
247
|
-
ENABLING: "ENABLING",
|
|
248
|
-
ENABLING_FAILED: "ENABLING_FAILED",
|
|
249
|
-
};
|
|
250
|
-
export const DeliveryStreamStatus = {
|
|
251
|
-
ACTIVE: "ACTIVE",
|
|
252
|
-
CREATING: "CREATING",
|
|
253
|
-
CREATING_FAILED: "CREATING_FAILED",
|
|
254
|
-
DELETING: "DELETING",
|
|
255
|
-
DELETING_FAILED: "DELETING_FAILED",
|
|
256
|
-
};
|
|
257
|
-
export class InvalidSourceException extends __BaseException {
|
|
258
|
-
name = "InvalidSourceException";
|
|
259
|
-
$fault = "client";
|
|
260
|
-
code;
|
|
261
|
-
constructor(opts) {
|
|
262
|
-
super({
|
|
263
|
-
name: "InvalidSourceException",
|
|
264
|
-
$fault: "client",
|
|
265
|
-
...opts,
|
|
266
|
-
});
|
|
267
|
-
Object.setPrototypeOf(this, InvalidSourceException.prototype);
|
|
268
|
-
this.code = opts.code;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
272
|
-
name = "ServiceUnavailableException";
|
|
273
|
-
$fault = "server";
|
|
274
|
-
constructor(opts) {
|
|
275
|
-
super({
|
|
276
|
-
name: "ServiceUnavailableException",
|
|
277
|
-
$fault: "server",
|
|
278
|
-
...opts,
|
|
279
|
-
});
|
|
280
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
1
|
+
export {};
|
|
@@ -336,8 +336,8 @@ const _s = "server";
|
|
|
336
336
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.firehose";
|
|
337
337
|
const n0 = "com.amazonaws.firehose";
|
|
338
338
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
339
|
+
import { ConcurrentModificationException as __ConcurrentModificationException, InvalidArgumentException as __InvalidArgumentException, InvalidKMSResourceException as __InvalidKMSResourceException, InvalidSourceException as __InvalidSourceException, LimitExceededException as __LimitExceededException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, } from "../models/errors";
|
|
339
340
|
import { FirehoseServiceException as __FirehoseServiceException } from "../models/FirehoseServiceException";
|
|
340
|
-
import { ConcurrentModificationException as __ConcurrentModificationException, InvalidArgumentException as __InvalidArgumentException, InvalidKMSResourceException as __InvalidKMSResourceException, InvalidSourceException as __InvalidSourceException, LimitExceededException as __LimitExceededException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, } from "../models/index";
|
|
341
341
|
export var HttpEndpointAccessKey = [0, n0, _HEAK, 8, 0];
|
|
342
342
|
export var HttpEndpointAttributeName = [0, n0, _HEAN, 8, 0];
|
|
343
343
|
export var HttpEndpointAttributeValue = [0, n0, _HEAV, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,5 +15,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
15
15
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
16
16
|
export type { FirehoseExtensionConfiguration } from "./extensionConfiguration";
|
|
17
17
|
export * from "./commands";
|
|
18
|
-
export * from "./models";
|
|
18
|
+
export * from "./models/enums";
|
|
19
|
+
export * from "./models/errors";
|
|
20
|
+
export type * from "./models/models_0";
|
|
19
21
|
export { FirehoseServiceException } from "./models/FirehoseServiceException";
|