@aws-sdk/client-kinesis-analytics-v2 3.51.0 → 3.54.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/index.js +3 -0
- package/dist-cjs/models/KinesisAnalyticsV2ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +189 -4
- package/dist-cjs/protocols/Aws_json1_1.js +354 -1300
- package/dist-es/index.js +1 -0
- package/dist-es/models/KinesisAnalyticsV2ServiceException.js +12 -0
- package/dist-es/models/models_0.js +172 -1
- package/dist-es/protocols/Aws_json1_1.js +754 -1399
- package/dist-types/KinesisAnalyticsV2Client.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/KinesisAnalyticsV2ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +93 -41
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/KinesisAnalyticsV2Client.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/KinesisAnalyticsV2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -41
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -4,6 +4,8 @@ exports.deserializeAws_json1_1DescribeApplicationVersionCommand = exports.deseri
|
|
|
4
4
|
exports.deserializeAws_json1_1UpdateApplicationMaintenanceConfigurationCommand = exports.deserializeAws_json1_1UpdateApplicationCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1StopApplicationCommand = exports.deserializeAws_json1_1StartApplicationCommand = exports.deserializeAws_json1_1RollbackApplicationCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListApplicationVersionsCommand = exports.deserializeAws_json1_1ListApplicationSnapshotsCommand = exports.deserializeAws_json1_1ListApplicationsCommand = exports.deserializeAws_json1_1DiscoverInputSchemaCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const KinesisAnalyticsV2ServiceException_1 = require("../models/KinesisAnalyticsV2ServiceException");
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
7
9
|
const serializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand = async (input, context) => {
|
|
8
10
|
const headers = {
|
|
9
11
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -339,67 +341,31 @@ const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError =
|
|
|
339
341
|
switch (errorCode) {
|
|
340
342
|
case "ConcurrentModificationException":
|
|
341
343
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
342
|
-
|
|
343
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
344
|
-
name: errorCode,
|
|
345
|
-
$metadata: deserializeMetadata(output),
|
|
346
|
-
};
|
|
347
|
-
break;
|
|
344
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
348
345
|
case "InvalidApplicationConfigurationException":
|
|
349
346
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
350
|
-
|
|
351
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
352
|
-
name: errorCode,
|
|
353
|
-
$metadata: deserializeMetadata(output),
|
|
354
|
-
};
|
|
355
|
-
break;
|
|
347
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
356
348
|
case "InvalidArgumentException":
|
|
357
349
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
358
|
-
|
|
359
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
360
|
-
name: errorCode,
|
|
361
|
-
$metadata: deserializeMetadata(output),
|
|
362
|
-
};
|
|
363
|
-
break;
|
|
350
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
364
351
|
case "InvalidRequestException":
|
|
365
352
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
366
|
-
|
|
367
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
368
|
-
name: errorCode,
|
|
369
|
-
$metadata: deserializeMetadata(output),
|
|
370
|
-
};
|
|
371
|
-
break;
|
|
353
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
372
354
|
case "ResourceInUseException":
|
|
373
355
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
374
|
-
|
|
375
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
376
|
-
name: errorCode,
|
|
377
|
-
$metadata: deserializeMetadata(output),
|
|
378
|
-
};
|
|
379
|
-
break;
|
|
356
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
380
357
|
case "ResourceNotFoundException":
|
|
381
358
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
382
|
-
|
|
383
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
384
|
-
name: errorCode,
|
|
385
|
-
$metadata: deserializeMetadata(output),
|
|
386
|
-
};
|
|
387
|
-
break;
|
|
359
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
388
360
|
default:
|
|
389
361
|
const parsedBody = parsedOutput.body;
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
...parsedBody,
|
|
393
|
-
name: `${errorCode}`,
|
|
394
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
362
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
363
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
395
364
|
$fault: "client",
|
|
396
365
|
$metadata: deserializeMetadata(output),
|
|
397
|
-
};
|
|
366
|
+
});
|
|
367
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
398
368
|
}
|
|
399
|
-
const message = response.message || response.Message || errorCode;
|
|
400
|
-
response.message = message;
|
|
401
|
-
delete response.Message;
|
|
402
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
403
369
|
};
|
|
404
370
|
const deserializeAws_json1_1AddApplicationInputCommand = async (output, context) => {
|
|
405
371
|
if (output.statusCode >= 300) {
|
|
@@ -426,67 +392,31 @@ const deserializeAws_json1_1AddApplicationInputCommandError = async (output, con
|
|
|
426
392
|
switch (errorCode) {
|
|
427
393
|
case "CodeValidationException":
|
|
428
394
|
case "com.amazonaws.kinesisanalyticsv2#CodeValidationException":
|
|
429
|
-
|
|
430
|
-
...(await deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context)),
|
|
431
|
-
name: errorCode,
|
|
432
|
-
$metadata: deserializeMetadata(output),
|
|
433
|
-
};
|
|
434
|
-
break;
|
|
395
|
+
throw await deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context);
|
|
435
396
|
case "ConcurrentModificationException":
|
|
436
397
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
437
|
-
|
|
438
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
439
|
-
name: errorCode,
|
|
440
|
-
$metadata: deserializeMetadata(output),
|
|
441
|
-
};
|
|
442
|
-
break;
|
|
398
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
443
399
|
case "InvalidArgumentException":
|
|
444
400
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
445
|
-
|
|
446
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
447
|
-
name: errorCode,
|
|
448
|
-
$metadata: deserializeMetadata(output),
|
|
449
|
-
};
|
|
450
|
-
break;
|
|
401
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
451
402
|
case "InvalidRequestException":
|
|
452
403
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
453
|
-
|
|
454
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
455
|
-
name: errorCode,
|
|
456
|
-
$metadata: deserializeMetadata(output),
|
|
457
|
-
};
|
|
458
|
-
break;
|
|
404
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
459
405
|
case "ResourceInUseException":
|
|
460
406
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
461
|
-
|
|
462
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
463
|
-
name: errorCode,
|
|
464
|
-
$metadata: deserializeMetadata(output),
|
|
465
|
-
};
|
|
466
|
-
break;
|
|
407
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
467
408
|
case "ResourceNotFoundException":
|
|
468
409
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
469
|
-
|
|
470
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
471
|
-
name: errorCode,
|
|
472
|
-
$metadata: deserializeMetadata(output),
|
|
473
|
-
};
|
|
474
|
-
break;
|
|
410
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
475
411
|
default:
|
|
476
412
|
const parsedBody = parsedOutput.body;
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
...parsedBody,
|
|
480
|
-
name: `${errorCode}`,
|
|
481
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
413
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
414
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
482
415
|
$fault: "client",
|
|
483
416
|
$metadata: deserializeMetadata(output),
|
|
484
|
-
};
|
|
417
|
+
});
|
|
418
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
485
419
|
}
|
|
486
|
-
const message = response.message || response.Message || errorCode;
|
|
487
|
-
response.message = message;
|
|
488
|
-
delete response.Message;
|
|
489
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
490
420
|
};
|
|
491
421
|
const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand = async (output, context) => {
|
|
492
422
|
if (output.statusCode >= 300) {
|
|
@@ -513,59 +443,28 @@ const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandErr
|
|
|
513
443
|
switch (errorCode) {
|
|
514
444
|
case "ConcurrentModificationException":
|
|
515
445
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
516
|
-
|
|
517
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
518
|
-
name: errorCode,
|
|
519
|
-
$metadata: deserializeMetadata(output),
|
|
520
|
-
};
|
|
521
|
-
break;
|
|
446
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
522
447
|
case "InvalidArgumentException":
|
|
523
448
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
524
|
-
|
|
525
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
526
|
-
name: errorCode,
|
|
527
|
-
$metadata: deserializeMetadata(output),
|
|
528
|
-
};
|
|
529
|
-
break;
|
|
449
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
530
450
|
case "InvalidRequestException":
|
|
531
451
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
532
|
-
|
|
533
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
534
|
-
name: errorCode,
|
|
535
|
-
$metadata: deserializeMetadata(output),
|
|
536
|
-
};
|
|
537
|
-
break;
|
|
452
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
538
453
|
case "ResourceInUseException":
|
|
539
454
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
540
|
-
|
|
541
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
542
|
-
name: errorCode,
|
|
543
|
-
$metadata: deserializeMetadata(output),
|
|
544
|
-
};
|
|
545
|
-
break;
|
|
455
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
546
456
|
case "ResourceNotFoundException":
|
|
547
457
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
548
|
-
|
|
549
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
550
|
-
name: errorCode,
|
|
551
|
-
$metadata: deserializeMetadata(output),
|
|
552
|
-
};
|
|
553
|
-
break;
|
|
458
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
554
459
|
default:
|
|
555
460
|
const parsedBody = parsedOutput.body;
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
...parsedBody,
|
|
559
|
-
name: `${errorCode}`,
|
|
560
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
461
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
462
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
561
463
|
$fault: "client",
|
|
562
464
|
$metadata: deserializeMetadata(output),
|
|
563
|
-
};
|
|
465
|
+
});
|
|
466
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
564
467
|
}
|
|
565
|
-
const message = response.message || response.Message || errorCode;
|
|
566
|
-
response.message = message;
|
|
567
|
-
delete response.Message;
|
|
568
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
569
468
|
};
|
|
570
469
|
const deserializeAws_json1_1AddApplicationOutputCommand = async (output, context) => {
|
|
571
470
|
if (output.statusCode >= 300) {
|
|
@@ -592,59 +491,28 @@ const deserializeAws_json1_1AddApplicationOutputCommandError = async (output, co
|
|
|
592
491
|
switch (errorCode) {
|
|
593
492
|
case "ConcurrentModificationException":
|
|
594
493
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
595
|
-
|
|
596
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
597
|
-
name: errorCode,
|
|
598
|
-
$metadata: deserializeMetadata(output),
|
|
599
|
-
};
|
|
600
|
-
break;
|
|
494
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
601
495
|
case "InvalidArgumentException":
|
|
602
496
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
603
|
-
|
|
604
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
605
|
-
name: errorCode,
|
|
606
|
-
$metadata: deserializeMetadata(output),
|
|
607
|
-
};
|
|
608
|
-
break;
|
|
497
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
609
498
|
case "InvalidRequestException":
|
|
610
499
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
611
|
-
|
|
612
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
613
|
-
name: errorCode,
|
|
614
|
-
$metadata: deserializeMetadata(output),
|
|
615
|
-
};
|
|
616
|
-
break;
|
|
500
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
617
501
|
case "ResourceInUseException":
|
|
618
502
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
619
|
-
|
|
620
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
621
|
-
name: errorCode,
|
|
622
|
-
$metadata: deserializeMetadata(output),
|
|
623
|
-
};
|
|
624
|
-
break;
|
|
503
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
625
504
|
case "ResourceNotFoundException":
|
|
626
505
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
627
|
-
|
|
628
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
629
|
-
name: errorCode,
|
|
630
|
-
$metadata: deserializeMetadata(output),
|
|
631
|
-
};
|
|
632
|
-
break;
|
|
506
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
633
507
|
default:
|
|
634
508
|
const parsedBody = parsedOutput.body;
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
...parsedBody,
|
|
638
|
-
name: `${errorCode}`,
|
|
639
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
509
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
510
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
640
511
|
$fault: "client",
|
|
641
512
|
$metadata: deserializeMetadata(output),
|
|
642
|
-
};
|
|
513
|
+
});
|
|
514
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
643
515
|
}
|
|
644
|
-
const message = response.message || response.Message || errorCode;
|
|
645
|
-
response.message = message;
|
|
646
|
-
delete response.Message;
|
|
647
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
648
516
|
};
|
|
649
517
|
const deserializeAws_json1_1AddApplicationReferenceDataSourceCommand = async (output, context) => {
|
|
650
518
|
if (output.statusCode >= 300) {
|
|
@@ -671,59 +539,28 @@ const deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = asyn
|
|
|
671
539
|
switch (errorCode) {
|
|
672
540
|
case "ConcurrentModificationException":
|
|
673
541
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
674
|
-
|
|
675
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
676
|
-
name: errorCode,
|
|
677
|
-
$metadata: deserializeMetadata(output),
|
|
678
|
-
};
|
|
679
|
-
break;
|
|
542
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
680
543
|
case "InvalidArgumentException":
|
|
681
544
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
682
|
-
|
|
683
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
684
|
-
name: errorCode,
|
|
685
|
-
$metadata: deserializeMetadata(output),
|
|
686
|
-
};
|
|
687
|
-
break;
|
|
545
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
688
546
|
case "InvalidRequestException":
|
|
689
547
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
690
|
-
|
|
691
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
692
|
-
name: errorCode,
|
|
693
|
-
$metadata: deserializeMetadata(output),
|
|
694
|
-
};
|
|
695
|
-
break;
|
|
548
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
696
549
|
case "ResourceInUseException":
|
|
697
550
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
698
|
-
|
|
699
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
700
|
-
name: errorCode,
|
|
701
|
-
$metadata: deserializeMetadata(output),
|
|
702
|
-
};
|
|
703
|
-
break;
|
|
551
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
704
552
|
case "ResourceNotFoundException":
|
|
705
553
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
706
|
-
|
|
707
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
708
|
-
name: errorCode,
|
|
709
|
-
$metadata: deserializeMetadata(output),
|
|
710
|
-
};
|
|
711
|
-
break;
|
|
554
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
712
555
|
default:
|
|
713
556
|
const parsedBody = parsedOutput.body;
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
...parsedBody,
|
|
717
|
-
name: `${errorCode}`,
|
|
718
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
557
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
558
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
719
559
|
$fault: "client",
|
|
720
560
|
$metadata: deserializeMetadata(output),
|
|
721
|
-
};
|
|
561
|
+
});
|
|
562
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
722
563
|
}
|
|
723
|
-
const message = response.message || response.Message || errorCode;
|
|
724
|
-
response.message = message;
|
|
725
|
-
delete response.Message;
|
|
726
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
727
564
|
};
|
|
728
565
|
const deserializeAws_json1_1AddApplicationVpcConfigurationCommand = async (output, context) => {
|
|
729
566
|
if (output.statusCode >= 300) {
|
|
@@ -750,59 +587,28 @@ const deserializeAws_json1_1AddApplicationVpcConfigurationCommandError = async (
|
|
|
750
587
|
switch (errorCode) {
|
|
751
588
|
case "ConcurrentModificationException":
|
|
752
589
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
753
|
-
|
|
754
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
755
|
-
name: errorCode,
|
|
756
|
-
$metadata: deserializeMetadata(output),
|
|
757
|
-
};
|
|
758
|
-
break;
|
|
590
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
759
591
|
case "InvalidApplicationConfigurationException":
|
|
760
592
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
761
|
-
|
|
762
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
763
|
-
name: errorCode,
|
|
764
|
-
$metadata: deserializeMetadata(output),
|
|
765
|
-
};
|
|
766
|
-
break;
|
|
593
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
767
594
|
case "InvalidArgumentException":
|
|
768
595
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
769
|
-
|
|
770
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
771
|
-
name: errorCode,
|
|
772
|
-
$metadata: deserializeMetadata(output),
|
|
773
|
-
};
|
|
774
|
-
break;
|
|
596
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
775
597
|
case "ResourceInUseException":
|
|
776
598
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
777
|
-
|
|
778
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
779
|
-
name: errorCode,
|
|
780
|
-
$metadata: deserializeMetadata(output),
|
|
781
|
-
};
|
|
782
|
-
break;
|
|
599
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
783
600
|
case "ResourceNotFoundException":
|
|
784
601
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
785
|
-
|
|
786
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
787
|
-
name: errorCode,
|
|
788
|
-
$metadata: deserializeMetadata(output),
|
|
789
|
-
};
|
|
790
|
-
break;
|
|
602
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
791
603
|
default:
|
|
792
604
|
const parsedBody = parsedOutput.body;
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
...parsedBody,
|
|
796
|
-
name: `${errorCode}`,
|
|
797
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
605
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
606
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
798
607
|
$fault: "client",
|
|
799
608
|
$metadata: deserializeMetadata(output),
|
|
800
|
-
};
|
|
609
|
+
});
|
|
610
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
801
611
|
}
|
|
802
|
-
const message = response.message || response.Message || errorCode;
|
|
803
|
-
response.message = message;
|
|
804
|
-
delete response.Message;
|
|
805
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
806
612
|
};
|
|
807
613
|
const deserializeAws_json1_1CreateApplicationCommand = async (output, context) => {
|
|
808
614
|
if (output.statusCode >= 300) {
|
|
@@ -829,83 +635,37 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
829
635
|
switch (errorCode) {
|
|
830
636
|
case "CodeValidationException":
|
|
831
637
|
case "com.amazonaws.kinesisanalyticsv2#CodeValidationException":
|
|
832
|
-
|
|
833
|
-
...(await deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context)),
|
|
834
|
-
name: errorCode,
|
|
835
|
-
$metadata: deserializeMetadata(output),
|
|
836
|
-
};
|
|
837
|
-
break;
|
|
638
|
+
throw await deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context);
|
|
838
639
|
case "ConcurrentModificationException":
|
|
839
640
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
840
|
-
|
|
841
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
842
|
-
name: errorCode,
|
|
843
|
-
$metadata: deserializeMetadata(output),
|
|
844
|
-
};
|
|
845
|
-
break;
|
|
641
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
846
642
|
case "InvalidArgumentException":
|
|
847
643
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
848
|
-
|
|
849
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
850
|
-
name: errorCode,
|
|
851
|
-
$metadata: deserializeMetadata(output),
|
|
852
|
-
};
|
|
853
|
-
break;
|
|
644
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
854
645
|
case "InvalidRequestException":
|
|
855
646
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
856
|
-
|
|
857
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
858
|
-
name: errorCode,
|
|
859
|
-
$metadata: deserializeMetadata(output),
|
|
860
|
-
};
|
|
861
|
-
break;
|
|
647
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
862
648
|
case "LimitExceededException":
|
|
863
649
|
case "com.amazonaws.kinesisanalyticsv2#LimitExceededException":
|
|
864
|
-
|
|
865
|
-
...(await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)),
|
|
866
|
-
name: errorCode,
|
|
867
|
-
$metadata: deserializeMetadata(output),
|
|
868
|
-
};
|
|
869
|
-
break;
|
|
650
|
+
throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
|
|
870
651
|
case "ResourceInUseException":
|
|
871
652
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
872
|
-
|
|
873
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
874
|
-
name: errorCode,
|
|
875
|
-
$metadata: deserializeMetadata(output),
|
|
876
|
-
};
|
|
877
|
-
break;
|
|
653
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
878
654
|
case "TooManyTagsException":
|
|
879
655
|
case "com.amazonaws.kinesisanalyticsv2#TooManyTagsException":
|
|
880
|
-
|
|
881
|
-
...(await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)),
|
|
882
|
-
name: errorCode,
|
|
883
|
-
$metadata: deserializeMetadata(output),
|
|
884
|
-
};
|
|
885
|
-
break;
|
|
656
|
+
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
886
657
|
case "UnsupportedOperationException":
|
|
887
658
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
888
|
-
|
|
889
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
890
|
-
name: errorCode,
|
|
891
|
-
$metadata: deserializeMetadata(output),
|
|
892
|
-
};
|
|
893
|
-
break;
|
|
659
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
894
660
|
default:
|
|
895
661
|
const parsedBody = parsedOutput.body;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
...parsedBody,
|
|
899
|
-
name: `${errorCode}`,
|
|
900
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
662
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
663
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
901
664
|
$fault: "client",
|
|
902
665
|
$metadata: deserializeMetadata(output),
|
|
903
|
-
};
|
|
666
|
+
});
|
|
667
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
904
668
|
}
|
|
905
|
-
const message = response.message || response.Message || errorCode;
|
|
906
|
-
response.message = message;
|
|
907
|
-
delete response.Message;
|
|
908
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
909
669
|
};
|
|
910
670
|
const deserializeAws_json1_1CreateApplicationPresignedUrlCommand = async (output, context) => {
|
|
911
671
|
if (output.statusCode >= 300) {
|
|
@@ -932,43 +692,22 @@ const deserializeAws_json1_1CreateApplicationPresignedUrlCommandError = async (o
|
|
|
932
692
|
switch (errorCode) {
|
|
933
693
|
case "InvalidArgumentException":
|
|
934
694
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
935
|
-
|
|
936
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
937
|
-
name: errorCode,
|
|
938
|
-
$metadata: deserializeMetadata(output),
|
|
939
|
-
};
|
|
940
|
-
break;
|
|
695
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
941
696
|
case "ResourceInUseException":
|
|
942
697
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
943
|
-
|
|
944
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
945
|
-
name: errorCode,
|
|
946
|
-
$metadata: deserializeMetadata(output),
|
|
947
|
-
};
|
|
948
|
-
break;
|
|
698
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
949
699
|
case "ResourceNotFoundException":
|
|
950
700
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
951
|
-
|
|
952
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
953
|
-
name: errorCode,
|
|
954
|
-
$metadata: deserializeMetadata(output),
|
|
955
|
-
};
|
|
956
|
-
break;
|
|
701
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
957
702
|
default:
|
|
958
703
|
const parsedBody = parsedOutput.body;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
...parsedBody,
|
|
962
|
-
name: `${errorCode}`,
|
|
963
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
704
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
705
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
964
706
|
$fault: "client",
|
|
965
707
|
$metadata: deserializeMetadata(output),
|
|
966
|
-
};
|
|
708
|
+
});
|
|
709
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
967
710
|
}
|
|
968
|
-
const message = response.message || response.Message || errorCode;
|
|
969
|
-
response.message = message;
|
|
970
|
-
delete response.Message;
|
|
971
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
972
711
|
};
|
|
973
712
|
const deserializeAws_json1_1CreateApplicationSnapshotCommand = async (output, context) => {
|
|
974
713
|
if (output.statusCode >= 300) {
|
|
@@ -995,75 +734,34 @@ const deserializeAws_json1_1CreateApplicationSnapshotCommandError = async (outpu
|
|
|
995
734
|
switch (errorCode) {
|
|
996
735
|
case "InvalidApplicationConfigurationException":
|
|
997
736
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
998
|
-
|
|
999
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
1000
|
-
name: errorCode,
|
|
1001
|
-
$metadata: deserializeMetadata(output),
|
|
1002
|
-
};
|
|
1003
|
-
break;
|
|
737
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
1004
738
|
case "InvalidArgumentException":
|
|
1005
739
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1006
|
-
|
|
1007
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1008
|
-
name: errorCode,
|
|
1009
|
-
$metadata: deserializeMetadata(output),
|
|
1010
|
-
};
|
|
1011
|
-
break;
|
|
740
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1012
741
|
case "InvalidRequestException":
|
|
1013
742
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1014
|
-
|
|
1015
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1016
|
-
name: errorCode,
|
|
1017
|
-
$metadata: deserializeMetadata(output),
|
|
1018
|
-
};
|
|
1019
|
-
break;
|
|
743
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1020
744
|
case "LimitExceededException":
|
|
1021
745
|
case "com.amazonaws.kinesisanalyticsv2#LimitExceededException":
|
|
1022
|
-
|
|
1023
|
-
...(await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)),
|
|
1024
|
-
name: errorCode,
|
|
1025
|
-
$metadata: deserializeMetadata(output),
|
|
1026
|
-
};
|
|
1027
|
-
break;
|
|
746
|
+
throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
|
|
1028
747
|
case "ResourceInUseException":
|
|
1029
748
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
1030
|
-
|
|
1031
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
1032
|
-
name: errorCode,
|
|
1033
|
-
$metadata: deserializeMetadata(output),
|
|
1034
|
-
};
|
|
1035
|
-
break;
|
|
749
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1036
750
|
case "ResourceNotFoundException":
|
|
1037
751
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1038
|
-
|
|
1039
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1040
|
-
name: errorCode,
|
|
1041
|
-
$metadata: deserializeMetadata(output),
|
|
1042
|
-
};
|
|
1043
|
-
break;
|
|
752
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1044
753
|
case "UnsupportedOperationException":
|
|
1045
754
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
1046
|
-
|
|
1047
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
1048
|
-
name: errorCode,
|
|
1049
|
-
$metadata: deserializeMetadata(output),
|
|
1050
|
-
};
|
|
1051
|
-
break;
|
|
755
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1052
756
|
default:
|
|
1053
757
|
const parsedBody = parsedOutput.body;
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
...parsedBody,
|
|
1057
|
-
name: `${errorCode}`,
|
|
1058
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
758
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
759
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1059
760
|
$fault: "client",
|
|
1060
761
|
$metadata: deserializeMetadata(output),
|
|
1061
|
-
};
|
|
762
|
+
});
|
|
763
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1062
764
|
}
|
|
1063
|
-
const message = response.message || response.Message || errorCode;
|
|
1064
|
-
response.message = message;
|
|
1065
|
-
delete response.Message;
|
|
1066
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1067
765
|
};
|
|
1068
766
|
const deserializeAws_json1_1DeleteApplicationCommand = async (output, context) => {
|
|
1069
767
|
if (output.statusCode >= 300) {
|
|
@@ -1090,67 +788,31 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
1090
788
|
switch (errorCode) {
|
|
1091
789
|
case "ConcurrentModificationException":
|
|
1092
790
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
1093
|
-
|
|
1094
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
1095
|
-
name: errorCode,
|
|
1096
|
-
$metadata: deserializeMetadata(output),
|
|
1097
|
-
};
|
|
1098
|
-
break;
|
|
791
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1099
792
|
case "InvalidApplicationConfigurationException":
|
|
1100
793
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
1101
|
-
|
|
1102
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
1103
|
-
name: errorCode,
|
|
1104
|
-
$metadata: deserializeMetadata(output),
|
|
1105
|
-
};
|
|
1106
|
-
break;
|
|
794
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
1107
795
|
case "InvalidArgumentException":
|
|
1108
796
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1109
|
-
|
|
1110
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1111
|
-
name: errorCode,
|
|
1112
|
-
$metadata: deserializeMetadata(output),
|
|
1113
|
-
};
|
|
1114
|
-
break;
|
|
797
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1115
798
|
case "InvalidRequestException":
|
|
1116
799
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1117
|
-
|
|
1118
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1119
|
-
name: errorCode,
|
|
1120
|
-
$metadata: deserializeMetadata(output),
|
|
1121
|
-
};
|
|
1122
|
-
break;
|
|
800
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1123
801
|
case "ResourceInUseException":
|
|
1124
802
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
1125
|
-
|
|
1126
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
1127
|
-
name: errorCode,
|
|
1128
|
-
$metadata: deserializeMetadata(output),
|
|
1129
|
-
};
|
|
1130
|
-
break;
|
|
803
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1131
804
|
case "ResourceNotFoundException":
|
|
1132
805
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1133
|
-
|
|
1134
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1135
|
-
name: errorCode,
|
|
1136
|
-
$metadata: deserializeMetadata(output),
|
|
1137
|
-
};
|
|
1138
|
-
break;
|
|
806
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1139
807
|
default:
|
|
1140
808
|
const parsedBody = parsedOutput.body;
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
...parsedBody,
|
|
1144
|
-
name: `${errorCode}`,
|
|
1145
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
809
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
810
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1146
811
|
$fault: "client",
|
|
1147
812
|
$metadata: deserializeMetadata(output),
|
|
1148
|
-
};
|
|
813
|
+
});
|
|
814
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1149
815
|
}
|
|
1150
|
-
const message = response.message || response.Message || errorCode;
|
|
1151
|
-
response.message = message;
|
|
1152
|
-
delete response.Message;
|
|
1153
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1154
816
|
};
|
|
1155
817
|
const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand = async (output, context) => {
|
|
1156
818
|
if (output.statusCode >= 300) {
|
|
@@ -1177,67 +839,31 @@ const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError
|
|
|
1177
839
|
switch (errorCode) {
|
|
1178
840
|
case "ConcurrentModificationException":
|
|
1179
841
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
1180
|
-
|
|
1181
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
1182
|
-
name: errorCode,
|
|
1183
|
-
$metadata: deserializeMetadata(output),
|
|
1184
|
-
};
|
|
1185
|
-
break;
|
|
842
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1186
843
|
case "InvalidApplicationConfigurationException":
|
|
1187
844
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
1188
|
-
|
|
1189
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
1190
|
-
name: errorCode,
|
|
1191
|
-
$metadata: deserializeMetadata(output),
|
|
1192
|
-
};
|
|
1193
|
-
break;
|
|
845
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
1194
846
|
case "InvalidArgumentException":
|
|
1195
847
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1196
|
-
|
|
1197
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1198
|
-
name: errorCode,
|
|
1199
|
-
$metadata: deserializeMetadata(output),
|
|
1200
|
-
};
|
|
1201
|
-
break;
|
|
848
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1202
849
|
case "InvalidRequestException":
|
|
1203
850
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1204
|
-
|
|
1205
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1206
|
-
name: errorCode,
|
|
1207
|
-
$metadata: deserializeMetadata(output),
|
|
1208
|
-
};
|
|
1209
|
-
break;
|
|
851
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1210
852
|
case "ResourceInUseException":
|
|
1211
853
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
1212
|
-
|
|
1213
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
1214
|
-
name: errorCode,
|
|
1215
|
-
$metadata: deserializeMetadata(output),
|
|
1216
|
-
};
|
|
1217
|
-
break;
|
|
854
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1218
855
|
case "ResourceNotFoundException":
|
|
1219
856
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1220
|
-
|
|
1221
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1222
|
-
name: errorCode,
|
|
1223
|
-
$metadata: deserializeMetadata(output),
|
|
1224
|
-
};
|
|
1225
|
-
break;
|
|
857
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1226
858
|
default:
|
|
1227
859
|
const parsedBody = parsedOutput.body;
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
...parsedBody,
|
|
1231
|
-
name: `${errorCode}`,
|
|
1232
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
860
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
861
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1233
862
|
$fault: "client",
|
|
1234
863
|
$metadata: deserializeMetadata(output),
|
|
1235
|
-
};
|
|
864
|
+
});
|
|
865
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1236
866
|
}
|
|
1237
|
-
const message = response.message || response.Message || errorCode;
|
|
1238
|
-
response.message = message;
|
|
1239
|
-
delete response.Message;
|
|
1240
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1241
867
|
};
|
|
1242
868
|
const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand = async (output, context) => {
|
|
1243
869
|
if (output.statusCode >= 300) {
|
|
@@ -1264,59 +890,28 @@ const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand
|
|
|
1264
890
|
switch (errorCode) {
|
|
1265
891
|
case "ConcurrentModificationException":
|
|
1266
892
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
1267
|
-
|
|
1268
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
1269
|
-
name: errorCode,
|
|
1270
|
-
$metadata: deserializeMetadata(output),
|
|
1271
|
-
};
|
|
1272
|
-
break;
|
|
893
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1273
894
|
case "InvalidArgumentException":
|
|
1274
895
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1275
|
-
|
|
1276
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1277
|
-
name: errorCode,
|
|
1278
|
-
$metadata: deserializeMetadata(output),
|
|
1279
|
-
};
|
|
1280
|
-
break;
|
|
896
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1281
897
|
case "InvalidRequestException":
|
|
1282
898
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1283
|
-
|
|
1284
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1285
|
-
name: errorCode,
|
|
1286
|
-
$metadata: deserializeMetadata(output),
|
|
1287
|
-
};
|
|
1288
|
-
break;
|
|
899
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1289
900
|
case "ResourceInUseException":
|
|
1290
901
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
1291
|
-
|
|
1292
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
1293
|
-
name: errorCode,
|
|
1294
|
-
$metadata: deserializeMetadata(output),
|
|
1295
|
-
};
|
|
1296
|
-
break;
|
|
902
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1297
903
|
case "ResourceNotFoundException":
|
|
1298
904
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1299
|
-
|
|
1300
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1301
|
-
name: errorCode,
|
|
1302
|
-
$metadata: deserializeMetadata(output),
|
|
1303
|
-
};
|
|
1304
|
-
break;
|
|
905
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1305
906
|
default:
|
|
1306
907
|
const parsedBody = parsedOutput.body;
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
...parsedBody,
|
|
1310
|
-
name: `${errorCode}`,
|
|
1311
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
908
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
909
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1312
910
|
$fault: "client",
|
|
1313
911
|
$metadata: deserializeMetadata(output),
|
|
1314
|
-
};
|
|
912
|
+
});
|
|
913
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1315
914
|
}
|
|
1316
|
-
const message = response.message || response.Message || errorCode;
|
|
1317
|
-
response.message = message;
|
|
1318
|
-
delete response.Message;
|
|
1319
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1320
915
|
};
|
|
1321
916
|
const deserializeAws_json1_1DeleteApplicationOutputCommand = async (output, context) => {
|
|
1322
917
|
if (output.statusCode >= 300) {
|
|
@@ -1343,59 +938,28 @@ const deserializeAws_json1_1DeleteApplicationOutputCommandError = async (output,
|
|
|
1343
938
|
switch (errorCode) {
|
|
1344
939
|
case "ConcurrentModificationException":
|
|
1345
940
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
1346
|
-
|
|
1347
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
1348
|
-
name: errorCode,
|
|
1349
|
-
$metadata: deserializeMetadata(output),
|
|
1350
|
-
};
|
|
1351
|
-
break;
|
|
941
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1352
942
|
case "InvalidArgumentException":
|
|
1353
943
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1354
|
-
|
|
1355
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1356
|
-
name: errorCode,
|
|
1357
|
-
$metadata: deserializeMetadata(output),
|
|
1358
|
-
};
|
|
1359
|
-
break;
|
|
944
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1360
945
|
case "InvalidRequestException":
|
|
1361
946
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1362
|
-
|
|
1363
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1364
|
-
name: errorCode,
|
|
1365
|
-
$metadata: deserializeMetadata(output),
|
|
1366
|
-
};
|
|
1367
|
-
break;
|
|
947
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1368
948
|
case "ResourceInUseException":
|
|
1369
949
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
1370
|
-
|
|
1371
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
1372
|
-
name: errorCode,
|
|
1373
|
-
$metadata: deserializeMetadata(output),
|
|
1374
|
-
};
|
|
1375
|
-
break;
|
|
950
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1376
951
|
case "ResourceNotFoundException":
|
|
1377
952
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1378
|
-
|
|
1379
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1380
|
-
name: errorCode,
|
|
1381
|
-
$metadata: deserializeMetadata(output),
|
|
1382
|
-
};
|
|
1383
|
-
break;
|
|
953
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1384
954
|
default:
|
|
1385
955
|
const parsedBody = parsedOutput.body;
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
...parsedBody,
|
|
1389
|
-
name: `${errorCode}`,
|
|
1390
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
956
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
957
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1391
958
|
$fault: "client",
|
|
1392
959
|
$metadata: deserializeMetadata(output),
|
|
1393
|
-
};
|
|
960
|
+
});
|
|
961
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1394
962
|
}
|
|
1395
|
-
const message = response.message || response.Message || errorCode;
|
|
1396
|
-
response.message = message;
|
|
1397
|
-
delete response.Message;
|
|
1398
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1399
963
|
};
|
|
1400
964
|
const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand = async (output, context) => {
|
|
1401
965
|
if (output.statusCode >= 300) {
|
|
@@ -1422,59 +986,28 @@ const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = a
|
|
|
1422
986
|
switch (errorCode) {
|
|
1423
987
|
case "ConcurrentModificationException":
|
|
1424
988
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
1425
|
-
|
|
1426
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
1427
|
-
name: errorCode,
|
|
1428
|
-
$metadata: deserializeMetadata(output),
|
|
1429
|
-
};
|
|
1430
|
-
break;
|
|
989
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1431
990
|
case "InvalidArgumentException":
|
|
1432
991
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1433
|
-
|
|
1434
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1435
|
-
name: errorCode,
|
|
1436
|
-
$metadata: deserializeMetadata(output),
|
|
1437
|
-
};
|
|
1438
|
-
break;
|
|
992
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1439
993
|
case "InvalidRequestException":
|
|
1440
994
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1441
|
-
|
|
1442
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1443
|
-
name: errorCode,
|
|
1444
|
-
$metadata: deserializeMetadata(output),
|
|
1445
|
-
};
|
|
1446
|
-
break;
|
|
995
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1447
996
|
case "ResourceInUseException":
|
|
1448
997
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
1449
|
-
|
|
1450
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
1451
|
-
name: errorCode,
|
|
1452
|
-
$metadata: deserializeMetadata(output),
|
|
1453
|
-
};
|
|
1454
|
-
break;
|
|
998
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1455
999
|
case "ResourceNotFoundException":
|
|
1456
1000
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1457
|
-
|
|
1458
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1459
|
-
name: errorCode,
|
|
1460
|
-
$metadata: deserializeMetadata(output),
|
|
1461
|
-
};
|
|
1462
|
-
break;
|
|
1001
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1463
1002
|
default:
|
|
1464
1003
|
const parsedBody = parsedOutput.body;
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
...parsedBody,
|
|
1468
|
-
name: `${errorCode}`,
|
|
1469
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1004
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1005
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1470
1006
|
$fault: "client",
|
|
1471
1007
|
$metadata: deserializeMetadata(output),
|
|
1472
|
-
};
|
|
1008
|
+
});
|
|
1009
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1473
1010
|
}
|
|
1474
|
-
const message = response.message || response.Message || errorCode;
|
|
1475
|
-
response.message = message;
|
|
1476
|
-
delete response.Message;
|
|
1477
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1478
1011
|
};
|
|
1479
1012
|
const deserializeAws_json1_1DeleteApplicationSnapshotCommand = async (output, context) => {
|
|
1480
1013
|
if (output.statusCode >= 300) {
|
|
@@ -1501,59 +1034,28 @@ const deserializeAws_json1_1DeleteApplicationSnapshotCommandError = async (outpu
|
|
|
1501
1034
|
switch (errorCode) {
|
|
1502
1035
|
case "InvalidArgumentException":
|
|
1503
1036
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1504
|
-
|
|
1505
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1506
|
-
name: errorCode,
|
|
1507
|
-
$metadata: deserializeMetadata(output),
|
|
1508
|
-
};
|
|
1509
|
-
break;
|
|
1037
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1510
1038
|
case "InvalidRequestException":
|
|
1511
1039
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1512
|
-
|
|
1513
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1514
|
-
name: errorCode,
|
|
1515
|
-
$metadata: deserializeMetadata(output),
|
|
1516
|
-
};
|
|
1517
|
-
break;
|
|
1040
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1518
1041
|
case "ResourceInUseException":
|
|
1519
1042
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
1520
|
-
|
|
1521
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
1522
|
-
name: errorCode,
|
|
1523
|
-
$metadata: deserializeMetadata(output),
|
|
1524
|
-
};
|
|
1525
|
-
break;
|
|
1043
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1526
1044
|
case "ResourceNotFoundException":
|
|
1527
1045
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1528
|
-
|
|
1529
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1530
|
-
name: errorCode,
|
|
1531
|
-
$metadata: deserializeMetadata(output),
|
|
1532
|
-
};
|
|
1533
|
-
break;
|
|
1046
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1534
1047
|
case "UnsupportedOperationException":
|
|
1535
1048
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
1536
|
-
|
|
1537
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
1538
|
-
name: errorCode,
|
|
1539
|
-
$metadata: deserializeMetadata(output),
|
|
1540
|
-
};
|
|
1541
|
-
break;
|
|
1049
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1542
1050
|
default:
|
|
1543
1051
|
const parsedBody = parsedOutput.body;
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
...parsedBody,
|
|
1547
|
-
name: `${errorCode}`,
|
|
1548
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1052
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1053
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1549
1054
|
$fault: "client",
|
|
1550
1055
|
$metadata: deserializeMetadata(output),
|
|
1551
|
-
};
|
|
1056
|
+
});
|
|
1057
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1552
1058
|
}
|
|
1553
|
-
const message = response.message || response.Message || errorCode;
|
|
1554
|
-
response.message = message;
|
|
1555
|
-
delete response.Message;
|
|
1556
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1557
1059
|
};
|
|
1558
1060
|
const deserializeAws_json1_1DeleteApplicationVpcConfigurationCommand = async (output, context) => {
|
|
1559
1061
|
if (output.statusCode >= 300) {
|
|
@@ -1580,59 +1082,28 @@ const deserializeAws_json1_1DeleteApplicationVpcConfigurationCommandError = asyn
|
|
|
1580
1082
|
switch (errorCode) {
|
|
1581
1083
|
case "ConcurrentModificationException":
|
|
1582
1084
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
1583
|
-
|
|
1584
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
1585
|
-
name: errorCode,
|
|
1586
|
-
$metadata: deserializeMetadata(output),
|
|
1587
|
-
};
|
|
1588
|
-
break;
|
|
1085
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1589
1086
|
case "InvalidApplicationConfigurationException":
|
|
1590
1087
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
1591
|
-
|
|
1592
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
1593
|
-
name: errorCode,
|
|
1594
|
-
$metadata: deserializeMetadata(output),
|
|
1595
|
-
};
|
|
1596
|
-
break;
|
|
1088
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
1597
1089
|
case "InvalidArgumentException":
|
|
1598
1090
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1599
|
-
|
|
1600
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1601
|
-
name: errorCode,
|
|
1602
|
-
$metadata: deserializeMetadata(output),
|
|
1603
|
-
};
|
|
1604
|
-
break;
|
|
1091
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1605
1092
|
case "ResourceInUseException":
|
|
1606
1093
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
1607
|
-
|
|
1608
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
1609
|
-
name: errorCode,
|
|
1610
|
-
$metadata: deserializeMetadata(output),
|
|
1611
|
-
};
|
|
1612
|
-
break;
|
|
1094
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1613
1095
|
case "ResourceNotFoundException":
|
|
1614
1096
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1615
|
-
|
|
1616
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1617
|
-
name: errorCode,
|
|
1618
|
-
$metadata: deserializeMetadata(output),
|
|
1619
|
-
};
|
|
1620
|
-
break;
|
|
1097
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1621
1098
|
default:
|
|
1622
1099
|
const parsedBody = parsedOutput.body;
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
...parsedBody,
|
|
1626
|
-
name: `${errorCode}`,
|
|
1627
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1100
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1101
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1628
1102
|
$fault: "client",
|
|
1629
1103
|
$metadata: deserializeMetadata(output),
|
|
1630
|
-
};
|
|
1104
|
+
});
|
|
1105
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1631
1106
|
}
|
|
1632
|
-
const message = response.message || response.Message || errorCode;
|
|
1633
|
-
response.message = message;
|
|
1634
|
-
delete response.Message;
|
|
1635
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1636
1107
|
};
|
|
1637
1108
|
const deserializeAws_json1_1DescribeApplicationCommand = async (output, context) => {
|
|
1638
1109
|
if (output.statusCode >= 300) {
|
|
@@ -1659,43 +1130,22 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
1659
1130
|
switch (errorCode) {
|
|
1660
1131
|
case "InvalidArgumentException":
|
|
1661
1132
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1662
|
-
|
|
1663
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1664
|
-
name: errorCode,
|
|
1665
|
-
$metadata: deserializeMetadata(output),
|
|
1666
|
-
};
|
|
1667
|
-
break;
|
|
1133
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1668
1134
|
case "InvalidRequestException":
|
|
1669
1135
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1670
|
-
|
|
1671
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1672
|
-
name: errorCode,
|
|
1673
|
-
$metadata: deserializeMetadata(output),
|
|
1674
|
-
};
|
|
1675
|
-
break;
|
|
1136
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1676
1137
|
case "ResourceNotFoundException":
|
|
1677
1138
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1678
|
-
|
|
1679
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1680
|
-
name: errorCode,
|
|
1681
|
-
$metadata: deserializeMetadata(output),
|
|
1682
|
-
};
|
|
1683
|
-
break;
|
|
1139
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1684
1140
|
default:
|
|
1685
1141
|
const parsedBody = parsedOutput.body;
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
...parsedBody,
|
|
1689
|
-
name: `${errorCode}`,
|
|
1690
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1142
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1143
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1691
1144
|
$fault: "client",
|
|
1692
1145
|
$metadata: deserializeMetadata(output),
|
|
1693
|
-
};
|
|
1146
|
+
});
|
|
1147
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1694
1148
|
}
|
|
1695
|
-
const message = response.message || response.Message || errorCode;
|
|
1696
|
-
response.message = message;
|
|
1697
|
-
delete response.Message;
|
|
1698
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1699
1149
|
};
|
|
1700
1150
|
const deserializeAws_json1_1DescribeApplicationSnapshotCommand = async (output, context) => {
|
|
1701
1151
|
if (output.statusCode >= 300) {
|
|
@@ -1722,43 +1172,22 @@ const deserializeAws_json1_1DescribeApplicationSnapshotCommandError = async (out
|
|
|
1722
1172
|
switch (errorCode) {
|
|
1723
1173
|
case "InvalidArgumentException":
|
|
1724
1174
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1725
|
-
|
|
1726
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1727
|
-
name: errorCode,
|
|
1728
|
-
$metadata: deserializeMetadata(output),
|
|
1729
|
-
};
|
|
1730
|
-
break;
|
|
1175
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1731
1176
|
case "ResourceNotFoundException":
|
|
1732
1177
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1733
|
-
|
|
1734
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1735
|
-
name: errorCode,
|
|
1736
|
-
$metadata: deserializeMetadata(output),
|
|
1737
|
-
};
|
|
1738
|
-
break;
|
|
1178
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1739
1179
|
case "UnsupportedOperationException":
|
|
1740
1180
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
1741
|
-
|
|
1742
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
1743
|
-
name: errorCode,
|
|
1744
|
-
$metadata: deserializeMetadata(output),
|
|
1745
|
-
};
|
|
1746
|
-
break;
|
|
1181
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1747
1182
|
default:
|
|
1748
1183
|
const parsedBody = parsedOutput.body;
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
...parsedBody,
|
|
1752
|
-
name: `${errorCode}`,
|
|
1753
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1184
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1185
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1754
1186
|
$fault: "client",
|
|
1755
1187
|
$metadata: deserializeMetadata(output),
|
|
1756
|
-
};
|
|
1188
|
+
});
|
|
1189
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1757
1190
|
}
|
|
1758
|
-
const message = response.message || response.Message || errorCode;
|
|
1759
|
-
response.message = message;
|
|
1760
|
-
delete response.Message;
|
|
1761
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1762
1191
|
};
|
|
1763
1192
|
const deserializeAws_json1_1DescribeApplicationVersionCommand = async (output, context) => {
|
|
1764
1193
|
if (output.statusCode >= 300) {
|
|
@@ -1785,43 +1214,22 @@ const deserializeAws_json1_1DescribeApplicationVersionCommandError = async (outp
|
|
|
1785
1214
|
switch (errorCode) {
|
|
1786
1215
|
case "InvalidArgumentException":
|
|
1787
1216
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1788
|
-
|
|
1789
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1790
|
-
name: errorCode,
|
|
1791
|
-
$metadata: deserializeMetadata(output),
|
|
1792
|
-
};
|
|
1793
|
-
break;
|
|
1217
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1794
1218
|
case "ResourceNotFoundException":
|
|
1795
1219
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
1796
|
-
|
|
1797
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
1798
|
-
name: errorCode,
|
|
1799
|
-
$metadata: deserializeMetadata(output),
|
|
1800
|
-
};
|
|
1801
|
-
break;
|
|
1220
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1802
1221
|
case "UnsupportedOperationException":
|
|
1803
1222
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
1804
|
-
|
|
1805
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
1806
|
-
name: errorCode,
|
|
1807
|
-
$metadata: deserializeMetadata(output),
|
|
1808
|
-
};
|
|
1809
|
-
break;
|
|
1223
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1810
1224
|
default:
|
|
1811
1225
|
const parsedBody = parsedOutput.body;
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
...parsedBody,
|
|
1815
|
-
name: `${errorCode}`,
|
|
1816
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1226
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1227
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1817
1228
|
$fault: "client",
|
|
1818
1229
|
$metadata: deserializeMetadata(output),
|
|
1819
|
-
};
|
|
1230
|
+
});
|
|
1231
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1820
1232
|
}
|
|
1821
|
-
const message = response.message || response.Message || errorCode;
|
|
1822
|
-
response.message = message;
|
|
1823
|
-
delete response.Message;
|
|
1824
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1825
1233
|
};
|
|
1826
1234
|
const deserializeAws_json1_1DiscoverInputSchemaCommand = async (output, context) => {
|
|
1827
1235
|
if (output.statusCode >= 300) {
|
|
@@ -1848,67 +1256,31 @@ const deserializeAws_json1_1DiscoverInputSchemaCommandError = async (output, con
|
|
|
1848
1256
|
switch (errorCode) {
|
|
1849
1257
|
case "InvalidArgumentException":
|
|
1850
1258
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1851
|
-
|
|
1852
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1853
|
-
name: errorCode,
|
|
1854
|
-
$metadata: deserializeMetadata(output),
|
|
1855
|
-
};
|
|
1856
|
-
break;
|
|
1259
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1857
1260
|
case "InvalidRequestException":
|
|
1858
1261
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1859
|
-
|
|
1860
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1861
|
-
name: errorCode,
|
|
1862
|
-
$metadata: deserializeMetadata(output),
|
|
1863
|
-
};
|
|
1864
|
-
break;
|
|
1262
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1865
1263
|
case "ResourceProvisionedThroughputExceededException":
|
|
1866
1264
|
case "com.amazonaws.kinesisanalyticsv2#ResourceProvisionedThroughputExceededException":
|
|
1867
|
-
|
|
1868
|
-
...(await deserializeAws_json1_1ResourceProvisionedThroughputExceededExceptionResponse(parsedOutput, context)),
|
|
1869
|
-
name: errorCode,
|
|
1870
|
-
$metadata: deserializeMetadata(output),
|
|
1871
|
-
};
|
|
1872
|
-
break;
|
|
1265
|
+
throw await deserializeAws_json1_1ResourceProvisionedThroughputExceededExceptionResponse(parsedOutput, context);
|
|
1873
1266
|
case "ServiceUnavailableException":
|
|
1874
1267
|
case "com.amazonaws.kinesisanalyticsv2#ServiceUnavailableException":
|
|
1875
|
-
|
|
1876
|
-
...(await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context)),
|
|
1877
|
-
name: errorCode,
|
|
1878
|
-
$metadata: deserializeMetadata(output),
|
|
1879
|
-
};
|
|
1880
|
-
break;
|
|
1268
|
+
throw await deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
1881
1269
|
case "UnableToDetectSchemaException":
|
|
1882
1270
|
case "com.amazonaws.kinesisanalyticsv2#UnableToDetectSchemaException":
|
|
1883
|
-
|
|
1884
|
-
...(await deserializeAws_json1_1UnableToDetectSchemaExceptionResponse(parsedOutput, context)),
|
|
1885
|
-
name: errorCode,
|
|
1886
|
-
$metadata: deserializeMetadata(output),
|
|
1887
|
-
};
|
|
1888
|
-
break;
|
|
1271
|
+
throw await deserializeAws_json1_1UnableToDetectSchemaExceptionResponse(parsedOutput, context);
|
|
1889
1272
|
case "UnsupportedOperationException":
|
|
1890
1273
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
1891
|
-
|
|
1892
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
1893
|
-
name: errorCode,
|
|
1894
|
-
$metadata: deserializeMetadata(output),
|
|
1895
|
-
};
|
|
1896
|
-
break;
|
|
1274
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1897
1275
|
default:
|
|
1898
1276
|
const parsedBody = parsedOutput.body;
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
...parsedBody,
|
|
1902
|
-
name: `${errorCode}`,
|
|
1903
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1277
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1278
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1904
1279
|
$fault: "client",
|
|
1905
1280
|
$metadata: deserializeMetadata(output),
|
|
1906
|
-
};
|
|
1281
|
+
});
|
|
1282
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1907
1283
|
}
|
|
1908
|
-
const message = response.message || response.Message || errorCode;
|
|
1909
|
-
response.message = message;
|
|
1910
|
-
delete response.Message;
|
|
1911
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1912
1284
|
};
|
|
1913
1285
|
const deserializeAws_json1_1ListApplicationsCommand = async (output, context) => {
|
|
1914
1286
|
if (output.statusCode >= 300) {
|
|
@@ -1935,27 +1307,16 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
1935
1307
|
switch (errorCode) {
|
|
1936
1308
|
case "InvalidRequestException":
|
|
1937
1309
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
1938
|
-
|
|
1939
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
1940
|
-
name: errorCode,
|
|
1941
|
-
$metadata: deserializeMetadata(output),
|
|
1942
|
-
};
|
|
1943
|
-
break;
|
|
1310
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1944
1311
|
default:
|
|
1945
1312
|
const parsedBody = parsedOutput.body;
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
...parsedBody,
|
|
1949
|
-
name: `${errorCode}`,
|
|
1950
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1313
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1314
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1951
1315
|
$fault: "client",
|
|
1952
1316
|
$metadata: deserializeMetadata(output),
|
|
1953
|
-
};
|
|
1317
|
+
});
|
|
1318
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1954
1319
|
}
|
|
1955
|
-
const message = response.message || response.Message || errorCode;
|
|
1956
|
-
response.message = message;
|
|
1957
|
-
delete response.Message;
|
|
1958
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
1959
1320
|
};
|
|
1960
1321
|
const deserializeAws_json1_1ListApplicationSnapshotsCommand = async (output, context) => {
|
|
1961
1322
|
if (output.statusCode >= 300) {
|
|
@@ -1982,35 +1343,19 @@ const deserializeAws_json1_1ListApplicationSnapshotsCommandError = async (output
|
|
|
1982
1343
|
switch (errorCode) {
|
|
1983
1344
|
case "InvalidArgumentException":
|
|
1984
1345
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
1985
|
-
|
|
1986
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
1987
|
-
name: errorCode,
|
|
1988
|
-
$metadata: deserializeMetadata(output),
|
|
1989
|
-
};
|
|
1990
|
-
break;
|
|
1346
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1991
1347
|
case "UnsupportedOperationException":
|
|
1992
1348
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
1993
|
-
|
|
1994
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
1995
|
-
name: errorCode,
|
|
1996
|
-
$metadata: deserializeMetadata(output),
|
|
1997
|
-
};
|
|
1998
|
-
break;
|
|
1349
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1999
1350
|
default:
|
|
2000
1351
|
const parsedBody = parsedOutput.body;
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
...parsedBody,
|
|
2004
|
-
name: `${errorCode}`,
|
|
2005
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1352
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1353
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2006
1354
|
$fault: "client",
|
|
2007
1355
|
$metadata: deserializeMetadata(output),
|
|
2008
|
-
};
|
|
1356
|
+
});
|
|
1357
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2009
1358
|
}
|
|
2010
|
-
const message = response.message || response.Message || errorCode;
|
|
2011
|
-
response.message = message;
|
|
2012
|
-
delete response.Message;
|
|
2013
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2014
1359
|
};
|
|
2015
1360
|
const deserializeAws_json1_1ListApplicationVersionsCommand = async (output, context) => {
|
|
2016
1361
|
if (output.statusCode >= 300) {
|
|
@@ -2037,43 +1382,22 @@ const deserializeAws_json1_1ListApplicationVersionsCommandError = async (output,
|
|
|
2037
1382
|
switch (errorCode) {
|
|
2038
1383
|
case "InvalidArgumentException":
|
|
2039
1384
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2040
|
-
|
|
2041
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2042
|
-
name: errorCode,
|
|
2043
|
-
$metadata: deserializeMetadata(output),
|
|
2044
|
-
};
|
|
2045
|
-
break;
|
|
1385
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2046
1386
|
case "ResourceNotFoundException":
|
|
2047
1387
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2048
|
-
|
|
2049
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2050
|
-
name: errorCode,
|
|
2051
|
-
$metadata: deserializeMetadata(output),
|
|
2052
|
-
};
|
|
2053
|
-
break;
|
|
1388
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2054
1389
|
case "UnsupportedOperationException":
|
|
2055
1390
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
2056
|
-
|
|
2057
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
2058
|
-
name: errorCode,
|
|
2059
|
-
$metadata: deserializeMetadata(output),
|
|
2060
|
-
};
|
|
2061
|
-
break;
|
|
1391
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2062
1392
|
default:
|
|
2063
1393
|
const parsedBody = parsedOutput.body;
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
...parsedBody,
|
|
2067
|
-
name: `${errorCode}`,
|
|
2068
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1394
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1395
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2069
1396
|
$fault: "client",
|
|
2070
1397
|
$metadata: deserializeMetadata(output),
|
|
2071
|
-
};
|
|
1398
|
+
});
|
|
1399
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2072
1400
|
}
|
|
2073
|
-
const message = response.message || response.Message || errorCode;
|
|
2074
|
-
response.message = message;
|
|
2075
|
-
delete response.Message;
|
|
2076
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2077
1401
|
};
|
|
2078
1402
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
2079
1403
|
if (output.statusCode >= 300) {
|
|
@@ -2100,43 +1424,22 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2100
1424
|
switch (errorCode) {
|
|
2101
1425
|
case "ConcurrentModificationException":
|
|
2102
1426
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
2103
|
-
|
|
2104
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
2105
|
-
name: errorCode,
|
|
2106
|
-
$metadata: deserializeMetadata(output),
|
|
2107
|
-
};
|
|
2108
|
-
break;
|
|
1427
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
2109
1428
|
case "InvalidArgumentException":
|
|
2110
1429
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2111
|
-
|
|
2112
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2113
|
-
name: errorCode,
|
|
2114
|
-
$metadata: deserializeMetadata(output),
|
|
2115
|
-
};
|
|
2116
|
-
break;
|
|
1430
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2117
1431
|
case "ResourceNotFoundException":
|
|
2118
1432
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2119
|
-
|
|
2120
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2121
|
-
name: errorCode,
|
|
2122
|
-
$metadata: deserializeMetadata(output),
|
|
2123
|
-
};
|
|
2124
|
-
break;
|
|
1433
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2125
1434
|
default:
|
|
2126
1435
|
const parsedBody = parsedOutput.body;
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
...parsedBody,
|
|
2130
|
-
name: `${errorCode}`,
|
|
2131
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1436
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1437
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2132
1438
|
$fault: "client",
|
|
2133
1439
|
$metadata: deserializeMetadata(output),
|
|
2134
|
-
};
|
|
1440
|
+
});
|
|
1441
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2135
1442
|
}
|
|
2136
|
-
const message = response.message || response.Message || errorCode;
|
|
2137
|
-
response.message = message;
|
|
2138
|
-
delete response.Message;
|
|
2139
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2140
1443
|
};
|
|
2141
1444
|
const deserializeAws_json1_1RollbackApplicationCommand = async (output, context) => {
|
|
2142
1445
|
if (output.statusCode >= 300) {
|
|
@@ -2163,67 +1466,31 @@ const deserializeAws_json1_1RollbackApplicationCommandError = async (output, con
|
|
|
2163
1466
|
switch (errorCode) {
|
|
2164
1467
|
case "ConcurrentModificationException":
|
|
2165
1468
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
2166
|
-
|
|
2167
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
2168
|
-
name: errorCode,
|
|
2169
|
-
$metadata: deserializeMetadata(output),
|
|
2170
|
-
};
|
|
2171
|
-
break;
|
|
1469
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
2172
1470
|
case "InvalidArgumentException":
|
|
2173
1471
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2174
|
-
|
|
2175
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2176
|
-
name: errorCode,
|
|
2177
|
-
$metadata: deserializeMetadata(output),
|
|
2178
|
-
};
|
|
2179
|
-
break;
|
|
1472
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2180
1473
|
case "InvalidRequestException":
|
|
2181
1474
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
2182
|
-
|
|
2183
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
2184
|
-
name: errorCode,
|
|
2185
|
-
$metadata: deserializeMetadata(output),
|
|
2186
|
-
};
|
|
2187
|
-
break;
|
|
1475
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2188
1476
|
case "ResourceInUseException":
|
|
2189
1477
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
2190
|
-
|
|
2191
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
2192
|
-
name: errorCode,
|
|
2193
|
-
$metadata: deserializeMetadata(output),
|
|
2194
|
-
};
|
|
2195
|
-
break;
|
|
1478
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2196
1479
|
case "ResourceNotFoundException":
|
|
2197
1480
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2198
|
-
|
|
2199
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2200
|
-
name: errorCode,
|
|
2201
|
-
$metadata: deserializeMetadata(output),
|
|
2202
|
-
};
|
|
2203
|
-
break;
|
|
1481
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2204
1482
|
case "UnsupportedOperationException":
|
|
2205
1483
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
2206
|
-
|
|
2207
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
2208
|
-
name: errorCode,
|
|
2209
|
-
$metadata: deserializeMetadata(output),
|
|
2210
|
-
};
|
|
2211
|
-
break;
|
|
1484
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2212
1485
|
default:
|
|
2213
1486
|
const parsedBody = parsedOutput.body;
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
...parsedBody,
|
|
2217
|
-
name: `${errorCode}`,
|
|
2218
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1487
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1488
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2219
1489
|
$fault: "client",
|
|
2220
1490
|
$metadata: deserializeMetadata(output),
|
|
2221
|
-
};
|
|
1491
|
+
});
|
|
1492
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2222
1493
|
}
|
|
2223
|
-
const message = response.message || response.Message || errorCode;
|
|
2224
|
-
response.message = message;
|
|
2225
|
-
delete response.Message;
|
|
2226
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2227
1494
|
};
|
|
2228
1495
|
const deserializeAws_json1_1StartApplicationCommand = async (output, context) => {
|
|
2229
1496
|
if (output.statusCode >= 300) {
|
|
@@ -2250,59 +1517,28 @@ const deserializeAws_json1_1StartApplicationCommandError = async (output, contex
|
|
|
2250
1517
|
switch (errorCode) {
|
|
2251
1518
|
case "InvalidApplicationConfigurationException":
|
|
2252
1519
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
2253
|
-
|
|
2254
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
2255
|
-
name: errorCode,
|
|
2256
|
-
$metadata: deserializeMetadata(output),
|
|
2257
|
-
};
|
|
2258
|
-
break;
|
|
1520
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
2259
1521
|
case "InvalidArgumentException":
|
|
2260
1522
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2261
|
-
|
|
2262
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2263
|
-
name: errorCode,
|
|
2264
|
-
$metadata: deserializeMetadata(output),
|
|
2265
|
-
};
|
|
2266
|
-
break;
|
|
1523
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2267
1524
|
case "InvalidRequestException":
|
|
2268
1525
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
2269
|
-
|
|
2270
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
2271
|
-
name: errorCode,
|
|
2272
|
-
$metadata: deserializeMetadata(output),
|
|
2273
|
-
};
|
|
2274
|
-
break;
|
|
1526
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2275
1527
|
case "ResourceInUseException":
|
|
2276
1528
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
2277
|
-
|
|
2278
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
2279
|
-
name: errorCode,
|
|
2280
|
-
$metadata: deserializeMetadata(output),
|
|
2281
|
-
};
|
|
2282
|
-
break;
|
|
1529
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2283
1530
|
case "ResourceNotFoundException":
|
|
2284
1531
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2285
|
-
|
|
2286
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2287
|
-
name: errorCode,
|
|
2288
|
-
$metadata: deserializeMetadata(output),
|
|
2289
|
-
};
|
|
2290
|
-
break;
|
|
1532
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2291
1533
|
default:
|
|
2292
1534
|
const parsedBody = parsedOutput.body;
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
...parsedBody,
|
|
2296
|
-
name: `${errorCode}`,
|
|
2297
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1535
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1536
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2298
1537
|
$fault: "client",
|
|
2299
1538
|
$metadata: deserializeMetadata(output),
|
|
2300
|
-
};
|
|
1539
|
+
});
|
|
1540
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2301
1541
|
}
|
|
2302
|
-
const message = response.message || response.Message || errorCode;
|
|
2303
|
-
response.message = message;
|
|
2304
|
-
delete response.Message;
|
|
2305
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2306
1542
|
};
|
|
2307
1543
|
const deserializeAws_json1_1StopApplicationCommand = async (output, context) => {
|
|
2308
1544
|
if (output.statusCode >= 300) {
|
|
@@ -2329,67 +1565,31 @@ const deserializeAws_json1_1StopApplicationCommandError = async (output, context
|
|
|
2329
1565
|
switch (errorCode) {
|
|
2330
1566
|
case "ConcurrentModificationException":
|
|
2331
1567
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
2332
|
-
|
|
2333
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
2334
|
-
name: errorCode,
|
|
2335
|
-
$metadata: deserializeMetadata(output),
|
|
2336
|
-
};
|
|
2337
|
-
break;
|
|
1568
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
2338
1569
|
case "InvalidApplicationConfigurationException":
|
|
2339
1570
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
2340
|
-
|
|
2341
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
2342
|
-
name: errorCode,
|
|
2343
|
-
$metadata: deserializeMetadata(output),
|
|
2344
|
-
};
|
|
2345
|
-
break;
|
|
1571
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
2346
1572
|
case "InvalidArgumentException":
|
|
2347
1573
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2348
|
-
|
|
2349
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2350
|
-
name: errorCode,
|
|
2351
|
-
$metadata: deserializeMetadata(output),
|
|
2352
|
-
};
|
|
2353
|
-
break;
|
|
1574
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2354
1575
|
case "InvalidRequestException":
|
|
2355
1576
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
2356
|
-
|
|
2357
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
2358
|
-
name: errorCode,
|
|
2359
|
-
$metadata: deserializeMetadata(output),
|
|
2360
|
-
};
|
|
2361
|
-
break;
|
|
1577
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2362
1578
|
case "ResourceInUseException":
|
|
2363
1579
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
2364
|
-
|
|
2365
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
2366
|
-
name: errorCode,
|
|
2367
|
-
$metadata: deserializeMetadata(output),
|
|
2368
|
-
};
|
|
2369
|
-
break;
|
|
1580
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2370
1581
|
case "ResourceNotFoundException":
|
|
2371
1582
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2372
|
-
|
|
2373
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2374
|
-
name: errorCode,
|
|
2375
|
-
$metadata: deserializeMetadata(output),
|
|
2376
|
-
};
|
|
2377
|
-
break;
|
|
1583
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2378
1584
|
default:
|
|
2379
1585
|
const parsedBody = parsedOutput.body;
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
...parsedBody,
|
|
2383
|
-
name: `${errorCode}`,
|
|
2384
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1586
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1587
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2385
1588
|
$fault: "client",
|
|
2386
1589
|
$metadata: deserializeMetadata(output),
|
|
2387
|
-
};
|
|
1590
|
+
});
|
|
1591
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2388
1592
|
}
|
|
2389
|
-
const message = response.message || response.Message || errorCode;
|
|
2390
|
-
response.message = message;
|
|
2391
|
-
delete response.Message;
|
|
2392
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2393
1593
|
};
|
|
2394
1594
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
2395
1595
|
if (output.statusCode >= 300) {
|
|
@@ -2416,59 +1616,28 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2416
1616
|
switch (errorCode) {
|
|
2417
1617
|
case "ConcurrentModificationException":
|
|
2418
1618
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
2419
|
-
|
|
2420
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
2421
|
-
name: errorCode,
|
|
2422
|
-
$metadata: deserializeMetadata(output),
|
|
2423
|
-
};
|
|
2424
|
-
break;
|
|
1619
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
2425
1620
|
case "InvalidArgumentException":
|
|
2426
1621
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2427
|
-
|
|
2428
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2429
|
-
name: errorCode,
|
|
2430
|
-
$metadata: deserializeMetadata(output),
|
|
2431
|
-
};
|
|
2432
|
-
break;
|
|
1622
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2433
1623
|
case "ResourceInUseException":
|
|
2434
1624
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
2435
|
-
|
|
2436
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
2437
|
-
name: errorCode,
|
|
2438
|
-
$metadata: deserializeMetadata(output),
|
|
2439
|
-
};
|
|
2440
|
-
break;
|
|
1625
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2441
1626
|
case "ResourceNotFoundException":
|
|
2442
1627
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2443
|
-
|
|
2444
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2445
|
-
name: errorCode,
|
|
2446
|
-
$metadata: deserializeMetadata(output),
|
|
2447
|
-
};
|
|
2448
|
-
break;
|
|
1628
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2449
1629
|
case "TooManyTagsException":
|
|
2450
1630
|
case "com.amazonaws.kinesisanalyticsv2#TooManyTagsException":
|
|
2451
|
-
|
|
2452
|
-
...(await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)),
|
|
2453
|
-
name: errorCode,
|
|
2454
|
-
$metadata: deserializeMetadata(output),
|
|
2455
|
-
};
|
|
2456
|
-
break;
|
|
1631
|
+
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
2457
1632
|
default:
|
|
2458
1633
|
const parsedBody = parsedOutput.body;
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
...parsedBody,
|
|
2462
|
-
name: `${errorCode}`,
|
|
2463
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1634
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1635
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2464
1636
|
$fault: "client",
|
|
2465
1637
|
$metadata: deserializeMetadata(output),
|
|
2466
|
-
};
|
|
1638
|
+
});
|
|
1639
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2467
1640
|
}
|
|
2468
|
-
const message = response.message || response.Message || errorCode;
|
|
2469
|
-
response.message = message;
|
|
2470
|
-
delete response.Message;
|
|
2471
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2472
1641
|
};
|
|
2473
1642
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
2474
1643
|
if (output.statusCode >= 300) {
|
|
@@ -2495,59 +1664,28 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2495
1664
|
switch (errorCode) {
|
|
2496
1665
|
case "ConcurrentModificationException":
|
|
2497
1666
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
2498
|
-
|
|
2499
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
2500
|
-
name: errorCode,
|
|
2501
|
-
$metadata: deserializeMetadata(output),
|
|
2502
|
-
};
|
|
2503
|
-
break;
|
|
1667
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
2504
1668
|
case "InvalidArgumentException":
|
|
2505
1669
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2506
|
-
|
|
2507
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2508
|
-
name: errorCode,
|
|
2509
|
-
$metadata: deserializeMetadata(output),
|
|
2510
|
-
};
|
|
2511
|
-
break;
|
|
1670
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2512
1671
|
case "ResourceInUseException":
|
|
2513
1672
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
2514
|
-
|
|
2515
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
2516
|
-
name: errorCode,
|
|
2517
|
-
$metadata: deserializeMetadata(output),
|
|
2518
|
-
};
|
|
2519
|
-
break;
|
|
1673
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2520
1674
|
case "ResourceNotFoundException":
|
|
2521
1675
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2522
|
-
|
|
2523
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2524
|
-
name: errorCode,
|
|
2525
|
-
$metadata: deserializeMetadata(output),
|
|
2526
|
-
};
|
|
2527
|
-
break;
|
|
1676
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2528
1677
|
case "TooManyTagsException":
|
|
2529
1678
|
case "com.amazonaws.kinesisanalyticsv2#TooManyTagsException":
|
|
2530
|
-
|
|
2531
|
-
...(await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)),
|
|
2532
|
-
name: errorCode,
|
|
2533
|
-
$metadata: deserializeMetadata(output),
|
|
2534
|
-
};
|
|
2535
|
-
break;
|
|
1679
|
+
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
2536
1680
|
default:
|
|
2537
1681
|
const parsedBody = parsedOutput.body;
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
...parsedBody,
|
|
2541
|
-
name: `${errorCode}`,
|
|
2542
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1682
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1683
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2543
1684
|
$fault: "client",
|
|
2544
1685
|
$metadata: deserializeMetadata(output),
|
|
2545
|
-
};
|
|
1686
|
+
});
|
|
1687
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2546
1688
|
}
|
|
2547
|
-
const message = response.message || response.Message || errorCode;
|
|
2548
|
-
response.message = message;
|
|
2549
|
-
delete response.Message;
|
|
2550
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2551
1689
|
};
|
|
2552
1690
|
const deserializeAws_json1_1UpdateApplicationCommand = async (output, context) => {
|
|
2553
1691
|
if (output.statusCode >= 300) {
|
|
@@ -2574,83 +1712,37 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
2574
1712
|
switch (errorCode) {
|
|
2575
1713
|
case "CodeValidationException":
|
|
2576
1714
|
case "com.amazonaws.kinesisanalyticsv2#CodeValidationException":
|
|
2577
|
-
|
|
2578
|
-
...(await deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context)),
|
|
2579
|
-
name: errorCode,
|
|
2580
|
-
$metadata: deserializeMetadata(output),
|
|
2581
|
-
};
|
|
2582
|
-
break;
|
|
1715
|
+
throw await deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context);
|
|
2583
1716
|
case "ConcurrentModificationException":
|
|
2584
1717
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
2585
|
-
|
|
2586
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
2587
|
-
name: errorCode,
|
|
2588
|
-
$metadata: deserializeMetadata(output),
|
|
2589
|
-
};
|
|
2590
|
-
break;
|
|
1718
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
2591
1719
|
case "InvalidApplicationConfigurationException":
|
|
2592
1720
|
case "com.amazonaws.kinesisanalyticsv2#InvalidApplicationConfigurationException":
|
|
2593
|
-
|
|
2594
|
-
...(await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)),
|
|
2595
|
-
name: errorCode,
|
|
2596
|
-
$metadata: deserializeMetadata(output),
|
|
2597
|
-
};
|
|
2598
|
-
break;
|
|
1721
|
+
throw await deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context);
|
|
2599
1722
|
case "InvalidArgumentException":
|
|
2600
1723
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2601
|
-
|
|
2602
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2603
|
-
name: errorCode,
|
|
2604
|
-
$metadata: deserializeMetadata(output),
|
|
2605
|
-
};
|
|
2606
|
-
break;
|
|
1724
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2607
1725
|
case "InvalidRequestException":
|
|
2608
1726
|
case "com.amazonaws.kinesisanalyticsv2#InvalidRequestException":
|
|
2609
|
-
|
|
2610
|
-
...(await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)),
|
|
2611
|
-
name: errorCode,
|
|
2612
|
-
$metadata: deserializeMetadata(output),
|
|
2613
|
-
};
|
|
2614
|
-
break;
|
|
1727
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2615
1728
|
case "LimitExceededException":
|
|
2616
1729
|
case "com.amazonaws.kinesisanalyticsv2#LimitExceededException":
|
|
2617
|
-
|
|
2618
|
-
...(await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)),
|
|
2619
|
-
name: errorCode,
|
|
2620
|
-
$metadata: deserializeMetadata(output),
|
|
2621
|
-
};
|
|
2622
|
-
break;
|
|
1730
|
+
throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
|
|
2623
1731
|
case "ResourceInUseException":
|
|
2624
1732
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
2625
|
-
|
|
2626
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
2627
|
-
name: errorCode,
|
|
2628
|
-
$metadata: deserializeMetadata(output),
|
|
2629
|
-
};
|
|
2630
|
-
break;
|
|
1733
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2631
1734
|
case "ResourceNotFoundException":
|
|
2632
1735
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2633
|
-
|
|
2634
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2635
|
-
name: errorCode,
|
|
2636
|
-
$metadata: deserializeMetadata(output),
|
|
2637
|
-
};
|
|
2638
|
-
break;
|
|
1736
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2639
1737
|
default:
|
|
2640
1738
|
const parsedBody = parsedOutput.body;
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
...parsedBody,
|
|
2644
|
-
name: `${errorCode}`,
|
|
2645
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1739
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1740
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2646
1741
|
$fault: "client",
|
|
2647
1742
|
$metadata: deserializeMetadata(output),
|
|
2648
|
-
};
|
|
1743
|
+
});
|
|
1744
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2649
1745
|
}
|
|
2650
|
-
const message = response.message || response.Message || errorCode;
|
|
2651
|
-
response.message = message;
|
|
2652
|
-
delete response.Message;
|
|
2653
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2654
1746
|
};
|
|
2655
1747
|
const deserializeAws_json1_1UpdateApplicationMaintenanceConfigurationCommand = async (output, context) => {
|
|
2656
1748
|
if (output.statusCode >= 300) {
|
|
@@ -2677,202 +1769,145 @@ const deserializeAws_json1_1UpdateApplicationMaintenanceConfigurationCommandErro
|
|
|
2677
1769
|
switch (errorCode) {
|
|
2678
1770
|
case "ConcurrentModificationException":
|
|
2679
1771
|
case "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException":
|
|
2680
|
-
|
|
2681
|
-
...(await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)),
|
|
2682
|
-
name: errorCode,
|
|
2683
|
-
$metadata: deserializeMetadata(output),
|
|
2684
|
-
};
|
|
2685
|
-
break;
|
|
1772
|
+
throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
2686
1773
|
case "InvalidArgumentException":
|
|
2687
1774
|
case "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException":
|
|
2688
|
-
|
|
2689
|
-
...(await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)),
|
|
2690
|
-
name: errorCode,
|
|
2691
|
-
$metadata: deserializeMetadata(output),
|
|
2692
|
-
};
|
|
2693
|
-
break;
|
|
1775
|
+
throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2694
1776
|
case "ResourceInUseException":
|
|
2695
1777
|
case "com.amazonaws.kinesisanalyticsv2#ResourceInUseException":
|
|
2696
|
-
|
|
2697
|
-
...(await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
2698
|
-
name: errorCode,
|
|
2699
|
-
$metadata: deserializeMetadata(output),
|
|
2700
|
-
};
|
|
2701
|
-
break;
|
|
1778
|
+
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2702
1779
|
case "ResourceNotFoundException":
|
|
2703
1780
|
case "com.amazonaws.kinesisanalyticsv2#ResourceNotFoundException":
|
|
2704
|
-
|
|
2705
|
-
...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)),
|
|
2706
|
-
name: errorCode,
|
|
2707
|
-
$metadata: deserializeMetadata(output),
|
|
2708
|
-
};
|
|
2709
|
-
break;
|
|
1781
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2710
1782
|
case "UnsupportedOperationException":
|
|
2711
1783
|
case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException":
|
|
2712
|
-
|
|
2713
|
-
...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)),
|
|
2714
|
-
name: errorCode,
|
|
2715
|
-
$metadata: deserializeMetadata(output),
|
|
2716
|
-
};
|
|
2717
|
-
break;
|
|
1784
|
+
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2718
1785
|
default:
|
|
2719
1786
|
const parsedBody = parsedOutput.body;
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
...parsedBody,
|
|
2723
|
-
name: `${errorCode}`,
|
|
2724
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
1787
|
+
response = new KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException({
|
|
1788
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2725
1789
|
$fault: "client",
|
|
2726
1790
|
$metadata: deserializeMetadata(output),
|
|
2727
|
-
};
|
|
1791
|
+
});
|
|
1792
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2728
1793
|
}
|
|
2729
|
-
const message = response.message || response.Message || errorCode;
|
|
2730
|
-
response.message = message;
|
|
2731
|
-
delete response.Message;
|
|
2732
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
2733
1794
|
};
|
|
2734
1795
|
const deserializeAws_json1_1CodeValidationExceptionResponse = async (parsedOutput, context) => {
|
|
2735
1796
|
const body = parsedOutput.body;
|
|
2736
1797
|
const deserialized = deserializeAws_json1_1CodeValidationException(body, context);
|
|
2737
|
-
const
|
|
2738
|
-
name: "CodeValidationException",
|
|
2739
|
-
$fault: "client",
|
|
1798
|
+
const exception = new models_0_1.CodeValidationException({
|
|
2740
1799
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2741
1800
|
...deserialized,
|
|
2742
|
-
};
|
|
2743
|
-
return
|
|
1801
|
+
});
|
|
1802
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2744
1803
|
};
|
|
2745
1804
|
const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
2746
1805
|
const body = parsedOutput.body;
|
|
2747
1806
|
const deserialized = deserializeAws_json1_1ConcurrentModificationException(body, context);
|
|
2748
|
-
const
|
|
2749
|
-
name: "ConcurrentModificationException",
|
|
2750
|
-
$fault: "client",
|
|
1807
|
+
const exception = new models_0_1.ConcurrentModificationException({
|
|
2751
1808
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2752
1809
|
...deserialized,
|
|
2753
|
-
};
|
|
2754
|
-
return
|
|
1810
|
+
});
|
|
1811
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2755
1812
|
};
|
|
2756
1813
|
const deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse = async (parsedOutput, context) => {
|
|
2757
1814
|
const body = parsedOutput.body;
|
|
2758
1815
|
const deserialized = deserializeAws_json1_1InvalidApplicationConfigurationException(body, context);
|
|
2759
|
-
const
|
|
2760
|
-
name: "InvalidApplicationConfigurationException",
|
|
2761
|
-
$fault: "client",
|
|
1816
|
+
const exception = new models_0_1.InvalidApplicationConfigurationException({
|
|
2762
1817
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2763
1818
|
...deserialized,
|
|
2764
|
-
};
|
|
2765
|
-
return
|
|
1819
|
+
});
|
|
1820
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2766
1821
|
};
|
|
2767
1822
|
const deserializeAws_json1_1InvalidArgumentExceptionResponse = async (parsedOutput, context) => {
|
|
2768
1823
|
const body = parsedOutput.body;
|
|
2769
1824
|
const deserialized = deserializeAws_json1_1InvalidArgumentException(body, context);
|
|
2770
|
-
const
|
|
2771
|
-
name: "InvalidArgumentException",
|
|
2772
|
-
$fault: "client",
|
|
1825
|
+
const exception = new models_0_1.InvalidArgumentException({
|
|
2773
1826
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2774
1827
|
...deserialized,
|
|
2775
|
-
};
|
|
2776
|
-
return
|
|
1828
|
+
});
|
|
1829
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2777
1830
|
};
|
|
2778
1831
|
const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
2779
1832
|
const body = parsedOutput.body;
|
|
2780
1833
|
const deserialized = deserializeAws_json1_1InvalidRequestException(body, context);
|
|
2781
|
-
const
|
|
2782
|
-
name: "InvalidRequestException",
|
|
2783
|
-
$fault: "client",
|
|
1834
|
+
const exception = new models_0_1.InvalidRequestException({
|
|
2784
1835
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2785
1836
|
...deserialized,
|
|
2786
|
-
};
|
|
2787
|
-
return
|
|
1837
|
+
});
|
|
1838
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2788
1839
|
};
|
|
2789
1840
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
2790
1841
|
const body = parsedOutput.body;
|
|
2791
1842
|
const deserialized = deserializeAws_json1_1LimitExceededException(body, context);
|
|
2792
|
-
const
|
|
2793
|
-
name: "LimitExceededException",
|
|
2794
|
-
$fault: "client",
|
|
1843
|
+
const exception = new models_0_1.LimitExceededException({
|
|
2795
1844
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2796
1845
|
...deserialized,
|
|
2797
|
-
};
|
|
2798
|
-
return
|
|
1846
|
+
});
|
|
1847
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2799
1848
|
};
|
|
2800
1849
|
const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
2801
1850
|
const body = parsedOutput.body;
|
|
2802
1851
|
const deserialized = deserializeAws_json1_1ResourceInUseException(body, context);
|
|
2803
|
-
const
|
|
2804
|
-
name: "ResourceInUseException",
|
|
2805
|
-
$fault: "client",
|
|
1852
|
+
const exception = new models_0_1.ResourceInUseException({
|
|
2806
1853
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2807
1854
|
...deserialized,
|
|
2808
|
-
};
|
|
2809
|
-
return
|
|
1855
|
+
});
|
|
1856
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2810
1857
|
};
|
|
2811
1858
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
2812
1859
|
const body = parsedOutput.body;
|
|
2813
1860
|
const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
|
|
2814
|
-
const
|
|
2815
|
-
name: "ResourceNotFoundException",
|
|
2816
|
-
$fault: "client",
|
|
1861
|
+
const exception = new models_0_1.ResourceNotFoundException({
|
|
2817
1862
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2818
1863
|
...deserialized,
|
|
2819
|
-
};
|
|
2820
|
-
return
|
|
1864
|
+
});
|
|
1865
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2821
1866
|
};
|
|
2822
1867
|
const deserializeAws_json1_1ResourceProvisionedThroughputExceededExceptionResponse = async (parsedOutput, context) => {
|
|
2823
1868
|
const body = parsedOutput.body;
|
|
2824
1869
|
const deserialized = deserializeAws_json1_1ResourceProvisionedThroughputExceededException(body, context);
|
|
2825
|
-
const
|
|
2826
|
-
name: "ResourceProvisionedThroughputExceededException",
|
|
2827
|
-
$fault: "client",
|
|
1870
|
+
const exception = new models_0_1.ResourceProvisionedThroughputExceededException({
|
|
2828
1871
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2829
1872
|
...deserialized,
|
|
2830
|
-
};
|
|
2831
|
-
return
|
|
1873
|
+
});
|
|
1874
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2832
1875
|
};
|
|
2833
1876
|
const deserializeAws_json1_1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
2834
1877
|
const body = parsedOutput.body;
|
|
2835
1878
|
const deserialized = deserializeAws_json1_1ServiceUnavailableException(body, context);
|
|
2836
|
-
const
|
|
2837
|
-
name: "ServiceUnavailableException",
|
|
2838
|
-
$fault: "server",
|
|
1879
|
+
const exception = new models_0_1.ServiceUnavailableException({
|
|
2839
1880
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2840
1881
|
...deserialized,
|
|
2841
|
-
};
|
|
2842
|
-
return
|
|
1882
|
+
});
|
|
1883
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2843
1884
|
};
|
|
2844
1885
|
const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
|
|
2845
1886
|
const body = parsedOutput.body;
|
|
2846
1887
|
const deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
|
|
2847
|
-
const
|
|
2848
|
-
name: "TooManyTagsException",
|
|
2849
|
-
$fault: "client",
|
|
1888
|
+
const exception = new models_0_1.TooManyTagsException({
|
|
2850
1889
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2851
1890
|
...deserialized,
|
|
2852
|
-
};
|
|
2853
|
-
return
|
|
1891
|
+
});
|
|
1892
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2854
1893
|
};
|
|
2855
1894
|
const deserializeAws_json1_1UnableToDetectSchemaExceptionResponse = async (parsedOutput, context) => {
|
|
2856
1895
|
const body = parsedOutput.body;
|
|
2857
1896
|
const deserialized = deserializeAws_json1_1UnableToDetectSchemaException(body, context);
|
|
2858
|
-
const
|
|
2859
|
-
name: "UnableToDetectSchemaException",
|
|
2860
|
-
$fault: "client",
|
|
1897
|
+
const exception = new models_0_1.UnableToDetectSchemaException({
|
|
2861
1898
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2862
1899
|
...deserialized,
|
|
2863
|
-
};
|
|
2864
|
-
return
|
|
1900
|
+
});
|
|
1901
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2865
1902
|
};
|
|
2866
1903
|
const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parsedOutput, context) => {
|
|
2867
1904
|
const body = parsedOutput.body;
|
|
2868
1905
|
const deserialized = deserializeAws_json1_1UnsupportedOperationException(body, context);
|
|
2869
|
-
const
|
|
2870
|
-
name: "UnsupportedOperationException",
|
|
2871
|
-
$fault: "client",
|
|
1906
|
+
const exception = new models_0_1.UnsupportedOperationException({
|
|
2872
1907
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2873
1908
|
...deserialized,
|
|
2874
|
-
};
|
|
2875
|
-
return
|
|
1909
|
+
});
|
|
1910
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
2876
1911
|
};
|
|
2877
1912
|
const serializeAws_json1_1AddApplicationCloudWatchLoggingOptionRequest = (input, context) => {
|
|
2878
1913
|
return {
|
|
@@ -4360,7 +3395,7 @@ const deserializeAws_json1_1ApplicationSnapshotConfigurationDescription = (outpu
|
|
|
4360
3395
|
};
|
|
4361
3396
|
};
|
|
4362
3397
|
const deserializeAws_json1_1ApplicationSummaries = (output, context) => {
|
|
4363
|
-
|
|
3398
|
+
const retVal = (output || [])
|
|
4364
3399
|
.filter((e) => e != null)
|
|
4365
3400
|
.map((entry) => {
|
|
4366
3401
|
if (entry === null) {
|
|
@@ -4368,6 +3403,7 @@ const deserializeAws_json1_1ApplicationSummaries = (output, context) => {
|
|
|
4368
3403
|
}
|
|
4369
3404
|
return deserializeAws_json1_1ApplicationSummary(entry, context);
|
|
4370
3405
|
});
|
|
3406
|
+
return retVal;
|
|
4371
3407
|
};
|
|
4372
3408
|
const deserializeAws_json1_1ApplicationSummary = (output, context) => {
|
|
4373
3409
|
return {
|
|
@@ -4380,7 +3416,7 @@ const deserializeAws_json1_1ApplicationSummary = (output, context) => {
|
|
|
4380
3416
|
};
|
|
4381
3417
|
};
|
|
4382
3418
|
const deserializeAws_json1_1ApplicationVersionSummaries = (output, context) => {
|
|
4383
|
-
|
|
3419
|
+
const retVal = (output || [])
|
|
4384
3420
|
.filter((e) => e != null)
|
|
4385
3421
|
.map((entry) => {
|
|
4386
3422
|
if (entry === null) {
|
|
@@ -4388,6 +3424,7 @@ const deserializeAws_json1_1ApplicationVersionSummaries = (output, context) => {
|
|
|
4388
3424
|
}
|
|
4389
3425
|
return deserializeAws_json1_1ApplicationVersionSummary(entry, context);
|
|
4390
3426
|
});
|
|
3427
|
+
return retVal;
|
|
4391
3428
|
};
|
|
4392
3429
|
const deserializeAws_json1_1ApplicationVersionSummary = (output, context) => {
|
|
4393
3430
|
return {
|
|
@@ -4419,7 +3456,7 @@ const deserializeAws_json1_1CloudWatchLoggingOptionDescription = (output, contex
|
|
|
4419
3456
|
};
|
|
4420
3457
|
};
|
|
4421
3458
|
const deserializeAws_json1_1CloudWatchLoggingOptionDescriptions = (output, context) => {
|
|
4422
|
-
|
|
3459
|
+
const retVal = (output || [])
|
|
4423
3460
|
.filter((e) => e != null)
|
|
4424
3461
|
.map((entry) => {
|
|
4425
3462
|
if (entry === null) {
|
|
@@ -4427,6 +3464,7 @@ const deserializeAws_json1_1CloudWatchLoggingOptionDescriptions = (output, conte
|
|
|
4427
3464
|
}
|
|
4428
3465
|
return deserializeAws_json1_1CloudWatchLoggingOptionDescription(entry, context);
|
|
4429
3466
|
});
|
|
3467
|
+
return retVal;
|
|
4430
3468
|
};
|
|
4431
3469
|
const deserializeAws_json1_1CodeContentDescription = (output, context) => {
|
|
4432
3470
|
return {
|
|
@@ -4481,7 +3519,7 @@ const deserializeAws_json1_1CustomArtifactConfigurationDescription = (output, co
|
|
|
4481
3519
|
};
|
|
4482
3520
|
};
|
|
4483
3521
|
const deserializeAws_json1_1CustomArtifactsConfigurationDescriptionList = (output, context) => {
|
|
4484
|
-
|
|
3522
|
+
const retVal = (output || [])
|
|
4485
3523
|
.filter((e) => e != null)
|
|
4486
3524
|
.map((entry) => {
|
|
4487
3525
|
if (entry === null) {
|
|
@@ -4489,6 +3527,7 @@ const deserializeAws_json1_1CustomArtifactsConfigurationDescriptionList = (outpu
|
|
|
4489
3527
|
}
|
|
4490
3528
|
return deserializeAws_json1_1CustomArtifactConfigurationDescription(entry, context);
|
|
4491
3529
|
});
|
|
3530
|
+
return retVal;
|
|
4492
3531
|
};
|
|
4493
3532
|
const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionResponse = (output, context) => {
|
|
4494
3533
|
return {
|
|
@@ -4610,7 +3649,7 @@ const deserializeAws_json1_1GlueDataCatalogConfigurationDescription = (output, c
|
|
|
4610
3649
|
};
|
|
4611
3650
|
};
|
|
4612
3651
|
const deserializeAws_json1_1InAppStreamNames = (output, context) => {
|
|
4613
|
-
|
|
3652
|
+
const retVal = (output || [])
|
|
4614
3653
|
.filter((e) => e != null)
|
|
4615
3654
|
.map((entry) => {
|
|
4616
3655
|
if (entry === null) {
|
|
@@ -4618,6 +3657,7 @@ const deserializeAws_json1_1InAppStreamNames = (output, context) => {
|
|
|
4618
3657
|
}
|
|
4619
3658
|
return smithy_client_1.expectString(entry);
|
|
4620
3659
|
});
|
|
3660
|
+
return retVal;
|
|
4621
3661
|
};
|
|
4622
3662
|
const deserializeAws_json1_1InputDescription = (output, context) => {
|
|
4623
3663
|
return {
|
|
@@ -4648,7 +3688,7 @@ const deserializeAws_json1_1InputDescription = (output, context) => {
|
|
|
4648
3688
|
};
|
|
4649
3689
|
};
|
|
4650
3690
|
const deserializeAws_json1_1InputDescriptions = (output, context) => {
|
|
4651
|
-
|
|
3691
|
+
const retVal = (output || [])
|
|
4652
3692
|
.filter((e) => e != null)
|
|
4653
3693
|
.map((entry) => {
|
|
4654
3694
|
if (entry === null) {
|
|
@@ -4656,6 +3696,7 @@ const deserializeAws_json1_1InputDescriptions = (output, context) => {
|
|
|
4656
3696
|
}
|
|
4657
3697
|
return deserializeAws_json1_1InputDescription(entry, context);
|
|
4658
3698
|
});
|
|
3699
|
+
return retVal;
|
|
4659
3700
|
};
|
|
4660
3701
|
const deserializeAws_json1_1InputLambdaProcessorDescription = (output, context) => {
|
|
4661
3702
|
return {
|
|
@@ -4807,7 +3848,7 @@ const deserializeAws_json1_1OutputDescription = (output, context) => {
|
|
|
4807
3848
|
};
|
|
4808
3849
|
};
|
|
4809
3850
|
const deserializeAws_json1_1OutputDescriptions = (output, context) => {
|
|
4810
|
-
|
|
3851
|
+
const retVal = (output || [])
|
|
4811
3852
|
.filter((e) => e != null)
|
|
4812
3853
|
.map((entry) => {
|
|
4813
3854
|
if (entry === null) {
|
|
@@ -4815,6 +3856,7 @@ const deserializeAws_json1_1OutputDescriptions = (output, context) => {
|
|
|
4815
3856
|
}
|
|
4816
3857
|
return deserializeAws_json1_1OutputDescription(entry, context);
|
|
4817
3858
|
});
|
|
3859
|
+
return retVal;
|
|
4818
3860
|
};
|
|
4819
3861
|
const deserializeAws_json1_1ParallelismConfigurationDescription = (output, context) => {
|
|
4820
3862
|
return {
|
|
@@ -4826,7 +3868,7 @@ const deserializeAws_json1_1ParallelismConfigurationDescription = (output, conte
|
|
|
4826
3868
|
};
|
|
4827
3869
|
};
|
|
4828
3870
|
const deserializeAws_json1_1ParsedInputRecord = (output, context) => {
|
|
4829
|
-
|
|
3871
|
+
const retVal = (output || [])
|
|
4830
3872
|
.filter((e) => e != null)
|
|
4831
3873
|
.map((entry) => {
|
|
4832
3874
|
if (entry === null) {
|
|
@@ -4834,9 +3876,10 @@ const deserializeAws_json1_1ParsedInputRecord = (output, context) => {
|
|
|
4834
3876
|
}
|
|
4835
3877
|
return smithy_client_1.expectString(entry);
|
|
4836
3878
|
});
|
|
3879
|
+
return retVal;
|
|
4837
3880
|
};
|
|
4838
3881
|
const deserializeAws_json1_1ParsedInputRecords = (output, context) => {
|
|
4839
|
-
|
|
3882
|
+
const retVal = (output || [])
|
|
4840
3883
|
.filter((e) => e != null)
|
|
4841
3884
|
.map((entry) => {
|
|
4842
3885
|
if (entry === null) {
|
|
@@ -4844,9 +3887,10 @@ const deserializeAws_json1_1ParsedInputRecords = (output, context) => {
|
|
|
4844
3887
|
}
|
|
4845
3888
|
return deserializeAws_json1_1ParsedInputRecord(entry, context);
|
|
4846
3889
|
});
|
|
3890
|
+
return retVal;
|
|
4847
3891
|
};
|
|
4848
3892
|
const deserializeAws_json1_1ProcessedInputRecords = (output, context) => {
|
|
4849
|
-
|
|
3893
|
+
const retVal = (output || [])
|
|
4850
3894
|
.filter((e) => e != null)
|
|
4851
3895
|
.map((entry) => {
|
|
4852
3896
|
if (entry === null) {
|
|
@@ -4854,6 +3898,7 @@ const deserializeAws_json1_1ProcessedInputRecords = (output, context) => {
|
|
|
4854
3898
|
}
|
|
4855
3899
|
return smithy_client_1.expectString(entry);
|
|
4856
3900
|
});
|
|
3901
|
+
return retVal;
|
|
4857
3902
|
};
|
|
4858
3903
|
const deserializeAws_json1_1PropertyGroup = (output, context) => {
|
|
4859
3904
|
return {
|
|
@@ -4864,7 +3909,7 @@ const deserializeAws_json1_1PropertyGroup = (output, context) => {
|
|
|
4864
3909
|
};
|
|
4865
3910
|
};
|
|
4866
3911
|
const deserializeAws_json1_1PropertyGroups = (output, context) => {
|
|
4867
|
-
|
|
3912
|
+
const retVal = (output || [])
|
|
4868
3913
|
.filter((e) => e != null)
|
|
4869
3914
|
.map((entry) => {
|
|
4870
3915
|
if (entry === null) {
|
|
@@ -4872,6 +3917,7 @@ const deserializeAws_json1_1PropertyGroups = (output, context) => {
|
|
|
4872
3917
|
}
|
|
4873
3918
|
return deserializeAws_json1_1PropertyGroup(entry, context);
|
|
4874
3919
|
});
|
|
3920
|
+
return retVal;
|
|
4875
3921
|
};
|
|
4876
3922
|
const deserializeAws_json1_1PropertyMap = (output, context) => {
|
|
4877
3923
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -4885,7 +3931,7 @@ const deserializeAws_json1_1PropertyMap = (output, context) => {
|
|
|
4885
3931
|
}, {});
|
|
4886
3932
|
};
|
|
4887
3933
|
const deserializeAws_json1_1RawInputRecords = (output, context) => {
|
|
4888
|
-
|
|
3934
|
+
const retVal = (output || [])
|
|
4889
3935
|
.filter((e) => e != null)
|
|
4890
3936
|
.map((entry) => {
|
|
4891
3937
|
if (entry === null) {
|
|
@@ -4893,6 +3939,7 @@ const deserializeAws_json1_1RawInputRecords = (output, context) => {
|
|
|
4893
3939
|
}
|
|
4894
3940
|
return smithy_client_1.expectString(entry);
|
|
4895
3941
|
});
|
|
3942
|
+
return retVal;
|
|
4896
3943
|
};
|
|
4897
3944
|
const deserializeAws_json1_1RecordColumn = (output, context) => {
|
|
4898
3945
|
return {
|
|
@@ -4902,7 +3949,7 @@ const deserializeAws_json1_1RecordColumn = (output, context) => {
|
|
|
4902
3949
|
};
|
|
4903
3950
|
};
|
|
4904
3951
|
const deserializeAws_json1_1RecordColumns = (output, context) => {
|
|
4905
|
-
|
|
3952
|
+
const retVal = (output || [])
|
|
4906
3953
|
.filter((e) => e != null)
|
|
4907
3954
|
.map((entry) => {
|
|
4908
3955
|
if (entry === null) {
|
|
@@ -4910,6 +3957,7 @@ const deserializeAws_json1_1RecordColumns = (output, context) => {
|
|
|
4910
3957
|
}
|
|
4911
3958
|
return deserializeAws_json1_1RecordColumn(entry, context);
|
|
4912
3959
|
});
|
|
3960
|
+
return retVal;
|
|
4913
3961
|
};
|
|
4914
3962
|
const deserializeAws_json1_1RecordFormat = (output, context) => {
|
|
4915
3963
|
return {
|
|
@@ -4932,7 +3980,7 @@ const deserializeAws_json1_1ReferenceDataSourceDescription = (output, context) =
|
|
|
4932
3980
|
};
|
|
4933
3981
|
};
|
|
4934
3982
|
const deserializeAws_json1_1ReferenceDataSourceDescriptions = (output, context) => {
|
|
4935
|
-
|
|
3983
|
+
const retVal = (output || [])
|
|
4936
3984
|
.filter((e) => e != null)
|
|
4937
3985
|
.map((entry) => {
|
|
4938
3986
|
if (entry === null) {
|
|
@@ -4940,6 +3988,7 @@ const deserializeAws_json1_1ReferenceDataSourceDescriptions = (output, context)
|
|
|
4940
3988
|
}
|
|
4941
3989
|
return deserializeAws_json1_1ReferenceDataSourceDescription(entry, context);
|
|
4942
3990
|
});
|
|
3991
|
+
return retVal;
|
|
4943
3992
|
};
|
|
4944
3993
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
4945
3994
|
return {
|
|
@@ -5002,7 +4051,7 @@ const deserializeAws_json1_1S3ReferenceDataSourceDescription = (output, context)
|
|
|
5002
4051
|
};
|
|
5003
4052
|
};
|
|
5004
4053
|
const deserializeAws_json1_1SecurityGroupIds = (output, context) => {
|
|
5005
|
-
|
|
4054
|
+
const retVal = (output || [])
|
|
5006
4055
|
.filter((e) => e != null)
|
|
5007
4056
|
.map((entry) => {
|
|
5008
4057
|
if (entry === null) {
|
|
@@ -5010,6 +4059,7 @@ const deserializeAws_json1_1SecurityGroupIds = (output, context) => {
|
|
|
5010
4059
|
}
|
|
5011
4060
|
return smithy_client_1.expectString(entry);
|
|
5012
4061
|
});
|
|
4062
|
+
return retVal;
|
|
5013
4063
|
};
|
|
5014
4064
|
const deserializeAws_json1_1ServiceUnavailableException = (output, context) => {
|
|
5015
4065
|
return {
|
|
@@ -5027,7 +4077,7 @@ const deserializeAws_json1_1SnapshotDetails = (output, context) => {
|
|
|
5027
4077
|
};
|
|
5028
4078
|
};
|
|
5029
4079
|
const deserializeAws_json1_1SnapshotSummaries = (output, context) => {
|
|
5030
|
-
|
|
4080
|
+
const retVal = (output || [])
|
|
5031
4081
|
.filter((e) => e != null)
|
|
5032
4082
|
.map((entry) => {
|
|
5033
4083
|
if (entry === null) {
|
|
@@ -5035,6 +4085,7 @@ const deserializeAws_json1_1SnapshotSummaries = (output, context) => {
|
|
|
5035
4085
|
}
|
|
5036
4086
|
return deserializeAws_json1_1SnapshotDetails(entry, context);
|
|
5037
4087
|
});
|
|
4088
|
+
return retVal;
|
|
5038
4089
|
};
|
|
5039
4090
|
const deserializeAws_json1_1SourceSchema = (output, context) => {
|
|
5040
4091
|
return {
|
|
@@ -5067,7 +4118,7 @@ const deserializeAws_json1_1StopApplicationResponse = (output, context) => {
|
|
|
5067
4118
|
return {};
|
|
5068
4119
|
};
|
|
5069
4120
|
const deserializeAws_json1_1SubnetIds = (output, context) => {
|
|
5070
|
-
|
|
4121
|
+
const retVal = (output || [])
|
|
5071
4122
|
.filter((e) => e != null)
|
|
5072
4123
|
.map((entry) => {
|
|
5073
4124
|
if (entry === null) {
|
|
@@ -5075,6 +4126,7 @@ const deserializeAws_json1_1SubnetIds = (output, context) => {
|
|
|
5075
4126
|
}
|
|
5076
4127
|
return smithy_client_1.expectString(entry);
|
|
5077
4128
|
});
|
|
4129
|
+
return retVal;
|
|
5078
4130
|
};
|
|
5079
4131
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
5080
4132
|
return {
|
|
@@ -5086,7 +4138,7 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
5086
4138
|
return {};
|
|
5087
4139
|
};
|
|
5088
4140
|
const deserializeAws_json1_1Tags = (output, context) => {
|
|
5089
|
-
|
|
4141
|
+
const retVal = (output || [])
|
|
5090
4142
|
.filter((e) => e != null)
|
|
5091
4143
|
.map((entry) => {
|
|
5092
4144
|
if (entry === null) {
|
|
@@ -5094,6 +4146,7 @@ const deserializeAws_json1_1Tags = (output, context) => {
|
|
|
5094
4146
|
}
|
|
5095
4147
|
return deserializeAws_json1_1Tag(entry, context);
|
|
5096
4148
|
});
|
|
4149
|
+
return retVal;
|
|
5097
4150
|
};
|
|
5098
4151
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
5099
4152
|
return {
|
|
@@ -5148,7 +4201,7 @@ const deserializeAws_json1_1VpcConfigurationDescription = (output, context) => {
|
|
|
5148
4201
|
};
|
|
5149
4202
|
};
|
|
5150
4203
|
const deserializeAws_json1_1VpcConfigurationDescriptions = (output, context) => {
|
|
5151
|
-
|
|
4204
|
+
const retVal = (output || [])
|
|
5152
4205
|
.filter((e) => e != null)
|
|
5153
4206
|
.map((entry) => {
|
|
5154
4207
|
if (entry === null) {
|
|
@@ -5156,6 +4209,7 @@ const deserializeAws_json1_1VpcConfigurationDescriptions = (output, context) =>
|
|
|
5156
4209
|
}
|
|
5157
4210
|
return deserializeAws_json1_1VpcConfigurationDescription(entry, context);
|
|
5158
4211
|
});
|
|
4212
|
+
return retVal;
|
|
5159
4213
|
};
|
|
5160
4214
|
const deserializeAws_json1_1ZeppelinApplicationConfigurationDescription = (output, context) => {
|
|
5161
4215
|
return {
|