@aws-sdk/client-firehose 3.899.0 → 3.906.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +1493 -1682
  2. package/package.json +37 -37
package/dist-cjs/index.js CHANGED
@@ -1,1724 +1,1535 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AmazonOpenSearchServerlessS3BackupMode: () => AmazonOpenSearchServerlessS3BackupMode,
25
- AmazonopensearchserviceIndexRotationPeriod: () => AmazonopensearchserviceIndexRotationPeriod,
26
- AmazonopensearchserviceS3BackupMode: () => AmazonopensearchserviceS3BackupMode,
27
- CompressionFormat: () => CompressionFormat,
28
- ConcurrentModificationException: () => ConcurrentModificationException,
29
- Connectivity: () => Connectivity,
30
- ContentEncoding: () => ContentEncoding,
31
- CreateDeliveryStreamCommand: () => CreateDeliveryStreamCommand,
32
- CreateDeliveryStreamInputFilterSensitiveLog: () => CreateDeliveryStreamInputFilterSensitiveLog,
33
- DatabaseType: () => DatabaseType,
34
- DefaultDocumentIdFormat: () => DefaultDocumentIdFormat,
35
- DeleteDeliveryStreamCommand: () => DeleteDeliveryStreamCommand,
36
- DeliveryStreamDescriptionFilterSensitiveLog: () => DeliveryStreamDescriptionFilterSensitiveLog,
37
- DeliveryStreamEncryptionStatus: () => DeliveryStreamEncryptionStatus,
38
- DeliveryStreamFailureType: () => DeliveryStreamFailureType,
39
- DeliveryStreamStatus: () => DeliveryStreamStatus,
40
- DeliveryStreamType: () => DeliveryStreamType,
41
- DescribeDeliveryStreamCommand: () => DescribeDeliveryStreamCommand,
42
- DescribeDeliveryStreamOutputFilterSensitiveLog: () => DescribeDeliveryStreamOutputFilterSensitiveLog,
43
- DestinationDescriptionFilterSensitiveLog: () => DestinationDescriptionFilterSensitiveLog,
44
- ElasticsearchIndexRotationPeriod: () => ElasticsearchIndexRotationPeriod,
45
- ElasticsearchS3BackupMode: () => ElasticsearchS3BackupMode,
46
- Firehose: () => Firehose,
47
- FirehoseClient: () => FirehoseClient,
48
- FirehoseServiceException: () => FirehoseServiceException,
49
- HECEndpointType: () => HECEndpointType,
50
- HttpEndpointCommonAttributeFilterSensitiveLog: () => HttpEndpointCommonAttributeFilterSensitiveLog,
51
- HttpEndpointConfigurationFilterSensitiveLog: () => HttpEndpointConfigurationFilterSensitiveLog,
52
- HttpEndpointDescriptionFilterSensitiveLog: () => HttpEndpointDescriptionFilterSensitiveLog,
53
- HttpEndpointDestinationConfigurationFilterSensitiveLog: () => HttpEndpointDestinationConfigurationFilterSensitiveLog,
54
- HttpEndpointDestinationDescriptionFilterSensitiveLog: () => HttpEndpointDestinationDescriptionFilterSensitiveLog,
55
- HttpEndpointDestinationUpdateFilterSensitiveLog: () => HttpEndpointDestinationUpdateFilterSensitiveLog,
56
- HttpEndpointRequestConfigurationFilterSensitiveLog: () => HttpEndpointRequestConfigurationFilterSensitiveLog,
57
- HttpEndpointS3BackupMode: () => HttpEndpointS3BackupMode,
58
- IcebergS3BackupMode: () => IcebergS3BackupMode,
59
- InvalidArgumentException: () => InvalidArgumentException,
60
- InvalidKMSResourceException: () => InvalidKMSResourceException,
61
- InvalidSourceException: () => InvalidSourceException,
62
- KeyType: () => KeyType,
63
- LimitExceededException: () => LimitExceededException,
64
- ListDeliveryStreamsCommand: () => ListDeliveryStreamsCommand,
65
- ListTagsForDeliveryStreamCommand: () => ListTagsForDeliveryStreamCommand,
66
- NoEncryptionConfig: () => NoEncryptionConfig,
67
- OrcCompression: () => OrcCompression,
68
- OrcFormatVersion: () => OrcFormatVersion,
69
- ParquetCompression: () => ParquetCompression,
70
- ParquetWriterVersion: () => ParquetWriterVersion,
71
- ProcessorParameterName: () => ProcessorParameterName,
72
- ProcessorType: () => ProcessorType,
73
- PutRecordBatchCommand: () => PutRecordBatchCommand,
74
- PutRecordCommand: () => PutRecordCommand,
75
- RedshiftDestinationConfigurationFilterSensitiveLog: () => RedshiftDestinationConfigurationFilterSensitiveLog,
76
- RedshiftDestinationDescriptionFilterSensitiveLog: () => RedshiftDestinationDescriptionFilterSensitiveLog,
77
- RedshiftDestinationUpdateFilterSensitiveLog: () => RedshiftDestinationUpdateFilterSensitiveLog,
78
- RedshiftS3BackupMode: () => RedshiftS3BackupMode,
79
- ResourceInUseException: () => ResourceInUseException,
80
- ResourceNotFoundException: () => ResourceNotFoundException,
81
- S3BackupMode: () => S3BackupMode,
82
- SSLMode: () => SSLMode,
83
- ServiceUnavailableException: () => ServiceUnavailableException,
84
- SnapshotRequestedBy: () => SnapshotRequestedBy,
85
- SnapshotStatus: () => SnapshotStatus,
86
- SnowflakeDataLoadingOption: () => SnowflakeDataLoadingOption,
87
- SnowflakeDestinationConfigurationFilterSensitiveLog: () => SnowflakeDestinationConfigurationFilterSensitiveLog,
88
- SnowflakeDestinationDescriptionFilterSensitiveLog: () => SnowflakeDestinationDescriptionFilterSensitiveLog,
89
- SnowflakeDestinationUpdateFilterSensitiveLog: () => SnowflakeDestinationUpdateFilterSensitiveLog,
90
- SnowflakeRoleConfigurationFilterSensitiveLog: () => SnowflakeRoleConfigurationFilterSensitiveLog,
91
- SnowflakeS3BackupMode: () => SnowflakeS3BackupMode,
92
- SnowflakeVpcConfigurationFilterSensitiveLog: () => SnowflakeVpcConfigurationFilterSensitiveLog,
93
- SplunkS3BackupMode: () => SplunkS3BackupMode,
94
- StartDeliveryStreamEncryptionCommand: () => StartDeliveryStreamEncryptionCommand,
95
- StopDeliveryStreamEncryptionCommand: () => StopDeliveryStreamEncryptionCommand,
96
- TagDeliveryStreamCommand: () => TagDeliveryStreamCommand,
97
- UntagDeliveryStreamCommand: () => UntagDeliveryStreamCommand,
98
- UpdateDestinationCommand: () => UpdateDestinationCommand,
99
- UpdateDestinationInputFilterSensitiveLog: () => UpdateDestinationInputFilterSensitiveLog,
100
- __Client: () => import_smithy_client.Client
101
- });
102
- module.exports = __toCommonJS(index_exports);
103
-
104
- // src/FirehoseClient.ts
105
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
106
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
107
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
108
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
109
- var import_config_resolver = require("@smithy/config-resolver");
110
- var import_core = require("@smithy/core");
111
- var import_middleware_content_length = require("@smithy/middleware-content-length");
112
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
113
- var import_middleware_retry = require("@smithy/middleware-retry");
114
-
115
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
116
-
117
- // src/endpoint/EndpointParameters.ts
118
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
119
- return Object.assign(options, {
120
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
121
- useFipsEndpoint: options.useFipsEndpoint ?? false,
122
- defaultSigningName: "firehose"
123
- });
124
- }, "resolveClientEndpointParameters");
125
- var commonParams = {
126
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
127
- Endpoint: { type: "builtInParams", name: "endpoint" },
128
- Region: { type: "builtInParams", name: "region" },
129
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "firehose",
25
+ });
26
+ };
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
130
32
  };
131
33
 
132
- // src/FirehoseClient.ts
133
- var import_runtimeConfig = require("././runtimeConfig");
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
71
+ };
134
72
 
135
- // src/runtimeExtensions.ts
136
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
137
- var import_protocol_http = require("@smithy/protocol-http");
138
- var import_smithy_client = require("@smithy/smithy-client");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
139
78
 
140
- // src/auth/httpAuthExtensionConfiguration.ts
141
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
142
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
143
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
144
- let _credentials = runtimeConfig.credentials;
145
- return {
146
- setHttpAuthScheme(httpAuthScheme) {
147
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
148
- if (index === -1) {
149
- _httpAuthSchemes.push(httpAuthScheme);
150
- } else {
151
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
152
- }
153
- },
154
- httpAuthSchemes() {
155
- return _httpAuthSchemes;
156
- },
157
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
158
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
159
- },
160
- httpAuthSchemeProvider() {
161
- return _httpAuthSchemeProvider;
162
- },
163
- setCredentials(credentials) {
164
- _credentials = credentials;
165
- },
166
- credentials() {
167
- return _credentials;
79
+ class FirehoseClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultFirehoseHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
168
107
  }
169
- };
170
- }, "getHttpAuthExtensionConfiguration");
171
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
172
- return {
173
- httpAuthSchemes: config.httpAuthSchemes(),
174
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
175
- credentials: config.credentials()
176
- };
177
- }, "resolveHttpAuthRuntimeConfig");
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
178
112
 
179
- // src/runtimeExtensions.ts
180
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
181
- const extensionConfiguration = Object.assign(
182
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
183
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
184
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
185
- getHttpAuthExtensionConfiguration(runtimeConfig)
186
- );
187
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
188
- return Object.assign(
189
- runtimeConfig,
190
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
191
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
192
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
193
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
194
- );
195
- }, "resolveRuntimeExtensions");
113
+ class FirehoseServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, FirehoseServiceException.prototype);
117
+ }
118
+ }
196
119
 
197
- // src/FirehoseClient.ts
198
- var FirehoseClient = class extends import_smithy_client.Client {
199
- static {
200
- __name(this, "FirehoseClient");
201
- }
202
- /**
203
- * The resolved configuration of FirehoseClient class. This is resolved and normalized from the {@link FirehoseClientConfig | constructor configuration interface}.
204
- */
205
- config;
206
- constructor(...[configuration]) {
207
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
208
- super(_config_0);
209
- this.initConfig = _config_0;
210
- const _config_1 = resolveClientEndpointParameters(_config_0);
211
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
212
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
213
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
214
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
215
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
216
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
217
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
218
- this.config = _config_8;
219
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
220
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
221
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
222
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
223
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
224
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
225
- this.middlewareStack.use(
226
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
227
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultFirehoseHttpAuthSchemeParametersProvider,
228
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
229
- "aws.auth#sigv4": config.credentials
230
- }), "identityProviderConfigProvider")
231
- })
232
- );
233
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
234
- }
235
- /**
236
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
237
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
238
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
239
- */
240
- destroy() {
241
- super.destroy();
242
- }
120
+ const ProcessorParameterName = {
121
+ BUFFER_INTERVAL_IN_SECONDS: "BufferIntervalInSeconds",
122
+ BUFFER_SIZE_IN_MB: "BufferSizeInMBs",
123
+ COMPRESSION_FORMAT: "CompressionFormat",
124
+ DATA_MESSAGE_EXTRACTION: "DataMessageExtraction",
125
+ Delimiter: "Delimiter",
126
+ JSON_PARSING_ENGINE: "JsonParsingEngine",
127
+ LAMBDA_ARN: "LambdaArn",
128
+ LAMBDA_NUMBER_OF_RETRIES: "NumberOfRetries",
129
+ METADATA_EXTRACTION_QUERY: "MetadataExtractionQuery",
130
+ ROLE_ARN: "RoleArn",
131
+ SUB_RECORD_TYPE: "SubRecordType",
243
132
  };
244
-
245
- // src/Firehose.ts
246
-
247
-
248
- // src/commands/CreateDeliveryStreamCommand.ts
249
-
250
- var import_middleware_serde = require("@smithy/middleware-serde");
251
-
252
-
253
- // src/models/models_0.ts
254
-
255
-
256
- // src/models/FirehoseServiceException.ts
257
-
258
- var FirehoseServiceException = class _FirehoseServiceException extends import_smithy_client.ServiceException {
259
- static {
260
- __name(this, "FirehoseServiceException");
261
- }
262
- /**
263
- * @internal
264
- */
265
- constructor(options) {
266
- super(options);
267
- Object.setPrototypeOf(this, _FirehoseServiceException.prototype);
268
- }
133
+ const ProcessorType = {
134
+ AppendDelimiterToRecord: "AppendDelimiterToRecord",
135
+ CloudWatchLogProcessing: "CloudWatchLogProcessing",
136
+ Decompression: "Decompression",
137
+ Lambda: "Lambda",
138
+ MetadataExtraction: "MetadataExtraction",
139
+ RecordDeAggregation: "RecordDeAggregation",
140
+ };
141
+ const AmazonOpenSearchServerlessS3BackupMode = {
142
+ AllDocuments: "AllDocuments",
143
+ FailedDocumentsOnly: "FailedDocumentsOnly",
144
+ };
145
+ const CompressionFormat = {
146
+ GZIP: "GZIP",
147
+ HADOOP_SNAPPY: "HADOOP_SNAPPY",
148
+ SNAPPY: "Snappy",
149
+ UNCOMPRESSED: "UNCOMPRESSED",
150
+ ZIP: "ZIP",
151
+ };
152
+ const NoEncryptionConfig = {
153
+ NoEncryption: "NoEncryption",
154
+ };
155
+ const DefaultDocumentIdFormat = {
156
+ FIREHOSE_DEFAULT: "FIREHOSE_DEFAULT",
157
+ NO_DOCUMENT_ID: "NO_DOCUMENT_ID",
158
+ };
159
+ const AmazonopensearchserviceIndexRotationPeriod = {
160
+ NoRotation: "NoRotation",
161
+ OneDay: "OneDay",
162
+ OneHour: "OneHour",
163
+ OneMonth: "OneMonth",
164
+ OneWeek: "OneWeek",
165
+ };
166
+ const AmazonopensearchserviceS3BackupMode = {
167
+ AllDocuments: "AllDocuments",
168
+ FailedDocumentsOnly: "FailedDocumentsOnly",
169
+ };
170
+ const Connectivity = {
171
+ PRIVATE: "PRIVATE",
172
+ PUBLIC: "PUBLIC",
173
+ };
174
+ class ConcurrentModificationException extends FirehoseServiceException {
175
+ name = "ConcurrentModificationException";
176
+ $fault = "client";
177
+ constructor(opts) {
178
+ super({
179
+ name: "ConcurrentModificationException",
180
+ $fault: "client",
181
+ ...opts,
182
+ });
183
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
184
+ }
185
+ }
186
+ const ContentEncoding = {
187
+ GZIP: "GZIP",
188
+ NONE: "NONE",
189
+ };
190
+ const SSLMode = {
191
+ Disabled: "Disabled",
192
+ Enabled: "Enabled",
193
+ };
194
+ const DatabaseType = {
195
+ MySQL: "MySQL",
196
+ PostgreSQL: "PostgreSQL",
197
+ };
198
+ const KeyType = {
199
+ AWS_OWNED_CMK: "AWS_OWNED_CMK",
200
+ CUSTOMER_MANAGED_CMK: "CUSTOMER_MANAGED_CMK",
201
+ };
202
+ const DeliveryStreamType = {
203
+ DatabaseAsSource: "DatabaseAsSource",
204
+ DirectPut: "DirectPut",
205
+ KinesisStreamAsSource: "KinesisStreamAsSource",
206
+ MSKAsSource: "MSKAsSource",
207
+ };
208
+ const ElasticsearchIndexRotationPeriod = {
209
+ NoRotation: "NoRotation",
210
+ OneDay: "OneDay",
211
+ OneHour: "OneHour",
212
+ OneMonth: "OneMonth",
213
+ OneWeek: "OneWeek",
214
+ };
215
+ const ElasticsearchS3BackupMode = {
216
+ AllDocuments: "AllDocuments",
217
+ FailedDocumentsOnly: "FailedDocumentsOnly",
218
+ };
219
+ const OrcCompression = {
220
+ NONE: "NONE",
221
+ SNAPPY: "SNAPPY",
222
+ ZLIB: "ZLIB",
223
+ };
224
+ const OrcFormatVersion = {
225
+ V0_11: "V0_11",
226
+ V0_12: "V0_12",
227
+ };
228
+ const ParquetCompression = {
229
+ GZIP: "GZIP",
230
+ SNAPPY: "SNAPPY",
231
+ UNCOMPRESSED: "UNCOMPRESSED",
232
+ };
233
+ const ParquetWriterVersion = {
234
+ V1: "V1",
235
+ V2: "V2",
236
+ };
237
+ const S3BackupMode = {
238
+ Disabled: "Disabled",
239
+ Enabled: "Enabled",
240
+ };
241
+ const HttpEndpointS3BackupMode = {
242
+ AllData: "AllData",
243
+ FailedDataOnly: "FailedDataOnly",
244
+ };
245
+ const IcebergS3BackupMode = {
246
+ AllData: "AllData",
247
+ FailedDataOnly: "FailedDataOnly",
248
+ };
249
+ const RedshiftS3BackupMode = {
250
+ Disabled: "Disabled",
251
+ Enabled: "Enabled",
252
+ };
253
+ const SnowflakeDataLoadingOption = {
254
+ JSON_MAPPING: "JSON_MAPPING",
255
+ VARIANT_CONTENT_AND_METADATA_MAPPING: "VARIANT_CONTENT_AND_METADATA_MAPPING",
256
+ VARIANT_CONTENT_MAPPING: "VARIANT_CONTENT_MAPPING",
257
+ };
258
+ const SnowflakeS3BackupMode = {
259
+ AllData: "AllData",
260
+ FailedDataOnly: "FailedDataOnly",
261
+ };
262
+ const HECEndpointType = {
263
+ Event: "Event",
264
+ Raw: "Raw",
265
+ };
266
+ const SplunkS3BackupMode = {
267
+ AllEvents: "AllEvents",
268
+ FailedEventsOnly: "FailedEventsOnly",
269
+ };
270
+ class InvalidArgumentException extends FirehoseServiceException {
271
+ name = "InvalidArgumentException";
272
+ $fault = "client";
273
+ constructor(opts) {
274
+ super({
275
+ name: "InvalidArgumentException",
276
+ $fault: "client",
277
+ ...opts,
278
+ });
279
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
280
+ }
281
+ }
282
+ class InvalidKMSResourceException extends FirehoseServiceException {
283
+ name = "InvalidKMSResourceException";
284
+ $fault = "client";
285
+ code;
286
+ constructor(opts) {
287
+ super({
288
+ name: "InvalidKMSResourceException",
289
+ $fault: "client",
290
+ ...opts,
291
+ });
292
+ Object.setPrototypeOf(this, InvalidKMSResourceException.prototype);
293
+ this.code = opts.code;
294
+ }
295
+ }
296
+ class LimitExceededException extends FirehoseServiceException {
297
+ name = "LimitExceededException";
298
+ $fault = "client";
299
+ constructor(opts) {
300
+ super({
301
+ name: "LimitExceededException",
302
+ $fault: "client",
303
+ ...opts,
304
+ });
305
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
306
+ }
307
+ }
308
+ class ResourceInUseException extends FirehoseServiceException {
309
+ name = "ResourceInUseException";
310
+ $fault = "client";
311
+ constructor(opts) {
312
+ super({
313
+ name: "ResourceInUseException",
314
+ $fault: "client",
315
+ ...opts,
316
+ });
317
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
318
+ }
319
+ }
320
+ const DeliveryStreamFailureType = {
321
+ CREATE_ENI_FAILED: "CREATE_ENI_FAILED",
322
+ CREATE_KMS_GRANT_FAILED: "CREATE_KMS_GRANT_FAILED",
323
+ DELETE_ENI_FAILED: "DELETE_ENI_FAILED",
324
+ DISABLED_KMS_KEY: "DISABLED_KMS_KEY",
325
+ ENI_ACCESS_DENIED: "ENI_ACCESS_DENIED",
326
+ INVALID_KMS_KEY: "INVALID_KMS_KEY",
327
+ KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
328
+ KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
329
+ KMS_OPT_IN_REQUIRED: "KMS_OPT_IN_REQUIRED",
330
+ RETIRE_KMS_GRANT_FAILED: "RETIRE_KMS_GRANT_FAILED",
331
+ SECURITY_GROUP_ACCESS_DENIED: "SECURITY_GROUP_ACCESS_DENIED",
332
+ SECURITY_GROUP_NOT_FOUND: "SECURITY_GROUP_NOT_FOUND",
333
+ SUBNET_ACCESS_DENIED: "SUBNET_ACCESS_DENIED",
334
+ SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND",
335
+ UNKNOWN_ERROR: "UNKNOWN_ERROR",
336
+ VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND: "VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND",
337
+ VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED: "VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED",
338
+ };
339
+ const SnapshotRequestedBy = {
340
+ FIREHOSE: "FIREHOSE",
341
+ USER: "USER",
342
+ };
343
+ const SnapshotStatus = {
344
+ COMPLETE: "COMPLETE",
345
+ IN_PROGRESS: "IN_PROGRESS",
346
+ SUSPENDED: "SUSPENDED",
269
347
  };
348
+ class ResourceNotFoundException extends FirehoseServiceException {
349
+ name = "ResourceNotFoundException";
350
+ $fault = "client";
351
+ constructor(opts) {
352
+ super({
353
+ name: "ResourceNotFoundException",
354
+ $fault: "client",
355
+ ...opts,
356
+ });
357
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
358
+ }
359
+ }
360
+ const DeliveryStreamEncryptionStatus = {
361
+ DISABLED: "DISABLED",
362
+ DISABLING: "DISABLING",
363
+ DISABLING_FAILED: "DISABLING_FAILED",
364
+ ENABLED: "ENABLED",
365
+ ENABLING: "ENABLING",
366
+ ENABLING_FAILED: "ENABLING_FAILED",
367
+ };
368
+ const DeliveryStreamStatus = {
369
+ ACTIVE: "ACTIVE",
370
+ CREATING: "CREATING",
371
+ CREATING_FAILED: "CREATING_FAILED",
372
+ DELETING: "DELETING",
373
+ DELETING_FAILED: "DELETING_FAILED",
374
+ };
375
+ class InvalidSourceException extends FirehoseServiceException {
376
+ name = "InvalidSourceException";
377
+ $fault = "client";
378
+ code;
379
+ constructor(opts) {
380
+ super({
381
+ name: "InvalidSourceException",
382
+ $fault: "client",
383
+ ...opts,
384
+ });
385
+ Object.setPrototypeOf(this, InvalidSourceException.prototype);
386
+ this.code = opts.code;
387
+ }
388
+ }
389
+ class ServiceUnavailableException extends FirehoseServiceException {
390
+ name = "ServiceUnavailableException";
391
+ $fault = "server";
392
+ constructor(opts) {
393
+ super({
394
+ name: "ServiceUnavailableException",
395
+ $fault: "server",
396
+ ...opts,
397
+ });
398
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
399
+ }
400
+ }
401
+ const HttpEndpointConfigurationFilterSensitiveLog = (obj) => ({
402
+ ...obj,
403
+ ...(obj.Url && { Url: smithyClient.SENSITIVE_STRING }),
404
+ ...(obj.AccessKey && { AccessKey: smithyClient.SENSITIVE_STRING }),
405
+ });
406
+ const HttpEndpointCommonAttributeFilterSensitiveLog = (obj) => ({
407
+ ...obj,
408
+ ...(obj.AttributeName && { AttributeName: smithyClient.SENSITIVE_STRING }),
409
+ ...(obj.AttributeValue && { AttributeValue: smithyClient.SENSITIVE_STRING }),
410
+ });
411
+ const HttpEndpointRequestConfigurationFilterSensitiveLog = (obj) => ({
412
+ ...obj,
413
+ ...(obj.CommonAttributes && {
414
+ CommonAttributes: obj.CommonAttributes.map((item) => HttpEndpointCommonAttributeFilterSensitiveLog(item)),
415
+ }),
416
+ });
417
+ const HttpEndpointDestinationConfigurationFilterSensitiveLog = (obj) => ({
418
+ ...obj,
419
+ ...(obj.EndpointConfiguration && {
420
+ EndpointConfiguration: HttpEndpointConfigurationFilterSensitiveLog(obj.EndpointConfiguration),
421
+ }),
422
+ ...(obj.RequestConfiguration && {
423
+ RequestConfiguration: HttpEndpointRequestConfigurationFilterSensitiveLog(obj.RequestConfiguration),
424
+ }),
425
+ });
426
+ const RedshiftDestinationConfigurationFilterSensitiveLog = (obj) => ({
427
+ ...obj,
428
+ ...(obj.Username && { Username: smithyClient.SENSITIVE_STRING }),
429
+ ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
430
+ });
431
+ const SnowflakeRoleConfigurationFilterSensitiveLog = (obj) => ({
432
+ ...obj,
433
+ ...(obj.SnowflakeRole && { SnowflakeRole: smithyClient.SENSITIVE_STRING }),
434
+ });
435
+ const SnowflakeVpcConfigurationFilterSensitiveLog = (obj) => ({
436
+ ...obj,
437
+ ...(obj.PrivateLinkVpceId && { PrivateLinkVpceId: smithyClient.SENSITIVE_STRING }),
438
+ });
439
+ const SnowflakeDestinationConfigurationFilterSensitiveLog = (obj) => ({
440
+ ...obj,
441
+ ...(obj.AccountUrl && { AccountUrl: smithyClient.SENSITIVE_STRING }),
442
+ ...(obj.PrivateKey && { PrivateKey: smithyClient.SENSITIVE_STRING }),
443
+ ...(obj.KeyPassphrase && { KeyPassphrase: smithyClient.SENSITIVE_STRING }),
444
+ ...(obj.User && { User: smithyClient.SENSITIVE_STRING }),
445
+ ...(obj.Database && { Database: smithyClient.SENSITIVE_STRING }),
446
+ ...(obj.Schema && { Schema: smithyClient.SENSITIVE_STRING }),
447
+ ...(obj.Table && { Table: smithyClient.SENSITIVE_STRING }),
448
+ ...(obj.SnowflakeRoleConfiguration && {
449
+ SnowflakeRoleConfiguration: SnowflakeRoleConfigurationFilterSensitiveLog(obj.SnowflakeRoleConfiguration),
450
+ }),
451
+ ...(obj.MetaDataColumnName && { MetaDataColumnName: smithyClient.SENSITIVE_STRING }),
452
+ ...(obj.ContentColumnName && { ContentColumnName: smithyClient.SENSITIVE_STRING }),
453
+ ...(obj.SnowflakeVpcConfiguration && {
454
+ SnowflakeVpcConfiguration: SnowflakeVpcConfigurationFilterSensitiveLog(obj.SnowflakeVpcConfiguration),
455
+ }),
456
+ });
457
+ const CreateDeliveryStreamInputFilterSensitiveLog = (obj) => ({
458
+ ...obj,
459
+ ...(obj.RedshiftDestinationConfiguration && {
460
+ RedshiftDestinationConfiguration: RedshiftDestinationConfigurationFilterSensitiveLog(obj.RedshiftDestinationConfiguration),
461
+ }),
462
+ ...(obj.HttpEndpointDestinationConfiguration && {
463
+ HttpEndpointDestinationConfiguration: HttpEndpointDestinationConfigurationFilterSensitiveLog(obj.HttpEndpointDestinationConfiguration),
464
+ }),
465
+ ...(obj.SnowflakeDestinationConfiguration && {
466
+ SnowflakeDestinationConfiguration: SnowflakeDestinationConfigurationFilterSensitiveLog(obj.SnowflakeDestinationConfiguration),
467
+ }),
468
+ });
469
+ const HttpEndpointDescriptionFilterSensitiveLog = (obj) => ({
470
+ ...obj,
471
+ ...(obj.Url && { Url: smithyClient.SENSITIVE_STRING }),
472
+ });
473
+ const HttpEndpointDestinationDescriptionFilterSensitiveLog = (obj) => ({
474
+ ...obj,
475
+ ...(obj.EndpointConfiguration && {
476
+ EndpointConfiguration: HttpEndpointDescriptionFilterSensitiveLog(obj.EndpointConfiguration),
477
+ }),
478
+ ...(obj.RequestConfiguration && {
479
+ RequestConfiguration: HttpEndpointRequestConfigurationFilterSensitiveLog(obj.RequestConfiguration),
480
+ }),
481
+ });
482
+ const RedshiftDestinationDescriptionFilterSensitiveLog = (obj) => ({
483
+ ...obj,
484
+ ...(obj.Username && { Username: smithyClient.SENSITIVE_STRING }),
485
+ });
486
+ const SnowflakeDestinationDescriptionFilterSensitiveLog = (obj) => ({
487
+ ...obj,
488
+ ...(obj.AccountUrl && { AccountUrl: smithyClient.SENSITIVE_STRING }),
489
+ ...(obj.User && { User: smithyClient.SENSITIVE_STRING }),
490
+ ...(obj.Database && { Database: smithyClient.SENSITIVE_STRING }),
491
+ ...(obj.Schema && { Schema: smithyClient.SENSITIVE_STRING }),
492
+ ...(obj.Table && { Table: smithyClient.SENSITIVE_STRING }),
493
+ ...(obj.SnowflakeRoleConfiguration && {
494
+ SnowflakeRoleConfiguration: SnowflakeRoleConfigurationFilterSensitiveLog(obj.SnowflakeRoleConfiguration),
495
+ }),
496
+ ...(obj.MetaDataColumnName && { MetaDataColumnName: smithyClient.SENSITIVE_STRING }),
497
+ ...(obj.ContentColumnName && { ContentColumnName: smithyClient.SENSITIVE_STRING }),
498
+ ...(obj.SnowflakeVpcConfiguration && {
499
+ SnowflakeVpcConfiguration: SnowflakeVpcConfigurationFilterSensitiveLog(obj.SnowflakeVpcConfiguration),
500
+ }),
501
+ });
502
+ const DestinationDescriptionFilterSensitiveLog = (obj) => ({
503
+ ...obj,
504
+ ...(obj.RedshiftDestinationDescription && {
505
+ RedshiftDestinationDescription: RedshiftDestinationDescriptionFilterSensitiveLog(obj.RedshiftDestinationDescription),
506
+ }),
507
+ ...(obj.HttpEndpointDestinationDescription && {
508
+ HttpEndpointDestinationDescription: HttpEndpointDestinationDescriptionFilterSensitiveLog(obj.HttpEndpointDestinationDescription),
509
+ }),
510
+ ...(obj.SnowflakeDestinationDescription && {
511
+ SnowflakeDestinationDescription: SnowflakeDestinationDescriptionFilterSensitiveLog(obj.SnowflakeDestinationDescription),
512
+ }),
513
+ });
514
+ const DeliveryStreamDescriptionFilterSensitiveLog = (obj) => ({
515
+ ...obj,
516
+ ...(obj.Destinations && {
517
+ Destinations: obj.Destinations.map((item) => DestinationDescriptionFilterSensitiveLog(item)),
518
+ }),
519
+ });
520
+ const DescribeDeliveryStreamOutputFilterSensitiveLog = (obj) => ({
521
+ ...obj,
522
+ });
523
+ const HttpEndpointDestinationUpdateFilterSensitiveLog = (obj) => ({
524
+ ...obj,
525
+ ...(obj.EndpointConfiguration && {
526
+ EndpointConfiguration: HttpEndpointConfigurationFilterSensitiveLog(obj.EndpointConfiguration),
527
+ }),
528
+ ...(obj.RequestConfiguration && {
529
+ RequestConfiguration: HttpEndpointRequestConfigurationFilterSensitiveLog(obj.RequestConfiguration),
530
+ }),
531
+ });
532
+ const RedshiftDestinationUpdateFilterSensitiveLog = (obj) => ({
533
+ ...obj,
534
+ ...(obj.Username && { Username: smithyClient.SENSITIVE_STRING }),
535
+ ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
536
+ });
537
+ const SnowflakeDestinationUpdateFilterSensitiveLog = (obj) => ({
538
+ ...obj,
539
+ ...(obj.AccountUrl && { AccountUrl: smithyClient.SENSITIVE_STRING }),
540
+ ...(obj.PrivateKey && { PrivateKey: smithyClient.SENSITIVE_STRING }),
541
+ ...(obj.KeyPassphrase && { KeyPassphrase: smithyClient.SENSITIVE_STRING }),
542
+ ...(obj.User && { User: smithyClient.SENSITIVE_STRING }),
543
+ ...(obj.Database && { Database: smithyClient.SENSITIVE_STRING }),
544
+ ...(obj.Schema && { Schema: smithyClient.SENSITIVE_STRING }),
545
+ ...(obj.Table && { Table: smithyClient.SENSITIVE_STRING }),
546
+ ...(obj.SnowflakeRoleConfiguration && {
547
+ SnowflakeRoleConfiguration: SnowflakeRoleConfigurationFilterSensitiveLog(obj.SnowflakeRoleConfiguration),
548
+ }),
549
+ ...(obj.MetaDataColumnName && { MetaDataColumnName: smithyClient.SENSITIVE_STRING }),
550
+ ...(obj.ContentColumnName && { ContentColumnName: smithyClient.SENSITIVE_STRING }),
551
+ });
552
+ const UpdateDestinationInputFilterSensitiveLog = (obj) => ({
553
+ ...obj,
554
+ ...(obj.RedshiftDestinationUpdate && {
555
+ RedshiftDestinationUpdate: RedshiftDestinationUpdateFilterSensitiveLog(obj.RedshiftDestinationUpdate),
556
+ }),
557
+ ...(obj.HttpEndpointDestinationUpdate && {
558
+ HttpEndpointDestinationUpdate: HttpEndpointDestinationUpdateFilterSensitiveLog(obj.HttpEndpointDestinationUpdate),
559
+ }),
560
+ ...(obj.SnowflakeDestinationUpdate && {
561
+ SnowflakeDestinationUpdate: SnowflakeDestinationUpdateFilterSensitiveLog(obj.SnowflakeDestinationUpdate),
562
+ }),
563
+ });
270
564
 
271
- // src/models/models_0.ts
272
- var ProcessorParameterName = {
273
- BUFFER_INTERVAL_IN_SECONDS: "BufferIntervalInSeconds",
274
- BUFFER_SIZE_IN_MB: "BufferSizeInMBs",
275
- COMPRESSION_FORMAT: "CompressionFormat",
276
- DATA_MESSAGE_EXTRACTION: "DataMessageExtraction",
277
- Delimiter: "Delimiter",
278
- JSON_PARSING_ENGINE: "JsonParsingEngine",
279
- LAMBDA_ARN: "LambdaArn",
280
- LAMBDA_NUMBER_OF_RETRIES: "NumberOfRetries",
281
- METADATA_EXTRACTION_QUERY: "MetadataExtractionQuery",
282
- ROLE_ARN: "RoleArn",
283
- SUB_RECORD_TYPE: "SubRecordType"
284
- };
285
- var ProcessorType = {
286
- AppendDelimiterToRecord: "AppendDelimiterToRecord",
287
- CloudWatchLogProcessing: "CloudWatchLogProcessing",
288
- Decompression: "Decompression",
289
- Lambda: "Lambda",
290
- MetadataExtraction: "MetadataExtraction",
291
- RecordDeAggregation: "RecordDeAggregation"
292
- };
293
- var AmazonOpenSearchServerlessS3BackupMode = {
294
- AllDocuments: "AllDocuments",
295
- FailedDocumentsOnly: "FailedDocumentsOnly"
296
- };
297
- var CompressionFormat = {
298
- GZIP: "GZIP",
299
- HADOOP_SNAPPY: "HADOOP_SNAPPY",
300
- SNAPPY: "Snappy",
301
- UNCOMPRESSED: "UNCOMPRESSED",
302
- ZIP: "ZIP"
303
- };
304
- var NoEncryptionConfig = {
305
- NoEncryption: "NoEncryption"
306
- };
307
- var DefaultDocumentIdFormat = {
308
- FIREHOSE_DEFAULT: "FIREHOSE_DEFAULT",
309
- NO_DOCUMENT_ID: "NO_DOCUMENT_ID"
310
- };
311
- var AmazonopensearchserviceIndexRotationPeriod = {
312
- NoRotation: "NoRotation",
313
- OneDay: "OneDay",
314
- OneHour: "OneHour",
315
- OneMonth: "OneMonth",
316
- OneWeek: "OneWeek"
317
- };
318
- var AmazonopensearchserviceS3BackupMode = {
319
- AllDocuments: "AllDocuments",
320
- FailedDocumentsOnly: "FailedDocumentsOnly"
321
- };
322
- var Connectivity = {
323
- PRIVATE: "PRIVATE",
324
- PUBLIC: "PUBLIC"
325
- };
326
- var ConcurrentModificationException = class _ConcurrentModificationException extends FirehoseServiceException {
327
- static {
328
- __name(this, "ConcurrentModificationException");
329
- }
330
- name = "ConcurrentModificationException";
331
- $fault = "client";
332
- /**
333
- * @internal
334
- */
335
- constructor(opts) {
336
- super({
337
- name: "ConcurrentModificationException",
338
- $fault: "client",
339
- ...opts
565
+ const se_CreateDeliveryStreamCommand = async (input, context) => {
566
+ const headers = sharedHeaders("CreateDeliveryStream");
567
+ let body;
568
+ body = JSON.stringify(se_CreateDeliveryStreamInput(input));
569
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
+ };
571
+ const se_DeleteDeliveryStreamCommand = async (input, context) => {
572
+ const headers = sharedHeaders("DeleteDeliveryStream");
573
+ let body;
574
+ body = JSON.stringify(smithyClient._json(input));
575
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
576
+ };
577
+ const se_DescribeDeliveryStreamCommand = async (input, context) => {
578
+ const headers = sharedHeaders("DescribeDeliveryStream");
579
+ let body;
580
+ body = JSON.stringify(smithyClient._json(input));
581
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
582
+ };
583
+ const se_ListDeliveryStreamsCommand = async (input, context) => {
584
+ const headers = sharedHeaders("ListDeliveryStreams");
585
+ let body;
586
+ body = JSON.stringify(smithyClient._json(input));
587
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
588
+ };
589
+ const se_ListTagsForDeliveryStreamCommand = async (input, context) => {
590
+ const headers = sharedHeaders("ListTagsForDeliveryStream");
591
+ let body;
592
+ body = JSON.stringify(smithyClient._json(input));
593
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
594
+ };
595
+ const se_PutRecordCommand = async (input, context) => {
596
+ const headers = sharedHeaders("PutRecord");
597
+ let body;
598
+ body = JSON.stringify(se_PutRecordInput(input, context));
599
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
600
+ };
601
+ const se_PutRecordBatchCommand = async (input, context) => {
602
+ const headers = sharedHeaders("PutRecordBatch");
603
+ let body;
604
+ body = JSON.stringify(se_PutRecordBatchInput(input, context));
605
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
606
+ };
607
+ const se_StartDeliveryStreamEncryptionCommand = async (input, context) => {
608
+ const headers = sharedHeaders("StartDeliveryStreamEncryption");
609
+ let body;
610
+ body = JSON.stringify(smithyClient._json(input));
611
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
612
+ };
613
+ const se_StopDeliveryStreamEncryptionCommand = async (input, context) => {
614
+ const headers = sharedHeaders("StopDeliveryStreamEncryption");
615
+ let body;
616
+ body = JSON.stringify(smithyClient._json(input));
617
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
618
+ };
619
+ const se_TagDeliveryStreamCommand = async (input, context) => {
620
+ const headers = sharedHeaders("TagDeliveryStream");
621
+ let body;
622
+ body = JSON.stringify(smithyClient._json(input));
623
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
624
+ };
625
+ const se_UntagDeliveryStreamCommand = async (input, context) => {
626
+ const headers = sharedHeaders("UntagDeliveryStream");
627
+ let body;
628
+ body = JSON.stringify(smithyClient._json(input));
629
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
630
+ };
631
+ const se_UpdateDestinationCommand = async (input, context) => {
632
+ const headers = sharedHeaders("UpdateDestination");
633
+ let body;
634
+ body = JSON.stringify(se_UpdateDestinationInput(input));
635
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
636
+ };
637
+ const de_CreateDeliveryStreamCommand = async (output, context) => {
638
+ if (output.statusCode >= 300) {
639
+ return de_CommandError(output, context);
640
+ }
641
+ const data = await core$1.parseJsonBody(output.body, context);
642
+ let contents = {};
643
+ contents = smithyClient._json(data);
644
+ const response = {
645
+ $metadata: deserializeMetadata(output),
646
+ ...contents,
647
+ };
648
+ return response;
649
+ };
650
+ const de_DeleteDeliveryStreamCommand = async (output, context) => {
651
+ if (output.statusCode >= 300) {
652
+ return de_CommandError(output, context);
653
+ }
654
+ const data = await core$1.parseJsonBody(output.body, context);
655
+ let contents = {};
656
+ contents = smithyClient._json(data);
657
+ const response = {
658
+ $metadata: deserializeMetadata(output),
659
+ ...contents,
660
+ };
661
+ return response;
662
+ };
663
+ const de_DescribeDeliveryStreamCommand = async (output, context) => {
664
+ if (output.statusCode >= 300) {
665
+ return de_CommandError(output, context);
666
+ }
667
+ const data = await core$1.parseJsonBody(output.body, context);
668
+ let contents = {};
669
+ contents = de_DescribeDeliveryStreamOutput(data);
670
+ const response = {
671
+ $metadata: deserializeMetadata(output),
672
+ ...contents,
673
+ };
674
+ return response;
675
+ };
676
+ const de_ListDeliveryStreamsCommand = async (output, context) => {
677
+ if (output.statusCode >= 300) {
678
+ return de_CommandError(output, context);
679
+ }
680
+ const data = await core$1.parseJsonBody(output.body, context);
681
+ let contents = {};
682
+ contents = smithyClient._json(data);
683
+ const response = {
684
+ $metadata: deserializeMetadata(output),
685
+ ...contents,
686
+ };
687
+ return response;
688
+ };
689
+ const de_ListTagsForDeliveryStreamCommand = async (output, context) => {
690
+ if (output.statusCode >= 300) {
691
+ return de_CommandError(output, context);
692
+ }
693
+ const data = await core$1.parseJsonBody(output.body, context);
694
+ let contents = {};
695
+ contents = smithyClient._json(data);
696
+ const response = {
697
+ $metadata: deserializeMetadata(output),
698
+ ...contents,
699
+ };
700
+ return response;
701
+ };
702
+ const de_PutRecordCommand = async (output, context) => {
703
+ if (output.statusCode >= 300) {
704
+ return de_CommandError(output, context);
705
+ }
706
+ const data = await core$1.parseJsonBody(output.body, context);
707
+ let contents = {};
708
+ contents = smithyClient._json(data);
709
+ const response = {
710
+ $metadata: deserializeMetadata(output),
711
+ ...contents,
712
+ };
713
+ return response;
714
+ };
715
+ const de_PutRecordBatchCommand = async (output, context) => {
716
+ if (output.statusCode >= 300) {
717
+ return de_CommandError(output, context);
718
+ }
719
+ const data = await core$1.parseJsonBody(output.body, context);
720
+ let contents = {};
721
+ contents = smithyClient._json(data);
722
+ const response = {
723
+ $metadata: deserializeMetadata(output),
724
+ ...contents,
725
+ };
726
+ return response;
727
+ };
728
+ const de_StartDeliveryStreamEncryptionCommand = async (output, context) => {
729
+ if (output.statusCode >= 300) {
730
+ return de_CommandError(output, context);
731
+ }
732
+ const data = await core$1.parseJsonBody(output.body, context);
733
+ let contents = {};
734
+ contents = smithyClient._json(data);
735
+ const response = {
736
+ $metadata: deserializeMetadata(output),
737
+ ...contents,
738
+ };
739
+ return response;
740
+ };
741
+ const de_StopDeliveryStreamEncryptionCommand = async (output, context) => {
742
+ if (output.statusCode >= 300) {
743
+ return de_CommandError(output, context);
744
+ }
745
+ const data = await core$1.parseJsonBody(output.body, context);
746
+ let contents = {};
747
+ contents = smithyClient._json(data);
748
+ const response = {
749
+ $metadata: deserializeMetadata(output),
750
+ ...contents,
751
+ };
752
+ return response;
753
+ };
754
+ const de_TagDeliveryStreamCommand = async (output, context) => {
755
+ if (output.statusCode >= 300) {
756
+ return de_CommandError(output, context);
757
+ }
758
+ const data = await core$1.parseJsonBody(output.body, context);
759
+ let contents = {};
760
+ contents = smithyClient._json(data);
761
+ const response = {
762
+ $metadata: deserializeMetadata(output),
763
+ ...contents,
764
+ };
765
+ return response;
766
+ };
767
+ const de_UntagDeliveryStreamCommand = async (output, context) => {
768
+ if (output.statusCode >= 300) {
769
+ return de_CommandError(output, context);
770
+ }
771
+ const data = await core$1.parseJsonBody(output.body, context);
772
+ let contents = {};
773
+ contents = smithyClient._json(data);
774
+ const response = {
775
+ $metadata: deserializeMetadata(output),
776
+ ...contents,
777
+ };
778
+ return response;
779
+ };
780
+ const de_UpdateDestinationCommand = async (output, context) => {
781
+ if (output.statusCode >= 300) {
782
+ return de_CommandError(output, context);
783
+ }
784
+ const data = await core$1.parseJsonBody(output.body, context);
785
+ let contents = {};
786
+ contents = smithyClient._json(data);
787
+ const response = {
788
+ $metadata: deserializeMetadata(output),
789
+ ...contents,
790
+ };
791
+ return response;
792
+ };
793
+ const de_CommandError = async (output, context) => {
794
+ const parsedOutput = {
795
+ ...output,
796
+ body: await core$1.parseJsonErrorBody(output.body, context),
797
+ };
798
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
799
+ switch (errorCode) {
800
+ case "InvalidArgumentException":
801
+ case "com.amazonaws.firehose#InvalidArgumentException":
802
+ throw await de_InvalidArgumentExceptionRes(parsedOutput);
803
+ case "InvalidKMSResourceException":
804
+ case "com.amazonaws.firehose#InvalidKMSResourceException":
805
+ throw await de_InvalidKMSResourceExceptionRes(parsedOutput);
806
+ case "LimitExceededException":
807
+ case "com.amazonaws.firehose#LimitExceededException":
808
+ throw await de_LimitExceededExceptionRes(parsedOutput);
809
+ case "ResourceInUseException":
810
+ case "com.amazonaws.firehose#ResourceInUseException":
811
+ throw await de_ResourceInUseExceptionRes(parsedOutput);
812
+ case "ResourceNotFoundException":
813
+ case "com.amazonaws.firehose#ResourceNotFoundException":
814
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
815
+ case "InvalidSourceException":
816
+ case "com.amazonaws.firehose#InvalidSourceException":
817
+ throw await de_InvalidSourceExceptionRes(parsedOutput);
818
+ case "ServiceUnavailableException":
819
+ case "com.amazonaws.firehose#ServiceUnavailableException":
820
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput);
821
+ case "ConcurrentModificationException":
822
+ case "com.amazonaws.firehose#ConcurrentModificationException":
823
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput);
824
+ default:
825
+ const parsedBody = parsedOutput.body;
826
+ return throwDefaultError({
827
+ output,
828
+ parsedBody,
829
+ errorCode,
830
+ });
831
+ }
832
+ };
833
+ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
834
+ const body = parsedOutput.body;
835
+ const deserialized = smithyClient._json(body);
836
+ const exception = new ConcurrentModificationException({
837
+ $metadata: deserializeMetadata(parsedOutput),
838
+ ...deserialized,
340
839
  });
341
- Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
342
- }
343
- };
344
- var ContentEncoding = {
345
- GZIP: "GZIP",
346
- NONE: "NONE"
347
- };
348
- var SSLMode = {
349
- Disabled: "Disabled",
350
- Enabled: "Enabled"
351
- };
352
- var DatabaseType = {
353
- MySQL: "MySQL",
354
- PostgreSQL: "PostgreSQL"
355
- };
356
- var KeyType = {
357
- AWS_OWNED_CMK: "AWS_OWNED_CMK",
358
- CUSTOMER_MANAGED_CMK: "CUSTOMER_MANAGED_CMK"
359
- };
360
- var DeliveryStreamType = {
361
- DatabaseAsSource: "DatabaseAsSource",
362
- DirectPut: "DirectPut",
363
- KinesisStreamAsSource: "KinesisStreamAsSource",
364
- MSKAsSource: "MSKAsSource"
365
- };
366
- var ElasticsearchIndexRotationPeriod = {
367
- NoRotation: "NoRotation",
368
- OneDay: "OneDay",
369
- OneHour: "OneHour",
370
- OneMonth: "OneMonth",
371
- OneWeek: "OneWeek"
372
- };
373
- var ElasticsearchS3BackupMode = {
374
- AllDocuments: "AllDocuments",
375
- FailedDocumentsOnly: "FailedDocumentsOnly"
376
- };
377
- var OrcCompression = {
378
- NONE: "NONE",
379
- SNAPPY: "SNAPPY",
380
- ZLIB: "ZLIB"
381
- };
382
- var OrcFormatVersion = {
383
- V0_11: "V0_11",
384
- V0_12: "V0_12"
385
- };
386
- var ParquetCompression = {
387
- GZIP: "GZIP",
388
- SNAPPY: "SNAPPY",
389
- UNCOMPRESSED: "UNCOMPRESSED"
390
- };
391
- var ParquetWriterVersion = {
392
- V1: "V1",
393
- V2: "V2"
394
- };
395
- var S3BackupMode = {
396
- Disabled: "Disabled",
397
- Enabled: "Enabled"
398
- };
399
- var HttpEndpointS3BackupMode = {
400
- AllData: "AllData",
401
- FailedDataOnly: "FailedDataOnly"
402
- };
403
- var IcebergS3BackupMode = {
404
- AllData: "AllData",
405
- FailedDataOnly: "FailedDataOnly"
406
- };
407
- var RedshiftS3BackupMode = {
408
- Disabled: "Disabled",
409
- Enabled: "Enabled"
410
- };
411
- var SnowflakeDataLoadingOption = {
412
- JSON_MAPPING: "JSON_MAPPING",
413
- VARIANT_CONTENT_AND_METADATA_MAPPING: "VARIANT_CONTENT_AND_METADATA_MAPPING",
414
- VARIANT_CONTENT_MAPPING: "VARIANT_CONTENT_MAPPING"
415
- };
416
- var SnowflakeS3BackupMode = {
417
- AllData: "AllData",
418
- FailedDataOnly: "FailedDataOnly"
419
- };
420
- var HECEndpointType = {
421
- Event: "Event",
422
- Raw: "Raw"
423
- };
424
- var SplunkS3BackupMode = {
425
- AllEvents: "AllEvents",
426
- FailedEventsOnly: "FailedEventsOnly"
427
- };
428
- var InvalidArgumentException = class _InvalidArgumentException extends FirehoseServiceException {
429
- static {
430
- __name(this, "InvalidArgumentException");
431
- }
432
- name = "InvalidArgumentException";
433
- $fault = "client";
434
- /**
435
- * @internal
436
- */
437
- constructor(opts) {
438
- super({
439
- name: "InvalidArgumentException",
440
- $fault: "client",
441
- ...opts
840
+ return smithyClient.decorateServiceException(exception, body);
841
+ };
842
+ const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
843
+ const body = parsedOutput.body;
844
+ const deserialized = smithyClient._json(body);
845
+ const exception = new InvalidArgumentException({
846
+ $metadata: deserializeMetadata(parsedOutput),
847
+ ...deserialized,
442
848
  });
443
- Object.setPrototypeOf(this, _InvalidArgumentException.prototype);
444
- }
445
- };
446
- var InvalidKMSResourceException = class _InvalidKMSResourceException extends FirehoseServiceException {
447
- static {
448
- __name(this, "InvalidKMSResourceException");
449
- }
450
- name = "InvalidKMSResourceException";
451
- $fault = "client";
452
- code;
453
- /**
454
- * @internal
455
- */
456
- constructor(opts) {
457
- super({
458
- name: "InvalidKMSResourceException",
459
- $fault: "client",
460
- ...opts
849
+ return smithyClient.decorateServiceException(exception, body);
850
+ };
851
+ const de_InvalidKMSResourceExceptionRes = async (parsedOutput, context) => {
852
+ const body = parsedOutput.body;
853
+ const deserialized = smithyClient._json(body);
854
+ const exception = new InvalidKMSResourceException({
855
+ $metadata: deserializeMetadata(parsedOutput),
856
+ ...deserialized,
461
857
  });
462
- Object.setPrototypeOf(this, _InvalidKMSResourceException.prototype);
463
- this.code = opts.code;
464
- }
465
- };
466
- var LimitExceededException = class _LimitExceededException extends FirehoseServiceException {
467
- static {
468
- __name(this, "LimitExceededException");
469
- }
470
- name = "LimitExceededException";
471
- $fault = "client";
472
- /**
473
- * @internal
474
- */
475
- constructor(opts) {
476
- super({
477
- name: "LimitExceededException",
478
- $fault: "client",
479
- ...opts
858
+ return smithyClient.decorateServiceException(exception, body);
859
+ };
860
+ const de_InvalidSourceExceptionRes = async (parsedOutput, context) => {
861
+ const body = parsedOutput.body;
862
+ const deserialized = smithyClient._json(body);
863
+ const exception = new InvalidSourceException({
864
+ $metadata: deserializeMetadata(parsedOutput),
865
+ ...deserialized,
480
866
  });
481
- Object.setPrototypeOf(this, _LimitExceededException.prototype);
482
- }
483
- };
484
- var ResourceInUseException = class _ResourceInUseException extends FirehoseServiceException {
485
- static {
486
- __name(this, "ResourceInUseException");
487
- }
488
- name = "ResourceInUseException";
489
- $fault = "client";
490
- /**
491
- * @internal
492
- */
493
- constructor(opts) {
494
- super({
495
- name: "ResourceInUseException",
496
- $fault: "client",
497
- ...opts
867
+ return smithyClient.decorateServiceException(exception, body);
868
+ };
869
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
870
+ const body = parsedOutput.body;
871
+ const deserialized = smithyClient._json(body);
872
+ const exception = new LimitExceededException({
873
+ $metadata: deserializeMetadata(parsedOutput),
874
+ ...deserialized,
498
875
  });
499
- Object.setPrototypeOf(this, _ResourceInUseException.prototype);
500
- }
501
- };
502
- var DeliveryStreamFailureType = {
503
- CREATE_ENI_FAILED: "CREATE_ENI_FAILED",
504
- CREATE_KMS_GRANT_FAILED: "CREATE_KMS_GRANT_FAILED",
505
- DELETE_ENI_FAILED: "DELETE_ENI_FAILED",
506
- DISABLED_KMS_KEY: "DISABLED_KMS_KEY",
507
- ENI_ACCESS_DENIED: "ENI_ACCESS_DENIED",
508
- INVALID_KMS_KEY: "INVALID_KMS_KEY",
509
- KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
510
- KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
511
- KMS_OPT_IN_REQUIRED: "KMS_OPT_IN_REQUIRED",
512
- RETIRE_KMS_GRANT_FAILED: "RETIRE_KMS_GRANT_FAILED",
513
- SECURITY_GROUP_ACCESS_DENIED: "SECURITY_GROUP_ACCESS_DENIED",
514
- SECURITY_GROUP_NOT_FOUND: "SECURITY_GROUP_NOT_FOUND",
515
- SUBNET_ACCESS_DENIED: "SUBNET_ACCESS_DENIED",
516
- SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND",
517
- UNKNOWN_ERROR: "UNKNOWN_ERROR",
518
- VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND: "VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND",
519
- VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED: "VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED"
520
- };
521
- var SnapshotRequestedBy = {
522
- FIREHOSE: "FIREHOSE",
523
- USER: "USER"
524
- };
525
- var SnapshotStatus = {
526
- COMPLETE: "COMPLETE",
527
- IN_PROGRESS: "IN_PROGRESS",
528
- SUSPENDED: "SUSPENDED"
529
- };
530
- var ResourceNotFoundException = class _ResourceNotFoundException extends FirehoseServiceException {
531
- static {
532
- __name(this, "ResourceNotFoundException");
533
- }
534
- name = "ResourceNotFoundException";
535
- $fault = "client";
536
- /**
537
- * @internal
538
- */
539
- constructor(opts) {
540
- super({
541
- name: "ResourceNotFoundException",
542
- $fault: "client",
543
- ...opts
876
+ return smithyClient.decorateServiceException(exception, body);
877
+ };
878
+ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
879
+ const body = parsedOutput.body;
880
+ const deserialized = smithyClient._json(body);
881
+ const exception = new ResourceInUseException({
882
+ $metadata: deserializeMetadata(parsedOutput),
883
+ ...deserialized,
544
884
  });
545
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
546
- }
547
- };
548
- var DeliveryStreamEncryptionStatus = {
549
- DISABLED: "DISABLED",
550
- DISABLING: "DISABLING",
551
- DISABLING_FAILED: "DISABLING_FAILED",
552
- ENABLED: "ENABLED",
553
- ENABLING: "ENABLING",
554
- ENABLING_FAILED: "ENABLING_FAILED"
555
- };
556
- var DeliveryStreamStatus = {
557
- ACTIVE: "ACTIVE",
558
- CREATING: "CREATING",
559
- CREATING_FAILED: "CREATING_FAILED",
560
- DELETING: "DELETING",
561
- DELETING_FAILED: "DELETING_FAILED"
562
- };
563
- var InvalidSourceException = class _InvalidSourceException extends FirehoseServiceException {
564
- static {
565
- __name(this, "InvalidSourceException");
566
- }
567
- name = "InvalidSourceException";
568
- $fault = "client";
569
- code;
570
- /**
571
- * @internal
572
- */
573
- constructor(opts) {
574
- super({
575
- name: "InvalidSourceException",
576
- $fault: "client",
577
- ...opts
885
+ return smithyClient.decorateServiceException(exception, body);
886
+ };
887
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
888
+ const body = parsedOutput.body;
889
+ const deserialized = smithyClient._json(body);
890
+ const exception = new ResourceNotFoundException({
891
+ $metadata: deserializeMetadata(parsedOutput),
892
+ ...deserialized,
578
893
  });
579
- Object.setPrototypeOf(this, _InvalidSourceException.prototype);
580
- this.code = opts.code;
581
- }
582
- };
583
- var ServiceUnavailableException = class _ServiceUnavailableException extends FirehoseServiceException {
584
- static {
585
- __name(this, "ServiceUnavailableException");
586
- }
587
- name = "ServiceUnavailableException";
588
- $fault = "server";
589
- /**
590
- * @internal
591
- */
592
- constructor(opts) {
593
- super({
594
- name: "ServiceUnavailableException",
595
- $fault: "server",
596
- ...opts
894
+ return smithyClient.decorateServiceException(exception, body);
895
+ };
896
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
897
+ const body = parsedOutput.body;
898
+ const deserialized = smithyClient._json(body);
899
+ const exception = new ServiceUnavailableException({
900
+ $metadata: deserializeMetadata(parsedOutput),
901
+ ...deserialized,
597
902
  });
598
- Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
599
- }
600
- };
601
- var HttpEndpointConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
602
- ...obj,
603
- ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING },
604
- ...obj.AccessKey && { AccessKey: import_smithy_client.SENSITIVE_STRING }
605
- }), "HttpEndpointConfigurationFilterSensitiveLog");
606
- var HttpEndpointCommonAttributeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
607
- ...obj,
608
- ...obj.AttributeName && { AttributeName: import_smithy_client.SENSITIVE_STRING },
609
- ...obj.AttributeValue && { AttributeValue: import_smithy_client.SENSITIVE_STRING }
610
- }), "HttpEndpointCommonAttributeFilterSensitiveLog");
611
- var HttpEndpointRequestConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
612
- ...obj,
613
- ...obj.CommonAttributes && {
614
- CommonAttributes: obj.CommonAttributes.map((item) => HttpEndpointCommonAttributeFilterSensitiveLog(item))
615
- }
616
- }), "HttpEndpointRequestConfigurationFilterSensitiveLog");
617
- var HttpEndpointDestinationConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
618
- ...obj,
619
- ...obj.EndpointConfiguration && {
620
- EndpointConfiguration: HttpEndpointConfigurationFilterSensitiveLog(obj.EndpointConfiguration)
621
- },
622
- ...obj.RequestConfiguration && {
623
- RequestConfiguration: HttpEndpointRequestConfigurationFilterSensitiveLog(obj.RequestConfiguration)
624
- }
625
- }), "HttpEndpointDestinationConfigurationFilterSensitiveLog");
626
- var RedshiftDestinationConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
627
- ...obj,
628
- ...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING },
629
- ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
630
- }), "RedshiftDestinationConfigurationFilterSensitiveLog");
631
- var SnowflakeRoleConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
632
- ...obj,
633
- ...obj.SnowflakeRole && { SnowflakeRole: import_smithy_client.SENSITIVE_STRING }
634
- }), "SnowflakeRoleConfigurationFilterSensitiveLog");
635
- var SnowflakeVpcConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
636
- ...obj,
637
- ...obj.PrivateLinkVpceId && { PrivateLinkVpceId: import_smithy_client.SENSITIVE_STRING }
638
- }), "SnowflakeVpcConfigurationFilterSensitiveLog");
639
- var SnowflakeDestinationConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
640
- ...obj,
641
- ...obj.AccountUrl && { AccountUrl: import_smithy_client.SENSITIVE_STRING },
642
- ...obj.PrivateKey && { PrivateKey: import_smithy_client.SENSITIVE_STRING },
643
- ...obj.KeyPassphrase && { KeyPassphrase: import_smithy_client.SENSITIVE_STRING },
644
- ...obj.User && { User: import_smithy_client.SENSITIVE_STRING },
645
- ...obj.Database && { Database: import_smithy_client.SENSITIVE_STRING },
646
- ...obj.Schema && { Schema: import_smithy_client.SENSITIVE_STRING },
647
- ...obj.Table && { Table: import_smithy_client.SENSITIVE_STRING },
648
- ...obj.SnowflakeRoleConfiguration && {
649
- SnowflakeRoleConfiguration: SnowflakeRoleConfigurationFilterSensitiveLog(obj.SnowflakeRoleConfiguration)
650
- },
651
- ...obj.MetaDataColumnName && { MetaDataColumnName: import_smithy_client.SENSITIVE_STRING },
652
- ...obj.ContentColumnName && { ContentColumnName: import_smithy_client.SENSITIVE_STRING },
653
- ...obj.SnowflakeVpcConfiguration && {
654
- SnowflakeVpcConfiguration: SnowflakeVpcConfigurationFilterSensitiveLog(obj.SnowflakeVpcConfiguration)
655
- }
656
- }), "SnowflakeDestinationConfigurationFilterSensitiveLog");
657
- var CreateDeliveryStreamInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
658
- ...obj,
659
- ...obj.RedshiftDestinationConfiguration && {
660
- RedshiftDestinationConfiguration: RedshiftDestinationConfigurationFilterSensitiveLog(
661
- obj.RedshiftDestinationConfiguration
662
- )
663
- },
664
- ...obj.HttpEndpointDestinationConfiguration && {
665
- HttpEndpointDestinationConfiguration: HttpEndpointDestinationConfigurationFilterSensitiveLog(
666
- obj.HttpEndpointDestinationConfiguration
667
- )
668
- },
669
- ...obj.SnowflakeDestinationConfiguration && {
670
- SnowflakeDestinationConfiguration: SnowflakeDestinationConfigurationFilterSensitiveLog(
671
- obj.SnowflakeDestinationConfiguration
672
- )
673
- }
674
- }), "CreateDeliveryStreamInputFilterSensitiveLog");
675
- var HttpEndpointDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
676
- ...obj,
677
- ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }
678
- }), "HttpEndpointDescriptionFilterSensitiveLog");
679
- var HttpEndpointDestinationDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
680
- ...obj,
681
- ...obj.EndpointConfiguration && {
682
- EndpointConfiguration: HttpEndpointDescriptionFilterSensitiveLog(obj.EndpointConfiguration)
683
- },
684
- ...obj.RequestConfiguration && {
685
- RequestConfiguration: HttpEndpointRequestConfigurationFilterSensitiveLog(obj.RequestConfiguration)
686
- }
687
- }), "HttpEndpointDestinationDescriptionFilterSensitiveLog");
688
- var RedshiftDestinationDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
689
- ...obj,
690
- ...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING }
691
- }), "RedshiftDestinationDescriptionFilterSensitiveLog");
692
- var SnowflakeDestinationDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
693
- ...obj,
694
- ...obj.AccountUrl && { AccountUrl: import_smithy_client.SENSITIVE_STRING },
695
- ...obj.User && { User: import_smithy_client.SENSITIVE_STRING },
696
- ...obj.Database && { Database: import_smithy_client.SENSITIVE_STRING },
697
- ...obj.Schema && { Schema: import_smithy_client.SENSITIVE_STRING },
698
- ...obj.Table && { Table: import_smithy_client.SENSITIVE_STRING },
699
- ...obj.SnowflakeRoleConfiguration && {
700
- SnowflakeRoleConfiguration: SnowflakeRoleConfigurationFilterSensitiveLog(obj.SnowflakeRoleConfiguration)
701
- },
702
- ...obj.MetaDataColumnName && { MetaDataColumnName: import_smithy_client.SENSITIVE_STRING },
703
- ...obj.ContentColumnName && { ContentColumnName: import_smithy_client.SENSITIVE_STRING },
704
- ...obj.SnowflakeVpcConfiguration && {
705
- SnowflakeVpcConfiguration: SnowflakeVpcConfigurationFilterSensitiveLog(obj.SnowflakeVpcConfiguration)
706
- }
707
- }), "SnowflakeDestinationDescriptionFilterSensitiveLog");
708
- var DestinationDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
709
- ...obj,
710
- ...obj.RedshiftDestinationDescription && {
711
- RedshiftDestinationDescription: RedshiftDestinationDescriptionFilterSensitiveLog(
712
- obj.RedshiftDestinationDescription
713
- )
714
- },
715
- ...obj.HttpEndpointDestinationDescription && {
716
- HttpEndpointDestinationDescription: HttpEndpointDestinationDescriptionFilterSensitiveLog(
717
- obj.HttpEndpointDestinationDescription
718
- )
719
- },
720
- ...obj.SnowflakeDestinationDescription && {
721
- SnowflakeDestinationDescription: SnowflakeDestinationDescriptionFilterSensitiveLog(
722
- obj.SnowflakeDestinationDescription
723
- )
724
- }
725
- }), "DestinationDescriptionFilterSensitiveLog");
726
- var DeliveryStreamDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
727
- ...obj,
728
- ...obj.Destinations && {
729
- Destinations: obj.Destinations.map((item) => DestinationDescriptionFilterSensitiveLog(item))
730
- }
731
- }), "DeliveryStreamDescriptionFilterSensitiveLog");
732
- var DescribeDeliveryStreamOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
733
- ...obj
734
- }), "DescribeDeliveryStreamOutputFilterSensitiveLog");
735
- var HttpEndpointDestinationUpdateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
736
- ...obj,
737
- ...obj.EndpointConfiguration && {
738
- EndpointConfiguration: HttpEndpointConfigurationFilterSensitiveLog(obj.EndpointConfiguration)
739
- },
740
- ...obj.RequestConfiguration && {
741
- RequestConfiguration: HttpEndpointRequestConfigurationFilterSensitiveLog(obj.RequestConfiguration)
742
- }
743
- }), "HttpEndpointDestinationUpdateFilterSensitiveLog");
744
- var RedshiftDestinationUpdateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
745
- ...obj,
746
- ...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING },
747
- ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
748
- }), "RedshiftDestinationUpdateFilterSensitiveLog");
749
- var SnowflakeDestinationUpdateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
750
- ...obj,
751
- ...obj.AccountUrl && { AccountUrl: import_smithy_client.SENSITIVE_STRING },
752
- ...obj.PrivateKey && { PrivateKey: import_smithy_client.SENSITIVE_STRING },
753
- ...obj.KeyPassphrase && { KeyPassphrase: import_smithy_client.SENSITIVE_STRING },
754
- ...obj.User && { User: import_smithy_client.SENSITIVE_STRING },
755
- ...obj.Database && { Database: import_smithy_client.SENSITIVE_STRING },
756
- ...obj.Schema && { Schema: import_smithy_client.SENSITIVE_STRING },
757
- ...obj.Table && { Table: import_smithy_client.SENSITIVE_STRING },
758
- ...obj.SnowflakeRoleConfiguration && {
759
- SnowflakeRoleConfiguration: SnowflakeRoleConfigurationFilterSensitiveLog(obj.SnowflakeRoleConfiguration)
760
- },
761
- ...obj.MetaDataColumnName && { MetaDataColumnName: import_smithy_client.SENSITIVE_STRING },
762
- ...obj.ContentColumnName && { ContentColumnName: import_smithy_client.SENSITIVE_STRING }
763
- }), "SnowflakeDestinationUpdateFilterSensitiveLog");
764
- var UpdateDestinationInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
765
- ...obj,
766
- ...obj.RedshiftDestinationUpdate && {
767
- RedshiftDestinationUpdate: RedshiftDestinationUpdateFilterSensitiveLog(obj.RedshiftDestinationUpdate)
768
- },
769
- ...obj.HttpEndpointDestinationUpdate && {
770
- HttpEndpointDestinationUpdate: HttpEndpointDestinationUpdateFilterSensitiveLog(obj.HttpEndpointDestinationUpdate)
771
- },
772
- ...obj.SnowflakeDestinationUpdate && {
773
- SnowflakeDestinationUpdate: SnowflakeDestinationUpdateFilterSensitiveLog(obj.SnowflakeDestinationUpdate)
774
- }
775
- }), "UpdateDestinationInputFilterSensitiveLog");
776
-
777
- // src/protocols/Aws_json1_1.ts
778
- var import_core2 = require("@aws-sdk/core");
779
-
780
-
781
- var se_CreateDeliveryStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
782
- const headers = sharedHeaders("CreateDeliveryStream");
783
- let body;
784
- body = JSON.stringify(se_CreateDeliveryStreamInput(input, context));
785
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
786
- }, "se_CreateDeliveryStreamCommand");
787
- var se_DeleteDeliveryStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
788
- const headers = sharedHeaders("DeleteDeliveryStream");
789
- let body;
790
- body = JSON.stringify((0, import_smithy_client._json)(input));
791
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
792
- }, "se_DeleteDeliveryStreamCommand");
793
- var se_DescribeDeliveryStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
794
- const headers = sharedHeaders("DescribeDeliveryStream");
795
- let body;
796
- body = JSON.stringify((0, import_smithy_client._json)(input));
797
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
798
- }, "se_DescribeDeliveryStreamCommand");
799
- var se_ListDeliveryStreamsCommand = /* @__PURE__ */ __name(async (input, context) => {
800
- const headers = sharedHeaders("ListDeliveryStreams");
801
- let body;
802
- body = JSON.stringify((0, import_smithy_client._json)(input));
803
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
804
- }, "se_ListDeliveryStreamsCommand");
805
- var se_ListTagsForDeliveryStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
806
- const headers = sharedHeaders("ListTagsForDeliveryStream");
807
- let body;
808
- body = JSON.stringify((0, import_smithy_client._json)(input));
809
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
810
- }, "se_ListTagsForDeliveryStreamCommand");
811
- var se_PutRecordCommand = /* @__PURE__ */ __name(async (input, context) => {
812
- const headers = sharedHeaders("PutRecord");
813
- let body;
814
- body = JSON.stringify(se_PutRecordInput(input, context));
815
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
816
- }, "se_PutRecordCommand");
817
- var se_PutRecordBatchCommand = /* @__PURE__ */ __name(async (input, context) => {
818
- const headers = sharedHeaders("PutRecordBatch");
819
- let body;
820
- body = JSON.stringify(se_PutRecordBatchInput(input, context));
821
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
822
- }, "se_PutRecordBatchCommand");
823
- var se_StartDeliveryStreamEncryptionCommand = /* @__PURE__ */ __name(async (input, context) => {
824
- const headers = sharedHeaders("StartDeliveryStreamEncryption");
825
- let body;
826
- body = JSON.stringify((0, import_smithy_client._json)(input));
827
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
828
- }, "se_StartDeliveryStreamEncryptionCommand");
829
- var se_StopDeliveryStreamEncryptionCommand = /* @__PURE__ */ __name(async (input, context) => {
830
- const headers = sharedHeaders("StopDeliveryStreamEncryption");
831
- let body;
832
- body = JSON.stringify((0, import_smithy_client._json)(input));
833
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
834
- }, "se_StopDeliveryStreamEncryptionCommand");
835
- var se_TagDeliveryStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
836
- const headers = sharedHeaders("TagDeliveryStream");
837
- let body;
838
- body = JSON.stringify((0, import_smithy_client._json)(input));
839
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
840
- }, "se_TagDeliveryStreamCommand");
841
- var se_UntagDeliveryStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
842
- const headers = sharedHeaders("UntagDeliveryStream");
843
- let body;
844
- body = JSON.stringify((0, import_smithy_client._json)(input));
845
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
846
- }, "se_UntagDeliveryStreamCommand");
847
- var se_UpdateDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
848
- const headers = sharedHeaders("UpdateDestination");
849
- let body;
850
- body = JSON.stringify(se_UpdateDestinationInput(input, context));
851
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
852
- }, "se_UpdateDestinationCommand");
853
- var de_CreateDeliveryStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
854
- if (output.statusCode >= 300) {
855
- return de_CommandError(output, context);
856
- }
857
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
858
- let contents = {};
859
- contents = (0, import_smithy_client._json)(data);
860
- const response = {
861
- $metadata: deserializeMetadata(output),
862
- ...contents
863
- };
864
- return response;
865
- }, "de_CreateDeliveryStreamCommand");
866
- var de_DeleteDeliveryStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
867
- if (output.statusCode >= 300) {
868
- return de_CommandError(output, context);
869
- }
870
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
871
- let contents = {};
872
- contents = (0, import_smithy_client._json)(data);
873
- const response = {
874
- $metadata: deserializeMetadata(output),
875
- ...contents
876
- };
877
- return response;
878
- }, "de_DeleteDeliveryStreamCommand");
879
- var de_DescribeDeliveryStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
880
- if (output.statusCode >= 300) {
881
- return de_CommandError(output, context);
882
- }
883
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
884
- let contents = {};
885
- contents = de_DescribeDeliveryStreamOutput(data, context);
886
- const response = {
887
- $metadata: deserializeMetadata(output),
888
- ...contents
889
- };
890
- return response;
891
- }, "de_DescribeDeliveryStreamCommand");
892
- var de_ListDeliveryStreamsCommand = /* @__PURE__ */ __name(async (output, context) => {
893
- if (output.statusCode >= 300) {
894
- return de_CommandError(output, context);
895
- }
896
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
897
- let contents = {};
898
- contents = (0, import_smithy_client._json)(data);
899
- const response = {
900
- $metadata: deserializeMetadata(output),
901
- ...contents
902
- };
903
- return response;
904
- }, "de_ListDeliveryStreamsCommand");
905
- var de_ListTagsForDeliveryStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
906
- if (output.statusCode >= 300) {
907
- return de_CommandError(output, context);
908
- }
909
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
910
- let contents = {};
911
- contents = (0, import_smithy_client._json)(data);
912
- const response = {
913
- $metadata: deserializeMetadata(output),
914
- ...contents
915
- };
916
- return response;
917
- }, "de_ListTagsForDeliveryStreamCommand");
918
- var de_PutRecordCommand = /* @__PURE__ */ __name(async (output, context) => {
919
- if (output.statusCode >= 300) {
920
- return de_CommandError(output, context);
921
- }
922
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
923
- let contents = {};
924
- contents = (0, import_smithy_client._json)(data);
925
- const response = {
926
- $metadata: deserializeMetadata(output),
927
- ...contents
928
- };
929
- return response;
930
- }, "de_PutRecordCommand");
931
- var de_PutRecordBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
932
- if (output.statusCode >= 300) {
933
- return de_CommandError(output, context);
934
- }
935
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
936
- let contents = {};
937
- contents = (0, import_smithy_client._json)(data);
938
- const response = {
939
- $metadata: deserializeMetadata(output),
940
- ...contents
941
- };
942
- return response;
943
- }, "de_PutRecordBatchCommand");
944
- var de_StartDeliveryStreamEncryptionCommand = /* @__PURE__ */ __name(async (output, context) => {
945
- if (output.statusCode >= 300) {
946
- return de_CommandError(output, context);
947
- }
948
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
949
- let contents = {};
950
- contents = (0, import_smithy_client._json)(data);
951
- const response = {
952
- $metadata: deserializeMetadata(output),
953
- ...contents
954
- };
955
- return response;
956
- }, "de_StartDeliveryStreamEncryptionCommand");
957
- var de_StopDeliveryStreamEncryptionCommand = /* @__PURE__ */ __name(async (output, context) => {
958
- if (output.statusCode >= 300) {
959
- return de_CommandError(output, context);
960
- }
961
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
962
- let contents = {};
963
- contents = (0, import_smithy_client._json)(data);
964
- const response = {
965
- $metadata: deserializeMetadata(output),
966
- ...contents
967
- };
968
- return response;
969
- }, "de_StopDeliveryStreamEncryptionCommand");
970
- var de_TagDeliveryStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
971
- if (output.statusCode >= 300) {
972
- return de_CommandError(output, context);
973
- }
974
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
975
- let contents = {};
976
- contents = (0, import_smithy_client._json)(data);
977
- const response = {
978
- $metadata: deserializeMetadata(output),
979
- ...contents
980
- };
981
- return response;
982
- }, "de_TagDeliveryStreamCommand");
983
- var de_UntagDeliveryStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
984
- if (output.statusCode >= 300) {
985
- return de_CommandError(output, context);
986
- }
987
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
988
- let contents = {};
989
- contents = (0, import_smithy_client._json)(data);
990
- const response = {
991
- $metadata: deserializeMetadata(output),
992
- ...contents
993
- };
994
- return response;
995
- }, "de_UntagDeliveryStreamCommand");
996
- var de_UpdateDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
997
- if (output.statusCode >= 300) {
998
- return de_CommandError(output, context);
999
- }
1000
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1001
- let contents = {};
1002
- contents = (0, import_smithy_client._json)(data);
1003
- const response = {
1004
- $metadata: deserializeMetadata(output),
1005
- ...contents
1006
- };
1007
- return response;
1008
- }, "de_UpdateDestinationCommand");
1009
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1010
- const parsedOutput = {
1011
- ...output,
1012
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1013
- };
1014
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1015
- switch (errorCode) {
1016
- case "InvalidArgumentException":
1017
- case "com.amazonaws.firehose#InvalidArgumentException":
1018
- throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
1019
- case "InvalidKMSResourceException":
1020
- case "com.amazonaws.firehose#InvalidKMSResourceException":
1021
- throw await de_InvalidKMSResourceExceptionRes(parsedOutput, context);
1022
- case "LimitExceededException":
1023
- case "com.amazonaws.firehose#LimitExceededException":
1024
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1025
- case "ResourceInUseException":
1026
- case "com.amazonaws.firehose#ResourceInUseException":
1027
- throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1028
- case "ResourceNotFoundException":
1029
- case "com.amazonaws.firehose#ResourceNotFoundException":
1030
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1031
- case "InvalidSourceException":
1032
- case "com.amazonaws.firehose#InvalidSourceException":
1033
- throw await de_InvalidSourceExceptionRes(parsedOutput, context);
1034
- case "ServiceUnavailableException":
1035
- case "com.amazonaws.firehose#ServiceUnavailableException":
1036
- throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1037
- case "ConcurrentModificationException":
1038
- case "com.amazonaws.firehose#ConcurrentModificationException":
1039
- throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1040
- default:
1041
- const parsedBody = parsedOutput.body;
1042
- return throwDefaultError({
1043
- output,
1044
- parsedBody,
1045
- errorCode
1046
- });
1047
- }
1048
- }, "de_CommandError");
1049
- var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1050
- const body = parsedOutput.body;
1051
- const deserialized = (0, import_smithy_client._json)(body);
1052
- const exception = new ConcurrentModificationException({
1053
- $metadata: deserializeMetadata(parsedOutput),
1054
- ...deserialized
1055
- });
1056
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1057
- }, "de_ConcurrentModificationExceptionRes");
1058
- var de_InvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1059
- const body = parsedOutput.body;
1060
- const deserialized = (0, import_smithy_client._json)(body);
1061
- const exception = new InvalidArgumentException({
1062
- $metadata: deserializeMetadata(parsedOutput),
1063
- ...deserialized
1064
- });
1065
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1066
- }, "de_InvalidArgumentExceptionRes");
1067
- var de_InvalidKMSResourceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1068
- const body = parsedOutput.body;
1069
- const deserialized = (0, import_smithy_client._json)(body);
1070
- const exception = new InvalidKMSResourceException({
1071
- $metadata: deserializeMetadata(parsedOutput),
1072
- ...deserialized
1073
- });
1074
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1075
- }, "de_InvalidKMSResourceExceptionRes");
1076
- var de_InvalidSourceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1077
- const body = parsedOutput.body;
1078
- const deserialized = (0, import_smithy_client._json)(body);
1079
- const exception = new InvalidSourceException({
1080
- $metadata: deserializeMetadata(parsedOutput),
1081
- ...deserialized
1082
- });
1083
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1084
- }, "de_InvalidSourceExceptionRes");
1085
- var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1086
- const body = parsedOutput.body;
1087
- const deserialized = (0, import_smithy_client._json)(body);
1088
- const exception = new LimitExceededException({
1089
- $metadata: deserializeMetadata(parsedOutput),
1090
- ...deserialized
1091
- });
1092
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1093
- }, "de_LimitExceededExceptionRes");
1094
- var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1095
- const body = parsedOutput.body;
1096
- const deserialized = (0, import_smithy_client._json)(body);
1097
- const exception = new ResourceInUseException({
1098
- $metadata: deserializeMetadata(parsedOutput),
1099
- ...deserialized
1100
- });
1101
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1102
- }, "de_ResourceInUseExceptionRes");
1103
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1104
- const body = parsedOutput.body;
1105
- const deserialized = (0, import_smithy_client._json)(body);
1106
- const exception = new ResourceNotFoundException({
1107
- $metadata: deserializeMetadata(parsedOutput),
1108
- ...deserialized
1109
- });
1110
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1111
- }, "de_ResourceNotFoundExceptionRes");
1112
- var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1113
- const body = parsedOutput.body;
1114
- const deserialized = (0, import_smithy_client._json)(body);
1115
- const exception = new ServiceUnavailableException({
1116
- $metadata: deserializeMetadata(parsedOutput),
1117
- ...deserialized
1118
- });
1119
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1120
- }, "de_ServiceUnavailableExceptionRes");
1121
- var se_CreateDeliveryStreamInput = /* @__PURE__ */ __name((input, context) => {
1122
- return (0, import_smithy_client.take)(input, {
1123
- AmazonOpenSearchServerlessDestinationConfiguration: import_smithy_client._json,
1124
- AmazonopensearchserviceDestinationConfiguration: import_smithy_client._json,
1125
- DatabaseSourceConfiguration: import_smithy_client._json,
1126
- DeliveryStreamEncryptionConfigurationInput: import_smithy_client._json,
1127
- DeliveryStreamName: [],
1128
- DeliveryStreamType: [],
1129
- DirectPutSourceConfiguration: import_smithy_client._json,
1130
- ElasticsearchDestinationConfiguration: import_smithy_client._json,
1131
- ExtendedS3DestinationConfiguration: /* @__PURE__ */ __name((_) => se_ExtendedS3DestinationConfiguration(_, context), "ExtendedS3DestinationConfiguration"),
1132
- HttpEndpointDestinationConfiguration: import_smithy_client._json,
1133
- IcebergDestinationConfiguration: import_smithy_client._json,
1134
- KinesisStreamSourceConfiguration: import_smithy_client._json,
1135
- MSKSourceConfiguration: /* @__PURE__ */ __name((_) => se_MSKSourceConfiguration(_, context), "MSKSourceConfiguration"),
1136
- RedshiftDestinationConfiguration: import_smithy_client._json,
1137
- S3DestinationConfiguration: import_smithy_client._json,
1138
- SnowflakeDestinationConfiguration: import_smithy_client._json,
1139
- SplunkDestinationConfiguration: import_smithy_client._json,
1140
- Tags: import_smithy_client._json
1141
- });
1142
- }, "se_CreateDeliveryStreamInput");
1143
- var se_DataFormatConversionConfiguration = /* @__PURE__ */ __name((input, context) => {
1144
- return (0, import_smithy_client.take)(input, {
1145
- Enabled: [],
1146
- InputFormatConfiguration: import_smithy_client._json,
1147
- OutputFormatConfiguration: /* @__PURE__ */ __name((_) => se_OutputFormatConfiguration(_, context), "OutputFormatConfiguration"),
1148
- SchemaConfiguration: import_smithy_client._json
1149
- });
1150
- }, "se_DataFormatConversionConfiguration");
1151
- var se_ExtendedS3DestinationConfiguration = /* @__PURE__ */ __name((input, context) => {
1152
- return (0, import_smithy_client.take)(input, {
1153
- BucketARN: [],
1154
- BufferingHints: import_smithy_client._json,
1155
- CloudWatchLoggingOptions: import_smithy_client._json,
1156
- CompressionFormat: [],
1157
- CustomTimeZone: [],
1158
- DataFormatConversionConfiguration: /* @__PURE__ */ __name((_) => se_DataFormatConversionConfiguration(_, context), "DataFormatConversionConfiguration"),
1159
- DynamicPartitioningConfiguration: import_smithy_client._json,
1160
- EncryptionConfiguration: import_smithy_client._json,
1161
- ErrorOutputPrefix: [],
1162
- FileExtension: [],
1163
- Prefix: [],
1164
- ProcessingConfiguration: import_smithy_client._json,
1165
- RoleARN: [],
1166
- S3BackupConfiguration: import_smithy_client._json,
1167
- S3BackupMode: []
1168
- });
1169
- }, "se_ExtendedS3DestinationConfiguration");
1170
- var se_ExtendedS3DestinationUpdate = /* @__PURE__ */ __name((input, context) => {
1171
- return (0, import_smithy_client.take)(input, {
1172
- BucketARN: [],
1173
- BufferingHints: import_smithy_client._json,
1174
- CloudWatchLoggingOptions: import_smithy_client._json,
1175
- CompressionFormat: [],
1176
- CustomTimeZone: [],
1177
- DataFormatConversionConfiguration: /* @__PURE__ */ __name((_) => se_DataFormatConversionConfiguration(_, context), "DataFormatConversionConfiguration"),
1178
- DynamicPartitioningConfiguration: import_smithy_client._json,
1179
- EncryptionConfiguration: import_smithy_client._json,
1180
- ErrorOutputPrefix: [],
1181
- FileExtension: [],
1182
- Prefix: [],
1183
- ProcessingConfiguration: import_smithy_client._json,
1184
- RoleARN: [],
1185
- S3BackupMode: [],
1186
- S3BackupUpdate: import_smithy_client._json
1187
- });
1188
- }, "se_ExtendedS3DestinationUpdate");
1189
- var se_MSKSourceConfiguration = /* @__PURE__ */ __name((input, context) => {
1190
- return (0, import_smithy_client.take)(input, {
1191
- AuthenticationConfiguration: import_smithy_client._json,
1192
- MSKClusterARN: [],
1193
- ReadFromTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ReadFromTimestamp"),
1194
- TopicName: []
1195
- });
1196
- }, "se_MSKSourceConfiguration");
1197
- var se_OrcSerDe = /* @__PURE__ */ __name((input, context) => {
1198
- return (0, import_smithy_client.take)(input, {
1199
- BlockSizeBytes: [],
1200
- BloomFilterColumns: import_smithy_client._json,
1201
- BloomFilterFalsePositiveProbability: import_smithy_client.serializeFloat,
1202
- Compression: [],
1203
- DictionaryKeyThreshold: import_smithy_client.serializeFloat,
1204
- EnablePadding: [],
1205
- FormatVersion: [],
1206
- PaddingTolerance: import_smithy_client.serializeFloat,
1207
- RowIndexStride: [],
1208
- StripeSizeBytes: []
1209
- });
1210
- }, "se_OrcSerDe");
1211
- var se_OutputFormatConfiguration = /* @__PURE__ */ __name((input, context) => {
1212
- return (0, import_smithy_client.take)(input, {
1213
- Serializer: /* @__PURE__ */ __name((_) => se_Serializer(_, context), "Serializer")
1214
- });
1215
- }, "se_OutputFormatConfiguration");
1216
- var se_PutRecordBatchInput = /* @__PURE__ */ __name((input, context) => {
1217
- return (0, import_smithy_client.take)(input, {
1218
- DeliveryStreamName: [],
1219
- Records: /* @__PURE__ */ __name((_) => se_PutRecordBatchRequestEntryList(_, context), "Records")
1220
- });
1221
- }, "se_PutRecordBatchInput");
1222
- var se_PutRecordBatchRequestEntryList = /* @__PURE__ */ __name((input, context) => {
1223
- return input.filter((e) => e != null).map((entry) => {
1224
- return se__Record(entry, context);
1225
- });
1226
- }, "se_PutRecordBatchRequestEntryList");
1227
- var se_PutRecordInput = /* @__PURE__ */ __name((input, context) => {
1228
- return (0, import_smithy_client.take)(input, {
1229
- DeliveryStreamName: [],
1230
- Record: /* @__PURE__ */ __name((_) => se__Record(_, context), "Record")
1231
- });
1232
- }, "se_PutRecordInput");
1233
- var se__Record = /* @__PURE__ */ __name((input, context) => {
1234
- return (0, import_smithy_client.take)(input, {
1235
- Data: context.base64Encoder
1236
- });
1237
- }, "se__Record");
1238
- var se_Serializer = /* @__PURE__ */ __name((input, context) => {
1239
- return (0, import_smithy_client.take)(input, {
1240
- OrcSerDe: /* @__PURE__ */ __name((_) => se_OrcSerDe(_, context), "OrcSerDe"),
1241
- ParquetSerDe: import_smithy_client._json
1242
- });
1243
- }, "se_Serializer");
1244
- var se_UpdateDestinationInput = /* @__PURE__ */ __name((input, context) => {
1245
- return (0, import_smithy_client.take)(input, {
1246
- AmazonOpenSearchServerlessDestinationUpdate: import_smithy_client._json,
1247
- AmazonopensearchserviceDestinationUpdate: import_smithy_client._json,
1248
- CurrentDeliveryStreamVersionId: [],
1249
- DeliveryStreamName: [],
1250
- DestinationId: [],
1251
- ElasticsearchDestinationUpdate: import_smithy_client._json,
1252
- ExtendedS3DestinationUpdate: /* @__PURE__ */ __name((_) => se_ExtendedS3DestinationUpdate(_, context), "ExtendedS3DestinationUpdate"),
1253
- HttpEndpointDestinationUpdate: import_smithy_client._json,
1254
- IcebergDestinationUpdate: import_smithy_client._json,
1255
- RedshiftDestinationUpdate: import_smithy_client._json,
1256
- S3DestinationUpdate: import_smithy_client._json,
1257
- SnowflakeDestinationUpdate: import_smithy_client._json,
1258
- SplunkDestinationUpdate: import_smithy_client._json
1259
- });
1260
- }, "se_UpdateDestinationInput");
1261
- var de_DatabaseSnapshotInfo = /* @__PURE__ */ __name((output, context) => {
1262
- return (0, import_smithy_client.take)(output, {
1263
- FailureDescription: import_smithy_client._json,
1264
- Id: import_smithy_client.expectString,
1265
- RequestTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RequestTimestamp"),
1266
- RequestedBy: import_smithy_client.expectString,
1267
- Status: import_smithy_client.expectString,
1268
- Table: import_smithy_client.expectString
1269
- });
1270
- }, "de_DatabaseSnapshotInfo");
1271
- var de_DatabaseSnapshotInfoList = /* @__PURE__ */ __name((output, context) => {
1272
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1273
- return de_DatabaseSnapshotInfo(entry, context);
1274
- });
1275
- return retVal;
1276
- }, "de_DatabaseSnapshotInfoList");
1277
- var de_DatabaseSourceDescription = /* @__PURE__ */ __name((output, context) => {
1278
- return (0, import_smithy_client.take)(output, {
1279
- Columns: import_smithy_client._json,
1280
- DatabaseSourceAuthenticationConfiguration: import_smithy_client._json,
1281
- DatabaseSourceVPCConfiguration: import_smithy_client._json,
1282
- Databases: import_smithy_client._json,
1283
- Endpoint: import_smithy_client.expectString,
1284
- Port: import_smithy_client.expectInt32,
1285
- SSLMode: import_smithy_client.expectString,
1286
- SnapshotInfo: /* @__PURE__ */ __name((_) => de_DatabaseSnapshotInfoList(_, context), "SnapshotInfo"),
1287
- SnapshotWatermarkTable: import_smithy_client.expectString,
1288
- SurrogateKeys: import_smithy_client._json,
1289
- Tables: import_smithy_client._json,
1290
- Type: import_smithy_client.expectString
1291
- });
1292
- }, "de_DatabaseSourceDescription");
1293
- var de_DataFormatConversionConfiguration = /* @__PURE__ */ __name((output, context) => {
1294
- return (0, import_smithy_client.take)(output, {
1295
- Enabled: import_smithy_client.expectBoolean,
1296
- InputFormatConfiguration: import_smithy_client._json,
1297
- OutputFormatConfiguration: /* @__PURE__ */ __name((_) => de_OutputFormatConfiguration(_, context), "OutputFormatConfiguration"),
1298
- SchemaConfiguration: import_smithy_client._json
1299
- });
1300
- }, "de_DataFormatConversionConfiguration");
1301
- var de_DeliveryStreamDescription = /* @__PURE__ */ __name((output, context) => {
1302
- return (0, import_smithy_client.take)(output, {
1303
- CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
1304
- DeliveryStreamARN: import_smithy_client.expectString,
1305
- DeliveryStreamEncryptionConfiguration: import_smithy_client._json,
1306
- DeliveryStreamName: import_smithy_client.expectString,
1307
- DeliveryStreamStatus: import_smithy_client.expectString,
1308
- DeliveryStreamType: import_smithy_client.expectString,
1309
- Destinations: /* @__PURE__ */ __name((_) => de_DestinationDescriptionList(_, context), "Destinations"),
1310
- FailureDescription: import_smithy_client._json,
1311
- HasMoreDestinations: import_smithy_client.expectBoolean,
1312
- LastUpdateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateTimestamp"),
1313
- Source: /* @__PURE__ */ __name((_) => de_SourceDescription(_, context), "Source"),
1314
- VersionId: import_smithy_client.expectString
1315
- });
1316
- }, "de_DeliveryStreamDescription");
1317
- var de_DescribeDeliveryStreamOutput = /* @__PURE__ */ __name((output, context) => {
1318
- return (0, import_smithy_client.take)(output, {
1319
- DeliveryStreamDescription: /* @__PURE__ */ __name((_) => de_DeliveryStreamDescription(_, context), "DeliveryStreamDescription")
1320
- });
1321
- }, "de_DescribeDeliveryStreamOutput");
1322
- var de_DestinationDescription = /* @__PURE__ */ __name((output, context) => {
1323
- return (0, import_smithy_client.take)(output, {
1324
- AmazonOpenSearchServerlessDestinationDescription: import_smithy_client._json,
1325
- AmazonopensearchserviceDestinationDescription: import_smithy_client._json,
1326
- DestinationId: import_smithy_client.expectString,
1327
- ElasticsearchDestinationDescription: import_smithy_client._json,
1328
- ExtendedS3DestinationDescription: /* @__PURE__ */ __name((_) => de_ExtendedS3DestinationDescription(_, context), "ExtendedS3DestinationDescription"),
1329
- HttpEndpointDestinationDescription: import_smithy_client._json,
1330
- IcebergDestinationDescription: import_smithy_client._json,
1331
- RedshiftDestinationDescription: import_smithy_client._json,
1332
- S3DestinationDescription: import_smithy_client._json,
1333
- SnowflakeDestinationDescription: import_smithy_client._json,
1334
- SplunkDestinationDescription: import_smithy_client._json
1335
- });
1336
- }, "de_DestinationDescription");
1337
- var de_DestinationDescriptionList = /* @__PURE__ */ __name((output, context) => {
1338
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1339
- return de_DestinationDescription(entry, context);
1340
- });
1341
- return retVal;
1342
- }, "de_DestinationDescriptionList");
1343
- var de_ExtendedS3DestinationDescription = /* @__PURE__ */ __name((output, context) => {
1344
- return (0, import_smithy_client.take)(output, {
1345
- BucketARN: import_smithy_client.expectString,
1346
- BufferingHints: import_smithy_client._json,
1347
- CloudWatchLoggingOptions: import_smithy_client._json,
1348
- CompressionFormat: import_smithy_client.expectString,
1349
- CustomTimeZone: import_smithy_client.expectString,
1350
- DataFormatConversionConfiguration: /* @__PURE__ */ __name((_) => de_DataFormatConversionConfiguration(_, context), "DataFormatConversionConfiguration"),
1351
- DynamicPartitioningConfiguration: import_smithy_client._json,
1352
- EncryptionConfiguration: import_smithy_client._json,
1353
- ErrorOutputPrefix: import_smithy_client.expectString,
1354
- FileExtension: import_smithy_client.expectString,
1355
- Prefix: import_smithy_client.expectString,
1356
- ProcessingConfiguration: import_smithy_client._json,
1357
- RoleARN: import_smithy_client.expectString,
1358
- S3BackupDescription: import_smithy_client._json,
1359
- S3BackupMode: import_smithy_client.expectString
1360
- });
1361
- }, "de_ExtendedS3DestinationDescription");
1362
- var de_KinesisStreamSourceDescription = /* @__PURE__ */ __name((output, context) => {
1363
- return (0, import_smithy_client.take)(output, {
1364
- DeliveryStartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeliveryStartTimestamp"),
1365
- KinesisStreamARN: import_smithy_client.expectString,
1366
- RoleARN: import_smithy_client.expectString
1367
- });
1368
- }, "de_KinesisStreamSourceDescription");
1369
- var de_MSKSourceDescription = /* @__PURE__ */ __name((output, context) => {
1370
- return (0, import_smithy_client.take)(output, {
1371
- AuthenticationConfiguration: import_smithy_client._json,
1372
- DeliveryStartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeliveryStartTimestamp"),
1373
- MSKClusterARN: import_smithy_client.expectString,
1374
- ReadFromTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ReadFromTimestamp"),
1375
- TopicName: import_smithy_client.expectString
1376
- });
1377
- }, "de_MSKSourceDescription");
1378
- var de_OrcSerDe = /* @__PURE__ */ __name((output, context) => {
1379
- return (0, import_smithy_client.take)(output, {
1380
- BlockSizeBytes: import_smithy_client.expectInt32,
1381
- BloomFilterColumns: import_smithy_client._json,
1382
- BloomFilterFalsePositiveProbability: import_smithy_client.limitedParseDouble,
1383
- Compression: import_smithy_client.expectString,
1384
- DictionaryKeyThreshold: import_smithy_client.limitedParseDouble,
1385
- EnablePadding: import_smithy_client.expectBoolean,
1386
- FormatVersion: import_smithy_client.expectString,
1387
- PaddingTolerance: import_smithy_client.limitedParseDouble,
1388
- RowIndexStride: import_smithy_client.expectInt32,
1389
- StripeSizeBytes: import_smithy_client.expectInt32
1390
- });
1391
- }, "de_OrcSerDe");
1392
- var de_OutputFormatConfiguration = /* @__PURE__ */ __name((output, context) => {
1393
- return (0, import_smithy_client.take)(output, {
1394
- Serializer: /* @__PURE__ */ __name((_) => de_Serializer(_, context), "Serializer")
1395
- });
1396
- }, "de_OutputFormatConfiguration");
1397
- var de_Serializer = /* @__PURE__ */ __name((output, context) => {
1398
- return (0, import_smithy_client.take)(output, {
1399
- OrcSerDe: /* @__PURE__ */ __name((_) => de_OrcSerDe(_, context), "OrcSerDe"),
1400
- ParquetSerDe: import_smithy_client._json
1401
- });
1402
- }, "de_Serializer");
1403
- var de_SourceDescription = /* @__PURE__ */ __name((output, context) => {
1404
- return (0, import_smithy_client.take)(output, {
1405
- DatabaseSourceDescription: /* @__PURE__ */ __name((_) => de_DatabaseSourceDescription(_, context), "DatabaseSourceDescription"),
1406
- DirectPutSourceDescription: import_smithy_client._json,
1407
- KinesisStreamSourceDescription: /* @__PURE__ */ __name((_) => de_KinesisStreamSourceDescription(_, context), "KinesisStreamSourceDescription"),
1408
- MSKSourceDescription: /* @__PURE__ */ __name((_) => de_MSKSourceDescription(_, context), "MSKSourceDescription")
1409
- });
1410
- }, "de_SourceDescription");
1411
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1412
- httpStatusCode: output.statusCode,
1413
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1414
- extendedRequestId: output.headers["x-amz-id-2"],
1415
- cfId: output.headers["x-amz-cf-id"]
1416
- }), "deserializeMetadata");
1417
- var throwDefaultError = (0, import_smithy_client.withBaseException)(FirehoseServiceException);
1418
- var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1419
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1420
- const contents = {
1421
- protocol,
1422
- hostname,
1423
- port,
1424
- method: "POST",
1425
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1426
- headers
1427
- };
1428
- if (resolvedHostname !== void 0) {
1429
- contents.hostname = resolvedHostname;
1430
- }
1431
- if (body !== void 0) {
1432
- contents.body = body;
1433
- }
1434
- return new import_protocol_http.HttpRequest(contents);
1435
- }, "buildHttpRpcRequest");
1436
- function sharedHeaders(operation) {
1437
- return {
1438
- "content-type": "application/x-amz-json-1.1",
1439
- "x-amz-target": `Firehose_20150804.${operation}`
1440
- };
1441
- }
1442
- __name(sharedHeaders, "sharedHeaders");
1443
-
1444
- // src/commands/CreateDeliveryStreamCommand.ts
1445
- var CreateDeliveryStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1446
- return [
1447
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1448
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1449
- ];
1450
- }).s("Firehose_20150804", "CreateDeliveryStream", {}).n("FirehoseClient", "CreateDeliveryStreamCommand").f(CreateDeliveryStreamInputFilterSensitiveLog, void 0).ser(se_CreateDeliveryStreamCommand).de(de_CreateDeliveryStreamCommand).build() {
1451
- static {
1452
- __name(this, "CreateDeliveryStreamCommand");
1453
- }
903
+ return smithyClient.decorateServiceException(exception, body);
1454
904
  };
1455
-
1456
- // src/commands/DeleteDeliveryStreamCommand.ts
1457
-
1458
-
1459
-
1460
- var DeleteDeliveryStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1461
- return [
1462
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1463
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1464
- ];
1465
- }).s("Firehose_20150804", "DeleteDeliveryStream", {}).n("FirehoseClient", "DeleteDeliveryStreamCommand").f(void 0, void 0).ser(se_DeleteDeliveryStreamCommand).de(de_DeleteDeliveryStreamCommand).build() {
1466
- static {
1467
- __name(this, "DeleteDeliveryStreamCommand");
1468
- }
905
+ const se_CreateDeliveryStreamInput = (input, context) => {
906
+ return smithyClient.take(input, {
907
+ AmazonOpenSearchServerlessDestinationConfiguration: smithyClient._json,
908
+ AmazonopensearchserviceDestinationConfiguration: smithyClient._json,
909
+ DatabaseSourceConfiguration: smithyClient._json,
910
+ DeliveryStreamEncryptionConfigurationInput: smithyClient._json,
911
+ DeliveryStreamName: [],
912
+ DeliveryStreamType: [],
913
+ DirectPutSourceConfiguration: smithyClient._json,
914
+ ElasticsearchDestinationConfiguration: smithyClient._json,
915
+ ExtendedS3DestinationConfiguration: (_) => se_ExtendedS3DestinationConfiguration(_),
916
+ HttpEndpointDestinationConfiguration: smithyClient._json,
917
+ IcebergDestinationConfiguration: smithyClient._json,
918
+ KinesisStreamSourceConfiguration: smithyClient._json,
919
+ MSKSourceConfiguration: (_) => se_MSKSourceConfiguration(_),
920
+ RedshiftDestinationConfiguration: smithyClient._json,
921
+ S3DestinationConfiguration: smithyClient._json,
922
+ SnowflakeDestinationConfiguration: smithyClient._json,
923
+ SplunkDestinationConfiguration: smithyClient._json,
924
+ Tags: smithyClient._json,
925
+ });
1469
926
  };
1470
-
1471
- // src/commands/DescribeDeliveryStreamCommand.ts
1472
-
1473
-
1474
-
1475
- var DescribeDeliveryStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1476
- return [
1477
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1478
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1479
- ];
1480
- }).s("Firehose_20150804", "DescribeDeliveryStream", {}).n("FirehoseClient", "DescribeDeliveryStreamCommand").f(void 0, DescribeDeliveryStreamOutputFilterSensitiveLog).ser(se_DescribeDeliveryStreamCommand).de(de_DescribeDeliveryStreamCommand).build() {
1481
- static {
1482
- __name(this, "DescribeDeliveryStreamCommand");
1483
- }
927
+ const se_DataFormatConversionConfiguration = (input, context) => {
928
+ return smithyClient.take(input, {
929
+ Enabled: [],
930
+ InputFormatConfiguration: smithyClient._json,
931
+ OutputFormatConfiguration: (_) => se_OutputFormatConfiguration(_),
932
+ SchemaConfiguration: smithyClient._json,
933
+ });
1484
934
  };
1485
-
1486
- // src/commands/ListDeliveryStreamsCommand.ts
1487
-
1488
-
1489
-
1490
- var ListDeliveryStreamsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1491
- return [
1492
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1493
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1494
- ];
1495
- }).s("Firehose_20150804", "ListDeliveryStreams", {}).n("FirehoseClient", "ListDeliveryStreamsCommand").f(void 0, void 0).ser(se_ListDeliveryStreamsCommand).de(de_ListDeliveryStreamsCommand).build() {
1496
- static {
1497
- __name(this, "ListDeliveryStreamsCommand");
1498
- }
935
+ const se_ExtendedS3DestinationConfiguration = (input, context) => {
936
+ return smithyClient.take(input, {
937
+ BucketARN: [],
938
+ BufferingHints: smithyClient._json,
939
+ CloudWatchLoggingOptions: smithyClient._json,
940
+ CompressionFormat: [],
941
+ CustomTimeZone: [],
942
+ DataFormatConversionConfiguration: (_) => se_DataFormatConversionConfiguration(_),
943
+ DynamicPartitioningConfiguration: smithyClient._json,
944
+ EncryptionConfiguration: smithyClient._json,
945
+ ErrorOutputPrefix: [],
946
+ FileExtension: [],
947
+ Prefix: [],
948
+ ProcessingConfiguration: smithyClient._json,
949
+ RoleARN: [],
950
+ S3BackupConfiguration: smithyClient._json,
951
+ S3BackupMode: [],
952
+ });
1499
953
  };
1500
-
1501
- // src/commands/ListTagsForDeliveryStreamCommand.ts
1502
-
1503
-
1504
-
1505
- var ListTagsForDeliveryStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1506
- return [
1507
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1508
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1509
- ];
1510
- }).s("Firehose_20150804", "ListTagsForDeliveryStream", {}).n("FirehoseClient", "ListTagsForDeliveryStreamCommand").f(void 0, void 0).ser(se_ListTagsForDeliveryStreamCommand).de(de_ListTagsForDeliveryStreamCommand).build() {
1511
- static {
1512
- __name(this, "ListTagsForDeliveryStreamCommand");
1513
- }
954
+ const se_ExtendedS3DestinationUpdate = (input, context) => {
955
+ return smithyClient.take(input, {
956
+ BucketARN: [],
957
+ BufferingHints: smithyClient._json,
958
+ CloudWatchLoggingOptions: smithyClient._json,
959
+ CompressionFormat: [],
960
+ CustomTimeZone: [],
961
+ DataFormatConversionConfiguration: (_) => se_DataFormatConversionConfiguration(_),
962
+ DynamicPartitioningConfiguration: smithyClient._json,
963
+ EncryptionConfiguration: smithyClient._json,
964
+ ErrorOutputPrefix: [],
965
+ FileExtension: [],
966
+ Prefix: [],
967
+ ProcessingConfiguration: smithyClient._json,
968
+ RoleARN: [],
969
+ S3BackupMode: [],
970
+ S3BackupUpdate: smithyClient._json,
971
+ });
1514
972
  };
1515
-
1516
- // src/commands/PutRecordBatchCommand.ts
1517
-
1518
-
1519
-
1520
- var PutRecordBatchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1521
- return [
1522
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1523
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1524
- ];
1525
- }).s("Firehose_20150804", "PutRecordBatch", {}).n("FirehoseClient", "PutRecordBatchCommand").f(void 0, void 0).ser(se_PutRecordBatchCommand).de(de_PutRecordBatchCommand).build() {
1526
- static {
1527
- __name(this, "PutRecordBatchCommand");
1528
- }
973
+ const se_MSKSourceConfiguration = (input, context) => {
974
+ return smithyClient.take(input, {
975
+ AuthenticationConfiguration: smithyClient._json,
976
+ MSKClusterARN: [],
977
+ ReadFromTimestamp: (_) => _.getTime() / 1_000,
978
+ TopicName: [],
979
+ });
1529
980
  };
1530
-
1531
- // src/commands/PutRecordCommand.ts
1532
-
1533
-
1534
-
1535
- var PutRecordCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1536
- return [
1537
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1538
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1539
- ];
1540
- }).s("Firehose_20150804", "PutRecord", {}).n("FirehoseClient", "PutRecordCommand").f(void 0, void 0).ser(se_PutRecordCommand).de(de_PutRecordCommand).build() {
1541
- static {
1542
- __name(this, "PutRecordCommand");
1543
- }
981
+ const se_OrcSerDe = (input, context) => {
982
+ return smithyClient.take(input, {
983
+ BlockSizeBytes: [],
984
+ BloomFilterColumns: smithyClient._json,
985
+ BloomFilterFalsePositiveProbability: smithyClient.serializeFloat,
986
+ Compression: [],
987
+ DictionaryKeyThreshold: smithyClient.serializeFloat,
988
+ EnablePadding: [],
989
+ FormatVersion: [],
990
+ PaddingTolerance: smithyClient.serializeFloat,
991
+ RowIndexStride: [],
992
+ StripeSizeBytes: [],
993
+ });
1544
994
  };
1545
-
1546
- // src/commands/StartDeliveryStreamEncryptionCommand.ts
1547
-
1548
-
1549
-
1550
- var StartDeliveryStreamEncryptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1551
- return [
1552
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1553
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1554
- ];
1555
- }).s("Firehose_20150804", "StartDeliveryStreamEncryption", {}).n("FirehoseClient", "StartDeliveryStreamEncryptionCommand").f(void 0, void 0).ser(se_StartDeliveryStreamEncryptionCommand).de(de_StartDeliveryStreamEncryptionCommand).build() {
1556
- static {
1557
- __name(this, "StartDeliveryStreamEncryptionCommand");
1558
- }
995
+ const se_OutputFormatConfiguration = (input, context) => {
996
+ return smithyClient.take(input, {
997
+ Serializer: (_) => se_Serializer(_),
998
+ });
1559
999
  };
1560
-
1561
- // src/commands/StopDeliveryStreamEncryptionCommand.ts
1562
-
1563
-
1564
-
1565
- var StopDeliveryStreamEncryptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1566
- return [
1567
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1568
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1569
- ];
1570
- }).s("Firehose_20150804", "StopDeliveryStreamEncryption", {}).n("FirehoseClient", "StopDeliveryStreamEncryptionCommand").f(void 0, void 0).ser(se_StopDeliveryStreamEncryptionCommand).de(de_StopDeliveryStreamEncryptionCommand).build() {
1571
- static {
1572
- __name(this, "StopDeliveryStreamEncryptionCommand");
1573
- }
1000
+ const se_PutRecordBatchInput = (input, context) => {
1001
+ return smithyClient.take(input, {
1002
+ DeliveryStreamName: [],
1003
+ Records: (_) => se_PutRecordBatchRequestEntryList(_, context),
1004
+ });
1005
+ };
1006
+ const se_PutRecordBatchRequestEntryList = (input, context) => {
1007
+ return input
1008
+ .filter((e) => e != null)
1009
+ .map((entry) => {
1010
+ return se__Record(entry, context);
1011
+ });
1012
+ };
1013
+ const se_PutRecordInput = (input, context) => {
1014
+ return smithyClient.take(input, {
1015
+ DeliveryStreamName: [],
1016
+ Record: (_) => se__Record(_, context),
1017
+ });
1018
+ };
1019
+ const se__Record = (input, context) => {
1020
+ return smithyClient.take(input, {
1021
+ Data: context.base64Encoder,
1022
+ });
1023
+ };
1024
+ const se_Serializer = (input, context) => {
1025
+ return smithyClient.take(input, {
1026
+ OrcSerDe: (_) => se_OrcSerDe(_),
1027
+ ParquetSerDe: smithyClient._json,
1028
+ });
1029
+ };
1030
+ const se_UpdateDestinationInput = (input, context) => {
1031
+ return smithyClient.take(input, {
1032
+ AmazonOpenSearchServerlessDestinationUpdate: smithyClient._json,
1033
+ AmazonopensearchserviceDestinationUpdate: smithyClient._json,
1034
+ CurrentDeliveryStreamVersionId: [],
1035
+ DeliveryStreamName: [],
1036
+ DestinationId: [],
1037
+ ElasticsearchDestinationUpdate: smithyClient._json,
1038
+ ExtendedS3DestinationUpdate: (_) => se_ExtendedS3DestinationUpdate(_),
1039
+ HttpEndpointDestinationUpdate: smithyClient._json,
1040
+ IcebergDestinationUpdate: smithyClient._json,
1041
+ RedshiftDestinationUpdate: smithyClient._json,
1042
+ S3DestinationUpdate: smithyClient._json,
1043
+ SnowflakeDestinationUpdate: smithyClient._json,
1044
+ SplunkDestinationUpdate: smithyClient._json,
1045
+ });
1046
+ };
1047
+ const de_DatabaseSnapshotInfo = (output, context) => {
1048
+ return smithyClient.take(output, {
1049
+ FailureDescription: smithyClient._json,
1050
+ Id: smithyClient.expectString,
1051
+ RequestTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1052
+ RequestedBy: smithyClient.expectString,
1053
+ Status: smithyClient.expectString,
1054
+ Table: smithyClient.expectString,
1055
+ });
1056
+ };
1057
+ const de_DatabaseSnapshotInfoList = (output, context) => {
1058
+ const retVal = (output || [])
1059
+ .filter((e) => e != null)
1060
+ .map((entry) => {
1061
+ return de_DatabaseSnapshotInfo(entry);
1062
+ });
1063
+ return retVal;
1064
+ };
1065
+ const de_DatabaseSourceDescription = (output, context) => {
1066
+ return smithyClient.take(output, {
1067
+ Columns: smithyClient._json,
1068
+ DatabaseSourceAuthenticationConfiguration: smithyClient._json,
1069
+ DatabaseSourceVPCConfiguration: smithyClient._json,
1070
+ Databases: smithyClient._json,
1071
+ Endpoint: smithyClient.expectString,
1072
+ Port: smithyClient.expectInt32,
1073
+ SSLMode: smithyClient.expectString,
1074
+ SnapshotInfo: (_) => de_DatabaseSnapshotInfoList(_),
1075
+ SnapshotWatermarkTable: smithyClient.expectString,
1076
+ SurrogateKeys: smithyClient._json,
1077
+ Tables: smithyClient._json,
1078
+ Type: smithyClient.expectString,
1079
+ });
1080
+ };
1081
+ const de_DataFormatConversionConfiguration = (output, context) => {
1082
+ return smithyClient.take(output, {
1083
+ Enabled: smithyClient.expectBoolean,
1084
+ InputFormatConfiguration: smithyClient._json,
1085
+ OutputFormatConfiguration: (_) => de_OutputFormatConfiguration(_),
1086
+ SchemaConfiguration: smithyClient._json,
1087
+ });
1088
+ };
1089
+ const de_DeliveryStreamDescription = (output, context) => {
1090
+ return smithyClient.take(output, {
1091
+ CreateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1092
+ DeliveryStreamARN: smithyClient.expectString,
1093
+ DeliveryStreamEncryptionConfiguration: smithyClient._json,
1094
+ DeliveryStreamName: smithyClient.expectString,
1095
+ DeliveryStreamStatus: smithyClient.expectString,
1096
+ DeliveryStreamType: smithyClient.expectString,
1097
+ Destinations: (_) => de_DestinationDescriptionList(_),
1098
+ FailureDescription: smithyClient._json,
1099
+ HasMoreDestinations: smithyClient.expectBoolean,
1100
+ LastUpdateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1101
+ Source: (_) => de_SourceDescription(_),
1102
+ VersionId: smithyClient.expectString,
1103
+ });
1104
+ };
1105
+ const de_DescribeDeliveryStreamOutput = (output, context) => {
1106
+ return smithyClient.take(output, {
1107
+ DeliveryStreamDescription: (_) => de_DeliveryStreamDescription(_),
1108
+ });
1109
+ };
1110
+ const de_DestinationDescription = (output, context) => {
1111
+ return smithyClient.take(output, {
1112
+ AmazonOpenSearchServerlessDestinationDescription: smithyClient._json,
1113
+ AmazonopensearchserviceDestinationDescription: smithyClient._json,
1114
+ DestinationId: smithyClient.expectString,
1115
+ ElasticsearchDestinationDescription: smithyClient._json,
1116
+ ExtendedS3DestinationDescription: (_) => de_ExtendedS3DestinationDescription(_),
1117
+ HttpEndpointDestinationDescription: smithyClient._json,
1118
+ IcebergDestinationDescription: smithyClient._json,
1119
+ RedshiftDestinationDescription: smithyClient._json,
1120
+ S3DestinationDescription: smithyClient._json,
1121
+ SnowflakeDestinationDescription: smithyClient._json,
1122
+ SplunkDestinationDescription: smithyClient._json,
1123
+ });
1124
+ };
1125
+ const de_DestinationDescriptionList = (output, context) => {
1126
+ const retVal = (output || [])
1127
+ .filter((e) => e != null)
1128
+ .map((entry) => {
1129
+ return de_DestinationDescription(entry);
1130
+ });
1131
+ return retVal;
1132
+ };
1133
+ const de_ExtendedS3DestinationDescription = (output, context) => {
1134
+ return smithyClient.take(output, {
1135
+ BucketARN: smithyClient.expectString,
1136
+ BufferingHints: smithyClient._json,
1137
+ CloudWatchLoggingOptions: smithyClient._json,
1138
+ CompressionFormat: smithyClient.expectString,
1139
+ CustomTimeZone: smithyClient.expectString,
1140
+ DataFormatConversionConfiguration: (_) => de_DataFormatConversionConfiguration(_),
1141
+ DynamicPartitioningConfiguration: smithyClient._json,
1142
+ EncryptionConfiguration: smithyClient._json,
1143
+ ErrorOutputPrefix: smithyClient.expectString,
1144
+ FileExtension: smithyClient.expectString,
1145
+ Prefix: smithyClient.expectString,
1146
+ ProcessingConfiguration: smithyClient._json,
1147
+ RoleARN: smithyClient.expectString,
1148
+ S3BackupDescription: smithyClient._json,
1149
+ S3BackupMode: smithyClient.expectString,
1150
+ });
1151
+ };
1152
+ const de_KinesisStreamSourceDescription = (output, context) => {
1153
+ return smithyClient.take(output, {
1154
+ DeliveryStartTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1155
+ KinesisStreamARN: smithyClient.expectString,
1156
+ RoleARN: smithyClient.expectString,
1157
+ });
1158
+ };
1159
+ const de_MSKSourceDescription = (output, context) => {
1160
+ return smithyClient.take(output, {
1161
+ AuthenticationConfiguration: smithyClient._json,
1162
+ DeliveryStartTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1163
+ MSKClusterARN: smithyClient.expectString,
1164
+ ReadFromTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1165
+ TopicName: smithyClient.expectString,
1166
+ });
1167
+ };
1168
+ const de_OrcSerDe = (output, context) => {
1169
+ return smithyClient.take(output, {
1170
+ BlockSizeBytes: smithyClient.expectInt32,
1171
+ BloomFilterColumns: smithyClient._json,
1172
+ BloomFilterFalsePositiveProbability: smithyClient.limitedParseDouble,
1173
+ Compression: smithyClient.expectString,
1174
+ DictionaryKeyThreshold: smithyClient.limitedParseDouble,
1175
+ EnablePadding: smithyClient.expectBoolean,
1176
+ FormatVersion: smithyClient.expectString,
1177
+ PaddingTolerance: smithyClient.limitedParseDouble,
1178
+ RowIndexStride: smithyClient.expectInt32,
1179
+ StripeSizeBytes: smithyClient.expectInt32,
1180
+ });
1574
1181
  };
1182
+ const de_OutputFormatConfiguration = (output, context) => {
1183
+ return smithyClient.take(output, {
1184
+ Serializer: (_) => de_Serializer(_),
1185
+ });
1186
+ };
1187
+ const de_Serializer = (output, context) => {
1188
+ return smithyClient.take(output, {
1189
+ OrcSerDe: (_) => de_OrcSerDe(_),
1190
+ ParquetSerDe: smithyClient._json,
1191
+ });
1192
+ };
1193
+ const de_SourceDescription = (output, context) => {
1194
+ return smithyClient.take(output, {
1195
+ DatabaseSourceDescription: (_) => de_DatabaseSourceDescription(_),
1196
+ DirectPutSourceDescription: smithyClient._json,
1197
+ KinesisStreamSourceDescription: (_) => de_KinesisStreamSourceDescription(_),
1198
+ MSKSourceDescription: (_) => de_MSKSourceDescription(_),
1199
+ });
1200
+ };
1201
+ const deserializeMetadata = (output) => ({
1202
+ httpStatusCode: output.statusCode,
1203
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1204
+ extendedRequestId: output.headers["x-amz-id-2"],
1205
+ cfId: output.headers["x-amz-cf-id"],
1206
+ });
1207
+ const throwDefaultError = smithyClient.withBaseException(FirehoseServiceException);
1208
+ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1209
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1210
+ const contents = {
1211
+ protocol,
1212
+ hostname,
1213
+ port,
1214
+ method: "POST",
1215
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1216
+ headers,
1217
+ };
1218
+ if (body !== undefined) {
1219
+ contents.body = body;
1220
+ }
1221
+ return new protocolHttp.HttpRequest(contents);
1222
+ };
1223
+ function sharedHeaders(operation) {
1224
+ return {
1225
+ "content-type": "application/x-amz-json-1.1",
1226
+ "x-amz-target": `Firehose_20150804.${operation}`,
1227
+ };
1228
+ }
1575
1229
 
1576
- // src/commands/TagDeliveryStreamCommand.ts
1230
+ class CreateDeliveryStreamCommand extends smithyClient.Command
1231
+ .classBuilder()
1232
+ .ep(commonParams)
1233
+ .m(function (Command, cs, config, o) {
1234
+ return [
1235
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1236
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1237
+ ];
1238
+ })
1239
+ .s("Firehose_20150804", "CreateDeliveryStream", {})
1240
+ .n("FirehoseClient", "CreateDeliveryStreamCommand")
1241
+ .f(CreateDeliveryStreamInputFilterSensitiveLog, void 0)
1242
+ .ser(se_CreateDeliveryStreamCommand)
1243
+ .de(de_CreateDeliveryStreamCommand)
1244
+ .build() {
1245
+ }
1577
1246
 
1247
+ class DeleteDeliveryStreamCommand extends smithyClient.Command
1248
+ .classBuilder()
1249
+ .ep(commonParams)
1250
+ .m(function (Command, cs, config, o) {
1251
+ return [
1252
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1253
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1254
+ ];
1255
+ })
1256
+ .s("Firehose_20150804", "DeleteDeliveryStream", {})
1257
+ .n("FirehoseClient", "DeleteDeliveryStreamCommand")
1258
+ .f(void 0, void 0)
1259
+ .ser(se_DeleteDeliveryStreamCommand)
1260
+ .de(de_DeleteDeliveryStreamCommand)
1261
+ .build() {
1262
+ }
1578
1263
 
1264
+ class DescribeDeliveryStreamCommand extends smithyClient.Command
1265
+ .classBuilder()
1266
+ .ep(commonParams)
1267
+ .m(function (Command, cs, config, o) {
1268
+ return [
1269
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1270
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1271
+ ];
1272
+ })
1273
+ .s("Firehose_20150804", "DescribeDeliveryStream", {})
1274
+ .n("FirehoseClient", "DescribeDeliveryStreamCommand")
1275
+ .f(void 0, DescribeDeliveryStreamOutputFilterSensitiveLog)
1276
+ .ser(se_DescribeDeliveryStreamCommand)
1277
+ .de(de_DescribeDeliveryStreamCommand)
1278
+ .build() {
1279
+ }
1579
1280
 
1580
- var TagDeliveryStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1581
- return [
1582
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1583
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1584
- ];
1585
- }).s("Firehose_20150804", "TagDeliveryStream", {}).n("FirehoseClient", "TagDeliveryStreamCommand").f(void 0, void 0).ser(se_TagDeliveryStreamCommand).de(de_TagDeliveryStreamCommand).build() {
1586
- static {
1587
- __name(this, "TagDeliveryStreamCommand");
1588
- }
1589
- };
1281
+ class ListDeliveryStreamsCommand extends smithyClient.Command
1282
+ .classBuilder()
1283
+ .ep(commonParams)
1284
+ .m(function (Command, cs, config, o) {
1285
+ return [
1286
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1287
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1288
+ ];
1289
+ })
1290
+ .s("Firehose_20150804", "ListDeliveryStreams", {})
1291
+ .n("FirehoseClient", "ListDeliveryStreamsCommand")
1292
+ .f(void 0, void 0)
1293
+ .ser(se_ListDeliveryStreamsCommand)
1294
+ .de(de_ListDeliveryStreamsCommand)
1295
+ .build() {
1296
+ }
1590
1297
 
1591
- // src/commands/UntagDeliveryStreamCommand.ts
1298
+ class ListTagsForDeliveryStreamCommand extends smithyClient.Command
1299
+ .classBuilder()
1300
+ .ep(commonParams)
1301
+ .m(function (Command, cs, config, o) {
1302
+ return [
1303
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1304
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1305
+ ];
1306
+ })
1307
+ .s("Firehose_20150804", "ListTagsForDeliveryStream", {})
1308
+ .n("FirehoseClient", "ListTagsForDeliveryStreamCommand")
1309
+ .f(void 0, void 0)
1310
+ .ser(se_ListTagsForDeliveryStreamCommand)
1311
+ .de(de_ListTagsForDeliveryStreamCommand)
1312
+ .build() {
1313
+ }
1592
1314
 
1315
+ class PutRecordBatchCommand extends smithyClient.Command
1316
+ .classBuilder()
1317
+ .ep(commonParams)
1318
+ .m(function (Command, cs, config, o) {
1319
+ return [
1320
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1321
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1322
+ ];
1323
+ })
1324
+ .s("Firehose_20150804", "PutRecordBatch", {})
1325
+ .n("FirehoseClient", "PutRecordBatchCommand")
1326
+ .f(void 0, void 0)
1327
+ .ser(se_PutRecordBatchCommand)
1328
+ .de(de_PutRecordBatchCommand)
1329
+ .build() {
1330
+ }
1593
1331
 
1332
+ class PutRecordCommand extends smithyClient.Command
1333
+ .classBuilder()
1334
+ .ep(commonParams)
1335
+ .m(function (Command, cs, config, o) {
1336
+ return [
1337
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1338
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1339
+ ];
1340
+ })
1341
+ .s("Firehose_20150804", "PutRecord", {})
1342
+ .n("FirehoseClient", "PutRecordCommand")
1343
+ .f(void 0, void 0)
1344
+ .ser(se_PutRecordCommand)
1345
+ .de(de_PutRecordCommand)
1346
+ .build() {
1347
+ }
1594
1348
 
1595
- var UntagDeliveryStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1596
- return [
1597
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1598
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1599
- ];
1600
- }).s("Firehose_20150804", "UntagDeliveryStream", {}).n("FirehoseClient", "UntagDeliveryStreamCommand").f(void 0, void 0).ser(se_UntagDeliveryStreamCommand).de(de_UntagDeliveryStreamCommand).build() {
1601
- static {
1602
- __name(this, "UntagDeliveryStreamCommand");
1603
- }
1604
- };
1349
+ class StartDeliveryStreamEncryptionCommand extends smithyClient.Command
1350
+ .classBuilder()
1351
+ .ep(commonParams)
1352
+ .m(function (Command, cs, config, o) {
1353
+ return [
1354
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1355
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1356
+ ];
1357
+ })
1358
+ .s("Firehose_20150804", "StartDeliveryStreamEncryption", {})
1359
+ .n("FirehoseClient", "StartDeliveryStreamEncryptionCommand")
1360
+ .f(void 0, void 0)
1361
+ .ser(se_StartDeliveryStreamEncryptionCommand)
1362
+ .de(de_StartDeliveryStreamEncryptionCommand)
1363
+ .build() {
1364
+ }
1605
1365
 
1606
- // src/commands/UpdateDestinationCommand.ts
1366
+ class StopDeliveryStreamEncryptionCommand extends smithyClient.Command
1367
+ .classBuilder()
1368
+ .ep(commonParams)
1369
+ .m(function (Command, cs, config, o) {
1370
+ return [
1371
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1372
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1373
+ ];
1374
+ })
1375
+ .s("Firehose_20150804", "StopDeliveryStreamEncryption", {})
1376
+ .n("FirehoseClient", "StopDeliveryStreamEncryptionCommand")
1377
+ .f(void 0, void 0)
1378
+ .ser(se_StopDeliveryStreamEncryptionCommand)
1379
+ .de(de_StopDeliveryStreamEncryptionCommand)
1380
+ .build() {
1381
+ }
1607
1382
 
1383
+ class TagDeliveryStreamCommand extends smithyClient.Command
1384
+ .classBuilder()
1385
+ .ep(commonParams)
1386
+ .m(function (Command, cs, config, o) {
1387
+ return [
1388
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1389
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1390
+ ];
1391
+ })
1392
+ .s("Firehose_20150804", "TagDeliveryStream", {})
1393
+ .n("FirehoseClient", "TagDeliveryStreamCommand")
1394
+ .f(void 0, void 0)
1395
+ .ser(se_TagDeliveryStreamCommand)
1396
+ .de(de_TagDeliveryStreamCommand)
1397
+ .build() {
1398
+ }
1608
1399
 
1400
+ class UntagDeliveryStreamCommand extends smithyClient.Command
1401
+ .classBuilder()
1402
+ .ep(commonParams)
1403
+ .m(function (Command, cs, config, o) {
1404
+ return [
1405
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1406
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1407
+ ];
1408
+ })
1409
+ .s("Firehose_20150804", "UntagDeliveryStream", {})
1410
+ .n("FirehoseClient", "UntagDeliveryStreamCommand")
1411
+ .f(void 0, void 0)
1412
+ .ser(se_UntagDeliveryStreamCommand)
1413
+ .de(de_UntagDeliveryStreamCommand)
1414
+ .build() {
1415
+ }
1609
1416
 
1610
- var UpdateDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1611
- return [
1612
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1613
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1614
- ];
1615
- }).s("Firehose_20150804", "UpdateDestination", {}).n("FirehoseClient", "UpdateDestinationCommand").f(UpdateDestinationInputFilterSensitiveLog, void 0).ser(se_UpdateDestinationCommand).de(de_UpdateDestinationCommand).build() {
1616
- static {
1617
- __name(this, "UpdateDestinationCommand");
1618
- }
1619
- };
1417
+ class UpdateDestinationCommand extends smithyClient.Command
1418
+ .classBuilder()
1419
+ .ep(commonParams)
1420
+ .m(function (Command, cs, config, o) {
1421
+ return [
1422
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1423
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1424
+ ];
1425
+ })
1426
+ .s("Firehose_20150804", "UpdateDestination", {})
1427
+ .n("FirehoseClient", "UpdateDestinationCommand")
1428
+ .f(UpdateDestinationInputFilterSensitiveLog, void 0)
1429
+ .ser(se_UpdateDestinationCommand)
1430
+ .de(de_UpdateDestinationCommand)
1431
+ .build() {
1432
+ }
1620
1433
 
1621
- // src/Firehose.ts
1622
- var commands = {
1623
- CreateDeliveryStreamCommand,
1624
- DeleteDeliveryStreamCommand,
1625
- DescribeDeliveryStreamCommand,
1626
- ListDeliveryStreamsCommand,
1627
- ListTagsForDeliveryStreamCommand,
1628
- PutRecordCommand,
1629
- PutRecordBatchCommand,
1630
- StartDeliveryStreamEncryptionCommand,
1631
- StopDeliveryStreamEncryptionCommand,
1632
- TagDeliveryStreamCommand,
1633
- UntagDeliveryStreamCommand,
1634
- UpdateDestinationCommand
1635
- };
1636
- var Firehose = class extends FirehoseClient {
1637
- static {
1638
- __name(this, "Firehose");
1639
- }
1640
- };
1641
- (0, import_smithy_client.createAggregatedClient)(commands, Firehose);
1642
- // Annotate the CommonJS export names for ESM import in node:
1434
+ const commands = {
1435
+ CreateDeliveryStreamCommand,
1436
+ DeleteDeliveryStreamCommand,
1437
+ DescribeDeliveryStreamCommand,
1438
+ ListDeliveryStreamsCommand,
1439
+ ListTagsForDeliveryStreamCommand,
1440
+ PutRecordCommand,
1441
+ PutRecordBatchCommand,
1442
+ StartDeliveryStreamEncryptionCommand,
1443
+ StopDeliveryStreamEncryptionCommand,
1444
+ TagDeliveryStreamCommand,
1445
+ UntagDeliveryStreamCommand,
1446
+ UpdateDestinationCommand,
1447
+ };
1448
+ class Firehose extends FirehoseClient {
1449
+ }
1450
+ smithyClient.createAggregatedClient(commands, Firehose);
1643
1451
 
1644
- 0 && (module.exports = {
1645
- FirehoseServiceException,
1646
- __Client,
1647
- FirehoseClient,
1648
- Firehose,
1649
- $Command,
1650
- CreateDeliveryStreamCommand,
1651
- DeleteDeliveryStreamCommand,
1652
- DescribeDeliveryStreamCommand,
1653
- ListDeliveryStreamsCommand,
1654
- ListTagsForDeliveryStreamCommand,
1655
- PutRecordBatchCommand,
1656
- PutRecordCommand,
1657
- StartDeliveryStreamEncryptionCommand,
1658
- StopDeliveryStreamEncryptionCommand,
1659
- TagDeliveryStreamCommand,
1660
- UntagDeliveryStreamCommand,
1661
- UpdateDestinationCommand,
1662
- ProcessorParameterName,
1663
- ProcessorType,
1664
- AmazonOpenSearchServerlessS3BackupMode,
1665
- CompressionFormat,
1666
- NoEncryptionConfig,
1667
- DefaultDocumentIdFormat,
1668
- AmazonopensearchserviceIndexRotationPeriod,
1669
- AmazonopensearchserviceS3BackupMode,
1670
- Connectivity,
1671
- ConcurrentModificationException,
1672
- ContentEncoding,
1673
- SSLMode,
1674
- DatabaseType,
1675
- KeyType,
1676
- DeliveryStreamType,
1677
- ElasticsearchIndexRotationPeriod,
1678
- ElasticsearchS3BackupMode,
1679
- OrcCompression,
1680
- OrcFormatVersion,
1681
- ParquetCompression,
1682
- ParquetWriterVersion,
1683
- S3BackupMode,
1684
- HttpEndpointS3BackupMode,
1685
- IcebergS3BackupMode,
1686
- RedshiftS3BackupMode,
1687
- SnowflakeDataLoadingOption,
1688
- SnowflakeS3BackupMode,
1689
- HECEndpointType,
1690
- SplunkS3BackupMode,
1691
- InvalidArgumentException,
1692
- InvalidKMSResourceException,
1693
- LimitExceededException,
1694
- ResourceInUseException,
1695
- DeliveryStreamFailureType,
1696
- SnapshotRequestedBy,
1697
- SnapshotStatus,
1698
- ResourceNotFoundException,
1699
- DeliveryStreamEncryptionStatus,
1700
- DeliveryStreamStatus,
1701
- InvalidSourceException,
1702
- ServiceUnavailableException,
1703
- HttpEndpointConfigurationFilterSensitiveLog,
1704
- HttpEndpointCommonAttributeFilterSensitiveLog,
1705
- HttpEndpointRequestConfigurationFilterSensitiveLog,
1706
- HttpEndpointDestinationConfigurationFilterSensitiveLog,
1707
- RedshiftDestinationConfigurationFilterSensitiveLog,
1708
- SnowflakeRoleConfigurationFilterSensitiveLog,
1709
- SnowflakeVpcConfigurationFilterSensitiveLog,
1710
- SnowflakeDestinationConfigurationFilterSensitiveLog,
1711
- CreateDeliveryStreamInputFilterSensitiveLog,
1712
- HttpEndpointDescriptionFilterSensitiveLog,
1713
- HttpEndpointDestinationDescriptionFilterSensitiveLog,
1714
- RedshiftDestinationDescriptionFilterSensitiveLog,
1715
- SnowflakeDestinationDescriptionFilterSensitiveLog,
1716
- DestinationDescriptionFilterSensitiveLog,
1717
- DeliveryStreamDescriptionFilterSensitiveLog,
1718
- DescribeDeliveryStreamOutputFilterSensitiveLog,
1719
- HttpEndpointDestinationUpdateFilterSensitiveLog,
1720
- RedshiftDestinationUpdateFilterSensitiveLog,
1721
- SnowflakeDestinationUpdateFilterSensitiveLog,
1722
- UpdateDestinationInputFilterSensitiveLog
1452
+ Object.defineProperty(exports, "$Command", {
1453
+ enumerable: true,
1454
+ get: function () { return smithyClient.Command; }
1723
1455
  });
1724
-
1456
+ Object.defineProperty(exports, "__Client", {
1457
+ enumerable: true,
1458
+ get: function () { return smithyClient.Client; }
1459
+ });
1460
+ exports.AmazonOpenSearchServerlessS3BackupMode = AmazonOpenSearchServerlessS3BackupMode;
1461
+ exports.AmazonopensearchserviceIndexRotationPeriod = AmazonopensearchserviceIndexRotationPeriod;
1462
+ exports.AmazonopensearchserviceS3BackupMode = AmazonopensearchserviceS3BackupMode;
1463
+ exports.CompressionFormat = CompressionFormat;
1464
+ exports.ConcurrentModificationException = ConcurrentModificationException;
1465
+ exports.Connectivity = Connectivity;
1466
+ exports.ContentEncoding = ContentEncoding;
1467
+ exports.CreateDeliveryStreamCommand = CreateDeliveryStreamCommand;
1468
+ exports.CreateDeliveryStreamInputFilterSensitiveLog = CreateDeliveryStreamInputFilterSensitiveLog;
1469
+ exports.DatabaseType = DatabaseType;
1470
+ exports.DefaultDocumentIdFormat = DefaultDocumentIdFormat;
1471
+ exports.DeleteDeliveryStreamCommand = DeleteDeliveryStreamCommand;
1472
+ exports.DeliveryStreamDescriptionFilterSensitiveLog = DeliveryStreamDescriptionFilterSensitiveLog;
1473
+ exports.DeliveryStreamEncryptionStatus = DeliveryStreamEncryptionStatus;
1474
+ exports.DeliveryStreamFailureType = DeliveryStreamFailureType;
1475
+ exports.DeliveryStreamStatus = DeliveryStreamStatus;
1476
+ exports.DeliveryStreamType = DeliveryStreamType;
1477
+ exports.DescribeDeliveryStreamCommand = DescribeDeliveryStreamCommand;
1478
+ exports.DescribeDeliveryStreamOutputFilterSensitiveLog = DescribeDeliveryStreamOutputFilterSensitiveLog;
1479
+ exports.DestinationDescriptionFilterSensitiveLog = DestinationDescriptionFilterSensitiveLog;
1480
+ exports.ElasticsearchIndexRotationPeriod = ElasticsearchIndexRotationPeriod;
1481
+ exports.ElasticsearchS3BackupMode = ElasticsearchS3BackupMode;
1482
+ exports.Firehose = Firehose;
1483
+ exports.FirehoseClient = FirehoseClient;
1484
+ exports.FirehoseServiceException = FirehoseServiceException;
1485
+ exports.HECEndpointType = HECEndpointType;
1486
+ exports.HttpEndpointCommonAttributeFilterSensitiveLog = HttpEndpointCommonAttributeFilterSensitiveLog;
1487
+ exports.HttpEndpointConfigurationFilterSensitiveLog = HttpEndpointConfigurationFilterSensitiveLog;
1488
+ exports.HttpEndpointDescriptionFilterSensitiveLog = HttpEndpointDescriptionFilterSensitiveLog;
1489
+ exports.HttpEndpointDestinationConfigurationFilterSensitiveLog = HttpEndpointDestinationConfigurationFilterSensitiveLog;
1490
+ exports.HttpEndpointDestinationDescriptionFilterSensitiveLog = HttpEndpointDestinationDescriptionFilterSensitiveLog;
1491
+ exports.HttpEndpointDestinationUpdateFilterSensitiveLog = HttpEndpointDestinationUpdateFilterSensitiveLog;
1492
+ exports.HttpEndpointRequestConfigurationFilterSensitiveLog = HttpEndpointRequestConfigurationFilterSensitiveLog;
1493
+ exports.HttpEndpointS3BackupMode = HttpEndpointS3BackupMode;
1494
+ exports.IcebergS3BackupMode = IcebergS3BackupMode;
1495
+ exports.InvalidArgumentException = InvalidArgumentException;
1496
+ exports.InvalidKMSResourceException = InvalidKMSResourceException;
1497
+ exports.InvalidSourceException = InvalidSourceException;
1498
+ exports.KeyType = KeyType;
1499
+ exports.LimitExceededException = LimitExceededException;
1500
+ exports.ListDeliveryStreamsCommand = ListDeliveryStreamsCommand;
1501
+ exports.ListTagsForDeliveryStreamCommand = ListTagsForDeliveryStreamCommand;
1502
+ exports.NoEncryptionConfig = NoEncryptionConfig;
1503
+ exports.OrcCompression = OrcCompression;
1504
+ exports.OrcFormatVersion = OrcFormatVersion;
1505
+ exports.ParquetCompression = ParquetCompression;
1506
+ exports.ParquetWriterVersion = ParquetWriterVersion;
1507
+ exports.ProcessorParameterName = ProcessorParameterName;
1508
+ exports.ProcessorType = ProcessorType;
1509
+ exports.PutRecordBatchCommand = PutRecordBatchCommand;
1510
+ exports.PutRecordCommand = PutRecordCommand;
1511
+ exports.RedshiftDestinationConfigurationFilterSensitiveLog = RedshiftDestinationConfigurationFilterSensitiveLog;
1512
+ exports.RedshiftDestinationDescriptionFilterSensitiveLog = RedshiftDestinationDescriptionFilterSensitiveLog;
1513
+ exports.RedshiftDestinationUpdateFilterSensitiveLog = RedshiftDestinationUpdateFilterSensitiveLog;
1514
+ exports.RedshiftS3BackupMode = RedshiftS3BackupMode;
1515
+ exports.ResourceInUseException = ResourceInUseException;
1516
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1517
+ exports.S3BackupMode = S3BackupMode;
1518
+ exports.SSLMode = SSLMode;
1519
+ exports.ServiceUnavailableException = ServiceUnavailableException;
1520
+ exports.SnapshotRequestedBy = SnapshotRequestedBy;
1521
+ exports.SnapshotStatus = SnapshotStatus;
1522
+ exports.SnowflakeDataLoadingOption = SnowflakeDataLoadingOption;
1523
+ exports.SnowflakeDestinationConfigurationFilterSensitiveLog = SnowflakeDestinationConfigurationFilterSensitiveLog;
1524
+ exports.SnowflakeDestinationDescriptionFilterSensitiveLog = SnowflakeDestinationDescriptionFilterSensitiveLog;
1525
+ exports.SnowflakeDestinationUpdateFilterSensitiveLog = SnowflakeDestinationUpdateFilterSensitiveLog;
1526
+ exports.SnowflakeRoleConfigurationFilterSensitiveLog = SnowflakeRoleConfigurationFilterSensitiveLog;
1527
+ exports.SnowflakeS3BackupMode = SnowflakeS3BackupMode;
1528
+ exports.SnowflakeVpcConfigurationFilterSensitiveLog = SnowflakeVpcConfigurationFilterSensitiveLog;
1529
+ exports.SplunkS3BackupMode = SplunkS3BackupMode;
1530
+ exports.StartDeliveryStreamEncryptionCommand = StartDeliveryStreamEncryptionCommand;
1531
+ exports.StopDeliveryStreamEncryptionCommand = StopDeliveryStreamEncryptionCommand;
1532
+ exports.TagDeliveryStreamCommand = TagDeliveryStreamCommand;
1533
+ exports.UntagDeliveryStreamCommand = UntagDeliveryStreamCommand;
1534
+ exports.UpdateDestinationCommand = UpdateDestinationCommand;
1535
+ exports.UpdateDestinationInputFilterSensitiveLog = UpdateDestinationInputFilterSensitiveLog;