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