@aws-sdk/client-kinesis-analytics 3.118.0 → 3.127.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 +311 -384
- package/dist-es/protocols/Aws_json1_1.js +246 -319
- package/package.json +26 -26
|
@@ -225,8 +225,7 @@ const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError =
|
|
|
225
225
|
body: await parseBody(output.body, context),
|
|
226
226
|
};
|
|
227
227
|
let response;
|
|
228
|
-
|
|
229
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
228
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
230
229
|
switch (errorCode) {
|
|
231
230
|
case "ConcurrentModificationException":
|
|
232
231
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -245,10 +244,12 @@ const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError =
|
|
|
245
244
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
246
245
|
default:
|
|
247
246
|
const parsedBody = parsedOutput.body;
|
|
247
|
+
const $metadata = deserializeMetadata(output);
|
|
248
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
248
249
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
249
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
250
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
250
251
|
$fault: "client",
|
|
251
|
-
$metadata
|
|
252
|
+
$metadata,
|
|
252
253
|
});
|
|
253
254
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
254
255
|
}
|
|
@@ -273,8 +274,7 @@ const deserializeAws_json1_1AddApplicationInputCommandError = async (output, con
|
|
|
273
274
|
body: await parseBody(output.body, context),
|
|
274
275
|
};
|
|
275
276
|
let response;
|
|
276
|
-
|
|
277
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
277
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
278
278
|
switch (errorCode) {
|
|
279
279
|
case "CodeValidationException":
|
|
280
280
|
case "com.amazonaws.kinesisanalytics#CodeValidationException":
|
|
@@ -296,10 +296,12 @@ const deserializeAws_json1_1AddApplicationInputCommandError = async (output, con
|
|
|
296
296
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
297
297
|
default:
|
|
298
298
|
const parsedBody = parsedOutput.body;
|
|
299
|
+
const $metadata = deserializeMetadata(output);
|
|
300
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
299
301
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
300
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
302
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
301
303
|
$fault: "client",
|
|
302
|
-
$metadata
|
|
304
|
+
$metadata,
|
|
303
305
|
});
|
|
304
306
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
305
307
|
}
|
|
@@ -324,8 +326,7 @@ const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandErr
|
|
|
324
326
|
body: await parseBody(output.body, context),
|
|
325
327
|
};
|
|
326
328
|
let response;
|
|
327
|
-
|
|
328
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
329
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
329
330
|
switch (errorCode) {
|
|
330
331
|
case "ConcurrentModificationException":
|
|
331
332
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -344,10 +345,12 @@ const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandErr
|
|
|
344
345
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
345
346
|
default:
|
|
346
347
|
const parsedBody = parsedOutput.body;
|
|
348
|
+
const $metadata = deserializeMetadata(output);
|
|
349
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
347
350
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
348
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
351
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
349
352
|
$fault: "client",
|
|
350
|
-
$metadata
|
|
353
|
+
$metadata,
|
|
351
354
|
});
|
|
352
355
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
353
356
|
}
|
|
@@ -372,8 +375,7 @@ const deserializeAws_json1_1AddApplicationOutputCommandError = async (output, co
|
|
|
372
375
|
body: await parseBody(output.body, context),
|
|
373
376
|
};
|
|
374
377
|
let response;
|
|
375
|
-
|
|
376
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
378
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
377
379
|
switch (errorCode) {
|
|
378
380
|
case "ConcurrentModificationException":
|
|
379
381
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -392,10 +394,12 @@ const deserializeAws_json1_1AddApplicationOutputCommandError = async (output, co
|
|
|
392
394
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
393
395
|
default:
|
|
394
396
|
const parsedBody = parsedOutput.body;
|
|
397
|
+
const $metadata = deserializeMetadata(output);
|
|
398
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
395
399
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
396
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
400
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
397
401
|
$fault: "client",
|
|
398
|
-
$metadata
|
|
402
|
+
$metadata,
|
|
399
403
|
});
|
|
400
404
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
401
405
|
}
|
|
@@ -420,8 +424,7 @@ const deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = asyn
|
|
|
420
424
|
body: await parseBody(output.body, context),
|
|
421
425
|
};
|
|
422
426
|
let response;
|
|
423
|
-
|
|
424
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
427
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
425
428
|
switch (errorCode) {
|
|
426
429
|
case "ConcurrentModificationException":
|
|
427
430
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -440,10 +443,12 @@ const deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = asyn
|
|
|
440
443
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
441
444
|
default:
|
|
442
445
|
const parsedBody = parsedOutput.body;
|
|
446
|
+
const $metadata = deserializeMetadata(output);
|
|
447
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
443
448
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
444
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
449
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
445
450
|
$fault: "client",
|
|
446
|
-
$metadata
|
|
451
|
+
$metadata,
|
|
447
452
|
});
|
|
448
453
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
449
454
|
}
|
|
@@ -468,8 +473,7 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
468
473
|
body: await parseBody(output.body, context),
|
|
469
474
|
};
|
|
470
475
|
let response;
|
|
471
|
-
|
|
472
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
476
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
473
477
|
switch (errorCode) {
|
|
474
478
|
case "CodeValidationException":
|
|
475
479
|
case "com.amazonaws.kinesisanalytics#CodeValidationException":
|
|
@@ -491,10 +495,12 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
491
495
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
492
496
|
default:
|
|
493
497
|
const parsedBody = parsedOutput.body;
|
|
498
|
+
const $metadata = deserializeMetadata(output);
|
|
499
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
494
500
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
495
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
501
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
496
502
|
$fault: "client",
|
|
497
|
-
$metadata
|
|
503
|
+
$metadata,
|
|
498
504
|
});
|
|
499
505
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
500
506
|
}
|
|
@@ -519,8 +525,7 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
519
525
|
body: await parseBody(output.body, context),
|
|
520
526
|
};
|
|
521
527
|
let response;
|
|
522
|
-
|
|
523
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
528
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
524
529
|
switch (errorCode) {
|
|
525
530
|
case "ConcurrentModificationException":
|
|
526
531
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -536,10 +541,12 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
536
541
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
537
542
|
default:
|
|
538
543
|
const parsedBody = parsedOutput.body;
|
|
544
|
+
const $metadata = deserializeMetadata(output);
|
|
545
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
539
546
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
540
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
547
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
541
548
|
$fault: "client",
|
|
542
|
-
$metadata
|
|
549
|
+
$metadata,
|
|
543
550
|
});
|
|
544
551
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
545
552
|
}
|
|
@@ -564,8 +571,7 @@ const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError
|
|
|
564
571
|
body: await parseBody(output.body, context),
|
|
565
572
|
};
|
|
566
573
|
let response;
|
|
567
|
-
|
|
568
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
574
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
569
575
|
switch (errorCode) {
|
|
570
576
|
case "ConcurrentModificationException":
|
|
571
577
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -584,10 +590,12 @@ const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError
|
|
|
584
590
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
585
591
|
default:
|
|
586
592
|
const parsedBody = parsedOutput.body;
|
|
593
|
+
const $metadata = deserializeMetadata(output);
|
|
594
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
587
595
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
588
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
596
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
589
597
|
$fault: "client",
|
|
590
|
-
$metadata
|
|
598
|
+
$metadata,
|
|
591
599
|
});
|
|
592
600
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
593
601
|
}
|
|
@@ -612,8 +620,7 @@ const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand
|
|
|
612
620
|
body: await parseBody(output.body, context),
|
|
613
621
|
};
|
|
614
622
|
let response;
|
|
615
|
-
|
|
616
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
623
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
617
624
|
switch (errorCode) {
|
|
618
625
|
case "ConcurrentModificationException":
|
|
619
626
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -632,10 +639,12 @@ const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand
|
|
|
632
639
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
633
640
|
default:
|
|
634
641
|
const parsedBody = parsedOutput.body;
|
|
642
|
+
const $metadata = deserializeMetadata(output);
|
|
643
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
635
644
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
636
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
645
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
637
646
|
$fault: "client",
|
|
638
|
-
$metadata
|
|
647
|
+
$metadata,
|
|
639
648
|
});
|
|
640
649
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
641
650
|
}
|
|
@@ -660,8 +669,7 @@ const deserializeAws_json1_1DeleteApplicationOutputCommandError = async (output,
|
|
|
660
669
|
body: await parseBody(output.body, context),
|
|
661
670
|
};
|
|
662
671
|
let response;
|
|
663
|
-
|
|
664
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
672
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
665
673
|
switch (errorCode) {
|
|
666
674
|
case "ConcurrentModificationException":
|
|
667
675
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -680,10 +688,12 @@ const deserializeAws_json1_1DeleteApplicationOutputCommandError = async (output,
|
|
|
680
688
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
681
689
|
default:
|
|
682
690
|
const parsedBody = parsedOutput.body;
|
|
691
|
+
const $metadata = deserializeMetadata(output);
|
|
692
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
683
693
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
684
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
694
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
685
695
|
$fault: "client",
|
|
686
|
-
$metadata
|
|
696
|
+
$metadata,
|
|
687
697
|
});
|
|
688
698
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
689
699
|
}
|
|
@@ -708,8 +718,7 @@ const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = a
|
|
|
708
718
|
body: await parseBody(output.body, context),
|
|
709
719
|
};
|
|
710
720
|
let response;
|
|
711
|
-
|
|
712
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
721
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
713
722
|
switch (errorCode) {
|
|
714
723
|
case "ConcurrentModificationException":
|
|
715
724
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -728,10 +737,12 @@ const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = a
|
|
|
728
737
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
729
738
|
default:
|
|
730
739
|
const parsedBody = parsedOutput.body;
|
|
740
|
+
const $metadata = deserializeMetadata(output);
|
|
741
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
731
742
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
732
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
743
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
733
744
|
$fault: "client",
|
|
734
|
-
$metadata
|
|
745
|
+
$metadata,
|
|
735
746
|
});
|
|
736
747
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
737
748
|
}
|
|
@@ -756,8 +767,7 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
756
767
|
body: await parseBody(output.body, context),
|
|
757
768
|
};
|
|
758
769
|
let response;
|
|
759
|
-
|
|
760
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
770
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
761
771
|
switch (errorCode) {
|
|
762
772
|
case "ResourceNotFoundException":
|
|
763
773
|
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException":
|
|
@@ -767,10 +777,12 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
767
777
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
768
778
|
default:
|
|
769
779
|
const parsedBody = parsedOutput.body;
|
|
780
|
+
const $metadata = deserializeMetadata(output);
|
|
781
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
770
782
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
771
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
783
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
772
784
|
$fault: "client",
|
|
773
|
-
$metadata
|
|
785
|
+
$metadata,
|
|
774
786
|
});
|
|
775
787
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
776
788
|
}
|
|
@@ -795,8 +807,7 @@ const deserializeAws_json1_1DiscoverInputSchemaCommandError = async (output, con
|
|
|
795
807
|
body: await parseBody(output.body, context),
|
|
796
808
|
};
|
|
797
809
|
let response;
|
|
798
|
-
|
|
799
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
810
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
800
811
|
switch (errorCode) {
|
|
801
812
|
case "InvalidArgumentException":
|
|
802
813
|
case "com.amazonaws.kinesisanalytics#InvalidArgumentException":
|
|
@@ -812,10 +823,12 @@ const deserializeAws_json1_1DiscoverInputSchemaCommandError = async (output, con
|
|
|
812
823
|
throw await deserializeAws_json1_1UnableToDetectSchemaExceptionResponse(parsedOutput, context);
|
|
813
824
|
default:
|
|
814
825
|
const parsedBody = parsedOutput.body;
|
|
826
|
+
const $metadata = deserializeMetadata(output);
|
|
827
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
815
828
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
816
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
829
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
817
830
|
$fault: "client",
|
|
818
|
-
$metadata
|
|
831
|
+
$metadata,
|
|
819
832
|
});
|
|
820
833
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
821
834
|
}
|
|
@@ -840,15 +853,16 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
840
853
|
body: await parseBody(output.body, context),
|
|
841
854
|
};
|
|
842
855
|
let response;
|
|
843
|
-
|
|
844
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
856
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
845
857
|
switch (errorCode) {
|
|
846
858
|
default:
|
|
847
859
|
const parsedBody = parsedOutput.body;
|
|
860
|
+
const $metadata = deserializeMetadata(output);
|
|
861
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
848
862
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
849
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
863
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
850
864
|
$fault: "client",
|
|
851
|
-
$metadata
|
|
865
|
+
$metadata,
|
|
852
866
|
});
|
|
853
867
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
854
868
|
}
|
|
@@ -873,8 +887,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
873
887
|
body: await parseBody(output.body, context),
|
|
874
888
|
};
|
|
875
889
|
let response;
|
|
876
|
-
|
|
877
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
890
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
878
891
|
switch (errorCode) {
|
|
879
892
|
case "ConcurrentModificationException":
|
|
880
893
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -887,10 +900,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
887
900
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
888
901
|
default:
|
|
889
902
|
const parsedBody = parsedOutput.body;
|
|
903
|
+
const $metadata = deserializeMetadata(output);
|
|
904
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
890
905
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
891
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
906
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
892
907
|
$fault: "client",
|
|
893
|
-
$metadata
|
|
908
|
+
$metadata,
|
|
894
909
|
});
|
|
895
910
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
896
911
|
}
|
|
@@ -915,8 +930,7 @@ const deserializeAws_json1_1StartApplicationCommandError = async (output, contex
|
|
|
915
930
|
body: await parseBody(output.body, context),
|
|
916
931
|
};
|
|
917
932
|
let response;
|
|
918
|
-
|
|
919
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
933
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
920
934
|
switch (errorCode) {
|
|
921
935
|
case "InvalidApplicationConfigurationException":
|
|
922
936
|
case "com.amazonaws.kinesisanalytics#InvalidApplicationConfigurationException":
|
|
@@ -935,10 +949,12 @@ const deserializeAws_json1_1StartApplicationCommandError = async (output, contex
|
|
|
935
949
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
936
950
|
default:
|
|
937
951
|
const parsedBody = parsedOutput.body;
|
|
952
|
+
const $metadata = deserializeMetadata(output);
|
|
953
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
938
954
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
939
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
955
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
940
956
|
$fault: "client",
|
|
941
|
-
$metadata
|
|
957
|
+
$metadata,
|
|
942
958
|
});
|
|
943
959
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
944
960
|
}
|
|
@@ -963,8 +979,7 @@ const deserializeAws_json1_1StopApplicationCommandError = async (output, context
|
|
|
963
979
|
body: await parseBody(output.body, context),
|
|
964
980
|
};
|
|
965
981
|
let response;
|
|
966
|
-
|
|
967
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
982
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
968
983
|
switch (errorCode) {
|
|
969
984
|
case "ResourceInUseException":
|
|
970
985
|
case "com.amazonaws.kinesisanalytics#ResourceInUseException":
|
|
@@ -977,10 +992,12 @@ const deserializeAws_json1_1StopApplicationCommandError = async (output, context
|
|
|
977
992
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
978
993
|
default:
|
|
979
994
|
const parsedBody = parsedOutput.body;
|
|
995
|
+
const $metadata = deserializeMetadata(output);
|
|
996
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
980
997
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
981
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
998
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
982
999
|
$fault: "client",
|
|
983
|
-
$metadata
|
|
1000
|
+
$metadata,
|
|
984
1001
|
});
|
|
985
1002
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
986
1003
|
}
|
|
@@ -1005,8 +1022,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1005
1022
|
body: await parseBody(output.body, context),
|
|
1006
1023
|
};
|
|
1007
1024
|
let response;
|
|
1008
|
-
|
|
1009
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1025
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1010
1026
|
switch (errorCode) {
|
|
1011
1027
|
case "ConcurrentModificationException":
|
|
1012
1028
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -1025,10 +1041,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1025
1041
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1026
1042
|
default:
|
|
1027
1043
|
const parsedBody = parsedOutput.body;
|
|
1044
|
+
const $metadata = deserializeMetadata(output);
|
|
1045
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1028
1046
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
1029
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1047
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1030
1048
|
$fault: "client",
|
|
1031
|
-
$metadata
|
|
1049
|
+
$metadata,
|
|
1032
1050
|
});
|
|
1033
1051
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1034
1052
|
}
|
|
@@ -1053,8 +1071,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1053
1071
|
body: await parseBody(output.body, context),
|
|
1054
1072
|
};
|
|
1055
1073
|
let response;
|
|
1056
|
-
|
|
1057
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1074
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1058
1075
|
switch (errorCode) {
|
|
1059
1076
|
case "ConcurrentModificationException":
|
|
1060
1077
|
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException":
|
|
@@ -1073,10 +1090,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1073
1090
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1074
1091
|
default:
|
|
1075
1092
|
const parsedBody = parsedOutput.body;
|
|
1093
|
+
const $metadata = deserializeMetadata(output);
|
|
1094
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1076
1095
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
1077
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1096
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1078
1097
|
$fault: "client",
|
|
1079
|
-
$metadata
|
|
1098
|
+
$metadata,
|
|
1080
1099
|
});
|
|
1081
1100
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1082
1101
|
}
|
|
@@ -1101,8 +1120,7 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1101
1120
|
body: await parseBody(output.body, context),
|
|
1102
1121
|
};
|
|
1103
1122
|
let response;
|
|
1104
|
-
|
|
1105
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1123
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1106
1124
|
switch (errorCode) {
|
|
1107
1125
|
case "CodeValidationException":
|
|
1108
1126
|
case "com.amazonaws.kinesisanalytics#CodeValidationException":
|
|
@@ -1124,10 +1142,12 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1124
1142
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1125
1143
|
default:
|
|
1126
1144
|
const parsedBody = parsedOutput.body;
|
|
1145
|
+
const $metadata = deserializeMetadata(output);
|
|
1146
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1127
1147
|
response = new KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException({
|
|
1128
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1148
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1129
1149
|
$fault: "client",
|
|
1130
|
-
$metadata
|
|
1150
|
+
$metadata,
|
|
1131
1151
|
});
|
|
1132
1152
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1133
1153
|
}
|
|
@@ -1242,85 +1262,75 @@ const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parse
|
|
|
1242
1262
|
};
|
|
1243
1263
|
const serializeAws_json1_1AddApplicationCloudWatchLoggingOptionRequest = (input, context) => {
|
|
1244
1264
|
return {
|
|
1245
|
-
...(input.ApplicationName
|
|
1246
|
-
|
|
1247
|
-
...(input.CloudWatchLoggingOption !== undefined &&
|
|
1248
|
-
input.CloudWatchLoggingOption !== null && {
|
|
1265
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1266
|
+
...(input.CloudWatchLoggingOption != null && {
|
|
1249
1267
|
CloudWatchLoggingOption: serializeAws_json1_1CloudWatchLoggingOption(input.CloudWatchLoggingOption, context),
|
|
1250
1268
|
}),
|
|
1251
|
-
...(input.CurrentApplicationVersionId
|
|
1252
|
-
|
|
1269
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1270
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1271
|
+
}),
|
|
1253
1272
|
};
|
|
1254
1273
|
};
|
|
1255
1274
|
const serializeAws_json1_1AddApplicationInputProcessingConfigurationRequest = (input, context) => {
|
|
1256
1275
|
return {
|
|
1257
|
-
...(input.ApplicationName
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
...(input.InputId
|
|
1262
|
-
...(input.InputProcessingConfiguration
|
|
1263
|
-
input.InputProcessingConfiguration !== null && {
|
|
1276
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1277
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1278
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1279
|
+
}),
|
|
1280
|
+
...(input.InputId != null && { InputId: input.InputId }),
|
|
1281
|
+
...(input.InputProcessingConfiguration != null && {
|
|
1264
1282
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1265
1283
|
}),
|
|
1266
1284
|
};
|
|
1267
1285
|
};
|
|
1268
1286
|
const serializeAws_json1_1AddApplicationInputRequest = (input, context) => {
|
|
1269
1287
|
return {
|
|
1270
|
-
...(input.ApplicationName
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
...(input.Input
|
|
1275
|
-
input.Input !== null && { Input: serializeAws_json1_1Input(input.Input, context) }),
|
|
1288
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1289
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1290
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1291
|
+
}),
|
|
1292
|
+
...(input.Input != null && { Input: serializeAws_json1_1Input(input.Input, context) }),
|
|
1276
1293
|
};
|
|
1277
1294
|
};
|
|
1278
1295
|
const serializeAws_json1_1AddApplicationOutputRequest = (input, context) => {
|
|
1279
1296
|
return {
|
|
1280
|
-
...(input.ApplicationName
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
...(input.Output
|
|
1285
|
-
input.Output !== null && { Output: serializeAws_json1_1Output(input.Output, context) }),
|
|
1297
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1298
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1299
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1300
|
+
}),
|
|
1301
|
+
...(input.Output != null && { Output: serializeAws_json1_1Output(input.Output, context) }),
|
|
1286
1302
|
};
|
|
1287
1303
|
};
|
|
1288
1304
|
const serializeAws_json1_1AddApplicationReferenceDataSourceRequest = (input, context) => {
|
|
1289
1305
|
return {
|
|
1290
|
-
...(input.ApplicationName
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
...(input.ReferenceDataSource
|
|
1295
|
-
input.ReferenceDataSource !== null && {
|
|
1306
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1307
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1308
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1309
|
+
}),
|
|
1310
|
+
...(input.ReferenceDataSource != null && {
|
|
1296
1311
|
ReferenceDataSource: serializeAws_json1_1ReferenceDataSource(input.ReferenceDataSource, context),
|
|
1297
1312
|
}),
|
|
1298
1313
|
};
|
|
1299
1314
|
};
|
|
1300
1315
|
const serializeAws_json1_1ApplicationUpdate = (input, context) => {
|
|
1301
1316
|
return {
|
|
1302
|
-
...(input.ApplicationCodeUpdate
|
|
1303
|
-
|
|
1304
|
-
...(input.CloudWatchLoggingOptionUpdates !== undefined &&
|
|
1305
|
-
input.CloudWatchLoggingOptionUpdates !== null && {
|
|
1317
|
+
...(input.ApplicationCodeUpdate != null && { ApplicationCodeUpdate: input.ApplicationCodeUpdate }),
|
|
1318
|
+
...(input.CloudWatchLoggingOptionUpdates != null && {
|
|
1306
1319
|
CloudWatchLoggingOptionUpdates: serializeAws_json1_1CloudWatchLoggingOptionUpdates(input.CloudWatchLoggingOptionUpdates, context),
|
|
1307
1320
|
}),
|
|
1308
|
-
...(input.InputUpdates
|
|
1309
|
-
|
|
1310
|
-
...(input.OutputUpdates !== undefined &&
|
|
1311
|
-
input.OutputUpdates !== null && {
|
|
1321
|
+
...(input.InputUpdates != null && { InputUpdates: serializeAws_json1_1InputUpdates(input.InputUpdates, context) }),
|
|
1322
|
+
...(input.OutputUpdates != null && {
|
|
1312
1323
|
OutputUpdates: serializeAws_json1_1OutputUpdates(input.OutputUpdates, context),
|
|
1313
1324
|
}),
|
|
1314
|
-
...(input.ReferenceDataSourceUpdates
|
|
1315
|
-
input.ReferenceDataSourceUpdates !== null && {
|
|
1325
|
+
...(input.ReferenceDataSourceUpdates != null && {
|
|
1316
1326
|
ReferenceDataSourceUpdates: serializeAws_json1_1ReferenceDataSourceUpdates(input.ReferenceDataSourceUpdates, context),
|
|
1317
1327
|
}),
|
|
1318
1328
|
};
|
|
1319
1329
|
};
|
|
1320
1330
|
const serializeAws_json1_1CloudWatchLoggingOption = (input, context) => {
|
|
1321
1331
|
return {
|
|
1322
|
-
...(input.LogStreamARN
|
|
1323
|
-
...(input.RoleARN
|
|
1332
|
+
...(input.LogStreamARN != null && { LogStreamARN: input.LogStreamARN }),
|
|
1333
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1324
1334
|
};
|
|
1325
1335
|
};
|
|
1326
1336
|
const serializeAws_json1_1CloudWatchLoggingOptions = (input, context) => {
|
|
@@ -1335,11 +1345,9 @@ const serializeAws_json1_1CloudWatchLoggingOptions = (input, context) => {
|
|
|
1335
1345
|
};
|
|
1336
1346
|
const serializeAws_json1_1CloudWatchLoggingOptionUpdate = (input, context) => {
|
|
1337
1347
|
return {
|
|
1338
|
-
...(input.CloudWatchLoggingOptionId
|
|
1339
|
-
|
|
1340
|
-
...(input.
|
|
1341
|
-
input.LogStreamARNUpdate !== null && { LogStreamARNUpdate: input.LogStreamARNUpdate }),
|
|
1342
|
-
...(input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1348
|
+
...(input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId }),
|
|
1349
|
+
...(input.LogStreamARNUpdate != null && { LogStreamARNUpdate: input.LogStreamARNUpdate }),
|
|
1350
|
+
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1343
1351
|
};
|
|
1344
1352
|
};
|
|
1345
1353
|
const serializeAws_json1_1CloudWatchLoggingOptionUpdates = (input, context) => {
|
|
@@ -1354,134 +1362,112 @@ const serializeAws_json1_1CloudWatchLoggingOptionUpdates = (input, context) => {
|
|
|
1354
1362
|
};
|
|
1355
1363
|
const serializeAws_json1_1CreateApplicationRequest = (input, context) => {
|
|
1356
1364
|
return {
|
|
1357
|
-
...(input.ApplicationCode
|
|
1358
|
-
|
|
1359
|
-
...(input.
|
|
1360
|
-
|
|
1361
|
-
...(input.ApplicationName !== undefined &&
|
|
1362
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName }),
|
|
1363
|
-
...(input.CloudWatchLoggingOptions !== undefined &&
|
|
1364
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1365
|
+
...(input.ApplicationCode != null && { ApplicationCode: input.ApplicationCode }),
|
|
1366
|
+
...(input.ApplicationDescription != null && { ApplicationDescription: input.ApplicationDescription }),
|
|
1367
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1368
|
+
...(input.CloudWatchLoggingOptions != null && {
|
|
1365
1369
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1366
1370
|
}),
|
|
1367
|
-
...(input.Inputs
|
|
1368
|
-
|
|
1369
|
-
...(input.
|
|
1370
|
-
input.Outputs !== null && { Outputs: serializeAws_json1_1Outputs(input.Outputs, context) }),
|
|
1371
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
1371
|
+
...(input.Inputs != null && { Inputs: serializeAws_json1_1Inputs(input.Inputs, context) }),
|
|
1372
|
+
...(input.Outputs != null && { Outputs: serializeAws_json1_1Outputs(input.Outputs, context) }),
|
|
1373
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
1372
1374
|
};
|
|
1373
1375
|
};
|
|
1374
1376
|
const serializeAws_json1_1CSVMappingParameters = (input, context) => {
|
|
1375
1377
|
return {
|
|
1376
|
-
...(input.RecordColumnDelimiter
|
|
1377
|
-
|
|
1378
|
-
...(input.RecordRowDelimiter !== undefined &&
|
|
1379
|
-
input.RecordRowDelimiter !== null && { RecordRowDelimiter: input.RecordRowDelimiter }),
|
|
1378
|
+
...(input.RecordColumnDelimiter != null && { RecordColumnDelimiter: input.RecordColumnDelimiter }),
|
|
1379
|
+
...(input.RecordRowDelimiter != null && { RecordRowDelimiter: input.RecordRowDelimiter }),
|
|
1380
1380
|
};
|
|
1381
1381
|
};
|
|
1382
1382
|
const serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionRequest = (input, context) => {
|
|
1383
1383
|
return {
|
|
1384
|
-
...(input.ApplicationName
|
|
1385
|
-
|
|
1386
|
-
...(input.
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
input.CurrentApplicationVersionId !== null && { CurrentApplicationVersionId: input.CurrentApplicationVersionId }),
|
|
1384
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1385
|
+
...(input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId }),
|
|
1386
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1387
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1388
|
+
}),
|
|
1390
1389
|
};
|
|
1391
1390
|
};
|
|
1392
1391
|
const serializeAws_json1_1DeleteApplicationInputProcessingConfigurationRequest = (input, context) => {
|
|
1393
1392
|
return {
|
|
1394
|
-
...(input.ApplicationName
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
...(input.InputId
|
|
1393
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1394
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1395
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1396
|
+
}),
|
|
1397
|
+
...(input.InputId != null && { InputId: input.InputId }),
|
|
1399
1398
|
};
|
|
1400
1399
|
};
|
|
1401
1400
|
const serializeAws_json1_1DeleteApplicationOutputRequest = (input, context) => {
|
|
1402
1401
|
return {
|
|
1403
|
-
...(input.ApplicationName
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
...(input.OutputId
|
|
1402
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1403
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1404
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1405
|
+
}),
|
|
1406
|
+
...(input.OutputId != null && { OutputId: input.OutputId }),
|
|
1408
1407
|
};
|
|
1409
1408
|
};
|
|
1410
1409
|
const serializeAws_json1_1DeleteApplicationReferenceDataSourceRequest = (input, context) => {
|
|
1411
1410
|
return {
|
|
1412
|
-
...(input.ApplicationName
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
...(input.ReferenceId
|
|
1411
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1412
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1413
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1414
|
+
}),
|
|
1415
|
+
...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
|
|
1417
1416
|
};
|
|
1418
1417
|
};
|
|
1419
1418
|
const serializeAws_json1_1DeleteApplicationRequest = (input, context) => {
|
|
1420
1419
|
return {
|
|
1421
|
-
...(input.ApplicationName
|
|
1422
|
-
|
|
1423
|
-
...(input.CreateTimestamp !== undefined &&
|
|
1424
|
-
input.CreateTimestamp !== null && { CreateTimestamp: Math.round(input.CreateTimestamp.getTime() / 1000) }),
|
|
1420
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1421
|
+
...(input.CreateTimestamp != null && { CreateTimestamp: Math.round(input.CreateTimestamp.getTime() / 1000) }),
|
|
1425
1422
|
};
|
|
1426
1423
|
};
|
|
1427
1424
|
const serializeAws_json1_1DescribeApplicationRequest = (input, context) => {
|
|
1428
1425
|
return {
|
|
1429
|
-
...(input.ApplicationName
|
|
1430
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName }),
|
|
1426
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1431
1427
|
};
|
|
1432
1428
|
};
|
|
1433
1429
|
const serializeAws_json1_1DestinationSchema = (input, context) => {
|
|
1434
1430
|
return {
|
|
1435
|
-
...(input.RecordFormatType
|
|
1436
|
-
input.RecordFormatType !== null && { RecordFormatType: input.RecordFormatType }),
|
|
1431
|
+
...(input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }),
|
|
1437
1432
|
};
|
|
1438
1433
|
};
|
|
1439
1434
|
const serializeAws_json1_1DiscoverInputSchemaRequest = (input, context) => {
|
|
1440
1435
|
return {
|
|
1441
|
-
...(input.InputProcessingConfiguration
|
|
1442
|
-
input.InputProcessingConfiguration !== null && {
|
|
1436
|
+
...(input.InputProcessingConfiguration != null && {
|
|
1443
1437
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1444
1438
|
}),
|
|
1445
|
-
...(input.InputStartingPositionConfiguration
|
|
1446
|
-
input.InputStartingPositionConfiguration !== null && {
|
|
1439
|
+
...(input.InputStartingPositionConfiguration != null && {
|
|
1447
1440
|
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1448
1441
|
}),
|
|
1449
|
-
...(input.ResourceARN
|
|
1450
|
-
...(input.RoleARN
|
|
1451
|
-
...(input.S3Configuration
|
|
1452
|
-
input.S3Configuration !== null && {
|
|
1442
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1443
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1444
|
+
...(input.S3Configuration != null && {
|
|
1453
1445
|
S3Configuration: serializeAws_json1_1S3Configuration(input.S3Configuration, context),
|
|
1454
1446
|
}),
|
|
1455
1447
|
};
|
|
1456
1448
|
};
|
|
1457
1449
|
const serializeAws_json1_1Input = (input, context) => {
|
|
1458
1450
|
return {
|
|
1459
|
-
...(input.InputParallelism
|
|
1460
|
-
input.InputParallelism !== null && {
|
|
1451
|
+
...(input.InputParallelism != null && {
|
|
1461
1452
|
InputParallelism: serializeAws_json1_1InputParallelism(input.InputParallelism, context),
|
|
1462
1453
|
}),
|
|
1463
|
-
...(input.InputProcessingConfiguration
|
|
1464
|
-
input.InputProcessingConfiguration !== null && {
|
|
1454
|
+
...(input.InputProcessingConfiguration != null && {
|
|
1465
1455
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1466
1456
|
}),
|
|
1467
|
-
...(input.InputSchema
|
|
1468
|
-
|
|
1469
|
-
...(input.KinesisFirehoseInput !== undefined &&
|
|
1470
|
-
input.KinesisFirehoseInput !== null && {
|
|
1457
|
+
...(input.InputSchema != null && { InputSchema: serializeAws_json1_1SourceSchema(input.InputSchema, context) }),
|
|
1458
|
+
...(input.KinesisFirehoseInput != null && {
|
|
1471
1459
|
KinesisFirehoseInput: serializeAws_json1_1KinesisFirehoseInput(input.KinesisFirehoseInput, context),
|
|
1472
1460
|
}),
|
|
1473
|
-
...(input.KinesisStreamsInput
|
|
1474
|
-
input.KinesisStreamsInput !== null && {
|
|
1461
|
+
...(input.KinesisStreamsInput != null && {
|
|
1475
1462
|
KinesisStreamsInput: serializeAws_json1_1KinesisStreamsInput(input.KinesisStreamsInput, context),
|
|
1476
1463
|
}),
|
|
1477
|
-
...(input.NamePrefix
|
|
1464
|
+
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
1478
1465
|
};
|
|
1479
1466
|
};
|
|
1480
1467
|
const serializeAws_json1_1InputConfiguration = (input, context) => {
|
|
1481
1468
|
return {
|
|
1482
|
-
...(input.Id
|
|
1483
|
-
...(input.InputStartingPositionConfiguration
|
|
1484
|
-
input.InputStartingPositionConfiguration !== null && {
|
|
1469
|
+
...(input.Id != null && { Id: input.Id }),
|
|
1470
|
+
...(input.InputStartingPositionConfiguration != null && {
|
|
1485
1471
|
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1486
1472
|
}),
|
|
1487
1473
|
};
|
|
@@ -1498,39 +1484,36 @@ const serializeAws_json1_1InputConfigurations = (input, context) => {
|
|
|
1498
1484
|
};
|
|
1499
1485
|
const serializeAws_json1_1InputLambdaProcessor = (input, context) => {
|
|
1500
1486
|
return {
|
|
1501
|
-
...(input.ResourceARN
|
|
1502
|
-
...(input.RoleARN
|
|
1487
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1488
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1503
1489
|
};
|
|
1504
1490
|
};
|
|
1505
1491
|
const serializeAws_json1_1InputLambdaProcessorUpdate = (input, context) => {
|
|
1506
1492
|
return {
|
|
1507
|
-
...(input.ResourceARNUpdate
|
|
1508
|
-
|
|
1509
|
-
...(input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1493
|
+
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1494
|
+
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1510
1495
|
};
|
|
1511
1496
|
};
|
|
1512
1497
|
const serializeAws_json1_1InputParallelism = (input, context) => {
|
|
1513
1498
|
return {
|
|
1514
|
-
...(input.Count
|
|
1499
|
+
...(input.Count != null && { Count: input.Count }),
|
|
1515
1500
|
};
|
|
1516
1501
|
};
|
|
1517
1502
|
const serializeAws_json1_1InputParallelismUpdate = (input, context) => {
|
|
1518
1503
|
return {
|
|
1519
|
-
...(input.CountUpdate
|
|
1504
|
+
...(input.CountUpdate != null && { CountUpdate: input.CountUpdate }),
|
|
1520
1505
|
};
|
|
1521
1506
|
};
|
|
1522
1507
|
const serializeAws_json1_1InputProcessingConfiguration = (input, context) => {
|
|
1523
1508
|
return {
|
|
1524
|
-
...(input.InputLambdaProcessor
|
|
1525
|
-
input.InputLambdaProcessor !== null && {
|
|
1509
|
+
...(input.InputLambdaProcessor != null && {
|
|
1526
1510
|
InputLambdaProcessor: serializeAws_json1_1InputLambdaProcessor(input.InputLambdaProcessor, context),
|
|
1527
1511
|
}),
|
|
1528
1512
|
};
|
|
1529
1513
|
};
|
|
1530
1514
|
const serializeAws_json1_1InputProcessingConfigurationUpdate = (input, context) => {
|
|
1531
1515
|
return {
|
|
1532
|
-
...(input.InputLambdaProcessorUpdate
|
|
1533
|
-
input.InputLambdaProcessorUpdate !== null && {
|
|
1516
|
+
...(input.InputLambdaProcessorUpdate != null && {
|
|
1534
1517
|
InputLambdaProcessorUpdate: serializeAws_json1_1InputLambdaProcessorUpdate(input.InputLambdaProcessorUpdate, context),
|
|
1535
1518
|
}),
|
|
1536
1519
|
};
|
|
@@ -1547,49 +1530,39 @@ const serializeAws_json1_1Inputs = (input, context) => {
|
|
|
1547
1530
|
};
|
|
1548
1531
|
const serializeAws_json1_1InputSchemaUpdate = (input, context) => {
|
|
1549
1532
|
return {
|
|
1550
|
-
...(input.RecordColumnUpdates
|
|
1551
|
-
input.RecordColumnUpdates !== null && {
|
|
1533
|
+
...(input.RecordColumnUpdates != null && {
|
|
1552
1534
|
RecordColumnUpdates: serializeAws_json1_1RecordColumns(input.RecordColumnUpdates, context),
|
|
1553
1535
|
}),
|
|
1554
|
-
...(input.RecordEncodingUpdate
|
|
1555
|
-
|
|
1556
|
-
...(input.RecordFormatUpdate !== undefined &&
|
|
1557
|
-
input.RecordFormatUpdate !== null && {
|
|
1536
|
+
...(input.RecordEncodingUpdate != null && { RecordEncodingUpdate: input.RecordEncodingUpdate }),
|
|
1537
|
+
...(input.RecordFormatUpdate != null && {
|
|
1558
1538
|
RecordFormatUpdate: serializeAws_json1_1RecordFormat(input.RecordFormatUpdate, context),
|
|
1559
1539
|
}),
|
|
1560
1540
|
};
|
|
1561
1541
|
};
|
|
1562
1542
|
const serializeAws_json1_1InputStartingPositionConfiguration = (input, context) => {
|
|
1563
1543
|
return {
|
|
1564
|
-
...(input.InputStartingPosition
|
|
1565
|
-
input.InputStartingPosition !== null && { InputStartingPosition: input.InputStartingPosition }),
|
|
1544
|
+
...(input.InputStartingPosition != null && { InputStartingPosition: input.InputStartingPosition }),
|
|
1566
1545
|
};
|
|
1567
1546
|
};
|
|
1568
1547
|
const serializeAws_json1_1InputUpdate = (input, context) => {
|
|
1569
1548
|
return {
|
|
1570
|
-
...(input.InputId
|
|
1571
|
-
...(input.InputParallelismUpdate
|
|
1572
|
-
input.InputParallelismUpdate !== null && {
|
|
1549
|
+
...(input.InputId != null && { InputId: input.InputId }),
|
|
1550
|
+
...(input.InputParallelismUpdate != null && {
|
|
1573
1551
|
InputParallelismUpdate: serializeAws_json1_1InputParallelismUpdate(input.InputParallelismUpdate, context),
|
|
1574
1552
|
}),
|
|
1575
|
-
...(input.InputProcessingConfigurationUpdate
|
|
1576
|
-
input.InputProcessingConfigurationUpdate !== null && {
|
|
1553
|
+
...(input.InputProcessingConfigurationUpdate != null && {
|
|
1577
1554
|
InputProcessingConfigurationUpdate: serializeAws_json1_1InputProcessingConfigurationUpdate(input.InputProcessingConfigurationUpdate, context),
|
|
1578
1555
|
}),
|
|
1579
|
-
...(input.InputSchemaUpdate
|
|
1580
|
-
input.InputSchemaUpdate !== null && {
|
|
1556
|
+
...(input.InputSchemaUpdate != null && {
|
|
1581
1557
|
InputSchemaUpdate: serializeAws_json1_1InputSchemaUpdate(input.InputSchemaUpdate, context),
|
|
1582
1558
|
}),
|
|
1583
|
-
...(input.KinesisFirehoseInputUpdate
|
|
1584
|
-
input.KinesisFirehoseInputUpdate !== null && {
|
|
1559
|
+
...(input.KinesisFirehoseInputUpdate != null && {
|
|
1585
1560
|
KinesisFirehoseInputUpdate: serializeAws_json1_1KinesisFirehoseInputUpdate(input.KinesisFirehoseInputUpdate, context),
|
|
1586
1561
|
}),
|
|
1587
|
-
...(input.KinesisStreamsInputUpdate
|
|
1588
|
-
input.KinesisStreamsInputUpdate !== null && {
|
|
1562
|
+
...(input.KinesisStreamsInputUpdate != null && {
|
|
1589
1563
|
KinesisStreamsInputUpdate: serializeAws_json1_1KinesisStreamsInputUpdate(input.KinesisStreamsInputUpdate, context),
|
|
1590
1564
|
}),
|
|
1591
|
-
...(input.NamePrefixUpdate
|
|
1592
|
-
input.NamePrefixUpdate !== null && { NamePrefixUpdate: input.NamePrefixUpdate }),
|
|
1565
|
+
...(input.NamePrefixUpdate != null && { NamePrefixUpdate: input.NamePrefixUpdate }),
|
|
1593
1566
|
};
|
|
1594
1567
|
};
|
|
1595
1568
|
const serializeAws_json1_1InputUpdates = (input, context) => {
|
|
@@ -1604,117 +1577,105 @@ const serializeAws_json1_1InputUpdates = (input, context) => {
|
|
|
1604
1577
|
};
|
|
1605
1578
|
const serializeAws_json1_1JSONMappingParameters = (input, context) => {
|
|
1606
1579
|
return {
|
|
1607
|
-
...(input.RecordRowPath
|
|
1580
|
+
...(input.RecordRowPath != null && { RecordRowPath: input.RecordRowPath }),
|
|
1608
1581
|
};
|
|
1609
1582
|
};
|
|
1610
1583
|
const serializeAws_json1_1KinesisFirehoseInput = (input, context) => {
|
|
1611
1584
|
return {
|
|
1612
|
-
...(input.ResourceARN
|
|
1613
|
-
...(input.RoleARN
|
|
1585
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1586
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1614
1587
|
};
|
|
1615
1588
|
};
|
|
1616
1589
|
const serializeAws_json1_1KinesisFirehoseInputUpdate = (input, context) => {
|
|
1617
1590
|
return {
|
|
1618
|
-
...(input.ResourceARNUpdate
|
|
1619
|
-
|
|
1620
|
-
...(input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1591
|
+
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1592
|
+
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1621
1593
|
};
|
|
1622
1594
|
};
|
|
1623
1595
|
const serializeAws_json1_1KinesisFirehoseOutput = (input, context) => {
|
|
1624
1596
|
return {
|
|
1625
|
-
...(input.ResourceARN
|
|
1626
|
-
...(input.RoleARN
|
|
1597
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1598
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1627
1599
|
};
|
|
1628
1600
|
};
|
|
1629
1601
|
const serializeAws_json1_1KinesisFirehoseOutputUpdate = (input, context) => {
|
|
1630
1602
|
return {
|
|
1631
|
-
...(input.ResourceARNUpdate
|
|
1632
|
-
|
|
1633
|
-
...(input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1603
|
+
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1604
|
+
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1634
1605
|
};
|
|
1635
1606
|
};
|
|
1636
1607
|
const serializeAws_json1_1KinesisStreamsInput = (input, context) => {
|
|
1637
1608
|
return {
|
|
1638
|
-
...(input.ResourceARN
|
|
1639
|
-
...(input.RoleARN
|
|
1609
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1610
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1640
1611
|
};
|
|
1641
1612
|
};
|
|
1642
1613
|
const serializeAws_json1_1KinesisStreamsInputUpdate = (input, context) => {
|
|
1643
1614
|
return {
|
|
1644
|
-
...(input.ResourceARNUpdate
|
|
1645
|
-
|
|
1646
|
-
...(input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1615
|
+
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1616
|
+
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1647
1617
|
};
|
|
1648
1618
|
};
|
|
1649
1619
|
const serializeAws_json1_1KinesisStreamsOutput = (input, context) => {
|
|
1650
1620
|
return {
|
|
1651
|
-
...(input.ResourceARN
|
|
1652
|
-
...(input.RoleARN
|
|
1621
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1622
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1653
1623
|
};
|
|
1654
1624
|
};
|
|
1655
1625
|
const serializeAws_json1_1KinesisStreamsOutputUpdate = (input, context) => {
|
|
1656
1626
|
return {
|
|
1657
|
-
...(input.ResourceARNUpdate
|
|
1658
|
-
|
|
1659
|
-
...(input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1627
|
+
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1628
|
+
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1660
1629
|
};
|
|
1661
1630
|
};
|
|
1662
1631
|
const serializeAws_json1_1LambdaOutput = (input, context) => {
|
|
1663
1632
|
return {
|
|
1664
|
-
...(input.ResourceARN
|
|
1665
|
-
...(input.RoleARN
|
|
1633
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1634
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1666
1635
|
};
|
|
1667
1636
|
};
|
|
1668
1637
|
const serializeAws_json1_1LambdaOutputUpdate = (input, context) => {
|
|
1669
1638
|
return {
|
|
1670
|
-
...(input.ResourceARNUpdate
|
|
1671
|
-
|
|
1672
|
-
...(input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1639
|
+
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1640
|
+
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1673
1641
|
};
|
|
1674
1642
|
};
|
|
1675
1643
|
const serializeAws_json1_1ListApplicationsRequest = (input, context) => {
|
|
1676
1644
|
return {
|
|
1677
|
-
...(input.ExclusiveStartApplicationName
|
|
1678
|
-
input.ExclusiveStartApplicationName !== null && {
|
|
1645
|
+
...(input.ExclusiveStartApplicationName != null && {
|
|
1679
1646
|
ExclusiveStartApplicationName: input.ExclusiveStartApplicationName,
|
|
1680
1647
|
}),
|
|
1681
|
-
...(input.Limit
|
|
1648
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
1682
1649
|
};
|
|
1683
1650
|
};
|
|
1684
1651
|
const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
|
|
1685
1652
|
return {
|
|
1686
|
-
...(input.ResourceARN
|
|
1653
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1687
1654
|
};
|
|
1688
1655
|
};
|
|
1689
1656
|
const serializeAws_json1_1MappingParameters = (input, context) => {
|
|
1690
1657
|
return {
|
|
1691
|
-
...(input.CSVMappingParameters
|
|
1692
|
-
input.CSVMappingParameters !== null && {
|
|
1658
|
+
...(input.CSVMappingParameters != null && {
|
|
1693
1659
|
CSVMappingParameters: serializeAws_json1_1CSVMappingParameters(input.CSVMappingParameters, context),
|
|
1694
1660
|
}),
|
|
1695
|
-
...(input.JSONMappingParameters
|
|
1696
|
-
input.JSONMappingParameters !== null && {
|
|
1661
|
+
...(input.JSONMappingParameters != null && {
|
|
1697
1662
|
JSONMappingParameters: serializeAws_json1_1JSONMappingParameters(input.JSONMappingParameters, context),
|
|
1698
1663
|
}),
|
|
1699
1664
|
};
|
|
1700
1665
|
};
|
|
1701
1666
|
const serializeAws_json1_1Output = (input, context) => {
|
|
1702
1667
|
return {
|
|
1703
|
-
...(input.DestinationSchema
|
|
1704
|
-
input.DestinationSchema !== null && {
|
|
1668
|
+
...(input.DestinationSchema != null && {
|
|
1705
1669
|
DestinationSchema: serializeAws_json1_1DestinationSchema(input.DestinationSchema, context),
|
|
1706
1670
|
}),
|
|
1707
|
-
...(input.KinesisFirehoseOutput
|
|
1708
|
-
input.KinesisFirehoseOutput !== null && {
|
|
1671
|
+
...(input.KinesisFirehoseOutput != null && {
|
|
1709
1672
|
KinesisFirehoseOutput: serializeAws_json1_1KinesisFirehoseOutput(input.KinesisFirehoseOutput, context),
|
|
1710
1673
|
}),
|
|
1711
|
-
...(input.KinesisStreamsOutput
|
|
1712
|
-
input.KinesisStreamsOutput !== null && {
|
|
1674
|
+
...(input.KinesisStreamsOutput != null && {
|
|
1713
1675
|
KinesisStreamsOutput: serializeAws_json1_1KinesisStreamsOutput(input.KinesisStreamsOutput, context),
|
|
1714
1676
|
}),
|
|
1715
|
-
...(input.LambdaOutput
|
|
1716
|
-
|
|
1717
|
-
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
1677
|
+
...(input.LambdaOutput != null && { LambdaOutput: serializeAws_json1_1LambdaOutput(input.LambdaOutput, context) }),
|
|
1678
|
+
...(input.Name != null && { Name: input.Name }),
|
|
1718
1679
|
};
|
|
1719
1680
|
};
|
|
1720
1681
|
const serializeAws_json1_1Outputs = (input, context) => {
|
|
@@ -1729,24 +1690,20 @@ const serializeAws_json1_1Outputs = (input, context) => {
|
|
|
1729
1690
|
};
|
|
1730
1691
|
const serializeAws_json1_1OutputUpdate = (input, context) => {
|
|
1731
1692
|
return {
|
|
1732
|
-
...(input.DestinationSchemaUpdate
|
|
1733
|
-
input.DestinationSchemaUpdate !== null && {
|
|
1693
|
+
...(input.DestinationSchemaUpdate != null && {
|
|
1734
1694
|
DestinationSchemaUpdate: serializeAws_json1_1DestinationSchema(input.DestinationSchemaUpdate, context),
|
|
1735
1695
|
}),
|
|
1736
|
-
...(input.KinesisFirehoseOutputUpdate
|
|
1737
|
-
input.KinesisFirehoseOutputUpdate !== null && {
|
|
1696
|
+
...(input.KinesisFirehoseOutputUpdate != null && {
|
|
1738
1697
|
KinesisFirehoseOutputUpdate: serializeAws_json1_1KinesisFirehoseOutputUpdate(input.KinesisFirehoseOutputUpdate, context),
|
|
1739
1698
|
}),
|
|
1740
|
-
...(input.KinesisStreamsOutputUpdate
|
|
1741
|
-
input.KinesisStreamsOutputUpdate !== null && {
|
|
1699
|
+
...(input.KinesisStreamsOutputUpdate != null && {
|
|
1742
1700
|
KinesisStreamsOutputUpdate: serializeAws_json1_1KinesisStreamsOutputUpdate(input.KinesisStreamsOutputUpdate, context),
|
|
1743
1701
|
}),
|
|
1744
|
-
...(input.LambdaOutputUpdate
|
|
1745
|
-
input.LambdaOutputUpdate !== null && {
|
|
1702
|
+
...(input.LambdaOutputUpdate != null && {
|
|
1746
1703
|
LambdaOutputUpdate: serializeAws_json1_1LambdaOutputUpdate(input.LambdaOutputUpdate, context),
|
|
1747
1704
|
}),
|
|
1748
|
-
...(input.NameUpdate
|
|
1749
|
-
...(input.OutputId
|
|
1705
|
+
...(input.NameUpdate != null && { NameUpdate: input.NameUpdate }),
|
|
1706
|
+
...(input.OutputId != null && { OutputId: input.OutputId }),
|
|
1750
1707
|
};
|
|
1751
1708
|
};
|
|
1752
1709
|
const serializeAws_json1_1OutputUpdates = (input, context) => {
|
|
@@ -1761,9 +1718,9 @@ const serializeAws_json1_1OutputUpdates = (input, context) => {
|
|
|
1761
1718
|
};
|
|
1762
1719
|
const serializeAws_json1_1RecordColumn = (input, context) => {
|
|
1763
1720
|
return {
|
|
1764
|
-
...(input.Mapping
|
|
1765
|
-
...(input.Name
|
|
1766
|
-
...(input.SqlType
|
|
1721
|
+
...(input.Mapping != null && { Mapping: input.Mapping }),
|
|
1722
|
+
...(input.Name != null && { Name: input.Name }),
|
|
1723
|
+
...(input.SqlType != null && { SqlType: input.SqlType }),
|
|
1767
1724
|
};
|
|
1768
1725
|
};
|
|
1769
1726
|
const serializeAws_json1_1RecordColumns = (input, context) => {
|
|
@@ -1778,40 +1735,33 @@ const serializeAws_json1_1RecordColumns = (input, context) => {
|
|
|
1778
1735
|
};
|
|
1779
1736
|
const serializeAws_json1_1RecordFormat = (input, context) => {
|
|
1780
1737
|
return {
|
|
1781
|
-
...(input.MappingParameters
|
|
1782
|
-
input.MappingParameters !== null && {
|
|
1738
|
+
...(input.MappingParameters != null && {
|
|
1783
1739
|
MappingParameters: serializeAws_json1_1MappingParameters(input.MappingParameters, context),
|
|
1784
1740
|
}),
|
|
1785
|
-
...(input.RecordFormatType
|
|
1786
|
-
input.RecordFormatType !== null && { RecordFormatType: input.RecordFormatType }),
|
|
1741
|
+
...(input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }),
|
|
1787
1742
|
};
|
|
1788
1743
|
};
|
|
1789
1744
|
const serializeAws_json1_1ReferenceDataSource = (input, context) => {
|
|
1790
1745
|
return {
|
|
1791
|
-
...(input.ReferenceSchema
|
|
1792
|
-
input.ReferenceSchema !== null && {
|
|
1746
|
+
...(input.ReferenceSchema != null && {
|
|
1793
1747
|
ReferenceSchema: serializeAws_json1_1SourceSchema(input.ReferenceSchema, context),
|
|
1794
1748
|
}),
|
|
1795
|
-
...(input.S3ReferenceDataSource
|
|
1796
|
-
input.S3ReferenceDataSource !== null && {
|
|
1749
|
+
...(input.S3ReferenceDataSource != null && {
|
|
1797
1750
|
S3ReferenceDataSource: serializeAws_json1_1S3ReferenceDataSource(input.S3ReferenceDataSource, context),
|
|
1798
1751
|
}),
|
|
1799
|
-
...(input.TableName
|
|
1752
|
+
...(input.TableName != null && { TableName: input.TableName }),
|
|
1800
1753
|
};
|
|
1801
1754
|
};
|
|
1802
1755
|
const serializeAws_json1_1ReferenceDataSourceUpdate = (input, context) => {
|
|
1803
1756
|
return {
|
|
1804
|
-
...(input.ReferenceId
|
|
1805
|
-
...(input.ReferenceSchemaUpdate
|
|
1806
|
-
input.ReferenceSchemaUpdate !== null && {
|
|
1757
|
+
...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
|
|
1758
|
+
...(input.ReferenceSchemaUpdate != null && {
|
|
1807
1759
|
ReferenceSchemaUpdate: serializeAws_json1_1SourceSchema(input.ReferenceSchemaUpdate, context),
|
|
1808
1760
|
}),
|
|
1809
|
-
...(input.S3ReferenceDataSourceUpdate
|
|
1810
|
-
input.S3ReferenceDataSourceUpdate !== null && {
|
|
1761
|
+
...(input.S3ReferenceDataSourceUpdate != null && {
|
|
1811
1762
|
S3ReferenceDataSourceUpdate: serializeAws_json1_1S3ReferenceDataSourceUpdate(input.S3ReferenceDataSourceUpdate, context),
|
|
1812
1763
|
}),
|
|
1813
|
-
...(input.TableNameUpdate
|
|
1814
|
-
input.TableNameUpdate !== null && { TableNameUpdate: input.TableNameUpdate }),
|
|
1764
|
+
...(input.TableNameUpdate != null && { TableNameUpdate: input.TableNameUpdate }),
|
|
1815
1765
|
};
|
|
1816
1766
|
};
|
|
1817
1767
|
const serializeAws_json1_1ReferenceDataSourceUpdates = (input, context) => {
|
|
@@ -1826,60 +1776,51 @@ const serializeAws_json1_1ReferenceDataSourceUpdates = (input, context) => {
|
|
|
1826
1776
|
};
|
|
1827
1777
|
const serializeAws_json1_1S3Configuration = (input, context) => {
|
|
1828
1778
|
return {
|
|
1829
|
-
...(input.BucketARN
|
|
1830
|
-
...(input.FileKey
|
|
1831
|
-
...(input.RoleARN
|
|
1779
|
+
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1780
|
+
...(input.FileKey != null && { FileKey: input.FileKey }),
|
|
1781
|
+
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1832
1782
|
};
|
|
1833
1783
|
};
|
|
1834
1784
|
const serializeAws_json1_1S3ReferenceDataSource = (input, context) => {
|
|
1835
1785
|
return {
|
|
1836
|
-
...(input.BucketARN
|
|
1837
|
-
...(input.FileKey
|
|
1838
|
-
...(input.ReferenceRoleARN
|
|
1839
|
-
input.ReferenceRoleARN !== null && { ReferenceRoleARN: input.ReferenceRoleARN }),
|
|
1786
|
+
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1787
|
+
...(input.FileKey != null && { FileKey: input.FileKey }),
|
|
1788
|
+
...(input.ReferenceRoleARN != null && { ReferenceRoleARN: input.ReferenceRoleARN }),
|
|
1840
1789
|
};
|
|
1841
1790
|
};
|
|
1842
1791
|
const serializeAws_json1_1S3ReferenceDataSourceUpdate = (input, context) => {
|
|
1843
1792
|
return {
|
|
1844
|
-
...(input.BucketARNUpdate
|
|
1845
|
-
|
|
1846
|
-
...(input.
|
|
1847
|
-
...(input.ReferenceRoleARNUpdate !== undefined &&
|
|
1848
|
-
input.ReferenceRoleARNUpdate !== null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }),
|
|
1793
|
+
...(input.BucketARNUpdate != null && { BucketARNUpdate: input.BucketARNUpdate }),
|
|
1794
|
+
...(input.FileKeyUpdate != null && { FileKeyUpdate: input.FileKeyUpdate }),
|
|
1795
|
+
...(input.ReferenceRoleARNUpdate != null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }),
|
|
1849
1796
|
};
|
|
1850
1797
|
};
|
|
1851
1798
|
const serializeAws_json1_1SourceSchema = (input, context) => {
|
|
1852
1799
|
return {
|
|
1853
|
-
...(input.RecordColumns
|
|
1854
|
-
input.RecordColumns !== null && {
|
|
1800
|
+
...(input.RecordColumns != null && {
|
|
1855
1801
|
RecordColumns: serializeAws_json1_1RecordColumns(input.RecordColumns, context),
|
|
1856
1802
|
}),
|
|
1857
|
-
...(input.RecordEncoding
|
|
1858
|
-
|
|
1859
|
-
...(input.RecordFormat !== undefined &&
|
|
1860
|
-
input.RecordFormat !== null && { RecordFormat: serializeAws_json1_1RecordFormat(input.RecordFormat, context) }),
|
|
1803
|
+
...(input.RecordEncoding != null && { RecordEncoding: input.RecordEncoding }),
|
|
1804
|
+
...(input.RecordFormat != null && { RecordFormat: serializeAws_json1_1RecordFormat(input.RecordFormat, context) }),
|
|
1861
1805
|
};
|
|
1862
1806
|
};
|
|
1863
1807
|
const serializeAws_json1_1StartApplicationRequest = (input, context) => {
|
|
1864
1808
|
return {
|
|
1865
|
-
...(input.ApplicationName
|
|
1866
|
-
|
|
1867
|
-
...(input.InputConfigurations !== undefined &&
|
|
1868
|
-
input.InputConfigurations !== null && {
|
|
1809
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1810
|
+
...(input.InputConfigurations != null && {
|
|
1869
1811
|
InputConfigurations: serializeAws_json1_1InputConfigurations(input.InputConfigurations, context),
|
|
1870
1812
|
}),
|
|
1871
1813
|
};
|
|
1872
1814
|
};
|
|
1873
1815
|
const serializeAws_json1_1StopApplicationRequest = (input, context) => {
|
|
1874
1816
|
return {
|
|
1875
|
-
...(input.ApplicationName
|
|
1876
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName }),
|
|
1817
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1877
1818
|
};
|
|
1878
1819
|
};
|
|
1879
1820
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
1880
1821
|
return {
|
|
1881
|
-
...(input.Key
|
|
1882
|
-
...(input.Value
|
|
1822
|
+
...(input.Key != null && { Key: input.Key }),
|
|
1823
|
+
...(input.Value != null && { Value: input.Value }),
|
|
1883
1824
|
};
|
|
1884
1825
|
};
|
|
1885
1826
|
const serializeAws_json1_1TagKeys = (input, context) => {
|
|
@@ -1894,8 +1835,8 @@ const serializeAws_json1_1TagKeys = (input, context) => {
|
|
|
1894
1835
|
};
|
|
1895
1836
|
const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
1896
1837
|
return {
|
|
1897
|
-
...(input.ResourceARN
|
|
1898
|
-
...(input.Tags
|
|
1838
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1839
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
1899
1840
|
};
|
|
1900
1841
|
};
|
|
1901
1842
|
const serializeAws_json1_1Tags = (input, context) => {
|
|
@@ -1910,21 +1851,19 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
1910
1851
|
};
|
|
1911
1852
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
1912
1853
|
return {
|
|
1913
|
-
...(input.ResourceARN
|
|
1914
|
-
...(input.TagKeys
|
|
1915
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }),
|
|
1854
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1855
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }),
|
|
1916
1856
|
};
|
|
1917
1857
|
};
|
|
1918
1858
|
const serializeAws_json1_1UpdateApplicationRequest = (input, context) => {
|
|
1919
1859
|
return {
|
|
1920
|
-
...(input.ApplicationName
|
|
1921
|
-
|
|
1922
|
-
...(input.ApplicationUpdate !== undefined &&
|
|
1923
|
-
input.ApplicationUpdate !== null && {
|
|
1860
|
+
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1861
|
+
...(input.ApplicationUpdate != null && {
|
|
1924
1862
|
ApplicationUpdate: serializeAws_json1_1ApplicationUpdate(input.ApplicationUpdate, context),
|
|
1925
1863
|
}),
|
|
1926
|
-
...(input.CurrentApplicationVersionId
|
|
1927
|
-
|
|
1864
|
+
...(input.CurrentApplicationVersionId != null && {
|
|
1865
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1866
|
+
}),
|
|
1928
1867
|
};
|
|
1929
1868
|
};
|
|
1930
1869
|
const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionResponse = (output, context) => {
|
|
@@ -1950,22 +1889,22 @@ const deserializeAws_json1_1ApplicationDetail = (output, context) => {
|
|
|
1950
1889
|
ApplicationName: (0, smithy_client_1.expectString)(output.ApplicationName),
|
|
1951
1890
|
ApplicationStatus: (0, smithy_client_1.expectString)(output.ApplicationStatus),
|
|
1952
1891
|
ApplicationVersionId: (0, smithy_client_1.expectLong)(output.ApplicationVersionId),
|
|
1953
|
-
CloudWatchLoggingOptionDescriptions: output.CloudWatchLoggingOptionDescriptions
|
|
1892
|
+
CloudWatchLoggingOptionDescriptions: output.CloudWatchLoggingOptionDescriptions != null
|
|
1954
1893
|
? deserializeAws_json1_1CloudWatchLoggingOptionDescriptions(output.CloudWatchLoggingOptionDescriptions, context)
|
|
1955
1894
|
: undefined,
|
|
1956
|
-
CreateTimestamp: output.CreateTimestamp
|
|
1895
|
+
CreateTimestamp: output.CreateTimestamp != null
|
|
1957
1896
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTimestamp)))
|
|
1958
1897
|
: undefined,
|
|
1959
|
-
InputDescriptions: output.InputDescriptions
|
|
1898
|
+
InputDescriptions: output.InputDescriptions != null
|
|
1960
1899
|
? deserializeAws_json1_1InputDescriptions(output.InputDescriptions, context)
|
|
1961
1900
|
: undefined,
|
|
1962
|
-
LastUpdateTimestamp: output.LastUpdateTimestamp
|
|
1901
|
+
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
1963
1902
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTimestamp)))
|
|
1964
1903
|
: undefined,
|
|
1965
|
-
OutputDescriptions: output.OutputDescriptions
|
|
1904
|
+
OutputDescriptions: output.OutputDescriptions != null
|
|
1966
1905
|
? deserializeAws_json1_1OutputDescriptions(output.OutputDescriptions, context)
|
|
1967
1906
|
: undefined,
|
|
1968
|
-
ReferenceDataSourceDescriptions: output.ReferenceDataSourceDescriptions
|
|
1907
|
+
ReferenceDataSourceDescriptions: output.ReferenceDataSourceDescriptions != null
|
|
1969
1908
|
? deserializeAws_json1_1ReferenceDataSourceDescriptions(output.ReferenceDataSourceDescriptions, context)
|
|
1970
1909
|
: undefined,
|
|
1971
1910
|
};
|
|
@@ -2018,7 +1957,7 @@ const deserializeAws_json1_1ConcurrentModificationException = (output, context)
|
|
|
2018
1957
|
};
|
|
2019
1958
|
const deserializeAws_json1_1CreateApplicationResponse = (output, context) => {
|
|
2020
1959
|
return {
|
|
2021
|
-
ApplicationSummary: output.ApplicationSummary
|
|
1960
|
+
ApplicationSummary: output.ApplicationSummary != null
|
|
2022
1961
|
? deserializeAws_json1_1ApplicationSummary(output.ApplicationSummary, context)
|
|
2023
1962
|
: undefined,
|
|
2024
1963
|
};
|
|
@@ -2046,7 +1985,7 @@ const deserializeAws_json1_1DeleteApplicationResponse = (output, context) => {
|
|
|
2046
1985
|
};
|
|
2047
1986
|
const deserializeAws_json1_1DescribeApplicationResponse = (output, context) => {
|
|
2048
1987
|
return {
|
|
2049
|
-
ApplicationDetail: output.ApplicationDetail
|
|
1988
|
+
ApplicationDetail: output.ApplicationDetail != null
|
|
2050
1989
|
? deserializeAws_json1_1ApplicationDetail(output.ApplicationDetail, context)
|
|
2051
1990
|
: undefined,
|
|
2052
1991
|
};
|
|
@@ -2058,16 +1997,14 @@ const deserializeAws_json1_1DestinationSchema = (output, context) => {
|
|
|
2058
1997
|
};
|
|
2059
1998
|
const deserializeAws_json1_1DiscoverInputSchemaResponse = (output, context) => {
|
|
2060
1999
|
return {
|
|
2061
|
-
InputSchema: output.InputSchema
|
|
2062
|
-
|
|
2063
|
-
: undefined,
|
|
2064
|
-
ParsedInputRecords: output.ParsedInputRecords !== undefined && output.ParsedInputRecords !== null
|
|
2000
|
+
InputSchema: output.InputSchema != null ? deserializeAws_json1_1SourceSchema(output.InputSchema, context) : undefined,
|
|
2001
|
+
ParsedInputRecords: output.ParsedInputRecords != null
|
|
2065
2002
|
? deserializeAws_json1_1ParsedInputRecords(output.ParsedInputRecords, context)
|
|
2066
2003
|
: undefined,
|
|
2067
|
-
ProcessedInputRecords: output.ProcessedInputRecords
|
|
2004
|
+
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2068
2005
|
? deserializeAws_json1_1ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
2069
2006
|
: undefined,
|
|
2070
|
-
RawInputRecords: output.RawInputRecords
|
|
2007
|
+
RawInputRecords: output.RawInputRecords != null
|
|
2071
2008
|
? deserializeAws_json1_1RawInputRecords(output.RawInputRecords, context)
|
|
2072
2009
|
: undefined,
|
|
2073
2010
|
};
|
|
@@ -2085,27 +2022,24 @@ const deserializeAws_json1_1InAppStreamNames = (output, context) => {
|
|
|
2085
2022
|
};
|
|
2086
2023
|
const deserializeAws_json1_1InputDescription = (output, context) => {
|
|
2087
2024
|
return {
|
|
2088
|
-
InAppStreamNames: output.InAppStreamNames
|
|
2025
|
+
InAppStreamNames: output.InAppStreamNames != null
|
|
2089
2026
|
? deserializeAws_json1_1InAppStreamNames(output.InAppStreamNames, context)
|
|
2090
2027
|
: undefined,
|
|
2091
2028
|
InputId: (0, smithy_client_1.expectString)(output.InputId),
|
|
2092
|
-
InputParallelism: output.InputParallelism
|
|
2029
|
+
InputParallelism: output.InputParallelism != null
|
|
2093
2030
|
? deserializeAws_json1_1InputParallelism(output.InputParallelism, context)
|
|
2094
2031
|
: undefined,
|
|
2095
|
-
InputProcessingConfigurationDescription: output.InputProcessingConfigurationDescription
|
|
2096
|
-
output.InputProcessingConfigurationDescription !== null
|
|
2032
|
+
InputProcessingConfigurationDescription: output.InputProcessingConfigurationDescription != null
|
|
2097
2033
|
? deserializeAws_json1_1InputProcessingConfigurationDescription(output.InputProcessingConfigurationDescription, context)
|
|
2098
2034
|
: undefined,
|
|
2099
|
-
InputSchema: output.InputSchema
|
|
2100
|
-
|
|
2101
|
-
: undefined,
|
|
2102
|
-
InputStartingPositionConfiguration: output.InputStartingPositionConfiguration !== undefined && output.InputStartingPositionConfiguration !== null
|
|
2035
|
+
InputSchema: output.InputSchema != null ? deserializeAws_json1_1SourceSchema(output.InputSchema, context) : undefined,
|
|
2036
|
+
InputStartingPositionConfiguration: output.InputStartingPositionConfiguration != null
|
|
2103
2037
|
? deserializeAws_json1_1InputStartingPositionConfiguration(output.InputStartingPositionConfiguration, context)
|
|
2104
2038
|
: undefined,
|
|
2105
|
-
KinesisFirehoseInputDescription: output.KinesisFirehoseInputDescription
|
|
2039
|
+
KinesisFirehoseInputDescription: output.KinesisFirehoseInputDescription != null
|
|
2106
2040
|
? deserializeAws_json1_1KinesisFirehoseInputDescription(output.KinesisFirehoseInputDescription, context)
|
|
2107
2041
|
: undefined,
|
|
2108
|
-
KinesisStreamsInputDescription: output.KinesisStreamsInputDescription
|
|
2042
|
+
KinesisStreamsInputDescription: output.KinesisStreamsInputDescription != null
|
|
2109
2043
|
? deserializeAws_json1_1KinesisStreamsInputDescription(output.KinesisStreamsInputDescription, context)
|
|
2110
2044
|
: undefined,
|
|
2111
2045
|
NamePrefix: (0, smithy_client_1.expectString)(output.NamePrefix),
|
|
@@ -2135,7 +2069,7 @@ const deserializeAws_json1_1InputParallelism = (output, context) => {
|
|
|
2135
2069
|
};
|
|
2136
2070
|
const deserializeAws_json1_1InputProcessingConfigurationDescription = (output, context) => {
|
|
2137
2071
|
return {
|
|
2138
|
-
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription
|
|
2072
|
+
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription != null
|
|
2139
2073
|
? deserializeAws_json1_1InputLambdaProcessorDescription(output.InputLambdaProcessorDescription, context)
|
|
2140
2074
|
: undefined,
|
|
2141
2075
|
};
|
|
@@ -2197,7 +2131,7 @@ const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
|
2197
2131
|
};
|
|
2198
2132
|
const deserializeAws_json1_1ListApplicationsResponse = (output, context) => {
|
|
2199
2133
|
return {
|
|
2200
|
-
ApplicationSummaries: output.ApplicationSummaries
|
|
2134
|
+
ApplicationSummaries: output.ApplicationSummaries != null
|
|
2201
2135
|
? deserializeAws_json1_1ApplicationSummaries(output.ApplicationSummaries, context)
|
|
2202
2136
|
: undefined,
|
|
2203
2137
|
HasMoreApplications: (0, smithy_client_1.expectBoolean)(output.HasMoreApplications),
|
|
@@ -2205,31 +2139,31 @@ const deserializeAws_json1_1ListApplicationsResponse = (output, context) => {
|
|
|
2205
2139
|
};
|
|
2206
2140
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
2207
2141
|
return {
|
|
2208
|
-
Tags: output.Tags
|
|
2142
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
2209
2143
|
};
|
|
2210
2144
|
};
|
|
2211
2145
|
const deserializeAws_json1_1MappingParameters = (output, context) => {
|
|
2212
2146
|
return {
|
|
2213
|
-
CSVMappingParameters: output.CSVMappingParameters
|
|
2147
|
+
CSVMappingParameters: output.CSVMappingParameters != null
|
|
2214
2148
|
? deserializeAws_json1_1CSVMappingParameters(output.CSVMappingParameters, context)
|
|
2215
2149
|
: undefined,
|
|
2216
|
-
JSONMappingParameters: output.JSONMappingParameters
|
|
2150
|
+
JSONMappingParameters: output.JSONMappingParameters != null
|
|
2217
2151
|
? deserializeAws_json1_1JSONMappingParameters(output.JSONMappingParameters, context)
|
|
2218
2152
|
: undefined,
|
|
2219
2153
|
};
|
|
2220
2154
|
};
|
|
2221
2155
|
const deserializeAws_json1_1OutputDescription = (output, context) => {
|
|
2222
2156
|
return {
|
|
2223
|
-
DestinationSchema: output.DestinationSchema
|
|
2157
|
+
DestinationSchema: output.DestinationSchema != null
|
|
2224
2158
|
? deserializeAws_json1_1DestinationSchema(output.DestinationSchema, context)
|
|
2225
2159
|
: undefined,
|
|
2226
|
-
KinesisFirehoseOutputDescription: output.KinesisFirehoseOutputDescription
|
|
2160
|
+
KinesisFirehoseOutputDescription: output.KinesisFirehoseOutputDescription != null
|
|
2227
2161
|
? deserializeAws_json1_1KinesisFirehoseOutputDescription(output.KinesisFirehoseOutputDescription, context)
|
|
2228
2162
|
: undefined,
|
|
2229
|
-
KinesisStreamsOutputDescription: output.KinesisStreamsOutputDescription
|
|
2163
|
+
KinesisStreamsOutputDescription: output.KinesisStreamsOutputDescription != null
|
|
2230
2164
|
? deserializeAws_json1_1KinesisStreamsOutputDescription(output.KinesisStreamsOutputDescription, context)
|
|
2231
2165
|
: undefined,
|
|
2232
|
-
LambdaOutputDescription: output.LambdaOutputDescription
|
|
2166
|
+
LambdaOutputDescription: output.LambdaOutputDescription != null
|
|
2233
2167
|
? deserializeAws_json1_1LambdaOutputDescription(output.LambdaOutputDescription, context)
|
|
2234
2168
|
: undefined,
|
|
2235
2169
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -2311,7 +2245,7 @@ const deserializeAws_json1_1RecordColumns = (output, context) => {
|
|
|
2311
2245
|
};
|
|
2312
2246
|
const deserializeAws_json1_1RecordFormat = (output, context) => {
|
|
2313
2247
|
return {
|
|
2314
|
-
MappingParameters: output.MappingParameters
|
|
2248
|
+
MappingParameters: output.MappingParameters != null
|
|
2315
2249
|
? deserializeAws_json1_1MappingParameters(output.MappingParameters, context)
|
|
2316
2250
|
: undefined,
|
|
2317
2251
|
RecordFormatType: (0, smithy_client_1.expectString)(output.RecordFormatType),
|
|
@@ -2320,10 +2254,8 @@ const deserializeAws_json1_1RecordFormat = (output, context) => {
|
|
|
2320
2254
|
const deserializeAws_json1_1ReferenceDataSourceDescription = (output, context) => {
|
|
2321
2255
|
return {
|
|
2322
2256
|
ReferenceId: (0, smithy_client_1.expectString)(output.ReferenceId),
|
|
2323
|
-
ReferenceSchema: output.ReferenceSchema
|
|
2324
|
-
|
|
2325
|
-
: undefined,
|
|
2326
|
-
S3ReferenceDataSourceDescription: output.S3ReferenceDataSourceDescription !== undefined && output.S3ReferenceDataSourceDescription !== null
|
|
2257
|
+
ReferenceSchema: output.ReferenceSchema != null ? deserializeAws_json1_1SourceSchema(output.ReferenceSchema, context) : undefined,
|
|
2258
|
+
S3ReferenceDataSourceDescription: output.S3ReferenceDataSourceDescription != null
|
|
2327
2259
|
? deserializeAws_json1_1S3ReferenceDataSourceDescription(output.S3ReferenceDataSourceDescription, context)
|
|
2328
2260
|
: undefined,
|
|
2329
2261
|
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
@@ -2369,13 +2301,9 @@ const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
|
|
|
2369
2301
|
};
|
|
2370
2302
|
const deserializeAws_json1_1SourceSchema = (output, context) => {
|
|
2371
2303
|
return {
|
|
2372
|
-
RecordColumns: output.RecordColumns
|
|
2373
|
-
? deserializeAws_json1_1RecordColumns(output.RecordColumns, context)
|
|
2374
|
-
: undefined,
|
|
2304
|
+
RecordColumns: output.RecordColumns != null ? deserializeAws_json1_1RecordColumns(output.RecordColumns, context) : undefined,
|
|
2375
2305
|
RecordEncoding: (0, smithy_client_1.expectString)(output.RecordEncoding),
|
|
2376
|
-
RecordFormat: output.RecordFormat
|
|
2377
|
-
? deserializeAws_json1_1RecordFormat(output.RecordFormat, context)
|
|
2378
|
-
: undefined,
|
|
2306
|
+
RecordFormat: output.RecordFormat != null ? deserializeAws_json1_1RecordFormat(output.RecordFormat, context) : undefined,
|
|
2379
2307
|
};
|
|
2380
2308
|
};
|
|
2381
2309
|
const deserializeAws_json1_1StartApplicationResponse = (output, context) => {
|
|
@@ -2411,10 +2339,10 @@ const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
|
2411
2339
|
};
|
|
2412
2340
|
const deserializeAws_json1_1UnableToDetectSchemaException = (output, context) => {
|
|
2413
2341
|
return {
|
|
2414
|
-
ProcessedInputRecords: output.ProcessedInputRecords
|
|
2342
|
+
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2415
2343
|
? deserializeAws_json1_1ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
2416
2344
|
: undefined,
|
|
2417
|
-
RawInputRecords: output.RawInputRecords
|
|
2345
|
+
RawInputRecords: output.RawInputRecords != null
|
|
2418
2346
|
? deserializeAws_json1_1RawInputRecords(output.RawInputRecords, context)
|
|
2419
2347
|
: undefined,
|
|
2420
2348
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
@@ -2493,5 +2421,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2493
2421
|
if (data["__type"] !== undefined) {
|
|
2494
2422
|
return sanitizeErrorCode(data["__type"]);
|
|
2495
2423
|
}
|
|
2496
|
-
return "";
|
|
2497
2424
|
};
|