@aws-sdk/client-kafka 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +798 -1024
- package/dist-es/protocols/Aws_restJson1.js +744 -970
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { KafkaServiceException as __BaseException } from "../models/KafkaServiceException";
|
|
4
4
|
import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
|
|
5
5
|
export const se_BatchAssociateScramSecretCommand = async (input, context) => {
|
|
@@ -10,9 +10,9 @@ export const se_BatchAssociateScramSecretCommand = async (input, context) => {
|
|
|
10
10
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/scram-secrets";
|
|
11
11
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
12
12
|
let body;
|
|
13
|
-
body = JSON.stringify({
|
|
14
|
-
|
|
15
|
-
});
|
|
13
|
+
body = JSON.stringify(take(input, {
|
|
14
|
+
secretArnList: [, (_) => _json(_), `SecretArnList`],
|
|
15
|
+
}));
|
|
16
16
|
return new __HttpRequest({
|
|
17
17
|
protocol,
|
|
18
18
|
hostname,
|
|
@@ -31,9 +31,9 @@ export const se_BatchDisassociateScramSecretCommand = async (input, context) =>
|
|
|
31
31
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/scram-secrets";
|
|
32
32
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify({
|
|
35
|
-
|
|
36
|
-
});
|
|
34
|
+
body = JSON.stringify(take(input, {
|
|
35
|
+
secretArnList: [, (_) => _json(_), `SecretArnList`],
|
|
36
|
+
}));
|
|
37
37
|
return new __HttpRequest({
|
|
38
38
|
protocol,
|
|
39
39
|
hostname,
|
|
@@ -51,26 +51,20 @@ export const se_CreateClusterCommand = async (input, context) => {
|
|
|
51
51
|
};
|
|
52
52
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters";
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify({
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
...(input.LoggingInfo != null && { loggingInfo: se_LoggingInfo(input.LoggingInfo, context) }),
|
|
69
|
-
...(input.NumberOfBrokerNodes != null && { numberOfBrokerNodes: input.NumberOfBrokerNodes }),
|
|
70
|
-
...(input.OpenMonitoring != null && { openMonitoring: se_OpenMonitoringInfo(input.OpenMonitoring, context) }),
|
|
71
|
-
...(input.StorageMode != null && { storageMode: input.StorageMode }),
|
|
72
|
-
...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
|
|
73
|
-
});
|
|
54
|
+
body = JSON.stringify(take(input, {
|
|
55
|
+
brokerNodeGroupInfo: [, (_) => se_BrokerNodeGroupInfo(_, context), `BrokerNodeGroupInfo`],
|
|
56
|
+
clientAuthentication: [, (_) => se_ClientAuthentication(_, context), `ClientAuthentication`],
|
|
57
|
+
clusterName: [, , `ClusterName`],
|
|
58
|
+
configurationInfo: [, (_) => se_ConfigurationInfo(_, context), `ConfigurationInfo`],
|
|
59
|
+
encryptionInfo: [, (_) => se_EncryptionInfo(_, context), `EncryptionInfo`],
|
|
60
|
+
enhancedMonitoring: [, , `EnhancedMonitoring`],
|
|
61
|
+
kafkaVersion: [, , `KafkaVersion`],
|
|
62
|
+
loggingInfo: [, (_) => se_LoggingInfo(_, context), `LoggingInfo`],
|
|
63
|
+
numberOfBrokerNodes: [, , `NumberOfBrokerNodes`],
|
|
64
|
+
openMonitoring: [, (_) => se_OpenMonitoringInfo(_, context), `OpenMonitoring`],
|
|
65
|
+
storageMode: [, , `StorageMode`],
|
|
66
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
67
|
+
}));
|
|
74
68
|
return new __HttpRequest({
|
|
75
69
|
protocol,
|
|
76
70
|
hostname,
|
|
@@ -88,12 +82,12 @@ export const se_CreateClusterV2Command = async (input, context) => {
|
|
|
88
82
|
};
|
|
89
83
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/api/v2/clusters";
|
|
90
84
|
let body;
|
|
91
|
-
body = JSON.stringify({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
});
|
|
85
|
+
body = JSON.stringify(take(input, {
|
|
86
|
+
clusterName: [, , `ClusterName`],
|
|
87
|
+
provisioned: [, (_) => se_ProvisionedRequest(_, context), `Provisioned`],
|
|
88
|
+
serverless: [, (_) => se_ServerlessRequest(_, context), `Serverless`],
|
|
89
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
90
|
+
}));
|
|
97
91
|
return new __HttpRequest({
|
|
98
92
|
protocol,
|
|
99
93
|
hostname,
|
|
@@ -111,12 +105,12 @@ export const se_CreateConfigurationCommand = async (input, context) => {
|
|
|
111
105
|
};
|
|
112
106
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/configurations";
|
|
113
107
|
let body;
|
|
114
|
-
body = JSON.stringify({
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
});
|
|
108
|
+
body = JSON.stringify(take(input, {
|
|
109
|
+
description: [, , `Description`],
|
|
110
|
+
kafkaVersions: [, (_) => _json(_), `KafkaVersions`],
|
|
111
|
+
name: [, , `Name`],
|
|
112
|
+
serverProperties: [, (_) => context.base64Encoder(_), `ServerProperties`],
|
|
113
|
+
}));
|
|
120
114
|
return new __HttpRequest({
|
|
121
115
|
protocol,
|
|
122
116
|
hostname,
|
|
@@ -472,9 +466,9 @@ export const se_RebootBrokerCommand = async (input, context) => {
|
|
|
472
466
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/reboot-broker";
|
|
473
467
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
474
468
|
let body;
|
|
475
|
-
body = JSON.stringify({
|
|
476
|
-
|
|
477
|
-
});
|
|
469
|
+
body = JSON.stringify(take(input, {
|
|
470
|
+
brokerIds: [, (_) => _json(_), `BrokerIds`],
|
|
471
|
+
}));
|
|
478
472
|
return new __HttpRequest({
|
|
479
473
|
protocol,
|
|
480
474
|
hostname,
|
|
@@ -493,9 +487,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
493
487
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{ResourceArn}";
|
|
494
488
|
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
495
489
|
let body;
|
|
496
|
-
body = JSON.stringify({
|
|
497
|
-
|
|
498
|
-
});
|
|
490
|
+
body = JSON.stringify(take(input, {
|
|
491
|
+
tags: [, (_) => _json(_), `Tags`],
|
|
492
|
+
}));
|
|
499
493
|
return new __HttpRequest({
|
|
500
494
|
protocol,
|
|
501
495
|
hostname,
|
|
@@ -537,10 +531,10 @@ export const se_UpdateBrokerCountCommand = async (input, context) => {
|
|
|
537
531
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/nodes/count";
|
|
538
532
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
539
533
|
let body;
|
|
540
|
-
body = JSON.stringify({
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
});
|
|
534
|
+
body = JSON.stringify(take(input, {
|
|
535
|
+
currentVersion: [, , `CurrentVersion`],
|
|
536
|
+
targetNumberOfBrokerNodes: [, , `TargetNumberOfBrokerNodes`],
|
|
537
|
+
}));
|
|
544
538
|
return new __HttpRequest({
|
|
545
539
|
protocol,
|
|
546
540
|
hostname,
|
|
@@ -559,12 +553,10 @@ export const se_UpdateBrokerStorageCommand = async (input, context) => {
|
|
|
559
553
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/nodes/storage";
|
|
560
554
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
561
555
|
let body;
|
|
562
|
-
body = JSON.stringify({
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}),
|
|
567
|
-
});
|
|
556
|
+
body = JSON.stringify(take(input, {
|
|
557
|
+
currentVersion: [, , `CurrentVersion`],
|
|
558
|
+
targetBrokerEBSVolumeInfo: [, (_) => se___listOfBrokerEBSVolumeInfo(_, context), `TargetBrokerEBSVolumeInfo`],
|
|
559
|
+
}));
|
|
568
560
|
return new __HttpRequest({
|
|
569
561
|
protocol,
|
|
570
562
|
hostname,
|
|
@@ -583,10 +575,10 @@ export const se_UpdateBrokerTypeCommand = async (input, context) => {
|
|
|
583
575
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/nodes/type";
|
|
584
576
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
585
577
|
let body;
|
|
586
|
-
body = JSON.stringify({
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
});
|
|
578
|
+
body = JSON.stringify(take(input, {
|
|
579
|
+
currentVersion: [, , `CurrentVersion`],
|
|
580
|
+
targetInstanceType: [, , `TargetInstanceType`],
|
|
581
|
+
}));
|
|
590
582
|
return new __HttpRequest({
|
|
591
583
|
protocol,
|
|
592
584
|
hostname,
|
|
@@ -605,12 +597,10 @@ export const se_UpdateClusterConfigurationCommand = async (input, context) => {
|
|
|
605
597
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/configuration";
|
|
606
598
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
607
599
|
let body;
|
|
608
|
-
body = JSON.stringify({
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
...(input.CurrentVersion != null && { currentVersion: input.CurrentVersion }),
|
|
613
|
-
});
|
|
600
|
+
body = JSON.stringify(take(input, {
|
|
601
|
+
configurationInfo: [, (_) => se_ConfigurationInfo(_, context), `ConfigurationInfo`],
|
|
602
|
+
currentVersion: [, , `CurrentVersion`],
|
|
603
|
+
}));
|
|
614
604
|
return new __HttpRequest({
|
|
615
605
|
protocol,
|
|
616
606
|
hostname,
|
|
@@ -629,13 +619,11 @@ export const se_UpdateClusterKafkaVersionCommand = async (input, context) => {
|
|
|
629
619
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/version";
|
|
630
620
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
631
621
|
let body;
|
|
632
|
-
body = JSON.stringify({
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
...(input.TargetKafkaVersion != null && { targetKafkaVersion: input.TargetKafkaVersion }),
|
|
638
|
-
});
|
|
622
|
+
body = JSON.stringify(take(input, {
|
|
623
|
+
configurationInfo: [, (_) => se_ConfigurationInfo(_, context), `ConfigurationInfo`],
|
|
624
|
+
currentVersion: [, , `CurrentVersion`],
|
|
625
|
+
targetKafkaVersion: [, , `TargetKafkaVersion`],
|
|
626
|
+
}));
|
|
639
627
|
return new __HttpRequest({
|
|
640
628
|
protocol,
|
|
641
629
|
hostname,
|
|
@@ -654,10 +642,10 @@ export const se_UpdateConfigurationCommand = async (input, context) => {
|
|
|
654
642
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/configurations/{Arn}";
|
|
655
643
|
resolvedPath = __resolvedPath(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
|
|
656
644
|
let body;
|
|
657
|
-
body = JSON.stringify({
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
});
|
|
645
|
+
body = JSON.stringify(take(input, {
|
|
646
|
+
description: [, , `Description`],
|
|
647
|
+
serverProperties: [, (_) => context.base64Encoder(_), `ServerProperties`],
|
|
648
|
+
}));
|
|
661
649
|
return new __HttpRequest({
|
|
662
650
|
protocol,
|
|
663
651
|
hostname,
|
|
@@ -676,10 +664,10 @@ export const se_UpdateConnectivityCommand = async (input, context) => {
|
|
|
676
664
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/connectivity";
|
|
677
665
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
678
666
|
let body;
|
|
679
|
-
body = JSON.stringify({
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
});
|
|
667
|
+
body = JSON.stringify(take(input, {
|
|
668
|
+
connectivityInfo: [, (_) => se_ConnectivityInfo(_, context), `ConnectivityInfo`],
|
|
669
|
+
currentVersion: [, , `CurrentVersion`],
|
|
670
|
+
}));
|
|
683
671
|
return new __HttpRequest({
|
|
684
672
|
protocol,
|
|
685
673
|
hostname,
|
|
@@ -698,12 +686,12 @@ export const se_UpdateMonitoringCommand = async (input, context) => {
|
|
|
698
686
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/monitoring";
|
|
699
687
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
700
688
|
let body;
|
|
701
|
-
body = JSON.stringify({
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
});
|
|
689
|
+
body = JSON.stringify(take(input, {
|
|
690
|
+
currentVersion: [, , `CurrentVersion`],
|
|
691
|
+
enhancedMonitoring: [, , `EnhancedMonitoring`],
|
|
692
|
+
loggingInfo: [, (_) => se_LoggingInfo(_, context), `LoggingInfo`],
|
|
693
|
+
openMonitoring: [, (_) => se_OpenMonitoringInfo(_, context), `OpenMonitoring`],
|
|
694
|
+
}));
|
|
707
695
|
return new __HttpRequest({
|
|
708
696
|
protocol,
|
|
709
697
|
hostname,
|
|
@@ -722,13 +710,11 @@ export const se_UpdateSecurityCommand = async (input, context) => {
|
|
|
722
710
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/security";
|
|
723
711
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
724
712
|
let body;
|
|
725
|
-
body = JSON.stringify({
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
...(input.EncryptionInfo != null && { encryptionInfo: se_EncryptionInfo(input.EncryptionInfo, context) }),
|
|
731
|
-
});
|
|
713
|
+
body = JSON.stringify(take(input, {
|
|
714
|
+
clientAuthentication: [, (_) => se_ClientAuthentication(_, context), `ClientAuthentication`],
|
|
715
|
+
currentVersion: [, , `CurrentVersion`],
|
|
716
|
+
encryptionInfo: [, (_) => se_EncryptionInfo(_, context), `EncryptionInfo`],
|
|
717
|
+
}));
|
|
732
718
|
return new __HttpRequest({
|
|
733
719
|
protocol,
|
|
734
720
|
hostname,
|
|
@@ -747,14 +733,12 @@ export const se_UpdateStorageCommand = async (input, context) => {
|
|
|
747
733
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/storage";
|
|
748
734
|
resolvedPath = __resolvedPath(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
749
735
|
let body;
|
|
750
|
-
body = JSON.stringify({
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
...(input.VolumeSizeGB != null && { volumeSizeGB: input.VolumeSizeGB }),
|
|
757
|
-
});
|
|
736
|
+
body = JSON.stringify(take(input, {
|
|
737
|
+
currentVersion: [, , `CurrentVersion`],
|
|
738
|
+
provisionedThroughput: [, (_) => se_ProvisionedThroughput(_, context), `ProvisionedThroughput`],
|
|
739
|
+
storageMode: [, , `StorageMode`],
|
|
740
|
+
volumeSizeGB: [, , `VolumeSizeGB`],
|
|
741
|
+
}));
|
|
758
742
|
return new __HttpRequest({
|
|
759
743
|
protocol,
|
|
760
744
|
hostname,
|
|
@@ -773,12 +757,11 @@ export const de_BatchAssociateScramSecretCommand = async (output, context) => {
|
|
|
773
757
|
$metadata: deserializeMetadata(output),
|
|
774
758
|
});
|
|
775
759
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
}
|
|
760
|
+
const doc = take(data, {
|
|
761
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
762
|
+
UnprocessedScramSecrets: [, (_) => de___listOfUnprocessedScramSecret(_, context), `unprocessedScramSecrets`],
|
|
763
|
+
});
|
|
764
|
+
Object.assign(contents, doc);
|
|
782
765
|
return contents;
|
|
783
766
|
};
|
|
784
767
|
const de_BatchAssociateScramSecretCommandError = async (output, context) => {
|
|
@@ -811,10 +794,9 @@ const de_BatchAssociateScramSecretCommandError = async (output, context) => {
|
|
|
811
794
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
812
795
|
default:
|
|
813
796
|
const parsedBody = parsedOutput.body;
|
|
814
|
-
throwDefaultError({
|
|
797
|
+
return throwDefaultError({
|
|
815
798
|
output,
|
|
816
799
|
parsedBody,
|
|
817
|
-
exceptionCtor: __BaseException,
|
|
818
800
|
errorCode,
|
|
819
801
|
});
|
|
820
802
|
}
|
|
@@ -827,12 +809,11 @@ export const de_BatchDisassociateScramSecretCommand = async (output, context) =>
|
|
|
827
809
|
$metadata: deserializeMetadata(output),
|
|
828
810
|
});
|
|
829
811
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}
|
|
812
|
+
const doc = take(data, {
|
|
813
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
814
|
+
UnprocessedScramSecrets: [, (_) => de___listOfUnprocessedScramSecret(_, context), `unprocessedScramSecrets`],
|
|
815
|
+
});
|
|
816
|
+
Object.assign(contents, doc);
|
|
836
817
|
return contents;
|
|
837
818
|
};
|
|
838
819
|
const de_BatchDisassociateScramSecretCommandError = async (output, context) => {
|
|
@@ -865,10 +846,9 @@ const de_BatchDisassociateScramSecretCommandError = async (output, context) => {
|
|
|
865
846
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
866
847
|
default:
|
|
867
848
|
const parsedBody = parsedOutput.body;
|
|
868
|
-
throwDefaultError({
|
|
849
|
+
return throwDefaultError({
|
|
869
850
|
output,
|
|
870
851
|
parsedBody,
|
|
871
|
-
exceptionCtor: __BaseException,
|
|
872
852
|
errorCode,
|
|
873
853
|
});
|
|
874
854
|
}
|
|
@@ -881,15 +861,12 @@ export const de_CreateClusterCommand = async (output, context) => {
|
|
|
881
861
|
$metadata: deserializeMetadata(output),
|
|
882
862
|
});
|
|
883
863
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
if (data.state != null) {
|
|
891
|
-
contents.State = __expectString(data.state);
|
|
892
|
-
}
|
|
864
|
+
const doc = take(data, {
|
|
865
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
866
|
+
ClusterName: [, __expectString, `clusterName`],
|
|
867
|
+
State: [, __expectString, `state`],
|
|
868
|
+
});
|
|
869
|
+
Object.assign(contents, doc);
|
|
893
870
|
return contents;
|
|
894
871
|
};
|
|
895
872
|
const de_CreateClusterCommandError = async (output, context) => {
|
|
@@ -922,10 +899,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
922
899
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
923
900
|
default:
|
|
924
901
|
const parsedBody = parsedOutput.body;
|
|
925
|
-
throwDefaultError({
|
|
902
|
+
return throwDefaultError({
|
|
926
903
|
output,
|
|
927
904
|
parsedBody,
|
|
928
|
-
exceptionCtor: __BaseException,
|
|
929
905
|
errorCode,
|
|
930
906
|
});
|
|
931
907
|
}
|
|
@@ -938,18 +914,13 @@ export const de_CreateClusterV2Command = async (output, context) => {
|
|
|
938
914
|
$metadata: deserializeMetadata(output),
|
|
939
915
|
});
|
|
940
916
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
contents.ClusterType = __expectString(data.clusterType);
|
|
949
|
-
}
|
|
950
|
-
if (data.state != null) {
|
|
951
|
-
contents.State = __expectString(data.state);
|
|
952
|
-
}
|
|
917
|
+
const doc = take(data, {
|
|
918
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
919
|
+
ClusterName: [, __expectString, `clusterName`],
|
|
920
|
+
ClusterType: [, __expectString, `clusterType`],
|
|
921
|
+
State: [, __expectString, `state`],
|
|
922
|
+
});
|
|
923
|
+
Object.assign(contents, doc);
|
|
953
924
|
return contents;
|
|
954
925
|
};
|
|
955
926
|
const de_CreateClusterV2CommandError = async (output, context) => {
|
|
@@ -982,10 +953,9 @@ const de_CreateClusterV2CommandError = async (output, context) => {
|
|
|
982
953
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
983
954
|
default:
|
|
984
955
|
const parsedBody = parsedOutput.body;
|
|
985
|
-
throwDefaultError({
|
|
956
|
+
return throwDefaultError({
|
|
986
957
|
output,
|
|
987
958
|
parsedBody,
|
|
988
|
-
exceptionCtor: __BaseException,
|
|
989
959
|
errorCode,
|
|
990
960
|
});
|
|
991
961
|
}
|
|
@@ -998,21 +968,14 @@ export const de_CreateConfigurationCommand = async (output, context) => {
|
|
|
998
968
|
$metadata: deserializeMetadata(output),
|
|
999
969
|
});
|
|
1000
970
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
}
|
|
1010
|
-
if (data.name != null) {
|
|
1011
|
-
contents.Name = __expectString(data.name);
|
|
1012
|
-
}
|
|
1013
|
-
if (data.state != null) {
|
|
1014
|
-
contents.State = __expectString(data.state);
|
|
1015
|
-
}
|
|
971
|
+
const doc = take(data, {
|
|
972
|
+
Arn: [, __expectString, `arn`],
|
|
973
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
974
|
+
LatestRevision: [, (_) => de_ConfigurationRevision(_, context), `latestRevision`],
|
|
975
|
+
Name: [, __expectString, `name`],
|
|
976
|
+
State: [, __expectString, `state`],
|
|
977
|
+
});
|
|
978
|
+
Object.assign(contents, doc);
|
|
1016
979
|
return contents;
|
|
1017
980
|
};
|
|
1018
981
|
const de_CreateConfigurationCommandError = async (output, context) => {
|
|
@@ -1045,10 +1008,9 @@ const de_CreateConfigurationCommandError = async (output, context) => {
|
|
|
1045
1008
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1046
1009
|
default:
|
|
1047
1010
|
const parsedBody = parsedOutput.body;
|
|
1048
|
-
throwDefaultError({
|
|
1011
|
+
return throwDefaultError({
|
|
1049
1012
|
output,
|
|
1050
1013
|
parsedBody,
|
|
1051
|
-
exceptionCtor: __BaseException,
|
|
1052
1014
|
errorCode,
|
|
1053
1015
|
});
|
|
1054
1016
|
}
|
|
@@ -1061,12 +1023,11 @@ export const de_DeleteClusterCommand = async (output, context) => {
|
|
|
1061
1023
|
$metadata: deserializeMetadata(output),
|
|
1062
1024
|
});
|
|
1063
1025
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
}
|
|
1026
|
+
const doc = take(data, {
|
|
1027
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
1028
|
+
State: [, __expectString, `state`],
|
|
1029
|
+
});
|
|
1030
|
+
Object.assign(contents, doc);
|
|
1070
1031
|
return contents;
|
|
1071
1032
|
};
|
|
1072
1033
|
const de_DeleteClusterCommandError = async (output, context) => {
|
|
@@ -1090,10 +1051,9 @@ const de_DeleteClusterCommandError = async (output, context) => {
|
|
|
1090
1051
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1091
1052
|
default:
|
|
1092
1053
|
const parsedBody = parsedOutput.body;
|
|
1093
|
-
throwDefaultError({
|
|
1054
|
+
return throwDefaultError({
|
|
1094
1055
|
output,
|
|
1095
1056
|
parsedBody,
|
|
1096
|
-
exceptionCtor: __BaseException,
|
|
1097
1057
|
errorCode,
|
|
1098
1058
|
});
|
|
1099
1059
|
}
|
|
@@ -1106,12 +1066,11 @@ export const de_DeleteConfigurationCommand = async (output, context) => {
|
|
|
1106
1066
|
$metadata: deserializeMetadata(output),
|
|
1107
1067
|
});
|
|
1108
1068
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
}
|
|
1069
|
+
const doc = take(data, {
|
|
1070
|
+
Arn: [, __expectString, `arn`],
|
|
1071
|
+
State: [, __expectString, `state`],
|
|
1072
|
+
});
|
|
1073
|
+
Object.assign(contents, doc);
|
|
1115
1074
|
return contents;
|
|
1116
1075
|
};
|
|
1117
1076
|
const de_DeleteConfigurationCommandError = async (output, context) => {
|
|
@@ -1135,10 +1094,9 @@ const de_DeleteConfigurationCommandError = async (output, context) => {
|
|
|
1135
1094
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1136
1095
|
default:
|
|
1137
1096
|
const parsedBody = parsedOutput.body;
|
|
1138
|
-
throwDefaultError({
|
|
1097
|
+
return throwDefaultError({
|
|
1139
1098
|
output,
|
|
1140
1099
|
parsedBody,
|
|
1141
|
-
exceptionCtor: __BaseException,
|
|
1142
1100
|
errorCode,
|
|
1143
1101
|
});
|
|
1144
1102
|
}
|
|
@@ -1151,9 +1109,10 @@ export const de_DescribeClusterCommand = async (output, context) => {
|
|
|
1151
1109
|
$metadata: deserializeMetadata(output),
|
|
1152
1110
|
});
|
|
1153
1111
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
}
|
|
1112
|
+
const doc = take(data, {
|
|
1113
|
+
ClusterInfo: [, (_) => de_ClusterInfo(_, context), `clusterInfo`],
|
|
1114
|
+
});
|
|
1115
|
+
Object.assign(contents, doc);
|
|
1157
1116
|
return contents;
|
|
1158
1117
|
};
|
|
1159
1118
|
const de_DescribeClusterCommandError = async (output, context) => {
|
|
@@ -1180,10 +1139,9 @@ const de_DescribeClusterCommandError = async (output, context) => {
|
|
|
1180
1139
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1181
1140
|
default:
|
|
1182
1141
|
const parsedBody = parsedOutput.body;
|
|
1183
|
-
throwDefaultError({
|
|
1142
|
+
return throwDefaultError({
|
|
1184
1143
|
output,
|
|
1185
1144
|
parsedBody,
|
|
1186
|
-
exceptionCtor: __BaseException,
|
|
1187
1145
|
errorCode,
|
|
1188
1146
|
});
|
|
1189
1147
|
}
|
|
@@ -1196,9 +1154,10 @@ export const de_DescribeClusterOperationCommand = async (output, context) => {
|
|
|
1196
1154
|
$metadata: deserializeMetadata(output),
|
|
1197
1155
|
});
|
|
1198
1156
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
}
|
|
1157
|
+
const doc = take(data, {
|
|
1158
|
+
ClusterOperationInfo: [, (_) => de_ClusterOperationInfo(_, context), `clusterOperationInfo`],
|
|
1159
|
+
});
|
|
1160
|
+
Object.assign(contents, doc);
|
|
1202
1161
|
return contents;
|
|
1203
1162
|
};
|
|
1204
1163
|
const de_DescribeClusterOperationCommandError = async (output, context) => {
|
|
@@ -1225,10 +1184,9 @@ const de_DescribeClusterOperationCommandError = async (output, context) => {
|
|
|
1225
1184
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1226
1185
|
default:
|
|
1227
1186
|
const parsedBody = parsedOutput.body;
|
|
1228
|
-
throwDefaultError({
|
|
1187
|
+
return throwDefaultError({
|
|
1229
1188
|
output,
|
|
1230
1189
|
parsedBody,
|
|
1231
|
-
exceptionCtor: __BaseException,
|
|
1232
1190
|
errorCode,
|
|
1233
1191
|
});
|
|
1234
1192
|
}
|
|
@@ -1241,9 +1199,10 @@ export const de_DescribeClusterV2Command = async (output, context) => {
|
|
|
1241
1199
|
$metadata: deserializeMetadata(output),
|
|
1242
1200
|
});
|
|
1243
1201
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
}
|
|
1202
|
+
const doc = take(data, {
|
|
1203
|
+
ClusterInfo: [, (_) => de_Cluster(_, context), `clusterInfo`],
|
|
1204
|
+
});
|
|
1205
|
+
Object.assign(contents, doc);
|
|
1247
1206
|
return contents;
|
|
1248
1207
|
};
|
|
1249
1208
|
const de_DescribeClusterV2CommandError = async (output, context) => {
|
|
@@ -1270,10 +1229,9 @@ const de_DescribeClusterV2CommandError = async (output, context) => {
|
|
|
1270
1229
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1271
1230
|
default:
|
|
1272
1231
|
const parsedBody = parsedOutput.body;
|
|
1273
|
-
throwDefaultError({
|
|
1232
|
+
return throwDefaultError({
|
|
1274
1233
|
output,
|
|
1275
1234
|
parsedBody,
|
|
1276
|
-
exceptionCtor: __BaseException,
|
|
1277
1235
|
errorCode,
|
|
1278
1236
|
});
|
|
1279
1237
|
}
|
|
@@ -1286,27 +1244,16 @@ export const de_DescribeConfigurationCommand = async (output, context) => {
|
|
|
1286
1244
|
$metadata: deserializeMetadata(output),
|
|
1287
1245
|
});
|
|
1288
1246
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
contents.KafkaVersions = de___listOf__string(data.kafkaVersions, context);
|
|
1300
|
-
}
|
|
1301
|
-
if (data.latestRevision != null) {
|
|
1302
|
-
contents.LatestRevision = de_ConfigurationRevision(data.latestRevision, context);
|
|
1303
|
-
}
|
|
1304
|
-
if (data.name != null) {
|
|
1305
|
-
contents.Name = __expectString(data.name);
|
|
1306
|
-
}
|
|
1307
|
-
if (data.state != null) {
|
|
1308
|
-
contents.State = __expectString(data.state);
|
|
1309
|
-
}
|
|
1247
|
+
const doc = take(data, {
|
|
1248
|
+
Arn: [, __expectString, `arn`],
|
|
1249
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
1250
|
+
Description: [, __expectString, `description`],
|
|
1251
|
+
KafkaVersions: [, _json, `kafkaVersions`],
|
|
1252
|
+
LatestRevision: [, (_) => de_ConfigurationRevision(_, context), `latestRevision`],
|
|
1253
|
+
Name: [, __expectString, `name`],
|
|
1254
|
+
State: [, __expectString, `state`],
|
|
1255
|
+
});
|
|
1256
|
+
Object.assign(contents, doc);
|
|
1310
1257
|
return contents;
|
|
1311
1258
|
};
|
|
1312
1259
|
const de_DescribeConfigurationCommandError = async (output, context) => {
|
|
@@ -1336,10 +1283,9 @@ const de_DescribeConfigurationCommandError = async (output, context) => {
|
|
|
1336
1283
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1337
1284
|
default:
|
|
1338
1285
|
const parsedBody = parsedOutput.body;
|
|
1339
|
-
throwDefaultError({
|
|
1286
|
+
return throwDefaultError({
|
|
1340
1287
|
output,
|
|
1341
1288
|
parsedBody,
|
|
1342
|
-
exceptionCtor: __BaseException,
|
|
1343
1289
|
errorCode,
|
|
1344
1290
|
});
|
|
1345
1291
|
}
|
|
@@ -1352,21 +1298,14 @@ export const de_DescribeConfigurationRevisionCommand = async (output, context) =
|
|
|
1352
1298
|
$metadata: deserializeMetadata(output),
|
|
1353
1299
|
});
|
|
1354
1300
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
}
|
|
1364
|
-
if (data.revision != null) {
|
|
1365
|
-
contents.Revision = __expectLong(data.revision);
|
|
1366
|
-
}
|
|
1367
|
-
if (data.serverProperties != null) {
|
|
1368
|
-
contents.ServerProperties = context.base64Decoder(data.serverProperties);
|
|
1369
|
-
}
|
|
1301
|
+
const doc = take(data, {
|
|
1302
|
+
Arn: [, __expectString, `arn`],
|
|
1303
|
+
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
1304
|
+
Description: [, __expectString, `description`],
|
|
1305
|
+
Revision: [, __expectLong, `revision`],
|
|
1306
|
+
ServerProperties: [, context.base64Decoder, `serverProperties`],
|
|
1307
|
+
});
|
|
1308
|
+
Object.assign(contents, doc);
|
|
1370
1309
|
return contents;
|
|
1371
1310
|
};
|
|
1372
1311
|
const de_DescribeConfigurationRevisionCommandError = async (output, context) => {
|
|
@@ -1396,10 +1335,9 @@ const de_DescribeConfigurationRevisionCommandError = async (output, context) =>
|
|
|
1396
1335
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1397
1336
|
default:
|
|
1398
1337
|
const parsedBody = parsedOutput.body;
|
|
1399
|
-
throwDefaultError({
|
|
1338
|
+
return throwDefaultError({
|
|
1400
1339
|
output,
|
|
1401
1340
|
parsedBody,
|
|
1402
|
-
exceptionCtor: __BaseException,
|
|
1403
1341
|
errorCode,
|
|
1404
1342
|
});
|
|
1405
1343
|
}
|
|
@@ -1412,27 +1350,16 @@ export const de_GetBootstrapBrokersCommand = async (output, context) => {
|
|
|
1412
1350
|
$metadata: deserializeMetadata(output),
|
|
1413
1351
|
});
|
|
1414
1352
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
contents.BootstrapBrokerStringPublicTls = __expectString(data.bootstrapBrokerStringPublicTls);
|
|
1426
|
-
}
|
|
1427
|
-
if (data.bootstrapBrokerStringSaslIam != null) {
|
|
1428
|
-
contents.BootstrapBrokerStringSaslIam = __expectString(data.bootstrapBrokerStringSaslIam);
|
|
1429
|
-
}
|
|
1430
|
-
if (data.bootstrapBrokerStringSaslScram != null) {
|
|
1431
|
-
contents.BootstrapBrokerStringSaslScram = __expectString(data.bootstrapBrokerStringSaslScram);
|
|
1432
|
-
}
|
|
1433
|
-
if (data.bootstrapBrokerStringTls != null) {
|
|
1434
|
-
contents.BootstrapBrokerStringTls = __expectString(data.bootstrapBrokerStringTls);
|
|
1435
|
-
}
|
|
1353
|
+
const doc = take(data, {
|
|
1354
|
+
BootstrapBrokerString: [, __expectString, `bootstrapBrokerString`],
|
|
1355
|
+
BootstrapBrokerStringPublicSaslIam: [, __expectString, `bootstrapBrokerStringPublicSaslIam`],
|
|
1356
|
+
BootstrapBrokerStringPublicSaslScram: [, __expectString, `bootstrapBrokerStringPublicSaslScram`],
|
|
1357
|
+
BootstrapBrokerStringPublicTls: [, __expectString, `bootstrapBrokerStringPublicTls`],
|
|
1358
|
+
BootstrapBrokerStringSaslIam: [, __expectString, `bootstrapBrokerStringSaslIam`],
|
|
1359
|
+
BootstrapBrokerStringSaslScram: [, __expectString, `bootstrapBrokerStringSaslScram`],
|
|
1360
|
+
BootstrapBrokerStringTls: [, __expectString, `bootstrapBrokerStringTls`],
|
|
1361
|
+
});
|
|
1362
|
+
Object.assign(contents, doc);
|
|
1436
1363
|
return contents;
|
|
1437
1364
|
};
|
|
1438
1365
|
const de_GetBootstrapBrokersCommandError = async (output, context) => {
|
|
@@ -1459,10 +1386,9 @@ const de_GetBootstrapBrokersCommandError = async (output, context) => {
|
|
|
1459
1386
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1460
1387
|
default:
|
|
1461
1388
|
const parsedBody = parsedOutput.body;
|
|
1462
|
-
throwDefaultError({
|
|
1389
|
+
return throwDefaultError({
|
|
1463
1390
|
output,
|
|
1464
1391
|
parsedBody,
|
|
1465
|
-
exceptionCtor: __BaseException,
|
|
1466
1392
|
errorCode,
|
|
1467
1393
|
});
|
|
1468
1394
|
}
|
|
@@ -1475,9 +1401,10 @@ export const de_GetCompatibleKafkaVersionsCommand = async (output, context) => {
|
|
|
1475
1401
|
$metadata: deserializeMetadata(output),
|
|
1476
1402
|
});
|
|
1477
1403
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
}
|
|
1404
|
+
const doc = take(data, {
|
|
1405
|
+
CompatibleKafkaVersions: [, (_) => de___listOfCompatibleKafkaVersion(_, context), `compatibleKafkaVersions`],
|
|
1406
|
+
});
|
|
1407
|
+
Object.assign(contents, doc);
|
|
1481
1408
|
return contents;
|
|
1482
1409
|
};
|
|
1483
1410
|
const de_GetCompatibleKafkaVersionsCommandError = async (output, context) => {
|
|
@@ -1510,10 +1437,9 @@ const de_GetCompatibleKafkaVersionsCommandError = async (output, context) => {
|
|
|
1510
1437
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1511
1438
|
default:
|
|
1512
1439
|
const parsedBody = parsedOutput.body;
|
|
1513
|
-
throwDefaultError({
|
|
1440
|
+
return throwDefaultError({
|
|
1514
1441
|
output,
|
|
1515
1442
|
parsedBody,
|
|
1516
|
-
exceptionCtor: __BaseException,
|
|
1517
1443
|
errorCode,
|
|
1518
1444
|
});
|
|
1519
1445
|
}
|
|
@@ -1526,12 +1452,11 @@ export const de_ListClusterOperationsCommand = async (output, context) => {
|
|
|
1526
1452
|
$metadata: deserializeMetadata(output),
|
|
1527
1453
|
});
|
|
1528
1454
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
}
|
|
1455
|
+
const doc = take(data, {
|
|
1456
|
+
ClusterOperationInfoList: [, (_) => de___listOfClusterOperationInfo(_, context), `clusterOperationInfoList`],
|
|
1457
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1458
|
+
});
|
|
1459
|
+
Object.assign(contents, doc);
|
|
1535
1460
|
return contents;
|
|
1536
1461
|
};
|
|
1537
1462
|
const de_ListClusterOperationsCommandError = async (output, context) => {
|
|
@@ -1555,10 +1480,9 @@ const de_ListClusterOperationsCommandError = async (output, context) => {
|
|
|
1555
1480
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1556
1481
|
default:
|
|
1557
1482
|
const parsedBody = parsedOutput.body;
|
|
1558
|
-
throwDefaultError({
|
|
1483
|
+
return throwDefaultError({
|
|
1559
1484
|
output,
|
|
1560
1485
|
parsedBody,
|
|
1561
|
-
exceptionCtor: __BaseException,
|
|
1562
1486
|
errorCode,
|
|
1563
1487
|
});
|
|
1564
1488
|
}
|
|
@@ -1571,12 +1495,11 @@ export const de_ListClustersCommand = async (output, context) => {
|
|
|
1571
1495
|
$metadata: deserializeMetadata(output),
|
|
1572
1496
|
});
|
|
1573
1497
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
}
|
|
1498
|
+
const doc = take(data, {
|
|
1499
|
+
ClusterInfoList: [, (_) => de___listOfClusterInfo(_, context), `clusterInfoList`],
|
|
1500
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1501
|
+
});
|
|
1502
|
+
Object.assign(contents, doc);
|
|
1580
1503
|
return contents;
|
|
1581
1504
|
};
|
|
1582
1505
|
const de_ListClustersCommandError = async (output, context) => {
|
|
@@ -1600,10 +1523,9 @@ const de_ListClustersCommandError = async (output, context) => {
|
|
|
1600
1523
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1601
1524
|
default:
|
|
1602
1525
|
const parsedBody = parsedOutput.body;
|
|
1603
|
-
throwDefaultError({
|
|
1526
|
+
return throwDefaultError({
|
|
1604
1527
|
output,
|
|
1605
1528
|
parsedBody,
|
|
1606
|
-
exceptionCtor: __BaseException,
|
|
1607
1529
|
errorCode,
|
|
1608
1530
|
});
|
|
1609
1531
|
}
|
|
@@ -1616,12 +1538,11 @@ export const de_ListClustersV2Command = async (output, context) => {
|
|
|
1616
1538
|
$metadata: deserializeMetadata(output),
|
|
1617
1539
|
});
|
|
1618
1540
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
}
|
|
1541
|
+
const doc = take(data, {
|
|
1542
|
+
ClusterInfoList: [, (_) => de___listOfCluster(_, context), `clusterInfoList`],
|
|
1543
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1544
|
+
});
|
|
1545
|
+
Object.assign(contents, doc);
|
|
1625
1546
|
return contents;
|
|
1626
1547
|
};
|
|
1627
1548
|
const de_ListClustersV2CommandError = async (output, context) => {
|
|
@@ -1645,10 +1566,9 @@ const de_ListClustersV2CommandError = async (output, context) => {
|
|
|
1645
1566
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1646
1567
|
default:
|
|
1647
1568
|
const parsedBody = parsedOutput.body;
|
|
1648
|
-
throwDefaultError({
|
|
1569
|
+
return throwDefaultError({
|
|
1649
1570
|
output,
|
|
1650
1571
|
parsedBody,
|
|
1651
|
-
exceptionCtor: __BaseException,
|
|
1652
1572
|
errorCode,
|
|
1653
1573
|
});
|
|
1654
1574
|
}
|
|
@@ -1661,12 +1581,11 @@ export const de_ListConfigurationRevisionsCommand = async (output, context) => {
|
|
|
1661
1581
|
$metadata: deserializeMetadata(output),
|
|
1662
1582
|
});
|
|
1663
1583
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
}
|
|
1584
|
+
const doc = take(data, {
|
|
1585
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1586
|
+
Revisions: [, (_) => de___listOfConfigurationRevision(_, context), `revisions`],
|
|
1587
|
+
});
|
|
1588
|
+
Object.assign(contents, doc);
|
|
1670
1589
|
return contents;
|
|
1671
1590
|
};
|
|
1672
1591
|
const de_ListConfigurationRevisionsCommandError = async (output, context) => {
|
|
@@ -1696,10 +1615,9 @@ const de_ListConfigurationRevisionsCommandError = async (output, context) => {
|
|
|
1696
1615
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1697
1616
|
default:
|
|
1698
1617
|
const parsedBody = parsedOutput.body;
|
|
1699
|
-
throwDefaultError({
|
|
1618
|
+
return throwDefaultError({
|
|
1700
1619
|
output,
|
|
1701
1620
|
parsedBody,
|
|
1702
|
-
exceptionCtor: __BaseException,
|
|
1703
1621
|
errorCode,
|
|
1704
1622
|
});
|
|
1705
1623
|
}
|
|
@@ -1712,12 +1630,11 @@ export const de_ListConfigurationsCommand = async (output, context) => {
|
|
|
1712
1630
|
$metadata: deserializeMetadata(output),
|
|
1713
1631
|
});
|
|
1714
1632
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
}
|
|
1633
|
+
const doc = take(data, {
|
|
1634
|
+
Configurations: [, (_) => de___listOfConfiguration(_, context), `configurations`],
|
|
1635
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1636
|
+
});
|
|
1637
|
+
Object.assign(contents, doc);
|
|
1721
1638
|
return contents;
|
|
1722
1639
|
};
|
|
1723
1640
|
const de_ListConfigurationsCommandError = async (output, context) => {
|
|
@@ -1744,10 +1661,9 @@ const de_ListConfigurationsCommandError = async (output, context) => {
|
|
|
1744
1661
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1745
1662
|
default:
|
|
1746
1663
|
const parsedBody = parsedOutput.body;
|
|
1747
|
-
throwDefaultError({
|
|
1664
|
+
return throwDefaultError({
|
|
1748
1665
|
output,
|
|
1749
1666
|
parsedBody,
|
|
1750
|
-
exceptionCtor: __BaseException,
|
|
1751
1667
|
errorCode,
|
|
1752
1668
|
});
|
|
1753
1669
|
}
|
|
@@ -1760,12 +1676,11 @@ export const de_ListKafkaVersionsCommand = async (output, context) => {
|
|
|
1760
1676
|
$metadata: deserializeMetadata(output),
|
|
1761
1677
|
});
|
|
1762
1678
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
}
|
|
1679
|
+
const doc = take(data, {
|
|
1680
|
+
KafkaVersions: [, (_) => de___listOfKafkaVersion(_, context), `kafkaVersions`],
|
|
1681
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1682
|
+
});
|
|
1683
|
+
Object.assign(contents, doc);
|
|
1769
1684
|
return contents;
|
|
1770
1685
|
};
|
|
1771
1686
|
const de_ListKafkaVersionsCommandError = async (output, context) => {
|
|
@@ -1789,10 +1704,9 @@ const de_ListKafkaVersionsCommandError = async (output, context) => {
|
|
|
1789
1704
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1790
1705
|
default:
|
|
1791
1706
|
const parsedBody = parsedOutput.body;
|
|
1792
|
-
throwDefaultError({
|
|
1707
|
+
return throwDefaultError({
|
|
1793
1708
|
output,
|
|
1794
1709
|
parsedBody,
|
|
1795
|
-
exceptionCtor: __BaseException,
|
|
1796
1710
|
errorCode,
|
|
1797
1711
|
});
|
|
1798
1712
|
}
|
|
@@ -1805,12 +1719,11 @@ export const de_ListNodesCommand = async (output, context) => {
|
|
|
1805
1719
|
$metadata: deserializeMetadata(output),
|
|
1806
1720
|
});
|
|
1807
1721
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
}
|
|
1722
|
+
const doc = take(data, {
|
|
1723
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1724
|
+
NodeInfoList: [, (_) => de___listOfNodeInfo(_, context), `nodeInfoList`],
|
|
1725
|
+
});
|
|
1726
|
+
Object.assign(contents, doc);
|
|
1814
1727
|
return contents;
|
|
1815
1728
|
};
|
|
1816
1729
|
const de_ListNodesCommandError = async (output, context) => {
|
|
@@ -1834,10 +1747,9 @@ const de_ListNodesCommandError = async (output, context) => {
|
|
|
1834
1747
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1835
1748
|
default:
|
|
1836
1749
|
const parsedBody = parsedOutput.body;
|
|
1837
|
-
throwDefaultError({
|
|
1750
|
+
return throwDefaultError({
|
|
1838
1751
|
output,
|
|
1839
1752
|
parsedBody,
|
|
1840
|
-
exceptionCtor: __BaseException,
|
|
1841
1753
|
errorCode,
|
|
1842
1754
|
});
|
|
1843
1755
|
}
|
|
@@ -1850,12 +1762,11 @@ export const de_ListScramSecretsCommand = async (output, context) => {
|
|
|
1850
1762
|
$metadata: deserializeMetadata(output),
|
|
1851
1763
|
});
|
|
1852
1764
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
}
|
|
1765
|
+
const doc = take(data, {
|
|
1766
|
+
NextToken: [, __expectString, `nextToken`],
|
|
1767
|
+
SecretArnList: [, _json, `secretArnList`],
|
|
1768
|
+
});
|
|
1769
|
+
Object.assign(contents, doc);
|
|
1859
1770
|
return contents;
|
|
1860
1771
|
};
|
|
1861
1772
|
const de_ListScramSecretsCommandError = async (output, context) => {
|
|
@@ -1888,10 +1799,9 @@ const de_ListScramSecretsCommandError = async (output, context) => {
|
|
|
1888
1799
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1889
1800
|
default:
|
|
1890
1801
|
const parsedBody = parsedOutput.body;
|
|
1891
|
-
throwDefaultError({
|
|
1802
|
+
return throwDefaultError({
|
|
1892
1803
|
output,
|
|
1893
1804
|
parsedBody,
|
|
1894
|
-
exceptionCtor: __BaseException,
|
|
1895
1805
|
errorCode,
|
|
1896
1806
|
});
|
|
1897
1807
|
}
|
|
@@ -1904,9 +1814,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1904
1814
|
$metadata: deserializeMetadata(output),
|
|
1905
1815
|
});
|
|
1906
1816
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
}
|
|
1817
|
+
const doc = take(data, {
|
|
1818
|
+
Tags: [, _json, `tags`],
|
|
1819
|
+
});
|
|
1820
|
+
Object.assign(contents, doc);
|
|
1910
1821
|
return contents;
|
|
1911
1822
|
};
|
|
1912
1823
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1927,10 +1838,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1927
1838
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1928
1839
|
default:
|
|
1929
1840
|
const parsedBody = parsedOutput.body;
|
|
1930
|
-
throwDefaultError({
|
|
1841
|
+
return throwDefaultError({
|
|
1931
1842
|
output,
|
|
1932
1843
|
parsedBody,
|
|
1933
|
-
exceptionCtor: __BaseException,
|
|
1934
1844
|
errorCode,
|
|
1935
1845
|
});
|
|
1936
1846
|
}
|
|
@@ -1943,12 +1853,11 @@ export const de_RebootBrokerCommand = async (output, context) => {
|
|
|
1943
1853
|
$metadata: deserializeMetadata(output),
|
|
1944
1854
|
});
|
|
1945
1855
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
}
|
|
1856
|
+
const doc = take(data, {
|
|
1857
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
1858
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1859
|
+
});
|
|
1860
|
+
Object.assign(contents, doc);
|
|
1952
1861
|
return contents;
|
|
1953
1862
|
};
|
|
1954
1863
|
const de_RebootBrokerCommandError = async (output, context) => {
|
|
@@ -1981,10 +1890,9 @@ const de_RebootBrokerCommandError = async (output, context) => {
|
|
|
1981
1890
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1982
1891
|
default:
|
|
1983
1892
|
const parsedBody = parsedOutput.body;
|
|
1984
|
-
throwDefaultError({
|
|
1893
|
+
return throwDefaultError({
|
|
1985
1894
|
output,
|
|
1986
1895
|
parsedBody,
|
|
1987
|
-
exceptionCtor: __BaseException,
|
|
1988
1896
|
errorCode,
|
|
1989
1897
|
});
|
|
1990
1898
|
}
|
|
@@ -2017,10 +1925,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2017
1925
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2018
1926
|
default:
|
|
2019
1927
|
const parsedBody = parsedOutput.body;
|
|
2020
|
-
throwDefaultError({
|
|
1928
|
+
return throwDefaultError({
|
|
2021
1929
|
output,
|
|
2022
1930
|
parsedBody,
|
|
2023
|
-
exceptionCtor: __BaseException,
|
|
2024
1931
|
errorCode,
|
|
2025
1932
|
});
|
|
2026
1933
|
}
|
|
@@ -2053,10 +1960,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2053
1960
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2054
1961
|
default:
|
|
2055
1962
|
const parsedBody = parsedOutput.body;
|
|
2056
|
-
throwDefaultError({
|
|
1963
|
+
return throwDefaultError({
|
|
2057
1964
|
output,
|
|
2058
1965
|
parsedBody,
|
|
2059
|
-
exceptionCtor: __BaseException,
|
|
2060
1966
|
errorCode,
|
|
2061
1967
|
});
|
|
2062
1968
|
}
|
|
@@ -2069,12 +1975,11 @@ export const de_UpdateBrokerCountCommand = async (output, context) => {
|
|
|
2069
1975
|
$metadata: deserializeMetadata(output),
|
|
2070
1976
|
});
|
|
2071
1977
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
}
|
|
1978
|
+
const doc = take(data, {
|
|
1979
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
1980
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1981
|
+
});
|
|
1982
|
+
Object.assign(contents, doc);
|
|
2078
1983
|
return contents;
|
|
2079
1984
|
};
|
|
2080
1985
|
const de_UpdateBrokerCountCommandError = async (output, context) => {
|
|
@@ -2101,10 +2006,9 @@ const de_UpdateBrokerCountCommandError = async (output, context) => {
|
|
|
2101
2006
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2102
2007
|
default:
|
|
2103
2008
|
const parsedBody = parsedOutput.body;
|
|
2104
|
-
throwDefaultError({
|
|
2009
|
+
return throwDefaultError({
|
|
2105
2010
|
output,
|
|
2106
2011
|
parsedBody,
|
|
2107
|
-
exceptionCtor: __BaseException,
|
|
2108
2012
|
errorCode,
|
|
2109
2013
|
});
|
|
2110
2014
|
}
|
|
@@ -2117,12 +2021,11 @@ export const de_UpdateBrokerStorageCommand = async (output, context) => {
|
|
|
2117
2021
|
$metadata: deserializeMetadata(output),
|
|
2118
2022
|
});
|
|
2119
2023
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
}
|
|
2024
|
+
const doc = take(data, {
|
|
2025
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2026
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
2027
|
+
});
|
|
2028
|
+
Object.assign(contents, doc);
|
|
2126
2029
|
return contents;
|
|
2127
2030
|
};
|
|
2128
2031
|
const de_UpdateBrokerStorageCommandError = async (output, context) => {
|
|
@@ -2149,10 +2052,9 @@ const de_UpdateBrokerStorageCommandError = async (output, context) => {
|
|
|
2149
2052
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2150
2053
|
default:
|
|
2151
2054
|
const parsedBody = parsedOutput.body;
|
|
2152
|
-
throwDefaultError({
|
|
2055
|
+
return throwDefaultError({
|
|
2153
2056
|
output,
|
|
2154
2057
|
parsedBody,
|
|
2155
|
-
exceptionCtor: __BaseException,
|
|
2156
2058
|
errorCode,
|
|
2157
2059
|
});
|
|
2158
2060
|
}
|
|
@@ -2165,12 +2067,11 @@ export const de_UpdateBrokerTypeCommand = async (output, context) => {
|
|
|
2165
2067
|
$metadata: deserializeMetadata(output),
|
|
2166
2068
|
});
|
|
2167
2069
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
}
|
|
2070
|
+
const doc = take(data, {
|
|
2071
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2072
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
2073
|
+
});
|
|
2074
|
+
Object.assign(contents, doc);
|
|
2174
2075
|
return contents;
|
|
2175
2076
|
};
|
|
2176
2077
|
const de_UpdateBrokerTypeCommandError = async (output, context) => {
|
|
@@ -2203,10 +2104,9 @@ const de_UpdateBrokerTypeCommandError = async (output, context) => {
|
|
|
2203
2104
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2204
2105
|
default:
|
|
2205
2106
|
const parsedBody = parsedOutput.body;
|
|
2206
|
-
throwDefaultError({
|
|
2107
|
+
return throwDefaultError({
|
|
2207
2108
|
output,
|
|
2208
2109
|
parsedBody,
|
|
2209
|
-
exceptionCtor: __BaseException,
|
|
2210
2110
|
errorCode,
|
|
2211
2111
|
});
|
|
2212
2112
|
}
|
|
@@ -2219,12 +2119,11 @@ export const de_UpdateClusterConfigurationCommand = async (output, context) => {
|
|
|
2219
2119
|
$metadata: deserializeMetadata(output),
|
|
2220
2120
|
});
|
|
2221
2121
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
}
|
|
2122
|
+
const doc = take(data, {
|
|
2123
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2124
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
2125
|
+
});
|
|
2126
|
+
Object.assign(contents, doc);
|
|
2228
2127
|
return contents;
|
|
2229
2128
|
};
|
|
2230
2129
|
const de_UpdateClusterConfigurationCommandError = async (output, context) => {
|
|
@@ -2254,10 +2153,9 @@ const de_UpdateClusterConfigurationCommandError = async (output, context) => {
|
|
|
2254
2153
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2255
2154
|
default:
|
|
2256
2155
|
const parsedBody = parsedOutput.body;
|
|
2257
|
-
throwDefaultError({
|
|
2156
|
+
return throwDefaultError({
|
|
2258
2157
|
output,
|
|
2259
2158
|
parsedBody,
|
|
2260
|
-
exceptionCtor: __BaseException,
|
|
2261
2159
|
errorCode,
|
|
2262
2160
|
});
|
|
2263
2161
|
}
|
|
@@ -2270,12 +2168,11 @@ export const de_UpdateClusterKafkaVersionCommand = async (output, context) => {
|
|
|
2270
2168
|
$metadata: deserializeMetadata(output),
|
|
2271
2169
|
});
|
|
2272
2170
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
}
|
|
2171
|
+
const doc = take(data, {
|
|
2172
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2173
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
2174
|
+
});
|
|
2175
|
+
Object.assign(contents, doc);
|
|
2279
2176
|
return contents;
|
|
2280
2177
|
};
|
|
2281
2178
|
const de_UpdateClusterKafkaVersionCommandError = async (output, context) => {
|
|
@@ -2308,10 +2205,9 @@ const de_UpdateClusterKafkaVersionCommandError = async (output, context) => {
|
|
|
2308
2205
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2309
2206
|
default:
|
|
2310
2207
|
const parsedBody = parsedOutput.body;
|
|
2311
|
-
throwDefaultError({
|
|
2208
|
+
return throwDefaultError({
|
|
2312
2209
|
output,
|
|
2313
2210
|
parsedBody,
|
|
2314
|
-
exceptionCtor: __BaseException,
|
|
2315
2211
|
errorCode,
|
|
2316
2212
|
});
|
|
2317
2213
|
}
|
|
@@ -2324,12 +2220,11 @@ export const de_UpdateConfigurationCommand = async (output, context) => {
|
|
|
2324
2220
|
$metadata: deserializeMetadata(output),
|
|
2325
2221
|
});
|
|
2326
2222
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
}
|
|
2223
|
+
const doc = take(data, {
|
|
2224
|
+
Arn: [, __expectString, `arn`],
|
|
2225
|
+
LatestRevision: [, (_) => de_ConfigurationRevision(_, context), `latestRevision`],
|
|
2226
|
+
});
|
|
2227
|
+
Object.assign(contents, doc);
|
|
2333
2228
|
return contents;
|
|
2334
2229
|
};
|
|
2335
2230
|
const de_UpdateConfigurationCommandError = async (output, context) => {
|
|
@@ -2359,10 +2254,9 @@ const de_UpdateConfigurationCommandError = async (output, context) => {
|
|
|
2359
2254
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2360
2255
|
default:
|
|
2361
2256
|
const parsedBody = parsedOutput.body;
|
|
2362
|
-
throwDefaultError({
|
|
2257
|
+
return throwDefaultError({
|
|
2363
2258
|
output,
|
|
2364
2259
|
parsedBody,
|
|
2365
|
-
exceptionCtor: __BaseException,
|
|
2366
2260
|
errorCode,
|
|
2367
2261
|
});
|
|
2368
2262
|
}
|
|
@@ -2375,12 +2269,11 @@ export const de_UpdateConnectivityCommand = async (output, context) => {
|
|
|
2375
2269
|
$metadata: deserializeMetadata(output),
|
|
2376
2270
|
});
|
|
2377
2271
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
}
|
|
2272
|
+
const doc = take(data, {
|
|
2273
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2274
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
2275
|
+
});
|
|
2276
|
+
Object.assign(contents, doc);
|
|
2384
2277
|
return contents;
|
|
2385
2278
|
};
|
|
2386
2279
|
const de_UpdateConnectivityCommandError = async (output, context) => {
|
|
@@ -2410,10 +2303,9 @@ const de_UpdateConnectivityCommandError = async (output, context) => {
|
|
|
2410
2303
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2411
2304
|
default:
|
|
2412
2305
|
const parsedBody = parsedOutput.body;
|
|
2413
|
-
throwDefaultError({
|
|
2306
|
+
return throwDefaultError({
|
|
2414
2307
|
output,
|
|
2415
2308
|
parsedBody,
|
|
2416
|
-
exceptionCtor: __BaseException,
|
|
2417
2309
|
errorCode,
|
|
2418
2310
|
});
|
|
2419
2311
|
}
|
|
@@ -2426,12 +2318,11 @@ export const de_UpdateMonitoringCommand = async (output, context) => {
|
|
|
2426
2318
|
$metadata: deserializeMetadata(output),
|
|
2427
2319
|
});
|
|
2428
2320
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
}
|
|
2321
|
+
const doc = take(data, {
|
|
2322
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2323
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
2324
|
+
});
|
|
2325
|
+
Object.assign(contents, doc);
|
|
2435
2326
|
return contents;
|
|
2436
2327
|
};
|
|
2437
2328
|
const de_UpdateMonitoringCommandError = async (output, context) => {
|
|
@@ -2458,10 +2349,9 @@ const de_UpdateMonitoringCommandError = async (output, context) => {
|
|
|
2458
2349
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2459
2350
|
default:
|
|
2460
2351
|
const parsedBody = parsedOutput.body;
|
|
2461
|
-
throwDefaultError({
|
|
2352
|
+
return throwDefaultError({
|
|
2462
2353
|
output,
|
|
2463
2354
|
parsedBody,
|
|
2464
|
-
exceptionCtor: __BaseException,
|
|
2465
2355
|
errorCode,
|
|
2466
2356
|
});
|
|
2467
2357
|
}
|
|
@@ -2474,12 +2364,11 @@ export const de_UpdateSecurityCommand = async (output, context) => {
|
|
|
2474
2364
|
$metadata: deserializeMetadata(output),
|
|
2475
2365
|
});
|
|
2476
2366
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
}
|
|
2367
|
+
const doc = take(data, {
|
|
2368
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2369
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
2370
|
+
});
|
|
2371
|
+
Object.assign(contents, doc);
|
|
2483
2372
|
return contents;
|
|
2484
2373
|
};
|
|
2485
2374
|
const de_UpdateSecurityCommandError = async (output, context) => {
|
|
@@ -2512,10 +2401,9 @@ const de_UpdateSecurityCommandError = async (output, context) => {
|
|
|
2512
2401
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2513
2402
|
default:
|
|
2514
2403
|
const parsedBody = parsedOutput.body;
|
|
2515
|
-
throwDefaultError({
|
|
2404
|
+
return throwDefaultError({
|
|
2516
2405
|
output,
|
|
2517
2406
|
parsedBody,
|
|
2518
|
-
exceptionCtor: __BaseException,
|
|
2519
2407
|
errorCode,
|
|
2520
2408
|
});
|
|
2521
2409
|
}
|
|
@@ -2528,12 +2416,11 @@ export const de_UpdateStorageCommand = async (output, context) => {
|
|
|
2528
2416
|
$metadata: deserializeMetadata(output),
|
|
2529
2417
|
});
|
|
2530
2418
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
}
|
|
2419
|
+
const doc = take(data, {
|
|
2420
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2421
|
+
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
2422
|
+
});
|
|
2423
|
+
Object.assign(contents, doc);
|
|
2537
2424
|
return contents;
|
|
2538
2425
|
};
|
|
2539
2426
|
const de_UpdateStorageCommandError = async (output, context) => {
|
|
@@ -2566,24 +2453,22 @@ const de_UpdateStorageCommandError = async (output, context) => {
|
|
|
2566
2453
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2567
2454
|
default:
|
|
2568
2455
|
const parsedBody = parsedOutput.body;
|
|
2569
|
-
throwDefaultError({
|
|
2456
|
+
return throwDefaultError({
|
|
2570
2457
|
output,
|
|
2571
2458
|
parsedBody,
|
|
2572
|
-
exceptionCtor: __BaseException,
|
|
2573
2459
|
errorCode,
|
|
2574
2460
|
});
|
|
2575
2461
|
}
|
|
2576
2462
|
};
|
|
2577
|
-
const
|
|
2463
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2578
2464
|
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
2579
2465
|
const contents = map({});
|
|
2580
2466
|
const data = parsedOutput.body;
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
}
|
|
2467
|
+
const doc = take(data, {
|
|
2468
|
+
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
2469
|
+
Message: [, __expectString, `message`],
|
|
2470
|
+
});
|
|
2471
|
+
Object.assign(contents, doc);
|
|
2587
2472
|
const exception = new BadRequestException({
|
|
2588
2473
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2589
2474
|
...contents,
|
|
@@ -2593,12 +2478,11 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
2593
2478
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2594
2479
|
const contents = map({});
|
|
2595
2480
|
const data = parsedOutput.body;
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
}
|
|
2481
|
+
const doc = take(data, {
|
|
2482
|
+
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
2483
|
+
Message: [, __expectString, `message`],
|
|
2484
|
+
});
|
|
2485
|
+
Object.assign(contents, doc);
|
|
2602
2486
|
const exception = new ConflictException({
|
|
2603
2487
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2604
2488
|
...contents,
|
|
@@ -2608,12 +2492,11 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2608
2492
|
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
2609
2493
|
const contents = map({});
|
|
2610
2494
|
const data = parsedOutput.body;
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
}
|
|
2495
|
+
const doc = take(data, {
|
|
2496
|
+
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
2497
|
+
Message: [, __expectString, `message`],
|
|
2498
|
+
});
|
|
2499
|
+
Object.assign(contents, doc);
|
|
2617
2500
|
const exception = new ForbiddenException({
|
|
2618
2501
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2619
2502
|
...contents,
|
|
@@ -2623,12 +2506,11 @@ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
|
2623
2506
|
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
2624
2507
|
const contents = map({});
|
|
2625
2508
|
const data = parsedOutput.body;
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
}
|
|
2509
|
+
const doc = take(data, {
|
|
2510
|
+
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
2511
|
+
Message: [, __expectString, `message`],
|
|
2512
|
+
});
|
|
2513
|
+
Object.assign(contents, doc);
|
|
2632
2514
|
const exception = new InternalServerErrorException({
|
|
2633
2515
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2634
2516
|
...contents,
|
|
@@ -2638,12 +2520,11 @@ const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
2638
2520
|
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2639
2521
|
const contents = map({});
|
|
2640
2522
|
const data = parsedOutput.body;
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
}
|
|
2523
|
+
const doc = take(data, {
|
|
2524
|
+
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
2525
|
+
Message: [, __expectString, `message`],
|
|
2526
|
+
});
|
|
2527
|
+
Object.assign(contents, doc);
|
|
2647
2528
|
const exception = new NotFoundException({
|
|
2648
2529
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2649
2530
|
...contents,
|
|
@@ -2653,12 +2534,11 @@ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2653
2534
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
2654
2535
|
const contents = map({});
|
|
2655
2536
|
const data = parsedOutput.body;
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
}
|
|
2537
|
+
const doc = take(data, {
|
|
2538
|
+
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
2539
|
+
Message: [, __expectString, `message`],
|
|
2540
|
+
});
|
|
2541
|
+
Object.assign(contents, doc);
|
|
2662
2542
|
const exception = new ServiceUnavailableException({
|
|
2663
2543
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2664
2544
|
...contents,
|
|
@@ -2668,12 +2548,11 @@ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
2668
2548
|
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
2669
2549
|
const contents = map({});
|
|
2670
2550
|
const data = parsedOutput.body;
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
}
|
|
2551
|
+
const doc = take(data, {
|
|
2552
|
+
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
2553
|
+
Message: [, __expectString, `message`],
|
|
2554
|
+
});
|
|
2555
|
+
Object.assign(contents, doc);
|
|
2677
2556
|
const exception = new TooManyRequestsException({
|
|
2678
2557
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2679
2558
|
...contents,
|
|
@@ -2683,25 +2562,17 @@ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
|
2683
2562
|
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
2684
2563
|
const contents = map({});
|
|
2685
2564
|
const data = parsedOutput.body;
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
}
|
|
2565
|
+
const doc = take(data, {
|
|
2566
|
+
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
2567
|
+
Message: [, __expectString, `message`],
|
|
2568
|
+
});
|
|
2569
|
+
Object.assign(contents, doc);
|
|
2692
2570
|
const exception = new UnauthorizedException({
|
|
2693
2571
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2694
2572
|
...contents,
|
|
2695
2573
|
});
|
|
2696
2574
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2697
2575
|
};
|
|
2698
|
-
const se___listOf__string = (input, context) => {
|
|
2699
|
-
return input
|
|
2700
|
-
.filter((e) => e != null)
|
|
2701
|
-
.map((entry) => {
|
|
2702
|
-
return entry;
|
|
2703
|
-
});
|
|
2704
|
-
};
|
|
2705
2576
|
const se___listOfBrokerEBSVolumeInfo = (input, context) => {
|
|
2706
2577
|
return input
|
|
2707
2578
|
.filter((e) => e != null)
|
|
@@ -2716,238 +2587,199 @@ const se___listOfVpcConfig = (input, context) => {
|
|
|
2716
2587
|
return se_VpcConfig(entry, context);
|
|
2717
2588
|
});
|
|
2718
2589
|
};
|
|
2719
|
-
const se___mapOf__string = (input, context) => {
|
|
2720
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2721
|
-
if (value === null) {
|
|
2722
|
-
return acc;
|
|
2723
|
-
}
|
|
2724
|
-
acc[key] = value;
|
|
2725
|
-
return acc;
|
|
2726
|
-
}, {});
|
|
2727
|
-
};
|
|
2728
2590
|
const se_BrokerEBSVolumeInfo = (input, context) => {
|
|
2729
|
-
return {
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
...(input.VolumeSizeGB != null && { volumeSizeGB: input.VolumeSizeGB }),
|
|
2735
|
-
};
|
|
2591
|
+
return take(input, {
|
|
2592
|
+
kafkaBrokerNodeId: [, , `KafkaBrokerNodeId`],
|
|
2593
|
+
provisionedThroughput: [, (_) => se_ProvisionedThroughput(_, context), `ProvisionedThroughput`],
|
|
2594
|
+
volumeSizeGB: [, , `VolumeSizeGB`],
|
|
2595
|
+
});
|
|
2736
2596
|
};
|
|
2737
2597
|
const se_BrokerLogs = (input, context) => {
|
|
2738
|
-
return {
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
};
|
|
2598
|
+
return take(input, {
|
|
2599
|
+
cloudWatchLogs: [, (_) => se_CloudWatchLogs(_, context), `CloudWatchLogs`],
|
|
2600
|
+
firehose: [, (_) => se_Firehose(_, context), `Firehose`],
|
|
2601
|
+
s3: [, (_) => se_S3(_, context), `S3`],
|
|
2602
|
+
});
|
|
2743
2603
|
};
|
|
2744
2604
|
const se_BrokerNodeGroupInfo = (input, context) => {
|
|
2745
|
-
return {
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
};
|
|
2605
|
+
return take(input, {
|
|
2606
|
+
brokerAZDistribution: [, , `BrokerAZDistribution`],
|
|
2607
|
+
clientSubnets: [, _json, `ClientSubnets`],
|
|
2608
|
+
connectivityInfo: [, (_) => se_ConnectivityInfo(_, context), `ConnectivityInfo`],
|
|
2609
|
+
instanceType: [, , `InstanceType`],
|
|
2610
|
+
securityGroups: [, _json, `SecurityGroups`],
|
|
2611
|
+
storageInfo: [, (_) => se_StorageInfo(_, context), `StorageInfo`],
|
|
2612
|
+
});
|
|
2753
2613
|
};
|
|
2754
2614
|
const se_ClientAuthentication = (input, context) => {
|
|
2755
|
-
return {
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
};
|
|
2615
|
+
return take(input, {
|
|
2616
|
+
sasl: [, (_) => se_Sasl(_, context), `Sasl`],
|
|
2617
|
+
tls: [, (_) => se_Tls(_, context), `Tls`],
|
|
2618
|
+
unauthenticated: [, (_) => se_Unauthenticated(_, context), `Unauthenticated`],
|
|
2619
|
+
});
|
|
2760
2620
|
};
|
|
2761
2621
|
const se_CloudWatchLogs = (input, context) => {
|
|
2762
|
-
return {
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
};
|
|
2622
|
+
return take(input, {
|
|
2623
|
+
enabled: [, , `Enabled`],
|
|
2624
|
+
logGroup: [, , `LogGroup`],
|
|
2625
|
+
});
|
|
2766
2626
|
};
|
|
2767
2627
|
const se_ConfigurationInfo = (input, context) => {
|
|
2768
|
-
return {
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
};
|
|
2628
|
+
return take(input, {
|
|
2629
|
+
arn: [, , `Arn`],
|
|
2630
|
+
revision: [, , `Revision`],
|
|
2631
|
+
});
|
|
2772
2632
|
};
|
|
2773
2633
|
const se_ConnectivityInfo = (input, context) => {
|
|
2774
|
-
return {
|
|
2775
|
-
|
|
2776
|
-
};
|
|
2634
|
+
return take(input, {
|
|
2635
|
+
publicAccess: [, (_) => se_PublicAccess(_, context), `PublicAccess`],
|
|
2636
|
+
});
|
|
2777
2637
|
};
|
|
2778
2638
|
const se_EBSStorageInfo = (input, context) => {
|
|
2779
|
-
return {
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
...(input.VolumeSize != null && { volumeSize: input.VolumeSize }),
|
|
2784
|
-
};
|
|
2639
|
+
return take(input, {
|
|
2640
|
+
provisionedThroughput: [, (_) => se_ProvisionedThroughput(_, context), `ProvisionedThroughput`],
|
|
2641
|
+
volumeSize: [, , `VolumeSize`],
|
|
2642
|
+
});
|
|
2785
2643
|
};
|
|
2786
2644
|
const se_EncryptionAtRest = (input, context) => {
|
|
2787
|
-
return {
|
|
2788
|
-
|
|
2789
|
-
};
|
|
2645
|
+
return take(input, {
|
|
2646
|
+
dataVolumeKMSKeyId: [, , `DataVolumeKMSKeyId`],
|
|
2647
|
+
});
|
|
2790
2648
|
};
|
|
2791
2649
|
const se_EncryptionInfo = (input, context) => {
|
|
2792
|
-
return {
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
}),
|
|
2797
|
-
};
|
|
2650
|
+
return take(input, {
|
|
2651
|
+
encryptionAtRest: [, (_) => se_EncryptionAtRest(_, context), `EncryptionAtRest`],
|
|
2652
|
+
encryptionInTransit: [, (_) => se_EncryptionInTransit(_, context), `EncryptionInTransit`],
|
|
2653
|
+
});
|
|
2798
2654
|
};
|
|
2799
2655
|
const se_EncryptionInTransit = (input, context) => {
|
|
2800
|
-
return {
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
};
|
|
2656
|
+
return take(input, {
|
|
2657
|
+
clientBroker: [, , `ClientBroker`],
|
|
2658
|
+
inCluster: [, , `InCluster`],
|
|
2659
|
+
});
|
|
2804
2660
|
};
|
|
2805
2661
|
const se_Firehose = (input, context) => {
|
|
2806
|
-
return {
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
};
|
|
2662
|
+
return take(input, {
|
|
2663
|
+
deliveryStream: [, , `DeliveryStream`],
|
|
2664
|
+
enabled: [, , `Enabled`],
|
|
2665
|
+
});
|
|
2810
2666
|
};
|
|
2811
2667
|
const se_Iam = (input, context) => {
|
|
2812
|
-
return {
|
|
2813
|
-
|
|
2814
|
-
};
|
|
2668
|
+
return take(input, {
|
|
2669
|
+
enabled: [, , `Enabled`],
|
|
2670
|
+
});
|
|
2815
2671
|
};
|
|
2816
2672
|
const se_JmxExporterInfo = (input, context) => {
|
|
2817
|
-
return {
|
|
2818
|
-
|
|
2819
|
-
};
|
|
2673
|
+
return take(input, {
|
|
2674
|
+
enabledInBroker: [, , `EnabledInBroker`],
|
|
2675
|
+
});
|
|
2820
2676
|
};
|
|
2821
2677
|
const se_LoggingInfo = (input, context) => {
|
|
2822
|
-
return {
|
|
2823
|
-
|
|
2824
|
-
};
|
|
2678
|
+
return take(input, {
|
|
2679
|
+
brokerLogs: [, (_) => se_BrokerLogs(_, context), `BrokerLogs`],
|
|
2680
|
+
});
|
|
2825
2681
|
};
|
|
2826
2682
|
const se_NodeExporterInfo = (input, context) => {
|
|
2827
|
-
return {
|
|
2828
|
-
|
|
2829
|
-
};
|
|
2683
|
+
return take(input, {
|
|
2684
|
+
enabledInBroker: [, , `EnabledInBroker`],
|
|
2685
|
+
});
|
|
2830
2686
|
};
|
|
2831
2687
|
const se_OpenMonitoringInfo = (input, context) => {
|
|
2832
|
-
return {
|
|
2833
|
-
|
|
2834
|
-
};
|
|
2688
|
+
return take(input, {
|
|
2689
|
+
prometheus: [, (_) => se_PrometheusInfo(_, context), `Prometheus`],
|
|
2690
|
+
});
|
|
2835
2691
|
};
|
|
2836
2692
|
const se_PrometheusInfo = (input, context) => {
|
|
2837
|
-
return {
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
};
|
|
2693
|
+
return take(input, {
|
|
2694
|
+
jmxExporter: [, (_) => se_JmxExporterInfo(_, context), `JmxExporter`],
|
|
2695
|
+
nodeExporter: [, (_) => se_NodeExporterInfo(_, context), `NodeExporter`],
|
|
2696
|
+
});
|
|
2841
2697
|
};
|
|
2842
2698
|
const se_ProvisionedRequest = (input, context) => {
|
|
2843
|
-
return {
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
...(input.KafkaVersion != null && { kafkaVersion: input.KafkaVersion }),
|
|
2856
|
-
...(input.LoggingInfo != null && { loggingInfo: se_LoggingInfo(input.LoggingInfo, context) }),
|
|
2857
|
-
...(input.NumberOfBrokerNodes != null && { numberOfBrokerNodes: input.NumberOfBrokerNodes }),
|
|
2858
|
-
...(input.OpenMonitoring != null && { openMonitoring: se_OpenMonitoringInfo(input.OpenMonitoring, context) }),
|
|
2859
|
-
...(input.StorageMode != null && { storageMode: input.StorageMode }),
|
|
2860
|
-
};
|
|
2699
|
+
return take(input, {
|
|
2700
|
+
brokerNodeGroupInfo: [, (_) => se_BrokerNodeGroupInfo(_, context), `BrokerNodeGroupInfo`],
|
|
2701
|
+
clientAuthentication: [, (_) => se_ClientAuthentication(_, context), `ClientAuthentication`],
|
|
2702
|
+
configurationInfo: [, (_) => se_ConfigurationInfo(_, context), `ConfigurationInfo`],
|
|
2703
|
+
encryptionInfo: [, (_) => se_EncryptionInfo(_, context), `EncryptionInfo`],
|
|
2704
|
+
enhancedMonitoring: [, , `EnhancedMonitoring`],
|
|
2705
|
+
kafkaVersion: [, , `KafkaVersion`],
|
|
2706
|
+
loggingInfo: [, (_) => se_LoggingInfo(_, context), `LoggingInfo`],
|
|
2707
|
+
numberOfBrokerNodes: [, , `NumberOfBrokerNodes`],
|
|
2708
|
+
openMonitoring: [, (_) => se_OpenMonitoringInfo(_, context), `OpenMonitoring`],
|
|
2709
|
+
storageMode: [, , `StorageMode`],
|
|
2710
|
+
});
|
|
2861
2711
|
};
|
|
2862
2712
|
const se_ProvisionedThroughput = (input, context) => {
|
|
2863
|
-
return {
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
};
|
|
2713
|
+
return take(input, {
|
|
2714
|
+
enabled: [, , `Enabled`],
|
|
2715
|
+
volumeThroughput: [, , `VolumeThroughput`],
|
|
2716
|
+
});
|
|
2867
2717
|
};
|
|
2868
2718
|
const se_PublicAccess = (input, context) => {
|
|
2869
|
-
return {
|
|
2870
|
-
|
|
2871
|
-
};
|
|
2719
|
+
return take(input, {
|
|
2720
|
+
type: [, , `Type`],
|
|
2721
|
+
});
|
|
2872
2722
|
};
|
|
2873
2723
|
const se_S3 = (input, context) => {
|
|
2874
|
-
return {
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
};
|
|
2724
|
+
return take(input, {
|
|
2725
|
+
bucket: [, , `Bucket`],
|
|
2726
|
+
enabled: [, , `Enabled`],
|
|
2727
|
+
prefix: [, , `Prefix`],
|
|
2728
|
+
});
|
|
2879
2729
|
};
|
|
2880
2730
|
const se_Sasl = (input, context) => {
|
|
2881
|
-
return {
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
};
|
|
2731
|
+
return take(input, {
|
|
2732
|
+
iam: [, (_) => se_Iam(_, context), `Iam`],
|
|
2733
|
+
scram: [, (_) => se_Scram(_, context), `Scram`],
|
|
2734
|
+
});
|
|
2885
2735
|
};
|
|
2886
2736
|
const se_Scram = (input, context) => {
|
|
2887
|
-
return {
|
|
2888
|
-
|
|
2889
|
-
};
|
|
2737
|
+
return take(input, {
|
|
2738
|
+
enabled: [, , `Enabled`],
|
|
2739
|
+
});
|
|
2890
2740
|
};
|
|
2891
2741
|
const se_ServerlessClientAuthentication = (input, context) => {
|
|
2892
|
-
return {
|
|
2893
|
-
|
|
2894
|
-
};
|
|
2742
|
+
return take(input, {
|
|
2743
|
+
sasl: [, (_) => se_ServerlessSasl(_, context), `Sasl`],
|
|
2744
|
+
});
|
|
2895
2745
|
};
|
|
2896
2746
|
const se_ServerlessRequest = (input, context) => {
|
|
2897
|
-
return {
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
...(input.VpcConfigs != null && { vpcConfigs: se___listOfVpcConfig(input.VpcConfigs, context) }),
|
|
2902
|
-
};
|
|
2747
|
+
return take(input, {
|
|
2748
|
+
clientAuthentication: [, (_) => se_ServerlessClientAuthentication(_, context), `ClientAuthentication`],
|
|
2749
|
+
vpcConfigs: [, (_) => se___listOfVpcConfig(_, context), `VpcConfigs`],
|
|
2750
|
+
});
|
|
2903
2751
|
};
|
|
2904
2752
|
const se_ServerlessSasl = (input, context) => {
|
|
2905
|
-
return {
|
|
2906
|
-
|
|
2907
|
-
};
|
|
2753
|
+
return take(input, {
|
|
2754
|
+
iam: [, (_) => se_Iam(_, context), `Iam`],
|
|
2755
|
+
});
|
|
2908
2756
|
};
|
|
2909
2757
|
const se_StorageInfo = (input, context) => {
|
|
2910
|
-
return {
|
|
2911
|
-
|
|
2912
|
-
};
|
|
2758
|
+
return take(input, {
|
|
2759
|
+
ebsStorageInfo: [, (_) => se_EBSStorageInfo(_, context), `EbsStorageInfo`],
|
|
2760
|
+
});
|
|
2913
2761
|
};
|
|
2914
2762
|
const se_Tls = (input, context) => {
|
|
2915
|
-
return {
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
...(input.Enabled != null && { enabled: input.Enabled }),
|
|
2920
|
-
};
|
|
2763
|
+
return take(input, {
|
|
2764
|
+
certificateAuthorityArnList: [, _json, `CertificateAuthorityArnList`],
|
|
2765
|
+
enabled: [, , `Enabled`],
|
|
2766
|
+
});
|
|
2921
2767
|
};
|
|
2922
2768
|
const se_Unauthenticated = (input, context) => {
|
|
2923
|
-
return {
|
|
2924
|
-
|
|
2925
|
-
};
|
|
2769
|
+
return take(input, {
|
|
2770
|
+
enabled: [, , `Enabled`],
|
|
2771
|
+
});
|
|
2926
2772
|
};
|
|
2927
2773
|
const se_VpcConfig = (input, context) => {
|
|
2928
|
-
return {
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
};
|
|
2932
|
-
};
|
|
2933
|
-
const de___listOf__string = (output, context) => {
|
|
2934
|
-
const retVal = (output || [])
|
|
2935
|
-
.filter((e) => e != null)
|
|
2936
|
-
.map((entry) => {
|
|
2937
|
-
if (entry === null) {
|
|
2938
|
-
return null;
|
|
2939
|
-
}
|
|
2940
|
-
return __expectString(entry);
|
|
2774
|
+
return take(input, {
|
|
2775
|
+
securityGroupIds: [, _json, `SecurityGroupIds`],
|
|
2776
|
+
subnetIds: [, _json, `SubnetIds`],
|
|
2941
2777
|
});
|
|
2942
|
-
return retVal;
|
|
2943
2778
|
};
|
|
2944
2779
|
const de___listOfBrokerEBSVolumeInfo = (output, context) => {
|
|
2945
2780
|
const retVal = (output || [])
|
|
2946
2781
|
.filter((e) => e != null)
|
|
2947
2782
|
.map((entry) => {
|
|
2948
|
-
if (entry === null) {
|
|
2949
|
-
return null;
|
|
2950
|
-
}
|
|
2951
2783
|
return de_BrokerEBSVolumeInfo(entry, context);
|
|
2952
2784
|
});
|
|
2953
2785
|
return retVal;
|
|
@@ -2956,9 +2788,6 @@ const de___listOfCluster = (output, context) => {
|
|
|
2956
2788
|
const retVal = (output || [])
|
|
2957
2789
|
.filter((e) => e != null)
|
|
2958
2790
|
.map((entry) => {
|
|
2959
|
-
if (entry === null) {
|
|
2960
|
-
return null;
|
|
2961
|
-
}
|
|
2962
2791
|
return de_Cluster(entry, context);
|
|
2963
2792
|
});
|
|
2964
2793
|
return retVal;
|
|
@@ -2967,9 +2796,6 @@ const de___listOfClusterInfo = (output, context) => {
|
|
|
2967
2796
|
const retVal = (output || [])
|
|
2968
2797
|
.filter((e) => e != null)
|
|
2969
2798
|
.map((entry) => {
|
|
2970
|
-
if (entry === null) {
|
|
2971
|
-
return null;
|
|
2972
|
-
}
|
|
2973
2799
|
return de_ClusterInfo(entry, context);
|
|
2974
2800
|
});
|
|
2975
2801
|
return retVal;
|
|
@@ -2978,9 +2804,6 @@ const de___listOfClusterOperationInfo = (output, context) => {
|
|
|
2978
2804
|
const retVal = (output || [])
|
|
2979
2805
|
.filter((e) => e != null)
|
|
2980
2806
|
.map((entry) => {
|
|
2981
|
-
if (entry === null) {
|
|
2982
|
-
return null;
|
|
2983
|
-
}
|
|
2984
2807
|
return de_ClusterOperationInfo(entry, context);
|
|
2985
2808
|
});
|
|
2986
2809
|
return retVal;
|
|
@@ -2989,9 +2812,6 @@ const de___listOfClusterOperationStep = (output, context) => {
|
|
|
2989
2812
|
const retVal = (output || [])
|
|
2990
2813
|
.filter((e) => e != null)
|
|
2991
2814
|
.map((entry) => {
|
|
2992
|
-
if (entry === null) {
|
|
2993
|
-
return null;
|
|
2994
|
-
}
|
|
2995
2815
|
return de_ClusterOperationStep(entry, context);
|
|
2996
2816
|
});
|
|
2997
2817
|
return retVal;
|
|
@@ -3000,9 +2820,6 @@ const de___listOfCompatibleKafkaVersion = (output, context) => {
|
|
|
3000
2820
|
const retVal = (output || [])
|
|
3001
2821
|
.filter((e) => e != null)
|
|
3002
2822
|
.map((entry) => {
|
|
3003
|
-
if (entry === null) {
|
|
3004
|
-
return null;
|
|
3005
|
-
}
|
|
3006
2823
|
return de_CompatibleKafkaVersion(entry, context);
|
|
3007
2824
|
});
|
|
3008
2825
|
return retVal;
|
|
@@ -3011,9 +2828,6 @@ const de___listOfConfiguration = (output, context) => {
|
|
|
3011
2828
|
const retVal = (output || [])
|
|
3012
2829
|
.filter((e) => e != null)
|
|
3013
2830
|
.map((entry) => {
|
|
3014
|
-
if (entry === null) {
|
|
3015
|
-
return null;
|
|
3016
|
-
}
|
|
3017
2831
|
return de_Configuration(entry, context);
|
|
3018
2832
|
});
|
|
3019
2833
|
return retVal;
|
|
@@ -3022,9 +2836,6 @@ const de___listOfConfigurationRevision = (output, context) => {
|
|
|
3022
2836
|
const retVal = (output || [])
|
|
3023
2837
|
.filter((e) => e != null)
|
|
3024
2838
|
.map((entry) => {
|
|
3025
|
-
if (entry === null) {
|
|
3026
|
-
return null;
|
|
3027
|
-
}
|
|
3028
2839
|
return de_ConfigurationRevision(entry, context);
|
|
3029
2840
|
});
|
|
3030
2841
|
return retVal;
|
|
@@ -3033,9 +2844,6 @@ const de___listOfKafkaVersion = (output, context) => {
|
|
|
3033
2844
|
const retVal = (output || [])
|
|
3034
2845
|
.filter((e) => e != null)
|
|
3035
2846
|
.map((entry) => {
|
|
3036
|
-
if (entry === null) {
|
|
3037
|
-
return null;
|
|
3038
|
-
}
|
|
3039
2847
|
return de_KafkaVersion(entry, context);
|
|
3040
2848
|
});
|
|
3041
2849
|
return retVal;
|
|
@@ -3044,9 +2852,6 @@ const de___listOfNodeInfo = (output, context) => {
|
|
|
3044
2852
|
const retVal = (output || [])
|
|
3045
2853
|
.filter((e) => e != null)
|
|
3046
2854
|
.map((entry) => {
|
|
3047
|
-
if (entry === null) {
|
|
3048
|
-
return null;
|
|
3049
|
-
}
|
|
3050
2855
|
return de_NodeInfo(entry, context);
|
|
3051
2856
|
});
|
|
3052
2857
|
return retVal;
|
|
@@ -3055,9 +2860,6 @@ const de___listOfUnprocessedScramSecret = (output, context) => {
|
|
|
3055
2860
|
const retVal = (output || [])
|
|
3056
2861
|
.filter((e) => e != null)
|
|
3057
2862
|
.map((entry) => {
|
|
3058
|
-
if (entry === null) {
|
|
3059
|
-
return null;
|
|
3060
|
-
}
|
|
3061
2863
|
return de_UnprocessedScramSecret(entry, context);
|
|
3062
2864
|
});
|
|
3063
2865
|
return retVal;
|
|
@@ -3066,413 +2868,385 @@ const de___listOfVpcConfig = (output, context) => {
|
|
|
3066
2868
|
const retVal = (output || [])
|
|
3067
2869
|
.filter((e) => e != null)
|
|
3068
2870
|
.map((entry) => {
|
|
3069
|
-
if (entry === null) {
|
|
3070
|
-
return null;
|
|
3071
|
-
}
|
|
3072
2871
|
return de_VpcConfig(entry, context);
|
|
3073
2872
|
});
|
|
3074
2873
|
return retVal;
|
|
3075
2874
|
};
|
|
3076
|
-
const de___mapOf__string = (output, context) => {
|
|
3077
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3078
|
-
if (value === null) {
|
|
3079
|
-
return acc;
|
|
3080
|
-
}
|
|
3081
|
-
acc[key] = __expectString(value);
|
|
3082
|
-
return acc;
|
|
3083
|
-
}, {});
|
|
3084
|
-
};
|
|
3085
2875
|
const de_BrokerEBSVolumeInfo = (output, context) => {
|
|
3086
|
-
return {
|
|
3087
|
-
KafkaBrokerNodeId: __expectString
|
|
3088
|
-
ProvisionedThroughput:
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
VolumeSizeGB: __expectInt32(output.volumeSizeGB),
|
|
3092
|
-
};
|
|
2876
|
+
return take(output, {
|
|
2877
|
+
KafkaBrokerNodeId: [, __expectString, `kafkaBrokerNodeId`],
|
|
2878
|
+
ProvisionedThroughput: (_) => [, de_ProvisionedThroughput(_, context), `provisionedThroughput`],
|
|
2879
|
+
VolumeSizeGB: [, __expectInt32, `volumeSizeGB`],
|
|
2880
|
+
});
|
|
3093
2881
|
};
|
|
3094
2882
|
const de_BrokerLogs = (output, context) => {
|
|
3095
|
-
return {
|
|
3096
|
-
CloudWatchLogs:
|
|
3097
|
-
Firehose:
|
|
3098
|
-
S3:
|
|
3099
|
-
};
|
|
2883
|
+
return take(output, {
|
|
2884
|
+
CloudWatchLogs: (_) => [, de_CloudWatchLogs(_, context), `cloudWatchLogs`],
|
|
2885
|
+
Firehose: (_) => [, de_Firehose(_, context), `firehose`],
|
|
2886
|
+
S3: (_) => [, de_S3(_, context), `s3`],
|
|
2887
|
+
});
|
|
3100
2888
|
};
|
|
3101
2889
|
const de_BrokerNodeGroupInfo = (output, context) => {
|
|
3102
|
-
return {
|
|
3103
|
-
BrokerAZDistribution: __expectString
|
|
3104
|
-
ClientSubnets:
|
|
3105
|
-
ConnectivityInfo:
|
|
3106
|
-
InstanceType: __expectString
|
|
3107
|
-
SecurityGroups:
|
|
3108
|
-
StorageInfo:
|
|
3109
|
-
};
|
|
2890
|
+
return take(output, {
|
|
2891
|
+
BrokerAZDistribution: [, __expectString, `brokerAZDistribution`],
|
|
2892
|
+
ClientSubnets: [, _json, `clientSubnets`],
|
|
2893
|
+
ConnectivityInfo: (_) => [, de_ConnectivityInfo(_, context), `connectivityInfo`],
|
|
2894
|
+
InstanceType: [, __expectString, `instanceType`],
|
|
2895
|
+
SecurityGroups: [, _json, `securityGroups`],
|
|
2896
|
+
StorageInfo: (_) => [, de_StorageInfo(_, context), `storageInfo`],
|
|
2897
|
+
});
|
|
3110
2898
|
};
|
|
3111
2899
|
const de_BrokerNodeInfo = (output, context) => {
|
|
3112
|
-
return {
|
|
3113
|
-
AttachedENIId: __expectString
|
|
3114
|
-
BrokerId: __limitedParseDouble
|
|
3115
|
-
ClientSubnet: __expectString
|
|
3116
|
-
ClientVpcIpAddress: __expectString
|
|
3117
|
-
CurrentBrokerSoftwareInfo:
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
Endpoints: output.endpoints != null ? de___listOf__string(output.endpoints, context) : undefined,
|
|
3121
|
-
};
|
|
2900
|
+
return take(output, {
|
|
2901
|
+
AttachedENIId: [, __expectString, `attachedENIId`],
|
|
2902
|
+
BrokerId: [, __limitedParseDouble, `brokerId`],
|
|
2903
|
+
ClientSubnet: [, __expectString, `clientSubnet`],
|
|
2904
|
+
ClientVpcIpAddress: [, __expectString, `clientVpcIpAddress`],
|
|
2905
|
+
CurrentBrokerSoftwareInfo: (_) => [, de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
|
|
2906
|
+
Endpoints: [, _json, `endpoints`],
|
|
2907
|
+
});
|
|
3122
2908
|
};
|
|
3123
2909
|
const de_BrokerSoftwareInfo = (output, context) => {
|
|
3124
|
-
return {
|
|
3125
|
-
ConfigurationArn: __expectString
|
|
3126
|
-
ConfigurationRevision: __expectLong
|
|
3127
|
-
KafkaVersion: __expectString
|
|
3128
|
-
};
|
|
2910
|
+
return take(output, {
|
|
2911
|
+
ConfigurationArn: [, __expectString, `configurationArn`],
|
|
2912
|
+
ConfigurationRevision: [, __expectLong, `configurationRevision`],
|
|
2913
|
+
KafkaVersion: [, __expectString, `kafkaVersion`],
|
|
2914
|
+
});
|
|
3129
2915
|
};
|
|
3130
2916
|
const de_ClientAuthentication = (output, context) => {
|
|
3131
|
-
return {
|
|
3132
|
-
Sasl:
|
|
3133
|
-
Tls:
|
|
3134
|
-
Unauthenticated:
|
|
3135
|
-
};
|
|
2917
|
+
return take(output, {
|
|
2918
|
+
Sasl: (_) => [, de_Sasl(_, context), `sasl`],
|
|
2919
|
+
Tls: (_) => [, de_Tls(_, context), `tls`],
|
|
2920
|
+
Unauthenticated: (_) => [, de_Unauthenticated(_, context), `unauthenticated`],
|
|
2921
|
+
});
|
|
3136
2922
|
};
|
|
3137
2923
|
const de_CloudWatchLogs = (output, context) => {
|
|
3138
|
-
return {
|
|
3139
|
-
Enabled: __expectBoolean
|
|
3140
|
-
LogGroup: __expectString
|
|
3141
|
-
};
|
|
2924
|
+
return take(output, {
|
|
2925
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
2926
|
+
LogGroup: [, __expectString, `logGroup`],
|
|
2927
|
+
});
|
|
3142
2928
|
};
|
|
3143
2929
|
const de_Cluster = (output, context) => {
|
|
3144
|
-
return {
|
|
3145
|
-
ActiveOperationArn: __expectString
|
|
3146
|
-
ClusterArn: __expectString
|
|
3147
|
-
ClusterName: __expectString
|
|
3148
|
-
ClusterType: __expectString
|
|
3149
|
-
CreationTime:
|
|
3150
|
-
CurrentVersion: __expectString
|
|
3151
|
-
Provisioned:
|
|
3152
|
-
Serverless:
|
|
3153
|
-
State: __expectString
|
|
3154
|
-
StateInfo:
|
|
3155
|
-
Tags:
|
|
3156
|
-
};
|
|
2930
|
+
return take(output, {
|
|
2931
|
+
ActiveOperationArn: [, __expectString, `activeOperationArn`],
|
|
2932
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2933
|
+
ClusterName: [, __expectString, `clusterName`],
|
|
2934
|
+
ClusterType: [, __expectString, `clusterType`],
|
|
2935
|
+
CreationTime: (_) => [, __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2936
|
+
CurrentVersion: [, __expectString, `currentVersion`],
|
|
2937
|
+
Provisioned: (_) => [, de_Provisioned(_, context), `provisioned`],
|
|
2938
|
+
Serverless: (_) => [, de_Serverless(_, context), `serverless`],
|
|
2939
|
+
State: [, __expectString, `state`],
|
|
2940
|
+
StateInfo: (_) => [, de_StateInfo(_, context), `stateInfo`],
|
|
2941
|
+
Tags: [, _json, `tags`],
|
|
2942
|
+
});
|
|
3157
2943
|
};
|
|
3158
2944
|
const de_ClusterInfo = (output, context) => {
|
|
3159
|
-
return {
|
|
3160
|
-
ActiveOperationArn: __expectString
|
|
3161
|
-
BrokerNodeGroupInfo:
|
|
3162
|
-
ClientAuthentication:
|
|
3163
|
-
ClusterArn: __expectString
|
|
3164
|
-
ClusterName: __expectString
|
|
3165
|
-
CreationTime:
|
|
3166
|
-
CurrentBrokerSoftwareInfo:
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
ZookeeperConnectStringTls: __expectString(output.zookeeperConnectStringTls),
|
|
3181
|
-
};
|
|
2945
|
+
return take(output, {
|
|
2946
|
+
ActiveOperationArn: [, __expectString, `activeOperationArn`],
|
|
2947
|
+
BrokerNodeGroupInfo: (_) => [, de_BrokerNodeGroupInfo(_, context), `brokerNodeGroupInfo`],
|
|
2948
|
+
ClientAuthentication: (_) => [, de_ClientAuthentication(_, context), `clientAuthentication`],
|
|
2949
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2950
|
+
ClusterName: [, __expectString, `clusterName`],
|
|
2951
|
+
CreationTime: (_) => [, __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2952
|
+
CurrentBrokerSoftwareInfo: (_) => [, de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
|
|
2953
|
+
CurrentVersion: [, __expectString, `currentVersion`],
|
|
2954
|
+
EncryptionInfo: (_) => [, de_EncryptionInfo(_, context), `encryptionInfo`],
|
|
2955
|
+
EnhancedMonitoring: [, __expectString, `enhancedMonitoring`],
|
|
2956
|
+
LoggingInfo: (_) => [, de_LoggingInfo(_, context), `loggingInfo`],
|
|
2957
|
+
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
2958
|
+
OpenMonitoring: (_) => [, de_OpenMonitoring(_, context), `openMonitoring`],
|
|
2959
|
+
State: [, __expectString, `state`],
|
|
2960
|
+
StateInfo: (_) => [, de_StateInfo(_, context), `stateInfo`],
|
|
2961
|
+
StorageMode: [, __expectString, `storageMode`],
|
|
2962
|
+
Tags: [, _json, `tags`],
|
|
2963
|
+
ZookeeperConnectString: [, __expectString, `zookeeperConnectString`],
|
|
2964
|
+
ZookeeperConnectStringTls: [, __expectString, `zookeeperConnectStringTls`],
|
|
2965
|
+
});
|
|
3182
2966
|
};
|
|
3183
2967
|
const de_ClusterOperationInfo = (output, context) => {
|
|
3184
|
-
return {
|
|
3185
|
-
ClientRequestId: __expectString
|
|
3186
|
-
ClusterArn: __expectString
|
|
3187
|
-
CreationTime:
|
|
3188
|
-
EndTime:
|
|
3189
|
-
ErrorInfo:
|
|
3190
|
-
OperationArn: __expectString
|
|
3191
|
-
OperationState: __expectString
|
|
3192
|
-
OperationSteps:
|
|
3193
|
-
OperationType: __expectString
|
|
3194
|
-
SourceClusterInfo:
|
|
3195
|
-
TargetClusterInfo:
|
|
3196
|
-
};
|
|
2968
|
+
return take(output, {
|
|
2969
|
+
ClientRequestId: [, __expectString, `clientRequestId`],
|
|
2970
|
+
ClusterArn: [, __expectString, `clusterArn`],
|
|
2971
|
+
CreationTime: (_) => [, __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2972
|
+
EndTime: (_) => [, __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `endTime`],
|
|
2973
|
+
ErrorInfo: (_) => [, de_ErrorInfo(_, context), `errorInfo`],
|
|
2974
|
+
OperationArn: [, __expectString, `operationArn`],
|
|
2975
|
+
OperationState: [, __expectString, `operationState`],
|
|
2976
|
+
OperationSteps: (_) => [, de___listOfClusterOperationStep(_, context), `operationSteps`],
|
|
2977
|
+
OperationType: [, __expectString, `operationType`],
|
|
2978
|
+
SourceClusterInfo: (_) => [, de_MutableClusterInfo(_, context), `sourceClusterInfo`],
|
|
2979
|
+
TargetClusterInfo: (_) => [, de_MutableClusterInfo(_, context), `targetClusterInfo`],
|
|
2980
|
+
});
|
|
3197
2981
|
};
|
|
3198
2982
|
const de_ClusterOperationStep = (output, context) => {
|
|
3199
|
-
return {
|
|
3200
|
-
StepInfo:
|
|
3201
|
-
StepName: __expectString
|
|
3202
|
-
};
|
|
2983
|
+
return take(output, {
|
|
2984
|
+
StepInfo: (_) => [, de_ClusterOperationStepInfo(_, context), `stepInfo`],
|
|
2985
|
+
StepName: [, __expectString, `stepName`],
|
|
2986
|
+
});
|
|
3203
2987
|
};
|
|
3204
2988
|
const de_ClusterOperationStepInfo = (output, context) => {
|
|
3205
|
-
return {
|
|
3206
|
-
StepStatus: __expectString
|
|
3207
|
-
};
|
|
2989
|
+
return take(output, {
|
|
2990
|
+
StepStatus: [, __expectString, `stepStatus`],
|
|
2991
|
+
});
|
|
3208
2992
|
};
|
|
3209
2993
|
const de_CompatibleKafkaVersion = (output, context) => {
|
|
3210
|
-
return {
|
|
3211
|
-
SourceVersion: __expectString
|
|
3212
|
-
TargetVersions:
|
|
3213
|
-
};
|
|
2994
|
+
return take(output, {
|
|
2995
|
+
SourceVersion: [, __expectString, `sourceVersion`],
|
|
2996
|
+
TargetVersions: [, _json, `targetVersions`],
|
|
2997
|
+
});
|
|
3214
2998
|
};
|
|
3215
2999
|
const de_Configuration = (output, context) => {
|
|
3216
|
-
return {
|
|
3217
|
-
Arn: __expectString
|
|
3218
|
-
CreationTime:
|
|
3219
|
-
Description: __expectString
|
|
3220
|
-
KafkaVersions:
|
|
3221
|
-
LatestRevision:
|
|
3222
|
-
Name: __expectString
|
|
3223
|
-
State: __expectString
|
|
3224
|
-
};
|
|
3000
|
+
return take(output, {
|
|
3001
|
+
Arn: [, __expectString, `arn`],
|
|
3002
|
+
CreationTime: (_) => [, __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
3003
|
+
Description: [, __expectString, `description`],
|
|
3004
|
+
KafkaVersions: [, _json, `kafkaVersions`],
|
|
3005
|
+
LatestRevision: (_) => [, de_ConfigurationRevision(_, context), `latestRevision`],
|
|
3006
|
+
Name: [, __expectString, `name`],
|
|
3007
|
+
State: [, __expectString, `state`],
|
|
3008
|
+
});
|
|
3225
3009
|
};
|
|
3226
3010
|
const de_ConfigurationInfo = (output, context) => {
|
|
3227
|
-
return {
|
|
3228
|
-
Arn: __expectString
|
|
3229
|
-
Revision: __expectLong
|
|
3230
|
-
};
|
|
3011
|
+
return take(output, {
|
|
3012
|
+
Arn: [, __expectString, `arn`],
|
|
3013
|
+
Revision: [, __expectLong, `revision`],
|
|
3014
|
+
});
|
|
3231
3015
|
};
|
|
3232
3016
|
const de_ConfigurationRevision = (output, context) => {
|
|
3233
|
-
return {
|
|
3234
|
-
CreationTime:
|
|
3235
|
-
Description: __expectString
|
|
3236
|
-
Revision: __expectLong
|
|
3237
|
-
};
|
|
3017
|
+
return take(output, {
|
|
3018
|
+
CreationTime: (_) => [, __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
3019
|
+
Description: [, __expectString, `description`],
|
|
3020
|
+
Revision: [, __expectLong, `revision`],
|
|
3021
|
+
});
|
|
3238
3022
|
};
|
|
3239
3023
|
const de_ConnectivityInfo = (output, context) => {
|
|
3240
|
-
return {
|
|
3241
|
-
PublicAccess:
|
|
3242
|
-
};
|
|
3024
|
+
return take(output, {
|
|
3025
|
+
PublicAccess: (_) => [, de_PublicAccess(_, context), `publicAccess`],
|
|
3026
|
+
});
|
|
3243
3027
|
};
|
|
3244
3028
|
const de_EBSStorageInfo = (output, context) => {
|
|
3245
|
-
return {
|
|
3246
|
-
ProvisionedThroughput:
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
VolumeSize: __expectInt32(output.volumeSize),
|
|
3250
|
-
};
|
|
3029
|
+
return take(output, {
|
|
3030
|
+
ProvisionedThroughput: (_) => [, de_ProvisionedThroughput(_, context), `provisionedThroughput`],
|
|
3031
|
+
VolumeSize: [, __expectInt32, `volumeSize`],
|
|
3032
|
+
});
|
|
3251
3033
|
};
|
|
3252
3034
|
const de_EncryptionAtRest = (output, context) => {
|
|
3253
|
-
return {
|
|
3254
|
-
DataVolumeKMSKeyId: __expectString
|
|
3255
|
-
};
|
|
3035
|
+
return take(output, {
|
|
3036
|
+
DataVolumeKMSKeyId: [, __expectString, `dataVolumeKMSKeyId`],
|
|
3037
|
+
});
|
|
3256
3038
|
};
|
|
3257
3039
|
const de_EncryptionInfo = (output, context) => {
|
|
3258
|
-
return {
|
|
3259
|
-
EncryptionAtRest:
|
|
3260
|
-
EncryptionInTransit:
|
|
3261
|
-
};
|
|
3040
|
+
return take(output, {
|
|
3041
|
+
EncryptionAtRest: (_) => [, de_EncryptionAtRest(_, context), `encryptionAtRest`],
|
|
3042
|
+
EncryptionInTransit: (_) => [, de_EncryptionInTransit(_, context), `encryptionInTransit`],
|
|
3043
|
+
});
|
|
3262
3044
|
};
|
|
3263
3045
|
const de_EncryptionInTransit = (output, context) => {
|
|
3264
|
-
return {
|
|
3265
|
-
ClientBroker: __expectString
|
|
3266
|
-
InCluster: __expectBoolean
|
|
3267
|
-
};
|
|
3046
|
+
return take(output, {
|
|
3047
|
+
ClientBroker: [, __expectString, `clientBroker`],
|
|
3048
|
+
InCluster: [, __expectBoolean, `inCluster`],
|
|
3049
|
+
});
|
|
3268
3050
|
};
|
|
3269
3051
|
const de_ErrorInfo = (output, context) => {
|
|
3270
|
-
return {
|
|
3271
|
-
ErrorCode: __expectString
|
|
3272
|
-
ErrorString: __expectString
|
|
3273
|
-
};
|
|
3052
|
+
return take(output, {
|
|
3053
|
+
ErrorCode: [, __expectString, `errorCode`],
|
|
3054
|
+
ErrorString: [, __expectString, `errorString`],
|
|
3055
|
+
});
|
|
3274
3056
|
};
|
|
3275
3057
|
const de_Firehose = (output, context) => {
|
|
3276
|
-
return {
|
|
3277
|
-
DeliveryStream: __expectString
|
|
3278
|
-
Enabled: __expectBoolean
|
|
3279
|
-
};
|
|
3058
|
+
return take(output, {
|
|
3059
|
+
DeliveryStream: [, __expectString, `deliveryStream`],
|
|
3060
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3061
|
+
});
|
|
3280
3062
|
};
|
|
3281
3063
|
const de_Iam = (output, context) => {
|
|
3282
|
-
return {
|
|
3283
|
-
Enabled: __expectBoolean
|
|
3284
|
-
};
|
|
3064
|
+
return take(output, {
|
|
3065
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3066
|
+
});
|
|
3285
3067
|
};
|
|
3286
3068
|
const de_JmxExporter = (output, context) => {
|
|
3287
|
-
return {
|
|
3288
|
-
EnabledInBroker: __expectBoolean
|
|
3289
|
-
};
|
|
3069
|
+
return take(output, {
|
|
3070
|
+
EnabledInBroker: [, __expectBoolean, `enabledInBroker`],
|
|
3071
|
+
});
|
|
3290
3072
|
};
|
|
3291
3073
|
const de_JmxExporterInfo = (output, context) => {
|
|
3292
|
-
return {
|
|
3293
|
-
EnabledInBroker: __expectBoolean
|
|
3294
|
-
};
|
|
3074
|
+
return take(output, {
|
|
3075
|
+
EnabledInBroker: [, __expectBoolean, `enabledInBroker`],
|
|
3076
|
+
});
|
|
3295
3077
|
};
|
|
3296
3078
|
const de_KafkaVersion = (output, context) => {
|
|
3297
|
-
return {
|
|
3298
|
-
Status: __expectString
|
|
3299
|
-
Version: __expectString
|
|
3300
|
-
};
|
|
3079
|
+
return take(output, {
|
|
3080
|
+
Status: [, __expectString, `status`],
|
|
3081
|
+
Version: [, __expectString, `version`],
|
|
3082
|
+
});
|
|
3301
3083
|
};
|
|
3302
3084
|
const de_LoggingInfo = (output, context) => {
|
|
3303
|
-
return {
|
|
3304
|
-
BrokerLogs:
|
|
3305
|
-
};
|
|
3085
|
+
return take(output, {
|
|
3086
|
+
BrokerLogs: (_) => [, de_BrokerLogs(_, context), `brokerLogs`],
|
|
3087
|
+
});
|
|
3306
3088
|
};
|
|
3307
3089
|
const de_MutableClusterInfo = (output, context) => {
|
|
3308
|
-
return {
|
|
3309
|
-
BrokerEBSVolumeInfo:
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
StorageMode: __expectString(output.storageMode),
|
|
3323
|
-
};
|
|
3090
|
+
return take(output, {
|
|
3091
|
+
BrokerEBSVolumeInfo: (_) => [, de___listOfBrokerEBSVolumeInfo(_, context), `brokerEBSVolumeInfo`],
|
|
3092
|
+
ClientAuthentication: (_) => [, de_ClientAuthentication(_, context), `clientAuthentication`],
|
|
3093
|
+
ConfigurationInfo: (_) => [, de_ConfigurationInfo(_, context), `configurationInfo`],
|
|
3094
|
+
ConnectivityInfo: (_) => [, de_ConnectivityInfo(_, context), `connectivityInfo`],
|
|
3095
|
+
EncryptionInfo: (_) => [, de_EncryptionInfo(_, context), `encryptionInfo`],
|
|
3096
|
+
EnhancedMonitoring: [, __expectString, `enhancedMonitoring`],
|
|
3097
|
+
InstanceType: [, __expectString, `instanceType`],
|
|
3098
|
+
KafkaVersion: [, __expectString, `kafkaVersion`],
|
|
3099
|
+
LoggingInfo: (_) => [, de_LoggingInfo(_, context), `loggingInfo`],
|
|
3100
|
+
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
3101
|
+
OpenMonitoring: (_) => [, de_OpenMonitoring(_, context), `openMonitoring`],
|
|
3102
|
+
StorageMode: [, __expectString, `storageMode`],
|
|
3103
|
+
});
|
|
3324
3104
|
};
|
|
3325
3105
|
const de_NodeExporter = (output, context) => {
|
|
3326
|
-
return {
|
|
3327
|
-
EnabledInBroker: __expectBoolean
|
|
3328
|
-
};
|
|
3106
|
+
return take(output, {
|
|
3107
|
+
EnabledInBroker: [, __expectBoolean, `enabledInBroker`],
|
|
3108
|
+
});
|
|
3329
3109
|
};
|
|
3330
3110
|
const de_NodeExporterInfo = (output, context) => {
|
|
3331
|
-
return {
|
|
3332
|
-
EnabledInBroker: __expectBoolean
|
|
3333
|
-
};
|
|
3111
|
+
return take(output, {
|
|
3112
|
+
EnabledInBroker: [, __expectBoolean, `enabledInBroker`],
|
|
3113
|
+
});
|
|
3334
3114
|
};
|
|
3335
3115
|
const de_NodeInfo = (output, context) => {
|
|
3336
|
-
return {
|
|
3337
|
-
AddedToClusterTime: __expectString
|
|
3338
|
-
BrokerNodeInfo:
|
|
3339
|
-
InstanceType: __expectString
|
|
3340
|
-
NodeARN: __expectString
|
|
3341
|
-
NodeType: __expectString
|
|
3342
|
-
ZookeeperNodeInfo:
|
|
3343
|
-
};
|
|
3116
|
+
return take(output, {
|
|
3117
|
+
AddedToClusterTime: [, __expectString, `addedToClusterTime`],
|
|
3118
|
+
BrokerNodeInfo: (_) => [, de_BrokerNodeInfo(_, context), `brokerNodeInfo`],
|
|
3119
|
+
InstanceType: [, __expectString, `instanceType`],
|
|
3120
|
+
NodeARN: [, __expectString, `nodeARN`],
|
|
3121
|
+
NodeType: [, __expectString, `nodeType`],
|
|
3122
|
+
ZookeeperNodeInfo: (_) => [, de_ZookeeperNodeInfo(_, context), `zookeeperNodeInfo`],
|
|
3123
|
+
});
|
|
3344
3124
|
};
|
|
3345
3125
|
const de_OpenMonitoring = (output, context) => {
|
|
3346
|
-
return {
|
|
3347
|
-
Prometheus:
|
|
3348
|
-
};
|
|
3126
|
+
return take(output, {
|
|
3127
|
+
Prometheus: (_) => [, de_Prometheus(_, context), `prometheus`],
|
|
3128
|
+
});
|
|
3349
3129
|
};
|
|
3350
3130
|
const de_OpenMonitoringInfo = (output, context) => {
|
|
3351
|
-
return {
|
|
3352
|
-
Prometheus:
|
|
3353
|
-
};
|
|
3131
|
+
return take(output, {
|
|
3132
|
+
Prometheus: (_) => [, de_PrometheusInfo(_, context), `prometheus`],
|
|
3133
|
+
});
|
|
3354
3134
|
};
|
|
3355
3135
|
const de_Prometheus = (output, context) => {
|
|
3356
|
-
return {
|
|
3357
|
-
JmxExporter:
|
|
3358
|
-
NodeExporter:
|
|
3359
|
-
};
|
|
3136
|
+
return take(output, {
|
|
3137
|
+
JmxExporter: (_) => [, de_JmxExporter(_, context), `jmxExporter`],
|
|
3138
|
+
NodeExporter: (_) => [, de_NodeExporter(_, context), `nodeExporter`],
|
|
3139
|
+
});
|
|
3360
3140
|
};
|
|
3361
3141
|
const de_PrometheusInfo = (output, context) => {
|
|
3362
|
-
return {
|
|
3363
|
-
JmxExporter:
|
|
3364
|
-
NodeExporter:
|
|
3365
|
-
};
|
|
3142
|
+
return take(output, {
|
|
3143
|
+
JmxExporter: (_) => [, de_JmxExporterInfo(_, context), `jmxExporter`],
|
|
3144
|
+
NodeExporter: (_) => [, de_NodeExporterInfo(_, context), `nodeExporter`],
|
|
3145
|
+
});
|
|
3366
3146
|
};
|
|
3367
3147
|
const de_Provisioned = (output, context) => {
|
|
3368
|
-
return {
|
|
3369
|
-
BrokerNodeGroupInfo:
|
|
3370
|
-
ClientAuthentication:
|
|
3371
|
-
CurrentBrokerSoftwareInfo:
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
ZookeeperConnectStringTls: __expectString(output.zookeeperConnectStringTls),
|
|
3382
|
-
};
|
|
3148
|
+
return take(output, {
|
|
3149
|
+
BrokerNodeGroupInfo: (_) => [, de_BrokerNodeGroupInfo(_, context), `brokerNodeGroupInfo`],
|
|
3150
|
+
ClientAuthentication: (_) => [, de_ClientAuthentication(_, context), `clientAuthentication`],
|
|
3151
|
+
CurrentBrokerSoftwareInfo: (_) => [, de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
|
|
3152
|
+
EncryptionInfo: (_) => [, de_EncryptionInfo(_, context), `encryptionInfo`],
|
|
3153
|
+
EnhancedMonitoring: [, __expectString, `enhancedMonitoring`],
|
|
3154
|
+
LoggingInfo: (_) => [, de_LoggingInfo(_, context), `loggingInfo`],
|
|
3155
|
+
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
3156
|
+
OpenMonitoring: (_) => [, de_OpenMonitoringInfo(_, context), `openMonitoring`],
|
|
3157
|
+
StorageMode: [, __expectString, `storageMode`],
|
|
3158
|
+
ZookeeperConnectString: [, __expectString, `zookeeperConnectString`],
|
|
3159
|
+
ZookeeperConnectStringTls: [, __expectString, `zookeeperConnectStringTls`],
|
|
3160
|
+
});
|
|
3383
3161
|
};
|
|
3384
3162
|
const de_ProvisionedThroughput = (output, context) => {
|
|
3385
|
-
return {
|
|
3386
|
-
Enabled: __expectBoolean
|
|
3387
|
-
VolumeThroughput: __expectInt32
|
|
3388
|
-
};
|
|
3163
|
+
return take(output, {
|
|
3164
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3165
|
+
VolumeThroughput: [, __expectInt32, `volumeThroughput`],
|
|
3166
|
+
});
|
|
3389
3167
|
};
|
|
3390
3168
|
const de_PublicAccess = (output, context) => {
|
|
3391
|
-
return {
|
|
3392
|
-
Type: __expectString
|
|
3393
|
-
};
|
|
3169
|
+
return take(output, {
|
|
3170
|
+
Type: [, __expectString, `type`],
|
|
3171
|
+
});
|
|
3394
3172
|
};
|
|
3395
3173
|
const de_S3 = (output, context) => {
|
|
3396
|
-
return {
|
|
3397
|
-
Bucket: __expectString
|
|
3398
|
-
Enabled: __expectBoolean
|
|
3399
|
-
Prefix: __expectString
|
|
3400
|
-
};
|
|
3174
|
+
return take(output, {
|
|
3175
|
+
Bucket: [, __expectString, `bucket`],
|
|
3176
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3177
|
+
Prefix: [, __expectString, `prefix`],
|
|
3178
|
+
});
|
|
3401
3179
|
};
|
|
3402
3180
|
const de_Sasl = (output, context) => {
|
|
3403
|
-
return {
|
|
3404
|
-
Iam:
|
|
3405
|
-
Scram:
|
|
3406
|
-
};
|
|
3181
|
+
return take(output, {
|
|
3182
|
+
Iam: (_) => [, de_Iam(_, context), `iam`],
|
|
3183
|
+
Scram: (_) => [, de_Scram(_, context), `scram`],
|
|
3184
|
+
});
|
|
3407
3185
|
};
|
|
3408
3186
|
const de_Scram = (output, context) => {
|
|
3409
|
-
return {
|
|
3410
|
-
Enabled: __expectBoolean
|
|
3411
|
-
};
|
|
3187
|
+
return take(output, {
|
|
3188
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3189
|
+
});
|
|
3412
3190
|
};
|
|
3413
3191
|
const de_Serverless = (output, context) => {
|
|
3414
|
-
return {
|
|
3415
|
-
ClientAuthentication:
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
VpcConfigs: output.vpcConfigs != null ? de___listOfVpcConfig(output.vpcConfigs, context) : undefined,
|
|
3419
|
-
};
|
|
3192
|
+
return take(output, {
|
|
3193
|
+
ClientAuthentication: (_) => [, de_ServerlessClientAuthentication(_, context), `clientAuthentication`],
|
|
3194
|
+
VpcConfigs: (_) => [, de___listOfVpcConfig(_, context), `vpcConfigs`],
|
|
3195
|
+
});
|
|
3420
3196
|
};
|
|
3421
3197
|
const de_ServerlessClientAuthentication = (output, context) => {
|
|
3422
|
-
return {
|
|
3423
|
-
Sasl:
|
|
3424
|
-
};
|
|
3198
|
+
return take(output, {
|
|
3199
|
+
Sasl: (_) => [, de_ServerlessSasl(_, context), `sasl`],
|
|
3200
|
+
});
|
|
3425
3201
|
};
|
|
3426
3202
|
const de_ServerlessSasl = (output, context) => {
|
|
3427
|
-
return {
|
|
3428
|
-
Iam:
|
|
3429
|
-
};
|
|
3203
|
+
return take(output, {
|
|
3204
|
+
Iam: (_) => [, de_Iam(_, context), `iam`],
|
|
3205
|
+
});
|
|
3430
3206
|
};
|
|
3431
3207
|
const de_StateInfo = (output, context) => {
|
|
3432
|
-
return {
|
|
3433
|
-
Code: __expectString
|
|
3434
|
-
Message: __expectString
|
|
3435
|
-
};
|
|
3208
|
+
return take(output, {
|
|
3209
|
+
Code: [, __expectString, `code`],
|
|
3210
|
+
Message: [, __expectString, `message`],
|
|
3211
|
+
});
|
|
3436
3212
|
};
|
|
3437
3213
|
const de_StorageInfo = (output, context) => {
|
|
3438
|
-
return {
|
|
3439
|
-
EbsStorageInfo:
|
|
3440
|
-
};
|
|
3214
|
+
return take(output, {
|
|
3215
|
+
EbsStorageInfo: (_) => [, de_EBSStorageInfo(_, context), `ebsStorageInfo`],
|
|
3216
|
+
});
|
|
3441
3217
|
};
|
|
3442
3218
|
const de_Tls = (output, context) => {
|
|
3443
|
-
return {
|
|
3444
|
-
CertificateAuthorityArnList:
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
Enabled: __expectBoolean(output.enabled),
|
|
3448
|
-
};
|
|
3219
|
+
return take(output, {
|
|
3220
|
+
CertificateAuthorityArnList: [, _json, `certificateAuthorityArnList`],
|
|
3221
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3222
|
+
});
|
|
3449
3223
|
};
|
|
3450
3224
|
const de_Unauthenticated = (output, context) => {
|
|
3451
|
-
return {
|
|
3452
|
-
Enabled: __expectBoolean
|
|
3453
|
-
};
|
|
3225
|
+
return take(output, {
|
|
3226
|
+
Enabled: [, __expectBoolean, `enabled`],
|
|
3227
|
+
});
|
|
3454
3228
|
};
|
|
3455
3229
|
const de_UnprocessedScramSecret = (output, context) => {
|
|
3456
|
-
return {
|
|
3457
|
-
ErrorCode: __expectString
|
|
3458
|
-
ErrorMessage: __expectString
|
|
3459
|
-
SecretArn: __expectString
|
|
3460
|
-
};
|
|
3230
|
+
return take(output, {
|
|
3231
|
+
ErrorCode: [, __expectString, `errorCode`],
|
|
3232
|
+
ErrorMessage: [, __expectString, `errorMessage`],
|
|
3233
|
+
SecretArn: [, __expectString, `secretArn`],
|
|
3234
|
+
});
|
|
3461
3235
|
};
|
|
3462
3236
|
const de_VpcConfig = (output, context) => {
|
|
3463
|
-
return {
|
|
3464
|
-
SecurityGroupIds:
|
|
3465
|
-
SubnetIds:
|
|
3466
|
-
};
|
|
3237
|
+
return take(output, {
|
|
3238
|
+
SecurityGroupIds: [, _json, `securityGroupIds`],
|
|
3239
|
+
SubnetIds: [, _json, `subnetIds`],
|
|
3240
|
+
});
|
|
3467
3241
|
};
|
|
3468
3242
|
const de_ZookeeperNodeInfo = (output, context) => {
|
|
3469
|
-
return {
|
|
3470
|
-
AttachedENIId: __expectString
|
|
3471
|
-
ClientVpcIpAddress: __expectString
|
|
3472
|
-
Endpoints:
|
|
3473
|
-
ZookeeperId: __limitedParseDouble
|
|
3474
|
-
ZookeeperVersion: __expectString
|
|
3475
|
-
};
|
|
3243
|
+
return take(output, {
|
|
3244
|
+
AttachedENIId: [, __expectString, `attachedENIId`],
|
|
3245
|
+
ClientVpcIpAddress: [, __expectString, `clientVpcIpAddress`],
|
|
3246
|
+
Endpoints: [, _json, `endpoints`],
|
|
3247
|
+
ZookeeperId: [, __limitedParseDouble, `zookeeperId`],
|
|
3248
|
+
ZookeeperVersion: [, __expectString, `zookeeperVersion`],
|
|
3249
|
+
});
|
|
3476
3250
|
};
|
|
3477
3251
|
const deserializeMetadata = (output) => ({
|
|
3478
3252
|
httpStatusCode: output.statusCode,
|