@aws-sdk/client-firehose 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +252 -1630
- package/dist-es/protocols/Aws_json1_1.js +253 -1631
- package/package.json +6 -6
|
@@ -6,120 +6,84 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
6
6
|
const FirehoseServiceException_1 = require("../models/FirehoseServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const se_CreateDeliveryStreamCommand = async (input, context) => {
|
|
9
|
-
const headers =
|
|
10
|
-
"content-type": "application/x-amz-json-1.1",
|
|
11
|
-
"x-amz-target": "Firehose_20150804.CreateDeliveryStream",
|
|
12
|
-
};
|
|
9
|
+
const headers = sharedHeaders("CreateDeliveryStream");
|
|
13
10
|
let body;
|
|
14
11
|
body = JSON.stringify(se_CreateDeliveryStreamInput(input, context));
|
|
15
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
13
|
};
|
|
17
14
|
exports.se_CreateDeliveryStreamCommand = se_CreateDeliveryStreamCommand;
|
|
18
15
|
const se_DeleteDeliveryStreamCommand = async (input, context) => {
|
|
19
|
-
const headers =
|
|
20
|
-
"content-type": "application/x-amz-json-1.1",
|
|
21
|
-
"x-amz-target": "Firehose_20150804.DeleteDeliveryStream",
|
|
22
|
-
};
|
|
16
|
+
const headers = sharedHeaders("DeleteDeliveryStream");
|
|
23
17
|
let body;
|
|
24
|
-
body = JSON.stringify(
|
|
18
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
25
19
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
26
20
|
};
|
|
27
21
|
exports.se_DeleteDeliveryStreamCommand = se_DeleteDeliveryStreamCommand;
|
|
28
22
|
const se_DescribeDeliveryStreamCommand = async (input, context) => {
|
|
29
|
-
const headers =
|
|
30
|
-
"content-type": "application/x-amz-json-1.1",
|
|
31
|
-
"x-amz-target": "Firehose_20150804.DescribeDeliveryStream",
|
|
32
|
-
};
|
|
23
|
+
const headers = sharedHeaders("DescribeDeliveryStream");
|
|
33
24
|
let body;
|
|
34
|
-
body = JSON.stringify(
|
|
25
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
35
26
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
27
|
};
|
|
37
28
|
exports.se_DescribeDeliveryStreamCommand = se_DescribeDeliveryStreamCommand;
|
|
38
29
|
const se_ListDeliveryStreamsCommand = async (input, context) => {
|
|
39
|
-
const headers =
|
|
40
|
-
"content-type": "application/x-amz-json-1.1",
|
|
41
|
-
"x-amz-target": "Firehose_20150804.ListDeliveryStreams",
|
|
42
|
-
};
|
|
30
|
+
const headers = sharedHeaders("ListDeliveryStreams");
|
|
43
31
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
45
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
34
|
};
|
|
47
35
|
exports.se_ListDeliveryStreamsCommand = se_ListDeliveryStreamsCommand;
|
|
48
36
|
const se_ListTagsForDeliveryStreamCommand = async (input, context) => {
|
|
49
|
-
const headers =
|
|
50
|
-
"content-type": "application/x-amz-json-1.1",
|
|
51
|
-
"x-amz-target": "Firehose_20150804.ListTagsForDeliveryStream",
|
|
52
|
-
};
|
|
37
|
+
const headers = sharedHeaders("ListTagsForDeliveryStream");
|
|
53
38
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
41
|
};
|
|
57
42
|
exports.se_ListTagsForDeliveryStreamCommand = se_ListTagsForDeliveryStreamCommand;
|
|
58
43
|
const se_PutRecordCommand = async (input, context) => {
|
|
59
|
-
const headers =
|
|
60
|
-
"content-type": "application/x-amz-json-1.1",
|
|
61
|
-
"x-amz-target": "Firehose_20150804.PutRecord",
|
|
62
|
-
};
|
|
44
|
+
const headers = sharedHeaders("PutRecord");
|
|
63
45
|
let body;
|
|
64
46
|
body = JSON.stringify(se_PutRecordInput(input, context));
|
|
65
47
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
48
|
};
|
|
67
49
|
exports.se_PutRecordCommand = se_PutRecordCommand;
|
|
68
50
|
const se_PutRecordBatchCommand = async (input, context) => {
|
|
69
|
-
const headers =
|
|
70
|
-
"content-type": "application/x-amz-json-1.1",
|
|
71
|
-
"x-amz-target": "Firehose_20150804.PutRecordBatch",
|
|
72
|
-
};
|
|
51
|
+
const headers = sharedHeaders("PutRecordBatch");
|
|
73
52
|
let body;
|
|
74
53
|
body = JSON.stringify(se_PutRecordBatchInput(input, context));
|
|
75
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
55
|
};
|
|
77
56
|
exports.se_PutRecordBatchCommand = se_PutRecordBatchCommand;
|
|
78
57
|
const se_StartDeliveryStreamEncryptionCommand = async (input, context) => {
|
|
79
|
-
const headers =
|
|
80
|
-
"content-type": "application/x-amz-json-1.1",
|
|
81
|
-
"x-amz-target": "Firehose_20150804.StartDeliveryStreamEncryption",
|
|
82
|
-
};
|
|
58
|
+
const headers = sharedHeaders("StartDeliveryStreamEncryption");
|
|
83
59
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
60
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
85
61
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
62
|
};
|
|
87
63
|
exports.se_StartDeliveryStreamEncryptionCommand = se_StartDeliveryStreamEncryptionCommand;
|
|
88
64
|
const se_StopDeliveryStreamEncryptionCommand = async (input, context) => {
|
|
89
|
-
const headers =
|
|
90
|
-
"content-type": "application/x-amz-json-1.1",
|
|
91
|
-
"x-amz-target": "Firehose_20150804.StopDeliveryStreamEncryption",
|
|
92
|
-
};
|
|
65
|
+
const headers = sharedHeaders("StopDeliveryStreamEncryption");
|
|
93
66
|
let body;
|
|
94
|
-
body = JSON.stringify(
|
|
67
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
95
68
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
69
|
};
|
|
97
70
|
exports.se_StopDeliveryStreamEncryptionCommand = se_StopDeliveryStreamEncryptionCommand;
|
|
98
71
|
const se_TagDeliveryStreamCommand = async (input, context) => {
|
|
99
|
-
const headers =
|
|
100
|
-
"content-type": "application/x-amz-json-1.1",
|
|
101
|
-
"x-amz-target": "Firehose_20150804.TagDeliveryStream",
|
|
102
|
-
};
|
|
72
|
+
const headers = sharedHeaders("TagDeliveryStream");
|
|
103
73
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
105
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
76
|
};
|
|
107
77
|
exports.se_TagDeliveryStreamCommand = se_TagDeliveryStreamCommand;
|
|
108
78
|
const se_UntagDeliveryStreamCommand = async (input, context) => {
|
|
109
|
-
const headers =
|
|
110
|
-
"content-type": "application/x-amz-json-1.1",
|
|
111
|
-
"x-amz-target": "Firehose_20150804.UntagDeliveryStream",
|
|
112
|
-
};
|
|
79
|
+
const headers = sharedHeaders("UntagDeliveryStream");
|
|
113
80
|
let body;
|
|
114
|
-
body = JSON.stringify(
|
|
81
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
115
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
116
83
|
};
|
|
117
84
|
exports.se_UntagDeliveryStreamCommand = se_UntagDeliveryStreamCommand;
|
|
118
85
|
const se_UpdateDestinationCommand = async (input, context) => {
|
|
119
|
-
const headers =
|
|
120
|
-
"content-type": "application/x-amz-json-1.1",
|
|
121
|
-
"x-amz-target": "Firehose_20150804.UpdateDestination",
|
|
122
|
-
};
|
|
86
|
+
const headers = sharedHeaders("UpdateDestination");
|
|
123
87
|
let body;
|
|
124
88
|
body = JSON.stringify(se_UpdateDestinationInput(input, context));
|
|
125
89
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -131,12 +95,12 @@ const de_CreateDeliveryStreamCommand = async (output, context) => {
|
|
|
131
95
|
}
|
|
132
96
|
const data = await parseBody(output.body, context);
|
|
133
97
|
let contents = {};
|
|
134
|
-
contents =
|
|
98
|
+
contents = (0, smithy_client_1._json)(data);
|
|
135
99
|
const response = {
|
|
136
100
|
$metadata: deserializeMetadata(output),
|
|
137
101
|
...contents,
|
|
138
102
|
};
|
|
139
|
-
return
|
|
103
|
+
return response;
|
|
140
104
|
};
|
|
141
105
|
exports.de_CreateDeliveryStreamCommand = de_CreateDeliveryStreamCommand;
|
|
142
106
|
const de_CreateDeliveryStreamCommandError = async (output, context) => {
|
|
@@ -160,10 +124,9 @@ const de_CreateDeliveryStreamCommandError = async (output, context) => {
|
|
|
160
124
|
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
161
125
|
default:
|
|
162
126
|
const parsedBody = parsedOutput.body;
|
|
163
|
-
|
|
127
|
+
return throwDefaultError({
|
|
164
128
|
output,
|
|
165
129
|
parsedBody,
|
|
166
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
167
130
|
errorCode,
|
|
168
131
|
});
|
|
169
132
|
}
|
|
@@ -174,12 +137,12 @@ const de_DeleteDeliveryStreamCommand = async (output, context) => {
|
|
|
174
137
|
}
|
|
175
138
|
const data = await parseBody(output.body, context);
|
|
176
139
|
let contents = {};
|
|
177
|
-
contents =
|
|
140
|
+
contents = (0, smithy_client_1._json)(data);
|
|
178
141
|
const response = {
|
|
179
142
|
$metadata: deserializeMetadata(output),
|
|
180
143
|
...contents,
|
|
181
144
|
};
|
|
182
|
-
return
|
|
145
|
+
return response;
|
|
183
146
|
};
|
|
184
147
|
exports.de_DeleteDeliveryStreamCommand = de_DeleteDeliveryStreamCommand;
|
|
185
148
|
const de_DeleteDeliveryStreamCommandError = async (output, context) => {
|
|
@@ -197,10 +160,9 @@ const de_DeleteDeliveryStreamCommandError = async (output, context) => {
|
|
|
197
160
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
198
161
|
default:
|
|
199
162
|
const parsedBody = parsedOutput.body;
|
|
200
|
-
|
|
163
|
+
return throwDefaultError({
|
|
201
164
|
output,
|
|
202
165
|
parsedBody,
|
|
203
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
204
166
|
errorCode,
|
|
205
167
|
});
|
|
206
168
|
}
|
|
@@ -216,7 +178,7 @@ const de_DescribeDeliveryStreamCommand = async (output, context) => {
|
|
|
216
178
|
$metadata: deserializeMetadata(output),
|
|
217
179
|
...contents,
|
|
218
180
|
};
|
|
219
|
-
return
|
|
181
|
+
return response;
|
|
220
182
|
};
|
|
221
183
|
exports.de_DescribeDeliveryStreamCommand = de_DescribeDeliveryStreamCommand;
|
|
222
184
|
const de_DescribeDeliveryStreamCommandError = async (output, context) => {
|
|
@@ -231,10 +193,9 @@ const de_DescribeDeliveryStreamCommandError = async (output, context) => {
|
|
|
231
193
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
232
194
|
default:
|
|
233
195
|
const parsedBody = parsedOutput.body;
|
|
234
|
-
|
|
196
|
+
return throwDefaultError({
|
|
235
197
|
output,
|
|
236
198
|
parsedBody,
|
|
237
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
238
199
|
errorCode,
|
|
239
200
|
});
|
|
240
201
|
}
|
|
@@ -245,12 +206,12 @@ const de_ListDeliveryStreamsCommand = async (output, context) => {
|
|
|
245
206
|
}
|
|
246
207
|
const data = await parseBody(output.body, context);
|
|
247
208
|
let contents = {};
|
|
248
|
-
contents =
|
|
209
|
+
contents = (0, smithy_client_1._json)(data);
|
|
249
210
|
const response = {
|
|
250
211
|
$metadata: deserializeMetadata(output),
|
|
251
212
|
...contents,
|
|
252
213
|
};
|
|
253
|
-
return
|
|
214
|
+
return response;
|
|
254
215
|
};
|
|
255
216
|
exports.de_ListDeliveryStreamsCommand = de_ListDeliveryStreamsCommand;
|
|
256
217
|
const de_ListDeliveryStreamsCommandError = async (output, context) => {
|
|
@@ -260,10 +221,9 @@ const de_ListDeliveryStreamsCommandError = async (output, context) => {
|
|
|
260
221
|
};
|
|
261
222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
262
223
|
const parsedBody = parsedOutput.body;
|
|
263
|
-
|
|
224
|
+
return throwDefaultError({
|
|
264
225
|
output,
|
|
265
226
|
parsedBody,
|
|
266
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
267
227
|
errorCode,
|
|
268
228
|
});
|
|
269
229
|
};
|
|
@@ -273,12 +233,12 @@ const de_ListTagsForDeliveryStreamCommand = async (output, context) => {
|
|
|
273
233
|
}
|
|
274
234
|
const data = await parseBody(output.body, context);
|
|
275
235
|
let contents = {};
|
|
276
|
-
contents =
|
|
236
|
+
contents = (0, smithy_client_1._json)(data);
|
|
277
237
|
const response = {
|
|
278
238
|
$metadata: deserializeMetadata(output),
|
|
279
239
|
...contents,
|
|
280
240
|
};
|
|
281
|
-
return
|
|
241
|
+
return response;
|
|
282
242
|
};
|
|
283
243
|
exports.de_ListTagsForDeliveryStreamCommand = de_ListTagsForDeliveryStreamCommand;
|
|
284
244
|
const de_ListTagsForDeliveryStreamCommandError = async (output, context) => {
|
|
@@ -299,10 +259,9 @@ const de_ListTagsForDeliveryStreamCommandError = async (output, context) => {
|
|
|
299
259
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
300
260
|
default:
|
|
301
261
|
const parsedBody = parsedOutput.body;
|
|
302
|
-
|
|
262
|
+
return throwDefaultError({
|
|
303
263
|
output,
|
|
304
264
|
parsedBody,
|
|
305
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
306
265
|
errorCode,
|
|
307
266
|
});
|
|
308
267
|
}
|
|
@@ -313,12 +272,12 @@ const de_PutRecordCommand = async (output, context) => {
|
|
|
313
272
|
}
|
|
314
273
|
const data = await parseBody(output.body, context);
|
|
315
274
|
let contents = {};
|
|
316
|
-
contents =
|
|
275
|
+
contents = (0, smithy_client_1._json)(data);
|
|
317
276
|
const response = {
|
|
318
277
|
$metadata: deserializeMetadata(output),
|
|
319
278
|
...contents,
|
|
320
279
|
};
|
|
321
|
-
return
|
|
280
|
+
return response;
|
|
322
281
|
};
|
|
323
282
|
exports.de_PutRecordCommand = de_PutRecordCommand;
|
|
324
283
|
const de_PutRecordCommandError = async (output, context) => {
|
|
@@ -342,10 +301,9 @@ const de_PutRecordCommandError = async (output, context) => {
|
|
|
342
301
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
343
302
|
default:
|
|
344
303
|
const parsedBody = parsedOutput.body;
|
|
345
|
-
|
|
304
|
+
return throwDefaultError({
|
|
346
305
|
output,
|
|
347
306
|
parsedBody,
|
|
348
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
349
307
|
errorCode,
|
|
350
308
|
});
|
|
351
309
|
}
|
|
@@ -356,12 +314,12 @@ const de_PutRecordBatchCommand = async (output, context) => {
|
|
|
356
314
|
}
|
|
357
315
|
const data = await parseBody(output.body, context);
|
|
358
316
|
let contents = {};
|
|
359
|
-
contents =
|
|
317
|
+
contents = (0, smithy_client_1._json)(data);
|
|
360
318
|
const response = {
|
|
361
319
|
$metadata: deserializeMetadata(output),
|
|
362
320
|
...contents,
|
|
363
321
|
};
|
|
364
|
-
return
|
|
322
|
+
return response;
|
|
365
323
|
};
|
|
366
324
|
exports.de_PutRecordBatchCommand = de_PutRecordBatchCommand;
|
|
367
325
|
const de_PutRecordBatchCommandError = async (output, context) => {
|
|
@@ -385,10 +343,9 @@ const de_PutRecordBatchCommandError = async (output, context) => {
|
|
|
385
343
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
386
344
|
default:
|
|
387
345
|
const parsedBody = parsedOutput.body;
|
|
388
|
-
|
|
346
|
+
return throwDefaultError({
|
|
389
347
|
output,
|
|
390
348
|
parsedBody,
|
|
391
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
392
349
|
errorCode,
|
|
393
350
|
});
|
|
394
351
|
}
|
|
@@ -399,12 +356,12 @@ const de_StartDeliveryStreamEncryptionCommand = async (output, context) => {
|
|
|
399
356
|
}
|
|
400
357
|
const data = await parseBody(output.body, context);
|
|
401
358
|
let contents = {};
|
|
402
|
-
contents =
|
|
359
|
+
contents = (0, smithy_client_1._json)(data);
|
|
403
360
|
const response = {
|
|
404
361
|
$metadata: deserializeMetadata(output),
|
|
405
362
|
...contents,
|
|
406
363
|
};
|
|
407
|
-
return
|
|
364
|
+
return response;
|
|
408
365
|
};
|
|
409
366
|
exports.de_StartDeliveryStreamEncryptionCommand = de_StartDeliveryStreamEncryptionCommand;
|
|
410
367
|
const de_StartDeliveryStreamEncryptionCommandError = async (output, context) => {
|
|
@@ -431,10 +388,9 @@ const de_StartDeliveryStreamEncryptionCommandError = async (output, context) =>
|
|
|
431
388
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
432
389
|
default:
|
|
433
390
|
const parsedBody = parsedOutput.body;
|
|
434
|
-
|
|
391
|
+
return throwDefaultError({
|
|
435
392
|
output,
|
|
436
393
|
parsedBody,
|
|
437
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
438
394
|
errorCode,
|
|
439
395
|
});
|
|
440
396
|
}
|
|
@@ -445,12 +401,12 @@ const de_StopDeliveryStreamEncryptionCommand = async (output, context) => {
|
|
|
445
401
|
}
|
|
446
402
|
const data = await parseBody(output.body, context);
|
|
447
403
|
let contents = {};
|
|
448
|
-
contents =
|
|
404
|
+
contents = (0, smithy_client_1._json)(data);
|
|
449
405
|
const response = {
|
|
450
406
|
$metadata: deserializeMetadata(output),
|
|
451
407
|
...contents,
|
|
452
408
|
};
|
|
453
|
-
return
|
|
409
|
+
return response;
|
|
454
410
|
};
|
|
455
411
|
exports.de_StopDeliveryStreamEncryptionCommand = de_StopDeliveryStreamEncryptionCommand;
|
|
456
412
|
const de_StopDeliveryStreamEncryptionCommandError = async (output, context) => {
|
|
@@ -474,10 +430,9 @@ const de_StopDeliveryStreamEncryptionCommandError = async (output, context) => {
|
|
|
474
430
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
475
431
|
default:
|
|
476
432
|
const parsedBody = parsedOutput.body;
|
|
477
|
-
|
|
433
|
+
return throwDefaultError({
|
|
478
434
|
output,
|
|
479
435
|
parsedBody,
|
|
480
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
481
436
|
errorCode,
|
|
482
437
|
});
|
|
483
438
|
}
|
|
@@ -488,12 +443,12 @@ const de_TagDeliveryStreamCommand = async (output, context) => {
|
|
|
488
443
|
}
|
|
489
444
|
const data = await parseBody(output.body, context);
|
|
490
445
|
let contents = {};
|
|
491
|
-
contents =
|
|
446
|
+
contents = (0, smithy_client_1._json)(data);
|
|
492
447
|
const response = {
|
|
493
448
|
$metadata: deserializeMetadata(output),
|
|
494
449
|
...contents,
|
|
495
450
|
};
|
|
496
|
-
return
|
|
451
|
+
return response;
|
|
497
452
|
};
|
|
498
453
|
exports.de_TagDeliveryStreamCommand = de_TagDeliveryStreamCommand;
|
|
499
454
|
const de_TagDeliveryStreamCommandError = async (output, context) => {
|
|
@@ -517,10 +472,9 @@ const de_TagDeliveryStreamCommandError = async (output, context) => {
|
|
|
517
472
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
518
473
|
default:
|
|
519
474
|
const parsedBody = parsedOutput.body;
|
|
520
|
-
|
|
475
|
+
return throwDefaultError({
|
|
521
476
|
output,
|
|
522
477
|
parsedBody,
|
|
523
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
524
478
|
errorCode,
|
|
525
479
|
});
|
|
526
480
|
}
|
|
@@ -531,12 +485,12 @@ const de_UntagDeliveryStreamCommand = async (output, context) => {
|
|
|
531
485
|
}
|
|
532
486
|
const data = await parseBody(output.body, context);
|
|
533
487
|
let contents = {};
|
|
534
|
-
contents =
|
|
488
|
+
contents = (0, smithy_client_1._json)(data);
|
|
535
489
|
const response = {
|
|
536
490
|
$metadata: deserializeMetadata(output),
|
|
537
491
|
...contents,
|
|
538
492
|
};
|
|
539
|
-
return
|
|
493
|
+
return response;
|
|
540
494
|
};
|
|
541
495
|
exports.de_UntagDeliveryStreamCommand = de_UntagDeliveryStreamCommand;
|
|
542
496
|
const de_UntagDeliveryStreamCommandError = async (output, context) => {
|
|
@@ -560,10 +514,9 @@ const de_UntagDeliveryStreamCommandError = async (output, context) => {
|
|
|
560
514
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
561
515
|
default:
|
|
562
516
|
const parsedBody = parsedOutput.body;
|
|
563
|
-
|
|
517
|
+
return throwDefaultError({
|
|
564
518
|
output,
|
|
565
519
|
parsedBody,
|
|
566
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
567
520
|
errorCode,
|
|
568
521
|
});
|
|
569
522
|
}
|
|
@@ -574,12 +527,12 @@ const de_UpdateDestinationCommand = async (output, context) => {
|
|
|
574
527
|
}
|
|
575
528
|
const data = await parseBody(output.body, context);
|
|
576
529
|
let contents = {};
|
|
577
|
-
contents =
|
|
530
|
+
contents = (0, smithy_client_1._json)(data);
|
|
578
531
|
const response = {
|
|
579
532
|
$metadata: deserializeMetadata(output),
|
|
580
533
|
...contents,
|
|
581
534
|
};
|
|
582
|
-
return
|
|
535
|
+
return response;
|
|
583
536
|
};
|
|
584
537
|
exports.de_UpdateDestinationCommand = de_UpdateDestinationCommand;
|
|
585
538
|
const de_UpdateDestinationCommandError = async (output, context) => {
|
|
@@ -603,17 +556,16 @@ const de_UpdateDestinationCommandError = async (output, context) => {
|
|
|
603
556
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
604
557
|
default:
|
|
605
558
|
const parsedBody = parsedOutput.body;
|
|
606
|
-
|
|
559
|
+
return throwDefaultError({
|
|
607
560
|
output,
|
|
608
561
|
parsedBody,
|
|
609
|
-
exceptionCtor: FirehoseServiceException_1.FirehoseServiceException,
|
|
610
562
|
errorCode,
|
|
611
563
|
});
|
|
612
564
|
}
|
|
613
565
|
};
|
|
614
566
|
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
615
567
|
const body = parsedOutput.body;
|
|
616
|
-
const deserialized =
|
|
568
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
617
569
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
618
570
|
$metadata: deserializeMetadata(parsedOutput),
|
|
619
571
|
...deserialized,
|
|
@@ -622,7 +574,7 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
|
622
574
|
};
|
|
623
575
|
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
624
576
|
const body = parsedOutput.body;
|
|
625
|
-
const deserialized =
|
|
577
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
626
578
|
const exception = new models_0_1.InvalidArgumentException({
|
|
627
579
|
$metadata: deserializeMetadata(parsedOutput),
|
|
628
580
|
...deserialized,
|
|
@@ -631,7 +583,7 @@ const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
|
631
583
|
};
|
|
632
584
|
const de_InvalidKMSResourceExceptionRes = async (parsedOutput, context) => {
|
|
633
585
|
const body = parsedOutput.body;
|
|
634
|
-
const deserialized =
|
|
586
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
635
587
|
const exception = new models_0_1.InvalidKMSResourceException({
|
|
636
588
|
$metadata: deserializeMetadata(parsedOutput),
|
|
637
589
|
...deserialized,
|
|
@@ -640,7 +592,7 @@ const de_InvalidKMSResourceExceptionRes = async (parsedOutput, context) => {
|
|
|
640
592
|
};
|
|
641
593
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
642
594
|
const body = parsedOutput.body;
|
|
643
|
-
const deserialized =
|
|
595
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
644
596
|
const exception = new models_0_1.LimitExceededException({
|
|
645
597
|
$metadata: deserializeMetadata(parsedOutput),
|
|
646
598
|
...deserialized,
|
|
@@ -649,7 +601,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
649
601
|
};
|
|
650
602
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
651
603
|
const body = parsedOutput.body;
|
|
652
|
-
const deserialized =
|
|
604
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
653
605
|
const exception = new models_0_1.ResourceInUseException({
|
|
654
606
|
$metadata: deserializeMetadata(parsedOutput),
|
|
655
607
|
...deserialized,
|
|
@@ -658,7 +610,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
658
610
|
};
|
|
659
611
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
660
612
|
const body = parsedOutput.body;
|
|
661
|
-
const deserialized =
|
|
613
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
662
614
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
663
615
|
$metadata: deserializeMetadata(parsedOutput),
|
|
664
616
|
...deserialized,
|
|
@@ -667,588 +619,96 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
667
619
|
};
|
|
668
620
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
669
621
|
const body = parsedOutput.body;
|
|
670
|
-
const deserialized =
|
|
622
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
671
623
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
672
624
|
$metadata: deserializeMetadata(parsedOutput),
|
|
673
625
|
...deserialized,
|
|
674
626
|
});
|
|
675
627
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
676
628
|
};
|
|
677
|
-
const se_AmazonOpenSearchServerlessBufferingHints = (input, context) => {
|
|
678
|
-
return {
|
|
679
|
-
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
680
|
-
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
const se_AmazonOpenSearchServerlessDestinationConfiguration = (input, context) => {
|
|
684
|
-
return {
|
|
685
|
-
...(input.BufferingHints != null && {
|
|
686
|
-
BufferingHints: se_AmazonOpenSearchServerlessBufferingHints(input.BufferingHints, context),
|
|
687
|
-
}),
|
|
688
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
689
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
690
|
-
}),
|
|
691
|
-
...(input.CollectionEndpoint != null && { CollectionEndpoint: input.CollectionEndpoint }),
|
|
692
|
-
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
693
|
-
...(input.ProcessingConfiguration != null && {
|
|
694
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
695
|
-
}),
|
|
696
|
-
...(input.RetryOptions != null && {
|
|
697
|
-
RetryOptions: se_AmazonOpenSearchServerlessRetryOptions(input.RetryOptions, context),
|
|
698
|
-
}),
|
|
699
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
700
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
701
|
-
...(input.S3Configuration != null && {
|
|
702
|
-
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
703
|
-
}),
|
|
704
|
-
...(input.VpcConfiguration != null && { VpcConfiguration: se_VpcConfiguration(input.VpcConfiguration, context) }),
|
|
705
|
-
};
|
|
706
|
-
};
|
|
707
|
-
const se_AmazonOpenSearchServerlessDestinationUpdate = (input, context) => {
|
|
708
|
-
return {
|
|
709
|
-
...(input.BufferingHints != null && {
|
|
710
|
-
BufferingHints: se_AmazonOpenSearchServerlessBufferingHints(input.BufferingHints, context),
|
|
711
|
-
}),
|
|
712
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
713
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
714
|
-
}),
|
|
715
|
-
...(input.CollectionEndpoint != null && { CollectionEndpoint: input.CollectionEndpoint }),
|
|
716
|
-
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
717
|
-
...(input.ProcessingConfiguration != null && {
|
|
718
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
719
|
-
}),
|
|
720
|
-
...(input.RetryOptions != null && {
|
|
721
|
-
RetryOptions: se_AmazonOpenSearchServerlessRetryOptions(input.RetryOptions, context),
|
|
722
|
-
}),
|
|
723
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
724
|
-
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
725
|
-
};
|
|
726
|
-
};
|
|
727
|
-
const se_AmazonOpenSearchServerlessRetryOptions = (input, context) => {
|
|
728
|
-
return {
|
|
729
|
-
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
730
|
-
};
|
|
731
|
-
};
|
|
732
|
-
const se_AmazonopensearchserviceBufferingHints = (input, context) => {
|
|
733
|
-
return {
|
|
734
|
-
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
735
|
-
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
736
|
-
};
|
|
737
|
-
};
|
|
738
|
-
const se_AmazonopensearchserviceDestinationConfiguration = (input, context) => {
|
|
739
|
-
return {
|
|
740
|
-
...(input.BufferingHints != null && {
|
|
741
|
-
BufferingHints: se_AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
|
|
742
|
-
}),
|
|
743
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
744
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
745
|
-
}),
|
|
746
|
-
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
747
|
-
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
748
|
-
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
749
|
-
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
750
|
-
...(input.ProcessingConfiguration != null && {
|
|
751
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
752
|
-
}),
|
|
753
|
-
...(input.RetryOptions != null && {
|
|
754
|
-
RetryOptions: se_AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
|
|
755
|
-
}),
|
|
756
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
757
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
758
|
-
...(input.S3Configuration != null && {
|
|
759
|
-
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
760
|
-
}),
|
|
761
|
-
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
762
|
-
...(input.VpcConfiguration != null && { VpcConfiguration: se_VpcConfiguration(input.VpcConfiguration, context) }),
|
|
763
|
-
};
|
|
764
|
-
};
|
|
765
|
-
const se_AmazonopensearchserviceDestinationUpdate = (input, context) => {
|
|
766
|
-
return {
|
|
767
|
-
...(input.BufferingHints != null && {
|
|
768
|
-
BufferingHints: se_AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
|
|
769
|
-
}),
|
|
770
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
771
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
772
|
-
}),
|
|
773
|
-
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
774
|
-
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
775
|
-
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
776
|
-
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
777
|
-
...(input.ProcessingConfiguration != null && {
|
|
778
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
779
|
-
}),
|
|
780
|
-
...(input.RetryOptions != null && {
|
|
781
|
-
RetryOptions: se_AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
|
|
782
|
-
}),
|
|
783
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
784
|
-
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
785
|
-
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
786
|
-
};
|
|
787
|
-
};
|
|
788
|
-
const se_AmazonopensearchserviceRetryOptions = (input, context) => {
|
|
789
|
-
return {
|
|
790
|
-
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
const se_BufferingHints = (input, context) => {
|
|
794
|
-
return {
|
|
795
|
-
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
796
|
-
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
const se_CloudWatchLoggingOptions = (input, context) => {
|
|
800
|
-
return {
|
|
801
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
802
|
-
...(input.LogGroupName != null && { LogGroupName: input.LogGroupName }),
|
|
803
|
-
...(input.LogStreamName != null && { LogStreamName: input.LogStreamName }),
|
|
804
|
-
};
|
|
805
|
-
};
|
|
806
|
-
const se_ColumnToJsonKeyMappings = (input, context) => {
|
|
807
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
808
|
-
if (value === null) {
|
|
809
|
-
return acc;
|
|
810
|
-
}
|
|
811
|
-
acc[key] = value;
|
|
812
|
-
return acc;
|
|
813
|
-
}, {});
|
|
814
|
-
};
|
|
815
|
-
const se_CopyCommand = (input, context) => {
|
|
816
|
-
return {
|
|
817
|
-
...(input.CopyOptions != null && { CopyOptions: input.CopyOptions }),
|
|
818
|
-
...(input.DataTableColumns != null && { DataTableColumns: input.DataTableColumns }),
|
|
819
|
-
...(input.DataTableName != null && { DataTableName: input.DataTableName }),
|
|
820
|
-
};
|
|
821
|
-
};
|
|
822
629
|
const se_CreateDeliveryStreamInput = (input, context) => {
|
|
823
|
-
return {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
...(input.ExtendedS3DestinationConfiguration != null && {
|
|
839
|
-
ExtendedS3DestinationConfiguration: se_ExtendedS3DestinationConfiguration(input.ExtendedS3DestinationConfiguration, context),
|
|
840
|
-
}),
|
|
841
|
-
...(input.HttpEndpointDestinationConfiguration != null && {
|
|
842
|
-
HttpEndpointDestinationConfiguration: se_HttpEndpointDestinationConfiguration(input.HttpEndpointDestinationConfiguration, context),
|
|
843
|
-
}),
|
|
844
|
-
...(input.KinesisStreamSourceConfiguration != null && {
|
|
845
|
-
KinesisStreamSourceConfiguration: se_KinesisStreamSourceConfiguration(input.KinesisStreamSourceConfiguration, context),
|
|
846
|
-
}),
|
|
847
|
-
...(input.RedshiftDestinationConfiguration != null && {
|
|
848
|
-
RedshiftDestinationConfiguration: se_RedshiftDestinationConfiguration(input.RedshiftDestinationConfiguration, context),
|
|
849
|
-
}),
|
|
850
|
-
...(input.S3DestinationConfiguration != null && {
|
|
851
|
-
S3DestinationConfiguration: se_S3DestinationConfiguration(input.S3DestinationConfiguration, context),
|
|
852
|
-
}),
|
|
853
|
-
...(input.SplunkDestinationConfiguration != null && {
|
|
854
|
-
SplunkDestinationConfiguration: se_SplunkDestinationConfiguration(input.SplunkDestinationConfiguration, context),
|
|
855
|
-
}),
|
|
856
|
-
...(input.Tags != null && { Tags: se_TagDeliveryStreamInputTagList(input.Tags, context) }),
|
|
857
|
-
};
|
|
630
|
+
return (0, smithy_client_1.take)(input, {
|
|
631
|
+
AmazonOpenSearchServerlessDestinationConfiguration: smithy_client_1._json,
|
|
632
|
+
AmazonopensearchserviceDestinationConfiguration: smithy_client_1._json,
|
|
633
|
+
DeliveryStreamEncryptionConfigurationInput: smithy_client_1._json,
|
|
634
|
+
DeliveryStreamName: [],
|
|
635
|
+
DeliveryStreamType: [],
|
|
636
|
+
ElasticsearchDestinationConfiguration: smithy_client_1._json,
|
|
637
|
+
ExtendedS3DestinationConfiguration: (_) => se_ExtendedS3DestinationConfiguration(_, context),
|
|
638
|
+
HttpEndpointDestinationConfiguration: smithy_client_1._json,
|
|
639
|
+
KinesisStreamSourceConfiguration: smithy_client_1._json,
|
|
640
|
+
RedshiftDestinationConfiguration: smithy_client_1._json,
|
|
641
|
+
S3DestinationConfiguration: smithy_client_1._json,
|
|
642
|
+
SplunkDestinationConfiguration: smithy_client_1._json,
|
|
643
|
+
Tags: smithy_client_1._json,
|
|
644
|
+
});
|
|
858
645
|
};
|
|
859
646
|
const se_DataFormatConversionConfiguration = (input, context) => {
|
|
860
|
-
return {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
...(input.OutputFormatConfiguration != null && {
|
|
866
|
-
OutputFormatConfiguration: se_OutputFormatConfiguration(input.OutputFormatConfiguration, context),
|
|
867
|
-
}),
|
|
868
|
-
...(input.SchemaConfiguration != null && {
|
|
869
|
-
SchemaConfiguration: se_SchemaConfiguration(input.SchemaConfiguration, context),
|
|
870
|
-
}),
|
|
871
|
-
};
|
|
872
|
-
};
|
|
873
|
-
const se_DeleteDeliveryStreamInput = (input, context) => {
|
|
874
|
-
return {
|
|
875
|
-
...(input.AllowForceDelete != null && { AllowForceDelete: input.AllowForceDelete }),
|
|
876
|
-
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
877
|
-
};
|
|
878
|
-
};
|
|
879
|
-
const se_DeliveryStreamEncryptionConfigurationInput = (input, context) => {
|
|
880
|
-
return {
|
|
881
|
-
...(input.KeyARN != null && { KeyARN: input.KeyARN }),
|
|
882
|
-
...(input.KeyType != null && { KeyType: input.KeyType }),
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
const se_DescribeDeliveryStreamInput = (input, context) => {
|
|
886
|
-
return {
|
|
887
|
-
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
888
|
-
...(input.ExclusiveStartDestinationId != null && {
|
|
889
|
-
ExclusiveStartDestinationId: input.ExclusiveStartDestinationId,
|
|
890
|
-
}),
|
|
891
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
892
|
-
};
|
|
893
|
-
};
|
|
894
|
-
const se_Deserializer = (input, context) => {
|
|
895
|
-
return {
|
|
896
|
-
...(input.HiveJsonSerDe != null && { HiveJsonSerDe: se_HiveJsonSerDe(input.HiveJsonSerDe, context) }),
|
|
897
|
-
...(input.OpenXJsonSerDe != null && { OpenXJsonSerDe: se_OpenXJsonSerDe(input.OpenXJsonSerDe, context) }),
|
|
898
|
-
};
|
|
899
|
-
};
|
|
900
|
-
const se_DynamicPartitioningConfiguration = (input, context) => {
|
|
901
|
-
return {
|
|
902
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
903
|
-
...(input.RetryOptions != null && { RetryOptions: se_RetryOptions(input.RetryOptions, context) }),
|
|
904
|
-
};
|
|
905
|
-
};
|
|
906
|
-
const se_ElasticsearchBufferingHints = (input, context) => {
|
|
907
|
-
return {
|
|
908
|
-
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
909
|
-
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
910
|
-
};
|
|
911
|
-
};
|
|
912
|
-
const se_ElasticsearchDestinationConfiguration = (input, context) => {
|
|
913
|
-
return {
|
|
914
|
-
...(input.BufferingHints != null && {
|
|
915
|
-
BufferingHints: se_ElasticsearchBufferingHints(input.BufferingHints, context),
|
|
916
|
-
}),
|
|
917
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
918
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
919
|
-
}),
|
|
920
|
-
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
921
|
-
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
922
|
-
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
923
|
-
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
924
|
-
...(input.ProcessingConfiguration != null && {
|
|
925
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
926
|
-
}),
|
|
927
|
-
...(input.RetryOptions != null && { RetryOptions: se_ElasticsearchRetryOptions(input.RetryOptions, context) }),
|
|
928
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
929
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
930
|
-
...(input.S3Configuration != null && {
|
|
931
|
-
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
932
|
-
}),
|
|
933
|
-
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
934
|
-
...(input.VpcConfiguration != null && { VpcConfiguration: se_VpcConfiguration(input.VpcConfiguration, context) }),
|
|
935
|
-
};
|
|
936
|
-
};
|
|
937
|
-
const se_ElasticsearchDestinationUpdate = (input, context) => {
|
|
938
|
-
return {
|
|
939
|
-
...(input.BufferingHints != null && {
|
|
940
|
-
BufferingHints: se_ElasticsearchBufferingHints(input.BufferingHints, context),
|
|
941
|
-
}),
|
|
942
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
943
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
944
|
-
}),
|
|
945
|
-
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
946
|
-
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
947
|
-
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
948
|
-
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
949
|
-
...(input.ProcessingConfiguration != null && {
|
|
950
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
951
|
-
}),
|
|
952
|
-
...(input.RetryOptions != null && { RetryOptions: se_ElasticsearchRetryOptions(input.RetryOptions, context) }),
|
|
953
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
954
|
-
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
955
|
-
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
const se_ElasticsearchRetryOptions = (input, context) => {
|
|
959
|
-
return {
|
|
960
|
-
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
961
|
-
};
|
|
962
|
-
};
|
|
963
|
-
const se_EncryptionConfiguration = (input, context) => {
|
|
964
|
-
return {
|
|
965
|
-
...(input.KMSEncryptionConfig != null && {
|
|
966
|
-
KMSEncryptionConfig: se_KMSEncryptionConfig(input.KMSEncryptionConfig, context),
|
|
967
|
-
}),
|
|
968
|
-
...(input.NoEncryptionConfig != null && { NoEncryptionConfig: input.NoEncryptionConfig }),
|
|
969
|
-
};
|
|
970
|
-
};
|
|
971
|
-
const se_ExtendedS3DestinationConfiguration = (input, context) => {
|
|
972
|
-
return {
|
|
973
|
-
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
974
|
-
...(input.BufferingHints != null && { BufferingHints: se_BufferingHints(input.BufferingHints, context) }),
|
|
975
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
976
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
977
|
-
}),
|
|
978
|
-
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
979
|
-
...(input.DataFormatConversionConfiguration != null && {
|
|
980
|
-
DataFormatConversionConfiguration: se_DataFormatConversionConfiguration(input.DataFormatConversionConfiguration, context),
|
|
981
|
-
}),
|
|
982
|
-
...(input.DynamicPartitioningConfiguration != null && {
|
|
983
|
-
DynamicPartitioningConfiguration: se_DynamicPartitioningConfiguration(input.DynamicPartitioningConfiguration, context),
|
|
984
|
-
}),
|
|
985
|
-
...(input.EncryptionConfiguration != null && {
|
|
986
|
-
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
987
|
-
}),
|
|
988
|
-
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
989
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
990
|
-
...(input.ProcessingConfiguration != null && {
|
|
991
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
992
|
-
}),
|
|
993
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
994
|
-
...(input.S3BackupConfiguration != null && {
|
|
995
|
-
S3BackupConfiguration: se_S3DestinationConfiguration(input.S3BackupConfiguration, context),
|
|
996
|
-
}),
|
|
997
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
998
|
-
};
|
|
999
|
-
};
|
|
1000
|
-
const se_ExtendedS3DestinationUpdate = (input, context) => {
|
|
1001
|
-
return {
|
|
1002
|
-
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1003
|
-
...(input.BufferingHints != null && { BufferingHints: se_BufferingHints(input.BufferingHints, context) }),
|
|
1004
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
1005
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1006
|
-
}),
|
|
1007
|
-
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
1008
|
-
...(input.DataFormatConversionConfiguration != null && {
|
|
1009
|
-
DataFormatConversionConfiguration: se_DataFormatConversionConfiguration(input.DataFormatConversionConfiguration, context),
|
|
1010
|
-
}),
|
|
1011
|
-
...(input.DynamicPartitioningConfiguration != null && {
|
|
1012
|
-
DynamicPartitioningConfiguration: se_DynamicPartitioningConfiguration(input.DynamicPartitioningConfiguration, context),
|
|
1013
|
-
}),
|
|
1014
|
-
...(input.EncryptionConfiguration != null && {
|
|
1015
|
-
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1016
|
-
}),
|
|
1017
|
-
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
1018
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1019
|
-
...(input.ProcessingConfiguration != null && {
|
|
1020
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1021
|
-
}),
|
|
1022
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1023
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1024
|
-
...(input.S3BackupUpdate != null && { S3BackupUpdate: se_S3DestinationUpdate(input.S3BackupUpdate, context) }),
|
|
1025
|
-
};
|
|
1026
|
-
};
|
|
1027
|
-
const se_HiveJsonSerDe = (input, context) => {
|
|
1028
|
-
return {
|
|
1029
|
-
...(input.TimestampFormats != null && {
|
|
1030
|
-
TimestampFormats: se_ListOfNonEmptyStrings(input.TimestampFormats, context),
|
|
1031
|
-
}),
|
|
1032
|
-
};
|
|
1033
|
-
};
|
|
1034
|
-
const se_HttpEndpointBufferingHints = (input, context) => {
|
|
1035
|
-
return {
|
|
1036
|
-
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
1037
|
-
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
1038
|
-
};
|
|
1039
|
-
};
|
|
1040
|
-
const se_HttpEndpointCommonAttribute = (input, context) => {
|
|
1041
|
-
return {
|
|
1042
|
-
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
1043
|
-
...(input.AttributeValue != null && { AttributeValue: input.AttributeValue }),
|
|
1044
|
-
};
|
|
1045
|
-
};
|
|
1046
|
-
const se_HttpEndpointCommonAttributesList = (input, context) => {
|
|
1047
|
-
return input
|
|
1048
|
-
.filter((e) => e != null)
|
|
1049
|
-
.map((entry) => {
|
|
1050
|
-
return se_HttpEndpointCommonAttribute(entry, context);
|
|
647
|
+
return (0, smithy_client_1.take)(input, {
|
|
648
|
+
Enabled: [],
|
|
649
|
+
InputFormatConfiguration: smithy_client_1._json,
|
|
650
|
+
OutputFormatConfiguration: (_) => se_OutputFormatConfiguration(_, context),
|
|
651
|
+
SchemaConfiguration: smithy_client_1._json,
|
|
1051
652
|
});
|
|
1052
653
|
};
|
|
1053
|
-
const
|
|
1054
|
-
return {
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
...(input.EndpointConfiguration != null && {
|
|
1069
|
-
EndpointConfiguration: se_HttpEndpointConfiguration(input.EndpointConfiguration, context),
|
|
1070
|
-
}),
|
|
1071
|
-
...(input.ProcessingConfiguration != null && {
|
|
1072
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1073
|
-
}),
|
|
1074
|
-
...(input.RequestConfiguration != null && {
|
|
1075
|
-
RequestConfiguration: se_HttpEndpointRequestConfiguration(input.RequestConfiguration, context),
|
|
1076
|
-
}),
|
|
1077
|
-
...(input.RetryOptions != null && { RetryOptions: se_HttpEndpointRetryOptions(input.RetryOptions, context) }),
|
|
1078
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1079
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1080
|
-
...(input.S3Configuration != null && {
|
|
1081
|
-
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
1082
|
-
}),
|
|
1083
|
-
};
|
|
1084
|
-
};
|
|
1085
|
-
const se_HttpEndpointDestinationUpdate = (input, context) => {
|
|
1086
|
-
return {
|
|
1087
|
-
...(input.BufferingHints != null && {
|
|
1088
|
-
BufferingHints: se_HttpEndpointBufferingHints(input.BufferingHints, context),
|
|
1089
|
-
}),
|
|
1090
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
1091
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1092
|
-
}),
|
|
1093
|
-
...(input.EndpointConfiguration != null && {
|
|
1094
|
-
EndpointConfiguration: se_HttpEndpointConfiguration(input.EndpointConfiguration, context),
|
|
1095
|
-
}),
|
|
1096
|
-
...(input.ProcessingConfiguration != null && {
|
|
1097
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1098
|
-
}),
|
|
1099
|
-
...(input.RequestConfiguration != null && {
|
|
1100
|
-
RequestConfiguration: se_HttpEndpointRequestConfiguration(input.RequestConfiguration, context),
|
|
1101
|
-
}),
|
|
1102
|
-
...(input.RetryOptions != null && { RetryOptions: se_HttpEndpointRetryOptions(input.RetryOptions, context) }),
|
|
1103
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1104
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1105
|
-
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
1106
|
-
};
|
|
1107
|
-
};
|
|
1108
|
-
const se_HttpEndpointRequestConfiguration = (input, context) => {
|
|
1109
|
-
return {
|
|
1110
|
-
...(input.CommonAttributes != null && {
|
|
1111
|
-
CommonAttributes: se_HttpEndpointCommonAttributesList(input.CommonAttributes, context),
|
|
1112
|
-
}),
|
|
1113
|
-
...(input.ContentEncoding != null && { ContentEncoding: input.ContentEncoding }),
|
|
1114
|
-
};
|
|
1115
|
-
};
|
|
1116
|
-
const se_HttpEndpointRetryOptions = (input, context) => {
|
|
1117
|
-
return {
|
|
1118
|
-
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1119
|
-
};
|
|
1120
|
-
};
|
|
1121
|
-
const se_InputFormatConfiguration = (input, context) => {
|
|
1122
|
-
return {
|
|
1123
|
-
...(input.Deserializer != null && { Deserializer: se_Deserializer(input.Deserializer, context) }),
|
|
1124
|
-
};
|
|
1125
|
-
};
|
|
1126
|
-
const se_KinesisStreamSourceConfiguration = (input, context) => {
|
|
1127
|
-
return {
|
|
1128
|
-
...(input.KinesisStreamARN != null && { KinesisStreamARN: input.KinesisStreamARN }),
|
|
1129
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1130
|
-
};
|
|
1131
|
-
};
|
|
1132
|
-
const se_KMSEncryptionConfig = (input, context) => {
|
|
1133
|
-
return {
|
|
1134
|
-
...(input.AWSKMSKeyARN != null && { AWSKMSKeyARN: input.AWSKMSKeyARN }),
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
|
-
const se_ListDeliveryStreamsInput = (input, context) => {
|
|
1138
|
-
return {
|
|
1139
|
-
...(input.DeliveryStreamType != null && { DeliveryStreamType: input.DeliveryStreamType }),
|
|
1140
|
-
...(input.ExclusiveStartDeliveryStreamName != null && {
|
|
1141
|
-
ExclusiveStartDeliveryStreamName: input.ExclusiveStartDeliveryStreamName,
|
|
1142
|
-
}),
|
|
1143
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
1144
|
-
};
|
|
1145
|
-
};
|
|
1146
|
-
const se_ListOfNonEmptyStrings = (input, context) => {
|
|
1147
|
-
return input
|
|
1148
|
-
.filter((e) => e != null)
|
|
1149
|
-
.map((entry) => {
|
|
1150
|
-
return entry;
|
|
654
|
+
const se_ExtendedS3DestinationConfiguration = (input, context) => {
|
|
655
|
+
return (0, smithy_client_1.take)(input, {
|
|
656
|
+
BucketARN: [],
|
|
657
|
+
BufferingHints: smithy_client_1._json,
|
|
658
|
+
CloudWatchLoggingOptions: smithy_client_1._json,
|
|
659
|
+
CompressionFormat: [],
|
|
660
|
+
DataFormatConversionConfiguration: (_) => se_DataFormatConversionConfiguration(_, context),
|
|
661
|
+
DynamicPartitioningConfiguration: smithy_client_1._json,
|
|
662
|
+
EncryptionConfiguration: smithy_client_1._json,
|
|
663
|
+
ErrorOutputPrefix: [],
|
|
664
|
+
Prefix: [],
|
|
665
|
+
ProcessingConfiguration: smithy_client_1._json,
|
|
666
|
+
RoleARN: [],
|
|
667
|
+
S3BackupConfiguration: smithy_client_1._json,
|
|
668
|
+
S3BackupMode: [],
|
|
1151
669
|
});
|
|
1152
670
|
};
|
|
1153
|
-
const
|
|
1154
|
-
return input
|
|
1155
|
-
|
|
1156
|
-
.
|
|
1157
|
-
|
|
671
|
+
const se_ExtendedS3DestinationUpdate = (input, context) => {
|
|
672
|
+
return (0, smithy_client_1.take)(input, {
|
|
673
|
+
BucketARN: [],
|
|
674
|
+
BufferingHints: smithy_client_1._json,
|
|
675
|
+
CloudWatchLoggingOptions: smithy_client_1._json,
|
|
676
|
+
CompressionFormat: [],
|
|
677
|
+
DataFormatConversionConfiguration: (_) => se_DataFormatConversionConfiguration(_, context),
|
|
678
|
+
DynamicPartitioningConfiguration: smithy_client_1._json,
|
|
679
|
+
EncryptionConfiguration: smithy_client_1._json,
|
|
680
|
+
ErrorOutputPrefix: [],
|
|
681
|
+
Prefix: [],
|
|
682
|
+
ProcessingConfiguration: smithy_client_1._json,
|
|
683
|
+
RoleARN: [],
|
|
684
|
+
S3BackupMode: [],
|
|
685
|
+
S3BackupUpdate: smithy_client_1._json,
|
|
1158
686
|
});
|
|
1159
687
|
};
|
|
1160
|
-
const se_ListTagsForDeliveryStreamInput = (input, context) => {
|
|
1161
|
-
return {
|
|
1162
|
-
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1163
|
-
...(input.ExclusiveStartTagKey != null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey }),
|
|
1164
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
1165
|
-
};
|
|
1166
|
-
};
|
|
1167
|
-
const se_OpenXJsonSerDe = (input, context) => {
|
|
1168
|
-
return {
|
|
1169
|
-
...(input.CaseInsensitive != null && { CaseInsensitive: input.CaseInsensitive }),
|
|
1170
|
-
...(input.ColumnToJsonKeyMappings != null && {
|
|
1171
|
-
ColumnToJsonKeyMappings: se_ColumnToJsonKeyMappings(input.ColumnToJsonKeyMappings, context),
|
|
1172
|
-
}),
|
|
1173
|
-
...(input.ConvertDotsInJsonKeysToUnderscores != null && {
|
|
1174
|
-
ConvertDotsInJsonKeysToUnderscores: input.ConvertDotsInJsonKeysToUnderscores,
|
|
1175
|
-
}),
|
|
1176
|
-
};
|
|
1177
|
-
};
|
|
1178
688
|
const se_OrcSerDe = (input, context) => {
|
|
1179
|
-
return {
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
}),
|
|
1191
|
-
...(input.EnablePadding != null && { EnablePadding: input.EnablePadding }),
|
|
1192
|
-
...(input.FormatVersion != null && { FormatVersion: input.FormatVersion }),
|
|
1193
|
-
...(input.PaddingTolerance != null && { PaddingTolerance: (0, smithy_client_1.serializeFloat)(input.PaddingTolerance) }),
|
|
1194
|
-
...(input.RowIndexStride != null && { RowIndexStride: input.RowIndexStride }),
|
|
1195
|
-
...(input.StripeSizeBytes != null && { StripeSizeBytes: input.StripeSizeBytes }),
|
|
1196
|
-
};
|
|
1197
|
-
};
|
|
1198
|
-
const se_OutputFormatConfiguration = (input, context) => {
|
|
1199
|
-
return {
|
|
1200
|
-
...(input.Serializer != null && { Serializer: se_Serializer(input.Serializer, context) }),
|
|
1201
|
-
};
|
|
1202
|
-
};
|
|
1203
|
-
const se_ParquetSerDe = (input, context) => {
|
|
1204
|
-
return {
|
|
1205
|
-
...(input.BlockSizeBytes != null && { BlockSizeBytes: input.BlockSizeBytes }),
|
|
1206
|
-
...(input.Compression != null && { Compression: input.Compression }),
|
|
1207
|
-
...(input.EnableDictionaryCompression != null && {
|
|
1208
|
-
EnableDictionaryCompression: input.EnableDictionaryCompression,
|
|
1209
|
-
}),
|
|
1210
|
-
...(input.MaxPaddingBytes != null && { MaxPaddingBytes: input.MaxPaddingBytes }),
|
|
1211
|
-
...(input.PageSizeBytes != null && { PageSizeBytes: input.PageSizeBytes }),
|
|
1212
|
-
...(input.WriterVersion != null && { WriterVersion: input.WriterVersion }),
|
|
1213
|
-
};
|
|
1214
|
-
};
|
|
1215
|
-
const se_ProcessingConfiguration = (input, context) => {
|
|
1216
|
-
return {
|
|
1217
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
1218
|
-
...(input.Processors != null && { Processors: se_ProcessorList(input.Processors, context) }),
|
|
1219
|
-
};
|
|
1220
|
-
};
|
|
1221
|
-
const se_Processor = (input, context) => {
|
|
1222
|
-
return {
|
|
1223
|
-
...(input.Parameters != null && { Parameters: se_ProcessorParameterList(input.Parameters, context) }),
|
|
1224
|
-
...(input.Type != null && { Type: input.Type }),
|
|
1225
|
-
};
|
|
1226
|
-
};
|
|
1227
|
-
const se_ProcessorList = (input, context) => {
|
|
1228
|
-
return input
|
|
1229
|
-
.filter((e) => e != null)
|
|
1230
|
-
.map((entry) => {
|
|
1231
|
-
return se_Processor(entry, context);
|
|
689
|
+
return (0, smithy_client_1.take)(input, {
|
|
690
|
+
BlockSizeBytes: [],
|
|
691
|
+
BloomFilterColumns: smithy_client_1._json,
|
|
692
|
+
BloomFilterFalsePositiveProbability: smithy_client_1.serializeFloat,
|
|
693
|
+
Compression: [],
|
|
694
|
+
DictionaryKeyThreshold: smithy_client_1.serializeFloat,
|
|
695
|
+
EnablePadding: [],
|
|
696
|
+
FormatVersion: [],
|
|
697
|
+
PaddingTolerance: smithy_client_1.serializeFloat,
|
|
698
|
+
RowIndexStride: [],
|
|
699
|
+
StripeSizeBytes: [],
|
|
1232
700
|
});
|
|
1233
701
|
};
|
|
1234
|
-
const
|
|
1235
|
-
return {
|
|
1236
|
-
|
|
1237
|
-
...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
|
|
1238
|
-
};
|
|
1239
|
-
};
|
|
1240
|
-
const se_ProcessorParameterList = (input, context) => {
|
|
1241
|
-
return input
|
|
1242
|
-
.filter((e) => e != null)
|
|
1243
|
-
.map((entry) => {
|
|
1244
|
-
return se_ProcessorParameter(entry, context);
|
|
702
|
+
const se_OutputFormatConfiguration = (input, context) => {
|
|
703
|
+
return (0, smithy_client_1.take)(input, {
|
|
704
|
+
Serializer: (_) => se_Serializer(_, context),
|
|
1245
705
|
});
|
|
1246
706
|
};
|
|
1247
707
|
const se_PutRecordBatchInput = (input, context) => {
|
|
1248
|
-
return {
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
};
|
|
708
|
+
return (0, smithy_client_1.take)(input, {
|
|
709
|
+
DeliveryStreamName: [],
|
|
710
|
+
Records: (_) => se_PutRecordBatchRequestEntryList(_, context),
|
|
711
|
+
});
|
|
1252
712
|
};
|
|
1253
713
|
const se_PutRecordBatchRequestEntryList = (input, context) => {
|
|
1254
714
|
return input
|
|
@@ -1258,985 +718,140 @@ const se_PutRecordBatchRequestEntryList = (input, context) => {
|
|
|
1258
718
|
});
|
|
1259
719
|
};
|
|
1260
720
|
const se_PutRecordInput = (input, context) => {
|
|
1261
|
-
return {
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
};
|
|
721
|
+
return (0, smithy_client_1.take)(input, {
|
|
722
|
+
DeliveryStreamName: [],
|
|
723
|
+
Record: (_) => se__Record(_, context),
|
|
724
|
+
});
|
|
1265
725
|
};
|
|
1266
726
|
const se__Record = (input, context) => {
|
|
1267
|
-
return {
|
|
1268
|
-
|
|
1269
|
-
};
|
|
1270
|
-
};
|
|
1271
|
-
const se_RedshiftDestinationConfiguration = (input, context) => {
|
|
1272
|
-
return {
|
|
1273
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
1274
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1275
|
-
}),
|
|
1276
|
-
...(input.ClusterJDBCURL != null && { ClusterJDBCURL: input.ClusterJDBCURL }),
|
|
1277
|
-
...(input.CopyCommand != null && { CopyCommand: se_CopyCommand(input.CopyCommand, context) }),
|
|
1278
|
-
...(input.Password != null && { Password: input.Password }),
|
|
1279
|
-
...(input.ProcessingConfiguration != null && {
|
|
1280
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1281
|
-
}),
|
|
1282
|
-
...(input.RetryOptions != null && { RetryOptions: se_RedshiftRetryOptions(input.RetryOptions, context) }),
|
|
1283
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1284
|
-
...(input.S3BackupConfiguration != null && {
|
|
1285
|
-
S3BackupConfiguration: se_S3DestinationConfiguration(input.S3BackupConfiguration, context),
|
|
1286
|
-
}),
|
|
1287
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1288
|
-
...(input.S3Configuration != null && {
|
|
1289
|
-
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
1290
|
-
}),
|
|
1291
|
-
...(input.Username != null && { Username: input.Username }),
|
|
1292
|
-
};
|
|
727
|
+
return (0, smithy_client_1.take)(input, {
|
|
728
|
+
Data: context.base64Encoder,
|
|
729
|
+
});
|
|
1293
730
|
};
|
|
1294
|
-
const
|
|
1295
|
-
return {
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
...(input.ClusterJDBCURL != null && { ClusterJDBCURL: input.ClusterJDBCURL }),
|
|
1300
|
-
...(input.CopyCommand != null && { CopyCommand: se_CopyCommand(input.CopyCommand, context) }),
|
|
1301
|
-
...(input.Password != null && { Password: input.Password }),
|
|
1302
|
-
...(input.ProcessingConfiguration != null && {
|
|
1303
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1304
|
-
}),
|
|
1305
|
-
...(input.RetryOptions != null && { RetryOptions: se_RedshiftRetryOptions(input.RetryOptions, context) }),
|
|
1306
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1307
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1308
|
-
...(input.S3BackupUpdate != null && { S3BackupUpdate: se_S3DestinationUpdate(input.S3BackupUpdate, context) }),
|
|
1309
|
-
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
1310
|
-
...(input.Username != null && { Username: input.Username }),
|
|
1311
|
-
};
|
|
731
|
+
const se_Serializer = (input, context) => {
|
|
732
|
+
return (0, smithy_client_1.take)(input, {
|
|
733
|
+
OrcSerDe: (_) => se_OrcSerDe(_, context),
|
|
734
|
+
ParquetSerDe: smithy_client_1._json,
|
|
735
|
+
});
|
|
1312
736
|
};
|
|
1313
|
-
const
|
|
1314
|
-
return {
|
|
1315
|
-
|
|
1316
|
-
|
|
737
|
+
const se_UpdateDestinationInput = (input, context) => {
|
|
738
|
+
return (0, smithy_client_1.take)(input, {
|
|
739
|
+
AmazonOpenSearchServerlessDestinationUpdate: smithy_client_1._json,
|
|
740
|
+
AmazonopensearchserviceDestinationUpdate: smithy_client_1._json,
|
|
741
|
+
CurrentDeliveryStreamVersionId: [],
|
|
742
|
+
DeliveryStreamName: [],
|
|
743
|
+
DestinationId: [],
|
|
744
|
+
ElasticsearchDestinationUpdate: smithy_client_1._json,
|
|
745
|
+
ExtendedS3DestinationUpdate: (_) => se_ExtendedS3DestinationUpdate(_, context),
|
|
746
|
+
HttpEndpointDestinationUpdate: smithy_client_1._json,
|
|
747
|
+
RedshiftDestinationUpdate: smithy_client_1._json,
|
|
748
|
+
S3DestinationUpdate: smithy_client_1._json,
|
|
749
|
+
SplunkDestinationUpdate: smithy_client_1._json,
|
|
750
|
+
});
|
|
1317
751
|
};
|
|
1318
|
-
const
|
|
1319
|
-
return {
|
|
1320
|
-
|
|
1321
|
-
|
|
752
|
+
const de_DataFormatConversionConfiguration = (output, context) => {
|
|
753
|
+
return (0, smithy_client_1.take)(output, {
|
|
754
|
+
Enabled: smithy_client_1.expectBoolean,
|
|
755
|
+
InputFormatConfiguration: smithy_client_1._json,
|
|
756
|
+
OutputFormatConfiguration: (_) => de_OutputFormatConfiguration(_, context),
|
|
757
|
+
SchemaConfiguration: smithy_client_1._json,
|
|
758
|
+
});
|
|
1322
759
|
};
|
|
1323
|
-
const
|
|
1324
|
-
return {
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
};
|
|
760
|
+
const de_DeliveryStreamDescription = (output, context) => {
|
|
761
|
+
return (0, smithy_client_1.take)(output, {
|
|
762
|
+
CreateTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
763
|
+
DeliveryStreamARN: smithy_client_1.expectString,
|
|
764
|
+
DeliveryStreamEncryptionConfiguration: smithy_client_1._json,
|
|
765
|
+
DeliveryStreamName: smithy_client_1.expectString,
|
|
766
|
+
DeliveryStreamStatus: smithy_client_1.expectString,
|
|
767
|
+
DeliveryStreamType: smithy_client_1.expectString,
|
|
768
|
+
Destinations: (_) => de_DestinationDescriptionList(_, context),
|
|
769
|
+
FailureDescription: smithy_client_1._json,
|
|
770
|
+
HasMoreDestinations: smithy_client_1.expectBoolean,
|
|
771
|
+
LastUpdateTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
772
|
+
Source: (_) => de_SourceDescription(_, context),
|
|
773
|
+
VersionId: smithy_client_1.expectString,
|
|
774
|
+
});
|
|
1338
775
|
};
|
|
1339
|
-
const
|
|
1340
|
-
return {
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
1344
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1345
|
-
}),
|
|
1346
|
-
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
1347
|
-
...(input.EncryptionConfiguration != null && {
|
|
1348
|
-
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1349
|
-
}),
|
|
1350
|
-
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
1351
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1352
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1353
|
-
};
|
|
776
|
+
const de_DescribeDeliveryStreamOutput = (output, context) => {
|
|
777
|
+
return (0, smithy_client_1.take)(output, {
|
|
778
|
+
DeliveryStreamDescription: (_) => de_DeliveryStreamDescription(_, context),
|
|
779
|
+
});
|
|
1354
780
|
};
|
|
1355
|
-
const
|
|
1356
|
-
return {
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
781
|
+
const de_DestinationDescription = (output, context) => {
|
|
782
|
+
return (0, smithy_client_1.take)(output, {
|
|
783
|
+
AmazonOpenSearchServerlessDestinationDescription: smithy_client_1._json,
|
|
784
|
+
AmazonopensearchserviceDestinationDescription: smithy_client_1._json,
|
|
785
|
+
DestinationId: smithy_client_1.expectString,
|
|
786
|
+
ElasticsearchDestinationDescription: smithy_client_1._json,
|
|
787
|
+
ExtendedS3DestinationDescription: (_) => de_ExtendedS3DestinationDescription(_, context),
|
|
788
|
+
HttpEndpointDestinationDescription: smithy_client_1._json,
|
|
789
|
+
RedshiftDestinationDescription: smithy_client_1._json,
|
|
790
|
+
S3DestinationDescription: smithy_client_1._json,
|
|
791
|
+
SplunkDestinationDescription: smithy_client_1._json,
|
|
792
|
+
});
|
|
1364
793
|
};
|
|
1365
|
-
const
|
|
1366
|
-
|
|
794
|
+
const de_DestinationDescriptionList = (output, context) => {
|
|
795
|
+
const retVal = (output || [])
|
|
1367
796
|
.filter((e) => e != null)
|
|
1368
797
|
.map((entry) => {
|
|
1369
|
-
return entry;
|
|
798
|
+
return de_DestinationDescription(entry, context);
|
|
1370
799
|
});
|
|
800
|
+
return retVal;
|
|
1371
801
|
};
|
|
1372
|
-
const
|
|
1373
|
-
return {
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
...(input.HECToken != null && { HECToken: input.HECToken }),
|
|
1389
|
-
...(input.ProcessingConfiguration != null && {
|
|
1390
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1391
|
-
}),
|
|
1392
|
-
...(input.RetryOptions != null && { RetryOptions: se_SplunkRetryOptions(input.RetryOptions, context) }),
|
|
1393
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1394
|
-
...(input.S3Configuration != null && {
|
|
1395
|
-
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
1396
|
-
}),
|
|
1397
|
-
};
|
|
1398
|
-
};
|
|
1399
|
-
const se_SplunkDestinationUpdate = (input, context) => {
|
|
1400
|
-
return {
|
|
1401
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
1402
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1403
|
-
}),
|
|
1404
|
-
...(input.HECAcknowledgmentTimeoutInSeconds != null && {
|
|
1405
|
-
HECAcknowledgmentTimeoutInSeconds: input.HECAcknowledgmentTimeoutInSeconds,
|
|
1406
|
-
}),
|
|
1407
|
-
...(input.HECEndpoint != null && { HECEndpoint: input.HECEndpoint }),
|
|
1408
|
-
...(input.HECEndpointType != null && { HECEndpointType: input.HECEndpointType }),
|
|
1409
|
-
...(input.HECToken != null && { HECToken: input.HECToken }),
|
|
1410
|
-
...(input.ProcessingConfiguration != null && {
|
|
1411
|
-
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1412
|
-
}),
|
|
1413
|
-
...(input.RetryOptions != null && { RetryOptions: se_SplunkRetryOptions(input.RetryOptions, context) }),
|
|
1414
|
-
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1415
|
-
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
1416
|
-
};
|
|
802
|
+
const de_ExtendedS3DestinationDescription = (output, context) => {
|
|
803
|
+
return (0, smithy_client_1.take)(output, {
|
|
804
|
+
BucketARN: smithy_client_1.expectString,
|
|
805
|
+
BufferingHints: smithy_client_1._json,
|
|
806
|
+
CloudWatchLoggingOptions: smithy_client_1._json,
|
|
807
|
+
CompressionFormat: smithy_client_1.expectString,
|
|
808
|
+
DataFormatConversionConfiguration: (_) => de_DataFormatConversionConfiguration(_, context),
|
|
809
|
+
DynamicPartitioningConfiguration: smithy_client_1._json,
|
|
810
|
+
EncryptionConfiguration: smithy_client_1._json,
|
|
811
|
+
ErrorOutputPrefix: smithy_client_1.expectString,
|
|
812
|
+
Prefix: smithy_client_1.expectString,
|
|
813
|
+
ProcessingConfiguration: smithy_client_1._json,
|
|
814
|
+
RoleARN: smithy_client_1.expectString,
|
|
815
|
+
S3BackupDescription: smithy_client_1._json,
|
|
816
|
+
S3BackupMode: smithy_client_1.expectString,
|
|
817
|
+
});
|
|
1417
818
|
};
|
|
1418
|
-
const
|
|
1419
|
-
return {
|
|
1420
|
-
|
|
1421
|
-
|
|
819
|
+
const de_KinesisStreamSourceDescription = (output, context) => {
|
|
820
|
+
return (0, smithy_client_1.take)(output, {
|
|
821
|
+
DeliveryStartTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
822
|
+
KinesisStreamARN: smithy_client_1.expectString,
|
|
823
|
+
RoleARN: smithy_client_1.expectString,
|
|
824
|
+
});
|
|
1422
825
|
};
|
|
1423
|
-
const
|
|
1424
|
-
return {
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
826
|
+
const de_OrcSerDe = (output, context) => {
|
|
827
|
+
return (0, smithy_client_1.take)(output, {
|
|
828
|
+
BlockSizeBytes: smithy_client_1.expectInt32,
|
|
829
|
+
BloomFilterColumns: smithy_client_1._json,
|
|
830
|
+
BloomFilterFalsePositiveProbability: smithy_client_1.limitedParseDouble,
|
|
831
|
+
Compression: smithy_client_1.expectString,
|
|
832
|
+
DictionaryKeyThreshold: smithy_client_1.limitedParseDouble,
|
|
833
|
+
EnablePadding: smithy_client_1.expectBoolean,
|
|
834
|
+
FormatVersion: smithy_client_1.expectString,
|
|
835
|
+
PaddingTolerance: smithy_client_1.limitedParseDouble,
|
|
836
|
+
RowIndexStride: smithy_client_1.expectInt32,
|
|
837
|
+
StripeSizeBytes: smithy_client_1.expectInt32,
|
|
838
|
+
});
|
|
1430
839
|
};
|
|
1431
|
-
const
|
|
1432
|
-
return {
|
|
1433
|
-
|
|
1434
|
-
};
|
|
840
|
+
const de_OutputFormatConfiguration = (output, context) => {
|
|
841
|
+
return (0, smithy_client_1.take)(output, {
|
|
842
|
+
Serializer: (_) => de_Serializer(_, context),
|
|
843
|
+
});
|
|
1435
844
|
};
|
|
1436
|
-
const
|
|
1437
|
-
return
|
|
1438
|
-
|
|
1439
|
-
.
|
|
1440
|
-
return entry;
|
|
845
|
+
const de_Serializer = (output, context) => {
|
|
846
|
+
return (0, smithy_client_1.take)(output, {
|
|
847
|
+
OrcSerDe: (_) => de_OrcSerDe(_, context),
|
|
848
|
+
ParquetSerDe: smithy_client_1._json,
|
|
1441
849
|
});
|
|
1442
850
|
};
|
|
1443
|
-
const
|
|
1444
|
-
return {
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
};
|
|
1448
|
-
};
|
|
1449
|
-
const se_TagDeliveryStreamInput = (input, context) => {
|
|
1450
|
-
return {
|
|
1451
|
-
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1452
|
-
...(input.Tags != null && { Tags: se_TagDeliveryStreamInputTagList(input.Tags, context) }),
|
|
1453
|
-
};
|
|
1454
|
-
};
|
|
1455
|
-
const se_TagDeliveryStreamInputTagList = (input, context) => {
|
|
1456
|
-
return input
|
|
1457
|
-
.filter((e) => e != null)
|
|
1458
|
-
.map((entry) => {
|
|
1459
|
-
return se_Tag(entry, context);
|
|
1460
|
-
});
|
|
1461
|
-
};
|
|
1462
|
-
const se_TagKeyList = (input, context) => {
|
|
1463
|
-
return input
|
|
1464
|
-
.filter((e) => e != null)
|
|
1465
|
-
.map((entry) => {
|
|
1466
|
-
return entry;
|
|
1467
|
-
});
|
|
1468
|
-
};
|
|
1469
|
-
const se_UntagDeliveryStreamInput = (input, context) => {
|
|
1470
|
-
return {
|
|
1471
|
-
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1472
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
1473
|
-
};
|
|
1474
|
-
};
|
|
1475
|
-
const se_UpdateDestinationInput = (input, context) => {
|
|
1476
|
-
return {
|
|
1477
|
-
...(input.AmazonOpenSearchServerlessDestinationUpdate != null && {
|
|
1478
|
-
AmazonOpenSearchServerlessDestinationUpdate: se_AmazonOpenSearchServerlessDestinationUpdate(input.AmazonOpenSearchServerlessDestinationUpdate, context),
|
|
1479
|
-
}),
|
|
1480
|
-
...(input.AmazonopensearchserviceDestinationUpdate != null && {
|
|
1481
|
-
AmazonopensearchserviceDestinationUpdate: se_AmazonopensearchserviceDestinationUpdate(input.AmazonopensearchserviceDestinationUpdate, context),
|
|
1482
|
-
}),
|
|
1483
|
-
...(input.CurrentDeliveryStreamVersionId != null && {
|
|
1484
|
-
CurrentDeliveryStreamVersionId: input.CurrentDeliveryStreamVersionId,
|
|
1485
|
-
}),
|
|
1486
|
-
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1487
|
-
...(input.DestinationId != null && { DestinationId: input.DestinationId }),
|
|
1488
|
-
...(input.ElasticsearchDestinationUpdate != null && {
|
|
1489
|
-
ElasticsearchDestinationUpdate: se_ElasticsearchDestinationUpdate(input.ElasticsearchDestinationUpdate, context),
|
|
1490
|
-
}),
|
|
1491
|
-
...(input.ExtendedS3DestinationUpdate != null && {
|
|
1492
|
-
ExtendedS3DestinationUpdate: se_ExtendedS3DestinationUpdate(input.ExtendedS3DestinationUpdate, context),
|
|
1493
|
-
}),
|
|
1494
|
-
...(input.HttpEndpointDestinationUpdate != null && {
|
|
1495
|
-
HttpEndpointDestinationUpdate: se_HttpEndpointDestinationUpdate(input.HttpEndpointDestinationUpdate, context),
|
|
1496
|
-
}),
|
|
1497
|
-
...(input.RedshiftDestinationUpdate != null && {
|
|
1498
|
-
RedshiftDestinationUpdate: se_RedshiftDestinationUpdate(input.RedshiftDestinationUpdate, context),
|
|
1499
|
-
}),
|
|
1500
|
-
...(input.S3DestinationUpdate != null && {
|
|
1501
|
-
S3DestinationUpdate: se_S3DestinationUpdate(input.S3DestinationUpdate, context),
|
|
1502
|
-
}),
|
|
1503
|
-
...(input.SplunkDestinationUpdate != null && {
|
|
1504
|
-
SplunkDestinationUpdate: se_SplunkDestinationUpdate(input.SplunkDestinationUpdate, context),
|
|
1505
|
-
}),
|
|
1506
|
-
};
|
|
1507
|
-
};
|
|
1508
|
-
const se_VpcConfiguration = (input, context) => {
|
|
1509
|
-
return {
|
|
1510
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1511
|
-
...(input.SecurityGroupIds != null && {
|
|
1512
|
-
SecurityGroupIds: se_SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
1513
|
-
}),
|
|
1514
|
-
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdList(input.SubnetIds, context) }),
|
|
1515
|
-
};
|
|
1516
|
-
};
|
|
1517
|
-
const de_AmazonOpenSearchServerlessBufferingHints = (output, context) => {
|
|
1518
|
-
return {
|
|
1519
|
-
IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
|
|
1520
|
-
SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
|
|
1521
|
-
};
|
|
1522
|
-
};
|
|
1523
|
-
const de_AmazonOpenSearchServerlessDestinationDescription = (output, context) => {
|
|
1524
|
-
return {
|
|
1525
|
-
BufferingHints: output.BufferingHints != null
|
|
1526
|
-
? de_AmazonOpenSearchServerlessBufferingHints(output.BufferingHints, context)
|
|
1527
|
-
: undefined,
|
|
1528
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1529
|
-
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1530
|
-
: undefined,
|
|
1531
|
-
CollectionEndpoint: (0, smithy_client_1.expectString)(output.CollectionEndpoint),
|
|
1532
|
-
IndexName: (0, smithy_client_1.expectString)(output.IndexName),
|
|
1533
|
-
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1534
|
-
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1535
|
-
: undefined,
|
|
1536
|
-
RetryOptions: output.RetryOptions != null ? de_AmazonOpenSearchServerlessRetryOptions(output.RetryOptions, context) : undefined,
|
|
1537
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1538
|
-
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
1539
|
-
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1540
|
-
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1541
|
-
: undefined,
|
|
1542
|
-
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1543
|
-
? de_VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1544
|
-
: undefined,
|
|
1545
|
-
};
|
|
1546
|
-
};
|
|
1547
|
-
const de_AmazonOpenSearchServerlessRetryOptions = (output, context) => {
|
|
1548
|
-
return {
|
|
1549
|
-
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
1550
|
-
};
|
|
1551
|
-
};
|
|
1552
|
-
const de_AmazonopensearchserviceBufferingHints = (output, context) => {
|
|
1553
|
-
return {
|
|
1554
|
-
IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
|
|
1555
|
-
SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
|
|
1556
|
-
};
|
|
1557
|
-
};
|
|
1558
|
-
const de_AmazonopensearchserviceDestinationDescription = (output, context) => {
|
|
1559
|
-
return {
|
|
1560
|
-
BufferingHints: output.BufferingHints != null
|
|
1561
|
-
? de_AmazonopensearchserviceBufferingHints(output.BufferingHints, context)
|
|
1562
|
-
: undefined,
|
|
1563
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1564
|
-
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1565
|
-
: undefined,
|
|
1566
|
-
ClusterEndpoint: (0, smithy_client_1.expectString)(output.ClusterEndpoint),
|
|
1567
|
-
DomainARN: (0, smithy_client_1.expectString)(output.DomainARN),
|
|
1568
|
-
IndexName: (0, smithy_client_1.expectString)(output.IndexName),
|
|
1569
|
-
IndexRotationPeriod: (0, smithy_client_1.expectString)(output.IndexRotationPeriod),
|
|
1570
|
-
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1571
|
-
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1572
|
-
: undefined,
|
|
1573
|
-
RetryOptions: output.RetryOptions != null ? de_AmazonopensearchserviceRetryOptions(output.RetryOptions, context) : undefined,
|
|
1574
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1575
|
-
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
1576
|
-
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1577
|
-
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1578
|
-
: undefined,
|
|
1579
|
-
TypeName: (0, smithy_client_1.expectString)(output.TypeName),
|
|
1580
|
-
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1581
|
-
? de_VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1582
|
-
: undefined,
|
|
1583
|
-
};
|
|
1584
|
-
};
|
|
1585
|
-
const de_AmazonopensearchserviceRetryOptions = (output, context) => {
|
|
1586
|
-
return {
|
|
1587
|
-
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
1588
|
-
};
|
|
1589
|
-
};
|
|
1590
|
-
const de_BufferingHints = (output, context) => {
|
|
1591
|
-
return {
|
|
1592
|
-
IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
|
|
1593
|
-
SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
|
|
1594
|
-
};
|
|
1595
|
-
};
|
|
1596
|
-
const de_CloudWatchLoggingOptions = (output, context) => {
|
|
1597
|
-
return {
|
|
1598
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
1599
|
-
LogGroupName: (0, smithy_client_1.expectString)(output.LogGroupName),
|
|
1600
|
-
LogStreamName: (0, smithy_client_1.expectString)(output.LogStreamName),
|
|
1601
|
-
};
|
|
1602
|
-
};
|
|
1603
|
-
const de_ColumnToJsonKeyMappings = (output, context) => {
|
|
1604
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1605
|
-
if (value === null) {
|
|
1606
|
-
return acc;
|
|
1607
|
-
}
|
|
1608
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
1609
|
-
return acc;
|
|
1610
|
-
}, {});
|
|
1611
|
-
};
|
|
1612
|
-
const de_ConcurrentModificationException = (output, context) => {
|
|
1613
|
-
return {
|
|
1614
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1615
|
-
};
|
|
1616
|
-
};
|
|
1617
|
-
const de_CopyCommand = (output, context) => {
|
|
1618
|
-
return {
|
|
1619
|
-
CopyOptions: (0, smithy_client_1.expectString)(output.CopyOptions),
|
|
1620
|
-
DataTableColumns: (0, smithy_client_1.expectString)(output.DataTableColumns),
|
|
1621
|
-
DataTableName: (0, smithy_client_1.expectString)(output.DataTableName),
|
|
1622
|
-
};
|
|
1623
|
-
};
|
|
1624
|
-
const de_CreateDeliveryStreamOutput = (output, context) => {
|
|
1625
|
-
return {
|
|
1626
|
-
DeliveryStreamARN: (0, smithy_client_1.expectString)(output.DeliveryStreamARN),
|
|
1627
|
-
};
|
|
1628
|
-
};
|
|
1629
|
-
const de_DataFormatConversionConfiguration = (output, context) => {
|
|
1630
|
-
return {
|
|
1631
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
1632
|
-
InputFormatConfiguration: output.InputFormatConfiguration != null
|
|
1633
|
-
? de_InputFormatConfiguration(output.InputFormatConfiguration, context)
|
|
1634
|
-
: undefined,
|
|
1635
|
-
OutputFormatConfiguration: output.OutputFormatConfiguration != null
|
|
1636
|
-
? de_OutputFormatConfiguration(output.OutputFormatConfiguration, context)
|
|
1637
|
-
: undefined,
|
|
1638
|
-
SchemaConfiguration: output.SchemaConfiguration != null ? de_SchemaConfiguration(output.SchemaConfiguration, context) : undefined,
|
|
1639
|
-
};
|
|
1640
|
-
};
|
|
1641
|
-
const de_DeleteDeliveryStreamOutput = (output, context) => {
|
|
1642
|
-
return {};
|
|
1643
|
-
};
|
|
1644
|
-
const de_DeliveryStreamDescription = (output, context) => {
|
|
1645
|
-
return {
|
|
1646
|
-
CreateTimestamp: output.CreateTimestamp != null
|
|
1647
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTimestamp)))
|
|
1648
|
-
: undefined,
|
|
1649
|
-
DeliveryStreamARN: (0, smithy_client_1.expectString)(output.DeliveryStreamARN),
|
|
1650
|
-
DeliveryStreamEncryptionConfiguration: output.DeliveryStreamEncryptionConfiguration != null
|
|
1651
|
-
? de_DeliveryStreamEncryptionConfiguration(output.DeliveryStreamEncryptionConfiguration, context)
|
|
1652
|
-
: undefined,
|
|
1653
|
-
DeliveryStreamName: (0, smithy_client_1.expectString)(output.DeliveryStreamName),
|
|
1654
|
-
DeliveryStreamStatus: (0, smithy_client_1.expectString)(output.DeliveryStreamStatus),
|
|
1655
|
-
DeliveryStreamType: (0, smithy_client_1.expectString)(output.DeliveryStreamType),
|
|
1656
|
-
Destinations: output.Destinations != null ? de_DestinationDescriptionList(output.Destinations, context) : undefined,
|
|
1657
|
-
FailureDescription: output.FailureDescription != null ? de_FailureDescription(output.FailureDescription, context) : undefined,
|
|
1658
|
-
HasMoreDestinations: (0, smithy_client_1.expectBoolean)(output.HasMoreDestinations),
|
|
1659
|
-
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
1660
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTimestamp)))
|
|
1661
|
-
: undefined,
|
|
1662
|
-
Source: output.Source != null ? de_SourceDescription(output.Source, context) : undefined,
|
|
1663
|
-
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
1664
|
-
};
|
|
1665
|
-
};
|
|
1666
|
-
const de_DeliveryStreamEncryptionConfiguration = (output, context) => {
|
|
1667
|
-
return {
|
|
1668
|
-
FailureDescription: output.FailureDescription != null ? de_FailureDescription(output.FailureDescription, context) : undefined,
|
|
1669
|
-
KeyARN: (0, smithy_client_1.expectString)(output.KeyARN),
|
|
1670
|
-
KeyType: (0, smithy_client_1.expectString)(output.KeyType),
|
|
1671
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1672
|
-
};
|
|
1673
|
-
};
|
|
1674
|
-
const de_DeliveryStreamNameList = (output, context) => {
|
|
1675
|
-
const retVal = (output || [])
|
|
1676
|
-
.filter((e) => e != null)
|
|
1677
|
-
.map((entry) => {
|
|
1678
|
-
if (entry === null) {
|
|
1679
|
-
return null;
|
|
1680
|
-
}
|
|
1681
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1682
|
-
});
|
|
1683
|
-
return retVal;
|
|
1684
|
-
};
|
|
1685
|
-
const de_DescribeDeliveryStreamOutput = (output, context) => {
|
|
1686
|
-
return {
|
|
1687
|
-
DeliveryStreamDescription: output.DeliveryStreamDescription != null
|
|
1688
|
-
? de_DeliveryStreamDescription(output.DeliveryStreamDescription, context)
|
|
1689
|
-
: undefined,
|
|
1690
|
-
};
|
|
1691
|
-
};
|
|
1692
|
-
const de_Deserializer = (output, context) => {
|
|
1693
|
-
return {
|
|
1694
|
-
HiveJsonSerDe: output.HiveJsonSerDe != null ? de_HiveJsonSerDe(output.HiveJsonSerDe, context) : undefined,
|
|
1695
|
-
OpenXJsonSerDe: output.OpenXJsonSerDe != null ? de_OpenXJsonSerDe(output.OpenXJsonSerDe, context) : undefined,
|
|
1696
|
-
};
|
|
1697
|
-
};
|
|
1698
|
-
const de_DestinationDescription = (output, context) => {
|
|
1699
|
-
return {
|
|
1700
|
-
AmazonOpenSearchServerlessDestinationDescription: output.AmazonOpenSearchServerlessDestinationDescription != null
|
|
1701
|
-
? de_AmazonOpenSearchServerlessDestinationDescription(output.AmazonOpenSearchServerlessDestinationDescription, context)
|
|
1702
|
-
: undefined,
|
|
1703
|
-
AmazonopensearchserviceDestinationDescription: output.AmazonopensearchserviceDestinationDescription != null
|
|
1704
|
-
? de_AmazonopensearchserviceDestinationDescription(output.AmazonopensearchserviceDestinationDescription, context)
|
|
1705
|
-
: undefined,
|
|
1706
|
-
DestinationId: (0, smithy_client_1.expectString)(output.DestinationId),
|
|
1707
|
-
ElasticsearchDestinationDescription: output.ElasticsearchDestinationDescription != null
|
|
1708
|
-
? de_ElasticsearchDestinationDescription(output.ElasticsearchDestinationDescription, context)
|
|
1709
|
-
: undefined,
|
|
1710
|
-
ExtendedS3DestinationDescription: output.ExtendedS3DestinationDescription != null
|
|
1711
|
-
? de_ExtendedS3DestinationDescription(output.ExtendedS3DestinationDescription, context)
|
|
1712
|
-
: undefined,
|
|
1713
|
-
HttpEndpointDestinationDescription: output.HttpEndpointDestinationDescription != null
|
|
1714
|
-
? de_HttpEndpointDestinationDescription(output.HttpEndpointDestinationDescription, context)
|
|
1715
|
-
: undefined,
|
|
1716
|
-
RedshiftDestinationDescription: output.RedshiftDestinationDescription != null
|
|
1717
|
-
? de_RedshiftDestinationDescription(output.RedshiftDestinationDescription, context)
|
|
1718
|
-
: undefined,
|
|
1719
|
-
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1720
|
-
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1721
|
-
: undefined,
|
|
1722
|
-
SplunkDestinationDescription: output.SplunkDestinationDescription != null
|
|
1723
|
-
? de_SplunkDestinationDescription(output.SplunkDestinationDescription, context)
|
|
1724
|
-
: undefined,
|
|
1725
|
-
};
|
|
1726
|
-
};
|
|
1727
|
-
const de_DestinationDescriptionList = (output, context) => {
|
|
1728
|
-
const retVal = (output || [])
|
|
1729
|
-
.filter((e) => e != null)
|
|
1730
|
-
.map((entry) => {
|
|
1731
|
-
if (entry === null) {
|
|
1732
|
-
return null;
|
|
1733
|
-
}
|
|
1734
|
-
return de_DestinationDescription(entry, context);
|
|
1735
|
-
});
|
|
1736
|
-
return retVal;
|
|
1737
|
-
};
|
|
1738
|
-
const de_DynamicPartitioningConfiguration = (output, context) => {
|
|
1739
|
-
return {
|
|
1740
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
1741
|
-
RetryOptions: output.RetryOptions != null ? de_RetryOptions(output.RetryOptions, context) : undefined,
|
|
1742
|
-
};
|
|
1743
|
-
};
|
|
1744
|
-
const de_ElasticsearchBufferingHints = (output, context) => {
|
|
1745
|
-
return {
|
|
1746
|
-
IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
|
|
1747
|
-
SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
|
|
1748
|
-
};
|
|
1749
|
-
};
|
|
1750
|
-
const de_ElasticsearchDestinationDescription = (output, context) => {
|
|
1751
|
-
return {
|
|
1752
|
-
BufferingHints: output.BufferingHints != null ? de_ElasticsearchBufferingHints(output.BufferingHints, context) : undefined,
|
|
1753
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1754
|
-
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1755
|
-
: undefined,
|
|
1756
|
-
ClusterEndpoint: (0, smithy_client_1.expectString)(output.ClusterEndpoint),
|
|
1757
|
-
DomainARN: (0, smithy_client_1.expectString)(output.DomainARN),
|
|
1758
|
-
IndexName: (0, smithy_client_1.expectString)(output.IndexName),
|
|
1759
|
-
IndexRotationPeriod: (0, smithy_client_1.expectString)(output.IndexRotationPeriod),
|
|
1760
|
-
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1761
|
-
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1762
|
-
: undefined,
|
|
1763
|
-
RetryOptions: output.RetryOptions != null ? de_ElasticsearchRetryOptions(output.RetryOptions, context) : undefined,
|
|
1764
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1765
|
-
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
1766
|
-
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1767
|
-
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1768
|
-
: undefined,
|
|
1769
|
-
TypeName: (0, smithy_client_1.expectString)(output.TypeName),
|
|
1770
|
-
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1771
|
-
? de_VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1772
|
-
: undefined,
|
|
1773
|
-
};
|
|
1774
|
-
};
|
|
1775
|
-
const de_ElasticsearchRetryOptions = (output, context) => {
|
|
1776
|
-
return {
|
|
1777
|
-
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
1778
|
-
};
|
|
1779
|
-
};
|
|
1780
|
-
const de_EncryptionConfiguration = (output, context) => {
|
|
1781
|
-
return {
|
|
1782
|
-
KMSEncryptionConfig: output.KMSEncryptionConfig != null ? de_KMSEncryptionConfig(output.KMSEncryptionConfig, context) : undefined,
|
|
1783
|
-
NoEncryptionConfig: (0, smithy_client_1.expectString)(output.NoEncryptionConfig),
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
|
-
const de_ExtendedS3DestinationDescription = (output, context) => {
|
|
1787
|
-
return {
|
|
1788
|
-
BucketARN: (0, smithy_client_1.expectString)(output.BucketARN),
|
|
1789
|
-
BufferingHints: output.BufferingHints != null ? de_BufferingHints(output.BufferingHints, context) : undefined,
|
|
1790
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1791
|
-
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1792
|
-
: undefined,
|
|
1793
|
-
CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
|
|
1794
|
-
DataFormatConversionConfiguration: output.DataFormatConversionConfiguration != null
|
|
1795
|
-
? de_DataFormatConversionConfiguration(output.DataFormatConversionConfiguration, context)
|
|
1796
|
-
: undefined,
|
|
1797
|
-
DynamicPartitioningConfiguration: output.DynamicPartitioningConfiguration != null
|
|
1798
|
-
? de_DynamicPartitioningConfiguration(output.DynamicPartitioningConfiguration, context)
|
|
1799
|
-
: undefined,
|
|
1800
|
-
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
1801
|
-
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
1802
|
-
: undefined,
|
|
1803
|
-
ErrorOutputPrefix: (0, smithy_client_1.expectString)(output.ErrorOutputPrefix),
|
|
1804
|
-
Prefix: (0, smithy_client_1.expectString)(output.Prefix),
|
|
1805
|
-
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1806
|
-
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1807
|
-
: undefined,
|
|
1808
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1809
|
-
S3BackupDescription: output.S3BackupDescription != null ? de_S3DestinationDescription(output.S3BackupDescription, context) : undefined,
|
|
1810
|
-
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
1811
|
-
};
|
|
1812
|
-
};
|
|
1813
|
-
const de_FailureDescription = (output, context) => {
|
|
1814
|
-
return {
|
|
1815
|
-
Details: (0, smithy_client_1.expectString)(output.Details),
|
|
1816
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
1817
|
-
};
|
|
1818
|
-
};
|
|
1819
|
-
const de_HiveJsonSerDe = (output, context) => {
|
|
1820
|
-
return {
|
|
1821
|
-
TimestampFormats: output.TimestampFormats != null ? de_ListOfNonEmptyStrings(output.TimestampFormats, context) : undefined,
|
|
1822
|
-
};
|
|
1823
|
-
};
|
|
1824
|
-
const de_HttpEndpointBufferingHints = (output, context) => {
|
|
1825
|
-
return {
|
|
1826
|
-
IntervalInSeconds: (0, smithy_client_1.expectInt32)(output.IntervalInSeconds),
|
|
1827
|
-
SizeInMBs: (0, smithy_client_1.expectInt32)(output.SizeInMBs),
|
|
1828
|
-
};
|
|
1829
|
-
};
|
|
1830
|
-
const de_HttpEndpointCommonAttribute = (output, context) => {
|
|
1831
|
-
return {
|
|
1832
|
-
AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
|
|
1833
|
-
AttributeValue: (0, smithy_client_1.expectString)(output.AttributeValue),
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
const de_HttpEndpointCommonAttributesList = (output, context) => {
|
|
1837
|
-
const retVal = (output || [])
|
|
1838
|
-
.filter((e) => e != null)
|
|
1839
|
-
.map((entry) => {
|
|
1840
|
-
if (entry === null) {
|
|
1841
|
-
return null;
|
|
1842
|
-
}
|
|
1843
|
-
return de_HttpEndpointCommonAttribute(entry, context);
|
|
1844
|
-
});
|
|
1845
|
-
return retVal;
|
|
1846
|
-
};
|
|
1847
|
-
const de_HttpEndpointDescription = (output, context) => {
|
|
1848
|
-
return {
|
|
1849
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1850
|
-
Url: (0, smithy_client_1.expectString)(output.Url),
|
|
1851
|
-
};
|
|
1852
|
-
};
|
|
1853
|
-
const de_HttpEndpointDestinationDescription = (output, context) => {
|
|
1854
|
-
return {
|
|
1855
|
-
BufferingHints: output.BufferingHints != null ? de_HttpEndpointBufferingHints(output.BufferingHints, context) : undefined,
|
|
1856
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1857
|
-
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1858
|
-
: undefined,
|
|
1859
|
-
EndpointConfiguration: output.EndpointConfiguration != null
|
|
1860
|
-
? de_HttpEndpointDescription(output.EndpointConfiguration, context)
|
|
1861
|
-
: undefined,
|
|
1862
|
-
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1863
|
-
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1864
|
-
: undefined,
|
|
1865
|
-
RequestConfiguration: output.RequestConfiguration != null
|
|
1866
|
-
? de_HttpEndpointRequestConfiguration(output.RequestConfiguration, context)
|
|
1867
|
-
: undefined,
|
|
1868
|
-
RetryOptions: output.RetryOptions != null ? de_HttpEndpointRetryOptions(output.RetryOptions, context) : undefined,
|
|
1869
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1870
|
-
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
1871
|
-
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1872
|
-
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1873
|
-
: undefined,
|
|
1874
|
-
};
|
|
1875
|
-
};
|
|
1876
|
-
const de_HttpEndpointRequestConfiguration = (output, context) => {
|
|
1877
|
-
return {
|
|
1878
|
-
CommonAttributes: output.CommonAttributes != null
|
|
1879
|
-
? de_HttpEndpointCommonAttributesList(output.CommonAttributes, context)
|
|
1880
|
-
: undefined,
|
|
1881
|
-
ContentEncoding: (0, smithy_client_1.expectString)(output.ContentEncoding),
|
|
1882
|
-
};
|
|
1883
|
-
};
|
|
1884
|
-
const de_HttpEndpointRetryOptions = (output, context) => {
|
|
1885
|
-
return {
|
|
1886
|
-
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
1887
|
-
};
|
|
1888
|
-
};
|
|
1889
|
-
const de_InputFormatConfiguration = (output, context) => {
|
|
1890
|
-
return {
|
|
1891
|
-
Deserializer: output.Deserializer != null ? de_Deserializer(output.Deserializer, context) : undefined,
|
|
1892
|
-
};
|
|
1893
|
-
};
|
|
1894
|
-
const de_InvalidArgumentException = (output, context) => {
|
|
1895
|
-
return {
|
|
1896
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1897
|
-
};
|
|
1898
|
-
};
|
|
1899
|
-
const de_InvalidKMSResourceException = (output, context) => {
|
|
1900
|
-
return {
|
|
1901
|
-
code: (0, smithy_client_1.expectString)(output.code),
|
|
1902
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1903
|
-
};
|
|
1904
|
-
};
|
|
1905
|
-
const de_KinesisStreamSourceDescription = (output, context) => {
|
|
1906
|
-
return {
|
|
1907
|
-
DeliveryStartTimestamp: output.DeliveryStartTimestamp != null
|
|
1908
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeliveryStartTimestamp)))
|
|
1909
|
-
: undefined,
|
|
1910
|
-
KinesisStreamARN: (0, smithy_client_1.expectString)(output.KinesisStreamARN),
|
|
1911
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1912
|
-
};
|
|
1913
|
-
};
|
|
1914
|
-
const de_KMSEncryptionConfig = (output, context) => {
|
|
1915
|
-
return {
|
|
1916
|
-
AWSKMSKeyARN: (0, smithy_client_1.expectString)(output.AWSKMSKeyARN),
|
|
1917
|
-
};
|
|
1918
|
-
};
|
|
1919
|
-
const de_LimitExceededException = (output, context) => {
|
|
1920
|
-
return {
|
|
1921
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1922
|
-
};
|
|
1923
|
-
};
|
|
1924
|
-
const de_ListDeliveryStreamsOutput = (output, context) => {
|
|
1925
|
-
return {
|
|
1926
|
-
DeliveryStreamNames: output.DeliveryStreamNames != null ? de_DeliveryStreamNameList(output.DeliveryStreamNames, context) : undefined,
|
|
1927
|
-
HasMoreDeliveryStreams: (0, smithy_client_1.expectBoolean)(output.HasMoreDeliveryStreams),
|
|
1928
|
-
};
|
|
1929
|
-
};
|
|
1930
|
-
const de_ListOfNonEmptyStrings = (output, context) => {
|
|
1931
|
-
const retVal = (output || [])
|
|
1932
|
-
.filter((e) => e != null)
|
|
1933
|
-
.map((entry) => {
|
|
1934
|
-
if (entry === null) {
|
|
1935
|
-
return null;
|
|
1936
|
-
}
|
|
1937
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1938
|
-
});
|
|
1939
|
-
return retVal;
|
|
1940
|
-
};
|
|
1941
|
-
const de_ListOfNonEmptyStringsWithoutWhitespace = (output, context) => {
|
|
1942
|
-
const retVal = (output || [])
|
|
1943
|
-
.filter((e) => e != null)
|
|
1944
|
-
.map((entry) => {
|
|
1945
|
-
if (entry === null) {
|
|
1946
|
-
return null;
|
|
1947
|
-
}
|
|
1948
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1949
|
-
});
|
|
1950
|
-
return retVal;
|
|
1951
|
-
};
|
|
1952
|
-
const de_ListTagsForDeliveryStreamOutput = (output, context) => {
|
|
1953
|
-
return {
|
|
1954
|
-
HasMoreTags: (0, smithy_client_1.expectBoolean)(output.HasMoreTags),
|
|
1955
|
-
Tags: output.Tags != null ? de_ListTagsForDeliveryStreamOutputTagList(output.Tags, context) : undefined,
|
|
1956
|
-
};
|
|
1957
|
-
};
|
|
1958
|
-
const de_ListTagsForDeliveryStreamOutputTagList = (output, context) => {
|
|
1959
|
-
const retVal = (output || [])
|
|
1960
|
-
.filter((e) => e != null)
|
|
1961
|
-
.map((entry) => {
|
|
1962
|
-
if (entry === null) {
|
|
1963
|
-
return null;
|
|
1964
|
-
}
|
|
1965
|
-
return de_Tag(entry, context);
|
|
1966
|
-
});
|
|
1967
|
-
return retVal;
|
|
1968
|
-
};
|
|
1969
|
-
const de_OpenXJsonSerDe = (output, context) => {
|
|
1970
|
-
return {
|
|
1971
|
-
CaseInsensitive: (0, smithy_client_1.expectBoolean)(output.CaseInsensitive),
|
|
1972
|
-
ColumnToJsonKeyMappings: output.ColumnToJsonKeyMappings != null
|
|
1973
|
-
? de_ColumnToJsonKeyMappings(output.ColumnToJsonKeyMappings, context)
|
|
1974
|
-
: undefined,
|
|
1975
|
-
ConvertDotsInJsonKeysToUnderscores: (0, smithy_client_1.expectBoolean)(output.ConvertDotsInJsonKeysToUnderscores),
|
|
1976
|
-
};
|
|
1977
|
-
};
|
|
1978
|
-
const de_OrcSerDe = (output, context) => {
|
|
1979
|
-
return {
|
|
1980
|
-
BlockSizeBytes: (0, smithy_client_1.expectInt32)(output.BlockSizeBytes),
|
|
1981
|
-
BloomFilterColumns: output.BloomFilterColumns != null
|
|
1982
|
-
? de_ListOfNonEmptyStringsWithoutWhitespace(output.BloomFilterColumns, context)
|
|
1983
|
-
: undefined,
|
|
1984
|
-
BloomFilterFalsePositiveProbability: (0, smithy_client_1.limitedParseDouble)(output.BloomFilterFalsePositiveProbability),
|
|
1985
|
-
Compression: (0, smithy_client_1.expectString)(output.Compression),
|
|
1986
|
-
DictionaryKeyThreshold: (0, smithy_client_1.limitedParseDouble)(output.DictionaryKeyThreshold),
|
|
1987
|
-
EnablePadding: (0, smithy_client_1.expectBoolean)(output.EnablePadding),
|
|
1988
|
-
FormatVersion: (0, smithy_client_1.expectString)(output.FormatVersion),
|
|
1989
|
-
PaddingTolerance: (0, smithy_client_1.limitedParseDouble)(output.PaddingTolerance),
|
|
1990
|
-
RowIndexStride: (0, smithy_client_1.expectInt32)(output.RowIndexStride),
|
|
1991
|
-
StripeSizeBytes: (0, smithy_client_1.expectInt32)(output.StripeSizeBytes),
|
|
1992
|
-
};
|
|
1993
|
-
};
|
|
1994
|
-
const de_OutputFormatConfiguration = (output, context) => {
|
|
1995
|
-
return {
|
|
1996
|
-
Serializer: output.Serializer != null ? de_Serializer(output.Serializer, context) : undefined,
|
|
1997
|
-
};
|
|
1998
|
-
};
|
|
1999
|
-
const de_ParquetSerDe = (output, context) => {
|
|
2000
|
-
return {
|
|
2001
|
-
BlockSizeBytes: (0, smithy_client_1.expectInt32)(output.BlockSizeBytes),
|
|
2002
|
-
Compression: (0, smithy_client_1.expectString)(output.Compression),
|
|
2003
|
-
EnableDictionaryCompression: (0, smithy_client_1.expectBoolean)(output.EnableDictionaryCompression),
|
|
2004
|
-
MaxPaddingBytes: (0, smithy_client_1.expectInt32)(output.MaxPaddingBytes),
|
|
2005
|
-
PageSizeBytes: (0, smithy_client_1.expectInt32)(output.PageSizeBytes),
|
|
2006
|
-
WriterVersion: (0, smithy_client_1.expectString)(output.WriterVersion),
|
|
2007
|
-
};
|
|
2008
|
-
};
|
|
2009
|
-
const de_ProcessingConfiguration = (output, context) => {
|
|
2010
|
-
return {
|
|
2011
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
2012
|
-
Processors: output.Processors != null ? de_ProcessorList(output.Processors, context) : undefined,
|
|
2013
|
-
};
|
|
2014
|
-
};
|
|
2015
|
-
const de_Processor = (output, context) => {
|
|
2016
|
-
return {
|
|
2017
|
-
Parameters: output.Parameters != null ? de_ProcessorParameterList(output.Parameters, context) : undefined,
|
|
2018
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2019
|
-
};
|
|
2020
|
-
};
|
|
2021
|
-
const de_ProcessorList = (output, context) => {
|
|
2022
|
-
const retVal = (output || [])
|
|
2023
|
-
.filter((e) => e != null)
|
|
2024
|
-
.map((entry) => {
|
|
2025
|
-
if (entry === null) {
|
|
2026
|
-
return null;
|
|
2027
|
-
}
|
|
2028
|
-
return de_Processor(entry, context);
|
|
2029
|
-
});
|
|
2030
|
-
return retVal;
|
|
2031
|
-
};
|
|
2032
|
-
const de_ProcessorParameter = (output, context) => {
|
|
2033
|
-
return {
|
|
2034
|
-
ParameterName: (0, smithy_client_1.expectString)(output.ParameterName),
|
|
2035
|
-
ParameterValue: (0, smithy_client_1.expectString)(output.ParameterValue),
|
|
2036
|
-
};
|
|
2037
|
-
};
|
|
2038
|
-
const de_ProcessorParameterList = (output, context) => {
|
|
2039
|
-
const retVal = (output || [])
|
|
2040
|
-
.filter((e) => e != null)
|
|
2041
|
-
.map((entry) => {
|
|
2042
|
-
if (entry === null) {
|
|
2043
|
-
return null;
|
|
2044
|
-
}
|
|
2045
|
-
return de_ProcessorParameter(entry, context);
|
|
2046
|
-
});
|
|
2047
|
-
return retVal;
|
|
2048
|
-
};
|
|
2049
|
-
const de_PutRecordBatchOutput = (output, context) => {
|
|
2050
|
-
return {
|
|
2051
|
-
Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
|
|
2052
|
-
FailedPutCount: (0, smithy_client_1.expectInt32)(output.FailedPutCount),
|
|
2053
|
-
RequestResponses: output.RequestResponses != null
|
|
2054
|
-
? de_PutRecordBatchResponseEntryList(output.RequestResponses, context)
|
|
2055
|
-
: undefined,
|
|
2056
|
-
};
|
|
2057
|
-
};
|
|
2058
|
-
const de_PutRecordBatchResponseEntry = (output, context) => {
|
|
2059
|
-
return {
|
|
2060
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
2061
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
2062
|
-
RecordId: (0, smithy_client_1.expectString)(output.RecordId),
|
|
2063
|
-
};
|
|
2064
|
-
};
|
|
2065
|
-
const de_PutRecordBatchResponseEntryList = (output, context) => {
|
|
2066
|
-
const retVal = (output || [])
|
|
2067
|
-
.filter((e) => e != null)
|
|
2068
|
-
.map((entry) => {
|
|
2069
|
-
if (entry === null) {
|
|
2070
|
-
return null;
|
|
2071
|
-
}
|
|
2072
|
-
return de_PutRecordBatchResponseEntry(entry, context);
|
|
2073
|
-
});
|
|
2074
|
-
return retVal;
|
|
2075
|
-
};
|
|
2076
|
-
const de_PutRecordOutput = (output, context) => {
|
|
2077
|
-
return {
|
|
2078
|
-
Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
|
|
2079
|
-
RecordId: (0, smithy_client_1.expectString)(output.RecordId),
|
|
2080
|
-
};
|
|
2081
|
-
};
|
|
2082
|
-
const de_RedshiftDestinationDescription = (output, context) => {
|
|
2083
|
-
return {
|
|
2084
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2085
|
-
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2086
|
-
: undefined,
|
|
2087
|
-
ClusterJDBCURL: (0, smithy_client_1.expectString)(output.ClusterJDBCURL),
|
|
2088
|
-
CopyCommand: output.CopyCommand != null ? de_CopyCommand(output.CopyCommand, context) : undefined,
|
|
2089
|
-
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2090
|
-
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2091
|
-
: undefined,
|
|
2092
|
-
RetryOptions: output.RetryOptions != null ? de_RedshiftRetryOptions(output.RetryOptions, context) : undefined,
|
|
2093
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2094
|
-
S3BackupDescription: output.S3BackupDescription != null ? de_S3DestinationDescription(output.S3BackupDescription, context) : undefined,
|
|
2095
|
-
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
2096
|
-
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2097
|
-
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2098
|
-
: undefined,
|
|
2099
|
-
Username: (0, smithy_client_1.expectString)(output.Username),
|
|
2100
|
-
};
|
|
2101
|
-
};
|
|
2102
|
-
const de_RedshiftRetryOptions = (output, context) => {
|
|
2103
|
-
return {
|
|
2104
|
-
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
2105
|
-
};
|
|
2106
|
-
};
|
|
2107
|
-
const de_ResourceInUseException = (output, context) => {
|
|
2108
|
-
return {
|
|
2109
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2110
|
-
};
|
|
2111
|
-
};
|
|
2112
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2113
|
-
return {
|
|
2114
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2115
|
-
};
|
|
2116
|
-
};
|
|
2117
|
-
const de_RetryOptions = (output, context) => {
|
|
2118
|
-
return {
|
|
2119
|
-
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
2120
|
-
};
|
|
2121
|
-
};
|
|
2122
|
-
const de_S3DestinationDescription = (output, context) => {
|
|
2123
|
-
return {
|
|
2124
|
-
BucketARN: (0, smithy_client_1.expectString)(output.BucketARN),
|
|
2125
|
-
BufferingHints: output.BufferingHints != null ? de_BufferingHints(output.BufferingHints, context) : undefined,
|
|
2126
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2127
|
-
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2128
|
-
: undefined,
|
|
2129
|
-
CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
|
|
2130
|
-
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2131
|
-
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2132
|
-
: undefined,
|
|
2133
|
-
ErrorOutputPrefix: (0, smithy_client_1.expectString)(output.ErrorOutputPrefix),
|
|
2134
|
-
Prefix: (0, smithy_client_1.expectString)(output.Prefix),
|
|
2135
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2136
|
-
};
|
|
2137
|
-
};
|
|
2138
|
-
const de_SchemaConfiguration = (output, context) => {
|
|
2139
|
-
return {
|
|
2140
|
-
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
2141
|
-
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
2142
|
-
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
2143
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2144
|
-
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
2145
|
-
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
2146
|
-
};
|
|
2147
|
-
};
|
|
2148
|
-
const de_SecurityGroupIdList = (output, context) => {
|
|
2149
|
-
const retVal = (output || [])
|
|
2150
|
-
.filter((e) => e != null)
|
|
2151
|
-
.map((entry) => {
|
|
2152
|
-
if (entry === null) {
|
|
2153
|
-
return null;
|
|
2154
|
-
}
|
|
2155
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2156
|
-
});
|
|
2157
|
-
return retVal;
|
|
2158
|
-
};
|
|
2159
|
-
const de_Serializer = (output, context) => {
|
|
2160
|
-
return {
|
|
2161
|
-
OrcSerDe: output.OrcSerDe != null ? de_OrcSerDe(output.OrcSerDe, context) : undefined,
|
|
2162
|
-
ParquetSerDe: output.ParquetSerDe != null ? de_ParquetSerDe(output.ParquetSerDe, context) : undefined,
|
|
2163
|
-
};
|
|
2164
|
-
};
|
|
2165
|
-
const de_ServiceUnavailableException = (output, context) => {
|
|
2166
|
-
return {
|
|
2167
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2168
|
-
};
|
|
2169
|
-
};
|
|
2170
|
-
const de_SourceDescription = (output, context) => {
|
|
2171
|
-
return {
|
|
2172
|
-
KinesisStreamSourceDescription: output.KinesisStreamSourceDescription != null
|
|
2173
|
-
? de_KinesisStreamSourceDescription(output.KinesisStreamSourceDescription, context)
|
|
2174
|
-
: undefined,
|
|
2175
|
-
};
|
|
2176
|
-
};
|
|
2177
|
-
const de_SplunkDestinationDescription = (output, context) => {
|
|
2178
|
-
return {
|
|
2179
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2180
|
-
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2181
|
-
: undefined,
|
|
2182
|
-
HECAcknowledgmentTimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.HECAcknowledgmentTimeoutInSeconds),
|
|
2183
|
-
HECEndpoint: (0, smithy_client_1.expectString)(output.HECEndpoint),
|
|
2184
|
-
HECEndpointType: (0, smithy_client_1.expectString)(output.HECEndpointType),
|
|
2185
|
-
HECToken: (0, smithy_client_1.expectString)(output.HECToken),
|
|
2186
|
-
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2187
|
-
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2188
|
-
: undefined,
|
|
2189
|
-
RetryOptions: output.RetryOptions != null ? de_SplunkRetryOptions(output.RetryOptions, context) : undefined,
|
|
2190
|
-
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
2191
|
-
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2192
|
-
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2193
|
-
: undefined,
|
|
2194
|
-
};
|
|
2195
|
-
};
|
|
2196
|
-
const de_SplunkRetryOptions = (output, context) => {
|
|
2197
|
-
return {
|
|
2198
|
-
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
2199
|
-
};
|
|
2200
|
-
};
|
|
2201
|
-
const de_StartDeliveryStreamEncryptionOutput = (output, context) => {
|
|
2202
|
-
return {};
|
|
2203
|
-
};
|
|
2204
|
-
const de_StopDeliveryStreamEncryptionOutput = (output, context) => {
|
|
2205
|
-
return {};
|
|
2206
|
-
};
|
|
2207
|
-
const de_SubnetIdList = (output, context) => {
|
|
2208
|
-
const retVal = (output || [])
|
|
2209
|
-
.filter((e) => e != null)
|
|
2210
|
-
.map((entry) => {
|
|
2211
|
-
if (entry === null) {
|
|
2212
|
-
return null;
|
|
2213
|
-
}
|
|
2214
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2215
|
-
});
|
|
2216
|
-
return retVal;
|
|
2217
|
-
};
|
|
2218
|
-
const de_Tag = (output, context) => {
|
|
2219
|
-
return {
|
|
2220
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2221
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2222
|
-
};
|
|
2223
|
-
};
|
|
2224
|
-
const de_TagDeliveryStreamOutput = (output, context) => {
|
|
2225
|
-
return {};
|
|
2226
|
-
};
|
|
2227
|
-
const de_UntagDeliveryStreamOutput = (output, context) => {
|
|
2228
|
-
return {};
|
|
2229
|
-
};
|
|
2230
|
-
const de_UpdateDestinationOutput = (output, context) => {
|
|
2231
|
-
return {};
|
|
2232
|
-
};
|
|
2233
|
-
const de_VpcConfigurationDescription = (output, context) => {
|
|
2234
|
-
return {
|
|
2235
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2236
|
-
SecurityGroupIds: output.SecurityGroupIds != null ? de_SecurityGroupIdList(output.SecurityGroupIds, context) : undefined,
|
|
2237
|
-
SubnetIds: output.SubnetIds != null ? de_SubnetIdList(output.SubnetIds, context) : undefined,
|
|
2238
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2239
|
-
};
|
|
851
|
+
const de_SourceDescription = (output, context) => {
|
|
852
|
+
return (0, smithy_client_1.take)(output, {
|
|
853
|
+
KinesisStreamSourceDescription: (_) => de_KinesisStreamSourceDescription(_, context),
|
|
854
|
+
});
|
|
2240
855
|
};
|
|
2241
856
|
const deserializeMetadata = (output) => ({
|
|
2242
857
|
httpStatusCode: output.statusCode,
|
|
@@ -2251,6 +866,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2251
866
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2252
867
|
};
|
|
2253
868
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
869
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(FirehoseServiceException_1.FirehoseServiceException);
|
|
2254
870
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2255
871
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2256
872
|
const contents = {
|
|
@@ -2269,6 +885,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
2269
885
|
}
|
|
2270
886
|
return new protocol_http_1.HttpRequest(contents);
|
|
2271
887
|
};
|
|
888
|
+
function sharedHeaders(operation) {
|
|
889
|
+
return {
|
|
890
|
+
"content-type": "application/x-amz-json-1.1",
|
|
891
|
+
"x-amz-target": `Firehose_20150804.${operation}`,
|
|
892
|
+
};
|
|
893
|
+
}
|
|
2272
894
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2273
895
|
if (encoded.length) {
|
|
2274
896
|
return JSON.parse(encoded);
|