@aws-sdk/client-firehose 3.118.1 → 3.128.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +418 -619
- package/dist-es/protocols/Aws_json1_1.js +299 -500
- package/package.json +26 -26
|
@@ -145,8 +145,7 @@ const deserializeAws_json1_1CreateDeliveryStreamCommandError = async (output, co
|
|
|
145
145
|
body: await parseBody(output.body, context),
|
|
146
146
|
};
|
|
147
147
|
let response;
|
|
148
|
-
|
|
149
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
148
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
150
149
|
switch (errorCode) {
|
|
151
150
|
case "InvalidArgumentException":
|
|
152
151
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
@@ -162,10 +161,12 @@ const deserializeAws_json1_1CreateDeliveryStreamCommandError = async (output, co
|
|
|
162
161
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
163
162
|
default:
|
|
164
163
|
const parsedBody = parsedOutput.body;
|
|
164
|
+
const $metadata = deserializeMetadata(output);
|
|
165
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
165
166
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
166
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
167
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
167
168
|
$fault: "client",
|
|
168
|
-
$metadata
|
|
169
|
+
$metadata,
|
|
169
170
|
});
|
|
170
171
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
171
172
|
}
|
|
@@ -190,8 +191,7 @@ const deserializeAws_json1_1DeleteDeliveryStreamCommandError = async (output, co
|
|
|
190
191
|
body: await parseBody(output.body, context),
|
|
191
192
|
};
|
|
192
193
|
let response;
|
|
193
|
-
|
|
194
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
194
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
195
195
|
switch (errorCode) {
|
|
196
196
|
case "ResourceInUseException":
|
|
197
197
|
case "com.amazonaws.firehose#ResourceInUseException":
|
|
@@ -201,10 +201,12 @@ const deserializeAws_json1_1DeleteDeliveryStreamCommandError = async (output, co
|
|
|
201
201
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
202
202
|
default:
|
|
203
203
|
const parsedBody = parsedOutput.body;
|
|
204
|
+
const $metadata = deserializeMetadata(output);
|
|
205
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
204
206
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
205
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
207
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
206
208
|
$fault: "client",
|
|
207
|
-
$metadata
|
|
209
|
+
$metadata,
|
|
208
210
|
});
|
|
209
211
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
210
212
|
}
|
|
@@ -229,18 +231,19 @@ const deserializeAws_json1_1DescribeDeliveryStreamCommandError = async (output,
|
|
|
229
231
|
body: await parseBody(output.body, context),
|
|
230
232
|
};
|
|
231
233
|
let response;
|
|
232
|
-
|
|
233
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
234
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
234
235
|
switch (errorCode) {
|
|
235
236
|
case "ResourceNotFoundException":
|
|
236
237
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
237
238
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
238
239
|
default:
|
|
239
240
|
const parsedBody = parsedOutput.body;
|
|
241
|
+
const $metadata = deserializeMetadata(output);
|
|
242
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
240
243
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
241
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
244
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
242
245
|
$fault: "client",
|
|
243
|
-
$metadata
|
|
246
|
+
$metadata,
|
|
244
247
|
});
|
|
245
248
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
246
249
|
}
|
|
@@ -265,15 +268,16 @@ const deserializeAws_json1_1ListDeliveryStreamsCommandError = async (output, con
|
|
|
265
268
|
body: await parseBody(output.body, context),
|
|
266
269
|
};
|
|
267
270
|
let response;
|
|
268
|
-
|
|
269
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
271
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
270
272
|
switch (errorCode) {
|
|
271
273
|
default:
|
|
272
274
|
const parsedBody = parsedOutput.body;
|
|
275
|
+
const $metadata = deserializeMetadata(output);
|
|
276
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
273
277
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
274
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
278
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
275
279
|
$fault: "client",
|
|
276
|
-
$metadata
|
|
280
|
+
$metadata,
|
|
277
281
|
});
|
|
278
282
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
279
283
|
}
|
|
@@ -298,8 +302,7 @@ const deserializeAws_json1_1ListTagsForDeliveryStreamCommandError = async (outpu
|
|
|
298
302
|
body: await parseBody(output.body, context),
|
|
299
303
|
};
|
|
300
304
|
let response;
|
|
301
|
-
|
|
302
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
305
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
303
306
|
switch (errorCode) {
|
|
304
307
|
case "InvalidArgumentException":
|
|
305
308
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
@@ -312,10 +315,12 @@ const deserializeAws_json1_1ListTagsForDeliveryStreamCommandError = async (outpu
|
|
|
312
315
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
313
316
|
default:
|
|
314
317
|
const parsedBody = parsedOutput.body;
|
|
318
|
+
const $metadata = deserializeMetadata(output);
|
|
319
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
315
320
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
316
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
321
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
317
322
|
$fault: "client",
|
|
318
|
-
$metadata
|
|
323
|
+
$metadata,
|
|
319
324
|
});
|
|
320
325
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
321
326
|
}
|
|
@@ -340,8 +345,7 @@ const deserializeAws_json1_1PutRecordCommandError = async (output, context) => {
|
|
|
340
345
|
body: await parseBody(output.body, context),
|
|
341
346
|
};
|
|
342
347
|
let response;
|
|
343
|
-
|
|
344
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
348
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
345
349
|
switch (errorCode) {
|
|
346
350
|
case "InvalidArgumentException":
|
|
347
351
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
@@ -357,10 +361,12 @@ const deserializeAws_json1_1PutRecordCommandError = async (output, context) => {
|
|
|
357
361
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
358
362
|
default:
|
|
359
363
|
const parsedBody = parsedOutput.body;
|
|
364
|
+
const $metadata = deserializeMetadata(output);
|
|
365
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
360
366
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
361
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
367
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
362
368
|
$fault: "client",
|
|
363
|
-
$metadata
|
|
369
|
+
$metadata,
|
|
364
370
|
});
|
|
365
371
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
366
372
|
}
|
|
@@ -385,8 +391,7 @@ const deserializeAws_json1_1PutRecordBatchCommandError = async (output, context)
|
|
|
385
391
|
body: await parseBody(output.body, context),
|
|
386
392
|
};
|
|
387
393
|
let response;
|
|
388
|
-
|
|
389
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
394
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
390
395
|
switch (errorCode) {
|
|
391
396
|
case "InvalidArgumentException":
|
|
392
397
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
@@ -402,10 +407,12 @@ const deserializeAws_json1_1PutRecordBatchCommandError = async (output, context)
|
|
|
402
407
|
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
403
408
|
default:
|
|
404
409
|
const parsedBody = parsedOutput.body;
|
|
410
|
+
const $metadata = deserializeMetadata(output);
|
|
411
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
405
412
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
406
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
413
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
407
414
|
$fault: "client",
|
|
408
|
-
$metadata
|
|
415
|
+
$metadata,
|
|
409
416
|
});
|
|
410
417
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
411
418
|
}
|
|
@@ -430,8 +437,7 @@ const deserializeAws_json1_1StartDeliveryStreamEncryptionCommandError = async (o
|
|
|
430
437
|
body: await parseBody(output.body, context),
|
|
431
438
|
};
|
|
432
439
|
let response;
|
|
433
|
-
|
|
434
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
440
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
435
441
|
switch (errorCode) {
|
|
436
442
|
case "InvalidArgumentException":
|
|
437
443
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
@@ -450,10 +456,12 @@ const deserializeAws_json1_1StartDeliveryStreamEncryptionCommandError = async (o
|
|
|
450
456
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
451
457
|
default:
|
|
452
458
|
const parsedBody = parsedOutput.body;
|
|
459
|
+
const $metadata = deserializeMetadata(output);
|
|
460
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
453
461
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
454
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
462
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
455
463
|
$fault: "client",
|
|
456
|
-
$metadata
|
|
464
|
+
$metadata,
|
|
457
465
|
});
|
|
458
466
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
459
467
|
}
|
|
@@ -478,8 +486,7 @@ const deserializeAws_json1_1StopDeliveryStreamEncryptionCommandError = async (ou
|
|
|
478
486
|
body: await parseBody(output.body, context),
|
|
479
487
|
};
|
|
480
488
|
let response;
|
|
481
|
-
|
|
482
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
489
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
483
490
|
switch (errorCode) {
|
|
484
491
|
case "InvalidArgumentException":
|
|
485
492
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
@@ -495,10 +502,12 @@ const deserializeAws_json1_1StopDeliveryStreamEncryptionCommandError = async (ou
|
|
|
495
502
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
496
503
|
default:
|
|
497
504
|
const parsedBody = parsedOutput.body;
|
|
505
|
+
const $metadata = deserializeMetadata(output);
|
|
506
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
498
507
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
499
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
508
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
500
509
|
$fault: "client",
|
|
501
|
-
$metadata
|
|
510
|
+
$metadata,
|
|
502
511
|
});
|
|
503
512
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
504
513
|
}
|
|
@@ -523,8 +532,7 @@ const deserializeAws_json1_1TagDeliveryStreamCommandError = async (output, conte
|
|
|
523
532
|
body: await parseBody(output.body, context),
|
|
524
533
|
};
|
|
525
534
|
let response;
|
|
526
|
-
|
|
527
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
535
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
528
536
|
switch (errorCode) {
|
|
529
537
|
case "InvalidArgumentException":
|
|
530
538
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
@@ -540,10 +548,12 @@ const deserializeAws_json1_1TagDeliveryStreamCommandError = async (output, conte
|
|
|
540
548
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
541
549
|
default:
|
|
542
550
|
const parsedBody = parsedOutput.body;
|
|
551
|
+
const $metadata = deserializeMetadata(output);
|
|
552
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
543
553
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
544
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
554
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
545
555
|
$fault: "client",
|
|
546
|
-
$metadata
|
|
556
|
+
$metadata,
|
|
547
557
|
});
|
|
548
558
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
549
559
|
}
|
|
@@ -568,8 +578,7 @@ const deserializeAws_json1_1UntagDeliveryStreamCommandError = async (output, con
|
|
|
568
578
|
body: await parseBody(output.body, context),
|
|
569
579
|
};
|
|
570
580
|
let response;
|
|
571
|
-
|
|
572
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
581
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
573
582
|
switch (errorCode) {
|
|
574
583
|
case "InvalidArgumentException":
|
|
575
584
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
@@ -585,10 +594,12 @@ const deserializeAws_json1_1UntagDeliveryStreamCommandError = async (output, con
|
|
|
585
594
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
586
595
|
default:
|
|
587
596
|
const parsedBody = parsedOutput.body;
|
|
597
|
+
const $metadata = deserializeMetadata(output);
|
|
598
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
588
599
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
589
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
600
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
590
601
|
$fault: "client",
|
|
591
|
-
$metadata
|
|
602
|
+
$metadata,
|
|
592
603
|
});
|
|
593
604
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
594
605
|
}
|
|
@@ -613,8 +624,7 @@ const deserializeAws_json1_1UpdateDestinationCommandError = async (output, conte
|
|
|
613
624
|
body: await parseBody(output.body, context),
|
|
614
625
|
};
|
|
615
626
|
let response;
|
|
616
|
-
|
|
617
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
627
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
618
628
|
switch (errorCode) {
|
|
619
629
|
case "ConcurrentModificationException":
|
|
620
630
|
case "com.amazonaws.firehose#ConcurrentModificationException":
|
|
@@ -630,10 +640,12 @@ const deserializeAws_json1_1UpdateDestinationCommandError = async (output, conte
|
|
|
630
640
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
631
641
|
default:
|
|
632
642
|
const parsedBody = parsedOutput.body;
|
|
643
|
+
const $metadata = deserializeMetadata(output);
|
|
644
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
633
645
|
response = new FirehoseServiceException_1.FirehoseServiceException({
|
|
634
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
646
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
635
647
|
$fault: "client",
|
|
636
|
-
$metadata
|
|
648
|
+
$metadata,
|
|
637
649
|
});
|
|
638
650
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
639
651
|
}
|
|
@@ -703,96 +715,78 @@ const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedO
|
|
|
703
715
|
};
|
|
704
716
|
const serializeAws_json1_1AmazonopensearchserviceBufferingHints = (input, context) => {
|
|
705
717
|
return {
|
|
706
|
-
...(input.IntervalInSeconds
|
|
707
|
-
|
|
708
|
-
...(input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }),
|
|
718
|
+
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
719
|
+
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
709
720
|
};
|
|
710
721
|
};
|
|
711
722
|
const serializeAws_json1_1AmazonopensearchserviceDestinationConfiguration = (input, context) => {
|
|
712
723
|
return {
|
|
713
|
-
...(input.BufferingHints
|
|
714
|
-
input.BufferingHints !== null && {
|
|
724
|
+
...(input.BufferingHints != null && {
|
|
715
725
|
BufferingHints: serializeAws_json1_1AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
|
|
716
726
|
}),
|
|
717
|
-
...(input.CloudWatchLoggingOptions
|
|
718
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
727
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
719
728
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
720
729
|
}),
|
|
721
|
-
...(input.ClusterEndpoint
|
|
722
|
-
|
|
723
|
-
...(input.
|
|
724
|
-
...(input.
|
|
725
|
-
...(input.
|
|
726
|
-
input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
727
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
728
|
-
input.ProcessingConfiguration !== null && {
|
|
730
|
+
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
731
|
+
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
732
|
+
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
733
|
+
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
734
|
+
...(input.ProcessingConfiguration != null && {
|
|
729
735
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
730
736
|
}),
|
|
731
|
-
...(input.RetryOptions
|
|
732
|
-
input.RetryOptions !== null && {
|
|
737
|
+
...(input.RetryOptions != null && {
|
|
733
738
|
RetryOptions: serializeAws_json1_1AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
|
|
734
739
|
}),
|
|
735
|
-
...(input.RoleARN
|
|
736
|
-
...(input.S3BackupMode
|
|
737
|
-
...(input.S3Configuration
|
|
738
|
-
input.S3Configuration !== null && {
|
|
740
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
741
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
742
|
+
...(input.S3Configuration != null && {
|
|
739
743
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
740
744
|
}),
|
|
741
|
-
...(input.TypeName
|
|
742
|
-
...(input.VpcConfiguration
|
|
743
|
-
input.VpcConfiguration !== null && {
|
|
745
|
+
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
746
|
+
...(input.VpcConfiguration != null && {
|
|
744
747
|
VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
|
|
745
748
|
}),
|
|
746
749
|
};
|
|
747
750
|
};
|
|
748
751
|
const serializeAws_json1_1AmazonopensearchserviceDestinationUpdate = (input, context) => {
|
|
749
752
|
return {
|
|
750
|
-
...(input.BufferingHints
|
|
751
|
-
input.BufferingHints !== null && {
|
|
753
|
+
...(input.BufferingHints != null && {
|
|
752
754
|
BufferingHints: serializeAws_json1_1AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
|
|
753
755
|
}),
|
|
754
|
-
...(input.CloudWatchLoggingOptions
|
|
755
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
756
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
756
757
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
757
758
|
}),
|
|
758
|
-
...(input.ClusterEndpoint
|
|
759
|
-
|
|
760
|
-
...(input.
|
|
761
|
-
...(input.
|
|
762
|
-
...(input.
|
|
763
|
-
input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
764
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
765
|
-
input.ProcessingConfiguration !== null && {
|
|
759
|
+
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
760
|
+
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
761
|
+
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
762
|
+
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
763
|
+
...(input.ProcessingConfiguration != null && {
|
|
766
764
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
767
765
|
}),
|
|
768
|
-
...(input.RetryOptions
|
|
769
|
-
input.RetryOptions !== null && {
|
|
766
|
+
...(input.RetryOptions != null && {
|
|
770
767
|
RetryOptions: serializeAws_json1_1AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
|
|
771
768
|
}),
|
|
772
|
-
...(input.RoleARN
|
|
773
|
-
...(input.S3Update
|
|
774
|
-
|
|
775
|
-
...(input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }),
|
|
769
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
770
|
+
...(input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
771
|
+
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
776
772
|
};
|
|
777
773
|
};
|
|
778
774
|
const serializeAws_json1_1AmazonopensearchserviceRetryOptions = (input, context) => {
|
|
779
775
|
return {
|
|
780
|
-
...(input.DurationInSeconds
|
|
781
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }),
|
|
776
|
+
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
782
777
|
};
|
|
783
778
|
};
|
|
784
779
|
const serializeAws_json1_1BufferingHints = (input, context) => {
|
|
785
780
|
return {
|
|
786
|
-
...(input.IntervalInSeconds
|
|
787
|
-
|
|
788
|
-
...(input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }),
|
|
781
|
+
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
782
|
+
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
789
783
|
};
|
|
790
784
|
};
|
|
791
785
|
const serializeAws_json1_1CloudWatchLoggingOptions = (input, context) => {
|
|
792
786
|
return {
|
|
793
|
-
...(input.Enabled
|
|
794
|
-
...(input.LogGroupName
|
|
795
|
-
...(input.LogStreamName
|
|
787
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
788
|
+
...(input.LogGroupName != null && { LogGroupName: input.LogGroupName }),
|
|
789
|
+
...(input.LogStreamName != null && { LogStreamName: input.LogStreamName }),
|
|
796
790
|
};
|
|
797
791
|
};
|
|
798
792
|
const serializeAws_json1_1ColumnToJsonKeyMappings = (input, context) => {
|
|
@@ -808,307 +802,246 @@ const serializeAws_json1_1ColumnToJsonKeyMappings = (input, context) => {
|
|
|
808
802
|
};
|
|
809
803
|
const serializeAws_json1_1CopyCommand = (input, context) => {
|
|
810
804
|
return {
|
|
811
|
-
...(input.CopyOptions
|
|
812
|
-
...(input.DataTableColumns
|
|
813
|
-
|
|
814
|
-
...(input.DataTableName !== undefined && input.DataTableName !== null && { DataTableName: input.DataTableName }),
|
|
805
|
+
...(input.CopyOptions != null && { CopyOptions: input.CopyOptions }),
|
|
806
|
+
...(input.DataTableColumns != null && { DataTableColumns: input.DataTableColumns }),
|
|
807
|
+
...(input.DataTableName != null && { DataTableName: input.DataTableName }),
|
|
815
808
|
};
|
|
816
809
|
};
|
|
817
810
|
const serializeAws_json1_1CreateDeliveryStreamInput = (input, context) => {
|
|
818
811
|
return {
|
|
819
|
-
...(input.AmazonopensearchserviceDestinationConfiguration
|
|
820
|
-
input.AmazonopensearchserviceDestinationConfiguration !== null && {
|
|
812
|
+
...(input.AmazonopensearchserviceDestinationConfiguration != null && {
|
|
821
813
|
AmazonopensearchserviceDestinationConfiguration: serializeAws_json1_1AmazonopensearchserviceDestinationConfiguration(input.AmazonopensearchserviceDestinationConfiguration, context),
|
|
822
814
|
}),
|
|
823
|
-
...(input.DeliveryStreamEncryptionConfigurationInput
|
|
824
|
-
input.DeliveryStreamEncryptionConfigurationInput !== null && {
|
|
815
|
+
...(input.DeliveryStreamEncryptionConfigurationInput != null && {
|
|
825
816
|
DeliveryStreamEncryptionConfigurationInput: serializeAws_json1_1DeliveryStreamEncryptionConfigurationInput(input.DeliveryStreamEncryptionConfigurationInput, context),
|
|
826
817
|
}),
|
|
827
|
-
...(input.DeliveryStreamName
|
|
828
|
-
|
|
829
|
-
...(input.
|
|
830
|
-
input.DeliveryStreamType !== null && { DeliveryStreamType: input.DeliveryStreamType }),
|
|
831
|
-
...(input.ElasticsearchDestinationConfiguration !== undefined &&
|
|
832
|
-
input.ElasticsearchDestinationConfiguration !== null && {
|
|
818
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
819
|
+
...(input.DeliveryStreamType != null && { DeliveryStreamType: input.DeliveryStreamType }),
|
|
820
|
+
...(input.ElasticsearchDestinationConfiguration != null && {
|
|
833
821
|
ElasticsearchDestinationConfiguration: serializeAws_json1_1ElasticsearchDestinationConfiguration(input.ElasticsearchDestinationConfiguration, context),
|
|
834
822
|
}),
|
|
835
|
-
...(input.ExtendedS3DestinationConfiguration
|
|
836
|
-
input.ExtendedS3DestinationConfiguration !== null && {
|
|
823
|
+
...(input.ExtendedS3DestinationConfiguration != null && {
|
|
837
824
|
ExtendedS3DestinationConfiguration: serializeAws_json1_1ExtendedS3DestinationConfiguration(input.ExtendedS3DestinationConfiguration, context),
|
|
838
825
|
}),
|
|
839
|
-
...(input.HttpEndpointDestinationConfiguration
|
|
840
|
-
input.HttpEndpointDestinationConfiguration !== null && {
|
|
826
|
+
...(input.HttpEndpointDestinationConfiguration != null && {
|
|
841
827
|
HttpEndpointDestinationConfiguration: serializeAws_json1_1HttpEndpointDestinationConfiguration(input.HttpEndpointDestinationConfiguration, context),
|
|
842
828
|
}),
|
|
843
|
-
...(input.KinesisStreamSourceConfiguration
|
|
844
|
-
input.KinesisStreamSourceConfiguration !== null && {
|
|
829
|
+
...(input.KinesisStreamSourceConfiguration != null && {
|
|
845
830
|
KinesisStreamSourceConfiguration: serializeAws_json1_1KinesisStreamSourceConfiguration(input.KinesisStreamSourceConfiguration, context),
|
|
846
831
|
}),
|
|
847
|
-
...(input.RedshiftDestinationConfiguration
|
|
848
|
-
input.RedshiftDestinationConfiguration !== null && {
|
|
832
|
+
...(input.RedshiftDestinationConfiguration != null && {
|
|
849
833
|
RedshiftDestinationConfiguration: serializeAws_json1_1RedshiftDestinationConfiguration(input.RedshiftDestinationConfiguration, context),
|
|
850
834
|
}),
|
|
851
|
-
...(input.S3DestinationConfiguration
|
|
852
|
-
input.S3DestinationConfiguration !== null && {
|
|
835
|
+
...(input.S3DestinationConfiguration != null && {
|
|
853
836
|
S3DestinationConfiguration: serializeAws_json1_1S3DestinationConfiguration(input.S3DestinationConfiguration, context),
|
|
854
837
|
}),
|
|
855
|
-
...(input.SplunkDestinationConfiguration
|
|
856
|
-
input.SplunkDestinationConfiguration !== null && {
|
|
838
|
+
...(input.SplunkDestinationConfiguration != null && {
|
|
857
839
|
SplunkDestinationConfiguration: serializeAws_json1_1SplunkDestinationConfiguration(input.SplunkDestinationConfiguration, context),
|
|
858
840
|
}),
|
|
859
|
-
...(input.Tags
|
|
860
|
-
input.Tags !== null && { Tags: serializeAws_json1_1TagDeliveryStreamInputTagList(input.Tags, context) }),
|
|
841
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagDeliveryStreamInputTagList(input.Tags, context) }),
|
|
861
842
|
};
|
|
862
843
|
};
|
|
863
844
|
const serializeAws_json1_1DataFormatConversionConfiguration = (input, context) => {
|
|
864
845
|
return {
|
|
865
|
-
...(input.Enabled
|
|
866
|
-
...(input.InputFormatConfiguration
|
|
867
|
-
input.InputFormatConfiguration !== null && {
|
|
846
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
847
|
+
...(input.InputFormatConfiguration != null && {
|
|
868
848
|
InputFormatConfiguration: serializeAws_json1_1InputFormatConfiguration(input.InputFormatConfiguration, context),
|
|
869
849
|
}),
|
|
870
|
-
...(input.OutputFormatConfiguration
|
|
871
|
-
input.OutputFormatConfiguration !== null && {
|
|
850
|
+
...(input.OutputFormatConfiguration != null && {
|
|
872
851
|
OutputFormatConfiguration: serializeAws_json1_1OutputFormatConfiguration(input.OutputFormatConfiguration, context),
|
|
873
852
|
}),
|
|
874
|
-
...(input.SchemaConfiguration
|
|
875
|
-
input.SchemaConfiguration !== null && {
|
|
853
|
+
...(input.SchemaConfiguration != null && {
|
|
876
854
|
SchemaConfiguration: serializeAws_json1_1SchemaConfiguration(input.SchemaConfiguration, context),
|
|
877
855
|
}),
|
|
878
856
|
};
|
|
879
857
|
};
|
|
880
858
|
const serializeAws_json1_1DeleteDeliveryStreamInput = (input, context) => {
|
|
881
859
|
return {
|
|
882
|
-
...(input.AllowForceDelete
|
|
883
|
-
|
|
884
|
-
...(input.DeliveryStreamName !== undefined &&
|
|
885
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
860
|
+
...(input.AllowForceDelete != null && { AllowForceDelete: input.AllowForceDelete }),
|
|
861
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
886
862
|
};
|
|
887
863
|
};
|
|
888
864
|
const serializeAws_json1_1DeliveryStreamEncryptionConfigurationInput = (input, context) => {
|
|
889
865
|
return {
|
|
890
|
-
...(input.KeyARN
|
|
891
|
-
...(input.KeyType
|
|
866
|
+
...(input.KeyARN != null && { KeyARN: input.KeyARN }),
|
|
867
|
+
...(input.KeyType != null && { KeyType: input.KeyType }),
|
|
892
868
|
};
|
|
893
869
|
};
|
|
894
870
|
const serializeAws_json1_1DescribeDeliveryStreamInput = (input, context) => {
|
|
895
871
|
return {
|
|
896
|
-
...(input.DeliveryStreamName
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
...(input.Limit
|
|
872
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
873
|
+
...(input.ExclusiveStartDestinationId != null && {
|
|
874
|
+
ExclusiveStartDestinationId: input.ExclusiveStartDestinationId,
|
|
875
|
+
}),
|
|
876
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
901
877
|
};
|
|
902
878
|
};
|
|
903
879
|
const serializeAws_json1_1Deserializer = (input, context) => {
|
|
904
880
|
return {
|
|
905
|
-
...(input.HiveJsonSerDe
|
|
906
|
-
input.HiveJsonSerDe !== null && {
|
|
881
|
+
...(input.HiveJsonSerDe != null && {
|
|
907
882
|
HiveJsonSerDe: serializeAws_json1_1HiveJsonSerDe(input.HiveJsonSerDe, context),
|
|
908
883
|
}),
|
|
909
|
-
...(input.OpenXJsonSerDe
|
|
910
|
-
input.OpenXJsonSerDe !== null && {
|
|
884
|
+
...(input.OpenXJsonSerDe != null && {
|
|
911
885
|
OpenXJsonSerDe: serializeAws_json1_1OpenXJsonSerDe(input.OpenXJsonSerDe, context),
|
|
912
886
|
}),
|
|
913
887
|
};
|
|
914
888
|
};
|
|
915
889
|
const serializeAws_json1_1DynamicPartitioningConfiguration = (input, context) => {
|
|
916
890
|
return {
|
|
917
|
-
...(input.Enabled
|
|
918
|
-
...(input.RetryOptions
|
|
919
|
-
input.RetryOptions !== null && { RetryOptions: serializeAws_json1_1RetryOptions(input.RetryOptions, context) }),
|
|
891
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
892
|
+
...(input.RetryOptions != null && { RetryOptions: serializeAws_json1_1RetryOptions(input.RetryOptions, context) }),
|
|
920
893
|
};
|
|
921
894
|
};
|
|
922
895
|
const serializeAws_json1_1ElasticsearchBufferingHints = (input, context) => {
|
|
923
896
|
return {
|
|
924
|
-
...(input.IntervalInSeconds
|
|
925
|
-
|
|
926
|
-
...(input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }),
|
|
897
|
+
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
898
|
+
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
927
899
|
};
|
|
928
900
|
};
|
|
929
901
|
const serializeAws_json1_1ElasticsearchDestinationConfiguration = (input, context) => {
|
|
930
902
|
return {
|
|
931
|
-
...(input.BufferingHints
|
|
932
|
-
input.BufferingHints !== null && {
|
|
903
|
+
...(input.BufferingHints != null && {
|
|
933
904
|
BufferingHints: serializeAws_json1_1ElasticsearchBufferingHints(input.BufferingHints, context),
|
|
934
905
|
}),
|
|
935
|
-
...(input.CloudWatchLoggingOptions
|
|
936
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
906
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
937
907
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
938
908
|
}),
|
|
939
|
-
...(input.ClusterEndpoint
|
|
940
|
-
|
|
941
|
-
...(input.
|
|
942
|
-
...(input.
|
|
943
|
-
...(input.
|
|
944
|
-
input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
945
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
946
|
-
input.ProcessingConfiguration !== null && {
|
|
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 && {
|
|
947
914
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
948
915
|
}),
|
|
949
|
-
...(input.RetryOptions
|
|
950
|
-
input.RetryOptions !== null && {
|
|
916
|
+
...(input.RetryOptions != null && {
|
|
951
917
|
RetryOptions: serializeAws_json1_1ElasticsearchRetryOptions(input.RetryOptions, context),
|
|
952
918
|
}),
|
|
953
|
-
...(input.RoleARN
|
|
954
|
-
...(input.S3BackupMode
|
|
955
|
-
...(input.S3Configuration
|
|
956
|
-
input.S3Configuration !== null && {
|
|
919
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
920
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
921
|
+
...(input.S3Configuration != null && {
|
|
957
922
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
958
923
|
}),
|
|
959
|
-
...(input.TypeName
|
|
960
|
-
...(input.VpcConfiguration
|
|
961
|
-
input.VpcConfiguration !== null && {
|
|
924
|
+
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
925
|
+
...(input.VpcConfiguration != null && {
|
|
962
926
|
VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
|
|
963
927
|
}),
|
|
964
928
|
};
|
|
965
929
|
};
|
|
966
930
|
const serializeAws_json1_1ElasticsearchDestinationUpdate = (input, context) => {
|
|
967
931
|
return {
|
|
968
|
-
...(input.BufferingHints
|
|
969
|
-
input.BufferingHints !== null && {
|
|
932
|
+
...(input.BufferingHints != null && {
|
|
970
933
|
BufferingHints: serializeAws_json1_1ElasticsearchBufferingHints(input.BufferingHints, context),
|
|
971
934
|
}),
|
|
972
|
-
...(input.CloudWatchLoggingOptions
|
|
973
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
935
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
974
936
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
975
937
|
}),
|
|
976
|
-
...(input.ClusterEndpoint
|
|
977
|
-
|
|
978
|
-
...(input.
|
|
979
|
-
...(input.
|
|
980
|
-
...(input.
|
|
981
|
-
input.IndexRotationPeriod !== null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
982
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
983
|
-
input.ProcessingConfiguration !== null && {
|
|
938
|
+
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
939
|
+
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
940
|
+
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
941
|
+
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
942
|
+
...(input.ProcessingConfiguration != null && {
|
|
984
943
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
985
944
|
}),
|
|
986
|
-
...(input.RetryOptions
|
|
987
|
-
input.RetryOptions !== null && {
|
|
945
|
+
...(input.RetryOptions != null && {
|
|
988
946
|
RetryOptions: serializeAws_json1_1ElasticsearchRetryOptions(input.RetryOptions, context),
|
|
989
947
|
}),
|
|
990
|
-
...(input.RoleARN
|
|
991
|
-
...(input.S3Update
|
|
992
|
-
|
|
993
|
-
...(input.TypeName !== undefined && input.TypeName !== null && { TypeName: input.TypeName }),
|
|
948
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
949
|
+
...(input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
950
|
+
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
994
951
|
};
|
|
995
952
|
};
|
|
996
953
|
const serializeAws_json1_1ElasticsearchRetryOptions = (input, context) => {
|
|
997
954
|
return {
|
|
998
|
-
...(input.DurationInSeconds
|
|
999
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }),
|
|
955
|
+
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1000
956
|
};
|
|
1001
957
|
};
|
|
1002
958
|
const serializeAws_json1_1EncryptionConfiguration = (input, context) => {
|
|
1003
959
|
return {
|
|
1004
|
-
...(input.KMSEncryptionConfig
|
|
1005
|
-
input.KMSEncryptionConfig !== null && {
|
|
960
|
+
...(input.KMSEncryptionConfig != null && {
|
|
1006
961
|
KMSEncryptionConfig: serializeAws_json1_1KMSEncryptionConfig(input.KMSEncryptionConfig, context),
|
|
1007
962
|
}),
|
|
1008
|
-
...(input.NoEncryptionConfig
|
|
1009
|
-
input.NoEncryptionConfig !== null && { NoEncryptionConfig: input.NoEncryptionConfig }),
|
|
963
|
+
...(input.NoEncryptionConfig != null && { NoEncryptionConfig: input.NoEncryptionConfig }),
|
|
1010
964
|
};
|
|
1011
965
|
};
|
|
1012
966
|
const serializeAws_json1_1ExtendedS3DestinationConfiguration = (input, context) => {
|
|
1013
967
|
return {
|
|
1014
|
-
...(input.BucketARN
|
|
1015
|
-
...(input.BufferingHints
|
|
1016
|
-
input.BufferingHints !== null && {
|
|
968
|
+
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
969
|
+
...(input.BufferingHints != null && {
|
|
1017
970
|
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1018
971
|
}),
|
|
1019
|
-
...(input.CloudWatchLoggingOptions
|
|
1020
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
972
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1021
973
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1022
974
|
}),
|
|
1023
|
-
...(input.CompressionFormat
|
|
1024
|
-
|
|
1025
|
-
...(input.DataFormatConversionConfiguration !== undefined &&
|
|
1026
|
-
input.DataFormatConversionConfiguration !== null && {
|
|
975
|
+
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
976
|
+
...(input.DataFormatConversionConfiguration != null && {
|
|
1027
977
|
DataFormatConversionConfiguration: serializeAws_json1_1DataFormatConversionConfiguration(input.DataFormatConversionConfiguration, context),
|
|
1028
978
|
}),
|
|
1029
|
-
...(input.DynamicPartitioningConfiguration
|
|
1030
|
-
input.DynamicPartitioningConfiguration !== null && {
|
|
979
|
+
...(input.DynamicPartitioningConfiguration != null && {
|
|
1031
980
|
DynamicPartitioningConfiguration: serializeAws_json1_1DynamicPartitioningConfiguration(input.DynamicPartitioningConfiguration, context),
|
|
1032
981
|
}),
|
|
1033
|
-
...(input.EncryptionConfiguration
|
|
1034
|
-
input.EncryptionConfiguration !== null && {
|
|
982
|
+
...(input.EncryptionConfiguration != null && {
|
|
1035
983
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1036
984
|
}),
|
|
1037
|
-
...(input.ErrorOutputPrefix
|
|
1038
|
-
|
|
1039
|
-
...(input.
|
|
1040
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
1041
|
-
input.ProcessingConfiguration !== null && {
|
|
985
|
+
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
986
|
+
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
987
|
+
...(input.ProcessingConfiguration != null && {
|
|
1042
988
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1043
989
|
}),
|
|
1044
|
-
...(input.RoleARN
|
|
1045
|
-
...(input.S3BackupConfiguration
|
|
1046
|
-
input.S3BackupConfiguration !== null && {
|
|
990
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
991
|
+
...(input.S3BackupConfiguration != null && {
|
|
1047
992
|
S3BackupConfiguration: serializeAws_json1_1S3DestinationConfiguration(input.S3BackupConfiguration, context),
|
|
1048
993
|
}),
|
|
1049
|
-
...(input.S3BackupMode
|
|
994
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1050
995
|
};
|
|
1051
996
|
};
|
|
1052
997
|
const serializeAws_json1_1ExtendedS3DestinationUpdate = (input, context) => {
|
|
1053
998
|
return {
|
|
1054
|
-
...(input.BucketARN
|
|
1055
|
-
...(input.BufferingHints
|
|
1056
|
-
input.BufferingHints !== null && {
|
|
999
|
+
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1000
|
+
...(input.BufferingHints != null && {
|
|
1057
1001
|
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1058
1002
|
}),
|
|
1059
|
-
...(input.CloudWatchLoggingOptions
|
|
1060
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1003
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1061
1004
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1062
1005
|
}),
|
|
1063
|
-
...(input.CompressionFormat
|
|
1064
|
-
|
|
1065
|
-
...(input.DataFormatConversionConfiguration !== undefined &&
|
|
1066
|
-
input.DataFormatConversionConfiguration !== null && {
|
|
1006
|
+
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
1007
|
+
...(input.DataFormatConversionConfiguration != null && {
|
|
1067
1008
|
DataFormatConversionConfiguration: serializeAws_json1_1DataFormatConversionConfiguration(input.DataFormatConversionConfiguration, context),
|
|
1068
1009
|
}),
|
|
1069
|
-
...(input.DynamicPartitioningConfiguration
|
|
1070
|
-
input.DynamicPartitioningConfiguration !== null && {
|
|
1010
|
+
...(input.DynamicPartitioningConfiguration != null && {
|
|
1071
1011
|
DynamicPartitioningConfiguration: serializeAws_json1_1DynamicPartitioningConfiguration(input.DynamicPartitioningConfiguration, context),
|
|
1072
1012
|
}),
|
|
1073
|
-
...(input.EncryptionConfiguration
|
|
1074
|
-
input.EncryptionConfiguration !== null && {
|
|
1013
|
+
...(input.EncryptionConfiguration != null && {
|
|
1075
1014
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1076
1015
|
}),
|
|
1077
|
-
...(input.ErrorOutputPrefix
|
|
1078
|
-
|
|
1079
|
-
...(input.
|
|
1080
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
1081
|
-
input.ProcessingConfiguration !== null && {
|
|
1016
|
+
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
1017
|
+
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1018
|
+
...(input.ProcessingConfiguration != null && {
|
|
1082
1019
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1083
1020
|
}),
|
|
1084
|
-
...(input.RoleARN
|
|
1085
|
-
...(input.S3BackupMode
|
|
1086
|
-
...(input.S3BackupUpdate
|
|
1087
|
-
input.S3BackupUpdate !== null && {
|
|
1021
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1022
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1023
|
+
...(input.S3BackupUpdate != null && {
|
|
1088
1024
|
S3BackupUpdate: serializeAws_json1_1S3DestinationUpdate(input.S3BackupUpdate, context),
|
|
1089
1025
|
}),
|
|
1090
1026
|
};
|
|
1091
1027
|
};
|
|
1092
1028
|
const serializeAws_json1_1HiveJsonSerDe = (input, context) => {
|
|
1093
1029
|
return {
|
|
1094
|
-
...(input.TimestampFormats
|
|
1095
|
-
input.TimestampFormats !== null && {
|
|
1030
|
+
...(input.TimestampFormats != null && {
|
|
1096
1031
|
TimestampFormats: serializeAws_json1_1ListOfNonEmptyStrings(input.TimestampFormats, context),
|
|
1097
1032
|
}),
|
|
1098
1033
|
};
|
|
1099
1034
|
};
|
|
1100
1035
|
const serializeAws_json1_1HttpEndpointBufferingHints = (input, context) => {
|
|
1101
1036
|
return {
|
|
1102
|
-
...(input.IntervalInSeconds
|
|
1103
|
-
|
|
1104
|
-
...(input.SizeInMBs !== undefined && input.SizeInMBs !== null && { SizeInMBs: input.SizeInMBs }),
|
|
1037
|
+
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
1038
|
+
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
1105
1039
|
};
|
|
1106
1040
|
};
|
|
1107
1041
|
const serializeAws_json1_1HttpEndpointCommonAttribute = (input, context) => {
|
|
1108
1042
|
return {
|
|
1109
|
-
...(input.AttributeName
|
|
1110
|
-
...(input.AttributeValue
|
|
1111
|
-
input.AttributeValue !== null && { AttributeValue: input.AttributeValue }),
|
|
1043
|
+
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
1044
|
+
...(input.AttributeValue != null && { AttributeValue: input.AttributeValue }),
|
|
1112
1045
|
};
|
|
1113
1046
|
};
|
|
1114
1047
|
const serializeAws_json1_1HttpEndpointCommonAttributesList = (input, context) => {
|
|
@@ -1123,120 +1056,99 @@ const serializeAws_json1_1HttpEndpointCommonAttributesList = (input, context) =>
|
|
|
1123
1056
|
};
|
|
1124
1057
|
const serializeAws_json1_1HttpEndpointConfiguration = (input, context) => {
|
|
1125
1058
|
return {
|
|
1126
|
-
...(input.AccessKey
|
|
1127
|
-
...(input.Name
|
|
1128
|
-
...(input.Url
|
|
1059
|
+
...(input.AccessKey != null && { AccessKey: input.AccessKey }),
|
|
1060
|
+
...(input.Name != null && { Name: input.Name }),
|
|
1061
|
+
...(input.Url != null && { Url: input.Url }),
|
|
1129
1062
|
};
|
|
1130
1063
|
};
|
|
1131
1064
|
const serializeAws_json1_1HttpEndpointDestinationConfiguration = (input, context) => {
|
|
1132
1065
|
return {
|
|
1133
|
-
...(input.BufferingHints
|
|
1134
|
-
input.BufferingHints !== null && {
|
|
1066
|
+
...(input.BufferingHints != null && {
|
|
1135
1067
|
BufferingHints: serializeAws_json1_1HttpEndpointBufferingHints(input.BufferingHints, context),
|
|
1136
1068
|
}),
|
|
1137
|
-
...(input.CloudWatchLoggingOptions
|
|
1138
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1069
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1139
1070
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1140
1071
|
}),
|
|
1141
|
-
...(input.EndpointConfiguration
|
|
1142
|
-
input.EndpointConfiguration !== null && {
|
|
1072
|
+
...(input.EndpointConfiguration != null && {
|
|
1143
1073
|
EndpointConfiguration: serializeAws_json1_1HttpEndpointConfiguration(input.EndpointConfiguration, context),
|
|
1144
1074
|
}),
|
|
1145
|
-
...(input.ProcessingConfiguration
|
|
1146
|
-
input.ProcessingConfiguration !== null && {
|
|
1075
|
+
...(input.ProcessingConfiguration != null && {
|
|
1147
1076
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1148
1077
|
}),
|
|
1149
|
-
...(input.RequestConfiguration
|
|
1150
|
-
input.RequestConfiguration !== null && {
|
|
1078
|
+
...(input.RequestConfiguration != null && {
|
|
1151
1079
|
RequestConfiguration: serializeAws_json1_1HttpEndpointRequestConfiguration(input.RequestConfiguration, context),
|
|
1152
1080
|
}),
|
|
1153
|
-
...(input.RetryOptions
|
|
1154
|
-
input.RetryOptions !== null && {
|
|
1081
|
+
...(input.RetryOptions != null && {
|
|
1155
1082
|
RetryOptions: serializeAws_json1_1HttpEndpointRetryOptions(input.RetryOptions, context),
|
|
1156
1083
|
}),
|
|
1157
|
-
...(input.RoleARN
|
|
1158
|
-
...(input.S3BackupMode
|
|
1159
|
-
...(input.S3Configuration
|
|
1160
|
-
input.S3Configuration !== null && {
|
|
1084
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1085
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1086
|
+
...(input.S3Configuration != null && {
|
|
1161
1087
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
1162
1088
|
}),
|
|
1163
1089
|
};
|
|
1164
1090
|
};
|
|
1165
1091
|
const serializeAws_json1_1HttpEndpointDestinationUpdate = (input, context) => {
|
|
1166
1092
|
return {
|
|
1167
|
-
...(input.BufferingHints
|
|
1168
|
-
input.BufferingHints !== null && {
|
|
1093
|
+
...(input.BufferingHints != null && {
|
|
1169
1094
|
BufferingHints: serializeAws_json1_1HttpEndpointBufferingHints(input.BufferingHints, context),
|
|
1170
1095
|
}),
|
|
1171
|
-
...(input.CloudWatchLoggingOptions
|
|
1172
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1096
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1173
1097
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1174
1098
|
}),
|
|
1175
|
-
...(input.EndpointConfiguration
|
|
1176
|
-
input.EndpointConfiguration !== null && {
|
|
1099
|
+
...(input.EndpointConfiguration != null && {
|
|
1177
1100
|
EndpointConfiguration: serializeAws_json1_1HttpEndpointConfiguration(input.EndpointConfiguration, context),
|
|
1178
1101
|
}),
|
|
1179
|
-
...(input.ProcessingConfiguration
|
|
1180
|
-
input.ProcessingConfiguration !== null && {
|
|
1102
|
+
...(input.ProcessingConfiguration != null && {
|
|
1181
1103
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1182
1104
|
}),
|
|
1183
|
-
...(input.RequestConfiguration
|
|
1184
|
-
input.RequestConfiguration !== null && {
|
|
1105
|
+
...(input.RequestConfiguration != null && {
|
|
1185
1106
|
RequestConfiguration: serializeAws_json1_1HttpEndpointRequestConfiguration(input.RequestConfiguration, context),
|
|
1186
1107
|
}),
|
|
1187
|
-
...(input.RetryOptions
|
|
1188
|
-
input.RetryOptions !== null && {
|
|
1108
|
+
...(input.RetryOptions != null && {
|
|
1189
1109
|
RetryOptions: serializeAws_json1_1HttpEndpointRetryOptions(input.RetryOptions, context),
|
|
1190
1110
|
}),
|
|
1191
|
-
...(input.RoleARN
|
|
1192
|
-
...(input.S3BackupMode
|
|
1193
|
-
...(input.S3Update
|
|
1194
|
-
input.S3Update !== null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
1111
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1112
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1113
|
+
...(input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
1195
1114
|
};
|
|
1196
1115
|
};
|
|
1197
1116
|
const serializeAws_json1_1HttpEndpointRequestConfiguration = (input, context) => {
|
|
1198
1117
|
return {
|
|
1199
|
-
...(input.CommonAttributes
|
|
1200
|
-
input.CommonAttributes !== null && {
|
|
1118
|
+
...(input.CommonAttributes != null && {
|
|
1201
1119
|
CommonAttributes: serializeAws_json1_1HttpEndpointCommonAttributesList(input.CommonAttributes, context),
|
|
1202
1120
|
}),
|
|
1203
|
-
...(input.ContentEncoding
|
|
1204
|
-
input.ContentEncoding !== null && { ContentEncoding: input.ContentEncoding }),
|
|
1121
|
+
...(input.ContentEncoding != null && { ContentEncoding: input.ContentEncoding }),
|
|
1205
1122
|
};
|
|
1206
1123
|
};
|
|
1207
1124
|
const serializeAws_json1_1HttpEndpointRetryOptions = (input, context) => {
|
|
1208
1125
|
return {
|
|
1209
|
-
...(input.DurationInSeconds
|
|
1210
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1126
|
+
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1211
1127
|
};
|
|
1212
1128
|
};
|
|
1213
1129
|
const serializeAws_json1_1InputFormatConfiguration = (input, context) => {
|
|
1214
1130
|
return {
|
|
1215
|
-
...(input.Deserializer
|
|
1216
|
-
input.Deserializer !== null && { Deserializer: serializeAws_json1_1Deserializer(input.Deserializer, context) }),
|
|
1131
|
+
...(input.Deserializer != null && { Deserializer: serializeAws_json1_1Deserializer(input.Deserializer, context) }),
|
|
1217
1132
|
};
|
|
1218
1133
|
};
|
|
1219
1134
|
const serializeAws_json1_1KinesisStreamSourceConfiguration = (input, context) => {
|
|
1220
1135
|
return {
|
|
1221
|
-
...(input.KinesisStreamARN
|
|
1222
|
-
|
|
1223
|
-
...(input.RoleARN !== undefined && input.RoleARN !== null && { RoleARN: input.RoleARN }),
|
|
1136
|
+
...(input.KinesisStreamARN != null && { KinesisStreamARN: input.KinesisStreamARN }),
|
|
1137
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1224
1138
|
};
|
|
1225
1139
|
};
|
|
1226
1140
|
const serializeAws_json1_1KMSEncryptionConfig = (input, context) => {
|
|
1227
1141
|
return {
|
|
1228
|
-
...(input.AWSKMSKeyARN
|
|
1142
|
+
...(input.AWSKMSKeyARN != null && { AWSKMSKeyARN: input.AWSKMSKeyARN }),
|
|
1229
1143
|
};
|
|
1230
1144
|
};
|
|
1231
1145
|
const serializeAws_json1_1ListDeliveryStreamsInput = (input, context) => {
|
|
1232
1146
|
return {
|
|
1233
|
-
...(input.DeliveryStreamType
|
|
1234
|
-
|
|
1235
|
-
...(input.ExclusiveStartDeliveryStreamName !== undefined &&
|
|
1236
|
-
input.ExclusiveStartDeliveryStreamName !== null && {
|
|
1147
|
+
...(input.DeliveryStreamType != null && { DeliveryStreamType: input.DeliveryStreamType }),
|
|
1148
|
+
...(input.ExclusiveStartDeliveryStreamName != null && {
|
|
1237
1149
|
ExclusiveStartDeliveryStreamName: input.ExclusiveStartDeliveryStreamName,
|
|
1238
1150
|
}),
|
|
1239
|
-
...(input.Limit
|
|
1151
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
1240
1152
|
};
|
|
1241
1153
|
};
|
|
1242
1154
|
const serializeAws_json1_1ListOfNonEmptyStrings = (input, context) => {
|
|
@@ -1261,87 +1173,71 @@ const serializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace = (input, conte
|
|
|
1261
1173
|
};
|
|
1262
1174
|
const serializeAws_json1_1ListTagsForDeliveryStreamInput = (input, context) => {
|
|
1263
1175
|
return {
|
|
1264
|
-
...(input.DeliveryStreamName
|
|
1265
|
-
|
|
1266
|
-
...(input.
|
|
1267
|
-
input.ExclusiveStartTagKey !== null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey }),
|
|
1268
|
-
...(input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }),
|
|
1176
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1177
|
+
...(input.ExclusiveStartTagKey != null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey }),
|
|
1178
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
1269
1179
|
};
|
|
1270
1180
|
};
|
|
1271
1181
|
const serializeAws_json1_1OpenXJsonSerDe = (input, context) => {
|
|
1272
1182
|
return {
|
|
1273
|
-
...(input.CaseInsensitive
|
|
1274
|
-
|
|
1275
|
-
...(input.ColumnToJsonKeyMappings !== undefined &&
|
|
1276
|
-
input.ColumnToJsonKeyMappings !== null && {
|
|
1183
|
+
...(input.CaseInsensitive != null && { CaseInsensitive: input.CaseInsensitive }),
|
|
1184
|
+
...(input.ColumnToJsonKeyMappings != null && {
|
|
1277
1185
|
ColumnToJsonKeyMappings: serializeAws_json1_1ColumnToJsonKeyMappings(input.ColumnToJsonKeyMappings, context),
|
|
1278
1186
|
}),
|
|
1279
|
-
...(input.ConvertDotsInJsonKeysToUnderscores
|
|
1280
|
-
input.ConvertDotsInJsonKeysToUnderscores !== null && {
|
|
1187
|
+
...(input.ConvertDotsInJsonKeysToUnderscores != null && {
|
|
1281
1188
|
ConvertDotsInJsonKeysToUnderscores: input.ConvertDotsInJsonKeysToUnderscores,
|
|
1282
1189
|
}),
|
|
1283
1190
|
};
|
|
1284
1191
|
};
|
|
1285
1192
|
const serializeAws_json1_1OrcSerDe = (input, context) => {
|
|
1286
1193
|
return {
|
|
1287
|
-
...(input.BlockSizeBytes
|
|
1288
|
-
|
|
1289
|
-
...(input.BloomFilterColumns !== undefined &&
|
|
1290
|
-
input.BloomFilterColumns !== null && {
|
|
1194
|
+
...(input.BlockSizeBytes != null && { BlockSizeBytes: input.BlockSizeBytes }),
|
|
1195
|
+
...(input.BloomFilterColumns != null && {
|
|
1291
1196
|
BloomFilterColumns: serializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace(input.BloomFilterColumns, context),
|
|
1292
1197
|
}),
|
|
1293
|
-
...(input.BloomFilterFalsePositiveProbability
|
|
1294
|
-
input.BloomFilterFalsePositiveProbability !== null && {
|
|
1198
|
+
...(input.BloomFilterFalsePositiveProbability != null && {
|
|
1295
1199
|
BloomFilterFalsePositiveProbability: (0, smithy_client_1.serializeFloat)(input.BloomFilterFalsePositiveProbability),
|
|
1296
1200
|
}),
|
|
1297
|
-
...(input.Compression
|
|
1298
|
-
...(input.DictionaryKeyThreshold
|
|
1299
|
-
input.DictionaryKeyThreshold !== null && {
|
|
1201
|
+
...(input.Compression != null && { Compression: input.Compression }),
|
|
1202
|
+
...(input.DictionaryKeyThreshold != null && {
|
|
1300
1203
|
DictionaryKeyThreshold: (0, smithy_client_1.serializeFloat)(input.DictionaryKeyThreshold),
|
|
1301
1204
|
}),
|
|
1302
|
-
...(input.EnablePadding
|
|
1303
|
-
...(input.FormatVersion
|
|
1304
|
-
...(input.PaddingTolerance
|
|
1305
|
-
|
|
1306
|
-
...(input.
|
|
1307
|
-
input.RowIndexStride !== null && { RowIndexStride: input.RowIndexStride }),
|
|
1308
|
-
...(input.StripeSizeBytes !== undefined &&
|
|
1309
|
-
input.StripeSizeBytes !== null && { StripeSizeBytes: input.StripeSizeBytes }),
|
|
1205
|
+
...(input.EnablePadding != null && { EnablePadding: input.EnablePadding }),
|
|
1206
|
+
...(input.FormatVersion != null && { FormatVersion: input.FormatVersion }),
|
|
1207
|
+
...(input.PaddingTolerance != null && { PaddingTolerance: (0, smithy_client_1.serializeFloat)(input.PaddingTolerance) }),
|
|
1208
|
+
...(input.RowIndexStride != null && { RowIndexStride: input.RowIndexStride }),
|
|
1209
|
+
...(input.StripeSizeBytes != null && { StripeSizeBytes: input.StripeSizeBytes }),
|
|
1310
1210
|
};
|
|
1311
1211
|
};
|
|
1312
1212
|
const serializeAws_json1_1OutputFormatConfiguration = (input, context) => {
|
|
1313
1213
|
return {
|
|
1314
|
-
...(input.Serializer
|
|
1315
|
-
input.Serializer !== null && { Serializer: serializeAws_json1_1Serializer(input.Serializer, context) }),
|
|
1214
|
+
...(input.Serializer != null && { Serializer: serializeAws_json1_1Serializer(input.Serializer, context) }),
|
|
1316
1215
|
};
|
|
1317
1216
|
};
|
|
1318
1217
|
const serializeAws_json1_1ParquetSerDe = (input, context) => {
|
|
1319
1218
|
return {
|
|
1320
|
-
...(input.BlockSizeBytes
|
|
1321
|
-
|
|
1322
|
-
...(input.
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
...(input.MaxPaddingBytes
|
|
1326
|
-
|
|
1327
|
-
...(input.
|
|
1328
|
-
...(input.WriterVersion !== undefined && input.WriterVersion !== null && { WriterVersion: input.WriterVersion }),
|
|
1219
|
+
...(input.BlockSizeBytes != null && { BlockSizeBytes: input.BlockSizeBytes }),
|
|
1220
|
+
...(input.Compression != null && { Compression: input.Compression }),
|
|
1221
|
+
...(input.EnableDictionaryCompression != null && {
|
|
1222
|
+
EnableDictionaryCompression: input.EnableDictionaryCompression,
|
|
1223
|
+
}),
|
|
1224
|
+
...(input.MaxPaddingBytes != null && { MaxPaddingBytes: input.MaxPaddingBytes }),
|
|
1225
|
+
...(input.PageSizeBytes != null && { PageSizeBytes: input.PageSizeBytes }),
|
|
1226
|
+
...(input.WriterVersion != null && { WriterVersion: input.WriterVersion }),
|
|
1329
1227
|
};
|
|
1330
1228
|
};
|
|
1331
1229
|
const serializeAws_json1_1ProcessingConfiguration = (input, context) => {
|
|
1332
1230
|
return {
|
|
1333
|
-
...(input.Enabled
|
|
1334
|
-
...(input.Processors
|
|
1335
|
-
input.Processors !== null && { Processors: serializeAws_json1_1ProcessorList(input.Processors, context) }),
|
|
1231
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
1232
|
+
...(input.Processors != null && { Processors: serializeAws_json1_1ProcessorList(input.Processors, context) }),
|
|
1336
1233
|
};
|
|
1337
1234
|
};
|
|
1338
1235
|
const serializeAws_json1_1Processor = (input, context) => {
|
|
1339
1236
|
return {
|
|
1340
|
-
...(input.Parameters
|
|
1341
|
-
input.Parameters !== null && {
|
|
1237
|
+
...(input.Parameters != null && {
|
|
1342
1238
|
Parameters: serializeAws_json1_1ProcessorParameterList(input.Parameters, context),
|
|
1343
1239
|
}),
|
|
1344
|
-
...(input.Type
|
|
1240
|
+
...(input.Type != null && { Type: input.Type }),
|
|
1345
1241
|
};
|
|
1346
1242
|
};
|
|
1347
1243
|
const serializeAws_json1_1ProcessorList = (input, context) => {
|
|
@@ -1356,9 +1252,8 @@ const serializeAws_json1_1ProcessorList = (input, context) => {
|
|
|
1356
1252
|
};
|
|
1357
1253
|
const serializeAws_json1_1ProcessorParameter = (input, context) => {
|
|
1358
1254
|
return {
|
|
1359
|
-
...(input.ParameterName
|
|
1360
|
-
...(input.ParameterValue
|
|
1361
|
-
input.ParameterValue !== null && { ParameterValue: input.ParameterValue }),
|
|
1255
|
+
...(input.ParameterName != null && { ParameterName: input.ParameterName }),
|
|
1256
|
+
...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
|
|
1362
1257
|
};
|
|
1363
1258
|
};
|
|
1364
1259
|
const serializeAws_json1_1ProcessorParameterList = (input, context) => {
|
|
@@ -1373,10 +1268,8 @@ const serializeAws_json1_1ProcessorParameterList = (input, context) => {
|
|
|
1373
1268
|
};
|
|
1374
1269
|
const serializeAws_json1_1PutRecordBatchInput = (input, context) => {
|
|
1375
1270
|
return {
|
|
1376
|
-
...(input.DeliveryStreamName
|
|
1377
|
-
|
|
1378
|
-
...(input.Records !== undefined &&
|
|
1379
|
-
input.Records !== null && {
|
|
1271
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1272
|
+
...(input.Records != null && {
|
|
1380
1273
|
Records: serializeAws_json1_1PutRecordBatchRequestEntryList(input.Records, context),
|
|
1381
1274
|
}),
|
|
1382
1275
|
};
|
|
@@ -1393,145 +1286,117 @@ const serializeAws_json1_1PutRecordBatchRequestEntryList = (input, context) => {
|
|
|
1393
1286
|
};
|
|
1394
1287
|
const serializeAws_json1_1PutRecordInput = (input, context) => {
|
|
1395
1288
|
return {
|
|
1396
|
-
...(input.DeliveryStreamName
|
|
1397
|
-
|
|
1398
|
-
...(input.Record !== undefined &&
|
|
1399
|
-
input.Record !== null && { Record: serializeAws_json1_1_Record(input.Record, context) }),
|
|
1289
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1290
|
+
...(input.Record != null && { Record: serializeAws_json1_1_Record(input.Record, context) }),
|
|
1400
1291
|
};
|
|
1401
1292
|
};
|
|
1402
1293
|
const serializeAws_json1_1_Record = (input, context) => {
|
|
1403
1294
|
return {
|
|
1404
|
-
...(input.Data
|
|
1295
|
+
...(input.Data != null && { Data: context.base64Encoder(input.Data) }),
|
|
1405
1296
|
};
|
|
1406
1297
|
};
|
|
1407
1298
|
const serializeAws_json1_1RedshiftDestinationConfiguration = (input, context) => {
|
|
1408
1299
|
return {
|
|
1409
|
-
...(input.CloudWatchLoggingOptions
|
|
1410
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1300
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1411
1301
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1412
1302
|
}),
|
|
1413
|
-
...(input.ClusterJDBCURL
|
|
1414
|
-
|
|
1415
|
-
...(input.
|
|
1416
|
-
|
|
1417
|
-
...(input.Password !== undefined && input.Password !== null && { Password: input.Password }),
|
|
1418
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
1419
|
-
input.ProcessingConfiguration !== null && {
|
|
1303
|
+
...(input.ClusterJDBCURL != null && { ClusterJDBCURL: input.ClusterJDBCURL }),
|
|
1304
|
+
...(input.CopyCommand != null && { CopyCommand: serializeAws_json1_1CopyCommand(input.CopyCommand, context) }),
|
|
1305
|
+
...(input.Password != null && { Password: input.Password }),
|
|
1306
|
+
...(input.ProcessingConfiguration != null && {
|
|
1420
1307
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1421
1308
|
}),
|
|
1422
|
-
...(input.RetryOptions
|
|
1423
|
-
input.RetryOptions !== null && {
|
|
1309
|
+
...(input.RetryOptions != null && {
|
|
1424
1310
|
RetryOptions: serializeAws_json1_1RedshiftRetryOptions(input.RetryOptions, context),
|
|
1425
1311
|
}),
|
|
1426
|
-
...(input.RoleARN
|
|
1427
|
-
...(input.S3BackupConfiguration
|
|
1428
|
-
input.S3BackupConfiguration !== null && {
|
|
1312
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1313
|
+
...(input.S3BackupConfiguration != null && {
|
|
1429
1314
|
S3BackupConfiguration: serializeAws_json1_1S3DestinationConfiguration(input.S3BackupConfiguration, context),
|
|
1430
1315
|
}),
|
|
1431
|
-
...(input.S3BackupMode
|
|
1432
|
-
...(input.S3Configuration
|
|
1433
|
-
input.S3Configuration !== null && {
|
|
1316
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1317
|
+
...(input.S3Configuration != null && {
|
|
1434
1318
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
1435
1319
|
}),
|
|
1436
|
-
...(input.Username
|
|
1320
|
+
...(input.Username != null && { Username: input.Username }),
|
|
1437
1321
|
};
|
|
1438
1322
|
};
|
|
1439
1323
|
const serializeAws_json1_1RedshiftDestinationUpdate = (input, context) => {
|
|
1440
1324
|
return {
|
|
1441
|
-
...(input.CloudWatchLoggingOptions
|
|
1442
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1325
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1443
1326
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1444
1327
|
}),
|
|
1445
|
-
...(input.ClusterJDBCURL
|
|
1446
|
-
|
|
1447
|
-
...(input.
|
|
1448
|
-
|
|
1449
|
-
...(input.Password !== undefined && input.Password !== null && { Password: input.Password }),
|
|
1450
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
1451
|
-
input.ProcessingConfiguration !== null && {
|
|
1328
|
+
...(input.ClusterJDBCURL != null && { ClusterJDBCURL: input.ClusterJDBCURL }),
|
|
1329
|
+
...(input.CopyCommand != null && { CopyCommand: serializeAws_json1_1CopyCommand(input.CopyCommand, context) }),
|
|
1330
|
+
...(input.Password != null && { Password: input.Password }),
|
|
1331
|
+
...(input.ProcessingConfiguration != null && {
|
|
1452
1332
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1453
1333
|
}),
|
|
1454
|
-
...(input.RetryOptions
|
|
1455
|
-
input.RetryOptions !== null && {
|
|
1334
|
+
...(input.RetryOptions != null && {
|
|
1456
1335
|
RetryOptions: serializeAws_json1_1RedshiftRetryOptions(input.RetryOptions, context),
|
|
1457
1336
|
}),
|
|
1458
|
-
...(input.RoleARN
|
|
1459
|
-
...(input.S3BackupMode
|
|
1460
|
-
...(input.S3BackupUpdate
|
|
1461
|
-
input.S3BackupUpdate !== null && {
|
|
1337
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1338
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1339
|
+
...(input.S3BackupUpdate != null && {
|
|
1462
1340
|
S3BackupUpdate: serializeAws_json1_1S3DestinationUpdate(input.S3BackupUpdate, context),
|
|
1463
1341
|
}),
|
|
1464
|
-
...(input.S3Update
|
|
1465
|
-
|
|
1466
|
-
...(input.Username !== undefined && input.Username !== null && { Username: input.Username }),
|
|
1342
|
+
...(input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
1343
|
+
...(input.Username != null && { Username: input.Username }),
|
|
1467
1344
|
};
|
|
1468
1345
|
};
|
|
1469
1346
|
const serializeAws_json1_1RedshiftRetryOptions = (input, context) => {
|
|
1470
1347
|
return {
|
|
1471
|
-
...(input.DurationInSeconds
|
|
1472
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1348
|
+
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1473
1349
|
};
|
|
1474
1350
|
};
|
|
1475
1351
|
const serializeAws_json1_1RetryOptions = (input, context) => {
|
|
1476
1352
|
return {
|
|
1477
|
-
...(input.DurationInSeconds
|
|
1478
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1353
|
+
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1479
1354
|
};
|
|
1480
1355
|
};
|
|
1481
1356
|
const serializeAws_json1_1S3DestinationConfiguration = (input, context) => {
|
|
1482
1357
|
return {
|
|
1483
|
-
...(input.BucketARN
|
|
1484
|
-
...(input.BufferingHints
|
|
1485
|
-
input.BufferingHints !== null && {
|
|
1358
|
+
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1359
|
+
...(input.BufferingHints != null && {
|
|
1486
1360
|
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1487
1361
|
}),
|
|
1488
|
-
...(input.CloudWatchLoggingOptions
|
|
1489
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1362
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1490
1363
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1491
1364
|
}),
|
|
1492
|
-
...(input.CompressionFormat
|
|
1493
|
-
|
|
1494
|
-
...(input.EncryptionConfiguration !== undefined &&
|
|
1495
|
-
input.EncryptionConfiguration !== null && {
|
|
1365
|
+
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
1366
|
+
...(input.EncryptionConfiguration != null && {
|
|
1496
1367
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1497
1368
|
}),
|
|
1498
|
-
...(input.ErrorOutputPrefix
|
|
1499
|
-
|
|
1500
|
-
...(input.
|
|
1501
|
-
...(input.RoleARN !== undefined && input.RoleARN !== null && { RoleARN: input.RoleARN }),
|
|
1369
|
+
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
1370
|
+
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1371
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1502
1372
|
};
|
|
1503
1373
|
};
|
|
1504
1374
|
const serializeAws_json1_1S3DestinationUpdate = (input, context) => {
|
|
1505
1375
|
return {
|
|
1506
|
-
...(input.BucketARN
|
|
1507
|
-
...(input.BufferingHints
|
|
1508
|
-
input.BufferingHints !== null && {
|
|
1376
|
+
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1377
|
+
...(input.BufferingHints != null && {
|
|
1509
1378
|
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1510
1379
|
}),
|
|
1511
|
-
...(input.CloudWatchLoggingOptions
|
|
1512
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1380
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1513
1381
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1514
1382
|
}),
|
|
1515
|
-
...(input.CompressionFormat
|
|
1516
|
-
|
|
1517
|
-
...(input.EncryptionConfiguration !== undefined &&
|
|
1518
|
-
input.EncryptionConfiguration !== null && {
|
|
1383
|
+
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
1384
|
+
...(input.EncryptionConfiguration != null && {
|
|
1519
1385
|
EncryptionConfiguration: serializeAws_json1_1EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1520
1386
|
}),
|
|
1521
|
-
...(input.ErrorOutputPrefix
|
|
1522
|
-
|
|
1523
|
-
...(input.
|
|
1524
|
-
...(input.RoleARN !== undefined && input.RoleARN !== null && { RoleARN: input.RoleARN }),
|
|
1387
|
+
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
1388
|
+
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1389
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1525
1390
|
};
|
|
1526
1391
|
};
|
|
1527
1392
|
const serializeAws_json1_1SchemaConfiguration = (input, context) => {
|
|
1528
1393
|
return {
|
|
1529
|
-
...(input.CatalogId
|
|
1530
|
-
...(input.DatabaseName
|
|
1531
|
-
...(input.Region
|
|
1532
|
-
...(input.RoleARN
|
|
1533
|
-
...(input.TableName
|
|
1534
|
-
...(input.VersionId
|
|
1394
|
+
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
1395
|
+
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
1396
|
+
...(input.Region != null && { Region: input.Region }),
|
|
1397
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1398
|
+
...(input.TableName != null && { TableName: input.TableName }),
|
|
1399
|
+
...(input.VersionId != null && { VersionId: input.VersionId }),
|
|
1535
1400
|
};
|
|
1536
1401
|
};
|
|
1537
1402
|
const serializeAws_json1_1SecurityGroupIdList = (input, context) => {
|
|
@@ -1546,88 +1411,70 @@ const serializeAws_json1_1SecurityGroupIdList = (input, context) => {
|
|
|
1546
1411
|
};
|
|
1547
1412
|
const serializeAws_json1_1Serializer = (input, context) => {
|
|
1548
1413
|
return {
|
|
1549
|
-
...(input.OrcSerDe
|
|
1550
|
-
|
|
1551
|
-
...(input.ParquetSerDe !== undefined &&
|
|
1552
|
-
input.ParquetSerDe !== null && { ParquetSerDe: serializeAws_json1_1ParquetSerDe(input.ParquetSerDe, context) }),
|
|
1414
|
+
...(input.OrcSerDe != null && { OrcSerDe: serializeAws_json1_1OrcSerDe(input.OrcSerDe, context) }),
|
|
1415
|
+
...(input.ParquetSerDe != null && { ParquetSerDe: serializeAws_json1_1ParquetSerDe(input.ParquetSerDe, context) }),
|
|
1553
1416
|
};
|
|
1554
1417
|
};
|
|
1555
1418
|
const serializeAws_json1_1SplunkDestinationConfiguration = (input, context) => {
|
|
1556
1419
|
return {
|
|
1557
|
-
...(input.CloudWatchLoggingOptions
|
|
1558
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1420
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1559
1421
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1560
1422
|
}),
|
|
1561
|
-
...(input.HECAcknowledgmentTimeoutInSeconds
|
|
1562
|
-
input.HECAcknowledgmentTimeoutInSeconds !== null && {
|
|
1423
|
+
...(input.HECAcknowledgmentTimeoutInSeconds != null && {
|
|
1563
1424
|
HECAcknowledgmentTimeoutInSeconds: input.HECAcknowledgmentTimeoutInSeconds,
|
|
1564
1425
|
}),
|
|
1565
|
-
...(input.HECEndpoint
|
|
1566
|
-
...(input.HECEndpointType
|
|
1567
|
-
|
|
1568
|
-
...(input.
|
|
1569
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
1570
|
-
input.ProcessingConfiguration !== null && {
|
|
1426
|
+
...(input.HECEndpoint != null && { HECEndpoint: input.HECEndpoint }),
|
|
1427
|
+
...(input.HECEndpointType != null && { HECEndpointType: input.HECEndpointType }),
|
|
1428
|
+
...(input.HECToken != null && { HECToken: input.HECToken }),
|
|
1429
|
+
...(input.ProcessingConfiguration != null && {
|
|
1571
1430
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1572
1431
|
}),
|
|
1573
|
-
...(input.RetryOptions
|
|
1574
|
-
input.RetryOptions !== null && {
|
|
1432
|
+
...(input.RetryOptions != null && {
|
|
1575
1433
|
RetryOptions: serializeAws_json1_1SplunkRetryOptions(input.RetryOptions, context),
|
|
1576
1434
|
}),
|
|
1577
|
-
...(input.S3BackupMode
|
|
1578
|
-
...(input.S3Configuration
|
|
1579
|
-
input.S3Configuration !== null && {
|
|
1435
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1436
|
+
...(input.S3Configuration != null && {
|
|
1580
1437
|
S3Configuration: serializeAws_json1_1S3DestinationConfiguration(input.S3Configuration, context),
|
|
1581
1438
|
}),
|
|
1582
1439
|
};
|
|
1583
1440
|
};
|
|
1584
1441
|
const serializeAws_json1_1SplunkDestinationUpdate = (input, context) => {
|
|
1585
1442
|
return {
|
|
1586
|
-
...(input.CloudWatchLoggingOptions
|
|
1587
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1443
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1588
1444
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1589
1445
|
}),
|
|
1590
|
-
...(input.HECAcknowledgmentTimeoutInSeconds
|
|
1591
|
-
input.HECAcknowledgmentTimeoutInSeconds !== null && {
|
|
1446
|
+
...(input.HECAcknowledgmentTimeoutInSeconds != null && {
|
|
1592
1447
|
HECAcknowledgmentTimeoutInSeconds: input.HECAcknowledgmentTimeoutInSeconds,
|
|
1593
1448
|
}),
|
|
1594
|
-
...(input.HECEndpoint
|
|
1595
|
-
...(input.HECEndpointType
|
|
1596
|
-
|
|
1597
|
-
...(input.
|
|
1598
|
-
...(input.ProcessingConfiguration !== undefined &&
|
|
1599
|
-
input.ProcessingConfiguration !== null && {
|
|
1449
|
+
...(input.HECEndpoint != null && { HECEndpoint: input.HECEndpoint }),
|
|
1450
|
+
...(input.HECEndpointType != null && { HECEndpointType: input.HECEndpointType }),
|
|
1451
|
+
...(input.HECToken != null && { HECToken: input.HECToken }),
|
|
1452
|
+
...(input.ProcessingConfiguration != null && {
|
|
1600
1453
|
ProcessingConfiguration: serializeAws_json1_1ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1601
1454
|
}),
|
|
1602
|
-
...(input.RetryOptions
|
|
1603
|
-
input.RetryOptions !== null && {
|
|
1455
|
+
...(input.RetryOptions != null && {
|
|
1604
1456
|
RetryOptions: serializeAws_json1_1SplunkRetryOptions(input.RetryOptions, context),
|
|
1605
1457
|
}),
|
|
1606
|
-
...(input.S3BackupMode
|
|
1607
|
-
...(input.S3Update
|
|
1608
|
-
input.S3Update !== null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
1458
|
+
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1459
|
+
...(input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
1609
1460
|
};
|
|
1610
1461
|
};
|
|
1611
1462
|
const serializeAws_json1_1SplunkRetryOptions = (input, context) => {
|
|
1612
1463
|
return {
|
|
1613
|
-
...(input.DurationInSeconds
|
|
1614
|
-
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1464
|
+
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1615
1465
|
};
|
|
1616
1466
|
};
|
|
1617
1467
|
const serializeAws_json1_1StartDeliveryStreamEncryptionInput = (input, context) => {
|
|
1618
1468
|
return {
|
|
1619
|
-
...(input.DeliveryStreamEncryptionConfigurationInput
|
|
1620
|
-
input.DeliveryStreamEncryptionConfigurationInput !== null && {
|
|
1469
|
+
...(input.DeliveryStreamEncryptionConfigurationInput != null && {
|
|
1621
1470
|
DeliveryStreamEncryptionConfigurationInput: serializeAws_json1_1DeliveryStreamEncryptionConfigurationInput(input.DeliveryStreamEncryptionConfigurationInput, context),
|
|
1622
1471
|
}),
|
|
1623
|
-
...(input.DeliveryStreamName
|
|
1624
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1472
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1625
1473
|
};
|
|
1626
1474
|
};
|
|
1627
1475
|
const serializeAws_json1_1StopDeliveryStreamEncryptionInput = (input, context) => {
|
|
1628
1476
|
return {
|
|
1629
|
-
...(input.DeliveryStreamName
|
|
1630
|
-
input.DeliveryStreamName !== null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1477
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1631
1478
|
};
|
|
1632
1479
|
};
|
|
1633
1480
|
const serializeAws_json1_1SubnetIdList = (input, context) => {
|
|
@@ -1642,16 +1489,14 @@ const serializeAws_json1_1SubnetIdList = (input, context) => {
|
|
|
1642
1489
|
};
|
|
1643
1490
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
1644
1491
|
return {
|
|
1645
|
-
...(input.Key
|
|
1646
|
-
...(input.Value
|
|
1492
|
+
...(input.Key != null && { Key: input.Key }),
|
|
1493
|
+
...(input.Value != null && { Value: input.Value }),
|
|
1647
1494
|
};
|
|
1648
1495
|
};
|
|
1649
1496
|
const serializeAws_json1_1TagDeliveryStreamInput = (input, context) => {
|
|
1650
1497
|
return {
|
|
1651
|
-
...(input.DeliveryStreamName
|
|
1652
|
-
|
|
1653
|
-
...(input.Tags !== undefined &&
|
|
1654
|
-
input.Tags !== null && { Tags: serializeAws_json1_1TagDeliveryStreamInputTagList(input.Tags, context) }),
|
|
1498
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1499
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagDeliveryStreamInputTagList(input.Tags, context) }),
|
|
1655
1500
|
};
|
|
1656
1501
|
};
|
|
1657
1502
|
const serializeAws_json1_1TagDeliveryStreamInputTagList = (input, context) => {
|
|
@@ -1676,60 +1521,47 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
1676
1521
|
};
|
|
1677
1522
|
const serializeAws_json1_1UntagDeliveryStreamInput = (input, context) => {
|
|
1678
1523
|
return {
|
|
1679
|
-
...(input.DeliveryStreamName
|
|
1680
|
-
|
|
1681
|
-
...(input.TagKeys !== undefined &&
|
|
1682
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
1524
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1525
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
1683
1526
|
};
|
|
1684
1527
|
};
|
|
1685
1528
|
const serializeAws_json1_1UpdateDestinationInput = (input, context) => {
|
|
1686
1529
|
return {
|
|
1687
|
-
...(input.AmazonopensearchserviceDestinationUpdate
|
|
1688
|
-
input.AmazonopensearchserviceDestinationUpdate !== null && {
|
|
1530
|
+
...(input.AmazonopensearchserviceDestinationUpdate != null && {
|
|
1689
1531
|
AmazonopensearchserviceDestinationUpdate: serializeAws_json1_1AmazonopensearchserviceDestinationUpdate(input.AmazonopensearchserviceDestinationUpdate, context),
|
|
1690
1532
|
}),
|
|
1691
|
-
...(input.CurrentDeliveryStreamVersionId
|
|
1692
|
-
input.CurrentDeliveryStreamVersionId !== null && {
|
|
1533
|
+
...(input.CurrentDeliveryStreamVersionId != null && {
|
|
1693
1534
|
CurrentDeliveryStreamVersionId: input.CurrentDeliveryStreamVersionId,
|
|
1694
1535
|
}),
|
|
1695
|
-
...(input.DeliveryStreamName
|
|
1696
|
-
|
|
1697
|
-
...(input.
|
|
1698
|
-
...(input.ElasticsearchDestinationUpdate !== undefined &&
|
|
1699
|
-
input.ElasticsearchDestinationUpdate !== null && {
|
|
1536
|
+
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1537
|
+
...(input.DestinationId != null && { DestinationId: input.DestinationId }),
|
|
1538
|
+
...(input.ElasticsearchDestinationUpdate != null && {
|
|
1700
1539
|
ElasticsearchDestinationUpdate: serializeAws_json1_1ElasticsearchDestinationUpdate(input.ElasticsearchDestinationUpdate, context),
|
|
1701
1540
|
}),
|
|
1702
|
-
...(input.ExtendedS3DestinationUpdate
|
|
1703
|
-
input.ExtendedS3DestinationUpdate !== null && {
|
|
1541
|
+
...(input.ExtendedS3DestinationUpdate != null && {
|
|
1704
1542
|
ExtendedS3DestinationUpdate: serializeAws_json1_1ExtendedS3DestinationUpdate(input.ExtendedS3DestinationUpdate, context),
|
|
1705
1543
|
}),
|
|
1706
|
-
...(input.HttpEndpointDestinationUpdate
|
|
1707
|
-
input.HttpEndpointDestinationUpdate !== null && {
|
|
1544
|
+
...(input.HttpEndpointDestinationUpdate != null && {
|
|
1708
1545
|
HttpEndpointDestinationUpdate: serializeAws_json1_1HttpEndpointDestinationUpdate(input.HttpEndpointDestinationUpdate, context),
|
|
1709
1546
|
}),
|
|
1710
|
-
...(input.RedshiftDestinationUpdate
|
|
1711
|
-
input.RedshiftDestinationUpdate !== null && {
|
|
1547
|
+
...(input.RedshiftDestinationUpdate != null && {
|
|
1712
1548
|
RedshiftDestinationUpdate: serializeAws_json1_1RedshiftDestinationUpdate(input.RedshiftDestinationUpdate, context),
|
|
1713
1549
|
}),
|
|
1714
|
-
...(input.S3DestinationUpdate
|
|
1715
|
-
input.S3DestinationUpdate !== null && {
|
|
1550
|
+
...(input.S3DestinationUpdate != null && {
|
|
1716
1551
|
S3DestinationUpdate: serializeAws_json1_1S3DestinationUpdate(input.S3DestinationUpdate, context),
|
|
1717
1552
|
}),
|
|
1718
|
-
...(input.SplunkDestinationUpdate
|
|
1719
|
-
input.SplunkDestinationUpdate !== null && {
|
|
1553
|
+
...(input.SplunkDestinationUpdate != null && {
|
|
1720
1554
|
SplunkDestinationUpdate: serializeAws_json1_1SplunkDestinationUpdate(input.SplunkDestinationUpdate, context),
|
|
1721
1555
|
}),
|
|
1722
1556
|
};
|
|
1723
1557
|
};
|
|
1724
1558
|
const serializeAws_json1_1VpcConfiguration = (input, context) => {
|
|
1725
1559
|
return {
|
|
1726
|
-
...(input.RoleARN
|
|
1727
|
-
...(input.SecurityGroupIds
|
|
1728
|
-
input.SecurityGroupIds !== null && {
|
|
1560
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1561
|
+
...(input.SecurityGroupIds != null && {
|
|
1729
1562
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
1730
1563
|
}),
|
|
1731
|
-
...(input.SubnetIds
|
|
1732
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }),
|
|
1564
|
+
...(input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }),
|
|
1733
1565
|
};
|
|
1734
1566
|
};
|
|
1735
1567
|
const deserializeAws_json1_1AmazonopensearchserviceBufferingHints = (output, context) => {
|
|
@@ -1740,29 +1572,29 @@ const deserializeAws_json1_1AmazonopensearchserviceBufferingHints = (output, con
|
|
|
1740
1572
|
};
|
|
1741
1573
|
const deserializeAws_json1_1AmazonopensearchserviceDestinationDescription = (output, context) => {
|
|
1742
1574
|
return {
|
|
1743
|
-
BufferingHints: output.BufferingHints
|
|
1575
|
+
BufferingHints: output.BufferingHints != null
|
|
1744
1576
|
? deserializeAws_json1_1AmazonopensearchserviceBufferingHints(output.BufferingHints, context)
|
|
1745
1577
|
: undefined,
|
|
1746
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
1578
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1747
1579
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1748
1580
|
: undefined,
|
|
1749
1581
|
ClusterEndpoint: (0, smithy_client_1.expectString)(output.ClusterEndpoint),
|
|
1750
1582
|
DomainARN: (0, smithy_client_1.expectString)(output.DomainARN),
|
|
1751
1583
|
IndexName: (0, smithy_client_1.expectString)(output.IndexName),
|
|
1752
1584
|
IndexRotationPeriod: (0, smithy_client_1.expectString)(output.IndexRotationPeriod),
|
|
1753
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
1585
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1754
1586
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1755
1587
|
: undefined,
|
|
1756
|
-
RetryOptions: output.RetryOptions
|
|
1588
|
+
RetryOptions: output.RetryOptions != null
|
|
1757
1589
|
? deserializeAws_json1_1AmazonopensearchserviceRetryOptions(output.RetryOptions, context)
|
|
1758
1590
|
: undefined,
|
|
1759
1591
|
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1760
1592
|
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
1761
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
1593
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1762
1594
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1763
1595
|
: undefined,
|
|
1764
1596
|
TypeName: (0, smithy_client_1.expectString)(output.TypeName),
|
|
1765
|
-
VpcConfigurationDescription: output.VpcConfigurationDescription
|
|
1597
|
+
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1766
1598
|
? deserializeAws_json1_1VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1767
1599
|
: undefined,
|
|
1768
1600
|
};
|
|
@@ -1816,13 +1648,13 @@ const deserializeAws_json1_1CreateDeliveryStreamOutput = (output, context) => {
|
|
|
1816
1648
|
const deserializeAws_json1_1DataFormatConversionConfiguration = (output, context) => {
|
|
1817
1649
|
return {
|
|
1818
1650
|
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
1819
|
-
InputFormatConfiguration: output.InputFormatConfiguration
|
|
1651
|
+
InputFormatConfiguration: output.InputFormatConfiguration != null
|
|
1820
1652
|
? deserializeAws_json1_1InputFormatConfiguration(output.InputFormatConfiguration, context)
|
|
1821
1653
|
: undefined,
|
|
1822
|
-
OutputFormatConfiguration: output.OutputFormatConfiguration
|
|
1654
|
+
OutputFormatConfiguration: output.OutputFormatConfiguration != null
|
|
1823
1655
|
? deserializeAws_json1_1OutputFormatConfiguration(output.OutputFormatConfiguration, context)
|
|
1824
1656
|
: undefined,
|
|
1825
|
-
SchemaConfiguration: output.SchemaConfiguration
|
|
1657
|
+
SchemaConfiguration: output.SchemaConfiguration != null
|
|
1826
1658
|
? deserializeAws_json1_1SchemaConfiguration(output.SchemaConfiguration, context)
|
|
1827
1659
|
: undefined,
|
|
1828
1660
|
};
|
|
@@ -1832,36 +1664,33 @@ const deserializeAws_json1_1DeleteDeliveryStreamOutput = (output, context) => {
|
|
|
1832
1664
|
};
|
|
1833
1665
|
const deserializeAws_json1_1DeliveryStreamDescription = (output, context) => {
|
|
1834
1666
|
return {
|
|
1835
|
-
CreateTimestamp: output.CreateTimestamp
|
|
1667
|
+
CreateTimestamp: output.CreateTimestamp != null
|
|
1836
1668
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTimestamp)))
|
|
1837
1669
|
: undefined,
|
|
1838
1670
|
DeliveryStreamARN: (0, smithy_client_1.expectString)(output.DeliveryStreamARN),
|
|
1839
|
-
DeliveryStreamEncryptionConfiguration: output.DeliveryStreamEncryptionConfiguration
|
|
1840
|
-
output.DeliveryStreamEncryptionConfiguration !== null
|
|
1671
|
+
DeliveryStreamEncryptionConfiguration: output.DeliveryStreamEncryptionConfiguration != null
|
|
1841
1672
|
? deserializeAws_json1_1DeliveryStreamEncryptionConfiguration(output.DeliveryStreamEncryptionConfiguration, context)
|
|
1842
1673
|
: undefined,
|
|
1843
1674
|
DeliveryStreamName: (0, smithy_client_1.expectString)(output.DeliveryStreamName),
|
|
1844
1675
|
DeliveryStreamStatus: (0, smithy_client_1.expectString)(output.DeliveryStreamStatus),
|
|
1845
1676
|
DeliveryStreamType: (0, smithy_client_1.expectString)(output.DeliveryStreamType),
|
|
1846
|
-
Destinations: output.Destinations
|
|
1677
|
+
Destinations: output.Destinations != null
|
|
1847
1678
|
? deserializeAws_json1_1DestinationDescriptionList(output.Destinations, context)
|
|
1848
1679
|
: undefined,
|
|
1849
|
-
FailureDescription: output.FailureDescription
|
|
1680
|
+
FailureDescription: output.FailureDescription != null
|
|
1850
1681
|
? deserializeAws_json1_1FailureDescription(output.FailureDescription, context)
|
|
1851
1682
|
: undefined,
|
|
1852
1683
|
HasMoreDestinations: (0, smithy_client_1.expectBoolean)(output.HasMoreDestinations),
|
|
1853
|
-
LastUpdateTimestamp: output.LastUpdateTimestamp
|
|
1684
|
+
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
1854
1685
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTimestamp)))
|
|
1855
1686
|
: undefined,
|
|
1856
|
-
Source: output.Source
|
|
1857
|
-
? deserializeAws_json1_1SourceDescription(output.Source, context)
|
|
1858
|
-
: undefined,
|
|
1687
|
+
Source: output.Source != null ? deserializeAws_json1_1SourceDescription(output.Source, context) : undefined,
|
|
1859
1688
|
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
1860
1689
|
};
|
|
1861
1690
|
};
|
|
1862
1691
|
const deserializeAws_json1_1DeliveryStreamEncryptionConfiguration = (output, context) => {
|
|
1863
1692
|
return {
|
|
1864
|
-
FailureDescription: output.FailureDescription
|
|
1693
|
+
FailureDescription: output.FailureDescription != null
|
|
1865
1694
|
? deserializeAws_json1_1FailureDescription(output.FailureDescription, context)
|
|
1866
1695
|
: undefined,
|
|
1867
1696
|
KeyARN: (0, smithy_client_1.expectString)(output.KeyARN),
|
|
@@ -1882,44 +1711,39 @@ const deserializeAws_json1_1DeliveryStreamNameList = (output, context) => {
|
|
|
1882
1711
|
};
|
|
1883
1712
|
const deserializeAws_json1_1DescribeDeliveryStreamOutput = (output, context) => {
|
|
1884
1713
|
return {
|
|
1885
|
-
DeliveryStreamDescription: output.DeliveryStreamDescription
|
|
1714
|
+
DeliveryStreamDescription: output.DeliveryStreamDescription != null
|
|
1886
1715
|
? deserializeAws_json1_1DeliveryStreamDescription(output.DeliveryStreamDescription, context)
|
|
1887
1716
|
: undefined,
|
|
1888
1717
|
};
|
|
1889
1718
|
};
|
|
1890
1719
|
const deserializeAws_json1_1Deserializer = (output, context) => {
|
|
1891
1720
|
return {
|
|
1892
|
-
HiveJsonSerDe: output.HiveJsonSerDe
|
|
1893
|
-
|
|
1894
|
-
: undefined,
|
|
1895
|
-
OpenXJsonSerDe: output.OpenXJsonSerDe !== undefined && output.OpenXJsonSerDe !== null
|
|
1896
|
-
? deserializeAws_json1_1OpenXJsonSerDe(output.OpenXJsonSerDe, context)
|
|
1897
|
-
: undefined,
|
|
1721
|
+
HiveJsonSerDe: output.HiveJsonSerDe != null ? deserializeAws_json1_1HiveJsonSerDe(output.HiveJsonSerDe, context) : undefined,
|
|
1722
|
+
OpenXJsonSerDe: output.OpenXJsonSerDe != null ? deserializeAws_json1_1OpenXJsonSerDe(output.OpenXJsonSerDe, context) : undefined,
|
|
1898
1723
|
};
|
|
1899
1724
|
};
|
|
1900
1725
|
const deserializeAws_json1_1DestinationDescription = (output, context) => {
|
|
1901
1726
|
return {
|
|
1902
|
-
AmazonopensearchserviceDestinationDescription: output.AmazonopensearchserviceDestinationDescription
|
|
1903
|
-
output.AmazonopensearchserviceDestinationDescription !== null
|
|
1727
|
+
AmazonopensearchserviceDestinationDescription: output.AmazonopensearchserviceDestinationDescription != null
|
|
1904
1728
|
? deserializeAws_json1_1AmazonopensearchserviceDestinationDescription(output.AmazonopensearchserviceDestinationDescription, context)
|
|
1905
1729
|
: undefined,
|
|
1906
1730
|
DestinationId: (0, smithy_client_1.expectString)(output.DestinationId),
|
|
1907
|
-
ElasticsearchDestinationDescription: output.ElasticsearchDestinationDescription
|
|
1731
|
+
ElasticsearchDestinationDescription: output.ElasticsearchDestinationDescription != null
|
|
1908
1732
|
? deserializeAws_json1_1ElasticsearchDestinationDescription(output.ElasticsearchDestinationDescription, context)
|
|
1909
1733
|
: undefined,
|
|
1910
|
-
ExtendedS3DestinationDescription: output.ExtendedS3DestinationDescription
|
|
1734
|
+
ExtendedS3DestinationDescription: output.ExtendedS3DestinationDescription != null
|
|
1911
1735
|
? deserializeAws_json1_1ExtendedS3DestinationDescription(output.ExtendedS3DestinationDescription, context)
|
|
1912
1736
|
: undefined,
|
|
1913
|
-
HttpEndpointDestinationDescription: output.HttpEndpointDestinationDescription
|
|
1737
|
+
HttpEndpointDestinationDescription: output.HttpEndpointDestinationDescription != null
|
|
1914
1738
|
? deserializeAws_json1_1HttpEndpointDestinationDescription(output.HttpEndpointDestinationDescription, context)
|
|
1915
1739
|
: undefined,
|
|
1916
|
-
RedshiftDestinationDescription: output.RedshiftDestinationDescription
|
|
1740
|
+
RedshiftDestinationDescription: output.RedshiftDestinationDescription != null
|
|
1917
1741
|
? deserializeAws_json1_1RedshiftDestinationDescription(output.RedshiftDestinationDescription, context)
|
|
1918
1742
|
: undefined,
|
|
1919
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
1743
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1920
1744
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1921
1745
|
: undefined,
|
|
1922
|
-
SplunkDestinationDescription: output.SplunkDestinationDescription
|
|
1746
|
+
SplunkDestinationDescription: output.SplunkDestinationDescription != null
|
|
1923
1747
|
? deserializeAws_json1_1SplunkDestinationDescription(output.SplunkDestinationDescription, context)
|
|
1924
1748
|
: undefined,
|
|
1925
1749
|
};
|
|
@@ -1938,9 +1762,7 @@ const deserializeAws_json1_1DestinationDescriptionList = (output, context) => {
|
|
|
1938
1762
|
const deserializeAws_json1_1DynamicPartitioningConfiguration = (output, context) => {
|
|
1939
1763
|
return {
|
|
1940
1764
|
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
1941
|
-
RetryOptions: output.RetryOptions
|
|
1942
|
-
? deserializeAws_json1_1RetryOptions(output.RetryOptions, context)
|
|
1943
|
-
: undefined,
|
|
1765
|
+
RetryOptions: output.RetryOptions != null ? deserializeAws_json1_1RetryOptions(output.RetryOptions, context) : undefined,
|
|
1944
1766
|
};
|
|
1945
1767
|
};
|
|
1946
1768
|
const deserializeAws_json1_1ElasticsearchBufferingHints = (output, context) => {
|
|
@@ -1951,29 +1773,29 @@ const deserializeAws_json1_1ElasticsearchBufferingHints = (output, context) => {
|
|
|
1951
1773
|
};
|
|
1952
1774
|
const deserializeAws_json1_1ElasticsearchDestinationDescription = (output, context) => {
|
|
1953
1775
|
return {
|
|
1954
|
-
BufferingHints: output.BufferingHints
|
|
1776
|
+
BufferingHints: output.BufferingHints != null
|
|
1955
1777
|
? deserializeAws_json1_1ElasticsearchBufferingHints(output.BufferingHints, context)
|
|
1956
1778
|
: undefined,
|
|
1957
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
1779
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1958
1780
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1959
1781
|
: undefined,
|
|
1960
1782
|
ClusterEndpoint: (0, smithy_client_1.expectString)(output.ClusterEndpoint),
|
|
1961
1783
|
DomainARN: (0, smithy_client_1.expectString)(output.DomainARN),
|
|
1962
1784
|
IndexName: (0, smithy_client_1.expectString)(output.IndexName),
|
|
1963
1785
|
IndexRotationPeriod: (0, smithy_client_1.expectString)(output.IndexRotationPeriod),
|
|
1964
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
1786
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1965
1787
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1966
1788
|
: undefined,
|
|
1967
|
-
RetryOptions: output.RetryOptions
|
|
1789
|
+
RetryOptions: output.RetryOptions != null
|
|
1968
1790
|
? deserializeAws_json1_1ElasticsearchRetryOptions(output.RetryOptions, context)
|
|
1969
1791
|
: undefined,
|
|
1970
1792
|
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1971
1793
|
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
1972
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
1794
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1973
1795
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1974
1796
|
: undefined,
|
|
1975
1797
|
TypeName: (0, smithy_client_1.expectString)(output.TypeName),
|
|
1976
|
-
VpcConfigurationDescription: output.VpcConfigurationDescription
|
|
1798
|
+
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1977
1799
|
? deserializeAws_json1_1VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1978
1800
|
: undefined,
|
|
1979
1801
|
};
|
|
@@ -1985,7 +1807,7 @@ const deserializeAws_json1_1ElasticsearchRetryOptions = (output, context) => {
|
|
|
1985
1807
|
};
|
|
1986
1808
|
const deserializeAws_json1_1EncryptionConfiguration = (output, context) => {
|
|
1987
1809
|
return {
|
|
1988
|
-
KMSEncryptionConfig: output.KMSEncryptionConfig
|
|
1810
|
+
KMSEncryptionConfig: output.KMSEncryptionConfig != null
|
|
1989
1811
|
? deserializeAws_json1_1KMSEncryptionConfig(output.KMSEncryptionConfig, context)
|
|
1990
1812
|
: undefined,
|
|
1991
1813
|
NoEncryptionConfig: (0, smithy_client_1.expectString)(output.NoEncryptionConfig),
|
|
@@ -1994,29 +1816,27 @@ const deserializeAws_json1_1EncryptionConfiguration = (output, context) => {
|
|
|
1994
1816
|
const deserializeAws_json1_1ExtendedS3DestinationDescription = (output, context) => {
|
|
1995
1817
|
return {
|
|
1996
1818
|
BucketARN: (0, smithy_client_1.expectString)(output.BucketARN),
|
|
1997
|
-
BufferingHints: output.BufferingHints
|
|
1998
|
-
|
|
1999
|
-
: undefined,
|
|
2000
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
|
|
1819
|
+
BufferingHints: output.BufferingHints != null ? deserializeAws_json1_1BufferingHints(output.BufferingHints, context) : undefined,
|
|
1820
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2001
1821
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2002
1822
|
: undefined,
|
|
2003
1823
|
CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
|
|
2004
|
-
DataFormatConversionConfiguration: output.DataFormatConversionConfiguration
|
|
1824
|
+
DataFormatConversionConfiguration: output.DataFormatConversionConfiguration != null
|
|
2005
1825
|
? deserializeAws_json1_1DataFormatConversionConfiguration(output.DataFormatConversionConfiguration, context)
|
|
2006
1826
|
: undefined,
|
|
2007
|
-
DynamicPartitioningConfiguration: output.DynamicPartitioningConfiguration
|
|
1827
|
+
DynamicPartitioningConfiguration: output.DynamicPartitioningConfiguration != null
|
|
2008
1828
|
? deserializeAws_json1_1DynamicPartitioningConfiguration(output.DynamicPartitioningConfiguration, context)
|
|
2009
1829
|
: undefined,
|
|
2010
|
-
EncryptionConfiguration: output.EncryptionConfiguration
|
|
1830
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2011
1831
|
? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2012
1832
|
: undefined,
|
|
2013
1833
|
ErrorOutputPrefix: (0, smithy_client_1.expectString)(output.ErrorOutputPrefix),
|
|
2014
1834
|
Prefix: (0, smithy_client_1.expectString)(output.Prefix),
|
|
2015
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
1835
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2016
1836
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2017
1837
|
: undefined,
|
|
2018
1838
|
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2019
|
-
S3BackupDescription: output.S3BackupDescription
|
|
1839
|
+
S3BackupDescription: output.S3BackupDescription != null
|
|
2020
1840
|
? deserializeAws_json1_1S3DestinationDescription(output.S3BackupDescription, context)
|
|
2021
1841
|
: undefined,
|
|
2022
1842
|
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
@@ -2030,7 +1850,7 @@ const deserializeAws_json1_1FailureDescription = (output, context) => {
|
|
|
2030
1850
|
};
|
|
2031
1851
|
const deserializeAws_json1_1HiveJsonSerDe = (output, context) => {
|
|
2032
1852
|
return {
|
|
2033
|
-
TimestampFormats: output.TimestampFormats
|
|
1853
|
+
TimestampFormats: output.TimestampFormats != null
|
|
2034
1854
|
? deserializeAws_json1_1ListOfNonEmptyStrings(output.TimestampFormats, context)
|
|
2035
1855
|
: undefined,
|
|
2036
1856
|
};
|
|
@@ -2066,34 +1886,34 @@ const deserializeAws_json1_1HttpEndpointDescription = (output, context) => {
|
|
|
2066
1886
|
};
|
|
2067
1887
|
const deserializeAws_json1_1HttpEndpointDestinationDescription = (output, context) => {
|
|
2068
1888
|
return {
|
|
2069
|
-
BufferingHints: output.BufferingHints
|
|
1889
|
+
BufferingHints: output.BufferingHints != null
|
|
2070
1890
|
? deserializeAws_json1_1HttpEndpointBufferingHints(output.BufferingHints, context)
|
|
2071
1891
|
: undefined,
|
|
2072
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
1892
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2073
1893
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2074
1894
|
: undefined,
|
|
2075
|
-
EndpointConfiguration: output.EndpointConfiguration
|
|
1895
|
+
EndpointConfiguration: output.EndpointConfiguration != null
|
|
2076
1896
|
? deserializeAws_json1_1HttpEndpointDescription(output.EndpointConfiguration, context)
|
|
2077
1897
|
: undefined,
|
|
2078
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
1898
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2079
1899
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2080
1900
|
: undefined,
|
|
2081
|
-
RequestConfiguration: output.RequestConfiguration
|
|
1901
|
+
RequestConfiguration: output.RequestConfiguration != null
|
|
2082
1902
|
? deserializeAws_json1_1HttpEndpointRequestConfiguration(output.RequestConfiguration, context)
|
|
2083
1903
|
: undefined,
|
|
2084
|
-
RetryOptions: output.RetryOptions
|
|
1904
|
+
RetryOptions: output.RetryOptions != null
|
|
2085
1905
|
? deserializeAws_json1_1HttpEndpointRetryOptions(output.RetryOptions, context)
|
|
2086
1906
|
: undefined,
|
|
2087
1907
|
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2088
1908
|
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
2089
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
1909
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2090
1910
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2091
1911
|
: undefined,
|
|
2092
1912
|
};
|
|
2093
1913
|
};
|
|
2094
1914
|
const deserializeAws_json1_1HttpEndpointRequestConfiguration = (output, context) => {
|
|
2095
1915
|
return {
|
|
2096
|
-
CommonAttributes: output.CommonAttributes
|
|
1916
|
+
CommonAttributes: output.CommonAttributes != null
|
|
2097
1917
|
? deserializeAws_json1_1HttpEndpointCommonAttributesList(output.CommonAttributes, context)
|
|
2098
1918
|
: undefined,
|
|
2099
1919
|
ContentEncoding: (0, smithy_client_1.expectString)(output.ContentEncoding),
|
|
@@ -2106,9 +1926,7 @@ const deserializeAws_json1_1HttpEndpointRetryOptions = (output, context) => {
|
|
|
2106
1926
|
};
|
|
2107
1927
|
const deserializeAws_json1_1InputFormatConfiguration = (output, context) => {
|
|
2108
1928
|
return {
|
|
2109
|
-
Deserializer: output.Deserializer
|
|
2110
|
-
? deserializeAws_json1_1Deserializer(output.Deserializer, context)
|
|
2111
|
-
: undefined,
|
|
1929
|
+
Deserializer: output.Deserializer != null ? deserializeAws_json1_1Deserializer(output.Deserializer, context) : undefined,
|
|
2112
1930
|
};
|
|
2113
1931
|
};
|
|
2114
1932
|
const deserializeAws_json1_1InvalidArgumentException = (output, context) => {
|
|
@@ -2124,7 +1942,7 @@ const deserializeAws_json1_1InvalidKMSResourceException = (output, context) => {
|
|
|
2124
1942
|
};
|
|
2125
1943
|
const deserializeAws_json1_1KinesisStreamSourceDescription = (output, context) => {
|
|
2126
1944
|
return {
|
|
2127
|
-
DeliveryStartTimestamp: output.DeliveryStartTimestamp
|
|
1945
|
+
DeliveryStartTimestamp: output.DeliveryStartTimestamp != null
|
|
2128
1946
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeliveryStartTimestamp)))
|
|
2129
1947
|
: undefined,
|
|
2130
1948
|
KinesisStreamARN: (0, smithy_client_1.expectString)(output.KinesisStreamARN),
|
|
@@ -2143,7 +1961,7 @@ const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
|
2143
1961
|
};
|
|
2144
1962
|
const deserializeAws_json1_1ListDeliveryStreamsOutput = (output, context) => {
|
|
2145
1963
|
return {
|
|
2146
|
-
DeliveryStreamNames: output.DeliveryStreamNames
|
|
1964
|
+
DeliveryStreamNames: output.DeliveryStreamNames != null
|
|
2147
1965
|
? deserializeAws_json1_1DeliveryStreamNameList(output.DeliveryStreamNames, context)
|
|
2148
1966
|
: undefined,
|
|
2149
1967
|
HasMoreDeliveryStreams: (0, smithy_client_1.expectBoolean)(output.HasMoreDeliveryStreams),
|
|
@@ -2174,7 +1992,7 @@ const deserializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace = (output, co
|
|
|
2174
1992
|
const deserializeAws_json1_1ListTagsForDeliveryStreamOutput = (output, context) => {
|
|
2175
1993
|
return {
|
|
2176
1994
|
HasMoreTags: (0, smithy_client_1.expectBoolean)(output.HasMoreTags),
|
|
2177
|
-
Tags: output.Tags
|
|
1995
|
+
Tags: output.Tags != null
|
|
2178
1996
|
? deserializeAws_json1_1ListTagsForDeliveryStreamOutputTagList(output.Tags, context)
|
|
2179
1997
|
: undefined,
|
|
2180
1998
|
};
|
|
@@ -2193,7 +2011,7 @@ const deserializeAws_json1_1ListTagsForDeliveryStreamOutputTagList = (output, co
|
|
|
2193
2011
|
const deserializeAws_json1_1OpenXJsonSerDe = (output, context) => {
|
|
2194
2012
|
return {
|
|
2195
2013
|
CaseInsensitive: (0, smithy_client_1.expectBoolean)(output.CaseInsensitive),
|
|
2196
|
-
ColumnToJsonKeyMappings: output.ColumnToJsonKeyMappings
|
|
2014
|
+
ColumnToJsonKeyMappings: output.ColumnToJsonKeyMappings != null
|
|
2197
2015
|
? deserializeAws_json1_1ColumnToJsonKeyMappings(output.ColumnToJsonKeyMappings, context)
|
|
2198
2016
|
: undefined,
|
|
2199
2017
|
ConvertDotsInJsonKeysToUnderscores: (0, smithy_client_1.expectBoolean)(output.ConvertDotsInJsonKeysToUnderscores),
|
|
@@ -2202,7 +2020,7 @@ const deserializeAws_json1_1OpenXJsonSerDe = (output, context) => {
|
|
|
2202
2020
|
const deserializeAws_json1_1OrcSerDe = (output, context) => {
|
|
2203
2021
|
return {
|
|
2204
2022
|
BlockSizeBytes: (0, smithy_client_1.expectInt32)(output.BlockSizeBytes),
|
|
2205
|
-
BloomFilterColumns: output.BloomFilterColumns
|
|
2023
|
+
BloomFilterColumns: output.BloomFilterColumns != null
|
|
2206
2024
|
? deserializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace(output.BloomFilterColumns, context)
|
|
2207
2025
|
: undefined,
|
|
2208
2026
|
BloomFilterFalsePositiveProbability: (0, smithy_client_1.limitedParseDouble)(output.BloomFilterFalsePositiveProbability),
|
|
@@ -2217,9 +2035,7 @@ const deserializeAws_json1_1OrcSerDe = (output, context) => {
|
|
|
2217
2035
|
};
|
|
2218
2036
|
const deserializeAws_json1_1OutputFormatConfiguration = (output, context) => {
|
|
2219
2037
|
return {
|
|
2220
|
-
Serializer: output.Serializer
|
|
2221
|
-
? deserializeAws_json1_1Serializer(output.Serializer, context)
|
|
2222
|
-
: undefined,
|
|
2038
|
+
Serializer: output.Serializer != null ? deserializeAws_json1_1Serializer(output.Serializer, context) : undefined,
|
|
2223
2039
|
};
|
|
2224
2040
|
};
|
|
2225
2041
|
const deserializeAws_json1_1ParquetSerDe = (output, context) => {
|
|
@@ -2235,16 +2051,12 @@ const deserializeAws_json1_1ParquetSerDe = (output, context) => {
|
|
|
2235
2051
|
const deserializeAws_json1_1ProcessingConfiguration = (output, context) => {
|
|
2236
2052
|
return {
|
|
2237
2053
|
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
2238
|
-
Processors: output.Processors
|
|
2239
|
-
? deserializeAws_json1_1ProcessorList(output.Processors, context)
|
|
2240
|
-
: undefined,
|
|
2054
|
+
Processors: output.Processors != null ? deserializeAws_json1_1ProcessorList(output.Processors, context) : undefined,
|
|
2241
2055
|
};
|
|
2242
2056
|
};
|
|
2243
2057
|
const deserializeAws_json1_1Processor = (output, context) => {
|
|
2244
2058
|
return {
|
|
2245
|
-
Parameters: output.Parameters
|
|
2246
|
-
? deserializeAws_json1_1ProcessorParameterList(output.Parameters, context)
|
|
2247
|
-
: undefined,
|
|
2059
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1ProcessorParameterList(output.Parameters, context) : undefined,
|
|
2248
2060
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2249
2061
|
};
|
|
2250
2062
|
};
|
|
@@ -2280,7 +2092,7 @@ const deserializeAws_json1_1PutRecordBatchOutput = (output, context) => {
|
|
|
2280
2092
|
return {
|
|
2281
2093
|
Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
|
|
2282
2094
|
FailedPutCount: (0, smithy_client_1.expectInt32)(output.FailedPutCount),
|
|
2283
|
-
RequestResponses: output.RequestResponses
|
|
2095
|
+
RequestResponses: output.RequestResponses != null
|
|
2284
2096
|
? deserializeAws_json1_1PutRecordBatchResponseEntryList(output.RequestResponses, context)
|
|
2285
2097
|
: undefined,
|
|
2286
2098
|
};
|
|
@@ -2311,25 +2123,23 @@ const deserializeAws_json1_1PutRecordOutput = (output, context) => {
|
|
|
2311
2123
|
};
|
|
2312
2124
|
const deserializeAws_json1_1RedshiftDestinationDescription = (output, context) => {
|
|
2313
2125
|
return {
|
|
2314
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
2126
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2315
2127
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2316
2128
|
: undefined,
|
|
2317
2129
|
ClusterJDBCURL: (0, smithy_client_1.expectString)(output.ClusterJDBCURL),
|
|
2318
|
-
CopyCommand: output.CopyCommand
|
|
2319
|
-
|
|
2320
|
-
: undefined,
|
|
2321
|
-
ProcessingConfiguration: output.ProcessingConfiguration !== undefined && output.ProcessingConfiguration !== null
|
|
2130
|
+
CopyCommand: output.CopyCommand != null ? deserializeAws_json1_1CopyCommand(output.CopyCommand, context) : undefined,
|
|
2131
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2322
2132
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2323
2133
|
: undefined,
|
|
2324
|
-
RetryOptions: output.RetryOptions
|
|
2134
|
+
RetryOptions: output.RetryOptions != null
|
|
2325
2135
|
? deserializeAws_json1_1RedshiftRetryOptions(output.RetryOptions, context)
|
|
2326
2136
|
: undefined,
|
|
2327
2137
|
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2328
|
-
S3BackupDescription: output.S3BackupDescription
|
|
2138
|
+
S3BackupDescription: output.S3BackupDescription != null
|
|
2329
2139
|
? deserializeAws_json1_1S3DestinationDescription(output.S3BackupDescription, context)
|
|
2330
2140
|
: undefined,
|
|
2331
2141
|
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
2332
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
2142
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2333
2143
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2334
2144
|
: undefined,
|
|
2335
2145
|
Username: (0, smithy_client_1.expectString)(output.Username),
|
|
@@ -2358,14 +2168,12 @@ const deserializeAws_json1_1RetryOptions = (output, context) => {
|
|
|
2358
2168
|
const deserializeAws_json1_1S3DestinationDescription = (output, context) => {
|
|
2359
2169
|
return {
|
|
2360
2170
|
BucketARN: (0, smithy_client_1.expectString)(output.BucketARN),
|
|
2361
|
-
BufferingHints: output.BufferingHints
|
|
2362
|
-
|
|
2363
|
-
: undefined,
|
|
2364
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions !== undefined && output.CloudWatchLoggingOptions !== null
|
|
2171
|
+
BufferingHints: output.BufferingHints != null ? deserializeAws_json1_1BufferingHints(output.BufferingHints, context) : undefined,
|
|
2172
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2365
2173
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2366
2174
|
: undefined,
|
|
2367
2175
|
CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
|
|
2368
|
-
EncryptionConfiguration: output.EncryptionConfiguration
|
|
2176
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2369
2177
|
? deserializeAws_json1_1EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2370
2178
|
: undefined,
|
|
2371
2179
|
ErrorOutputPrefix: (0, smithy_client_1.expectString)(output.ErrorOutputPrefix),
|
|
@@ -2396,12 +2204,8 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
|
2396
2204
|
};
|
|
2397
2205
|
const deserializeAws_json1_1Serializer = (output, context) => {
|
|
2398
2206
|
return {
|
|
2399
|
-
OrcSerDe: output.OrcSerDe
|
|
2400
|
-
|
|
2401
|
-
: undefined,
|
|
2402
|
-
ParquetSerDe: output.ParquetSerDe !== undefined && output.ParquetSerDe !== null
|
|
2403
|
-
? deserializeAws_json1_1ParquetSerDe(output.ParquetSerDe, context)
|
|
2404
|
-
: undefined,
|
|
2207
|
+
OrcSerDe: output.OrcSerDe != null ? deserializeAws_json1_1OrcSerDe(output.OrcSerDe, context) : undefined,
|
|
2208
|
+
ParquetSerDe: output.ParquetSerDe != null ? deserializeAws_json1_1ParquetSerDe(output.ParquetSerDe, context) : undefined,
|
|
2405
2209
|
};
|
|
2406
2210
|
};
|
|
2407
2211
|
const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
|
|
@@ -2411,28 +2215,26 @@ const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
|
|
|
2411
2215
|
};
|
|
2412
2216
|
const deserializeAws_json1_1SourceDescription = (output, context) => {
|
|
2413
2217
|
return {
|
|
2414
|
-
KinesisStreamSourceDescription: output.KinesisStreamSourceDescription
|
|
2218
|
+
KinesisStreamSourceDescription: output.KinesisStreamSourceDescription != null
|
|
2415
2219
|
? deserializeAws_json1_1KinesisStreamSourceDescription(output.KinesisStreamSourceDescription, context)
|
|
2416
2220
|
: undefined,
|
|
2417
2221
|
};
|
|
2418
2222
|
};
|
|
2419
2223
|
const deserializeAws_json1_1SplunkDestinationDescription = (output, context) => {
|
|
2420
2224
|
return {
|
|
2421
|
-
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions
|
|
2225
|
+
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2422
2226
|
? deserializeAws_json1_1CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2423
2227
|
: undefined,
|
|
2424
2228
|
HECAcknowledgmentTimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.HECAcknowledgmentTimeoutInSeconds),
|
|
2425
2229
|
HECEndpoint: (0, smithy_client_1.expectString)(output.HECEndpoint),
|
|
2426
2230
|
HECEndpointType: (0, smithy_client_1.expectString)(output.HECEndpointType),
|
|
2427
2231
|
HECToken: (0, smithy_client_1.expectString)(output.HECToken),
|
|
2428
|
-
ProcessingConfiguration: output.ProcessingConfiguration
|
|
2232
|
+
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2429
2233
|
? deserializeAws_json1_1ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2430
2234
|
: undefined,
|
|
2431
|
-
RetryOptions: output.RetryOptions
|
|
2432
|
-
? deserializeAws_json1_1SplunkRetryOptions(output.RetryOptions, context)
|
|
2433
|
-
: undefined,
|
|
2235
|
+
RetryOptions: output.RetryOptions != null ? deserializeAws_json1_1SplunkRetryOptions(output.RetryOptions, context) : undefined,
|
|
2434
2236
|
S3BackupMode: (0, smithy_client_1.expectString)(output.S3BackupMode),
|
|
2435
|
-
S3DestinationDescription: output.S3DestinationDescription
|
|
2237
|
+
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2436
2238
|
? deserializeAws_json1_1S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2437
2239
|
: undefined,
|
|
2438
2240
|
};
|
|
@@ -2477,12 +2279,10 @@ const deserializeAws_json1_1UpdateDestinationOutput = (output, context) => {
|
|
|
2477
2279
|
const deserializeAws_json1_1VpcConfigurationDescription = (output, context) => {
|
|
2478
2280
|
return {
|
|
2479
2281
|
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
2480
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
2282
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
2481
2283
|
? deserializeAws_json1_1SecurityGroupIdList(output.SecurityGroupIds, context)
|
|
2482
2284
|
: undefined,
|
|
2483
|
-
SubnetIds: output.SubnetIds
|
|
2484
|
-
? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context)
|
|
2485
|
-
: undefined,
|
|
2285
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context) : undefined,
|
|
2486
2286
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2487
2287
|
};
|
|
2488
2288
|
};
|
|
@@ -2548,5 +2348,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2548
2348
|
if (data["__type"] !== undefined) {
|
|
2549
2349
|
return sanitizeErrorCode(data["__type"]);
|
|
2550
2350
|
}
|
|
2551
|
-
return "";
|
|
2552
2351
|
};
|