@aws-sdk/client-kafka 3.54.0 → 3.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/KafkaClient.js +13 -13
- package/dist-cjs/commands/BatchAssociateScramSecretCommand.js +3 -3
- package/dist-cjs/commands/BatchDisassociateScramSecretCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterV2Command.js +3 -3
- package/dist-cjs/commands/CreateConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterOperationCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterV2Command.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +3 -3
- package/dist-cjs/commands/GetBootstrapBrokersCommand.js +3 -3
- package/dist-cjs/commands/GetCompatibleKafkaVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListClusterOperationsCommand.js +3 -3
- package/dist-cjs/commands/ListClustersCommand.js +3 -3
- package/dist-cjs/commands/ListClustersV2Command.js +3 -3
- package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/ListKafkaVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListNodesCommand.js +3 -3
- package/dist-cjs/commands/ListScramSecretsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RebootBrokerCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateBrokerCountCommand.js +3 -3
- package/dist-cjs/commands/UpdateBrokerStorageCommand.js +3 -3
- package/dist-cjs/commands/UpdateBrokerTypeCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterKafkaVersionCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateConnectivityCommand.js +3 -3
- package/dist-cjs/commands/UpdateMonitoringCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecurityCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +277 -277
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Kafka.js +35 -35
- package/dist-es/pagination/ListClusterOperationsPaginator.js +4 -4
- package/dist-es/pagination/ListClustersPaginator.js +4 -4
- package/dist-es/pagination/ListClustersV2Paginator.js +4 -4
- package/dist-es/pagination/ListConfigurationRevisionsPaginator.js +4 -4
- package/dist-es/pagination/ListConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/ListKafkaVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListNodesPaginator.js +4 -4
- package/dist-es/pagination/ListScramSecretsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +35 -35
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -17,7 +17,7 @@ const serializeAws_restJson1BatchAssociateScramSecretCommand = async (input, con
|
|
|
17
17
|
if (labelValue.length <= 0) {
|
|
18
18
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
19
19
|
}
|
|
20
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
20
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
23
23
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -51,7 +51,7 @@ const serializeAws_restJson1BatchDisassociateScramSecretCommand = async (input,
|
|
|
51
51
|
if (labelValue.length <= 0) {
|
|
52
52
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
53
53
|
}
|
|
54
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
54
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
57
57
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -190,7 +190,7 @@ const serializeAws_restJson1DeleteClusterCommand = async (input, context) => {
|
|
|
190
190
|
if (labelValue.length <= 0) {
|
|
191
191
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
192
192
|
}
|
|
193
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
193
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
196
196
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -220,7 +220,7 @@ const serializeAws_restJson1DeleteConfigurationCommand = async (input, context)
|
|
|
220
220
|
if (labelValue.length <= 0) {
|
|
221
221
|
throw new Error("Empty value provided for input HTTP label: Arn.");
|
|
222
222
|
}
|
|
223
|
-
resolvedPath = resolvedPath.replace("{Arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
223
|
+
resolvedPath = resolvedPath.replace("{Arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
226
226
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
@@ -246,7 +246,7 @@ const serializeAws_restJson1DescribeClusterCommand = async (input, context) => {
|
|
|
246
246
|
if (labelValue.length <= 0) {
|
|
247
247
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
248
248
|
}
|
|
249
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
249
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
250
250
|
}
|
|
251
251
|
else {
|
|
252
252
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -272,7 +272,7 @@ const serializeAws_restJson1DescribeClusterOperationCommand = async (input, cont
|
|
|
272
272
|
if (labelValue.length <= 0) {
|
|
273
273
|
throw new Error("Empty value provided for input HTTP label: ClusterOperationArn.");
|
|
274
274
|
}
|
|
275
|
-
resolvedPath = resolvedPath.replace("{ClusterOperationArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
275
|
+
resolvedPath = resolvedPath.replace("{ClusterOperationArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
276
276
|
}
|
|
277
277
|
else {
|
|
278
278
|
throw new Error("No value provided for input HTTP label: ClusterOperationArn.");
|
|
@@ -298,7 +298,7 @@ const serializeAws_restJson1DescribeClusterV2Command = async (input, context) =>
|
|
|
298
298
|
if (labelValue.length <= 0) {
|
|
299
299
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
300
300
|
}
|
|
301
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
301
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
302
302
|
}
|
|
303
303
|
else {
|
|
304
304
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -324,7 +324,7 @@ const serializeAws_restJson1DescribeConfigurationCommand = async (input, context
|
|
|
324
324
|
if (labelValue.length <= 0) {
|
|
325
325
|
throw new Error("Empty value provided for input HTTP label: Arn.");
|
|
326
326
|
}
|
|
327
|
-
resolvedPath = resolvedPath.replace("{Arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
327
|
+
resolvedPath = resolvedPath.replace("{Arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
328
328
|
}
|
|
329
329
|
else {
|
|
330
330
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
@@ -351,7 +351,7 @@ const serializeAws_restJson1DescribeConfigurationRevisionCommand = async (input,
|
|
|
351
351
|
if (labelValue.length <= 0) {
|
|
352
352
|
throw new Error("Empty value provided for input HTTP label: Arn.");
|
|
353
353
|
}
|
|
354
|
-
resolvedPath = resolvedPath.replace("{Arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
354
|
+
resolvedPath = resolvedPath.replace("{Arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
357
357
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
@@ -361,7 +361,7 @@ const serializeAws_restJson1DescribeConfigurationRevisionCommand = async (input,
|
|
|
361
361
|
if (labelValue.length <= 0) {
|
|
362
362
|
throw new Error("Empty value provided for input HTTP label: Revision.");
|
|
363
363
|
}
|
|
364
|
-
resolvedPath = resolvedPath.replace("{Revision}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
364
|
+
resolvedPath = resolvedPath.replace("{Revision}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
365
365
|
}
|
|
366
366
|
else {
|
|
367
367
|
throw new Error("No value provided for input HTTP label: Revision.");
|
|
@@ -388,7 +388,7 @@ const serializeAws_restJson1GetBootstrapBrokersCommand = async (input, context)
|
|
|
388
388
|
if (labelValue.length <= 0) {
|
|
389
389
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
390
390
|
}
|
|
391
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
391
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
392
392
|
}
|
|
393
393
|
else {
|
|
394
394
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -434,7 +434,7 @@ const serializeAws_restJson1ListClusterOperationsCommand = async (input, context
|
|
|
434
434
|
if (labelValue.length <= 0) {
|
|
435
435
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
436
436
|
}
|
|
437
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
437
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
438
438
|
}
|
|
439
439
|
else {
|
|
440
440
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -510,7 +510,7 @@ const serializeAws_restJson1ListConfigurationRevisionsCommand = async (input, co
|
|
|
510
510
|
if (labelValue.length <= 0) {
|
|
511
511
|
throw new Error("Empty value provided for input HTTP label: Arn.");
|
|
512
512
|
}
|
|
513
|
-
resolvedPath = resolvedPath.replace("{Arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
513
|
+
resolvedPath = resolvedPath.replace("{Arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
514
514
|
}
|
|
515
515
|
else {
|
|
516
516
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
@@ -583,7 +583,7 @@ const serializeAws_restJson1ListNodesCommand = async (input, context) => {
|
|
|
583
583
|
if (labelValue.length <= 0) {
|
|
584
584
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
585
585
|
}
|
|
586
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
586
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
587
587
|
}
|
|
588
588
|
else {
|
|
589
589
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -614,7 +614,7 @@ const serializeAws_restJson1ListScramSecretsCommand = async (input, context) =>
|
|
|
614
614
|
if (labelValue.length <= 0) {
|
|
615
615
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
616
616
|
}
|
|
617
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
617
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
620
620
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -645,7 +645,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
645
645
|
if (labelValue.length <= 0) {
|
|
646
646
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
647
647
|
}
|
|
648
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
648
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
649
649
|
}
|
|
650
650
|
else {
|
|
651
651
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -673,7 +673,7 @@ const serializeAws_restJson1RebootBrokerCommand = async (input, context) => {
|
|
|
673
673
|
if (labelValue.length <= 0) {
|
|
674
674
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
675
675
|
}
|
|
676
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
676
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
677
677
|
}
|
|
678
678
|
else {
|
|
679
679
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -705,7 +705,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
705
705
|
if (labelValue.length <= 0) {
|
|
706
706
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
707
707
|
}
|
|
708
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
708
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
709
709
|
}
|
|
710
710
|
else {
|
|
711
711
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -735,7 +735,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
735
735
|
if (labelValue.length <= 0) {
|
|
736
736
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
737
737
|
}
|
|
738
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
738
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
739
739
|
}
|
|
740
740
|
else {
|
|
741
741
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -767,7 +767,7 @@ const serializeAws_restJson1UpdateBrokerCountCommand = async (input, context) =>
|
|
|
767
767
|
if (labelValue.length <= 0) {
|
|
768
768
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
769
769
|
}
|
|
770
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
770
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
771
771
|
}
|
|
772
772
|
else {
|
|
773
773
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -801,7 +801,7 @@ const serializeAws_restJson1UpdateBrokerStorageCommand = async (input, context)
|
|
|
801
801
|
if (labelValue.length <= 0) {
|
|
802
802
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
803
803
|
}
|
|
804
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
804
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
805
805
|
}
|
|
806
806
|
else {
|
|
807
807
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -837,7 +837,7 @@ const serializeAws_restJson1UpdateBrokerTypeCommand = async (input, context) =>
|
|
|
837
837
|
if (labelValue.length <= 0) {
|
|
838
838
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
839
839
|
}
|
|
840
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
840
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
841
841
|
}
|
|
842
842
|
else {
|
|
843
843
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -871,7 +871,7 @@ const serializeAws_restJson1UpdateClusterConfigurationCommand = async (input, co
|
|
|
871
871
|
if (labelValue.length <= 0) {
|
|
872
872
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
873
873
|
}
|
|
874
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
874
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
875
875
|
}
|
|
876
876
|
else {
|
|
877
877
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -907,7 +907,7 @@ const serializeAws_restJson1UpdateClusterKafkaVersionCommand = async (input, con
|
|
|
907
907
|
if (labelValue.length <= 0) {
|
|
908
908
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
909
909
|
}
|
|
910
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
910
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
911
911
|
}
|
|
912
912
|
else {
|
|
913
913
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -945,7 +945,7 @@ const serializeAws_restJson1UpdateConfigurationCommand = async (input, context)
|
|
|
945
945
|
if (labelValue.length <= 0) {
|
|
946
946
|
throw new Error("Empty value provided for input HTTP label: Arn.");
|
|
947
947
|
}
|
|
948
|
-
resolvedPath = resolvedPath.replace("{Arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
948
|
+
resolvedPath = resolvedPath.replace("{Arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
949
949
|
}
|
|
950
950
|
else {
|
|
951
951
|
throw new Error("No value provided for input HTTP label: Arn.");
|
|
@@ -978,7 +978,7 @@ const serializeAws_restJson1UpdateConnectivityCommand = async (input, context) =
|
|
|
978
978
|
if (labelValue.length <= 0) {
|
|
979
979
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
980
980
|
}
|
|
981
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
981
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
982
982
|
}
|
|
983
983
|
else {
|
|
984
984
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -1014,7 +1014,7 @@ const serializeAws_restJson1UpdateMonitoringCommand = async (input, context) =>
|
|
|
1014
1014
|
if (labelValue.length <= 0) {
|
|
1015
1015
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
1016
1016
|
}
|
|
1017
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1017
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1018
1018
|
}
|
|
1019
1019
|
else {
|
|
1020
1020
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -1054,7 +1054,7 @@ const serializeAws_restJson1UpdateSecurityCommand = async (input, context) => {
|
|
|
1054
1054
|
if (labelValue.length <= 0) {
|
|
1055
1055
|
throw new Error("Empty value provided for input HTTP label: ClusterArn.");
|
|
1056
1056
|
}
|
|
1057
|
-
resolvedPath = resolvedPath.replace("{ClusterArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1057
|
+
resolvedPath = resolvedPath.replace("{ClusterArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1058
1058
|
}
|
|
1059
1059
|
else {
|
|
1060
1060
|
throw new Error("No value provided for input HTTP label: ClusterArn.");
|
|
@@ -1092,9 +1092,9 @@ const deserializeAws_restJson1BatchAssociateScramSecretCommand = async (output,
|
|
|
1092
1092
|
ClusterArn: undefined,
|
|
1093
1093
|
UnprocessedScramSecrets: undefined,
|
|
1094
1094
|
};
|
|
1095
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1095
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1096
1096
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
1097
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
1097
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
1098
1098
|
}
|
|
1099
1099
|
if (data.unprocessedScramSecrets !== undefined && data.unprocessedScramSecrets !== null) {
|
|
1100
1100
|
contents.UnprocessedScramSecrets = deserializeAws_restJson1__listOfUnprocessedScramSecret(data.unprocessedScramSecrets, context);
|
|
@@ -1139,7 +1139,7 @@ const deserializeAws_restJson1BatchAssociateScramSecretCommandError = async (out
|
|
|
1139
1139
|
$fault: "client",
|
|
1140
1140
|
$metadata: deserializeMetadata(output),
|
|
1141
1141
|
});
|
|
1142
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1142
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1143
1143
|
}
|
|
1144
1144
|
};
|
|
1145
1145
|
const deserializeAws_restJson1BatchDisassociateScramSecretCommand = async (output, context) => {
|
|
@@ -1151,9 +1151,9 @@ const deserializeAws_restJson1BatchDisassociateScramSecretCommand = async (outpu
|
|
|
1151
1151
|
ClusterArn: undefined,
|
|
1152
1152
|
UnprocessedScramSecrets: undefined,
|
|
1153
1153
|
};
|
|
1154
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1154
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1155
1155
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
1156
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
1156
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
1157
1157
|
}
|
|
1158
1158
|
if (data.unprocessedScramSecrets !== undefined && data.unprocessedScramSecrets !== null) {
|
|
1159
1159
|
contents.UnprocessedScramSecrets = deserializeAws_restJson1__listOfUnprocessedScramSecret(data.unprocessedScramSecrets, context);
|
|
@@ -1198,7 +1198,7 @@ const deserializeAws_restJson1BatchDisassociateScramSecretCommandError = async (
|
|
|
1198
1198
|
$fault: "client",
|
|
1199
1199
|
$metadata: deserializeMetadata(output),
|
|
1200
1200
|
});
|
|
1201
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1201
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1202
1202
|
}
|
|
1203
1203
|
};
|
|
1204
1204
|
const deserializeAws_restJson1CreateClusterCommand = async (output, context) => {
|
|
@@ -1211,15 +1211,15 @@ const deserializeAws_restJson1CreateClusterCommand = async (output, context) =>
|
|
|
1211
1211
|
ClusterName: undefined,
|
|
1212
1212
|
State: undefined,
|
|
1213
1213
|
};
|
|
1214
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1214
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1215
1215
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
1216
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
1216
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
1217
1217
|
}
|
|
1218
1218
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
1219
|
-
contents.ClusterName = smithy_client_1.expectString(data.clusterName);
|
|
1219
|
+
contents.ClusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
1220
1220
|
}
|
|
1221
1221
|
if (data.state !== undefined && data.state !== null) {
|
|
1222
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
1222
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
1223
1223
|
}
|
|
1224
1224
|
return Promise.resolve(contents);
|
|
1225
1225
|
};
|
|
@@ -1261,7 +1261,7 @@ const deserializeAws_restJson1CreateClusterCommandError = async (output, context
|
|
|
1261
1261
|
$fault: "client",
|
|
1262
1262
|
$metadata: deserializeMetadata(output),
|
|
1263
1263
|
});
|
|
1264
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1264
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
1267
1267
|
const deserializeAws_restJson1CreateClusterV2Command = async (output, context) => {
|
|
@@ -1275,18 +1275,18 @@ const deserializeAws_restJson1CreateClusterV2Command = async (output, context) =
|
|
|
1275
1275
|
ClusterType: undefined,
|
|
1276
1276
|
State: undefined,
|
|
1277
1277
|
};
|
|
1278
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1278
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1279
1279
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
1280
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
1280
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
1281
1281
|
}
|
|
1282
1282
|
if (data.clusterName !== undefined && data.clusterName !== null) {
|
|
1283
|
-
contents.ClusterName = smithy_client_1.expectString(data.clusterName);
|
|
1283
|
+
contents.ClusterName = (0, smithy_client_1.expectString)(data.clusterName);
|
|
1284
1284
|
}
|
|
1285
1285
|
if (data.clusterType !== undefined && data.clusterType !== null) {
|
|
1286
|
-
contents.ClusterType = smithy_client_1.expectString(data.clusterType);
|
|
1286
|
+
contents.ClusterType = (0, smithy_client_1.expectString)(data.clusterType);
|
|
1287
1287
|
}
|
|
1288
1288
|
if (data.state !== undefined && data.state !== null) {
|
|
1289
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
1289
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
1290
1290
|
}
|
|
1291
1291
|
return Promise.resolve(contents);
|
|
1292
1292
|
};
|
|
@@ -1328,7 +1328,7 @@ const deserializeAws_restJson1CreateClusterV2CommandError = async (output, conte
|
|
|
1328
1328
|
$fault: "client",
|
|
1329
1329
|
$metadata: deserializeMetadata(output),
|
|
1330
1330
|
});
|
|
1331
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1331
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1332
1332
|
}
|
|
1333
1333
|
};
|
|
1334
1334
|
const deserializeAws_restJson1CreateConfigurationCommand = async (output, context) => {
|
|
@@ -1343,21 +1343,21 @@ const deserializeAws_restJson1CreateConfigurationCommand = async (output, contex
|
|
|
1343
1343
|
Name: undefined,
|
|
1344
1344
|
State: undefined,
|
|
1345
1345
|
};
|
|
1346
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1346
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1347
1347
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1348
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1348
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1349
1349
|
}
|
|
1350
1350
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
1351
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
1351
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
1352
1352
|
}
|
|
1353
1353
|
if (data.latestRevision !== undefined && data.latestRevision !== null) {
|
|
1354
1354
|
contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
|
|
1355
1355
|
}
|
|
1356
1356
|
if (data.name !== undefined && data.name !== null) {
|
|
1357
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
1357
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
1358
1358
|
}
|
|
1359
1359
|
if (data.state !== undefined && data.state !== null) {
|
|
1360
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
1360
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
1361
1361
|
}
|
|
1362
1362
|
return Promise.resolve(contents);
|
|
1363
1363
|
};
|
|
@@ -1399,7 +1399,7 @@ const deserializeAws_restJson1CreateConfigurationCommandError = async (output, c
|
|
|
1399
1399
|
$fault: "client",
|
|
1400
1400
|
$metadata: deserializeMetadata(output),
|
|
1401
1401
|
});
|
|
1402
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1402
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1403
1403
|
}
|
|
1404
1404
|
};
|
|
1405
1405
|
const deserializeAws_restJson1DeleteClusterCommand = async (output, context) => {
|
|
@@ -1411,12 +1411,12 @@ const deserializeAws_restJson1DeleteClusterCommand = async (output, context) =>
|
|
|
1411
1411
|
ClusterArn: undefined,
|
|
1412
1412
|
State: undefined,
|
|
1413
1413
|
};
|
|
1414
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1414
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1415
1415
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
1416
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
1416
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
1417
1417
|
}
|
|
1418
1418
|
if (data.state !== undefined && data.state !== null) {
|
|
1419
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
1419
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
1420
1420
|
}
|
|
1421
1421
|
return Promise.resolve(contents);
|
|
1422
1422
|
};
|
|
@@ -1449,7 +1449,7 @@ const deserializeAws_restJson1DeleteClusterCommandError = async (output, context
|
|
|
1449
1449
|
$fault: "client",
|
|
1450
1450
|
$metadata: deserializeMetadata(output),
|
|
1451
1451
|
});
|
|
1452
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1452
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
1455
|
const deserializeAws_restJson1DeleteConfigurationCommand = async (output, context) => {
|
|
@@ -1461,12 +1461,12 @@ const deserializeAws_restJson1DeleteConfigurationCommand = async (output, contex
|
|
|
1461
1461
|
Arn: undefined,
|
|
1462
1462
|
State: undefined,
|
|
1463
1463
|
};
|
|
1464
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1464
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1465
1465
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1466
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1466
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1467
1467
|
}
|
|
1468
1468
|
if (data.state !== undefined && data.state !== null) {
|
|
1469
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
1469
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
1470
1470
|
}
|
|
1471
1471
|
return Promise.resolve(contents);
|
|
1472
1472
|
};
|
|
@@ -1499,7 +1499,7 @@ const deserializeAws_restJson1DeleteConfigurationCommandError = async (output, c
|
|
|
1499
1499
|
$fault: "client",
|
|
1500
1500
|
$metadata: deserializeMetadata(output),
|
|
1501
1501
|
});
|
|
1502
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1502
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1503
1503
|
}
|
|
1504
1504
|
};
|
|
1505
1505
|
const deserializeAws_restJson1DescribeClusterCommand = async (output, context) => {
|
|
@@ -1510,7 +1510,7 @@ const deserializeAws_restJson1DescribeClusterCommand = async (output, context) =
|
|
|
1510
1510
|
$metadata: deserializeMetadata(output),
|
|
1511
1511
|
ClusterInfo: undefined,
|
|
1512
1512
|
};
|
|
1513
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1513
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1514
1514
|
if (data.clusterInfo !== undefined && data.clusterInfo !== null) {
|
|
1515
1515
|
contents.ClusterInfo = deserializeAws_restJson1ClusterInfo(data.clusterInfo, context);
|
|
1516
1516
|
}
|
|
@@ -1548,7 +1548,7 @@ const deserializeAws_restJson1DescribeClusterCommandError = async (output, conte
|
|
|
1548
1548
|
$fault: "client",
|
|
1549
1549
|
$metadata: deserializeMetadata(output),
|
|
1550
1550
|
});
|
|
1551
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1551
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
1554
|
const deserializeAws_restJson1DescribeClusterOperationCommand = async (output, context) => {
|
|
@@ -1559,7 +1559,7 @@ const deserializeAws_restJson1DescribeClusterOperationCommand = async (output, c
|
|
|
1559
1559
|
$metadata: deserializeMetadata(output),
|
|
1560
1560
|
ClusterOperationInfo: undefined,
|
|
1561
1561
|
};
|
|
1562
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1562
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1563
1563
|
if (data.clusterOperationInfo !== undefined && data.clusterOperationInfo !== null) {
|
|
1564
1564
|
contents.ClusterOperationInfo = deserializeAws_restJson1ClusterOperationInfo(data.clusterOperationInfo, context);
|
|
1565
1565
|
}
|
|
@@ -1597,7 +1597,7 @@ const deserializeAws_restJson1DescribeClusterOperationCommandError = async (outp
|
|
|
1597
1597
|
$fault: "client",
|
|
1598
1598
|
$metadata: deserializeMetadata(output),
|
|
1599
1599
|
});
|
|
1600
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1600
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1601
1601
|
}
|
|
1602
1602
|
};
|
|
1603
1603
|
const deserializeAws_restJson1DescribeClusterV2Command = async (output, context) => {
|
|
@@ -1608,7 +1608,7 @@ const deserializeAws_restJson1DescribeClusterV2Command = async (output, context)
|
|
|
1608
1608
|
$metadata: deserializeMetadata(output),
|
|
1609
1609
|
ClusterInfo: undefined,
|
|
1610
1610
|
};
|
|
1611
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1611
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1612
1612
|
if (data.clusterInfo !== undefined && data.clusterInfo !== null) {
|
|
1613
1613
|
contents.ClusterInfo = deserializeAws_restJson1Cluster(data.clusterInfo, context);
|
|
1614
1614
|
}
|
|
@@ -1646,7 +1646,7 @@ const deserializeAws_restJson1DescribeClusterV2CommandError = async (output, con
|
|
|
1646
1646
|
$fault: "client",
|
|
1647
1647
|
$metadata: deserializeMetadata(output),
|
|
1648
1648
|
});
|
|
1649
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1649
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1650
1650
|
}
|
|
1651
1651
|
};
|
|
1652
1652
|
const deserializeAws_restJson1DescribeConfigurationCommand = async (output, context) => {
|
|
@@ -1663,15 +1663,15 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
|
|
|
1663
1663
|
Name: undefined,
|
|
1664
1664
|
State: undefined,
|
|
1665
1665
|
};
|
|
1666
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1666
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1667
1667
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1668
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1668
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1669
1669
|
}
|
|
1670
1670
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
1671
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
1671
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
1672
1672
|
}
|
|
1673
1673
|
if (data.description !== undefined && data.description !== null) {
|
|
1674
|
-
contents.Description = smithy_client_1.expectString(data.description);
|
|
1674
|
+
contents.Description = (0, smithy_client_1.expectString)(data.description);
|
|
1675
1675
|
}
|
|
1676
1676
|
if (data.kafkaVersions !== undefined && data.kafkaVersions !== null) {
|
|
1677
1677
|
contents.KafkaVersions = deserializeAws_restJson1__listOf__string(data.kafkaVersions, context);
|
|
@@ -1680,10 +1680,10 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
|
|
|
1680
1680
|
contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
|
|
1681
1681
|
}
|
|
1682
1682
|
if (data.name !== undefined && data.name !== null) {
|
|
1683
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
1683
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
1684
1684
|
}
|
|
1685
1685
|
if (data.state !== undefined && data.state !== null) {
|
|
1686
|
-
contents.State = smithy_client_1.expectString(data.state);
|
|
1686
|
+
contents.State = (0, smithy_client_1.expectString)(data.state);
|
|
1687
1687
|
}
|
|
1688
1688
|
return Promise.resolve(contents);
|
|
1689
1689
|
};
|
|
@@ -1722,7 +1722,7 @@ const deserializeAws_restJson1DescribeConfigurationCommandError = async (output,
|
|
|
1722
1722
|
$fault: "client",
|
|
1723
1723
|
$metadata: deserializeMetadata(output),
|
|
1724
1724
|
});
|
|
1725
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1725
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1726
1726
|
}
|
|
1727
1727
|
};
|
|
1728
1728
|
const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (output, context) => {
|
|
@@ -1737,18 +1737,18 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (outp
|
|
|
1737
1737
|
Revision: undefined,
|
|
1738
1738
|
ServerProperties: undefined,
|
|
1739
1739
|
};
|
|
1740
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1740
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1741
1741
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1742
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
1742
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1743
1743
|
}
|
|
1744
1744
|
if (data.creationTime !== undefined && data.creationTime !== null) {
|
|
1745
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.creationTime));
|
|
1745
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
|
|
1746
1746
|
}
|
|
1747
1747
|
if (data.description !== undefined && data.description !== null) {
|
|
1748
|
-
contents.Description = smithy_client_1.expectString(data.description);
|
|
1748
|
+
contents.Description = (0, smithy_client_1.expectString)(data.description);
|
|
1749
1749
|
}
|
|
1750
1750
|
if (data.revision !== undefined && data.revision !== null) {
|
|
1751
|
-
contents.Revision = smithy_client_1.expectLong(data.revision);
|
|
1751
|
+
contents.Revision = (0, smithy_client_1.expectLong)(data.revision);
|
|
1752
1752
|
}
|
|
1753
1753
|
if (data.serverProperties !== undefined && data.serverProperties !== null) {
|
|
1754
1754
|
contents.ServerProperties = context.base64Decoder(data.serverProperties);
|
|
@@ -1790,7 +1790,7 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommandError = async
|
|
|
1790
1790
|
$fault: "client",
|
|
1791
1791
|
$metadata: deserializeMetadata(output),
|
|
1792
1792
|
});
|
|
1793
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1793
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1794
1794
|
}
|
|
1795
1795
|
};
|
|
1796
1796
|
const deserializeAws_restJson1GetBootstrapBrokersCommand = async (output, context) => {
|
|
@@ -1807,27 +1807,27 @@ const deserializeAws_restJson1GetBootstrapBrokersCommand = async (output, contex
|
|
|
1807
1807
|
BootstrapBrokerStringSaslScram: undefined,
|
|
1808
1808
|
BootstrapBrokerStringTls: undefined,
|
|
1809
1809
|
};
|
|
1810
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1810
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1811
1811
|
if (data.bootstrapBrokerString !== undefined && data.bootstrapBrokerString !== null) {
|
|
1812
|
-
contents.BootstrapBrokerString = smithy_client_1.expectString(data.bootstrapBrokerString);
|
|
1812
|
+
contents.BootstrapBrokerString = (0, smithy_client_1.expectString)(data.bootstrapBrokerString);
|
|
1813
1813
|
}
|
|
1814
1814
|
if (data.bootstrapBrokerStringPublicSaslIam !== undefined && data.bootstrapBrokerStringPublicSaslIam !== null) {
|
|
1815
|
-
contents.BootstrapBrokerStringPublicSaslIam = smithy_client_1.expectString(data.bootstrapBrokerStringPublicSaslIam);
|
|
1815
|
+
contents.BootstrapBrokerStringPublicSaslIam = (0, smithy_client_1.expectString)(data.bootstrapBrokerStringPublicSaslIam);
|
|
1816
1816
|
}
|
|
1817
1817
|
if (data.bootstrapBrokerStringPublicSaslScram !== undefined && data.bootstrapBrokerStringPublicSaslScram !== null) {
|
|
1818
|
-
contents.BootstrapBrokerStringPublicSaslScram = smithy_client_1.expectString(data.bootstrapBrokerStringPublicSaslScram);
|
|
1818
|
+
contents.BootstrapBrokerStringPublicSaslScram = (0, smithy_client_1.expectString)(data.bootstrapBrokerStringPublicSaslScram);
|
|
1819
1819
|
}
|
|
1820
1820
|
if (data.bootstrapBrokerStringPublicTls !== undefined && data.bootstrapBrokerStringPublicTls !== null) {
|
|
1821
|
-
contents.BootstrapBrokerStringPublicTls = smithy_client_1.expectString(data.bootstrapBrokerStringPublicTls);
|
|
1821
|
+
contents.BootstrapBrokerStringPublicTls = (0, smithy_client_1.expectString)(data.bootstrapBrokerStringPublicTls);
|
|
1822
1822
|
}
|
|
1823
1823
|
if (data.bootstrapBrokerStringSaslIam !== undefined && data.bootstrapBrokerStringSaslIam !== null) {
|
|
1824
|
-
contents.BootstrapBrokerStringSaslIam = smithy_client_1.expectString(data.bootstrapBrokerStringSaslIam);
|
|
1824
|
+
contents.BootstrapBrokerStringSaslIam = (0, smithy_client_1.expectString)(data.bootstrapBrokerStringSaslIam);
|
|
1825
1825
|
}
|
|
1826
1826
|
if (data.bootstrapBrokerStringSaslScram !== undefined && data.bootstrapBrokerStringSaslScram !== null) {
|
|
1827
|
-
contents.BootstrapBrokerStringSaslScram = smithy_client_1.expectString(data.bootstrapBrokerStringSaslScram);
|
|
1827
|
+
contents.BootstrapBrokerStringSaslScram = (0, smithy_client_1.expectString)(data.bootstrapBrokerStringSaslScram);
|
|
1828
1828
|
}
|
|
1829
1829
|
if (data.bootstrapBrokerStringTls !== undefined && data.bootstrapBrokerStringTls !== null) {
|
|
1830
|
-
contents.BootstrapBrokerStringTls = smithy_client_1.expectString(data.bootstrapBrokerStringTls);
|
|
1830
|
+
contents.BootstrapBrokerStringTls = (0, smithy_client_1.expectString)(data.bootstrapBrokerStringTls);
|
|
1831
1831
|
}
|
|
1832
1832
|
return Promise.resolve(contents);
|
|
1833
1833
|
};
|
|
@@ -1863,7 +1863,7 @@ const deserializeAws_restJson1GetBootstrapBrokersCommandError = async (output, c
|
|
|
1863
1863
|
$fault: "client",
|
|
1864
1864
|
$metadata: deserializeMetadata(output),
|
|
1865
1865
|
});
|
|
1866
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1866
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1867
1867
|
}
|
|
1868
1868
|
};
|
|
1869
1869
|
const deserializeAws_restJson1GetCompatibleKafkaVersionsCommand = async (output, context) => {
|
|
@@ -1874,7 +1874,7 @@ const deserializeAws_restJson1GetCompatibleKafkaVersionsCommand = async (output,
|
|
|
1874
1874
|
$metadata: deserializeMetadata(output),
|
|
1875
1875
|
CompatibleKafkaVersions: undefined,
|
|
1876
1876
|
};
|
|
1877
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1877
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1878
1878
|
if (data.compatibleKafkaVersions !== undefined && data.compatibleKafkaVersions !== null) {
|
|
1879
1879
|
contents.CompatibleKafkaVersions = deserializeAws_restJson1__listOfCompatibleKafkaVersion(data.compatibleKafkaVersions, context);
|
|
1880
1880
|
}
|
|
@@ -1918,7 +1918,7 @@ const deserializeAws_restJson1GetCompatibleKafkaVersionsCommandError = async (ou
|
|
|
1918
1918
|
$fault: "client",
|
|
1919
1919
|
$metadata: deserializeMetadata(output),
|
|
1920
1920
|
});
|
|
1921
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1921
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1922
1922
|
}
|
|
1923
1923
|
};
|
|
1924
1924
|
const deserializeAws_restJson1ListClusterOperationsCommand = async (output, context) => {
|
|
@@ -1930,12 +1930,12 @@ const deserializeAws_restJson1ListClusterOperationsCommand = async (output, cont
|
|
|
1930
1930
|
ClusterOperationInfoList: undefined,
|
|
1931
1931
|
NextToken: undefined,
|
|
1932
1932
|
};
|
|
1933
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1933
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1934
1934
|
if (data.clusterOperationInfoList !== undefined && data.clusterOperationInfoList !== null) {
|
|
1935
1935
|
contents.ClusterOperationInfoList = deserializeAws_restJson1__listOfClusterOperationInfo(data.clusterOperationInfoList, context);
|
|
1936
1936
|
}
|
|
1937
1937
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1938
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1938
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1939
1939
|
}
|
|
1940
1940
|
return Promise.resolve(contents);
|
|
1941
1941
|
};
|
|
@@ -1968,7 +1968,7 @@ const deserializeAws_restJson1ListClusterOperationsCommandError = async (output,
|
|
|
1968
1968
|
$fault: "client",
|
|
1969
1969
|
$metadata: deserializeMetadata(output),
|
|
1970
1970
|
});
|
|
1971
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1971
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1972
1972
|
}
|
|
1973
1973
|
};
|
|
1974
1974
|
const deserializeAws_restJson1ListClustersCommand = async (output, context) => {
|
|
@@ -1980,12 +1980,12 @@ const deserializeAws_restJson1ListClustersCommand = async (output, context) => {
|
|
|
1980
1980
|
ClusterInfoList: undefined,
|
|
1981
1981
|
NextToken: undefined,
|
|
1982
1982
|
};
|
|
1983
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1983
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1984
1984
|
if (data.clusterInfoList !== undefined && data.clusterInfoList !== null) {
|
|
1985
1985
|
contents.ClusterInfoList = deserializeAws_restJson1__listOfClusterInfo(data.clusterInfoList, context);
|
|
1986
1986
|
}
|
|
1987
1987
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1988
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
1988
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1989
1989
|
}
|
|
1990
1990
|
return Promise.resolve(contents);
|
|
1991
1991
|
};
|
|
@@ -2018,7 +2018,7 @@ const deserializeAws_restJson1ListClustersCommandError = async (output, context)
|
|
|
2018
2018
|
$fault: "client",
|
|
2019
2019
|
$metadata: deserializeMetadata(output),
|
|
2020
2020
|
});
|
|
2021
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2021
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2022
2022
|
}
|
|
2023
2023
|
};
|
|
2024
2024
|
const deserializeAws_restJson1ListClustersV2Command = async (output, context) => {
|
|
@@ -2030,12 +2030,12 @@ const deserializeAws_restJson1ListClustersV2Command = async (output, context) =>
|
|
|
2030
2030
|
ClusterInfoList: undefined,
|
|
2031
2031
|
NextToken: undefined,
|
|
2032
2032
|
};
|
|
2033
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2033
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2034
2034
|
if (data.clusterInfoList !== undefined && data.clusterInfoList !== null) {
|
|
2035
2035
|
contents.ClusterInfoList = deserializeAws_restJson1__listOfCluster(data.clusterInfoList, context);
|
|
2036
2036
|
}
|
|
2037
2037
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2038
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2038
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2039
2039
|
}
|
|
2040
2040
|
return Promise.resolve(contents);
|
|
2041
2041
|
};
|
|
@@ -2068,7 +2068,7 @@ const deserializeAws_restJson1ListClustersV2CommandError = async (output, contex
|
|
|
2068
2068
|
$fault: "client",
|
|
2069
2069
|
$metadata: deserializeMetadata(output),
|
|
2070
2070
|
});
|
|
2071
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2071
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2072
2072
|
}
|
|
2073
2073
|
};
|
|
2074
2074
|
const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (output, context) => {
|
|
@@ -2080,9 +2080,9 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (output,
|
|
|
2080
2080
|
NextToken: undefined,
|
|
2081
2081
|
Revisions: undefined,
|
|
2082
2082
|
};
|
|
2083
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2083
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2084
2084
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2085
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2085
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2086
2086
|
}
|
|
2087
2087
|
if (data.revisions !== undefined && data.revisions !== null) {
|
|
2088
2088
|
contents.Revisions = deserializeAws_restJson1__listOfConfigurationRevision(data.revisions, context);
|
|
@@ -2124,7 +2124,7 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommandError = async (ou
|
|
|
2124
2124
|
$fault: "client",
|
|
2125
2125
|
$metadata: deserializeMetadata(output),
|
|
2126
2126
|
});
|
|
2127
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2127
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2128
2128
|
}
|
|
2129
2129
|
};
|
|
2130
2130
|
const deserializeAws_restJson1ListConfigurationsCommand = async (output, context) => {
|
|
@@ -2136,12 +2136,12 @@ const deserializeAws_restJson1ListConfigurationsCommand = async (output, context
|
|
|
2136
2136
|
Configurations: undefined,
|
|
2137
2137
|
NextToken: undefined,
|
|
2138
2138
|
};
|
|
2139
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2139
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2140
2140
|
if (data.configurations !== undefined && data.configurations !== null) {
|
|
2141
2141
|
contents.Configurations = deserializeAws_restJson1__listOfConfiguration(data.configurations, context);
|
|
2142
2142
|
}
|
|
2143
2143
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2144
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2144
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2145
2145
|
}
|
|
2146
2146
|
return Promise.resolve(contents);
|
|
2147
2147
|
};
|
|
@@ -2177,7 +2177,7 @@ const deserializeAws_restJson1ListConfigurationsCommandError = async (output, co
|
|
|
2177
2177
|
$fault: "client",
|
|
2178
2178
|
$metadata: deserializeMetadata(output),
|
|
2179
2179
|
});
|
|
2180
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2180
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2181
2181
|
}
|
|
2182
2182
|
};
|
|
2183
2183
|
const deserializeAws_restJson1ListKafkaVersionsCommand = async (output, context) => {
|
|
@@ -2189,12 +2189,12 @@ const deserializeAws_restJson1ListKafkaVersionsCommand = async (output, context)
|
|
|
2189
2189
|
KafkaVersions: undefined,
|
|
2190
2190
|
NextToken: undefined,
|
|
2191
2191
|
};
|
|
2192
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2192
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2193
2193
|
if (data.kafkaVersions !== undefined && data.kafkaVersions !== null) {
|
|
2194
2194
|
contents.KafkaVersions = deserializeAws_restJson1__listOfKafkaVersion(data.kafkaVersions, context);
|
|
2195
2195
|
}
|
|
2196
2196
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2197
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2197
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2198
2198
|
}
|
|
2199
2199
|
return Promise.resolve(contents);
|
|
2200
2200
|
};
|
|
@@ -2227,7 +2227,7 @@ const deserializeAws_restJson1ListKafkaVersionsCommandError = async (output, con
|
|
|
2227
2227
|
$fault: "client",
|
|
2228
2228
|
$metadata: deserializeMetadata(output),
|
|
2229
2229
|
});
|
|
2230
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2230
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2231
2231
|
}
|
|
2232
2232
|
};
|
|
2233
2233
|
const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
|
|
@@ -2239,9 +2239,9 @@ const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
|
|
|
2239
2239
|
NextToken: undefined,
|
|
2240
2240
|
NodeInfoList: undefined,
|
|
2241
2241
|
};
|
|
2242
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2242
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2243
2243
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2244
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2244
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2245
2245
|
}
|
|
2246
2246
|
if (data.nodeInfoList !== undefined && data.nodeInfoList !== null) {
|
|
2247
2247
|
contents.NodeInfoList = deserializeAws_restJson1__listOfNodeInfo(data.nodeInfoList, context);
|
|
@@ -2277,7 +2277,7 @@ const deserializeAws_restJson1ListNodesCommandError = async (output, context) =>
|
|
|
2277
2277
|
$fault: "client",
|
|
2278
2278
|
$metadata: deserializeMetadata(output),
|
|
2279
2279
|
});
|
|
2280
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2280
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2281
2281
|
}
|
|
2282
2282
|
};
|
|
2283
2283
|
const deserializeAws_restJson1ListScramSecretsCommand = async (output, context) => {
|
|
@@ -2289,9 +2289,9 @@ const deserializeAws_restJson1ListScramSecretsCommand = async (output, context)
|
|
|
2289
2289
|
NextToken: undefined,
|
|
2290
2290
|
SecretArnList: undefined,
|
|
2291
2291
|
};
|
|
2292
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2292
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2293
2293
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2294
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
2294
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2295
2295
|
}
|
|
2296
2296
|
if (data.secretArnList !== undefined && data.secretArnList !== null) {
|
|
2297
2297
|
contents.SecretArnList = deserializeAws_restJson1__listOf__string(data.secretArnList, context);
|
|
@@ -2336,7 +2336,7 @@ const deserializeAws_restJson1ListScramSecretsCommandError = async (output, cont
|
|
|
2336
2336
|
$fault: "client",
|
|
2337
2337
|
$metadata: deserializeMetadata(output),
|
|
2338
2338
|
});
|
|
2339
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2339
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2340
2340
|
}
|
|
2341
2341
|
};
|
|
2342
2342
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2347,7 +2347,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2347
2347
|
$metadata: deserializeMetadata(output),
|
|
2348
2348
|
Tags: undefined,
|
|
2349
2349
|
};
|
|
2350
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2350
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2351
2351
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2352
2352
|
contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
|
|
2353
2353
|
}
|
|
@@ -2379,7 +2379,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2379
2379
|
$fault: "client",
|
|
2380
2380
|
$metadata: deserializeMetadata(output),
|
|
2381
2381
|
});
|
|
2382
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2382
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2383
2383
|
}
|
|
2384
2384
|
};
|
|
2385
2385
|
const deserializeAws_restJson1RebootBrokerCommand = async (output, context) => {
|
|
@@ -2391,12 +2391,12 @@ const deserializeAws_restJson1RebootBrokerCommand = async (output, context) => {
|
|
|
2391
2391
|
ClusterArn: undefined,
|
|
2392
2392
|
ClusterOperationArn: undefined,
|
|
2393
2393
|
};
|
|
2394
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2394
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2395
2395
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2396
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2396
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2397
2397
|
}
|
|
2398
2398
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2399
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2399
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2400
2400
|
}
|
|
2401
2401
|
return Promise.resolve(contents);
|
|
2402
2402
|
};
|
|
@@ -2438,7 +2438,7 @@ const deserializeAws_restJson1RebootBrokerCommandError = async (output, context)
|
|
|
2438
2438
|
$fault: "client",
|
|
2439
2439
|
$metadata: deserializeMetadata(output),
|
|
2440
2440
|
});
|
|
2441
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2441
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2442
2442
|
}
|
|
2443
2443
|
};
|
|
2444
2444
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -2477,7 +2477,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2477
2477
|
$fault: "client",
|
|
2478
2478
|
$metadata: deserializeMetadata(output),
|
|
2479
2479
|
});
|
|
2480
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2480
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2481
2481
|
}
|
|
2482
2482
|
};
|
|
2483
2483
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -2516,7 +2516,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2516
2516
|
$fault: "client",
|
|
2517
2517
|
$metadata: deserializeMetadata(output),
|
|
2518
2518
|
});
|
|
2519
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2519
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2520
2520
|
}
|
|
2521
2521
|
};
|
|
2522
2522
|
const deserializeAws_restJson1UpdateBrokerCountCommand = async (output, context) => {
|
|
@@ -2528,12 +2528,12 @@ const deserializeAws_restJson1UpdateBrokerCountCommand = async (output, context)
|
|
|
2528
2528
|
ClusterArn: undefined,
|
|
2529
2529
|
ClusterOperationArn: undefined,
|
|
2530
2530
|
};
|
|
2531
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2531
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2532
2532
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2533
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2533
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2534
2534
|
}
|
|
2535
2535
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2536
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2536
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2537
2537
|
}
|
|
2538
2538
|
return Promise.resolve(contents);
|
|
2539
2539
|
};
|
|
@@ -2569,7 +2569,7 @@ const deserializeAws_restJson1UpdateBrokerCountCommandError = async (output, con
|
|
|
2569
2569
|
$fault: "client",
|
|
2570
2570
|
$metadata: deserializeMetadata(output),
|
|
2571
2571
|
});
|
|
2572
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2572
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2573
2573
|
}
|
|
2574
2574
|
};
|
|
2575
2575
|
const deserializeAws_restJson1UpdateBrokerStorageCommand = async (output, context) => {
|
|
@@ -2581,12 +2581,12 @@ const deserializeAws_restJson1UpdateBrokerStorageCommand = async (output, contex
|
|
|
2581
2581
|
ClusterArn: undefined,
|
|
2582
2582
|
ClusterOperationArn: undefined,
|
|
2583
2583
|
};
|
|
2584
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2584
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2585
2585
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2586
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2586
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2587
2587
|
}
|
|
2588
2588
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2589
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2589
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2590
2590
|
}
|
|
2591
2591
|
return Promise.resolve(contents);
|
|
2592
2592
|
};
|
|
@@ -2622,7 +2622,7 @@ const deserializeAws_restJson1UpdateBrokerStorageCommandError = async (output, c
|
|
|
2622
2622
|
$fault: "client",
|
|
2623
2623
|
$metadata: deserializeMetadata(output),
|
|
2624
2624
|
});
|
|
2625
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2625
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2626
2626
|
}
|
|
2627
2627
|
};
|
|
2628
2628
|
const deserializeAws_restJson1UpdateBrokerTypeCommand = async (output, context) => {
|
|
@@ -2634,12 +2634,12 @@ const deserializeAws_restJson1UpdateBrokerTypeCommand = async (output, context)
|
|
|
2634
2634
|
ClusterArn: undefined,
|
|
2635
2635
|
ClusterOperationArn: undefined,
|
|
2636
2636
|
};
|
|
2637
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2637
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2638
2638
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2639
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2639
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2640
2640
|
}
|
|
2641
2641
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2642
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2642
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2643
2643
|
}
|
|
2644
2644
|
return Promise.resolve(contents);
|
|
2645
2645
|
};
|
|
@@ -2681,7 +2681,7 @@ const deserializeAws_restJson1UpdateBrokerTypeCommandError = async (output, cont
|
|
|
2681
2681
|
$fault: "client",
|
|
2682
2682
|
$metadata: deserializeMetadata(output),
|
|
2683
2683
|
});
|
|
2684
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2684
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2685
2685
|
}
|
|
2686
2686
|
};
|
|
2687
2687
|
const deserializeAws_restJson1UpdateClusterConfigurationCommand = async (output, context) => {
|
|
@@ -2693,12 +2693,12 @@ const deserializeAws_restJson1UpdateClusterConfigurationCommand = async (output,
|
|
|
2693
2693
|
ClusterArn: undefined,
|
|
2694
2694
|
ClusterOperationArn: undefined,
|
|
2695
2695
|
};
|
|
2696
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2696
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2697
2697
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2698
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2698
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2699
2699
|
}
|
|
2700
2700
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2701
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2701
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2702
2702
|
}
|
|
2703
2703
|
return Promise.resolve(contents);
|
|
2704
2704
|
};
|
|
@@ -2737,7 +2737,7 @@ const deserializeAws_restJson1UpdateClusterConfigurationCommandError = async (ou
|
|
|
2737
2737
|
$fault: "client",
|
|
2738
2738
|
$metadata: deserializeMetadata(output),
|
|
2739
2739
|
});
|
|
2740
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2740
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2741
2741
|
}
|
|
2742
2742
|
};
|
|
2743
2743
|
const deserializeAws_restJson1UpdateClusterKafkaVersionCommand = async (output, context) => {
|
|
@@ -2749,12 +2749,12 @@ const deserializeAws_restJson1UpdateClusterKafkaVersionCommand = async (output,
|
|
|
2749
2749
|
ClusterArn: undefined,
|
|
2750
2750
|
ClusterOperationArn: undefined,
|
|
2751
2751
|
};
|
|
2752
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2752
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2753
2753
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2754
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2754
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2755
2755
|
}
|
|
2756
2756
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2757
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2757
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2758
2758
|
}
|
|
2759
2759
|
return Promise.resolve(contents);
|
|
2760
2760
|
};
|
|
@@ -2796,7 +2796,7 @@ const deserializeAws_restJson1UpdateClusterKafkaVersionCommandError = async (out
|
|
|
2796
2796
|
$fault: "client",
|
|
2797
2797
|
$metadata: deserializeMetadata(output),
|
|
2798
2798
|
});
|
|
2799
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2799
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2800
2800
|
}
|
|
2801
2801
|
};
|
|
2802
2802
|
const deserializeAws_restJson1UpdateConfigurationCommand = async (output, context) => {
|
|
@@ -2808,9 +2808,9 @@ const deserializeAws_restJson1UpdateConfigurationCommand = async (output, contex
|
|
|
2808
2808
|
Arn: undefined,
|
|
2809
2809
|
LatestRevision: undefined,
|
|
2810
2810
|
};
|
|
2811
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2811
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2812
2812
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2813
|
-
contents.Arn = smithy_client_1.expectString(data.arn);
|
|
2813
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.arn);
|
|
2814
2814
|
}
|
|
2815
2815
|
if (data.latestRevision !== undefined && data.latestRevision !== null) {
|
|
2816
2816
|
contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
|
|
@@ -2852,7 +2852,7 @@ const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, c
|
|
|
2852
2852
|
$fault: "client",
|
|
2853
2853
|
$metadata: deserializeMetadata(output),
|
|
2854
2854
|
});
|
|
2855
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2855
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2856
2856
|
}
|
|
2857
2857
|
};
|
|
2858
2858
|
const deserializeAws_restJson1UpdateConnectivityCommand = async (output, context) => {
|
|
@@ -2864,12 +2864,12 @@ const deserializeAws_restJson1UpdateConnectivityCommand = async (output, context
|
|
|
2864
2864
|
ClusterArn: undefined,
|
|
2865
2865
|
ClusterOperationArn: undefined,
|
|
2866
2866
|
};
|
|
2867
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2867
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2868
2868
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2869
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2869
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2870
2870
|
}
|
|
2871
2871
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2872
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2872
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2873
2873
|
}
|
|
2874
2874
|
return Promise.resolve(contents);
|
|
2875
2875
|
};
|
|
@@ -2908,7 +2908,7 @@ const deserializeAws_restJson1UpdateConnectivityCommandError = async (output, co
|
|
|
2908
2908
|
$fault: "client",
|
|
2909
2909
|
$metadata: deserializeMetadata(output),
|
|
2910
2910
|
});
|
|
2911
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2911
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2912
2912
|
}
|
|
2913
2913
|
};
|
|
2914
2914
|
const deserializeAws_restJson1UpdateMonitoringCommand = async (output, context) => {
|
|
@@ -2920,12 +2920,12 @@ const deserializeAws_restJson1UpdateMonitoringCommand = async (output, context)
|
|
|
2920
2920
|
ClusterArn: undefined,
|
|
2921
2921
|
ClusterOperationArn: undefined,
|
|
2922
2922
|
};
|
|
2923
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2923
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2924
2924
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2925
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2925
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2926
2926
|
}
|
|
2927
2927
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2928
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2928
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2929
2929
|
}
|
|
2930
2930
|
return Promise.resolve(contents);
|
|
2931
2931
|
};
|
|
@@ -2961,7 +2961,7 @@ const deserializeAws_restJson1UpdateMonitoringCommandError = async (output, cont
|
|
|
2961
2961
|
$fault: "client",
|
|
2962
2962
|
$metadata: deserializeMetadata(output),
|
|
2963
2963
|
});
|
|
2964
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2964
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2965
2965
|
}
|
|
2966
2966
|
};
|
|
2967
2967
|
const deserializeAws_restJson1UpdateSecurityCommand = async (output, context) => {
|
|
@@ -2973,12 +2973,12 @@ const deserializeAws_restJson1UpdateSecurityCommand = async (output, context) =>
|
|
|
2973
2973
|
ClusterArn: undefined,
|
|
2974
2974
|
ClusterOperationArn: undefined,
|
|
2975
2975
|
};
|
|
2976
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2976
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2977
2977
|
if (data.clusterArn !== undefined && data.clusterArn !== null) {
|
|
2978
|
-
contents.ClusterArn = smithy_client_1.expectString(data.clusterArn);
|
|
2978
|
+
contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
|
|
2979
2979
|
}
|
|
2980
2980
|
if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
|
|
2981
|
-
contents.ClusterOperationArn = smithy_client_1.expectString(data.clusterOperationArn);
|
|
2981
|
+
contents.ClusterOperationArn = (0, smithy_client_1.expectString)(data.clusterOperationArn);
|
|
2982
2982
|
}
|
|
2983
2983
|
return Promise.resolve(contents);
|
|
2984
2984
|
};
|
|
@@ -3020,128 +3020,128 @@ const deserializeAws_restJson1UpdateSecurityCommandError = async (output, contex
|
|
|
3020
3020
|
$fault: "client",
|
|
3021
3021
|
$metadata: deserializeMetadata(output),
|
|
3022
3022
|
});
|
|
3023
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3023
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3024
3024
|
}
|
|
3025
3025
|
};
|
|
3026
3026
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
3027
3027
|
const contents = {};
|
|
3028
3028
|
const data = parsedOutput.body;
|
|
3029
3029
|
if (data.invalidParameter !== undefined && data.invalidParameter !== null) {
|
|
3030
|
-
contents.InvalidParameter = smithy_client_1.expectString(data.invalidParameter);
|
|
3030
|
+
contents.InvalidParameter = (0, smithy_client_1.expectString)(data.invalidParameter);
|
|
3031
3031
|
}
|
|
3032
3032
|
if (data.message !== undefined && data.message !== null) {
|
|
3033
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
3033
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
3034
3034
|
}
|
|
3035
3035
|
const exception = new models_0_1.BadRequestException({
|
|
3036
3036
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3037
3037
|
...contents,
|
|
3038
3038
|
});
|
|
3039
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3039
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3040
3040
|
};
|
|
3041
3041
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
3042
3042
|
const contents = {};
|
|
3043
3043
|
const data = parsedOutput.body;
|
|
3044
3044
|
if (data.invalidParameter !== undefined && data.invalidParameter !== null) {
|
|
3045
|
-
contents.InvalidParameter = smithy_client_1.expectString(data.invalidParameter);
|
|
3045
|
+
contents.InvalidParameter = (0, smithy_client_1.expectString)(data.invalidParameter);
|
|
3046
3046
|
}
|
|
3047
3047
|
if (data.message !== undefined && data.message !== null) {
|
|
3048
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
3048
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
3049
3049
|
}
|
|
3050
3050
|
const exception = new models_0_1.ConflictException({
|
|
3051
3051
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3052
3052
|
...contents,
|
|
3053
3053
|
});
|
|
3054
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3054
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3055
3055
|
};
|
|
3056
3056
|
const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
|
|
3057
3057
|
const contents = {};
|
|
3058
3058
|
const data = parsedOutput.body;
|
|
3059
3059
|
if (data.invalidParameter !== undefined && data.invalidParameter !== null) {
|
|
3060
|
-
contents.InvalidParameter = smithy_client_1.expectString(data.invalidParameter);
|
|
3060
|
+
contents.InvalidParameter = (0, smithy_client_1.expectString)(data.invalidParameter);
|
|
3061
3061
|
}
|
|
3062
3062
|
if (data.message !== undefined && data.message !== null) {
|
|
3063
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
3063
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
3064
3064
|
}
|
|
3065
3065
|
const exception = new models_0_1.ForbiddenException({
|
|
3066
3066
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3067
3067
|
...contents,
|
|
3068
3068
|
});
|
|
3069
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3069
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3070
3070
|
};
|
|
3071
3071
|
const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
|
|
3072
3072
|
const contents = {};
|
|
3073
3073
|
const data = parsedOutput.body;
|
|
3074
3074
|
if (data.invalidParameter !== undefined && data.invalidParameter !== null) {
|
|
3075
|
-
contents.InvalidParameter = smithy_client_1.expectString(data.invalidParameter);
|
|
3075
|
+
contents.InvalidParameter = (0, smithy_client_1.expectString)(data.invalidParameter);
|
|
3076
3076
|
}
|
|
3077
3077
|
if (data.message !== undefined && data.message !== null) {
|
|
3078
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
3078
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
3079
3079
|
}
|
|
3080
3080
|
const exception = new models_0_1.InternalServerErrorException({
|
|
3081
3081
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3082
3082
|
...contents,
|
|
3083
3083
|
});
|
|
3084
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3084
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3085
3085
|
};
|
|
3086
3086
|
const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3087
3087
|
const contents = {};
|
|
3088
3088
|
const data = parsedOutput.body;
|
|
3089
3089
|
if (data.invalidParameter !== undefined && data.invalidParameter !== null) {
|
|
3090
|
-
contents.InvalidParameter = smithy_client_1.expectString(data.invalidParameter);
|
|
3090
|
+
contents.InvalidParameter = (0, smithy_client_1.expectString)(data.invalidParameter);
|
|
3091
3091
|
}
|
|
3092
3092
|
if (data.message !== undefined && data.message !== null) {
|
|
3093
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
3093
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
3094
3094
|
}
|
|
3095
3095
|
const exception = new models_0_1.NotFoundException({
|
|
3096
3096
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3097
3097
|
...contents,
|
|
3098
3098
|
});
|
|
3099
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3099
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3100
3100
|
};
|
|
3101
3101
|
const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
3102
3102
|
const contents = {};
|
|
3103
3103
|
const data = parsedOutput.body;
|
|
3104
3104
|
if (data.invalidParameter !== undefined && data.invalidParameter !== null) {
|
|
3105
|
-
contents.InvalidParameter = smithy_client_1.expectString(data.invalidParameter);
|
|
3105
|
+
contents.InvalidParameter = (0, smithy_client_1.expectString)(data.invalidParameter);
|
|
3106
3106
|
}
|
|
3107
3107
|
if (data.message !== undefined && data.message !== null) {
|
|
3108
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
3108
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
3109
3109
|
}
|
|
3110
3110
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
3111
3111
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3112
3112
|
...contents,
|
|
3113
3113
|
});
|
|
3114
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3114
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3115
3115
|
};
|
|
3116
3116
|
const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
3117
3117
|
const contents = {};
|
|
3118
3118
|
const data = parsedOutput.body;
|
|
3119
3119
|
if (data.invalidParameter !== undefined && data.invalidParameter !== null) {
|
|
3120
|
-
contents.InvalidParameter = smithy_client_1.expectString(data.invalidParameter);
|
|
3120
|
+
contents.InvalidParameter = (0, smithy_client_1.expectString)(data.invalidParameter);
|
|
3121
3121
|
}
|
|
3122
3122
|
if (data.message !== undefined && data.message !== null) {
|
|
3123
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
3123
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
3124
3124
|
}
|
|
3125
3125
|
const exception = new models_0_1.TooManyRequestsException({
|
|
3126
3126
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3127
3127
|
...contents,
|
|
3128
3128
|
});
|
|
3129
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3129
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3130
3130
|
};
|
|
3131
3131
|
const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
|
|
3132
3132
|
const contents = {};
|
|
3133
3133
|
const data = parsedOutput.body;
|
|
3134
3134
|
if (data.invalidParameter !== undefined && data.invalidParameter !== null) {
|
|
3135
|
-
contents.InvalidParameter = smithy_client_1.expectString(data.invalidParameter);
|
|
3135
|
+
contents.InvalidParameter = (0, smithy_client_1.expectString)(data.invalidParameter);
|
|
3136
3136
|
}
|
|
3137
3137
|
if (data.message !== undefined && data.message !== null) {
|
|
3138
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
3138
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
3139
3139
|
}
|
|
3140
3140
|
const exception = new models_0_1.UnauthorizedException({
|
|
3141
3141
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3142
3142
|
...contents,
|
|
3143
3143
|
});
|
|
3144
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3144
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3145
3145
|
};
|
|
3146
3146
|
const serializeAws_restJson1__listOf__string = (input, context) => {
|
|
3147
3147
|
return input
|
|
@@ -3456,7 +3456,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
|
|
|
3456
3456
|
if (entry === null) {
|
|
3457
3457
|
return null;
|
|
3458
3458
|
}
|
|
3459
|
-
return smithy_client_1.expectString(entry);
|
|
3459
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3460
3460
|
});
|
|
3461
3461
|
return retVal;
|
|
3462
3462
|
};
|
|
@@ -3599,17 +3599,17 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
|
|
|
3599
3599
|
}
|
|
3600
3600
|
return {
|
|
3601
3601
|
...acc,
|
|
3602
|
-
[key]: smithy_client_1.expectString(value),
|
|
3602
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3603
3603
|
};
|
|
3604
3604
|
}, {});
|
|
3605
3605
|
};
|
|
3606
3606
|
const deserializeAws_restJson1BrokerEBSVolumeInfo = (output, context) => {
|
|
3607
3607
|
return {
|
|
3608
|
-
KafkaBrokerNodeId: smithy_client_1.expectString(output.kafkaBrokerNodeId),
|
|
3608
|
+
KafkaBrokerNodeId: (0, smithy_client_1.expectString)(output.kafkaBrokerNodeId),
|
|
3609
3609
|
ProvisionedThroughput: output.provisionedThroughput !== undefined && output.provisionedThroughput !== null
|
|
3610
3610
|
? deserializeAws_restJson1ProvisionedThroughput(output.provisionedThroughput, context)
|
|
3611
3611
|
: undefined,
|
|
3612
|
-
VolumeSizeGB: smithy_client_1.expectInt32(output.volumeSizeGB),
|
|
3612
|
+
VolumeSizeGB: (0, smithy_client_1.expectInt32)(output.volumeSizeGB),
|
|
3613
3613
|
};
|
|
3614
3614
|
};
|
|
3615
3615
|
const deserializeAws_restJson1BrokerLogs = (output, context) => {
|
|
@@ -3625,14 +3625,14 @@ const deserializeAws_restJson1BrokerLogs = (output, context) => {
|
|
|
3625
3625
|
};
|
|
3626
3626
|
const deserializeAws_restJson1BrokerNodeGroupInfo = (output, context) => {
|
|
3627
3627
|
return {
|
|
3628
|
-
BrokerAZDistribution: smithy_client_1.expectString(output.brokerAZDistribution),
|
|
3628
|
+
BrokerAZDistribution: (0, smithy_client_1.expectString)(output.brokerAZDistribution),
|
|
3629
3629
|
ClientSubnets: output.clientSubnets !== undefined && output.clientSubnets !== null
|
|
3630
3630
|
? deserializeAws_restJson1__listOf__string(output.clientSubnets, context)
|
|
3631
3631
|
: undefined,
|
|
3632
3632
|
ConnectivityInfo: output.connectivityInfo !== undefined && output.connectivityInfo !== null
|
|
3633
3633
|
? deserializeAws_restJson1ConnectivityInfo(output.connectivityInfo, context)
|
|
3634
3634
|
: undefined,
|
|
3635
|
-
InstanceType: smithy_client_1.expectString(output.instanceType),
|
|
3635
|
+
InstanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
3636
3636
|
SecurityGroups: output.securityGroups !== undefined && output.securityGroups !== null
|
|
3637
3637
|
? deserializeAws_restJson1__listOf__string(output.securityGroups, context)
|
|
3638
3638
|
: undefined,
|
|
@@ -3643,10 +3643,10 @@ const deserializeAws_restJson1BrokerNodeGroupInfo = (output, context) => {
|
|
|
3643
3643
|
};
|
|
3644
3644
|
const deserializeAws_restJson1BrokerNodeInfo = (output, context) => {
|
|
3645
3645
|
return {
|
|
3646
|
-
AttachedENIId: smithy_client_1.expectString(output.attachedENIId),
|
|
3647
|
-
BrokerId: smithy_client_1.limitedParseDouble(output.brokerId),
|
|
3648
|
-
ClientSubnet: smithy_client_1.expectString(output.clientSubnet),
|
|
3649
|
-
ClientVpcIpAddress: smithy_client_1.expectString(output.clientVpcIpAddress),
|
|
3646
|
+
AttachedENIId: (0, smithy_client_1.expectString)(output.attachedENIId),
|
|
3647
|
+
BrokerId: (0, smithy_client_1.limitedParseDouble)(output.brokerId),
|
|
3648
|
+
ClientSubnet: (0, smithy_client_1.expectString)(output.clientSubnet),
|
|
3649
|
+
ClientVpcIpAddress: (0, smithy_client_1.expectString)(output.clientVpcIpAddress),
|
|
3650
3650
|
CurrentBrokerSoftwareInfo: output.currentBrokerSoftwareInfo !== undefined && output.currentBrokerSoftwareInfo !== null
|
|
3651
3651
|
? deserializeAws_restJson1BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
|
|
3652
3652
|
: undefined,
|
|
@@ -3657,9 +3657,9 @@ const deserializeAws_restJson1BrokerNodeInfo = (output, context) => {
|
|
|
3657
3657
|
};
|
|
3658
3658
|
const deserializeAws_restJson1BrokerSoftwareInfo = (output, context) => {
|
|
3659
3659
|
return {
|
|
3660
|
-
ConfigurationArn: smithy_client_1.expectString(output.configurationArn),
|
|
3661
|
-
ConfigurationRevision: smithy_client_1.expectLong(output.configurationRevision),
|
|
3662
|
-
KafkaVersion: smithy_client_1.expectString(output.kafkaVersion),
|
|
3660
|
+
ConfigurationArn: (0, smithy_client_1.expectString)(output.configurationArn),
|
|
3661
|
+
ConfigurationRevision: (0, smithy_client_1.expectLong)(output.configurationRevision),
|
|
3662
|
+
KafkaVersion: (0, smithy_client_1.expectString)(output.kafkaVersion),
|
|
3663
3663
|
};
|
|
3664
3664
|
};
|
|
3665
3665
|
const deserializeAws_restJson1ClientAuthentication = (output, context) => {
|
|
@@ -3675,27 +3675,27 @@ const deserializeAws_restJson1ClientAuthentication = (output, context) => {
|
|
|
3675
3675
|
};
|
|
3676
3676
|
const deserializeAws_restJson1CloudWatchLogs = (output, context) => {
|
|
3677
3677
|
return {
|
|
3678
|
-
Enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
3679
|
-
LogGroup: smithy_client_1.expectString(output.logGroup),
|
|
3678
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
3679
|
+
LogGroup: (0, smithy_client_1.expectString)(output.logGroup),
|
|
3680
3680
|
};
|
|
3681
3681
|
};
|
|
3682
3682
|
const deserializeAws_restJson1Cluster = (output, context) => {
|
|
3683
3683
|
return {
|
|
3684
|
-
ActiveOperationArn: smithy_client_1.expectString(output.activeOperationArn),
|
|
3685
|
-
ClusterArn: smithy_client_1.expectString(output.clusterArn),
|
|
3686
|
-
ClusterName: smithy_client_1.expectString(output.clusterName),
|
|
3687
|
-
ClusterType: smithy_client_1.expectString(output.clusterType),
|
|
3684
|
+
ActiveOperationArn: (0, smithy_client_1.expectString)(output.activeOperationArn),
|
|
3685
|
+
ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
|
|
3686
|
+
ClusterName: (0, smithy_client_1.expectString)(output.clusterName),
|
|
3687
|
+
ClusterType: (0, smithy_client_1.expectString)(output.clusterType),
|
|
3688
3688
|
CreationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
3689
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
3689
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
3690
3690
|
: undefined,
|
|
3691
|
-
CurrentVersion: smithy_client_1.expectString(output.currentVersion),
|
|
3691
|
+
CurrentVersion: (0, smithy_client_1.expectString)(output.currentVersion),
|
|
3692
3692
|
Provisioned: output.provisioned !== undefined && output.provisioned !== null
|
|
3693
3693
|
? deserializeAws_restJson1Provisioned(output.provisioned, context)
|
|
3694
3694
|
: undefined,
|
|
3695
3695
|
Serverless: output.serverless !== undefined && output.serverless !== null
|
|
3696
3696
|
? deserializeAws_restJson1Serverless(output.serverless, context)
|
|
3697
3697
|
: undefined,
|
|
3698
|
-
State: smithy_client_1.expectString(output.state),
|
|
3698
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
3699
3699
|
StateInfo: output.stateInfo !== undefined && output.stateInfo !== null
|
|
3700
3700
|
? deserializeAws_restJson1StateInfo(output.stateInfo, context)
|
|
3701
3701
|
: undefined,
|
|
@@ -3706,63 +3706,63 @@ const deserializeAws_restJson1Cluster = (output, context) => {
|
|
|
3706
3706
|
};
|
|
3707
3707
|
const deserializeAws_restJson1ClusterInfo = (output, context) => {
|
|
3708
3708
|
return {
|
|
3709
|
-
ActiveOperationArn: smithy_client_1.expectString(output.activeOperationArn),
|
|
3709
|
+
ActiveOperationArn: (0, smithy_client_1.expectString)(output.activeOperationArn),
|
|
3710
3710
|
BrokerNodeGroupInfo: output.brokerNodeGroupInfo !== undefined && output.brokerNodeGroupInfo !== null
|
|
3711
3711
|
? deserializeAws_restJson1BrokerNodeGroupInfo(output.brokerNodeGroupInfo, context)
|
|
3712
3712
|
: undefined,
|
|
3713
3713
|
ClientAuthentication: output.clientAuthentication !== undefined && output.clientAuthentication !== null
|
|
3714
3714
|
? deserializeAws_restJson1ClientAuthentication(output.clientAuthentication, context)
|
|
3715
3715
|
: undefined,
|
|
3716
|
-
ClusterArn: smithy_client_1.expectString(output.clusterArn),
|
|
3717
|
-
ClusterName: smithy_client_1.expectString(output.clusterName),
|
|
3716
|
+
ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
|
|
3717
|
+
ClusterName: (0, smithy_client_1.expectString)(output.clusterName),
|
|
3718
3718
|
CreationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
3719
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
3719
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
3720
3720
|
: undefined,
|
|
3721
3721
|
CurrentBrokerSoftwareInfo: output.currentBrokerSoftwareInfo !== undefined && output.currentBrokerSoftwareInfo !== null
|
|
3722
3722
|
? deserializeAws_restJson1BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
|
|
3723
3723
|
: undefined,
|
|
3724
|
-
CurrentVersion: smithy_client_1.expectString(output.currentVersion),
|
|
3724
|
+
CurrentVersion: (0, smithy_client_1.expectString)(output.currentVersion),
|
|
3725
3725
|
EncryptionInfo: output.encryptionInfo !== undefined && output.encryptionInfo !== null
|
|
3726
3726
|
? deserializeAws_restJson1EncryptionInfo(output.encryptionInfo, context)
|
|
3727
3727
|
: undefined,
|
|
3728
|
-
EnhancedMonitoring: smithy_client_1.expectString(output.enhancedMonitoring),
|
|
3728
|
+
EnhancedMonitoring: (0, smithy_client_1.expectString)(output.enhancedMonitoring),
|
|
3729
3729
|
LoggingInfo: output.loggingInfo !== undefined && output.loggingInfo !== null
|
|
3730
3730
|
? deserializeAws_restJson1LoggingInfo(output.loggingInfo, context)
|
|
3731
3731
|
: undefined,
|
|
3732
|
-
NumberOfBrokerNodes: smithy_client_1.expectInt32(output.numberOfBrokerNodes),
|
|
3732
|
+
NumberOfBrokerNodes: (0, smithy_client_1.expectInt32)(output.numberOfBrokerNodes),
|
|
3733
3733
|
OpenMonitoring: output.openMonitoring !== undefined && output.openMonitoring !== null
|
|
3734
3734
|
? deserializeAws_restJson1OpenMonitoring(output.openMonitoring, context)
|
|
3735
3735
|
: undefined,
|
|
3736
|
-
State: smithy_client_1.expectString(output.state),
|
|
3736
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
3737
3737
|
StateInfo: output.stateInfo !== undefined && output.stateInfo !== null
|
|
3738
3738
|
? deserializeAws_restJson1StateInfo(output.stateInfo, context)
|
|
3739
3739
|
: undefined,
|
|
3740
3740
|
Tags: output.tags !== undefined && output.tags !== null
|
|
3741
3741
|
? deserializeAws_restJson1__mapOf__string(output.tags, context)
|
|
3742
3742
|
: undefined,
|
|
3743
|
-
ZookeeperConnectString: smithy_client_1.expectString(output.zookeeperConnectString),
|
|
3744
|
-
ZookeeperConnectStringTls: smithy_client_1.expectString(output.zookeeperConnectStringTls),
|
|
3743
|
+
ZookeeperConnectString: (0, smithy_client_1.expectString)(output.zookeeperConnectString),
|
|
3744
|
+
ZookeeperConnectStringTls: (0, smithy_client_1.expectString)(output.zookeeperConnectStringTls),
|
|
3745
3745
|
};
|
|
3746
3746
|
};
|
|
3747
3747
|
const deserializeAws_restJson1ClusterOperationInfo = (output, context) => {
|
|
3748
3748
|
return {
|
|
3749
|
-
ClientRequestId: smithy_client_1.expectString(output.clientRequestId),
|
|
3750
|
-
ClusterArn: smithy_client_1.expectString(output.clusterArn),
|
|
3749
|
+
ClientRequestId: (0, smithy_client_1.expectString)(output.clientRequestId),
|
|
3750
|
+
ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
|
|
3751
3751
|
CreationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
3752
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
3752
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
3753
3753
|
: undefined,
|
|
3754
3754
|
EndTime: output.endTime !== undefined && output.endTime !== null
|
|
3755
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.endTime))
|
|
3755
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.endTime))
|
|
3756
3756
|
: undefined,
|
|
3757
3757
|
ErrorInfo: output.errorInfo !== undefined && output.errorInfo !== null
|
|
3758
3758
|
? deserializeAws_restJson1ErrorInfo(output.errorInfo, context)
|
|
3759
3759
|
: undefined,
|
|
3760
|
-
OperationArn: smithy_client_1.expectString(output.operationArn),
|
|
3761
|
-
OperationState: smithy_client_1.expectString(output.operationState),
|
|
3760
|
+
OperationArn: (0, smithy_client_1.expectString)(output.operationArn),
|
|
3761
|
+
OperationState: (0, smithy_client_1.expectString)(output.operationState),
|
|
3762
3762
|
OperationSteps: output.operationSteps !== undefined && output.operationSteps !== null
|
|
3763
3763
|
? deserializeAws_restJson1__listOfClusterOperationStep(output.operationSteps, context)
|
|
3764
3764
|
: undefined,
|
|
3765
|
-
OperationType: smithy_client_1.expectString(output.operationType),
|
|
3765
|
+
OperationType: (0, smithy_client_1.expectString)(output.operationType),
|
|
3766
3766
|
SourceClusterInfo: output.sourceClusterInfo !== undefined && output.sourceClusterInfo !== null
|
|
3767
3767
|
? deserializeAws_restJson1MutableClusterInfo(output.sourceClusterInfo, context)
|
|
3768
3768
|
: undefined,
|
|
@@ -3776,17 +3776,17 @@ const deserializeAws_restJson1ClusterOperationStep = (output, context) => {
|
|
|
3776
3776
|
StepInfo: output.stepInfo !== undefined && output.stepInfo !== null
|
|
3777
3777
|
? deserializeAws_restJson1ClusterOperationStepInfo(output.stepInfo, context)
|
|
3778
3778
|
: undefined,
|
|
3779
|
-
StepName: smithy_client_1.expectString(output.stepName),
|
|
3779
|
+
StepName: (0, smithy_client_1.expectString)(output.stepName),
|
|
3780
3780
|
};
|
|
3781
3781
|
};
|
|
3782
3782
|
const deserializeAws_restJson1ClusterOperationStepInfo = (output, context) => {
|
|
3783
3783
|
return {
|
|
3784
|
-
StepStatus: smithy_client_1.expectString(output.stepStatus),
|
|
3784
|
+
StepStatus: (0, smithy_client_1.expectString)(output.stepStatus),
|
|
3785
3785
|
};
|
|
3786
3786
|
};
|
|
3787
3787
|
const deserializeAws_restJson1CompatibleKafkaVersion = (output, context) => {
|
|
3788
3788
|
return {
|
|
3789
|
-
SourceVersion: smithy_client_1.expectString(output.sourceVersion),
|
|
3789
|
+
SourceVersion: (0, smithy_client_1.expectString)(output.sourceVersion),
|
|
3790
3790
|
TargetVersions: output.targetVersions !== undefined && output.targetVersions !== null
|
|
3791
3791
|
? deserializeAws_restJson1__listOf__string(output.targetVersions, context)
|
|
3792
3792
|
: undefined,
|
|
@@ -3794,34 +3794,34 @@ const deserializeAws_restJson1CompatibleKafkaVersion = (output, context) => {
|
|
|
3794
3794
|
};
|
|
3795
3795
|
const deserializeAws_restJson1Configuration = (output, context) => {
|
|
3796
3796
|
return {
|
|
3797
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
3797
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3798
3798
|
CreationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
3799
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
3799
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
3800
3800
|
: undefined,
|
|
3801
|
-
Description: smithy_client_1.expectString(output.description),
|
|
3801
|
+
Description: (0, smithy_client_1.expectString)(output.description),
|
|
3802
3802
|
KafkaVersions: output.kafkaVersions !== undefined && output.kafkaVersions !== null
|
|
3803
3803
|
? deserializeAws_restJson1__listOf__string(output.kafkaVersions, context)
|
|
3804
3804
|
: undefined,
|
|
3805
3805
|
LatestRevision: output.latestRevision !== undefined && output.latestRevision !== null
|
|
3806
3806
|
? deserializeAws_restJson1ConfigurationRevision(output.latestRevision, context)
|
|
3807
3807
|
: undefined,
|
|
3808
|
-
Name: smithy_client_1.expectString(output.name),
|
|
3809
|
-
State: smithy_client_1.expectString(output.state),
|
|
3808
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
3809
|
+
State: (0, smithy_client_1.expectString)(output.state),
|
|
3810
3810
|
};
|
|
3811
3811
|
};
|
|
3812
3812
|
const deserializeAws_restJson1ConfigurationInfo = (output, context) => {
|
|
3813
3813
|
return {
|
|
3814
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
3815
|
-
Revision: smithy_client_1.expectLong(output.revision),
|
|
3814
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3815
|
+
Revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
3816
3816
|
};
|
|
3817
3817
|
};
|
|
3818
3818
|
const deserializeAws_restJson1ConfigurationRevision = (output, context) => {
|
|
3819
3819
|
return {
|
|
3820
3820
|
CreationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
3821
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationTime))
|
|
3821
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime))
|
|
3822
3822
|
: undefined,
|
|
3823
|
-
Description: smithy_client_1.expectString(output.description),
|
|
3824
|
-
Revision: smithy_client_1.expectLong(output.revision),
|
|
3823
|
+
Description: (0, smithy_client_1.expectString)(output.description),
|
|
3824
|
+
Revision: (0, smithy_client_1.expectLong)(output.revision),
|
|
3825
3825
|
};
|
|
3826
3826
|
};
|
|
3827
3827
|
const deserializeAws_restJson1ConnectivityInfo = (output, context) => {
|
|
@@ -3836,12 +3836,12 @@ const deserializeAws_restJson1EBSStorageInfo = (output, context) => {
|
|
|
3836
3836
|
ProvisionedThroughput: output.provisionedThroughput !== undefined && output.provisionedThroughput !== null
|
|
3837
3837
|
? deserializeAws_restJson1ProvisionedThroughput(output.provisionedThroughput, context)
|
|
3838
3838
|
: undefined,
|
|
3839
|
-
VolumeSize: smithy_client_1.expectInt32(output.volumeSize),
|
|
3839
|
+
VolumeSize: (0, smithy_client_1.expectInt32)(output.volumeSize),
|
|
3840
3840
|
};
|
|
3841
3841
|
};
|
|
3842
3842
|
const deserializeAws_restJson1EncryptionAtRest = (output, context) => {
|
|
3843
3843
|
return {
|
|
3844
|
-
DataVolumeKMSKeyId: smithy_client_1.expectString(output.dataVolumeKMSKeyId),
|
|
3844
|
+
DataVolumeKMSKeyId: (0, smithy_client_1.expectString)(output.dataVolumeKMSKeyId),
|
|
3845
3845
|
};
|
|
3846
3846
|
};
|
|
3847
3847
|
const deserializeAws_restJson1EncryptionInfo = (output, context) => {
|
|
@@ -3856,41 +3856,41 @@ const deserializeAws_restJson1EncryptionInfo = (output, context) => {
|
|
|
3856
3856
|
};
|
|
3857
3857
|
const deserializeAws_restJson1EncryptionInTransit = (output, context) => {
|
|
3858
3858
|
return {
|
|
3859
|
-
ClientBroker: smithy_client_1.expectString(output.clientBroker),
|
|
3860
|
-
InCluster: smithy_client_1.expectBoolean(output.inCluster),
|
|
3859
|
+
ClientBroker: (0, smithy_client_1.expectString)(output.clientBroker),
|
|
3860
|
+
InCluster: (0, smithy_client_1.expectBoolean)(output.inCluster),
|
|
3861
3861
|
};
|
|
3862
3862
|
};
|
|
3863
3863
|
const deserializeAws_restJson1ErrorInfo = (output, context) => {
|
|
3864
3864
|
return {
|
|
3865
|
-
ErrorCode: smithy_client_1.expectString(output.errorCode),
|
|
3866
|
-
ErrorString: smithy_client_1.expectString(output.errorString),
|
|
3865
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
3866
|
+
ErrorString: (0, smithy_client_1.expectString)(output.errorString),
|
|
3867
3867
|
};
|
|
3868
3868
|
};
|
|
3869
3869
|
const deserializeAws_restJson1Firehose = (output, context) => {
|
|
3870
3870
|
return {
|
|
3871
|
-
DeliveryStream: smithy_client_1.expectString(output.deliveryStream),
|
|
3872
|
-
Enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
3871
|
+
DeliveryStream: (0, smithy_client_1.expectString)(output.deliveryStream),
|
|
3872
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
3873
3873
|
};
|
|
3874
3874
|
};
|
|
3875
3875
|
const deserializeAws_restJson1Iam = (output, context) => {
|
|
3876
3876
|
return {
|
|
3877
|
-
Enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
3877
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
3878
3878
|
};
|
|
3879
3879
|
};
|
|
3880
3880
|
const deserializeAws_restJson1JmxExporter = (output, context) => {
|
|
3881
3881
|
return {
|
|
3882
|
-
EnabledInBroker: smithy_client_1.expectBoolean(output.enabledInBroker),
|
|
3882
|
+
EnabledInBroker: (0, smithy_client_1.expectBoolean)(output.enabledInBroker),
|
|
3883
3883
|
};
|
|
3884
3884
|
};
|
|
3885
3885
|
const deserializeAws_restJson1JmxExporterInfo = (output, context) => {
|
|
3886
3886
|
return {
|
|
3887
|
-
EnabledInBroker: smithy_client_1.expectBoolean(output.enabledInBroker),
|
|
3887
|
+
EnabledInBroker: (0, smithy_client_1.expectBoolean)(output.enabledInBroker),
|
|
3888
3888
|
};
|
|
3889
3889
|
};
|
|
3890
3890
|
const deserializeAws_restJson1KafkaVersion = (output, context) => {
|
|
3891
3891
|
return {
|
|
3892
|
-
Status: smithy_client_1.expectString(output.status),
|
|
3893
|
-
Version: smithy_client_1.expectString(output.version),
|
|
3892
|
+
Status: (0, smithy_client_1.expectString)(output.status),
|
|
3893
|
+
Version: (0, smithy_client_1.expectString)(output.version),
|
|
3894
3894
|
};
|
|
3895
3895
|
};
|
|
3896
3896
|
const deserializeAws_restJson1LoggingInfo = (output, context) => {
|
|
@@ -3917,13 +3917,13 @@ const deserializeAws_restJson1MutableClusterInfo = (output, context) => {
|
|
|
3917
3917
|
EncryptionInfo: output.encryptionInfo !== undefined && output.encryptionInfo !== null
|
|
3918
3918
|
? deserializeAws_restJson1EncryptionInfo(output.encryptionInfo, context)
|
|
3919
3919
|
: undefined,
|
|
3920
|
-
EnhancedMonitoring: smithy_client_1.expectString(output.enhancedMonitoring),
|
|
3921
|
-
InstanceType: smithy_client_1.expectString(output.instanceType),
|
|
3922
|
-
KafkaVersion: smithy_client_1.expectString(output.kafkaVersion),
|
|
3920
|
+
EnhancedMonitoring: (0, smithy_client_1.expectString)(output.enhancedMonitoring),
|
|
3921
|
+
InstanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
3922
|
+
KafkaVersion: (0, smithy_client_1.expectString)(output.kafkaVersion),
|
|
3923
3923
|
LoggingInfo: output.loggingInfo !== undefined && output.loggingInfo !== null
|
|
3924
3924
|
? deserializeAws_restJson1LoggingInfo(output.loggingInfo, context)
|
|
3925
3925
|
: undefined,
|
|
3926
|
-
NumberOfBrokerNodes: smithy_client_1.expectInt32(output.numberOfBrokerNodes),
|
|
3926
|
+
NumberOfBrokerNodes: (0, smithy_client_1.expectInt32)(output.numberOfBrokerNodes),
|
|
3927
3927
|
OpenMonitoring: output.openMonitoring !== undefined && output.openMonitoring !== null
|
|
3928
3928
|
? deserializeAws_restJson1OpenMonitoring(output.openMonitoring, context)
|
|
3929
3929
|
: undefined,
|
|
@@ -3931,23 +3931,23 @@ const deserializeAws_restJson1MutableClusterInfo = (output, context) => {
|
|
|
3931
3931
|
};
|
|
3932
3932
|
const deserializeAws_restJson1NodeExporter = (output, context) => {
|
|
3933
3933
|
return {
|
|
3934
|
-
EnabledInBroker: smithy_client_1.expectBoolean(output.enabledInBroker),
|
|
3934
|
+
EnabledInBroker: (0, smithy_client_1.expectBoolean)(output.enabledInBroker),
|
|
3935
3935
|
};
|
|
3936
3936
|
};
|
|
3937
3937
|
const deserializeAws_restJson1NodeExporterInfo = (output, context) => {
|
|
3938
3938
|
return {
|
|
3939
|
-
EnabledInBroker: smithy_client_1.expectBoolean(output.enabledInBroker),
|
|
3939
|
+
EnabledInBroker: (0, smithy_client_1.expectBoolean)(output.enabledInBroker),
|
|
3940
3940
|
};
|
|
3941
3941
|
};
|
|
3942
3942
|
const deserializeAws_restJson1NodeInfo = (output, context) => {
|
|
3943
3943
|
return {
|
|
3944
|
-
AddedToClusterTime: smithy_client_1.expectString(output.addedToClusterTime),
|
|
3944
|
+
AddedToClusterTime: (0, smithy_client_1.expectString)(output.addedToClusterTime),
|
|
3945
3945
|
BrokerNodeInfo: output.brokerNodeInfo !== undefined && output.brokerNodeInfo !== null
|
|
3946
3946
|
? deserializeAws_restJson1BrokerNodeInfo(output.brokerNodeInfo, context)
|
|
3947
3947
|
: undefined,
|
|
3948
|
-
InstanceType: smithy_client_1.expectString(output.instanceType),
|
|
3949
|
-
NodeARN: smithy_client_1.expectString(output.nodeARN),
|
|
3950
|
-
NodeType: smithy_client_1.expectString(output.nodeType),
|
|
3948
|
+
InstanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
3949
|
+
NodeARN: (0, smithy_client_1.expectString)(output.nodeARN),
|
|
3950
|
+
NodeType: (0, smithy_client_1.expectString)(output.nodeType),
|
|
3951
3951
|
ZookeeperNodeInfo: output.zookeeperNodeInfo !== undefined && output.zookeeperNodeInfo !== null
|
|
3952
3952
|
? deserializeAws_restJson1ZookeeperNodeInfo(output.zookeeperNodeInfo, context)
|
|
3953
3953
|
: undefined,
|
|
@@ -4001,34 +4001,34 @@ const deserializeAws_restJson1Provisioned = (output, context) => {
|
|
|
4001
4001
|
EncryptionInfo: output.encryptionInfo !== undefined && output.encryptionInfo !== null
|
|
4002
4002
|
? deserializeAws_restJson1EncryptionInfo(output.encryptionInfo, context)
|
|
4003
4003
|
: undefined,
|
|
4004
|
-
EnhancedMonitoring: smithy_client_1.expectString(output.enhancedMonitoring),
|
|
4004
|
+
EnhancedMonitoring: (0, smithy_client_1.expectString)(output.enhancedMonitoring),
|
|
4005
4005
|
LoggingInfo: output.loggingInfo !== undefined && output.loggingInfo !== null
|
|
4006
4006
|
? deserializeAws_restJson1LoggingInfo(output.loggingInfo, context)
|
|
4007
4007
|
: undefined,
|
|
4008
|
-
NumberOfBrokerNodes: smithy_client_1.expectInt32(output.numberOfBrokerNodes),
|
|
4008
|
+
NumberOfBrokerNodes: (0, smithy_client_1.expectInt32)(output.numberOfBrokerNodes),
|
|
4009
4009
|
OpenMonitoring: output.openMonitoring !== undefined && output.openMonitoring !== null
|
|
4010
4010
|
? deserializeAws_restJson1OpenMonitoringInfo(output.openMonitoring, context)
|
|
4011
4011
|
: undefined,
|
|
4012
|
-
ZookeeperConnectString: smithy_client_1.expectString(output.zookeeperConnectString),
|
|
4013
|
-
ZookeeperConnectStringTls: smithy_client_1.expectString(output.zookeeperConnectStringTls),
|
|
4012
|
+
ZookeeperConnectString: (0, smithy_client_1.expectString)(output.zookeeperConnectString),
|
|
4013
|
+
ZookeeperConnectStringTls: (0, smithy_client_1.expectString)(output.zookeeperConnectStringTls),
|
|
4014
4014
|
};
|
|
4015
4015
|
};
|
|
4016
4016
|
const deserializeAws_restJson1ProvisionedThroughput = (output, context) => {
|
|
4017
4017
|
return {
|
|
4018
|
-
Enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
4019
|
-
VolumeThroughput: smithy_client_1.expectInt32(output.volumeThroughput),
|
|
4018
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
4019
|
+
VolumeThroughput: (0, smithy_client_1.expectInt32)(output.volumeThroughput),
|
|
4020
4020
|
};
|
|
4021
4021
|
};
|
|
4022
4022
|
const deserializeAws_restJson1PublicAccess = (output, context) => {
|
|
4023
4023
|
return {
|
|
4024
|
-
Type: smithy_client_1.expectString(output.type),
|
|
4024
|
+
Type: (0, smithy_client_1.expectString)(output.type),
|
|
4025
4025
|
};
|
|
4026
4026
|
};
|
|
4027
4027
|
const deserializeAws_restJson1S3 = (output, context) => {
|
|
4028
4028
|
return {
|
|
4029
|
-
Bucket: smithy_client_1.expectString(output.bucket),
|
|
4030
|
-
Enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
4031
|
-
Prefix: smithy_client_1.expectString(output.prefix),
|
|
4029
|
+
Bucket: (0, smithy_client_1.expectString)(output.bucket),
|
|
4030
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
4031
|
+
Prefix: (0, smithy_client_1.expectString)(output.prefix),
|
|
4032
4032
|
};
|
|
4033
4033
|
};
|
|
4034
4034
|
const deserializeAws_restJson1Sasl = (output, context) => {
|
|
@@ -4041,7 +4041,7 @@ const deserializeAws_restJson1Sasl = (output, context) => {
|
|
|
4041
4041
|
};
|
|
4042
4042
|
const deserializeAws_restJson1Scram = (output, context) => {
|
|
4043
4043
|
return {
|
|
4044
|
-
Enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
4044
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
4045
4045
|
};
|
|
4046
4046
|
};
|
|
4047
4047
|
const deserializeAws_restJson1Serverless = (output, context) => {
|
|
@@ -4068,8 +4068,8 @@ const deserializeAws_restJson1ServerlessSasl = (output, context) => {
|
|
|
4068
4068
|
};
|
|
4069
4069
|
const deserializeAws_restJson1StateInfo = (output, context) => {
|
|
4070
4070
|
return {
|
|
4071
|
-
Code: smithy_client_1.expectString(output.code),
|
|
4072
|
-
Message: smithy_client_1.expectString(output.message),
|
|
4071
|
+
Code: (0, smithy_client_1.expectString)(output.code),
|
|
4072
|
+
Message: (0, smithy_client_1.expectString)(output.message),
|
|
4073
4073
|
};
|
|
4074
4074
|
};
|
|
4075
4075
|
const deserializeAws_restJson1StorageInfo = (output, context) => {
|
|
@@ -4084,19 +4084,19 @@ const deserializeAws_restJson1Tls = (output, context) => {
|
|
|
4084
4084
|
CertificateAuthorityArnList: output.certificateAuthorityArnList !== undefined && output.certificateAuthorityArnList !== null
|
|
4085
4085
|
? deserializeAws_restJson1__listOf__string(output.certificateAuthorityArnList, context)
|
|
4086
4086
|
: undefined,
|
|
4087
|
-
Enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
4087
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
4088
4088
|
};
|
|
4089
4089
|
};
|
|
4090
4090
|
const deserializeAws_restJson1Unauthenticated = (output, context) => {
|
|
4091
4091
|
return {
|
|
4092
|
-
Enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
4092
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
4093
4093
|
};
|
|
4094
4094
|
};
|
|
4095
4095
|
const deserializeAws_restJson1UnprocessedScramSecret = (output, context) => {
|
|
4096
4096
|
return {
|
|
4097
|
-
ErrorCode: smithy_client_1.expectString(output.errorCode),
|
|
4098
|
-
ErrorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
4099
|
-
SecretArn: smithy_client_1.expectString(output.secretArn),
|
|
4097
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
4098
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
4099
|
+
SecretArn: (0, smithy_client_1.expectString)(output.secretArn),
|
|
4100
4100
|
};
|
|
4101
4101
|
};
|
|
4102
4102
|
const deserializeAws_restJson1VpcConfig = (output, context) => {
|
|
@@ -4111,13 +4111,13 @@ const deserializeAws_restJson1VpcConfig = (output, context) => {
|
|
|
4111
4111
|
};
|
|
4112
4112
|
const deserializeAws_restJson1ZookeeperNodeInfo = (output, context) => {
|
|
4113
4113
|
return {
|
|
4114
|
-
AttachedENIId: smithy_client_1.expectString(output.attachedENIId),
|
|
4115
|
-
ClientVpcIpAddress: smithy_client_1.expectString(output.clientVpcIpAddress),
|
|
4114
|
+
AttachedENIId: (0, smithy_client_1.expectString)(output.attachedENIId),
|
|
4115
|
+
ClientVpcIpAddress: (0, smithy_client_1.expectString)(output.clientVpcIpAddress),
|
|
4116
4116
|
Endpoints: output.endpoints !== undefined && output.endpoints !== null
|
|
4117
4117
|
? deserializeAws_restJson1__listOf__string(output.endpoints, context)
|
|
4118
4118
|
: undefined,
|
|
4119
|
-
ZookeeperId: smithy_client_1.limitedParseDouble(output.zookeeperId),
|
|
4120
|
-
ZookeeperVersion: smithy_client_1.expectString(output.zookeeperVersion),
|
|
4119
|
+
ZookeeperId: (0, smithy_client_1.limitedParseDouble)(output.zookeeperId),
|
|
4120
|
+
ZookeeperVersion: (0, smithy_client_1.expectString)(output.zookeeperVersion),
|
|
4121
4121
|
};
|
|
4122
4122
|
};
|
|
4123
4123
|
const deserializeMetadata = (output) => {
|