@aws-sdk/client-eventbridge 3.141.0 → 3.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +280 -508
- package/dist-es/protocols/Aws_json1_1.js +449 -509
- package/package.json +11 -6
|
@@ -583,7 +583,6 @@ const deserializeAws_json1_1ActivateEventSourceCommandError = async (output, con
|
|
|
583
583
|
...output,
|
|
584
584
|
body: await parseBody(output.body, context),
|
|
585
585
|
};
|
|
586
|
-
let response;
|
|
587
586
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
588
587
|
switch (errorCode) {
|
|
589
588
|
case "ConcurrentModificationException":
|
|
@@ -603,14 +602,12 @@ const deserializeAws_json1_1ActivateEventSourceCommandError = async (output, con
|
|
|
603
602
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
604
603
|
default:
|
|
605
604
|
const parsedBody = parsedOutput.body;
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
$metadata,
|
|
605
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
606
|
+
output,
|
|
607
|
+
parsedBody,
|
|
608
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
609
|
+
errorCode,
|
|
612
610
|
});
|
|
613
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
614
611
|
}
|
|
615
612
|
};
|
|
616
613
|
const deserializeAws_json1_1CancelReplayCommand = async (output, context) => {
|
|
@@ -632,7 +629,6 @@ const deserializeAws_json1_1CancelReplayCommandError = async (output, context) =
|
|
|
632
629
|
...output,
|
|
633
630
|
body: await parseBody(output.body, context),
|
|
634
631
|
};
|
|
635
|
-
let response;
|
|
636
632
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
637
633
|
switch (errorCode) {
|
|
638
634
|
case "ConcurrentModificationException":
|
|
@@ -649,14 +645,12 @@ const deserializeAws_json1_1CancelReplayCommandError = async (output, context) =
|
|
|
649
645
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
650
646
|
default:
|
|
651
647
|
const parsedBody = parsedOutput.body;
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
$metadata,
|
|
648
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
649
|
+
output,
|
|
650
|
+
parsedBody,
|
|
651
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
652
|
+
errorCode,
|
|
658
653
|
});
|
|
659
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
660
654
|
}
|
|
661
655
|
};
|
|
662
656
|
const deserializeAws_json1_1CreateApiDestinationCommand = async (output, context) => {
|
|
@@ -678,7 +672,6 @@ const deserializeAws_json1_1CreateApiDestinationCommandError = async (output, co
|
|
|
678
672
|
...output,
|
|
679
673
|
body: await parseBody(output.body, context),
|
|
680
674
|
};
|
|
681
|
-
let response;
|
|
682
675
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
683
676
|
switch (errorCode) {
|
|
684
677
|
case "InternalException":
|
|
@@ -695,14 +688,12 @@ const deserializeAws_json1_1CreateApiDestinationCommandError = async (output, co
|
|
|
695
688
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
696
689
|
default:
|
|
697
690
|
const parsedBody = parsedOutput.body;
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
$metadata,
|
|
691
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
692
|
+
output,
|
|
693
|
+
parsedBody,
|
|
694
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
695
|
+
errorCode,
|
|
704
696
|
});
|
|
705
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
706
697
|
}
|
|
707
698
|
};
|
|
708
699
|
const deserializeAws_json1_1CreateArchiveCommand = async (output, context) => {
|
|
@@ -724,7 +715,6 @@ const deserializeAws_json1_1CreateArchiveCommandError = async (output, context)
|
|
|
724
715
|
...output,
|
|
725
716
|
body: await parseBody(output.body, context),
|
|
726
717
|
};
|
|
727
|
-
let response;
|
|
728
718
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
729
719
|
switch (errorCode) {
|
|
730
720
|
case "ConcurrentModificationException":
|
|
@@ -747,14 +737,12 @@ const deserializeAws_json1_1CreateArchiveCommandError = async (output, context)
|
|
|
747
737
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
748
738
|
default:
|
|
749
739
|
const parsedBody = parsedOutput.body;
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
$metadata,
|
|
740
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
741
|
+
output,
|
|
742
|
+
parsedBody,
|
|
743
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
744
|
+
errorCode,
|
|
756
745
|
});
|
|
757
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
758
746
|
}
|
|
759
747
|
};
|
|
760
748
|
const deserializeAws_json1_1CreateConnectionCommand = async (output, context) => {
|
|
@@ -776,7 +764,6 @@ const deserializeAws_json1_1CreateConnectionCommandError = async (output, contex
|
|
|
776
764
|
...output,
|
|
777
765
|
body: await parseBody(output.body, context),
|
|
778
766
|
};
|
|
779
|
-
let response;
|
|
780
767
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
781
768
|
switch (errorCode) {
|
|
782
769
|
case "InternalException":
|
|
@@ -790,14 +777,12 @@ const deserializeAws_json1_1CreateConnectionCommandError = async (output, contex
|
|
|
790
777
|
throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
791
778
|
default:
|
|
792
779
|
const parsedBody = parsedOutput.body;
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
$metadata,
|
|
780
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
781
|
+
output,
|
|
782
|
+
parsedBody,
|
|
783
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
784
|
+
errorCode,
|
|
799
785
|
});
|
|
800
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
801
786
|
}
|
|
802
787
|
};
|
|
803
788
|
const deserializeAws_json1_1CreateEndpointCommand = async (output, context) => {
|
|
@@ -819,7 +804,6 @@ const deserializeAws_json1_1CreateEndpointCommandError = async (output, context)
|
|
|
819
804
|
...output,
|
|
820
805
|
body: await parseBody(output.body, context),
|
|
821
806
|
};
|
|
822
|
-
let response;
|
|
823
807
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
824
808
|
switch (errorCode) {
|
|
825
809
|
case "InternalException":
|
|
@@ -833,14 +817,12 @@ const deserializeAws_json1_1CreateEndpointCommandError = async (output, context)
|
|
|
833
817
|
throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
834
818
|
default:
|
|
835
819
|
const parsedBody = parsedOutput.body;
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
$metadata,
|
|
820
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
821
|
+
output,
|
|
822
|
+
parsedBody,
|
|
823
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
824
|
+
errorCode,
|
|
842
825
|
});
|
|
843
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
844
826
|
}
|
|
845
827
|
};
|
|
846
828
|
const deserializeAws_json1_1CreateEventBusCommand = async (output, context) => {
|
|
@@ -862,7 +844,6 @@ const deserializeAws_json1_1CreateEventBusCommandError = async (output, context)
|
|
|
862
844
|
...output,
|
|
863
845
|
body: await parseBody(output.body, context),
|
|
864
846
|
};
|
|
865
|
-
let response;
|
|
866
847
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
867
848
|
switch (errorCode) {
|
|
868
849
|
case "ConcurrentModificationException":
|
|
@@ -888,14 +869,12 @@ const deserializeAws_json1_1CreateEventBusCommandError = async (output, context)
|
|
|
888
869
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
889
870
|
default:
|
|
890
871
|
const parsedBody = parsedOutput.body;
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
$metadata,
|
|
872
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
873
|
+
output,
|
|
874
|
+
parsedBody,
|
|
875
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
876
|
+
errorCode,
|
|
897
877
|
});
|
|
898
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
899
878
|
}
|
|
900
879
|
};
|
|
901
880
|
const deserializeAws_json1_1CreatePartnerEventSourceCommand = async (output, context) => {
|
|
@@ -917,7 +896,6 @@ const deserializeAws_json1_1CreatePartnerEventSourceCommandError = async (output
|
|
|
917
896
|
...output,
|
|
918
897
|
body: await parseBody(output.body, context),
|
|
919
898
|
};
|
|
920
|
-
let response;
|
|
921
899
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
922
900
|
switch (errorCode) {
|
|
923
901
|
case "ConcurrentModificationException":
|
|
@@ -937,14 +915,12 @@ const deserializeAws_json1_1CreatePartnerEventSourceCommandError = async (output
|
|
|
937
915
|
throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
938
916
|
default:
|
|
939
917
|
const parsedBody = parsedOutput.body;
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
$metadata,
|
|
918
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
919
|
+
output,
|
|
920
|
+
parsedBody,
|
|
921
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
922
|
+
errorCode,
|
|
946
923
|
});
|
|
947
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
948
924
|
}
|
|
949
925
|
};
|
|
950
926
|
const deserializeAws_json1_1DeactivateEventSourceCommand = async (output, context) => {
|
|
@@ -963,7 +939,6 @@ const deserializeAws_json1_1DeactivateEventSourceCommandError = async (output, c
|
|
|
963
939
|
...output,
|
|
964
940
|
body: await parseBody(output.body, context),
|
|
965
941
|
};
|
|
966
|
-
let response;
|
|
967
942
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
968
943
|
switch (errorCode) {
|
|
969
944
|
case "ConcurrentModificationException":
|
|
@@ -983,14 +958,12 @@ const deserializeAws_json1_1DeactivateEventSourceCommandError = async (output, c
|
|
|
983
958
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
984
959
|
default:
|
|
985
960
|
const parsedBody = parsedOutput.body;
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
$metadata,
|
|
961
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
962
|
+
output,
|
|
963
|
+
parsedBody,
|
|
964
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
965
|
+
errorCode,
|
|
992
966
|
});
|
|
993
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
994
967
|
}
|
|
995
968
|
};
|
|
996
969
|
const deserializeAws_json1_1DeauthorizeConnectionCommand = async (output, context) => {
|
|
@@ -1012,7 +985,6 @@ const deserializeAws_json1_1DeauthorizeConnectionCommandError = async (output, c
|
|
|
1012
985
|
...output,
|
|
1013
986
|
body: await parseBody(output.body, context),
|
|
1014
987
|
};
|
|
1015
|
-
let response;
|
|
1016
988
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1017
989
|
switch (errorCode) {
|
|
1018
990
|
case "ConcurrentModificationException":
|
|
@@ -1026,14 +998,12 @@ const deserializeAws_json1_1DeauthorizeConnectionCommandError = async (output, c
|
|
|
1026
998
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1027
999
|
default:
|
|
1028
1000
|
const parsedBody = parsedOutput.body;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
$metadata,
|
|
1001
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1002
|
+
output,
|
|
1003
|
+
parsedBody,
|
|
1004
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1005
|
+
errorCode,
|
|
1035
1006
|
});
|
|
1036
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1037
1007
|
}
|
|
1038
1008
|
};
|
|
1039
1009
|
const deserializeAws_json1_1DeleteApiDestinationCommand = async (output, context) => {
|
|
@@ -1055,7 +1025,6 @@ const deserializeAws_json1_1DeleteApiDestinationCommandError = async (output, co
|
|
|
1055
1025
|
...output,
|
|
1056
1026
|
body: await parseBody(output.body, context),
|
|
1057
1027
|
};
|
|
1058
|
-
let response;
|
|
1059
1028
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1060
1029
|
switch (errorCode) {
|
|
1061
1030
|
case "ConcurrentModificationException":
|
|
@@ -1069,14 +1038,12 @@ const deserializeAws_json1_1DeleteApiDestinationCommandError = async (output, co
|
|
|
1069
1038
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1070
1039
|
default:
|
|
1071
1040
|
const parsedBody = parsedOutput.body;
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
$metadata,
|
|
1041
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1042
|
+
output,
|
|
1043
|
+
parsedBody,
|
|
1044
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1045
|
+
errorCode,
|
|
1078
1046
|
});
|
|
1079
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1080
1047
|
}
|
|
1081
1048
|
};
|
|
1082
1049
|
const deserializeAws_json1_1DeleteArchiveCommand = async (output, context) => {
|
|
@@ -1098,7 +1065,6 @@ const deserializeAws_json1_1DeleteArchiveCommandError = async (output, context)
|
|
|
1098
1065
|
...output,
|
|
1099
1066
|
body: await parseBody(output.body, context),
|
|
1100
1067
|
};
|
|
1101
|
-
let response;
|
|
1102
1068
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1103
1069
|
switch (errorCode) {
|
|
1104
1070
|
case "ConcurrentModificationException":
|
|
@@ -1112,14 +1078,12 @@ const deserializeAws_json1_1DeleteArchiveCommandError = async (output, context)
|
|
|
1112
1078
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1113
1079
|
default:
|
|
1114
1080
|
const parsedBody = parsedOutput.body;
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
$metadata,
|
|
1081
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1082
|
+
output,
|
|
1083
|
+
parsedBody,
|
|
1084
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1085
|
+
errorCode,
|
|
1121
1086
|
});
|
|
1122
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1123
1087
|
}
|
|
1124
1088
|
};
|
|
1125
1089
|
const deserializeAws_json1_1DeleteConnectionCommand = async (output, context) => {
|
|
@@ -1141,7 +1105,6 @@ const deserializeAws_json1_1DeleteConnectionCommandError = async (output, contex
|
|
|
1141
1105
|
...output,
|
|
1142
1106
|
body: await parseBody(output.body, context),
|
|
1143
1107
|
};
|
|
1144
|
-
let response;
|
|
1145
1108
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1146
1109
|
switch (errorCode) {
|
|
1147
1110
|
case "ConcurrentModificationException":
|
|
@@ -1155,14 +1118,12 @@ const deserializeAws_json1_1DeleteConnectionCommandError = async (output, contex
|
|
|
1155
1118
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1156
1119
|
default:
|
|
1157
1120
|
const parsedBody = parsedOutput.body;
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
$metadata,
|
|
1121
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1122
|
+
output,
|
|
1123
|
+
parsedBody,
|
|
1124
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1125
|
+
errorCode,
|
|
1164
1126
|
});
|
|
1165
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1166
1127
|
}
|
|
1167
1128
|
};
|
|
1168
1129
|
const deserializeAws_json1_1DeleteEndpointCommand = async (output, context) => {
|
|
@@ -1184,7 +1145,6 @@ const deserializeAws_json1_1DeleteEndpointCommandError = async (output, context)
|
|
|
1184
1145
|
...output,
|
|
1185
1146
|
body: await parseBody(output.body, context),
|
|
1186
1147
|
};
|
|
1187
|
-
let response;
|
|
1188
1148
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1189
1149
|
switch (errorCode) {
|
|
1190
1150
|
case "ConcurrentModificationException":
|
|
@@ -1198,14 +1158,12 @@ const deserializeAws_json1_1DeleteEndpointCommandError = async (output, context)
|
|
|
1198
1158
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1199
1159
|
default:
|
|
1200
1160
|
const parsedBody = parsedOutput.body;
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
$metadata,
|
|
1161
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1162
|
+
output,
|
|
1163
|
+
parsedBody,
|
|
1164
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1165
|
+
errorCode,
|
|
1207
1166
|
});
|
|
1208
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1209
1167
|
}
|
|
1210
1168
|
};
|
|
1211
1169
|
const deserializeAws_json1_1DeleteEventBusCommand = async (output, context) => {
|
|
@@ -1224,7 +1182,6 @@ const deserializeAws_json1_1DeleteEventBusCommandError = async (output, context)
|
|
|
1224
1182
|
...output,
|
|
1225
1183
|
body: await parseBody(output.body, context),
|
|
1226
1184
|
};
|
|
1227
|
-
let response;
|
|
1228
1185
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1229
1186
|
switch (errorCode) {
|
|
1230
1187
|
case "ConcurrentModificationException":
|
|
@@ -1235,14 +1192,12 @@ const deserializeAws_json1_1DeleteEventBusCommandError = async (output, context)
|
|
|
1235
1192
|
throw await deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context);
|
|
1236
1193
|
default:
|
|
1237
1194
|
const parsedBody = parsedOutput.body;
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
$metadata,
|
|
1195
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1196
|
+
output,
|
|
1197
|
+
parsedBody,
|
|
1198
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1199
|
+
errorCode,
|
|
1244
1200
|
});
|
|
1245
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1246
1201
|
}
|
|
1247
1202
|
};
|
|
1248
1203
|
const deserializeAws_json1_1DeletePartnerEventSourceCommand = async (output, context) => {
|
|
@@ -1261,7 +1216,6 @@ const deserializeAws_json1_1DeletePartnerEventSourceCommandError = async (output
|
|
|
1261
1216
|
...output,
|
|
1262
1217
|
body: await parseBody(output.body, context),
|
|
1263
1218
|
};
|
|
1264
|
-
let response;
|
|
1265
1219
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1266
1220
|
switch (errorCode) {
|
|
1267
1221
|
case "ConcurrentModificationException":
|
|
@@ -1275,14 +1229,12 @@ const deserializeAws_json1_1DeletePartnerEventSourceCommandError = async (output
|
|
|
1275
1229
|
throw await deserializeAws_json1_1OperationDisabledExceptionResponse(parsedOutput, context);
|
|
1276
1230
|
default:
|
|
1277
1231
|
const parsedBody = parsedOutput.body;
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
$metadata,
|
|
1232
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1233
|
+
output,
|
|
1234
|
+
parsedBody,
|
|
1235
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1236
|
+
errorCode,
|
|
1284
1237
|
});
|
|
1285
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1286
1238
|
}
|
|
1287
1239
|
};
|
|
1288
1240
|
const deserializeAws_json1_1DeleteRuleCommand = async (output, context) => {
|
|
@@ -1301,7 +1253,6 @@ const deserializeAws_json1_1DeleteRuleCommandError = async (output, context) =>
|
|
|
1301
1253
|
...output,
|
|
1302
1254
|
body: await parseBody(output.body, context),
|
|
1303
1255
|
};
|
|
1304
|
-
let response;
|
|
1305
1256
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1306
1257
|
switch (errorCode) {
|
|
1307
1258
|
case "ConcurrentModificationException":
|
|
@@ -1318,14 +1269,12 @@ const deserializeAws_json1_1DeleteRuleCommandError = async (output, context) =>
|
|
|
1318
1269
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1319
1270
|
default:
|
|
1320
1271
|
const parsedBody = parsedOutput.body;
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
$metadata,
|
|
1272
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1273
|
+
output,
|
|
1274
|
+
parsedBody,
|
|
1275
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1276
|
+
errorCode,
|
|
1327
1277
|
});
|
|
1328
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1329
1278
|
}
|
|
1330
1279
|
};
|
|
1331
1280
|
const deserializeAws_json1_1DescribeApiDestinationCommand = async (output, context) => {
|
|
@@ -1347,7 +1296,6 @@ const deserializeAws_json1_1DescribeApiDestinationCommandError = async (output,
|
|
|
1347
1296
|
...output,
|
|
1348
1297
|
body: await parseBody(output.body, context),
|
|
1349
1298
|
};
|
|
1350
|
-
let response;
|
|
1351
1299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1352
1300
|
switch (errorCode) {
|
|
1353
1301
|
case "InternalException":
|
|
@@ -1358,14 +1306,12 @@ const deserializeAws_json1_1DescribeApiDestinationCommandError = async (output,
|
|
|
1358
1306
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1359
1307
|
default:
|
|
1360
1308
|
const parsedBody = parsedOutput.body;
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
$metadata,
|
|
1309
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1310
|
+
output,
|
|
1311
|
+
parsedBody,
|
|
1312
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1313
|
+
errorCode,
|
|
1367
1314
|
});
|
|
1368
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1369
1315
|
}
|
|
1370
1316
|
};
|
|
1371
1317
|
const deserializeAws_json1_1DescribeArchiveCommand = async (output, context) => {
|
|
@@ -1387,7 +1333,6 @@ const deserializeAws_json1_1DescribeArchiveCommandError = async (output, context
|
|
|
1387
1333
|
...output,
|
|
1388
1334
|
body: await parseBody(output.body, context),
|
|
1389
1335
|
};
|
|
1390
|
-
let response;
|
|
1391
1336
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1392
1337
|
switch (errorCode) {
|
|
1393
1338
|
case "InternalException":
|
|
@@ -1401,14 +1346,12 @@ const deserializeAws_json1_1DescribeArchiveCommandError = async (output, context
|
|
|
1401
1346
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1402
1347
|
default:
|
|
1403
1348
|
const parsedBody = parsedOutput.body;
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
$metadata,
|
|
1349
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1350
|
+
output,
|
|
1351
|
+
parsedBody,
|
|
1352
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1353
|
+
errorCode,
|
|
1410
1354
|
});
|
|
1411
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1412
1355
|
}
|
|
1413
1356
|
};
|
|
1414
1357
|
const deserializeAws_json1_1DescribeConnectionCommand = async (output, context) => {
|
|
@@ -1430,7 +1373,6 @@ const deserializeAws_json1_1DescribeConnectionCommandError = async (output, cont
|
|
|
1430
1373
|
...output,
|
|
1431
1374
|
body: await parseBody(output.body, context),
|
|
1432
1375
|
};
|
|
1433
|
-
let response;
|
|
1434
1376
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1435
1377
|
switch (errorCode) {
|
|
1436
1378
|
case "InternalException":
|
|
@@ -1441,14 +1383,12 @@ const deserializeAws_json1_1DescribeConnectionCommandError = async (output, cont
|
|
|
1441
1383
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1442
1384
|
default:
|
|
1443
1385
|
const parsedBody = parsedOutput.body;
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
$metadata,
|
|
1386
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1387
|
+
output,
|
|
1388
|
+
parsedBody,
|
|
1389
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1390
|
+
errorCode,
|
|
1450
1391
|
});
|
|
1451
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1452
1392
|
}
|
|
1453
1393
|
};
|
|
1454
1394
|
const deserializeAws_json1_1DescribeEndpointCommand = async (output, context) => {
|
|
@@ -1470,7 +1410,6 @@ const deserializeAws_json1_1DescribeEndpointCommandError = async (output, contex
|
|
|
1470
1410
|
...output,
|
|
1471
1411
|
body: await parseBody(output.body, context),
|
|
1472
1412
|
};
|
|
1473
|
-
let response;
|
|
1474
1413
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1475
1414
|
switch (errorCode) {
|
|
1476
1415
|
case "InternalException":
|
|
@@ -1481,14 +1420,12 @@ const deserializeAws_json1_1DescribeEndpointCommandError = async (output, contex
|
|
|
1481
1420
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1482
1421
|
default:
|
|
1483
1422
|
const parsedBody = parsedOutput.body;
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
$metadata,
|
|
1423
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1424
|
+
output,
|
|
1425
|
+
parsedBody,
|
|
1426
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1427
|
+
errorCode,
|
|
1490
1428
|
});
|
|
1491
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1492
1429
|
}
|
|
1493
1430
|
};
|
|
1494
1431
|
const deserializeAws_json1_1DescribeEventBusCommand = async (output, context) => {
|
|
@@ -1510,7 +1447,6 @@ const deserializeAws_json1_1DescribeEventBusCommandError = async (output, contex
|
|
|
1510
1447
|
...output,
|
|
1511
1448
|
body: await parseBody(output.body, context),
|
|
1512
1449
|
};
|
|
1513
|
-
let response;
|
|
1514
1450
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1515
1451
|
switch (errorCode) {
|
|
1516
1452
|
case "InternalException":
|
|
@@ -1521,14 +1457,12 @@ const deserializeAws_json1_1DescribeEventBusCommandError = async (output, contex
|
|
|
1521
1457
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1522
1458
|
default:
|
|
1523
1459
|
const parsedBody = parsedOutput.body;
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
$metadata,
|
|
1460
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1461
|
+
output,
|
|
1462
|
+
parsedBody,
|
|
1463
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1464
|
+
errorCode,
|
|
1530
1465
|
});
|
|
1531
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1532
1466
|
}
|
|
1533
1467
|
};
|
|
1534
1468
|
const deserializeAws_json1_1DescribeEventSourceCommand = async (output, context) => {
|
|
@@ -1550,7 +1484,6 @@ const deserializeAws_json1_1DescribeEventSourceCommandError = async (output, con
|
|
|
1550
1484
|
...output,
|
|
1551
1485
|
body: await parseBody(output.body, context),
|
|
1552
1486
|
};
|
|
1553
|
-
let response;
|
|
1554
1487
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1555
1488
|
switch (errorCode) {
|
|
1556
1489
|
case "InternalException":
|
|
@@ -1564,14 +1497,12 @@ const deserializeAws_json1_1DescribeEventSourceCommandError = async (output, con
|
|
|
1564
1497
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1565
1498
|
default:
|
|
1566
1499
|
const parsedBody = parsedOutput.body;
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
$metadata,
|
|
1500
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1501
|
+
output,
|
|
1502
|
+
parsedBody,
|
|
1503
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1504
|
+
errorCode,
|
|
1573
1505
|
});
|
|
1574
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1575
1506
|
}
|
|
1576
1507
|
};
|
|
1577
1508
|
const deserializeAws_json1_1DescribePartnerEventSourceCommand = async (output, context) => {
|
|
@@ -1593,7 +1524,6 @@ const deserializeAws_json1_1DescribePartnerEventSourceCommandError = async (outp
|
|
|
1593
1524
|
...output,
|
|
1594
1525
|
body: await parseBody(output.body, context),
|
|
1595
1526
|
};
|
|
1596
|
-
let response;
|
|
1597
1527
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1598
1528
|
switch (errorCode) {
|
|
1599
1529
|
case "InternalException":
|
|
@@ -1607,14 +1537,12 @@ const deserializeAws_json1_1DescribePartnerEventSourceCommandError = async (outp
|
|
|
1607
1537
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1608
1538
|
default:
|
|
1609
1539
|
const parsedBody = parsedOutput.body;
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
$metadata,
|
|
1540
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1541
|
+
output,
|
|
1542
|
+
parsedBody,
|
|
1543
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1544
|
+
errorCode,
|
|
1616
1545
|
});
|
|
1617
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1618
1546
|
}
|
|
1619
1547
|
};
|
|
1620
1548
|
const deserializeAws_json1_1DescribeReplayCommand = async (output, context) => {
|
|
@@ -1636,7 +1564,6 @@ const deserializeAws_json1_1DescribeReplayCommandError = async (output, context)
|
|
|
1636
1564
|
...output,
|
|
1637
1565
|
body: await parseBody(output.body, context),
|
|
1638
1566
|
};
|
|
1639
|
-
let response;
|
|
1640
1567
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1641
1568
|
switch (errorCode) {
|
|
1642
1569
|
case "InternalException":
|
|
@@ -1647,14 +1574,12 @@ const deserializeAws_json1_1DescribeReplayCommandError = async (output, context)
|
|
|
1647
1574
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1648
1575
|
default:
|
|
1649
1576
|
const parsedBody = parsedOutput.body;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
$metadata,
|
|
1577
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1578
|
+
output,
|
|
1579
|
+
parsedBody,
|
|
1580
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1581
|
+
errorCode,
|
|
1656
1582
|
});
|
|
1657
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1658
1583
|
}
|
|
1659
1584
|
};
|
|
1660
1585
|
const deserializeAws_json1_1DescribeRuleCommand = async (output, context) => {
|
|
@@ -1676,7 +1601,6 @@ const deserializeAws_json1_1DescribeRuleCommandError = async (output, context) =
|
|
|
1676
1601
|
...output,
|
|
1677
1602
|
body: await parseBody(output.body, context),
|
|
1678
1603
|
};
|
|
1679
|
-
let response;
|
|
1680
1604
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1681
1605
|
switch (errorCode) {
|
|
1682
1606
|
case "InternalException":
|
|
@@ -1687,14 +1611,12 @@ const deserializeAws_json1_1DescribeRuleCommandError = async (output, context) =
|
|
|
1687
1611
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1688
1612
|
default:
|
|
1689
1613
|
const parsedBody = parsedOutput.body;
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
$metadata,
|
|
1614
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1615
|
+
output,
|
|
1616
|
+
parsedBody,
|
|
1617
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1618
|
+
errorCode,
|
|
1696
1619
|
});
|
|
1697
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1698
1620
|
}
|
|
1699
1621
|
};
|
|
1700
1622
|
const deserializeAws_json1_1DisableRuleCommand = async (output, context) => {
|
|
@@ -1713,7 +1635,6 @@ const deserializeAws_json1_1DisableRuleCommandError = async (output, context) =>
|
|
|
1713
1635
|
...output,
|
|
1714
1636
|
body: await parseBody(output.body, context),
|
|
1715
1637
|
};
|
|
1716
|
-
let response;
|
|
1717
1638
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1718
1639
|
switch (errorCode) {
|
|
1719
1640
|
case "ConcurrentModificationException":
|
|
@@ -1730,14 +1651,12 @@ const deserializeAws_json1_1DisableRuleCommandError = async (output, context) =>
|
|
|
1730
1651
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1731
1652
|
default:
|
|
1732
1653
|
const parsedBody = parsedOutput.body;
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
$metadata,
|
|
1654
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1655
|
+
output,
|
|
1656
|
+
parsedBody,
|
|
1657
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1658
|
+
errorCode,
|
|
1739
1659
|
});
|
|
1740
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1741
1660
|
}
|
|
1742
1661
|
};
|
|
1743
1662
|
const deserializeAws_json1_1EnableRuleCommand = async (output, context) => {
|
|
@@ -1756,7 +1675,6 @@ const deserializeAws_json1_1EnableRuleCommandError = async (output, context) =>
|
|
|
1756
1675
|
...output,
|
|
1757
1676
|
body: await parseBody(output.body, context),
|
|
1758
1677
|
};
|
|
1759
|
-
let response;
|
|
1760
1678
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1761
1679
|
switch (errorCode) {
|
|
1762
1680
|
case "ConcurrentModificationException":
|
|
@@ -1773,14 +1691,12 @@ const deserializeAws_json1_1EnableRuleCommandError = async (output, context) =>
|
|
|
1773
1691
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1774
1692
|
default:
|
|
1775
1693
|
const parsedBody = parsedOutput.body;
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
$metadata,
|
|
1694
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1695
|
+
output,
|
|
1696
|
+
parsedBody,
|
|
1697
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1698
|
+
errorCode,
|
|
1782
1699
|
});
|
|
1783
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1784
1700
|
}
|
|
1785
1701
|
};
|
|
1786
1702
|
const deserializeAws_json1_1ListApiDestinationsCommand = async (output, context) => {
|
|
@@ -1802,7 +1718,6 @@ const deserializeAws_json1_1ListApiDestinationsCommandError = async (output, con
|
|
|
1802
1718
|
...output,
|
|
1803
1719
|
body: await parseBody(output.body, context),
|
|
1804
1720
|
};
|
|
1805
|
-
let response;
|
|
1806
1721
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1807
1722
|
switch (errorCode) {
|
|
1808
1723
|
case "InternalException":
|
|
@@ -1810,14 +1725,12 @@ const deserializeAws_json1_1ListApiDestinationsCommandError = async (output, con
|
|
|
1810
1725
|
throw await deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context);
|
|
1811
1726
|
default:
|
|
1812
1727
|
const parsedBody = parsedOutput.body;
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
$metadata,
|
|
1728
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1729
|
+
output,
|
|
1730
|
+
parsedBody,
|
|
1731
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1732
|
+
errorCode,
|
|
1819
1733
|
});
|
|
1820
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1821
1734
|
}
|
|
1822
1735
|
};
|
|
1823
1736
|
const deserializeAws_json1_1ListArchivesCommand = async (output, context) => {
|
|
@@ -1839,7 +1752,6 @@ const deserializeAws_json1_1ListArchivesCommandError = async (output, context) =
|
|
|
1839
1752
|
...output,
|
|
1840
1753
|
body: await parseBody(output.body, context),
|
|
1841
1754
|
};
|
|
1842
|
-
let response;
|
|
1843
1755
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1844
1756
|
switch (errorCode) {
|
|
1845
1757
|
case "InternalException":
|
|
@@ -1850,14 +1762,12 @@ const deserializeAws_json1_1ListArchivesCommandError = async (output, context) =
|
|
|
1850
1762
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1851
1763
|
default:
|
|
1852
1764
|
const parsedBody = parsedOutput.body;
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
$metadata,
|
|
1765
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1766
|
+
output,
|
|
1767
|
+
parsedBody,
|
|
1768
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1769
|
+
errorCode,
|
|
1859
1770
|
});
|
|
1860
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1861
1771
|
}
|
|
1862
1772
|
};
|
|
1863
1773
|
const deserializeAws_json1_1ListConnectionsCommand = async (output, context) => {
|
|
@@ -1879,7 +1789,6 @@ const deserializeAws_json1_1ListConnectionsCommandError = async (output, context
|
|
|
1879
1789
|
...output,
|
|
1880
1790
|
body: await parseBody(output.body, context),
|
|
1881
1791
|
};
|
|
1882
|
-
let response;
|
|
1883
1792
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1884
1793
|
switch (errorCode) {
|
|
1885
1794
|
case "InternalException":
|
|
@@ -1887,14 +1796,12 @@ const deserializeAws_json1_1ListConnectionsCommandError = async (output, context
|
|
|
1887
1796
|
throw await deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context);
|
|
1888
1797
|
default:
|
|
1889
1798
|
const parsedBody = parsedOutput.body;
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
$metadata,
|
|
1799
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1800
|
+
output,
|
|
1801
|
+
parsedBody,
|
|
1802
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1803
|
+
errorCode,
|
|
1896
1804
|
});
|
|
1897
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1898
1805
|
}
|
|
1899
1806
|
};
|
|
1900
1807
|
const deserializeAws_json1_1ListEndpointsCommand = async (output, context) => {
|
|
@@ -1916,7 +1823,6 @@ const deserializeAws_json1_1ListEndpointsCommandError = async (output, context)
|
|
|
1916
1823
|
...output,
|
|
1917
1824
|
body: await parseBody(output.body, context),
|
|
1918
1825
|
};
|
|
1919
|
-
let response;
|
|
1920
1826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1921
1827
|
switch (errorCode) {
|
|
1922
1828
|
case "InternalException":
|
|
@@ -1924,14 +1830,12 @@ const deserializeAws_json1_1ListEndpointsCommandError = async (output, context)
|
|
|
1924
1830
|
throw await deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context);
|
|
1925
1831
|
default:
|
|
1926
1832
|
const parsedBody = parsedOutput.body;
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
$metadata,
|
|
1833
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1834
|
+
output,
|
|
1835
|
+
parsedBody,
|
|
1836
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1837
|
+
errorCode,
|
|
1933
1838
|
});
|
|
1934
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1935
1839
|
}
|
|
1936
1840
|
};
|
|
1937
1841
|
const deserializeAws_json1_1ListEventBusesCommand = async (output, context) => {
|
|
@@ -1953,7 +1857,6 @@ const deserializeAws_json1_1ListEventBusesCommandError = async (output, context)
|
|
|
1953
1857
|
...output,
|
|
1954
1858
|
body: await parseBody(output.body, context),
|
|
1955
1859
|
};
|
|
1956
|
-
let response;
|
|
1957
1860
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1958
1861
|
switch (errorCode) {
|
|
1959
1862
|
case "InternalException":
|
|
@@ -1961,14 +1864,12 @@ const deserializeAws_json1_1ListEventBusesCommandError = async (output, context)
|
|
|
1961
1864
|
throw await deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context);
|
|
1962
1865
|
default:
|
|
1963
1866
|
const parsedBody = parsedOutput.body;
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
$metadata,
|
|
1867
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1868
|
+
output,
|
|
1869
|
+
parsedBody,
|
|
1870
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1871
|
+
errorCode,
|
|
1970
1872
|
});
|
|
1971
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1972
1873
|
}
|
|
1973
1874
|
};
|
|
1974
1875
|
const deserializeAws_json1_1ListEventSourcesCommand = async (output, context) => {
|
|
@@ -1990,7 +1891,6 @@ const deserializeAws_json1_1ListEventSourcesCommandError = async (output, contex
|
|
|
1990
1891
|
...output,
|
|
1991
1892
|
body: await parseBody(output.body, context),
|
|
1992
1893
|
};
|
|
1993
|
-
let response;
|
|
1994
1894
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1995
1895
|
switch (errorCode) {
|
|
1996
1896
|
case "InternalException":
|
|
@@ -2001,14 +1901,12 @@ const deserializeAws_json1_1ListEventSourcesCommandError = async (output, contex
|
|
|
2001
1901
|
throw await deserializeAws_json1_1OperationDisabledExceptionResponse(parsedOutput, context);
|
|
2002
1902
|
default:
|
|
2003
1903
|
const parsedBody = parsedOutput.body;
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
$metadata,
|
|
1904
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1905
|
+
output,
|
|
1906
|
+
parsedBody,
|
|
1907
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1908
|
+
errorCode,
|
|
2010
1909
|
});
|
|
2011
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2012
1910
|
}
|
|
2013
1911
|
};
|
|
2014
1912
|
const deserializeAws_json1_1ListPartnerEventSourceAccountsCommand = async (output, context) => {
|
|
@@ -2030,7 +1928,6 @@ const deserializeAws_json1_1ListPartnerEventSourceAccountsCommandError = async (
|
|
|
2030
1928
|
...output,
|
|
2031
1929
|
body: await parseBody(output.body, context),
|
|
2032
1930
|
};
|
|
2033
|
-
let response;
|
|
2034
1931
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2035
1932
|
switch (errorCode) {
|
|
2036
1933
|
case "InternalException":
|
|
@@ -2044,14 +1941,12 @@ const deserializeAws_json1_1ListPartnerEventSourceAccountsCommandError = async (
|
|
|
2044
1941
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2045
1942
|
default:
|
|
2046
1943
|
const parsedBody = parsedOutput.body;
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
$metadata,
|
|
1944
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1945
|
+
output,
|
|
1946
|
+
parsedBody,
|
|
1947
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1948
|
+
errorCode,
|
|
2053
1949
|
});
|
|
2054
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2055
1950
|
}
|
|
2056
1951
|
};
|
|
2057
1952
|
const deserializeAws_json1_1ListPartnerEventSourcesCommand = async (output, context) => {
|
|
@@ -2073,7 +1968,6 @@ const deserializeAws_json1_1ListPartnerEventSourcesCommandError = async (output,
|
|
|
2073
1968
|
...output,
|
|
2074
1969
|
body: await parseBody(output.body, context),
|
|
2075
1970
|
};
|
|
2076
|
-
let response;
|
|
2077
1971
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2078
1972
|
switch (errorCode) {
|
|
2079
1973
|
case "InternalException":
|
|
@@ -2084,14 +1978,12 @@ const deserializeAws_json1_1ListPartnerEventSourcesCommandError = async (output,
|
|
|
2084
1978
|
throw await deserializeAws_json1_1OperationDisabledExceptionResponse(parsedOutput, context);
|
|
2085
1979
|
default:
|
|
2086
1980
|
const parsedBody = parsedOutput.body;
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
$metadata,
|
|
1981
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1982
|
+
output,
|
|
1983
|
+
parsedBody,
|
|
1984
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
1985
|
+
errorCode,
|
|
2093
1986
|
});
|
|
2094
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2095
1987
|
}
|
|
2096
1988
|
};
|
|
2097
1989
|
const deserializeAws_json1_1ListReplaysCommand = async (output, context) => {
|
|
@@ -2113,7 +2005,6 @@ const deserializeAws_json1_1ListReplaysCommandError = async (output, context) =>
|
|
|
2113
2005
|
...output,
|
|
2114
2006
|
body: await parseBody(output.body, context),
|
|
2115
2007
|
};
|
|
2116
|
-
let response;
|
|
2117
2008
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2118
2009
|
switch (errorCode) {
|
|
2119
2010
|
case "InternalException":
|
|
@@ -2121,14 +2012,12 @@ const deserializeAws_json1_1ListReplaysCommandError = async (output, context) =>
|
|
|
2121
2012
|
throw await deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context);
|
|
2122
2013
|
default:
|
|
2123
2014
|
const parsedBody = parsedOutput.body;
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
$metadata,
|
|
2015
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2016
|
+
output,
|
|
2017
|
+
parsedBody,
|
|
2018
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2019
|
+
errorCode,
|
|
2130
2020
|
});
|
|
2131
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2132
2021
|
}
|
|
2133
2022
|
};
|
|
2134
2023
|
const deserializeAws_json1_1ListRuleNamesByTargetCommand = async (output, context) => {
|
|
@@ -2150,7 +2039,6 @@ const deserializeAws_json1_1ListRuleNamesByTargetCommandError = async (output, c
|
|
|
2150
2039
|
...output,
|
|
2151
2040
|
body: await parseBody(output.body, context),
|
|
2152
2041
|
};
|
|
2153
|
-
let response;
|
|
2154
2042
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2155
2043
|
switch (errorCode) {
|
|
2156
2044
|
case "InternalException":
|
|
@@ -2161,14 +2049,12 @@ const deserializeAws_json1_1ListRuleNamesByTargetCommandError = async (output, c
|
|
|
2161
2049
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2162
2050
|
default:
|
|
2163
2051
|
const parsedBody = parsedOutput.body;
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
$metadata,
|
|
2052
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2053
|
+
output,
|
|
2054
|
+
parsedBody,
|
|
2055
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2056
|
+
errorCode,
|
|
2170
2057
|
});
|
|
2171
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2172
2058
|
}
|
|
2173
2059
|
};
|
|
2174
2060
|
const deserializeAws_json1_1ListRulesCommand = async (output, context) => {
|
|
@@ -2190,7 +2076,6 @@ const deserializeAws_json1_1ListRulesCommandError = async (output, context) => {
|
|
|
2190
2076
|
...output,
|
|
2191
2077
|
body: await parseBody(output.body, context),
|
|
2192
2078
|
};
|
|
2193
|
-
let response;
|
|
2194
2079
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2195
2080
|
switch (errorCode) {
|
|
2196
2081
|
case "InternalException":
|
|
@@ -2201,14 +2086,12 @@ const deserializeAws_json1_1ListRulesCommandError = async (output, context) => {
|
|
|
2201
2086
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2202
2087
|
default:
|
|
2203
2088
|
const parsedBody = parsedOutput.body;
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
$metadata,
|
|
2089
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2090
|
+
output,
|
|
2091
|
+
parsedBody,
|
|
2092
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2093
|
+
errorCode,
|
|
2210
2094
|
});
|
|
2211
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2212
2095
|
}
|
|
2213
2096
|
};
|
|
2214
2097
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2230,7 +2113,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2230
2113
|
...output,
|
|
2231
2114
|
body: await parseBody(output.body, context),
|
|
2232
2115
|
};
|
|
2233
|
-
let response;
|
|
2234
2116
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2235
2117
|
switch (errorCode) {
|
|
2236
2118
|
case "InternalException":
|
|
@@ -2241,14 +2123,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2241
2123
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2242
2124
|
default:
|
|
2243
2125
|
const parsedBody = parsedOutput.body;
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
$metadata,
|
|
2126
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2127
|
+
output,
|
|
2128
|
+
parsedBody,
|
|
2129
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2130
|
+
errorCode,
|
|
2250
2131
|
});
|
|
2251
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2252
2132
|
}
|
|
2253
2133
|
};
|
|
2254
2134
|
const deserializeAws_json1_1ListTargetsByRuleCommand = async (output, context) => {
|
|
@@ -2270,7 +2150,6 @@ const deserializeAws_json1_1ListTargetsByRuleCommandError = async (output, conte
|
|
|
2270
2150
|
...output,
|
|
2271
2151
|
body: await parseBody(output.body, context),
|
|
2272
2152
|
};
|
|
2273
|
-
let response;
|
|
2274
2153
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2275
2154
|
switch (errorCode) {
|
|
2276
2155
|
case "InternalException":
|
|
@@ -2281,14 +2160,12 @@ const deserializeAws_json1_1ListTargetsByRuleCommandError = async (output, conte
|
|
|
2281
2160
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2282
2161
|
default:
|
|
2283
2162
|
const parsedBody = parsedOutput.body;
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
$metadata,
|
|
2163
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2164
|
+
output,
|
|
2165
|
+
parsedBody,
|
|
2166
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2167
|
+
errorCode,
|
|
2290
2168
|
});
|
|
2291
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2292
2169
|
}
|
|
2293
2170
|
};
|
|
2294
2171
|
const deserializeAws_json1_1PutEventsCommand = async (output, context) => {
|
|
@@ -2310,7 +2187,6 @@ const deserializeAws_json1_1PutEventsCommandError = async (output, context) => {
|
|
|
2310
2187
|
...output,
|
|
2311
2188
|
body: await parseBody(output.body, context),
|
|
2312
2189
|
};
|
|
2313
|
-
let response;
|
|
2314
2190
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2315
2191
|
switch (errorCode) {
|
|
2316
2192
|
case "InternalException":
|
|
@@ -2318,14 +2194,12 @@ const deserializeAws_json1_1PutEventsCommandError = async (output, context) => {
|
|
|
2318
2194
|
throw await deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context);
|
|
2319
2195
|
default:
|
|
2320
2196
|
const parsedBody = parsedOutput.body;
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
$metadata,
|
|
2197
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2198
|
+
output,
|
|
2199
|
+
parsedBody,
|
|
2200
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2201
|
+
errorCode,
|
|
2327
2202
|
});
|
|
2328
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2329
2203
|
}
|
|
2330
2204
|
};
|
|
2331
2205
|
const deserializeAws_json1_1PutPartnerEventsCommand = async (output, context) => {
|
|
@@ -2347,7 +2221,6 @@ const deserializeAws_json1_1PutPartnerEventsCommandError = async (output, contex
|
|
|
2347
2221
|
...output,
|
|
2348
2222
|
body: await parseBody(output.body, context),
|
|
2349
2223
|
};
|
|
2350
|
-
let response;
|
|
2351
2224
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2352
2225
|
switch (errorCode) {
|
|
2353
2226
|
case "InternalException":
|
|
@@ -2358,14 +2231,12 @@ const deserializeAws_json1_1PutPartnerEventsCommandError = async (output, contex
|
|
|
2358
2231
|
throw await deserializeAws_json1_1OperationDisabledExceptionResponse(parsedOutput, context);
|
|
2359
2232
|
default:
|
|
2360
2233
|
const parsedBody = parsedOutput.body;
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
$metadata,
|
|
2234
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2235
|
+
output,
|
|
2236
|
+
parsedBody,
|
|
2237
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2238
|
+
errorCode,
|
|
2367
2239
|
});
|
|
2368
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2369
2240
|
}
|
|
2370
2241
|
};
|
|
2371
2242
|
const deserializeAws_json1_1PutPermissionCommand = async (output, context) => {
|
|
@@ -2384,7 +2255,6 @@ const deserializeAws_json1_1PutPermissionCommandError = async (output, context)
|
|
|
2384
2255
|
...output,
|
|
2385
2256
|
body: await parseBody(output.body, context),
|
|
2386
2257
|
};
|
|
2387
|
-
let response;
|
|
2388
2258
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2389
2259
|
switch (errorCode) {
|
|
2390
2260
|
case "ConcurrentModificationException":
|
|
@@ -2404,14 +2274,12 @@ const deserializeAws_json1_1PutPermissionCommandError = async (output, context)
|
|
|
2404
2274
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2405
2275
|
default:
|
|
2406
2276
|
const parsedBody = parsedOutput.body;
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
$metadata,
|
|
2277
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2278
|
+
output,
|
|
2279
|
+
parsedBody,
|
|
2280
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2281
|
+
errorCode,
|
|
2413
2282
|
});
|
|
2414
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2415
2283
|
}
|
|
2416
2284
|
};
|
|
2417
2285
|
const deserializeAws_json1_1PutRuleCommand = async (output, context) => {
|
|
@@ -2433,7 +2301,6 @@ const deserializeAws_json1_1PutRuleCommandError = async (output, context) => {
|
|
|
2433
2301
|
...output,
|
|
2434
2302
|
body: await parseBody(output.body, context),
|
|
2435
2303
|
};
|
|
2436
|
-
let response;
|
|
2437
2304
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2438
2305
|
switch (errorCode) {
|
|
2439
2306
|
case "ConcurrentModificationException":
|
|
@@ -2456,14 +2323,12 @@ const deserializeAws_json1_1PutRuleCommandError = async (output, context) => {
|
|
|
2456
2323
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2457
2324
|
default:
|
|
2458
2325
|
const parsedBody = parsedOutput.body;
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
$metadata,
|
|
2326
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2327
|
+
output,
|
|
2328
|
+
parsedBody,
|
|
2329
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2330
|
+
errorCode,
|
|
2465
2331
|
});
|
|
2466
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2467
2332
|
}
|
|
2468
2333
|
};
|
|
2469
2334
|
const deserializeAws_json1_1PutTargetsCommand = async (output, context) => {
|
|
@@ -2485,7 +2350,6 @@ const deserializeAws_json1_1PutTargetsCommandError = async (output, context) =>
|
|
|
2485
2350
|
...output,
|
|
2486
2351
|
body: await parseBody(output.body, context),
|
|
2487
2352
|
};
|
|
2488
|
-
let response;
|
|
2489
2353
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2490
2354
|
switch (errorCode) {
|
|
2491
2355
|
case "ConcurrentModificationException":
|
|
@@ -2505,14 +2369,12 @@ const deserializeAws_json1_1PutTargetsCommandError = async (output, context) =>
|
|
|
2505
2369
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2506
2370
|
default:
|
|
2507
2371
|
const parsedBody = parsedOutput.body;
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
$metadata,
|
|
2372
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2373
|
+
output,
|
|
2374
|
+
parsedBody,
|
|
2375
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2376
|
+
errorCode,
|
|
2514
2377
|
});
|
|
2515
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2516
2378
|
}
|
|
2517
2379
|
};
|
|
2518
2380
|
const deserializeAws_json1_1RemovePermissionCommand = async (output, context) => {
|
|
@@ -2531,7 +2393,6 @@ const deserializeAws_json1_1RemovePermissionCommandError = async (output, contex
|
|
|
2531
2393
|
...output,
|
|
2532
2394
|
body: await parseBody(output.body, context),
|
|
2533
2395
|
};
|
|
2534
|
-
let response;
|
|
2535
2396
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2536
2397
|
switch (errorCode) {
|
|
2537
2398
|
case "ConcurrentModificationException":
|
|
@@ -2548,14 +2409,12 @@ const deserializeAws_json1_1RemovePermissionCommandError = async (output, contex
|
|
|
2548
2409
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2549
2410
|
default:
|
|
2550
2411
|
const parsedBody = parsedOutput.body;
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
$metadata,
|
|
2412
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2413
|
+
output,
|
|
2414
|
+
parsedBody,
|
|
2415
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2416
|
+
errorCode,
|
|
2557
2417
|
});
|
|
2558
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2559
2418
|
}
|
|
2560
2419
|
};
|
|
2561
2420
|
const deserializeAws_json1_1RemoveTargetsCommand = async (output, context) => {
|
|
@@ -2577,7 +2436,6 @@ const deserializeAws_json1_1RemoveTargetsCommandError = async (output, context)
|
|
|
2577
2436
|
...output,
|
|
2578
2437
|
body: await parseBody(output.body, context),
|
|
2579
2438
|
};
|
|
2580
|
-
let response;
|
|
2581
2439
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2582
2440
|
switch (errorCode) {
|
|
2583
2441
|
case "ConcurrentModificationException":
|
|
@@ -2594,14 +2452,12 @@ const deserializeAws_json1_1RemoveTargetsCommandError = async (output, context)
|
|
|
2594
2452
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2595
2453
|
default:
|
|
2596
2454
|
const parsedBody = parsedOutput.body;
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
$metadata,
|
|
2455
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2456
|
+
output,
|
|
2457
|
+
parsedBody,
|
|
2458
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2459
|
+
errorCode,
|
|
2603
2460
|
});
|
|
2604
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2605
2461
|
}
|
|
2606
2462
|
};
|
|
2607
2463
|
const deserializeAws_json1_1StartReplayCommand = async (output, context) => {
|
|
@@ -2623,7 +2479,6 @@ const deserializeAws_json1_1StartReplayCommandError = async (output, context) =>
|
|
|
2623
2479
|
...output,
|
|
2624
2480
|
body: await parseBody(output.body, context),
|
|
2625
2481
|
};
|
|
2626
|
-
let response;
|
|
2627
2482
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2628
2483
|
switch (errorCode) {
|
|
2629
2484
|
case "InternalException":
|
|
@@ -2643,14 +2498,12 @@ const deserializeAws_json1_1StartReplayCommandError = async (output, context) =>
|
|
|
2643
2498
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2644
2499
|
default:
|
|
2645
2500
|
const parsedBody = parsedOutput.body;
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
$metadata,
|
|
2501
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2502
|
+
output,
|
|
2503
|
+
parsedBody,
|
|
2504
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2505
|
+
errorCode,
|
|
2652
2506
|
});
|
|
2653
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2654
2507
|
}
|
|
2655
2508
|
};
|
|
2656
2509
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -2672,7 +2525,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2672
2525
|
...output,
|
|
2673
2526
|
body: await parseBody(output.body, context),
|
|
2674
2527
|
};
|
|
2675
|
-
let response;
|
|
2676
2528
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2677
2529
|
switch (errorCode) {
|
|
2678
2530
|
case "ConcurrentModificationException":
|
|
@@ -2689,14 +2541,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2689
2541
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2690
2542
|
default:
|
|
2691
2543
|
const parsedBody = parsedOutput.body;
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
$metadata,
|
|
2544
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2545
|
+
output,
|
|
2546
|
+
parsedBody,
|
|
2547
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2548
|
+
errorCode,
|
|
2698
2549
|
});
|
|
2699
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2700
2550
|
}
|
|
2701
2551
|
};
|
|
2702
2552
|
const deserializeAws_json1_1TestEventPatternCommand = async (output, context) => {
|
|
@@ -2718,7 +2568,6 @@ const deserializeAws_json1_1TestEventPatternCommandError = async (output, contex
|
|
|
2718
2568
|
...output,
|
|
2719
2569
|
body: await parseBody(output.body, context),
|
|
2720
2570
|
};
|
|
2721
|
-
let response;
|
|
2722
2571
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2723
2572
|
switch (errorCode) {
|
|
2724
2573
|
case "InternalException":
|
|
@@ -2729,14 +2578,12 @@ const deserializeAws_json1_1TestEventPatternCommandError = async (output, contex
|
|
|
2729
2578
|
throw await deserializeAws_json1_1InvalidEventPatternExceptionResponse(parsedOutput, context);
|
|
2730
2579
|
default:
|
|
2731
2580
|
const parsedBody = parsedOutput.body;
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
$metadata,
|
|
2581
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2582
|
+
output,
|
|
2583
|
+
parsedBody,
|
|
2584
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2585
|
+
errorCode,
|
|
2738
2586
|
});
|
|
2739
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2740
2587
|
}
|
|
2741
2588
|
};
|
|
2742
2589
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -2758,7 +2605,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2758
2605
|
...output,
|
|
2759
2606
|
body: await parseBody(output.body, context),
|
|
2760
2607
|
};
|
|
2761
|
-
let response;
|
|
2762
2608
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2763
2609
|
switch (errorCode) {
|
|
2764
2610
|
case "ConcurrentModificationException":
|
|
@@ -2775,14 +2621,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2775
2621
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2776
2622
|
default:
|
|
2777
2623
|
const parsedBody = parsedOutput.body;
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
$metadata,
|
|
2624
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2625
|
+
output,
|
|
2626
|
+
parsedBody,
|
|
2627
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2628
|
+
errorCode,
|
|
2784
2629
|
});
|
|
2785
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2786
2630
|
}
|
|
2787
2631
|
};
|
|
2788
2632
|
const deserializeAws_json1_1UpdateApiDestinationCommand = async (output, context) => {
|
|
@@ -2804,7 +2648,6 @@ const deserializeAws_json1_1UpdateApiDestinationCommandError = async (output, co
|
|
|
2804
2648
|
...output,
|
|
2805
2649
|
body: await parseBody(output.body, context),
|
|
2806
2650
|
};
|
|
2807
|
-
let response;
|
|
2808
2651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2809
2652
|
switch (errorCode) {
|
|
2810
2653
|
case "ConcurrentModificationException":
|
|
@@ -2821,14 +2664,12 @@ const deserializeAws_json1_1UpdateApiDestinationCommandError = async (output, co
|
|
|
2821
2664
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2822
2665
|
default:
|
|
2823
2666
|
const parsedBody = parsedOutput.body;
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
$metadata,
|
|
2667
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2668
|
+
output,
|
|
2669
|
+
parsedBody,
|
|
2670
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2671
|
+
errorCode,
|
|
2830
2672
|
});
|
|
2831
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2832
2673
|
}
|
|
2833
2674
|
};
|
|
2834
2675
|
const deserializeAws_json1_1UpdateArchiveCommand = async (output, context) => {
|
|
@@ -2850,7 +2691,6 @@ const deserializeAws_json1_1UpdateArchiveCommandError = async (output, context)
|
|
|
2850
2691
|
...output,
|
|
2851
2692
|
body: await parseBody(output.body, context),
|
|
2852
2693
|
};
|
|
2853
|
-
let response;
|
|
2854
2694
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2855
2695
|
switch (errorCode) {
|
|
2856
2696
|
case "ConcurrentModificationException":
|
|
@@ -2870,14 +2710,12 @@ const deserializeAws_json1_1UpdateArchiveCommandError = async (output, context)
|
|
|
2870
2710
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2871
2711
|
default:
|
|
2872
2712
|
const parsedBody = parsedOutput.body;
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
$metadata,
|
|
2713
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2714
|
+
output,
|
|
2715
|
+
parsedBody,
|
|
2716
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2717
|
+
errorCode,
|
|
2879
2718
|
});
|
|
2880
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2881
2719
|
}
|
|
2882
2720
|
};
|
|
2883
2721
|
const deserializeAws_json1_1UpdateConnectionCommand = async (output, context) => {
|
|
@@ -2899,7 +2737,6 @@ const deserializeAws_json1_1UpdateConnectionCommandError = async (output, contex
|
|
|
2899
2737
|
...output,
|
|
2900
2738
|
body: await parseBody(output.body, context),
|
|
2901
2739
|
};
|
|
2902
|
-
let response;
|
|
2903
2740
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2904
2741
|
switch (errorCode) {
|
|
2905
2742
|
case "ConcurrentModificationException":
|
|
@@ -2916,14 +2753,12 @@ const deserializeAws_json1_1UpdateConnectionCommandError = async (output, contex
|
|
|
2916
2753
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2917
2754
|
default:
|
|
2918
2755
|
const parsedBody = parsedOutput.body;
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
$metadata,
|
|
2756
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2757
|
+
output,
|
|
2758
|
+
parsedBody,
|
|
2759
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2760
|
+
errorCode,
|
|
2925
2761
|
});
|
|
2926
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2927
2762
|
}
|
|
2928
2763
|
};
|
|
2929
2764
|
const deserializeAws_json1_1UpdateEndpointCommand = async (output, context) => {
|
|
@@ -2945,7 +2780,6 @@ const deserializeAws_json1_1UpdateEndpointCommandError = async (output, context)
|
|
|
2945
2780
|
...output,
|
|
2946
2781
|
body: await parseBody(output.body, context),
|
|
2947
2782
|
};
|
|
2948
|
-
let response;
|
|
2949
2783
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2950
2784
|
switch (errorCode) {
|
|
2951
2785
|
case "ConcurrentModificationException":
|
|
@@ -2959,14 +2793,12 @@ const deserializeAws_json1_1UpdateEndpointCommandError = async (output, context)
|
|
|
2959
2793
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2960
2794
|
default:
|
|
2961
2795
|
const parsedBody = parsedOutput.body;
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
$metadata,
|
|
2796
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2797
|
+
output,
|
|
2798
|
+
parsedBody,
|
|
2799
|
+
exceptionCtor: EventBridgeServiceException_1.EventBridgeServiceException,
|
|
2800
|
+
errorCode,
|
|
2968
2801
|
});
|
|
2969
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2970
2802
|
}
|
|
2971
2803
|
};
|
|
2972
2804
|
const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -3113,9 +2945,6 @@ const serializeAws_json1_1CapacityProviderStrategy = (input, context) => {
|
|
|
3113
2945
|
return input
|
|
3114
2946
|
.filter((e) => e != null)
|
|
3115
2947
|
.map((entry) => {
|
|
3116
|
-
if (entry === null) {
|
|
3117
|
-
return null;
|
|
3118
|
-
}
|
|
3119
2948
|
return serializeAws_json1_1CapacityProviderStrategyItem(entry, context);
|
|
3120
2949
|
});
|
|
3121
2950
|
};
|
|
@@ -3144,9 +2973,6 @@ const serializeAws_json1_1ConnectionBodyParametersList = (input, context) => {
|
|
|
3144
2973
|
return input
|
|
3145
2974
|
.filter((e) => e != null)
|
|
3146
2975
|
.map((entry) => {
|
|
3147
|
-
if (entry === null) {
|
|
3148
|
-
return null;
|
|
3149
|
-
}
|
|
3150
2976
|
return serializeAws_json1_1ConnectionBodyParameter(entry, context);
|
|
3151
2977
|
});
|
|
3152
2978
|
};
|
|
@@ -3161,9 +2987,6 @@ const serializeAws_json1_1ConnectionHeaderParametersList = (input, context) => {
|
|
|
3161
2987
|
return input
|
|
3162
2988
|
.filter((e) => e != null)
|
|
3163
2989
|
.map((entry) => {
|
|
3164
|
-
if (entry === null) {
|
|
3165
|
-
return null;
|
|
3166
|
-
}
|
|
3167
2990
|
return serializeAws_json1_1ConnectionHeaderParameter(entry, context);
|
|
3168
2991
|
});
|
|
3169
2992
|
};
|
|
@@ -3191,9 +3014,6 @@ const serializeAws_json1_1ConnectionQueryStringParametersList = (input, context)
|
|
|
3191
3014
|
return input
|
|
3192
3015
|
.filter((e) => e != null)
|
|
3193
3016
|
.map((entry) => {
|
|
3194
|
-
if (entry === null) {
|
|
3195
|
-
return null;
|
|
3196
|
-
}
|
|
3197
3017
|
return serializeAws_json1_1ConnectionQueryStringParameter(entry, context);
|
|
3198
3018
|
});
|
|
3199
3019
|
};
|
|
@@ -3450,9 +3270,6 @@ const serializeAws_json1_1EndpointEventBusList = (input, context) => {
|
|
|
3450
3270
|
return input
|
|
3451
3271
|
.filter((e) => e != null)
|
|
3452
3272
|
.map((entry) => {
|
|
3453
|
-
if (entry === null) {
|
|
3454
|
-
return null;
|
|
3455
|
-
}
|
|
3456
3273
|
return serializeAws_json1_1EndpointEventBus(entry, context);
|
|
3457
3274
|
});
|
|
3458
3275
|
};
|
|
@@ -3460,9 +3277,6 @@ const serializeAws_json1_1EventResourceList = (input, context) => {
|
|
|
3460
3277
|
return input
|
|
3461
3278
|
.filter((e) => e != null)
|
|
3462
3279
|
.map((entry) => {
|
|
3463
|
-
if (entry === null) {
|
|
3464
|
-
return null;
|
|
3465
|
-
}
|
|
3466
3280
|
return entry;
|
|
3467
3281
|
});
|
|
3468
3282
|
};
|
|
@@ -3619,9 +3433,6 @@ const serializeAws_json1_1PathParameterList = (input, context) => {
|
|
|
3619
3433
|
return input
|
|
3620
3434
|
.filter((e) => e != null)
|
|
3621
3435
|
.map((entry) => {
|
|
3622
|
-
if (entry === null) {
|
|
3623
|
-
return null;
|
|
3624
|
-
}
|
|
3625
3436
|
return entry;
|
|
3626
3437
|
});
|
|
3627
3438
|
};
|
|
@@ -3635,9 +3446,6 @@ const serializeAws_json1_1PlacementConstraints = (input, context) => {
|
|
|
3635
3446
|
return input
|
|
3636
3447
|
.filter((e) => e != null)
|
|
3637
3448
|
.map((entry) => {
|
|
3638
|
-
if (entry === null) {
|
|
3639
|
-
return null;
|
|
3640
|
-
}
|
|
3641
3449
|
return serializeAws_json1_1PlacementConstraint(entry, context);
|
|
3642
3450
|
});
|
|
3643
3451
|
};
|
|
@@ -3645,9 +3453,6 @@ const serializeAws_json1_1PlacementStrategies = (input, context) => {
|
|
|
3645
3453
|
return input
|
|
3646
3454
|
.filter((e) => e != null)
|
|
3647
3455
|
.map((entry) => {
|
|
3648
|
-
if (entry === null) {
|
|
3649
|
-
return null;
|
|
3650
|
-
}
|
|
3651
3456
|
return serializeAws_json1_1PlacementStrategy(entry, context);
|
|
3652
3457
|
});
|
|
3653
3458
|
};
|
|
@@ -3683,9 +3488,6 @@ const serializeAws_json1_1PutEventsRequestEntryList = (input, context) => {
|
|
|
3683
3488
|
return input
|
|
3684
3489
|
.filter((e) => e != null)
|
|
3685
3490
|
.map((entry) => {
|
|
3686
|
-
if (entry === null) {
|
|
3687
|
-
return null;
|
|
3688
|
-
}
|
|
3689
3491
|
return serializeAws_json1_1PutEventsRequestEntry(entry, context);
|
|
3690
3492
|
});
|
|
3691
3493
|
};
|
|
@@ -3709,9 +3511,6 @@ const serializeAws_json1_1PutPartnerEventsRequestEntryList = (input, context) =>
|
|
|
3709
3511
|
return input
|
|
3710
3512
|
.filter((e) => e != null)
|
|
3711
3513
|
.map((entry) => {
|
|
3712
|
-
if (entry === null) {
|
|
3713
|
-
return null;
|
|
3714
|
-
}
|
|
3715
3514
|
return serializeAws_json1_1PutPartnerEventsRequestEntry(entry, context);
|
|
3716
3515
|
});
|
|
3717
3516
|
};
|
|
@@ -3792,9 +3591,6 @@ const serializeAws_json1_1ReplayDestinationFilters = (input, context) => {
|
|
|
3792
3591
|
return input
|
|
3793
3592
|
.filter((e) => e != null)
|
|
3794
3593
|
.map((entry) => {
|
|
3795
|
-
if (entry === null) {
|
|
3796
|
-
return null;
|
|
3797
|
-
}
|
|
3798
3594
|
return entry;
|
|
3799
3595
|
});
|
|
3800
3596
|
};
|
|
@@ -3833,9 +3629,6 @@ const serializeAws_json1_1RunCommandTargets = (input, context) => {
|
|
|
3833
3629
|
return input
|
|
3834
3630
|
.filter((e) => e != null)
|
|
3835
3631
|
.map((entry) => {
|
|
3836
|
-
if (entry === null) {
|
|
3837
|
-
return null;
|
|
3838
|
-
}
|
|
3839
3632
|
return serializeAws_json1_1RunCommandTarget(entry, context);
|
|
3840
3633
|
});
|
|
3841
3634
|
};
|
|
@@ -3843,9 +3636,6 @@ const serializeAws_json1_1RunCommandTargetValues = (input, context) => {
|
|
|
3843
3636
|
return input
|
|
3844
3637
|
.filter((e) => e != null)
|
|
3845
3638
|
.map((entry) => {
|
|
3846
|
-
if (entry === null) {
|
|
3847
|
-
return null;
|
|
3848
|
-
}
|
|
3849
3639
|
return entry;
|
|
3850
3640
|
});
|
|
3851
3641
|
};
|
|
@@ -3859,9 +3649,6 @@ const serializeAws_json1_1SageMakerPipelineParameterList = (input, context) => {
|
|
|
3859
3649
|
return input
|
|
3860
3650
|
.filter((e) => e != null)
|
|
3861
3651
|
.map((entry) => {
|
|
3862
|
-
if (entry === null) {
|
|
3863
|
-
return null;
|
|
3864
|
-
}
|
|
3865
3652
|
return serializeAws_json1_1SageMakerPipelineParameter(entry, context);
|
|
3866
3653
|
});
|
|
3867
3654
|
};
|
|
@@ -3898,9 +3685,6 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
3898
3685
|
return input
|
|
3899
3686
|
.filter((e) => e != null)
|
|
3900
3687
|
.map((entry) => {
|
|
3901
|
-
if (entry === null) {
|
|
3902
|
-
return null;
|
|
3903
|
-
}
|
|
3904
3688
|
return entry;
|
|
3905
3689
|
});
|
|
3906
3690
|
};
|
|
@@ -3914,9 +3698,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
3914
3698
|
return input
|
|
3915
3699
|
.filter((e) => e != null)
|
|
3916
3700
|
.map((entry) => {
|
|
3917
|
-
if (entry === null) {
|
|
3918
|
-
return null;
|
|
3919
|
-
}
|
|
3920
3701
|
return entry;
|
|
3921
3702
|
});
|
|
3922
3703
|
};
|
|
@@ -3924,9 +3705,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
3924
3705
|
return input
|
|
3925
3706
|
.filter((e) => e != null)
|
|
3926
3707
|
.map((entry) => {
|
|
3927
|
-
if (entry === null) {
|
|
3928
|
-
return null;
|
|
3929
|
-
}
|
|
3930
3708
|
return serializeAws_json1_1Tag(entry, context);
|
|
3931
3709
|
});
|
|
3932
3710
|
};
|
|
@@ -3980,9 +3758,6 @@ const serializeAws_json1_1TargetIdList = (input, context) => {
|
|
|
3980
3758
|
return input
|
|
3981
3759
|
.filter((e) => e != null)
|
|
3982
3760
|
.map((entry) => {
|
|
3983
|
-
if (entry === null) {
|
|
3984
|
-
return null;
|
|
3985
|
-
}
|
|
3986
3761
|
return entry;
|
|
3987
3762
|
});
|
|
3988
3763
|
};
|
|
@@ -3990,9 +3765,6 @@ const serializeAws_json1_1TargetList = (input, context) => {
|
|
|
3990
3765
|
return input
|
|
3991
3766
|
.filter((e) => e != null)
|
|
3992
3767
|
.map((entry) => {
|
|
3993
|
-
if (entry === null) {
|
|
3994
|
-
return null;
|
|
3995
|
-
}
|
|
3996
3768
|
return serializeAws_json1_1Target(entry, context);
|
|
3997
3769
|
});
|
|
3998
3770
|
};
|