@aws-sdk/client-codedeploy 3.118.1 → 3.128.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 +562 -733
- package/dist-es/protocols/Aws_json1_1.js +473 -644
- package/package.json +27 -27
|
@@ -493,8 +493,7 @@ const deserializeAws_json1_1AddTagsToOnPremisesInstancesCommandError = async (ou
|
|
|
493
493
|
body: await parseBody(output.body, context),
|
|
494
494
|
};
|
|
495
495
|
let response;
|
|
496
|
-
|
|
497
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
496
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
498
497
|
switch (errorCode) {
|
|
499
498
|
case "InstanceLimitExceededException":
|
|
500
499
|
case "com.amazonaws.codedeploy#InstanceLimitExceededException":
|
|
@@ -519,10 +518,12 @@ const deserializeAws_json1_1AddTagsToOnPremisesInstancesCommandError = async (ou
|
|
|
519
518
|
throw await deserializeAws_json1_1TagRequiredExceptionResponse(parsedOutput, context);
|
|
520
519
|
default:
|
|
521
520
|
const parsedBody = parsedOutput.body;
|
|
521
|
+
const $metadata = deserializeMetadata(output);
|
|
522
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
522
523
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
523
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
524
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
524
525
|
$fault: "client",
|
|
525
|
-
$metadata
|
|
526
|
+
$metadata,
|
|
526
527
|
});
|
|
527
528
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
528
529
|
}
|
|
@@ -547,8 +548,7 @@ const deserializeAws_json1_1BatchGetApplicationRevisionsCommandError = async (ou
|
|
|
547
548
|
body: await parseBody(output.body, context),
|
|
548
549
|
};
|
|
549
550
|
let response;
|
|
550
|
-
|
|
551
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
551
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
552
552
|
switch (errorCode) {
|
|
553
553
|
case "ApplicationDoesNotExistException":
|
|
554
554
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -570,10 +570,12 @@ const deserializeAws_json1_1BatchGetApplicationRevisionsCommandError = async (ou
|
|
|
570
570
|
throw await deserializeAws_json1_1RevisionRequiredExceptionResponse(parsedOutput, context);
|
|
571
571
|
default:
|
|
572
572
|
const parsedBody = parsedOutput.body;
|
|
573
|
+
const $metadata = deserializeMetadata(output);
|
|
574
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
573
575
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
574
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
576
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
575
577
|
$fault: "client",
|
|
576
|
-
$metadata
|
|
578
|
+
$metadata,
|
|
577
579
|
});
|
|
578
580
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
579
581
|
}
|
|
@@ -598,8 +600,7 @@ const deserializeAws_json1_1BatchGetApplicationsCommandError = async (output, co
|
|
|
598
600
|
body: await parseBody(output.body, context),
|
|
599
601
|
};
|
|
600
602
|
let response;
|
|
601
|
-
|
|
602
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
603
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
603
604
|
switch (errorCode) {
|
|
604
605
|
case "ApplicationDoesNotExistException":
|
|
605
606
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -615,10 +616,12 @@ const deserializeAws_json1_1BatchGetApplicationsCommandError = async (output, co
|
|
|
615
616
|
throw await deserializeAws_json1_1InvalidApplicationNameExceptionResponse(parsedOutput, context);
|
|
616
617
|
default:
|
|
617
618
|
const parsedBody = parsedOutput.body;
|
|
619
|
+
const $metadata = deserializeMetadata(output);
|
|
620
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
618
621
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
619
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
622
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
620
623
|
$fault: "client",
|
|
621
|
-
$metadata
|
|
624
|
+
$metadata,
|
|
622
625
|
});
|
|
623
626
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
624
627
|
}
|
|
@@ -643,8 +646,7 @@ const deserializeAws_json1_1BatchGetDeploymentGroupsCommandError = async (output
|
|
|
643
646
|
body: await parseBody(output.body, context),
|
|
644
647
|
};
|
|
645
648
|
let response;
|
|
646
|
-
|
|
647
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
649
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
648
650
|
switch (errorCode) {
|
|
649
651
|
case "ApplicationDoesNotExistException":
|
|
650
652
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -669,10 +671,12 @@ const deserializeAws_json1_1BatchGetDeploymentGroupsCommandError = async (output
|
|
|
669
671
|
throw await deserializeAws_json1_1InvalidDeploymentGroupNameExceptionResponse(parsedOutput, context);
|
|
670
672
|
default:
|
|
671
673
|
const parsedBody = parsedOutput.body;
|
|
674
|
+
const $metadata = deserializeMetadata(output);
|
|
675
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
672
676
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
673
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
677
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
674
678
|
$fault: "client",
|
|
675
|
-
$metadata
|
|
679
|
+
$metadata,
|
|
676
680
|
});
|
|
677
681
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
678
682
|
}
|
|
@@ -697,8 +701,7 @@ const deserializeAws_json1_1BatchGetDeploymentInstancesCommandError = async (out
|
|
|
697
701
|
body: await parseBody(output.body, context),
|
|
698
702
|
};
|
|
699
703
|
let response;
|
|
700
|
-
|
|
701
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
704
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
702
705
|
switch (errorCode) {
|
|
703
706
|
case "BatchLimitExceededException":
|
|
704
707
|
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
@@ -723,10 +726,12 @@ const deserializeAws_json1_1BatchGetDeploymentInstancesCommandError = async (out
|
|
|
723
726
|
throw await deserializeAws_json1_1InvalidInstanceNameExceptionResponse(parsedOutput, context);
|
|
724
727
|
default:
|
|
725
728
|
const parsedBody = parsedOutput.body;
|
|
729
|
+
const $metadata = deserializeMetadata(output);
|
|
730
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
726
731
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
727
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
732
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
728
733
|
$fault: "client",
|
|
729
|
-
$metadata
|
|
734
|
+
$metadata,
|
|
730
735
|
});
|
|
731
736
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
732
737
|
}
|
|
@@ -751,8 +756,7 @@ const deserializeAws_json1_1BatchGetDeploymentsCommandError = async (output, con
|
|
|
751
756
|
body: await parseBody(output.body, context),
|
|
752
757
|
};
|
|
753
758
|
let response;
|
|
754
|
-
|
|
755
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
759
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
756
760
|
switch (errorCode) {
|
|
757
761
|
case "BatchLimitExceededException":
|
|
758
762
|
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
@@ -765,10 +769,12 @@ const deserializeAws_json1_1BatchGetDeploymentsCommandError = async (output, con
|
|
|
765
769
|
throw await deserializeAws_json1_1InvalidDeploymentIdExceptionResponse(parsedOutput, context);
|
|
766
770
|
default:
|
|
767
771
|
const parsedBody = parsedOutput.body;
|
|
772
|
+
const $metadata = deserializeMetadata(output);
|
|
773
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
768
774
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
769
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
775
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
770
776
|
$fault: "client",
|
|
771
|
-
$metadata
|
|
777
|
+
$metadata,
|
|
772
778
|
});
|
|
773
779
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
774
780
|
}
|
|
@@ -793,8 +799,7 @@ const deserializeAws_json1_1BatchGetDeploymentTargetsCommandError = async (outpu
|
|
|
793
799
|
body: await parseBody(output.body, context),
|
|
794
800
|
};
|
|
795
801
|
let response;
|
|
796
|
-
|
|
797
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
802
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
798
803
|
switch (errorCode) {
|
|
799
804
|
case "DeploymentDoesNotExistException":
|
|
800
805
|
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
@@ -825,10 +830,12 @@ const deserializeAws_json1_1BatchGetDeploymentTargetsCommandError = async (outpu
|
|
|
825
830
|
throw await deserializeAws_json1_1InvalidDeploymentTargetIdExceptionResponse(parsedOutput, context);
|
|
826
831
|
default:
|
|
827
832
|
const parsedBody = parsedOutput.body;
|
|
833
|
+
const $metadata = deserializeMetadata(output);
|
|
834
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
828
835
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
829
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
836
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
830
837
|
$fault: "client",
|
|
831
|
-
$metadata
|
|
838
|
+
$metadata,
|
|
832
839
|
});
|
|
833
840
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
834
841
|
}
|
|
@@ -853,8 +860,7 @@ const deserializeAws_json1_1BatchGetOnPremisesInstancesCommandError = async (out
|
|
|
853
860
|
body: await parseBody(output.body, context),
|
|
854
861
|
};
|
|
855
862
|
let response;
|
|
856
|
-
|
|
857
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
863
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
858
864
|
switch (errorCode) {
|
|
859
865
|
case "BatchLimitExceededException":
|
|
860
866
|
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
@@ -867,10 +873,12 @@ const deserializeAws_json1_1BatchGetOnPremisesInstancesCommandError = async (out
|
|
|
867
873
|
throw await deserializeAws_json1_1InvalidInstanceNameExceptionResponse(parsedOutput, context);
|
|
868
874
|
default:
|
|
869
875
|
const parsedBody = parsedOutput.body;
|
|
876
|
+
const $metadata = deserializeMetadata(output);
|
|
877
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
870
878
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
871
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
879
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
872
880
|
$fault: "client",
|
|
873
|
-
$metadata
|
|
881
|
+
$metadata,
|
|
874
882
|
});
|
|
875
883
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
876
884
|
}
|
|
@@ -892,8 +900,7 @@ const deserializeAws_json1_1ContinueDeploymentCommandError = async (output, cont
|
|
|
892
900
|
body: await parseBody(output.body, context),
|
|
893
901
|
};
|
|
894
902
|
let response;
|
|
895
|
-
|
|
896
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
903
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
897
904
|
switch (errorCode) {
|
|
898
905
|
case "DeploymentAlreadyCompletedException":
|
|
899
906
|
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
@@ -921,10 +928,12 @@ const deserializeAws_json1_1ContinueDeploymentCommandError = async (output, cont
|
|
|
921
928
|
throw await deserializeAws_json1_1UnsupportedActionForDeploymentTypeExceptionResponse(parsedOutput, context);
|
|
922
929
|
default:
|
|
923
930
|
const parsedBody = parsedOutput.body;
|
|
931
|
+
const $metadata = deserializeMetadata(output);
|
|
932
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
924
933
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
925
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
934
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
926
935
|
$fault: "client",
|
|
927
|
-
$metadata
|
|
936
|
+
$metadata,
|
|
928
937
|
});
|
|
929
938
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
930
939
|
}
|
|
@@ -949,8 +958,7 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
949
958
|
body: await parseBody(output.body, context),
|
|
950
959
|
};
|
|
951
960
|
let response;
|
|
952
|
-
|
|
953
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
961
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
954
962
|
switch (errorCode) {
|
|
955
963
|
case "ApplicationAlreadyExistsException":
|
|
956
964
|
case "com.amazonaws.codedeploy#ApplicationAlreadyExistsException":
|
|
@@ -972,10 +980,12 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
972
980
|
throw await deserializeAws_json1_1InvalidTagsToAddExceptionResponse(parsedOutput, context);
|
|
973
981
|
default:
|
|
974
982
|
const parsedBody = parsedOutput.body;
|
|
983
|
+
const $metadata = deserializeMetadata(output);
|
|
984
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
975
985
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
976
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
986
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
977
987
|
$fault: "client",
|
|
978
|
-
$metadata
|
|
988
|
+
$metadata,
|
|
979
989
|
});
|
|
980
990
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
981
991
|
}
|
|
@@ -1000,8 +1010,7 @@ const deserializeAws_json1_1CreateDeploymentCommandError = async (output, contex
|
|
|
1000
1010
|
body: await parseBody(output.body, context),
|
|
1001
1011
|
};
|
|
1002
1012
|
let response;
|
|
1003
|
-
|
|
1004
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1013
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1005
1014
|
switch (errorCode) {
|
|
1006
1015
|
case "ApplicationDoesNotExistException":
|
|
1007
1016
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -1077,10 +1086,12 @@ const deserializeAws_json1_1CreateDeploymentCommandError = async (output, contex
|
|
|
1077
1086
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1078
1087
|
default:
|
|
1079
1088
|
const parsedBody = parsedOutput.body;
|
|
1089
|
+
const $metadata = deserializeMetadata(output);
|
|
1090
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1080
1091
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1081
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1092
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1082
1093
|
$fault: "client",
|
|
1083
|
-
$metadata
|
|
1094
|
+
$metadata,
|
|
1084
1095
|
});
|
|
1085
1096
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1086
1097
|
}
|
|
@@ -1105,8 +1116,7 @@ const deserializeAws_json1_1CreateDeploymentConfigCommandError = async (output,
|
|
|
1105
1116
|
body: await parseBody(output.body, context),
|
|
1106
1117
|
};
|
|
1107
1118
|
let response;
|
|
1108
|
-
|
|
1109
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1119
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1110
1120
|
switch (errorCode) {
|
|
1111
1121
|
case "DeploymentConfigAlreadyExistsException":
|
|
1112
1122
|
case "com.amazonaws.codedeploy#DeploymentConfigAlreadyExistsException":
|
|
@@ -1131,10 +1141,12 @@ const deserializeAws_json1_1CreateDeploymentConfigCommandError = async (output,
|
|
|
1131
1141
|
throw await deserializeAws_json1_1InvalidTrafficRoutingConfigurationExceptionResponse(parsedOutput, context);
|
|
1132
1142
|
default:
|
|
1133
1143
|
const parsedBody = parsedOutput.body;
|
|
1144
|
+
const $metadata = deserializeMetadata(output);
|
|
1145
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1134
1146
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1135
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1147
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1136
1148
|
$fault: "client",
|
|
1137
|
-
$metadata
|
|
1149
|
+
$metadata,
|
|
1138
1150
|
});
|
|
1139
1151
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1140
1152
|
}
|
|
@@ -1159,8 +1171,7 @@ const deserializeAws_json1_1CreateDeploymentGroupCommandError = async (output, c
|
|
|
1159
1171
|
body: await parseBody(output.body, context),
|
|
1160
1172
|
};
|
|
1161
1173
|
let response;
|
|
1162
|
-
|
|
1163
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1174
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1164
1175
|
switch (errorCode) {
|
|
1165
1176
|
case "AlarmsLimitExceededException":
|
|
1166
1177
|
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
@@ -1263,10 +1274,12 @@ const deserializeAws_json1_1CreateDeploymentGroupCommandError = async (output, c
|
|
|
1263
1274
|
throw await deserializeAws_json1_1TriggerTargetsLimitExceededExceptionResponse(parsedOutput, context);
|
|
1264
1275
|
default:
|
|
1265
1276
|
const parsedBody = parsedOutput.body;
|
|
1277
|
+
const $metadata = deserializeMetadata(output);
|
|
1278
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1266
1279
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1267
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1280
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1268
1281
|
$fault: "client",
|
|
1269
|
-
$metadata
|
|
1282
|
+
$metadata,
|
|
1270
1283
|
});
|
|
1271
1284
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1272
1285
|
}
|
|
@@ -1288,8 +1301,7 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
1288
1301
|
body: await parseBody(output.body, context),
|
|
1289
1302
|
};
|
|
1290
1303
|
let response;
|
|
1291
|
-
|
|
1292
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1304
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1293
1305
|
switch (errorCode) {
|
|
1294
1306
|
case "ApplicationNameRequiredException":
|
|
1295
1307
|
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
@@ -1302,10 +1314,12 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
1302
1314
|
throw await deserializeAws_json1_1InvalidRoleExceptionResponse(parsedOutput, context);
|
|
1303
1315
|
default:
|
|
1304
1316
|
const parsedBody = parsedOutput.body;
|
|
1317
|
+
const $metadata = deserializeMetadata(output);
|
|
1318
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1305
1319
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1306
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1320
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1307
1321
|
$fault: "client",
|
|
1308
|
-
$metadata
|
|
1322
|
+
$metadata,
|
|
1309
1323
|
});
|
|
1310
1324
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1311
1325
|
}
|
|
@@ -1327,8 +1341,7 @@ const deserializeAws_json1_1DeleteDeploymentConfigCommandError = async (output,
|
|
|
1327
1341
|
body: await parseBody(output.body, context),
|
|
1328
1342
|
};
|
|
1329
1343
|
let response;
|
|
1330
|
-
|
|
1331
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1344
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1332
1345
|
switch (errorCode) {
|
|
1333
1346
|
case "DeploymentConfigInUseException":
|
|
1334
1347
|
case "com.amazonaws.codedeploy#DeploymentConfigInUseException":
|
|
@@ -1344,10 +1357,12 @@ const deserializeAws_json1_1DeleteDeploymentConfigCommandError = async (output,
|
|
|
1344
1357
|
throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
|
|
1345
1358
|
default:
|
|
1346
1359
|
const parsedBody = parsedOutput.body;
|
|
1360
|
+
const $metadata = deserializeMetadata(output);
|
|
1361
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1347
1362
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1348
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1363
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1349
1364
|
$fault: "client",
|
|
1350
|
-
$metadata
|
|
1365
|
+
$metadata,
|
|
1351
1366
|
});
|
|
1352
1367
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1353
1368
|
}
|
|
@@ -1372,8 +1387,7 @@ const deserializeAws_json1_1DeleteDeploymentGroupCommandError = async (output, c
|
|
|
1372
1387
|
body: await parseBody(output.body, context),
|
|
1373
1388
|
};
|
|
1374
1389
|
let response;
|
|
1375
|
-
|
|
1376
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1390
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1377
1391
|
switch (errorCode) {
|
|
1378
1392
|
case "ApplicationNameRequiredException":
|
|
1379
1393
|
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
@@ -1392,10 +1406,12 @@ const deserializeAws_json1_1DeleteDeploymentGroupCommandError = async (output, c
|
|
|
1392
1406
|
throw await deserializeAws_json1_1InvalidRoleExceptionResponse(parsedOutput, context);
|
|
1393
1407
|
default:
|
|
1394
1408
|
const parsedBody = parsedOutput.body;
|
|
1409
|
+
const $metadata = deserializeMetadata(output);
|
|
1410
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1395
1411
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1396
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1412
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1397
1413
|
$fault: "client",
|
|
1398
|
-
$metadata
|
|
1414
|
+
$metadata,
|
|
1399
1415
|
});
|
|
1400
1416
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1401
1417
|
}
|
|
@@ -1420,8 +1436,7 @@ const deserializeAws_json1_1DeleteGitHubAccountTokenCommandError = async (output
|
|
|
1420
1436
|
body: await parseBody(output.body, context),
|
|
1421
1437
|
};
|
|
1422
1438
|
let response;
|
|
1423
|
-
|
|
1424
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1439
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1425
1440
|
switch (errorCode) {
|
|
1426
1441
|
case "GitHubAccountTokenDoesNotExistException":
|
|
1427
1442
|
case "com.amazonaws.codedeploy#GitHubAccountTokenDoesNotExistException":
|
|
@@ -1440,10 +1455,12 @@ const deserializeAws_json1_1DeleteGitHubAccountTokenCommandError = async (output
|
|
|
1440
1455
|
throw await deserializeAws_json1_1ResourceValidationExceptionResponse(parsedOutput, context);
|
|
1441
1456
|
default:
|
|
1442
1457
|
const parsedBody = parsedOutput.body;
|
|
1458
|
+
const $metadata = deserializeMetadata(output);
|
|
1459
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1443
1460
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1444
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1461
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1445
1462
|
$fault: "client",
|
|
1446
|
-
$metadata
|
|
1463
|
+
$metadata,
|
|
1447
1464
|
});
|
|
1448
1465
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1449
1466
|
}
|
|
@@ -1468,15 +1485,16 @@ const deserializeAws_json1_1DeleteResourcesByExternalIdCommandError = async (out
|
|
|
1468
1485
|
body: await parseBody(output.body, context),
|
|
1469
1486
|
};
|
|
1470
1487
|
let response;
|
|
1471
|
-
|
|
1472
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1488
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1473
1489
|
switch (errorCode) {
|
|
1474
1490
|
default:
|
|
1475
1491
|
const parsedBody = parsedOutput.body;
|
|
1492
|
+
const $metadata = deserializeMetadata(output);
|
|
1493
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1476
1494
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1477
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1495
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1478
1496
|
$fault: "client",
|
|
1479
|
-
$metadata
|
|
1497
|
+
$metadata,
|
|
1480
1498
|
});
|
|
1481
1499
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1482
1500
|
}
|
|
@@ -1498,8 +1516,7 @@ const deserializeAws_json1_1DeregisterOnPremisesInstanceCommandError = async (ou
|
|
|
1498
1516
|
body: await parseBody(output.body, context),
|
|
1499
1517
|
};
|
|
1500
1518
|
let response;
|
|
1501
|
-
|
|
1502
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1519
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1503
1520
|
switch (errorCode) {
|
|
1504
1521
|
case "InstanceNameRequiredException":
|
|
1505
1522
|
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
@@ -1509,10 +1526,12 @@ const deserializeAws_json1_1DeregisterOnPremisesInstanceCommandError = async (ou
|
|
|
1509
1526
|
throw await deserializeAws_json1_1InvalidInstanceNameExceptionResponse(parsedOutput, context);
|
|
1510
1527
|
default:
|
|
1511
1528
|
const parsedBody = parsedOutput.body;
|
|
1529
|
+
const $metadata = deserializeMetadata(output);
|
|
1530
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1512
1531
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1513
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1532
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1514
1533
|
$fault: "client",
|
|
1515
|
-
$metadata
|
|
1534
|
+
$metadata,
|
|
1516
1535
|
});
|
|
1517
1536
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1518
1537
|
}
|
|
@@ -1537,8 +1556,7 @@ const deserializeAws_json1_1GetApplicationCommandError = async (output, context)
|
|
|
1537
1556
|
body: await parseBody(output.body, context),
|
|
1538
1557
|
};
|
|
1539
1558
|
let response;
|
|
1540
|
-
|
|
1541
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1559
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1542
1560
|
switch (errorCode) {
|
|
1543
1561
|
case "ApplicationDoesNotExistException":
|
|
1544
1562
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -1551,10 +1569,12 @@ const deserializeAws_json1_1GetApplicationCommandError = async (output, context)
|
|
|
1551
1569
|
throw await deserializeAws_json1_1InvalidApplicationNameExceptionResponse(parsedOutput, context);
|
|
1552
1570
|
default:
|
|
1553
1571
|
const parsedBody = parsedOutput.body;
|
|
1572
|
+
const $metadata = deserializeMetadata(output);
|
|
1573
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1554
1574
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1555
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1575
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1556
1576
|
$fault: "client",
|
|
1557
|
-
$metadata
|
|
1577
|
+
$metadata,
|
|
1558
1578
|
});
|
|
1559
1579
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1560
1580
|
}
|
|
@@ -1579,8 +1599,7 @@ const deserializeAws_json1_1GetApplicationRevisionCommandError = async (output,
|
|
|
1579
1599
|
body: await parseBody(output.body, context),
|
|
1580
1600
|
};
|
|
1581
1601
|
let response;
|
|
1582
|
-
|
|
1583
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1602
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1584
1603
|
switch (errorCode) {
|
|
1585
1604
|
case "ApplicationDoesNotExistException":
|
|
1586
1605
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -1602,10 +1621,12 @@ const deserializeAws_json1_1GetApplicationRevisionCommandError = async (output,
|
|
|
1602
1621
|
throw await deserializeAws_json1_1RevisionRequiredExceptionResponse(parsedOutput, context);
|
|
1603
1622
|
default:
|
|
1604
1623
|
const parsedBody = parsedOutput.body;
|
|
1624
|
+
const $metadata = deserializeMetadata(output);
|
|
1625
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1605
1626
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1606
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1627
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1607
1628
|
$fault: "client",
|
|
1608
|
-
$metadata
|
|
1629
|
+
$metadata,
|
|
1609
1630
|
});
|
|
1610
1631
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1611
1632
|
}
|
|
@@ -1630,8 +1651,7 @@ const deserializeAws_json1_1GetDeploymentCommandError = async (output, context)
|
|
|
1630
1651
|
body: await parseBody(output.body, context),
|
|
1631
1652
|
};
|
|
1632
1653
|
let response;
|
|
1633
|
-
|
|
1634
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1654
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1635
1655
|
switch (errorCode) {
|
|
1636
1656
|
case "DeploymentDoesNotExistException":
|
|
1637
1657
|
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
@@ -1644,10 +1664,12 @@ const deserializeAws_json1_1GetDeploymentCommandError = async (output, context)
|
|
|
1644
1664
|
throw await deserializeAws_json1_1InvalidDeploymentIdExceptionResponse(parsedOutput, context);
|
|
1645
1665
|
default:
|
|
1646
1666
|
const parsedBody = parsedOutput.body;
|
|
1667
|
+
const $metadata = deserializeMetadata(output);
|
|
1668
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1647
1669
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1648
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1670
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1649
1671
|
$fault: "client",
|
|
1650
|
-
$metadata
|
|
1672
|
+
$metadata,
|
|
1651
1673
|
});
|
|
1652
1674
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1653
1675
|
}
|
|
@@ -1672,8 +1694,7 @@ const deserializeAws_json1_1GetDeploymentConfigCommandError = async (output, con
|
|
|
1672
1694
|
body: await parseBody(output.body, context),
|
|
1673
1695
|
};
|
|
1674
1696
|
let response;
|
|
1675
|
-
|
|
1676
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1697
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1677
1698
|
switch (errorCode) {
|
|
1678
1699
|
case "DeploymentConfigDoesNotExistException":
|
|
1679
1700
|
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
@@ -1689,10 +1710,12 @@ const deserializeAws_json1_1GetDeploymentConfigCommandError = async (output, con
|
|
|
1689
1710
|
throw await deserializeAws_json1_1InvalidDeploymentConfigNameExceptionResponse(parsedOutput, context);
|
|
1690
1711
|
default:
|
|
1691
1712
|
const parsedBody = parsedOutput.body;
|
|
1713
|
+
const $metadata = deserializeMetadata(output);
|
|
1714
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1692
1715
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1693
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1716
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1694
1717
|
$fault: "client",
|
|
1695
|
-
$metadata
|
|
1718
|
+
$metadata,
|
|
1696
1719
|
});
|
|
1697
1720
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1698
1721
|
}
|
|
@@ -1717,8 +1740,7 @@ const deserializeAws_json1_1GetDeploymentGroupCommandError = async (output, cont
|
|
|
1717
1740
|
body: await parseBody(output.body, context),
|
|
1718
1741
|
};
|
|
1719
1742
|
let response;
|
|
1720
|
-
|
|
1721
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1743
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1722
1744
|
switch (errorCode) {
|
|
1723
1745
|
case "ApplicationDoesNotExistException":
|
|
1724
1746
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -1743,10 +1765,12 @@ const deserializeAws_json1_1GetDeploymentGroupCommandError = async (output, cont
|
|
|
1743
1765
|
throw await deserializeAws_json1_1InvalidDeploymentGroupNameExceptionResponse(parsedOutput, context);
|
|
1744
1766
|
default:
|
|
1745
1767
|
const parsedBody = parsedOutput.body;
|
|
1768
|
+
const $metadata = deserializeMetadata(output);
|
|
1769
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1746
1770
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1747
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1771
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1748
1772
|
$fault: "client",
|
|
1749
|
-
$metadata
|
|
1773
|
+
$metadata,
|
|
1750
1774
|
});
|
|
1751
1775
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1752
1776
|
}
|
|
@@ -1771,8 +1795,7 @@ const deserializeAws_json1_1GetDeploymentInstanceCommandError = async (output, c
|
|
|
1771
1795
|
body: await parseBody(output.body, context),
|
|
1772
1796
|
};
|
|
1773
1797
|
let response;
|
|
1774
|
-
|
|
1775
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1798
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1776
1799
|
switch (errorCode) {
|
|
1777
1800
|
case "DeploymentDoesNotExistException":
|
|
1778
1801
|
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
@@ -1797,10 +1820,12 @@ const deserializeAws_json1_1GetDeploymentInstanceCommandError = async (output, c
|
|
|
1797
1820
|
throw await deserializeAws_json1_1InvalidInstanceNameExceptionResponse(parsedOutput, context);
|
|
1798
1821
|
default:
|
|
1799
1822
|
const parsedBody = parsedOutput.body;
|
|
1823
|
+
const $metadata = deserializeMetadata(output);
|
|
1824
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1800
1825
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1801
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1826
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1802
1827
|
$fault: "client",
|
|
1803
|
-
$metadata
|
|
1828
|
+
$metadata,
|
|
1804
1829
|
});
|
|
1805
1830
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1806
1831
|
}
|
|
@@ -1825,8 +1850,7 @@ const deserializeAws_json1_1GetDeploymentTargetCommandError = async (output, con
|
|
|
1825
1850
|
body: await parseBody(output.body, context),
|
|
1826
1851
|
};
|
|
1827
1852
|
let response;
|
|
1828
|
-
|
|
1829
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1853
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1830
1854
|
switch (errorCode) {
|
|
1831
1855
|
case "DeploymentDoesNotExistException":
|
|
1832
1856
|
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
@@ -1854,10 +1878,12 @@ const deserializeAws_json1_1GetDeploymentTargetCommandError = async (output, con
|
|
|
1854
1878
|
throw await deserializeAws_json1_1InvalidInstanceNameExceptionResponse(parsedOutput, context);
|
|
1855
1879
|
default:
|
|
1856
1880
|
const parsedBody = parsedOutput.body;
|
|
1881
|
+
const $metadata = deserializeMetadata(output);
|
|
1882
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1857
1883
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1858
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1884
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1859
1885
|
$fault: "client",
|
|
1860
|
-
$metadata
|
|
1886
|
+
$metadata,
|
|
1861
1887
|
});
|
|
1862
1888
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1863
1889
|
}
|
|
@@ -1882,8 +1908,7 @@ const deserializeAws_json1_1GetOnPremisesInstanceCommandError = async (output, c
|
|
|
1882
1908
|
body: await parseBody(output.body, context),
|
|
1883
1909
|
};
|
|
1884
1910
|
let response;
|
|
1885
|
-
|
|
1886
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1911
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1887
1912
|
switch (errorCode) {
|
|
1888
1913
|
case "InstanceNameRequiredException":
|
|
1889
1914
|
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
@@ -1896,10 +1921,12 @@ const deserializeAws_json1_1GetOnPremisesInstanceCommandError = async (output, c
|
|
|
1896
1921
|
throw await deserializeAws_json1_1InvalidInstanceNameExceptionResponse(parsedOutput, context);
|
|
1897
1922
|
default:
|
|
1898
1923
|
const parsedBody = parsedOutput.body;
|
|
1924
|
+
const $metadata = deserializeMetadata(output);
|
|
1925
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1899
1926
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1900
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1927
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1901
1928
|
$fault: "client",
|
|
1902
|
-
$metadata
|
|
1929
|
+
$metadata,
|
|
1903
1930
|
});
|
|
1904
1931
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1905
1932
|
}
|
|
@@ -1924,8 +1951,7 @@ const deserializeAws_json1_1ListApplicationRevisionsCommandError = async (output
|
|
|
1924
1951
|
body: await parseBody(output.body, context),
|
|
1925
1952
|
};
|
|
1926
1953
|
let response;
|
|
1927
|
-
|
|
1928
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1954
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1929
1955
|
switch (errorCode) {
|
|
1930
1956
|
case "ApplicationDoesNotExistException":
|
|
1931
1957
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -1959,10 +1985,12 @@ const deserializeAws_json1_1ListApplicationRevisionsCommandError = async (output
|
|
|
1959
1985
|
throw await deserializeAws_json1_1InvalidSortOrderExceptionResponse(parsedOutput, context);
|
|
1960
1986
|
default:
|
|
1961
1987
|
const parsedBody = parsedOutput.body;
|
|
1988
|
+
const $metadata = deserializeMetadata(output);
|
|
1989
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1962
1990
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1963
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1991
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1964
1992
|
$fault: "client",
|
|
1965
|
-
$metadata
|
|
1993
|
+
$metadata,
|
|
1966
1994
|
});
|
|
1967
1995
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1968
1996
|
}
|
|
@@ -1987,18 +2015,19 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
1987
2015
|
body: await parseBody(output.body, context),
|
|
1988
2016
|
};
|
|
1989
2017
|
let response;
|
|
1990
|
-
|
|
1991
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2018
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1992
2019
|
switch (errorCode) {
|
|
1993
2020
|
case "InvalidNextTokenException":
|
|
1994
2021
|
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
1995
2022
|
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
1996
2023
|
default:
|
|
1997
2024
|
const parsedBody = parsedOutput.body;
|
|
2025
|
+
const $metadata = deserializeMetadata(output);
|
|
2026
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1998
2027
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
1999
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2028
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2000
2029
|
$fault: "client",
|
|
2001
|
-
$metadata
|
|
2030
|
+
$metadata,
|
|
2002
2031
|
});
|
|
2003
2032
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2004
2033
|
}
|
|
@@ -2023,18 +2052,19 @@ const deserializeAws_json1_1ListDeploymentConfigsCommandError = async (output, c
|
|
|
2023
2052
|
body: await parseBody(output.body, context),
|
|
2024
2053
|
};
|
|
2025
2054
|
let response;
|
|
2026
|
-
|
|
2027
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2055
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2028
2056
|
switch (errorCode) {
|
|
2029
2057
|
case "InvalidNextTokenException":
|
|
2030
2058
|
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
2031
2059
|
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
2032
2060
|
default:
|
|
2033
2061
|
const parsedBody = parsedOutput.body;
|
|
2062
|
+
const $metadata = deserializeMetadata(output);
|
|
2063
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2034
2064
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2035
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2065
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2036
2066
|
$fault: "client",
|
|
2037
|
-
$metadata
|
|
2067
|
+
$metadata,
|
|
2038
2068
|
});
|
|
2039
2069
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2040
2070
|
}
|
|
@@ -2059,8 +2089,7 @@ const deserializeAws_json1_1ListDeploymentGroupsCommandError = async (output, co
|
|
|
2059
2089
|
body: await parseBody(output.body, context),
|
|
2060
2090
|
};
|
|
2061
2091
|
let response;
|
|
2062
|
-
|
|
2063
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2092
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2064
2093
|
switch (errorCode) {
|
|
2065
2094
|
case "ApplicationDoesNotExistException":
|
|
2066
2095
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -2076,10 +2105,12 @@ const deserializeAws_json1_1ListDeploymentGroupsCommandError = async (output, co
|
|
|
2076
2105
|
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
2077
2106
|
default:
|
|
2078
2107
|
const parsedBody = parsedOutput.body;
|
|
2108
|
+
const $metadata = deserializeMetadata(output);
|
|
2109
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2079
2110
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2080
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2111
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2081
2112
|
$fault: "client",
|
|
2082
|
-
$metadata
|
|
2113
|
+
$metadata,
|
|
2083
2114
|
});
|
|
2084
2115
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2085
2116
|
}
|
|
@@ -2104,8 +2135,7 @@ const deserializeAws_json1_1ListDeploymentInstancesCommandError = async (output,
|
|
|
2104
2135
|
body: await parseBody(output.body, context),
|
|
2105
2136
|
};
|
|
2106
2137
|
let response;
|
|
2107
|
-
|
|
2108
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2138
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2109
2139
|
switch (errorCode) {
|
|
2110
2140
|
case "DeploymentDoesNotExistException":
|
|
2111
2141
|
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
@@ -2139,10 +2169,12 @@ const deserializeAws_json1_1ListDeploymentInstancesCommandError = async (output,
|
|
|
2139
2169
|
throw await deserializeAws_json1_1InvalidTargetFilterNameExceptionResponse(parsedOutput, context);
|
|
2140
2170
|
default:
|
|
2141
2171
|
const parsedBody = parsedOutput.body;
|
|
2172
|
+
const $metadata = deserializeMetadata(output);
|
|
2173
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2142
2174
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2143
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2175
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2144
2176
|
$fault: "client",
|
|
2145
|
-
$metadata
|
|
2177
|
+
$metadata,
|
|
2146
2178
|
});
|
|
2147
2179
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2148
2180
|
}
|
|
@@ -2167,8 +2199,7 @@ const deserializeAws_json1_1ListDeploymentsCommandError = async (output, context
|
|
|
2167
2199
|
body: await parseBody(output.body, context),
|
|
2168
2200
|
};
|
|
2169
2201
|
let response;
|
|
2170
|
-
|
|
2171
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2202
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2172
2203
|
switch (errorCode) {
|
|
2173
2204
|
case "ApplicationDoesNotExistException":
|
|
2174
2205
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -2205,10 +2236,12 @@ const deserializeAws_json1_1ListDeploymentsCommandError = async (output, context
|
|
|
2205
2236
|
throw await deserializeAws_json1_1InvalidTimeRangeExceptionResponse(parsedOutput, context);
|
|
2206
2237
|
default:
|
|
2207
2238
|
const parsedBody = parsedOutput.body;
|
|
2239
|
+
const $metadata = deserializeMetadata(output);
|
|
2240
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2208
2241
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2209
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2242
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2210
2243
|
$fault: "client",
|
|
2211
|
-
$metadata
|
|
2244
|
+
$metadata,
|
|
2212
2245
|
});
|
|
2213
2246
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2214
2247
|
}
|
|
@@ -2233,8 +2266,7 @@ const deserializeAws_json1_1ListDeploymentTargetsCommandError = async (output, c
|
|
|
2233
2266
|
body: await parseBody(output.body, context),
|
|
2234
2267
|
};
|
|
2235
2268
|
let response;
|
|
2236
|
-
|
|
2237
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2269
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2238
2270
|
switch (errorCode) {
|
|
2239
2271
|
case "DeploymentDoesNotExistException":
|
|
2240
2272
|
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
@@ -2262,10 +2294,12 @@ const deserializeAws_json1_1ListDeploymentTargetsCommandError = async (output, c
|
|
|
2262
2294
|
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
2263
2295
|
default:
|
|
2264
2296
|
const parsedBody = parsedOutput.body;
|
|
2297
|
+
const $metadata = deserializeMetadata(output);
|
|
2298
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2265
2299
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2266
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2300
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2267
2301
|
$fault: "client",
|
|
2268
|
-
$metadata
|
|
2302
|
+
$metadata,
|
|
2269
2303
|
});
|
|
2270
2304
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2271
2305
|
}
|
|
@@ -2290,8 +2324,7 @@ const deserializeAws_json1_1ListGitHubAccountTokenNamesCommandError = async (out
|
|
|
2290
2324
|
body: await parseBody(output.body, context),
|
|
2291
2325
|
};
|
|
2292
2326
|
let response;
|
|
2293
|
-
|
|
2294
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2327
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2295
2328
|
switch (errorCode) {
|
|
2296
2329
|
case "InvalidNextTokenException":
|
|
2297
2330
|
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
@@ -2304,10 +2337,12 @@ const deserializeAws_json1_1ListGitHubAccountTokenNamesCommandError = async (out
|
|
|
2304
2337
|
throw await deserializeAws_json1_1ResourceValidationExceptionResponse(parsedOutput, context);
|
|
2305
2338
|
default:
|
|
2306
2339
|
const parsedBody = parsedOutput.body;
|
|
2340
|
+
const $metadata = deserializeMetadata(output);
|
|
2341
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2307
2342
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2308
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2343
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2309
2344
|
$fault: "client",
|
|
2310
|
-
$metadata
|
|
2345
|
+
$metadata,
|
|
2311
2346
|
});
|
|
2312
2347
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2313
2348
|
}
|
|
@@ -2332,8 +2367,7 @@ const deserializeAws_json1_1ListOnPremisesInstancesCommandError = async (output,
|
|
|
2332
2367
|
body: await parseBody(output.body, context),
|
|
2333
2368
|
};
|
|
2334
2369
|
let response;
|
|
2335
|
-
|
|
2336
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2370
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2337
2371
|
switch (errorCode) {
|
|
2338
2372
|
case "InvalidNextTokenException":
|
|
2339
2373
|
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
@@ -2346,10 +2380,12 @@ const deserializeAws_json1_1ListOnPremisesInstancesCommandError = async (output,
|
|
|
2346
2380
|
throw await deserializeAws_json1_1InvalidTagFilterExceptionResponse(parsedOutput, context);
|
|
2347
2381
|
default:
|
|
2348
2382
|
const parsedBody = parsedOutput.body;
|
|
2383
|
+
const $metadata = deserializeMetadata(output);
|
|
2384
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2349
2385
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2350
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2386
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2351
2387
|
$fault: "client",
|
|
2352
|
-
$metadata
|
|
2388
|
+
$metadata,
|
|
2353
2389
|
});
|
|
2354
2390
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2355
2391
|
}
|
|
@@ -2374,8 +2410,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2374
2410
|
body: await parseBody(output.body, context),
|
|
2375
2411
|
};
|
|
2376
2412
|
let response;
|
|
2377
|
-
|
|
2378
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2413
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2379
2414
|
switch (errorCode) {
|
|
2380
2415
|
case "ArnNotSupportedException":
|
|
2381
2416
|
case "com.amazonaws.codedeploy#ArnNotSupportedException":
|
|
@@ -2388,10 +2423,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2388
2423
|
throw await deserializeAws_json1_1ResourceArnRequiredExceptionResponse(parsedOutput, context);
|
|
2389
2424
|
default:
|
|
2390
2425
|
const parsedBody = parsedOutput.body;
|
|
2426
|
+
const $metadata = deserializeMetadata(output);
|
|
2427
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2391
2428
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2392
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2429
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2393
2430
|
$fault: "client",
|
|
2394
|
-
$metadata
|
|
2431
|
+
$metadata,
|
|
2395
2432
|
});
|
|
2396
2433
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2397
2434
|
}
|
|
@@ -2416,8 +2453,7 @@ const deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommandError = a
|
|
|
2416
2453
|
body: await parseBody(output.body, context),
|
|
2417
2454
|
};
|
|
2418
2455
|
let response;
|
|
2419
|
-
|
|
2420
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2456
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2421
2457
|
switch (errorCode) {
|
|
2422
2458
|
case "DeploymentDoesNotExistException":
|
|
2423
2459
|
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
@@ -2442,10 +2478,12 @@ const deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommandError = a
|
|
|
2442
2478
|
throw await deserializeAws_json1_1UnsupportedActionForDeploymentTypeExceptionResponse(parsedOutput, context);
|
|
2443
2479
|
default:
|
|
2444
2480
|
const parsedBody = parsedOutput.body;
|
|
2481
|
+
const $metadata = deserializeMetadata(output);
|
|
2482
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2445
2483
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2446
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2484
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2447
2485
|
$fault: "client",
|
|
2448
|
-
$metadata
|
|
2486
|
+
$metadata,
|
|
2449
2487
|
});
|
|
2450
2488
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2451
2489
|
}
|
|
@@ -2467,8 +2505,7 @@ const deserializeAws_json1_1RegisterApplicationRevisionCommandError = async (out
|
|
|
2467
2505
|
body: await parseBody(output.body, context),
|
|
2468
2506
|
};
|
|
2469
2507
|
let response;
|
|
2470
|
-
|
|
2471
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2508
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2472
2509
|
switch (errorCode) {
|
|
2473
2510
|
case "ApplicationDoesNotExistException":
|
|
2474
2511
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -2490,10 +2527,12 @@ const deserializeAws_json1_1RegisterApplicationRevisionCommandError = async (out
|
|
|
2490
2527
|
throw await deserializeAws_json1_1RevisionRequiredExceptionResponse(parsedOutput, context);
|
|
2491
2528
|
default:
|
|
2492
2529
|
const parsedBody = parsedOutput.body;
|
|
2530
|
+
const $metadata = deserializeMetadata(output);
|
|
2531
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2493
2532
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2494
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2533
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2495
2534
|
$fault: "client",
|
|
2496
|
-
$metadata
|
|
2535
|
+
$metadata,
|
|
2497
2536
|
});
|
|
2498
2537
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2499
2538
|
}
|
|
@@ -2515,8 +2554,7 @@ const deserializeAws_json1_1RegisterOnPremisesInstanceCommandError = async (outp
|
|
|
2515
2554
|
body: await parseBody(output.body, context),
|
|
2516
2555
|
};
|
|
2517
2556
|
let response;
|
|
2518
|
-
|
|
2519
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2557
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2520
2558
|
switch (errorCode) {
|
|
2521
2559
|
case "IamArnRequiredException":
|
|
2522
2560
|
case "com.amazonaws.codedeploy#IamArnRequiredException":
|
|
@@ -2550,10 +2588,12 @@ const deserializeAws_json1_1RegisterOnPremisesInstanceCommandError = async (outp
|
|
|
2550
2588
|
throw await deserializeAws_json1_1MultipleIamArnsProvidedExceptionResponse(parsedOutput, context);
|
|
2551
2589
|
default:
|
|
2552
2590
|
const parsedBody = parsedOutput.body;
|
|
2591
|
+
const $metadata = deserializeMetadata(output);
|
|
2592
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2553
2593
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2554
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2594
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2555
2595
|
$fault: "client",
|
|
2556
|
-
$metadata
|
|
2596
|
+
$metadata,
|
|
2557
2597
|
});
|
|
2558
2598
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2559
2599
|
}
|
|
@@ -2575,8 +2615,7 @@ const deserializeAws_json1_1RemoveTagsFromOnPremisesInstancesCommandError = asyn
|
|
|
2575
2615
|
body: await parseBody(output.body, context),
|
|
2576
2616
|
};
|
|
2577
2617
|
let response;
|
|
2578
|
-
|
|
2579
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2618
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2580
2619
|
switch (errorCode) {
|
|
2581
2620
|
case "InstanceLimitExceededException":
|
|
2582
2621
|
case "com.amazonaws.codedeploy#InstanceLimitExceededException":
|
|
@@ -2601,10 +2640,12 @@ const deserializeAws_json1_1RemoveTagsFromOnPremisesInstancesCommandError = asyn
|
|
|
2601
2640
|
throw await deserializeAws_json1_1TagRequiredExceptionResponse(parsedOutput, context);
|
|
2602
2641
|
default:
|
|
2603
2642
|
const parsedBody = parsedOutput.body;
|
|
2643
|
+
const $metadata = deserializeMetadata(output);
|
|
2644
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2604
2645
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2605
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2646
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2606
2647
|
$fault: "client",
|
|
2607
|
-
$metadata
|
|
2648
|
+
$metadata,
|
|
2608
2649
|
});
|
|
2609
2650
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2610
2651
|
}
|
|
@@ -2626,8 +2667,7 @@ const deserializeAws_json1_1SkipWaitTimeForInstanceTerminationCommandError = asy
|
|
|
2626
2667
|
body: await parseBody(output.body, context),
|
|
2627
2668
|
};
|
|
2628
2669
|
let response;
|
|
2629
|
-
|
|
2630
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2670
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2631
2671
|
switch (errorCode) {
|
|
2632
2672
|
case "DeploymentAlreadyCompletedException":
|
|
2633
2673
|
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
@@ -2649,10 +2689,12 @@ const deserializeAws_json1_1SkipWaitTimeForInstanceTerminationCommandError = asy
|
|
|
2649
2689
|
throw await deserializeAws_json1_1UnsupportedActionForDeploymentTypeExceptionResponse(parsedOutput, context);
|
|
2650
2690
|
default:
|
|
2651
2691
|
const parsedBody = parsedOutput.body;
|
|
2692
|
+
const $metadata = deserializeMetadata(output);
|
|
2693
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2652
2694
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2653
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2695
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2654
2696
|
$fault: "client",
|
|
2655
|
-
$metadata
|
|
2697
|
+
$metadata,
|
|
2656
2698
|
});
|
|
2657
2699
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2658
2700
|
}
|
|
@@ -2677,8 +2719,7 @@ const deserializeAws_json1_1StopDeploymentCommandError = async (output, context)
|
|
|
2677
2719
|
body: await parseBody(output.body, context),
|
|
2678
2720
|
};
|
|
2679
2721
|
let response;
|
|
2680
|
-
|
|
2681
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2722
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2682
2723
|
switch (errorCode) {
|
|
2683
2724
|
case "DeploymentAlreadyCompletedException":
|
|
2684
2725
|
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
@@ -2700,10 +2741,12 @@ const deserializeAws_json1_1StopDeploymentCommandError = async (output, context)
|
|
|
2700
2741
|
throw await deserializeAws_json1_1UnsupportedActionForDeploymentTypeExceptionResponse(parsedOutput, context);
|
|
2701
2742
|
default:
|
|
2702
2743
|
const parsedBody = parsedOutput.body;
|
|
2744
|
+
const $metadata = deserializeMetadata(output);
|
|
2745
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2703
2746
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2704
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2747
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2705
2748
|
$fault: "client",
|
|
2706
|
-
$metadata
|
|
2749
|
+
$metadata,
|
|
2707
2750
|
});
|
|
2708
2751
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2709
2752
|
}
|
|
@@ -2728,8 +2771,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2728
2771
|
body: await parseBody(output.body, context),
|
|
2729
2772
|
};
|
|
2730
2773
|
let response;
|
|
2731
|
-
|
|
2732
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2774
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2733
2775
|
switch (errorCode) {
|
|
2734
2776
|
case "ApplicationDoesNotExistException":
|
|
2735
2777
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -2757,10 +2799,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2757
2799
|
throw await deserializeAws_json1_1TagRequiredExceptionResponse(parsedOutput, context);
|
|
2758
2800
|
default:
|
|
2759
2801
|
const parsedBody = parsedOutput.body;
|
|
2802
|
+
const $metadata = deserializeMetadata(output);
|
|
2803
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2760
2804
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2761
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2805
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2762
2806
|
$fault: "client",
|
|
2763
|
-
$metadata
|
|
2807
|
+
$metadata,
|
|
2764
2808
|
});
|
|
2765
2809
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2766
2810
|
}
|
|
@@ -2785,8 +2829,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2785
2829
|
body: await parseBody(output.body, context),
|
|
2786
2830
|
};
|
|
2787
2831
|
let response;
|
|
2788
|
-
|
|
2789
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2832
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2790
2833
|
switch (errorCode) {
|
|
2791
2834
|
case "ApplicationDoesNotExistException":
|
|
2792
2835
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
@@ -2814,10 +2857,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2814
2857
|
throw await deserializeAws_json1_1TagRequiredExceptionResponse(parsedOutput, context);
|
|
2815
2858
|
default:
|
|
2816
2859
|
const parsedBody = parsedOutput.body;
|
|
2860
|
+
const $metadata = deserializeMetadata(output);
|
|
2861
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2817
2862
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2818
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2863
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2819
2864
|
$fault: "client",
|
|
2820
|
-
$metadata
|
|
2865
|
+
$metadata,
|
|
2821
2866
|
});
|
|
2822
2867
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2823
2868
|
}
|
|
@@ -2839,8 +2884,7 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
2839
2884
|
body: await parseBody(output.body, context),
|
|
2840
2885
|
};
|
|
2841
2886
|
let response;
|
|
2842
|
-
|
|
2843
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2887
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2844
2888
|
switch (errorCode) {
|
|
2845
2889
|
case "ApplicationAlreadyExistsException":
|
|
2846
2890
|
case "com.amazonaws.codedeploy#ApplicationAlreadyExistsException":
|
|
@@ -2856,10 +2900,12 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
2856
2900
|
throw await deserializeAws_json1_1InvalidApplicationNameExceptionResponse(parsedOutput, context);
|
|
2857
2901
|
default:
|
|
2858
2902
|
const parsedBody = parsedOutput.body;
|
|
2903
|
+
const $metadata = deserializeMetadata(output);
|
|
2904
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2859
2905
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2860
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2906
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2861
2907
|
$fault: "client",
|
|
2862
|
-
$metadata
|
|
2908
|
+
$metadata,
|
|
2863
2909
|
});
|
|
2864
2910
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2865
2911
|
}
|
|
@@ -2884,8 +2930,7 @@ const deserializeAws_json1_1UpdateDeploymentGroupCommandError = async (output, c
|
|
|
2884
2930
|
body: await parseBody(output.body, context),
|
|
2885
2931
|
};
|
|
2886
2932
|
let response;
|
|
2887
|
-
|
|
2888
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2933
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2889
2934
|
switch (errorCode) {
|
|
2890
2935
|
case "AlarmsLimitExceededException":
|
|
2891
2936
|
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
@@ -2982,10 +3027,12 @@ const deserializeAws_json1_1UpdateDeploymentGroupCommandError = async (output, c
|
|
|
2982
3027
|
throw await deserializeAws_json1_1TriggerTargetsLimitExceededExceptionResponse(parsedOutput, context);
|
|
2983
3028
|
default:
|
|
2984
3029
|
const parsedBody = parsedOutput.body;
|
|
3030
|
+
const $metadata = deserializeMetadata(output);
|
|
3031
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2985
3032
|
response = new CodeDeployServiceException_1.CodeDeployServiceException({
|
|
2986
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3033
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2987
3034
|
$fault: "client",
|
|
2988
|
-
$metadata
|
|
3035
|
+
$metadata,
|
|
2989
3036
|
});
|
|
2990
3037
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2991
3038
|
}
|
|
@@ -3973,25 +4020,22 @@ const deserializeAws_json1_1UnsupportedActionForDeploymentTypeExceptionResponse
|
|
|
3973
4020
|
};
|
|
3974
4021
|
const serializeAws_json1_1AddTagsToOnPremisesInstancesInput = (input, context) => {
|
|
3975
4022
|
return {
|
|
3976
|
-
...(input.instanceNames
|
|
3977
|
-
input.instanceNames !== null && {
|
|
4023
|
+
...(input.instanceNames != null && {
|
|
3978
4024
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
3979
4025
|
}),
|
|
3980
|
-
...(input.tags
|
|
4026
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
3981
4027
|
};
|
|
3982
4028
|
};
|
|
3983
4029
|
const serializeAws_json1_1Alarm = (input, context) => {
|
|
3984
4030
|
return {
|
|
3985
|
-
...(input.name
|
|
4031
|
+
...(input.name != null && { name: input.name }),
|
|
3986
4032
|
};
|
|
3987
4033
|
};
|
|
3988
4034
|
const serializeAws_json1_1AlarmConfiguration = (input, context) => {
|
|
3989
4035
|
return {
|
|
3990
|
-
...(input.alarms
|
|
3991
|
-
|
|
3992
|
-
...(input.
|
|
3993
|
-
...(input.ignorePollAlarmFailure !== undefined &&
|
|
3994
|
-
input.ignorePollAlarmFailure !== null && { ignorePollAlarmFailure: input.ignorePollAlarmFailure }),
|
|
4036
|
+
...(input.alarms != null && { alarms: serializeAws_json1_1AlarmList(input.alarms, context) }),
|
|
4037
|
+
...(input.enabled != null && { enabled: input.enabled }),
|
|
4038
|
+
...(input.ignorePollAlarmFailure != null && { ignorePollAlarmFailure: input.ignorePollAlarmFailure }),
|
|
3995
4039
|
};
|
|
3996
4040
|
};
|
|
3997
4041
|
const serializeAws_json1_1AlarmList = (input, context) => {
|
|
@@ -4016,15 +4060,14 @@ const serializeAws_json1_1ApplicationsList = (input, context) => {
|
|
|
4016
4060
|
};
|
|
4017
4061
|
const serializeAws_json1_1AppSpecContent = (input, context) => {
|
|
4018
4062
|
return {
|
|
4019
|
-
...(input.content
|
|
4020
|
-
...(input.sha256
|
|
4063
|
+
...(input.content != null && { content: input.content }),
|
|
4064
|
+
...(input.sha256 != null && { sha256: input.sha256 }),
|
|
4021
4065
|
};
|
|
4022
4066
|
};
|
|
4023
4067
|
const serializeAws_json1_1AutoRollbackConfiguration = (input, context) => {
|
|
4024
4068
|
return {
|
|
4025
|
-
...(input.enabled
|
|
4026
|
-
...(input.events
|
|
4027
|
-
input.events !== null && { events: serializeAws_json1_1AutoRollbackEventsList(input.events, context) }),
|
|
4069
|
+
...(input.enabled != null && { enabled: input.enabled }),
|
|
4070
|
+
...(input.events != null && { events: serializeAws_json1_1AutoRollbackEventsList(input.events, context) }),
|
|
4028
4071
|
};
|
|
4029
4072
|
};
|
|
4030
4073
|
const serializeAws_json1_1AutoRollbackEventsList = (input, context) => {
|
|
@@ -4049,233 +4092,185 @@ const serializeAws_json1_1AutoScalingGroupNameList = (input, context) => {
|
|
|
4049
4092
|
};
|
|
4050
4093
|
const serializeAws_json1_1BatchGetApplicationRevisionsInput = (input, context) => {
|
|
4051
4094
|
return {
|
|
4052
|
-
...(input.applicationName
|
|
4053
|
-
|
|
4054
|
-
...(input.revisions !== undefined &&
|
|
4055
|
-
input.revisions !== null && { revisions: serializeAws_json1_1RevisionLocationList(input.revisions, context) }),
|
|
4095
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4096
|
+
...(input.revisions != null && { revisions: serializeAws_json1_1RevisionLocationList(input.revisions, context) }),
|
|
4056
4097
|
};
|
|
4057
4098
|
};
|
|
4058
4099
|
const serializeAws_json1_1BatchGetApplicationsInput = (input, context) => {
|
|
4059
4100
|
return {
|
|
4060
|
-
...(input.applicationNames
|
|
4061
|
-
input.applicationNames !== null && {
|
|
4101
|
+
...(input.applicationNames != null && {
|
|
4062
4102
|
applicationNames: serializeAws_json1_1ApplicationsList(input.applicationNames, context),
|
|
4063
4103
|
}),
|
|
4064
4104
|
};
|
|
4065
4105
|
};
|
|
4066
4106
|
const serializeAws_json1_1BatchGetDeploymentGroupsInput = (input, context) => {
|
|
4067
4107
|
return {
|
|
4068
|
-
...(input.applicationName
|
|
4069
|
-
|
|
4070
|
-
...(input.deploymentGroupNames !== undefined &&
|
|
4071
|
-
input.deploymentGroupNames !== null && {
|
|
4108
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4109
|
+
...(input.deploymentGroupNames != null && {
|
|
4072
4110
|
deploymentGroupNames: serializeAws_json1_1DeploymentGroupsList(input.deploymentGroupNames, context),
|
|
4073
4111
|
}),
|
|
4074
4112
|
};
|
|
4075
4113
|
};
|
|
4076
4114
|
const serializeAws_json1_1BatchGetDeploymentInstancesInput = (input, context) => {
|
|
4077
4115
|
return {
|
|
4078
|
-
...(input.deploymentId
|
|
4079
|
-
...(input.instanceIds
|
|
4080
|
-
input.instanceIds !== null && { instanceIds: serializeAws_json1_1InstancesList(input.instanceIds, context) }),
|
|
4116
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4117
|
+
...(input.instanceIds != null && { instanceIds: serializeAws_json1_1InstancesList(input.instanceIds, context) }),
|
|
4081
4118
|
};
|
|
4082
4119
|
};
|
|
4083
4120
|
const serializeAws_json1_1BatchGetDeploymentsInput = (input, context) => {
|
|
4084
4121
|
return {
|
|
4085
|
-
...(input.deploymentIds
|
|
4086
|
-
input.deploymentIds !== null && {
|
|
4122
|
+
...(input.deploymentIds != null && {
|
|
4087
4123
|
deploymentIds: serializeAws_json1_1DeploymentsList(input.deploymentIds, context),
|
|
4088
4124
|
}),
|
|
4089
4125
|
};
|
|
4090
4126
|
};
|
|
4091
4127
|
const serializeAws_json1_1BatchGetDeploymentTargetsInput = (input, context) => {
|
|
4092
4128
|
return {
|
|
4093
|
-
...(input.deploymentId
|
|
4094
|
-
...(input.targetIds
|
|
4095
|
-
input.targetIds !== null && { targetIds: serializeAws_json1_1TargetIdList(input.targetIds, context) }),
|
|
4129
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4130
|
+
...(input.targetIds != null && { targetIds: serializeAws_json1_1TargetIdList(input.targetIds, context) }),
|
|
4096
4131
|
};
|
|
4097
4132
|
};
|
|
4098
4133
|
const serializeAws_json1_1BatchGetOnPremisesInstancesInput = (input, context) => {
|
|
4099
4134
|
return {
|
|
4100
|
-
...(input.instanceNames
|
|
4101
|
-
input.instanceNames !== null && {
|
|
4135
|
+
...(input.instanceNames != null && {
|
|
4102
4136
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
4103
4137
|
}),
|
|
4104
4138
|
};
|
|
4105
4139
|
};
|
|
4106
4140
|
const serializeAws_json1_1BlueGreenDeploymentConfiguration = (input, context) => {
|
|
4107
4141
|
return {
|
|
4108
|
-
...(input.deploymentReadyOption
|
|
4109
|
-
input.deploymentReadyOption !== null && {
|
|
4142
|
+
...(input.deploymentReadyOption != null && {
|
|
4110
4143
|
deploymentReadyOption: serializeAws_json1_1DeploymentReadyOption(input.deploymentReadyOption, context),
|
|
4111
4144
|
}),
|
|
4112
|
-
...(input.greenFleetProvisioningOption
|
|
4113
|
-
input.greenFleetProvisioningOption !== null && {
|
|
4145
|
+
...(input.greenFleetProvisioningOption != null && {
|
|
4114
4146
|
greenFleetProvisioningOption: serializeAws_json1_1GreenFleetProvisioningOption(input.greenFleetProvisioningOption, context),
|
|
4115
4147
|
}),
|
|
4116
|
-
...(input.terminateBlueInstancesOnDeploymentSuccess
|
|
4117
|
-
input.terminateBlueInstancesOnDeploymentSuccess !== null && {
|
|
4148
|
+
...(input.terminateBlueInstancesOnDeploymentSuccess != null && {
|
|
4118
4149
|
terminateBlueInstancesOnDeploymentSuccess: serializeAws_json1_1BlueInstanceTerminationOption(input.terminateBlueInstancesOnDeploymentSuccess, context),
|
|
4119
4150
|
}),
|
|
4120
4151
|
};
|
|
4121
4152
|
};
|
|
4122
4153
|
const serializeAws_json1_1BlueInstanceTerminationOption = (input, context) => {
|
|
4123
4154
|
return {
|
|
4124
|
-
...(input.action
|
|
4125
|
-
...(input.terminationWaitTimeInMinutes
|
|
4126
|
-
input.terminationWaitTimeInMinutes !== null && {
|
|
4155
|
+
...(input.action != null && { action: input.action }),
|
|
4156
|
+
...(input.terminationWaitTimeInMinutes != null && {
|
|
4127
4157
|
terminationWaitTimeInMinutes: input.terminationWaitTimeInMinutes,
|
|
4128
4158
|
}),
|
|
4129
4159
|
};
|
|
4130
4160
|
};
|
|
4131
4161
|
const serializeAws_json1_1ContinueDeploymentInput = (input, context) => {
|
|
4132
4162
|
return {
|
|
4133
|
-
...(input.deploymentId
|
|
4134
|
-
...(input.deploymentWaitType
|
|
4135
|
-
input.deploymentWaitType !== null && { deploymentWaitType: input.deploymentWaitType }),
|
|
4163
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4164
|
+
...(input.deploymentWaitType != null && { deploymentWaitType: input.deploymentWaitType }),
|
|
4136
4165
|
};
|
|
4137
4166
|
};
|
|
4138
4167
|
const serializeAws_json1_1CreateApplicationInput = (input, context) => {
|
|
4139
4168
|
return {
|
|
4140
|
-
...(input.applicationName
|
|
4141
|
-
|
|
4142
|
-
...(input.
|
|
4143
|
-
input.computePlatform !== null && { computePlatform: input.computePlatform }),
|
|
4144
|
-
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4169
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4170
|
+
...(input.computePlatform != null && { computePlatform: input.computePlatform }),
|
|
4171
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4145
4172
|
};
|
|
4146
4173
|
};
|
|
4147
4174
|
const serializeAws_json1_1CreateDeploymentConfigInput = (input, context) => {
|
|
4148
4175
|
return {
|
|
4149
|
-
...(input.computePlatform
|
|
4150
|
-
|
|
4151
|
-
...(input.
|
|
4152
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4153
|
-
...(input.minimumHealthyHosts !== undefined &&
|
|
4154
|
-
input.minimumHealthyHosts !== null && {
|
|
4176
|
+
...(input.computePlatform != null && { computePlatform: input.computePlatform }),
|
|
4177
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4178
|
+
...(input.minimumHealthyHosts != null && {
|
|
4155
4179
|
minimumHealthyHosts: serializeAws_json1_1MinimumHealthyHosts(input.minimumHealthyHosts, context),
|
|
4156
4180
|
}),
|
|
4157
|
-
...(input.trafficRoutingConfig
|
|
4158
|
-
input.trafficRoutingConfig !== null && {
|
|
4181
|
+
...(input.trafficRoutingConfig != null && {
|
|
4159
4182
|
trafficRoutingConfig: serializeAws_json1_1TrafficRoutingConfig(input.trafficRoutingConfig, context),
|
|
4160
4183
|
}),
|
|
4161
4184
|
};
|
|
4162
4185
|
};
|
|
4163
4186
|
const serializeAws_json1_1CreateDeploymentGroupInput = (input, context) => {
|
|
4164
4187
|
return {
|
|
4165
|
-
...(input.alarmConfiguration
|
|
4166
|
-
input.alarmConfiguration !== null && {
|
|
4188
|
+
...(input.alarmConfiguration != null && {
|
|
4167
4189
|
alarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.alarmConfiguration, context),
|
|
4168
4190
|
}),
|
|
4169
|
-
...(input.applicationName
|
|
4170
|
-
|
|
4171
|
-
...(input.autoRollbackConfiguration !== undefined &&
|
|
4172
|
-
input.autoRollbackConfiguration !== null && {
|
|
4191
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4192
|
+
...(input.autoRollbackConfiguration != null && {
|
|
4173
4193
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
4174
4194
|
}),
|
|
4175
|
-
...(input.autoScalingGroups
|
|
4176
|
-
input.autoScalingGroups !== null && {
|
|
4195
|
+
...(input.autoScalingGroups != null && {
|
|
4177
4196
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
4178
4197
|
}),
|
|
4179
|
-
...(input.blueGreenDeploymentConfiguration
|
|
4180
|
-
input.blueGreenDeploymentConfiguration !== null && {
|
|
4198
|
+
...(input.blueGreenDeploymentConfiguration != null && {
|
|
4181
4199
|
blueGreenDeploymentConfiguration: serializeAws_json1_1BlueGreenDeploymentConfiguration(input.blueGreenDeploymentConfiguration, context),
|
|
4182
4200
|
}),
|
|
4183
|
-
...(input.deploymentConfigName
|
|
4184
|
-
|
|
4185
|
-
...(input.
|
|
4186
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4187
|
-
...(input.deploymentStyle !== undefined &&
|
|
4188
|
-
input.deploymentStyle !== null && {
|
|
4201
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4202
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4203
|
+
...(input.deploymentStyle != null && {
|
|
4189
4204
|
deploymentStyle: serializeAws_json1_1DeploymentStyle(input.deploymentStyle, context),
|
|
4190
4205
|
}),
|
|
4191
|
-
...(input.ec2TagFilters
|
|
4192
|
-
input.ec2TagFilters !== null && {
|
|
4206
|
+
...(input.ec2TagFilters != null && {
|
|
4193
4207
|
ec2TagFilters: serializeAws_json1_1EC2TagFilterList(input.ec2TagFilters, context),
|
|
4194
4208
|
}),
|
|
4195
|
-
...(input.ec2TagSet
|
|
4196
|
-
|
|
4197
|
-
...(input.
|
|
4198
|
-
input.ecsServices !== null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) }),
|
|
4199
|
-
...(input.loadBalancerInfo !== undefined &&
|
|
4200
|
-
input.loadBalancerInfo !== null && {
|
|
4209
|
+
...(input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) }),
|
|
4210
|
+
...(input.ecsServices != null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) }),
|
|
4211
|
+
...(input.loadBalancerInfo != null && {
|
|
4201
4212
|
loadBalancerInfo: serializeAws_json1_1LoadBalancerInfo(input.loadBalancerInfo, context),
|
|
4202
4213
|
}),
|
|
4203
|
-
...(input.onPremisesInstanceTagFilters
|
|
4204
|
-
input.onPremisesInstanceTagFilters !== null && {
|
|
4214
|
+
...(input.onPremisesInstanceTagFilters != null && {
|
|
4205
4215
|
onPremisesInstanceTagFilters: serializeAws_json1_1TagFilterList(input.onPremisesInstanceTagFilters, context),
|
|
4206
4216
|
}),
|
|
4207
|
-
...(input.onPremisesTagSet
|
|
4208
|
-
input.onPremisesTagSet !== null && {
|
|
4217
|
+
...(input.onPremisesTagSet != null && {
|
|
4209
4218
|
onPremisesTagSet: serializeAws_json1_1OnPremisesTagSet(input.onPremisesTagSet, context),
|
|
4210
4219
|
}),
|
|
4211
|
-
...(input.outdatedInstancesStrategy
|
|
4212
|
-
|
|
4213
|
-
...(input.
|
|
4214
|
-
|
|
4215
|
-
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4216
|
-
...(input.triggerConfigurations !== undefined &&
|
|
4217
|
-
input.triggerConfigurations !== null && {
|
|
4220
|
+
...(input.outdatedInstancesStrategy != null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy }),
|
|
4221
|
+
...(input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn }),
|
|
4222
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4223
|
+
...(input.triggerConfigurations != null && {
|
|
4218
4224
|
triggerConfigurations: serializeAws_json1_1TriggerConfigList(input.triggerConfigurations, context),
|
|
4219
4225
|
}),
|
|
4220
4226
|
};
|
|
4221
4227
|
};
|
|
4222
4228
|
const serializeAws_json1_1CreateDeploymentInput = (input, context) => {
|
|
4223
4229
|
return {
|
|
4224
|
-
...(input.applicationName
|
|
4225
|
-
|
|
4226
|
-
...(input.autoRollbackConfiguration !== undefined &&
|
|
4227
|
-
input.autoRollbackConfiguration !== null && {
|
|
4230
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4231
|
+
...(input.autoRollbackConfiguration != null && {
|
|
4228
4232
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
4229
4233
|
}),
|
|
4230
|
-
...(input.deploymentConfigName
|
|
4231
|
-
|
|
4232
|
-
...(input.
|
|
4233
|
-
|
|
4234
|
-
...(input.
|
|
4235
|
-
...(input.fileExistsBehavior !== undefined &&
|
|
4236
|
-
input.fileExistsBehavior !== null && { fileExistsBehavior: input.fileExistsBehavior }),
|
|
4237
|
-
...(input.ignoreApplicationStopFailures !== undefined &&
|
|
4238
|
-
input.ignoreApplicationStopFailures !== null && {
|
|
4234
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4235
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4236
|
+
...(input.description != null && { description: input.description }),
|
|
4237
|
+
...(input.fileExistsBehavior != null && { fileExistsBehavior: input.fileExistsBehavior }),
|
|
4238
|
+
...(input.ignoreApplicationStopFailures != null && {
|
|
4239
4239
|
ignoreApplicationStopFailures: input.ignoreApplicationStopFailures,
|
|
4240
4240
|
}),
|
|
4241
|
-
...(input.revision
|
|
4242
|
-
|
|
4243
|
-
...(input.targetInstances !== undefined &&
|
|
4244
|
-
input.targetInstances !== null && {
|
|
4241
|
+
...(input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4242
|
+
...(input.targetInstances != null && {
|
|
4245
4243
|
targetInstances: serializeAws_json1_1TargetInstances(input.targetInstances, context),
|
|
4246
4244
|
}),
|
|
4247
|
-
...(input.updateOutdatedInstancesOnly
|
|
4248
|
-
|
|
4245
|
+
...(input.updateOutdatedInstancesOnly != null && {
|
|
4246
|
+
updateOutdatedInstancesOnly: input.updateOutdatedInstancesOnly,
|
|
4247
|
+
}),
|
|
4249
4248
|
};
|
|
4250
4249
|
};
|
|
4251
4250
|
const serializeAws_json1_1DeleteApplicationInput = (input, context) => {
|
|
4252
4251
|
return {
|
|
4253
|
-
...(input.applicationName
|
|
4254
|
-
input.applicationName !== null && { applicationName: input.applicationName }),
|
|
4252
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4255
4253
|
};
|
|
4256
4254
|
};
|
|
4257
4255
|
const serializeAws_json1_1DeleteDeploymentConfigInput = (input, context) => {
|
|
4258
4256
|
return {
|
|
4259
|
-
...(input.deploymentConfigName
|
|
4260
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4257
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4261
4258
|
};
|
|
4262
4259
|
};
|
|
4263
4260
|
const serializeAws_json1_1DeleteDeploymentGroupInput = (input, context) => {
|
|
4264
4261
|
return {
|
|
4265
|
-
...(input.applicationName
|
|
4266
|
-
|
|
4267
|
-
...(input.deploymentGroupName !== undefined &&
|
|
4268
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4262
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4263
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4269
4264
|
};
|
|
4270
4265
|
};
|
|
4271
4266
|
const serializeAws_json1_1DeleteGitHubAccountTokenInput = (input, context) => {
|
|
4272
4267
|
return {
|
|
4273
|
-
...(input.tokenName
|
|
4268
|
+
...(input.tokenName != null && { tokenName: input.tokenName }),
|
|
4274
4269
|
};
|
|
4275
4270
|
};
|
|
4276
4271
|
const serializeAws_json1_1DeleteResourcesByExternalIdInput = (input, context) => {
|
|
4277
4272
|
return {
|
|
4278
|
-
...(input.externalId
|
|
4273
|
+
...(input.externalId != null && { externalId: input.externalId }),
|
|
4279
4274
|
};
|
|
4280
4275
|
};
|
|
4281
4276
|
const serializeAws_json1_1DeploymentGroupsList = (input, context) => {
|
|
@@ -4290,10 +4285,8 @@ const serializeAws_json1_1DeploymentGroupsList = (input, context) => {
|
|
|
4290
4285
|
};
|
|
4291
4286
|
const serializeAws_json1_1DeploymentReadyOption = (input, context) => {
|
|
4292
4287
|
return {
|
|
4293
|
-
...(input.actionOnTimeout
|
|
4294
|
-
|
|
4295
|
-
...(input.waitTimeInMinutes !== undefined &&
|
|
4296
|
-
input.waitTimeInMinutes !== null && { waitTimeInMinutes: input.waitTimeInMinutes }),
|
|
4288
|
+
...(input.actionOnTimeout != null && { actionOnTimeout: input.actionOnTimeout }),
|
|
4289
|
+
...(input.waitTimeInMinutes != null && { waitTimeInMinutes: input.waitTimeInMinutes }),
|
|
4297
4290
|
};
|
|
4298
4291
|
};
|
|
4299
4292
|
const serializeAws_json1_1DeploymentsList = (input, context) => {
|
|
@@ -4318,22 +4311,20 @@ const serializeAws_json1_1DeploymentStatusList = (input, context) => {
|
|
|
4318
4311
|
};
|
|
4319
4312
|
const serializeAws_json1_1DeploymentStyle = (input, context) => {
|
|
4320
4313
|
return {
|
|
4321
|
-
...(input.deploymentOption
|
|
4322
|
-
|
|
4323
|
-
...(input.deploymentType !== undefined &&
|
|
4324
|
-
input.deploymentType !== null && { deploymentType: input.deploymentType }),
|
|
4314
|
+
...(input.deploymentOption != null && { deploymentOption: input.deploymentOption }),
|
|
4315
|
+
...(input.deploymentType != null && { deploymentType: input.deploymentType }),
|
|
4325
4316
|
};
|
|
4326
4317
|
};
|
|
4327
4318
|
const serializeAws_json1_1DeregisterOnPremisesInstanceInput = (input, context) => {
|
|
4328
4319
|
return {
|
|
4329
|
-
...(input.instanceName
|
|
4320
|
+
...(input.instanceName != null && { instanceName: input.instanceName }),
|
|
4330
4321
|
};
|
|
4331
4322
|
};
|
|
4332
4323
|
const serializeAws_json1_1EC2TagFilter = (input, context) => {
|
|
4333
4324
|
return {
|
|
4334
|
-
...(input.Key
|
|
4335
|
-
...(input.Type
|
|
4336
|
-
...(input.Value
|
|
4325
|
+
...(input.Key != null && { Key: input.Key }),
|
|
4326
|
+
...(input.Type != null && { Type: input.Type }),
|
|
4327
|
+
...(input.Value != null && { Value: input.Value }),
|
|
4337
4328
|
};
|
|
4338
4329
|
};
|
|
4339
4330
|
const serializeAws_json1_1EC2TagFilterList = (input, context) => {
|
|
@@ -4348,8 +4339,7 @@ const serializeAws_json1_1EC2TagFilterList = (input, context) => {
|
|
|
4348
4339
|
};
|
|
4349
4340
|
const serializeAws_json1_1EC2TagSet = (input, context) => {
|
|
4350
4341
|
return {
|
|
4351
|
-
...(input.ec2TagSetList
|
|
4352
|
-
input.ec2TagSetList !== null && {
|
|
4342
|
+
...(input.ec2TagSetList != null && {
|
|
4353
4343
|
ec2TagSetList: serializeAws_json1_1EC2TagSetList(input.ec2TagSetList, context),
|
|
4354
4344
|
}),
|
|
4355
4345
|
};
|
|
@@ -4366,8 +4356,8 @@ const serializeAws_json1_1EC2TagSetList = (input, context) => {
|
|
|
4366
4356
|
};
|
|
4367
4357
|
const serializeAws_json1_1ECSService = (input, context) => {
|
|
4368
4358
|
return {
|
|
4369
|
-
...(input.clusterName
|
|
4370
|
-
...(input.serviceName
|
|
4359
|
+
...(input.clusterName != null && { clusterName: input.clusterName }),
|
|
4360
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
4371
4361
|
};
|
|
4372
4362
|
};
|
|
4373
4363
|
const serializeAws_json1_1ECSServiceList = (input, context) => {
|
|
@@ -4382,7 +4372,7 @@ const serializeAws_json1_1ECSServiceList = (input, context) => {
|
|
|
4382
4372
|
};
|
|
4383
4373
|
const serializeAws_json1_1ELBInfo = (input, context) => {
|
|
4384
4374
|
return {
|
|
4385
|
-
...(input.name
|
|
4375
|
+
...(input.name != null && { name: input.name }),
|
|
4386
4376
|
};
|
|
4387
4377
|
};
|
|
4388
4378
|
const serializeAws_json1_1ELBInfoList = (input, context) => {
|
|
@@ -4407,63 +4397,57 @@ const serializeAws_json1_1FilterValueList = (input, context) => {
|
|
|
4407
4397
|
};
|
|
4408
4398
|
const serializeAws_json1_1GetApplicationInput = (input, context) => {
|
|
4409
4399
|
return {
|
|
4410
|
-
...(input.applicationName
|
|
4411
|
-
input.applicationName !== null && { applicationName: input.applicationName }),
|
|
4400
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4412
4401
|
};
|
|
4413
4402
|
};
|
|
4414
4403
|
const serializeAws_json1_1GetApplicationRevisionInput = (input, context) => {
|
|
4415
4404
|
return {
|
|
4416
|
-
...(input.applicationName
|
|
4417
|
-
|
|
4418
|
-
...(input.revision !== undefined &&
|
|
4419
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4405
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4406
|
+
...(input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4420
4407
|
};
|
|
4421
4408
|
};
|
|
4422
4409
|
const serializeAws_json1_1GetDeploymentConfigInput = (input, context) => {
|
|
4423
4410
|
return {
|
|
4424
|
-
...(input.deploymentConfigName
|
|
4425
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4411
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4426
4412
|
};
|
|
4427
4413
|
};
|
|
4428
4414
|
const serializeAws_json1_1GetDeploymentGroupInput = (input, context) => {
|
|
4429
4415
|
return {
|
|
4430
|
-
...(input.applicationName
|
|
4431
|
-
|
|
4432
|
-
...(input.deploymentGroupName !== undefined &&
|
|
4433
|
-
input.deploymentGroupName !== null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4416
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4417
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4434
4418
|
};
|
|
4435
4419
|
};
|
|
4436
4420
|
const serializeAws_json1_1GetDeploymentInput = (input, context) => {
|
|
4437
4421
|
return {
|
|
4438
|
-
...(input.deploymentId
|
|
4422
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4439
4423
|
};
|
|
4440
4424
|
};
|
|
4441
4425
|
const serializeAws_json1_1GetDeploymentInstanceInput = (input, context) => {
|
|
4442
4426
|
return {
|
|
4443
|
-
...(input.deploymentId
|
|
4444
|
-
...(input.instanceId
|
|
4427
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4428
|
+
...(input.instanceId != null && { instanceId: input.instanceId }),
|
|
4445
4429
|
};
|
|
4446
4430
|
};
|
|
4447
4431
|
const serializeAws_json1_1GetDeploymentTargetInput = (input, context) => {
|
|
4448
4432
|
return {
|
|
4449
|
-
...(input.deploymentId
|
|
4450
|
-
...(input.targetId
|
|
4433
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4434
|
+
...(input.targetId != null && { targetId: input.targetId }),
|
|
4451
4435
|
};
|
|
4452
4436
|
};
|
|
4453
4437
|
const serializeAws_json1_1GetOnPremisesInstanceInput = (input, context) => {
|
|
4454
4438
|
return {
|
|
4455
|
-
...(input.instanceName
|
|
4439
|
+
...(input.instanceName != null && { instanceName: input.instanceName }),
|
|
4456
4440
|
};
|
|
4457
4441
|
};
|
|
4458
4442
|
const serializeAws_json1_1GitHubLocation = (input, context) => {
|
|
4459
4443
|
return {
|
|
4460
|
-
...(input.commitId
|
|
4461
|
-
...(input.repository
|
|
4444
|
+
...(input.commitId != null && { commitId: input.commitId }),
|
|
4445
|
+
...(input.repository != null && { repository: input.repository }),
|
|
4462
4446
|
};
|
|
4463
4447
|
};
|
|
4464
4448
|
const serializeAws_json1_1GreenFleetProvisioningOption = (input, context) => {
|
|
4465
4449
|
return {
|
|
4466
|
-
...(input.action
|
|
4450
|
+
...(input.action != null && { action: input.action }),
|
|
4467
4451
|
};
|
|
4468
4452
|
};
|
|
4469
4453
|
const serializeAws_json1_1InstanceNameList = (input, context) => {
|
|
@@ -4508,71 +4492,62 @@ const serializeAws_json1_1InstanceTypeList = (input, context) => {
|
|
|
4508
4492
|
};
|
|
4509
4493
|
const serializeAws_json1_1ListApplicationRevisionsInput = (input, context) => {
|
|
4510
4494
|
return {
|
|
4511
|
-
...(input.applicationName
|
|
4512
|
-
|
|
4513
|
-
...(input.
|
|
4514
|
-
...(input.
|
|
4515
|
-
...(input.
|
|
4516
|
-
...(input.
|
|
4517
|
-
...(input.
|
|
4518
|
-
...(input.sortOrder !== undefined && input.sortOrder !== null && { sortOrder: input.sortOrder }),
|
|
4495
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4496
|
+
...(input.deployed != null && { deployed: input.deployed }),
|
|
4497
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4498
|
+
...(input.s3Bucket != null && { s3Bucket: input.s3Bucket }),
|
|
4499
|
+
...(input.s3KeyPrefix != null && { s3KeyPrefix: input.s3KeyPrefix }),
|
|
4500
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
4501
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
4519
4502
|
};
|
|
4520
4503
|
};
|
|
4521
4504
|
const serializeAws_json1_1ListApplicationsInput = (input, context) => {
|
|
4522
4505
|
return {
|
|
4523
|
-
...(input.nextToken
|
|
4506
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4524
4507
|
};
|
|
4525
4508
|
};
|
|
4526
4509
|
const serializeAws_json1_1ListDeploymentConfigsInput = (input, context) => {
|
|
4527
4510
|
return {
|
|
4528
|
-
...(input.nextToken
|
|
4511
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4529
4512
|
};
|
|
4530
4513
|
};
|
|
4531
4514
|
const serializeAws_json1_1ListDeploymentGroupsInput = (input, context) => {
|
|
4532
4515
|
return {
|
|
4533
|
-
...(input.applicationName
|
|
4534
|
-
|
|
4535
|
-
...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
|
|
4516
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4517
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4536
4518
|
};
|
|
4537
4519
|
};
|
|
4538
4520
|
const serializeAws_json1_1ListDeploymentInstancesInput = (input, context) => {
|
|
4539
4521
|
return {
|
|
4540
|
-
...(input.deploymentId
|
|
4541
|
-
...(input.instanceStatusFilter
|
|
4542
|
-
input.instanceStatusFilter !== null && {
|
|
4522
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4523
|
+
...(input.instanceStatusFilter != null && {
|
|
4543
4524
|
instanceStatusFilter: serializeAws_json1_1InstanceStatusList(input.instanceStatusFilter, context),
|
|
4544
4525
|
}),
|
|
4545
|
-
...(input.instanceTypeFilter
|
|
4546
|
-
input.instanceTypeFilter !== null && {
|
|
4526
|
+
...(input.instanceTypeFilter != null && {
|
|
4547
4527
|
instanceTypeFilter: serializeAws_json1_1InstanceTypeList(input.instanceTypeFilter, context),
|
|
4548
4528
|
}),
|
|
4549
|
-
...(input.nextToken
|
|
4529
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4550
4530
|
};
|
|
4551
4531
|
};
|
|
4552
4532
|
const serializeAws_json1_1ListDeploymentsInput = (input, context) => {
|
|
4553
4533
|
return {
|
|
4554
|
-
...(input.applicationName
|
|
4555
|
-
|
|
4556
|
-
...(input.createTimeRange !== undefined &&
|
|
4557
|
-
input.createTimeRange !== null && {
|
|
4534
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4535
|
+
...(input.createTimeRange != null && {
|
|
4558
4536
|
createTimeRange: serializeAws_json1_1TimeRange(input.createTimeRange, context),
|
|
4559
4537
|
}),
|
|
4560
|
-
...(input.deploymentGroupName
|
|
4561
|
-
|
|
4562
|
-
...(input.
|
|
4563
|
-
...(input.includeOnlyStatuses !== undefined &&
|
|
4564
|
-
input.includeOnlyStatuses !== null && {
|
|
4538
|
+
...(input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName }),
|
|
4539
|
+
...(input.externalId != null && { externalId: input.externalId }),
|
|
4540
|
+
...(input.includeOnlyStatuses != null && {
|
|
4565
4541
|
includeOnlyStatuses: serializeAws_json1_1DeploymentStatusList(input.includeOnlyStatuses, context),
|
|
4566
4542
|
}),
|
|
4567
|
-
...(input.nextToken
|
|
4543
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4568
4544
|
};
|
|
4569
4545
|
};
|
|
4570
4546
|
const serializeAws_json1_1ListDeploymentTargetsInput = (input, context) => {
|
|
4571
4547
|
return {
|
|
4572
|
-
...(input.deploymentId
|
|
4573
|
-
...(input.nextToken
|
|
4574
|
-
...(input.targetFilters
|
|
4575
|
-
input.targetFilters !== null && {
|
|
4548
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4549
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4550
|
+
...(input.targetFilters != null && {
|
|
4576
4551
|
targetFilters: serializeAws_json1_1TargetFilters(input.targetFilters, context),
|
|
4577
4552
|
}),
|
|
4578
4553
|
};
|
|
@@ -4589,48 +4564,42 @@ const serializeAws_json1_1ListenerArnList = (input, context) => {
|
|
|
4589
4564
|
};
|
|
4590
4565
|
const serializeAws_json1_1ListGitHubAccountTokenNamesInput = (input, context) => {
|
|
4591
4566
|
return {
|
|
4592
|
-
...(input.nextToken
|
|
4567
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4593
4568
|
};
|
|
4594
4569
|
};
|
|
4595
4570
|
const serializeAws_json1_1ListOnPremisesInstancesInput = (input, context) => {
|
|
4596
4571
|
return {
|
|
4597
|
-
...(input.nextToken
|
|
4598
|
-
...(input.registrationStatus
|
|
4599
|
-
|
|
4600
|
-
...(input.tagFilters !== undefined &&
|
|
4601
|
-
input.tagFilters !== null && { tagFilters: serializeAws_json1_1TagFilterList(input.tagFilters, context) }),
|
|
4572
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
4573
|
+
...(input.registrationStatus != null && { registrationStatus: input.registrationStatus }),
|
|
4574
|
+
...(input.tagFilters != null && { tagFilters: serializeAws_json1_1TagFilterList(input.tagFilters, context) }),
|
|
4602
4575
|
};
|
|
4603
4576
|
};
|
|
4604
4577
|
const serializeAws_json1_1ListTagsForResourceInput = (input, context) => {
|
|
4605
4578
|
return {
|
|
4606
|
-
...(input.NextToken
|
|
4607
|
-
...(input.ResourceArn
|
|
4579
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4580
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4608
4581
|
};
|
|
4609
4582
|
};
|
|
4610
4583
|
const serializeAws_json1_1LoadBalancerInfo = (input, context) => {
|
|
4611
4584
|
return {
|
|
4612
|
-
...(input.elbInfoList
|
|
4613
|
-
|
|
4614
|
-
...(input.targetGroupInfoList !== undefined &&
|
|
4615
|
-
input.targetGroupInfoList !== null && {
|
|
4585
|
+
...(input.elbInfoList != null && { elbInfoList: serializeAws_json1_1ELBInfoList(input.elbInfoList, context) }),
|
|
4586
|
+
...(input.targetGroupInfoList != null && {
|
|
4616
4587
|
targetGroupInfoList: serializeAws_json1_1TargetGroupInfoList(input.targetGroupInfoList, context),
|
|
4617
4588
|
}),
|
|
4618
|
-
...(input.targetGroupPairInfoList
|
|
4619
|
-
input.targetGroupPairInfoList !== null && {
|
|
4589
|
+
...(input.targetGroupPairInfoList != null && {
|
|
4620
4590
|
targetGroupPairInfoList: serializeAws_json1_1TargetGroupPairInfoList(input.targetGroupPairInfoList, context),
|
|
4621
4591
|
}),
|
|
4622
4592
|
};
|
|
4623
4593
|
};
|
|
4624
4594
|
const serializeAws_json1_1MinimumHealthyHosts = (input, context) => {
|
|
4625
4595
|
return {
|
|
4626
|
-
...(input.type
|
|
4627
|
-
...(input.value
|
|
4596
|
+
...(input.type != null && { type: input.type }),
|
|
4597
|
+
...(input.value != null && { value: input.value }),
|
|
4628
4598
|
};
|
|
4629
4599
|
};
|
|
4630
4600
|
const serializeAws_json1_1OnPremisesTagSet = (input, context) => {
|
|
4631
4601
|
return {
|
|
4632
|
-
...(input.onPremisesTagSetList
|
|
4633
|
-
input.onPremisesTagSetList !== null && {
|
|
4602
|
+
...(input.onPremisesTagSetList != null && {
|
|
4634
4603
|
onPremisesTagSetList: serializeAws_json1_1OnPremisesTagSetList(input.onPremisesTagSetList, context),
|
|
4635
4604
|
}),
|
|
4636
4605
|
};
|
|
@@ -4647,60 +4616,52 @@ const serializeAws_json1_1OnPremisesTagSetList = (input, context) => {
|
|
|
4647
4616
|
};
|
|
4648
4617
|
const serializeAws_json1_1PutLifecycleEventHookExecutionStatusInput = (input, context) => {
|
|
4649
4618
|
return {
|
|
4650
|
-
...(input.deploymentId
|
|
4651
|
-
...(input.lifecycleEventHookExecutionId
|
|
4652
|
-
input.lifecycleEventHookExecutionId !== null && {
|
|
4619
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4620
|
+
...(input.lifecycleEventHookExecutionId != null && {
|
|
4653
4621
|
lifecycleEventHookExecutionId: input.lifecycleEventHookExecutionId,
|
|
4654
4622
|
}),
|
|
4655
|
-
...(input.status
|
|
4623
|
+
...(input.status != null && { status: input.status }),
|
|
4656
4624
|
};
|
|
4657
4625
|
};
|
|
4658
4626
|
const serializeAws_json1_1RawString = (input, context) => {
|
|
4659
4627
|
return {
|
|
4660
|
-
...(input.content
|
|
4661
|
-
...(input.sha256
|
|
4628
|
+
...(input.content != null && { content: input.content }),
|
|
4629
|
+
...(input.sha256 != null && { sha256: input.sha256 }),
|
|
4662
4630
|
};
|
|
4663
4631
|
};
|
|
4664
4632
|
const serializeAws_json1_1RegisterApplicationRevisionInput = (input, context) => {
|
|
4665
4633
|
return {
|
|
4666
|
-
...(input.applicationName
|
|
4667
|
-
|
|
4668
|
-
...(input.
|
|
4669
|
-
...(input.revision !== undefined &&
|
|
4670
|
-
input.revision !== null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4634
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4635
|
+
...(input.description != null && { description: input.description }),
|
|
4636
|
+
...(input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4671
4637
|
};
|
|
4672
4638
|
};
|
|
4673
4639
|
const serializeAws_json1_1RegisterOnPremisesInstanceInput = (input, context) => {
|
|
4674
4640
|
return {
|
|
4675
|
-
...(input.iamSessionArn
|
|
4676
|
-
...(input.iamUserArn
|
|
4677
|
-
...(input.instanceName
|
|
4641
|
+
...(input.iamSessionArn != null && { iamSessionArn: input.iamSessionArn }),
|
|
4642
|
+
...(input.iamUserArn != null && { iamUserArn: input.iamUserArn }),
|
|
4643
|
+
...(input.instanceName != null && { instanceName: input.instanceName }),
|
|
4678
4644
|
};
|
|
4679
4645
|
};
|
|
4680
4646
|
const serializeAws_json1_1RemoveTagsFromOnPremisesInstancesInput = (input, context) => {
|
|
4681
4647
|
return {
|
|
4682
|
-
...(input.instanceNames
|
|
4683
|
-
input.instanceNames !== null && {
|
|
4648
|
+
...(input.instanceNames != null && {
|
|
4684
4649
|
instanceNames: serializeAws_json1_1InstanceNameList(input.instanceNames, context),
|
|
4685
4650
|
}),
|
|
4686
|
-
...(input.tags
|
|
4651
|
+
...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
|
|
4687
4652
|
};
|
|
4688
4653
|
};
|
|
4689
4654
|
const serializeAws_json1_1RevisionLocation = (input, context) => {
|
|
4690
4655
|
return {
|
|
4691
|
-
...(input.appSpecContent
|
|
4692
|
-
input.appSpecContent !== null && {
|
|
4656
|
+
...(input.appSpecContent != null && {
|
|
4693
4657
|
appSpecContent: serializeAws_json1_1AppSpecContent(input.appSpecContent, context),
|
|
4694
4658
|
}),
|
|
4695
|
-
...(input.gitHubLocation
|
|
4696
|
-
input.gitHubLocation !== null && {
|
|
4659
|
+
...(input.gitHubLocation != null && {
|
|
4697
4660
|
gitHubLocation: serializeAws_json1_1GitHubLocation(input.gitHubLocation, context),
|
|
4698
4661
|
}),
|
|
4699
|
-
...(input.revisionType
|
|
4700
|
-
...(input.s3Location
|
|
4701
|
-
|
|
4702
|
-
...(input.string !== undefined &&
|
|
4703
|
-
input.string !== null && { string: serializeAws_json1_1RawString(input.string, context) }),
|
|
4662
|
+
...(input.revisionType != null && { revisionType: input.revisionType }),
|
|
4663
|
+
...(input.s3Location != null && { s3Location: serializeAws_json1_1S3Location(input.s3Location, context) }),
|
|
4664
|
+
...(input.string != null && { string: serializeAws_json1_1RawString(input.string, context) }),
|
|
4704
4665
|
};
|
|
4705
4666
|
};
|
|
4706
4667
|
const serializeAws_json1_1RevisionLocationList = (input, context) => {
|
|
@@ -4715,36 +4676,35 @@ const serializeAws_json1_1RevisionLocationList = (input, context) => {
|
|
|
4715
4676
|
};
|
|
4716
4677
|
const serializeAws_json1_1S3Location = (input, context) => {
|
|
4717
4678
|
return {
|
|
4718
|
-
...(input.bucket
|
|
4719
|
-
...(input.bundleType
|
|
4720
|
-
...(input.eTag
|
|
4721
|
-
...(input.key
|
|
4722
|
-
...(input.version
|
|
4679
|
+
...(input.bucket != null && { bucket: input.bucket }),
|
|
4680
|
+
...(input.bundleType != null && { bundleType: input.bundleType }),
|
|
4681
|
+
...(input.eTag != null && { eTag: input.eTag }),
|
|
4682
|
+
...(input.key != null && { key: input.key }),
|
|
4683
|
+
...(input.version != null && { version: input.version }),
|
|
4723
4684
|
};
|
|
4724
4685
|
};
|
|
4725
4686
|
const serializeAws_json1_1SkipWaitTimeForInstanceTerminationInput = (input, context) => {
|
|
4726
4687
|
return {
|
|
4727
|
-
...(input.deploymentId
|
|
4688
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4728
4689
|
};
|
|
4729
4690
|
};
|
|
4730
4691
|
const serializeAws_json1_1StopDeploymentInput = (input, context) => {
|
|
4731
4692
|
return {
|
|
4732
|
-
...(input.autoRollbackEnabled
|
|
4733
|
-
|
|
4734
|
-
...(input.deploymentId !== undefined && input.deploymentId !== null && { deploymentId: input.deploymentId }),
|
|
4693
|
+
...(input.autoRollbackEnabled != null && { autoRollbackEnabled: input.autoRollbackEnabled }),
|
|
4694
|
+
...(input.deploymentId != null && { deploymentId: input.deploymentId }),
|
|
4735
4695
|
};
|
|
4736
4696
|
};
|
|
4737
4697
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
4738
4698
|
return {
|
|
4739
|
-
...(input.Key
|
|
4740
|
-
...(input.Value
|
|
4699
|
+
...(input.Key != null && { Key: input.Key }),
|
|
4700
|
+
...(input.Value != null && { Value: input.Value }),
|
|
4741
4701
|
};
|
|
4742
4702
|
};
|
|
4743
4703
|
const serializeAws_json1_1TagFilter = (input, context) => {
|
|
4744
4704
|
return {
|
|
4745
|
-
...(input.Key
|
|
4746
|
-
...(input.Type
|
|
4747
|
-
...(input.Value
|
|
4705
|
+
...(input.Key != null && { Key: input.Key }),
|
|
4706
|
+
...(input.Type != null && { Type: input.Type }),
|
|
4707
|
+
...(input.Value != null && { Value: input.Value }),
|
|
4748
4708
|
};
|
|
4749
4709
|
};
|
|
4750
4710
|
const serializeAws_json1_1TagFilterList = (input, context) => {
|
|
@@ -4779,8 +4739,8 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
4779
4739
|
};
|
|
4780
4740
|
const serializeAws_json1_1TagResourceInput = (input, context) => {
|
|
4781
4741
|
return {
|
|
4782
|
-
...(input.ResourceArn
|
|
4783
|
-
...(input.Tags
|
|
4742
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4743
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
4784
4744
|
};
|
|
4785
4745
|
};
|
|
4786
4746
|
const serializeAws_json1_1TargetFilters = (input, context) => {
|
|
@@ -4796,7 +4756,7 @@ const serializeAws_json1_1TargetFilters = (input, context) => {
|
|
|
4796
4756
|
};
|
|
4797
4757
|
const serializeAws_json1_1TargetGroupInfo = (input, context) => {
|
|
4798
4758
|
return {
|
|
4799
|
-
...(input.name
|
|
4759
|
+
...(input.name != null && { name: input.name }),
|
|
4800
4760
|
};
|
|
4801
4761
|
};
|
|
4802
4762
|
const serializeAws_json1_1TargetGroupInfoList = (input, context) => {
|
|
@@ -4811,16 +4771,13 @@ const serializeAws_json1_1TargetGroupInfoList = (input, context) => {
|
|
|
4811
4771
|
};
|
|
4812
4772
|
const serializeAws_json1_1TargetGroupPairInfo = (input, context) => {
|
|
4813
4773
|
return {
|
|
4814
|
-
...(input.prodTrafficRoute
|
|
4815
|
-
input.prodTrafficRoute !== null && {
|
|
4774
|
+
...(input.prodTrafficRoute != null && {
|
|
4816
4775
|
prodTrafficRoute: serializeAws_json1_1TrafficRoute(input.prodTrafficRoute, context),
|
|
4817
4776
|
}),
|
|
4818
|
-
...(input.targetGroups
|
|
4819
|
-
input.targetGroups !== null && {
|
|
4777
|
+
...(input.targetGroups != null && {
|
|
4820
4778
|
targetGroups: serializeAws_json1_1TargetGroupInfoList(input.targetGroups, context),
|
|
4821
4779
|
}),
|
|
4822
|
-
...(input.testTrafficRoute
|
|
4823
|
-
input.testTrafficRoute !== null && {
|
|
4780
|
+
...(input.testTrafficRoute != null && {
|
|
4824
4781
|
testTrafficRoute: serializeAws_json1_1TrafficRoute(input.testTrafficRoute, context),
|
|
4825
4782
|
}),
|
|
4826
4783
|
};
|
|
@@ -4847,68 +4804,56 @@ const serializeAws_json1_1TargetIdList = (input, context) => {
|
|
|
4847
4804
|
};
|
|
4848
4805
|
const serializeAws_json1_1TargetInstances = (input, context) => {
|
|
4849
4806
|
return {
|
|
4850
|
-
...(input.autoScalingGroups
|
|
4851
|
-
input.autoScalingGroups !== null && {
|
|
4807
|
+
...(input.autoScalingGroups != null && {
|
|
4852
4808
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
4853
4809
|
}),
|
|
4854
|
-
...(input.ec2TagSet
|
|
4855
|
-
|
|
4856
|
-
...(input.tagFilters !== undefined &&
|
|
4857
|
-
input.tagFilters !== null && { tagFilters: serializeAws_json1_1EC2TagFilterList(input.tagFilters, context) }),
|
|
4810
|
+
...(input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) }),
|
|
4811
|
+
...(input.tagFilters != null && { tagFilters: serializeAws_json1_1EC2TagFilterList(input.tagFilters, context) }),
|
|
4858
4812
|
};
|
|
4859
4813
|
};
|
|
4860
4814
|
const serializeAws_json1_1TimeBasedCanary = (input, context) => {
|
|
4861
4815
|
return {
|
|
4862
|
-
...(input.canaryInterval
|
|
4863
|
-
|
|
4864
|
-
...(input.canaryPercentage !== undefined &&
|
|
4865
|
-
input.canaryPercentage !== null && { canaryPercentage: input.canaryPercentage }),
|
|
4816
|
+
...(input.canaryInterval != null && { canaryInterval: input.canaryInterval }),
|
|
4817
|
+
...(input.canaryPercentage != null && { canaryPercentage: input.canaryPercentage }),
|
|
4866
4818
|
};
|
|
4867
4819
|
};
|
|
4868
4820
|
const serializeAws_json1_1TimeBasedLinear = (input, context) => {
|
|
4869
4821
|
return {
|
|
4870
|
-
...(input.linearInterval
|
|
4871
|
-
|
|
4872
|
-
...(input.linearPercentage !== undefined &&
|
|
4873
|
-
input.linearPercentage !== null && { linearPercentage: input.linearPercentage }),
|
|
4822
|
+
...(input.linearInterval != null && { linearInterval: input.linearInterval }),
|
|
4823
|
+
...(input.linearPercentage != null && { linearPercentage: input.linearPercentage }),
|
|
4874
4824
|
};
|
|
4875
4825
|
};
|
|
4876
4826
|
const serializeAws_json1_1TimeRange = (input, context) => {
|
|
4877
4827
|
return {
|
|
4878
|
-
...(input.end
|
|
4879
|
-
...(input.start
|
|
4828
|
+
...(input.end != null && { end: Math.round(input.end.getTime() / 1000) }),
|
|
4829
|
+
...(input.start != null && { start: Math.round(input.start.getTime() / 1000) }),
|
|
4880
4830
|
};
|
|
4881
4831
|
};
|
|
4882
4832
|
const serializeAws_json1_1TrafficRoute = (input, context) => {
|
|
4883
4833
|
return {
|
|
4884
|
-
...(input.listenerArns
|
|
4885
|
-
input.listenerArns !== null && {
|
|
4834
|
+
...(input.listenerArns != null && {
|
|
4886
4835
|
listenerArns: serializeAws_json1_1ListenerArnList(input.listenerArns, context),
|
|
4887
4836
|
}),
|
|
4888
4837
|
};
|
|
4889
4838
|
};
|
|
4890
4839
|
const serializeAws_json1_1TrafficRoutingConfig = (input, context) => {
|
|
4891
4840
|
return {
|
|
4892
|
-
...(input.timeBasedCanary
|
|
4893
|
-
input.timeBasedCanary !== null && {
|
|
4841
|
+
...(input.timeBasedCanary != null && {
|
|
4894
4842
|
timeBasedCanary: serializeAws_json1_1TimeBasedCanary(input.timeBasedCanary, context),
|
|
4895
4843
|
}),
|
|
4896
|
-
...(input.timeBasedLinear
|
|
4897
|
-
input.timeBasedLinear !== null && {
|
|
4844
|
+
...(input.timeBasedLinear != null && {
|
|
4898
4845
|
timeBasedLinear: serializeAws_json1_1TimeBasedLinear(input.timeBasedLinear, context),
|
|
4899
4846
|
}),
|
|
4900
|
-
...(input.type
|
|
4847
|
+
...(input.type != null && { type: input.type }),
|
|
4901
4848
|
};
|
|
4902
4849
|
};
|
|
4903
4850
|
const serializeAws_json1_1TriggerConfig = (input, context) => {
|
|
4904
4851
|
return {
|
|
4905
|
-
...(input.triggerEvents
|
|
4906
|
-
input.triggerEvents !== null && {
|
|
4852
|
+
...(input.triggerEvents != null && {
|
|
4907
4853
|
triggerEvents: serializeAws_json1_1TriggerEventTypeList(input.triggerEvents, context),
|
|
4908
4854
|
}),
|
|
4909
|
-
...(input.triggerName
|
|
4910
|
-
...(input.triggerTargetArn
|
|
4911
|
-
input.triggerTargetArn !== null && { triggerTargetArn: input.triggerTargetArn }),
|
|
4855
|
+
...(input.triggerName != null && { triggerName: input.triggerName }),
|
|
4856
|
+
...(input.triggerTargetArn != null && { triggerTargetArn: input.triggerTargetArn }),
|
|
4912
4857
|
};
|
|
4913
4858
|
};
|
|
4914
4859
|
const serializeAws_json1_1TriggerConfigList = (input, context) => {
|
|
@@ -4933,75 +4878,54 @@ const serializeAws_json1_1TriggerEventTypeList = (input, context) => {
|
|
|
4933
4878
|
};
|
|
4934
4879
|
const serializeAws_json1_1UntagResourceInput = (input, context) => {
|
|
4935
4880
|
return {
|
|
4936
|
-
...(input.ResourceArn
|
|
4937
|
-
...(input.TagKeys
|
|
4938
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
4881
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4882
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
4939
4883
|
};
|
|
4940
4884
|
};
|
|
4941
4885
|
const serializeAws_json1_1UpdateApplicationInput = (input, context) => {
|
|
4942
4886
|
return {
|
|
4943
|
-
...(input.applicationName
|
|
4944
|
-
|
|
4945
|
-
...(input.newApplicationName !== undefined &&
|
|
4946
|
-
input.newApplicationName !== null && { newApplicationName: input.newApplicationName }),
|
|
4887
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4888
|
+
...(input.newApplicationName != null && { newApplicationName: input.newApplicationName }),
|
|
4947
4889
|
};
|
|
4948
4890
|
};
|
|
4949
4891
|
const serializeAws_json1_1UpdateDeploymentGroupInput = (input, context) => {
|
|
4950
4892
|
return {
|
|
4951
|
-
...(input.alarmConfiguration
|
|
4952
|
-
input.alarmConfiguration !== null && {
|
|
4893
|
+
...(input.alarmConfiguration != null && {
|
|
4953
4894
|
alarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.alarmConfiguration, context),
|
|
4954
4895
|
}),
|
|
4955
|
-
...(input.applicationName
|
|
4956
|
-
|
|
4957
|
-
...(input.autoRollbackConfiguration !== undefined &&
|
|
4958
|
-
input.autoRollbackConfiguration !== null && {
|
|
4896
|
+
...(input.applicationName != null && { applicationName: input.applicationName }),
|
|
4897
|
+
...(input.autoRollbackConfiguration != null && {
|
|
4959
4898
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
4960
4899
|
}),
|
|
4961
|
-
...(input.autoScalingGroups
|
|
4962
|
-
input.autoScalingGroups !== null && {
|
|
4900
|
+
...(input.autoScalingGroups != null && {
|
|
4963
4901
|
autoScalingGroups: serializeAws_json1_1AutoScalingGroupNameList(input.autoScalingGroups, context),
|
|
4964
4902
|
}),
|
|
4965
|
-
...(input.blueGreenDeploymentConfiguration
|
|
4966
|
-
input.blueGreenDeploymentConfiguration !== null && {
|
|
4903
|
+
...(input.blueGreenDeploymentConfiguration != null && {
|
|
4967
4904
|
blueGreenDeploymentConfiguration: serializeAws_json1_1BlueGreenDeploymentConfiguration(input.blueGreenDeploymentConfiguration, context),
|
|
4968
4905
|
}),
|
|
4969
|
-
...(input.currentDeploymentGroupName
|
|
4970
|
-
|
|
4971
|
-
...(input.
|
|
4972
|
-
input.deploymentConfigName !== null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4973
|
-
...(input.deploymentStyle !== undefined &&
|
|
4974
|
-
input.deploymentStyle !== null && {
|
|
4906
|
+
...(input.currentDeploymentGroupName != null && { currentDeploymentGroupName: input.currentDeploymentGroupName }),
|
|
4907
|
+
...(input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName }),
|
|
4908
|
+
...(input.deploymentStyle != null && {
|
|
4975
4909
|
deploymentStyle: serializeAws_json1_1DeploymentStyle(input.deploymentStyle, context),
|
|
4976
4910
|
}),
|
|
4977
|
-
...(input.ec2TagFilters
|
|
4978
|
-
input.ec2TagFilters !== null && {
|
|
4911
|
+
...(input.ec2TagFilters != null && {
|
|
4979
4912
|
ec2TagFilters: serializeAws_json1_1EC2TagFilterList(input.ec2TagFilters, context),
|
|
4980
4913
|
}),
|
|
4981
|
-
...(input.ec2TagSet
|
|
4982
|
-
|
|
4983
|
-
...(input.
|
|
4984
|
-
input.ecsServices !== null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) }),
|
|
4985
|
-
...(input.loadBalancerInfo !== undefined &&
|
|
4986
|
-
input.loadBalancerInfo !== null && {
|
|
4914
|
+
...(input.ec2TagSet != null && { ec2TagSet: serializeAws_json1_1EC2TagSet(input.ec2TagSet, context) }),
|
|
4915
|
+
...(input.ecsServices != null && { ecsServices: serializeAws_json1_1ECSServiceList(input.ecsServices, context) }),
|
|
4916
|
+
...(input.loadBalancerInfo != null && {
|
|
4987
4917
|
loadBalancerInfo: serializeAws_json1_1LoadBalancerInfo(input.loadBalancerInfo, context),
|
|
4988
4918
|
}),
|
|
4989
|
-
...(input.newDeploymentGroupName
|
|
4990
|
-
|
|
4991
|
-
...(input.onPremisesInstanceTagFilters !== undefined &&
|
|
4992
|
-
input.onPremisesInstanceTagFilters !== null && {
|
|
4919
|
+
...(input.newDeploymentGroupName != null && { newDeploymentGroupName: input.newDeploymentGroupName }),
|
|
4920
|
+
...(input.onPremisesInstanceTagFilters != null && {
|
|
4993
4921
|
onPremisesInstanceTagFilters: serializeAws_json1_1TagFilterList(input.onPremisesInstanceTagFilters, context),
|
|
4994
4922
|
}),
|
|
4995
|
-
...(input.onPremisesTagSet
|
|
4996
|
-
input.onPremisesTagSet !== null && {
|
|
4923
|
+
...(input.onPremisesTagSet != null && {
|
|
4997
4924
|
onPremisesTagSet: serializeAws_json1_1OnPremisesTagSet(input.onPremisesTagSet, context),
|
|
4998
4925
|
}),
|
|
4999
|
-
...(input.outdatedInstancesStrategy
|
|
5000
|
-
|
|
5001
|
-
...(input.
|
|
5002
|
-
input.serviceRoleArn !== null && { serviceRoleArn: input.serviceRoleArn }),
|
|
5003
|
-
...(input.triggerConfigurations !== undefined &&
|
|
5004
|
-
input.triggerConfigurations !== null && {
|
|
4926
|
+
...(input.outdatedInstancesStrategy != null && { outdatedInstancesStrategy: input.outdatedInstancesStrategy }),
|
|
4927
|
+
...(input.serviceRoleArn != null && { serviceRoleArn: input.serviceRoleArn }),
|
|
4928
|
+
...(input.triggerConfigurations != null && {
|
|
5005
4929
|
triggerConfigurations: serializeAws_json1_1TriggerConfigList(input.triggerConfigurations, context),
|
|
5006
4930
|
}),
|
|
5007
4931
|
};
|
|
@@ -5013,9 +4937,7 @@ const deserializeAws_json1_1Alarm = (output, context) => {
|
|
|
5013
4937
|
};
|
|
5014
4938
|
const deserializeAws_json1_1AlarmConfiguration = (output, context) => {
|
|
5015
4939
|
return {
|
|
5016
|
-
alarms: output.alarms
|
|
5017
|
-
? deserializeAws_json1_1AlarmList(output.alarms, context)
|
|
5018
|
-
: undefined,
|
|
4940
|
+
alarms: output.alarms != null ? deserializeAws_json1_1AlarmList(output.alarms, context) : undefined,
|
|
5019
4941
|
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
5020
4942
|
ignorePollAlarmFailure: (0, smithy_client_1.expectBoolean)(output.ignorePollAlarmFailure),
|
|
5021
4943
|
};
|
|
@@ -5051,9 +4973,7 @@ const deserializeAws_json1_1ApplicationInfo = (output, context) => {
|
|
|
5051
4973
|
applicationId: (0, smithy_client_1.expectString)(output.applicationId),
|
|
5052
4974
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5053
4975
|
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
5054
|
-
createTime: output.createTime
|
|
5055
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
5056
|
-
: undefined,
|
|
4976
|
+
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
5057
4977
|
gitHubAccountName: (0, smithy_client_1.expectString)(output.gitHubAccountName),
|
|
5058
4978
|
linkedToGitHub: (0, smithy_client_1.expectBoolean)(output.linkedToGitHub),
|
|
5059
4979
|
};
|
|
@@ -5104,9 +5024,7 @@ const deserializeAws_json1_1ArnNotSupportedException = (output, context) => {
|
|
|
5104
5024
|
const deserializeAws_json1_1AutoRollbackConfiguration = (output, context) => {
|
|
5105
5025
|
return {
|
|
5106
5026
|
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
5107
|
-
events: output.events
|
|
5108
|
-
? deserializeAws_json1_1AutoRollbackEventsList(output.events, context)
|
|
5109
|
-
: undefined,
|
|
5027
|
+
events: output.events != null ? deserializeAws_json1_1AutoRollbackEventsList(output.events, context) : undefined,
|
|
5110
5028
|
};
|
|
5111
5029
|
};
|
|
5112
5030
|
const deserializeAws_json1_1AutoRollbackEventsList = (output, context) => {
|
|
@@ -5152,21 +5070,19 @@ const deserializeAws_json1_1BatchGetApplicationRevisionsOutput = (output, contex
|
|
|
5152
5070
|
return {
|
|
5153
5071
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5154
5072
|
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
5155
|
-
revisions: output.revisions
|
|
5156
|
-
? deserializeAws_json1_1RevisionInfoList(output.revisions, context)
|
|
5157
|
-
: undefined,
|
|
5073
|
+
revisions: output.revisions != null ? deserializeAws_json1_1RevisionInfoList(output.revisions, context) : undefined,
|
|
5158
5074
|
};
|
|
5159
5075
|
};
|
|
5160
5076
|
const deserializeAws_json1_1BatchGetApplicationsOutput = (output, context) => {
|
|
5161
5077
|
return {
|
|
5162
|
-
applicationsInfo: output.applicationsInfo
|
|
5078
|
+
applicationsInfo: output.applicationsInfo != null
|
|
5163
5079
|
? deserializeAws_json1_1ApplicationsInfoList(output.applicationsInfo, context)
|
|
5164
5080
|
: undefined,
|
|
5165
5081
|
};
|
|
5166
5082
|
};
|
|
5167
5083
|
const deserializeAws_json1_1BatchGetDeploymentGroupsOutput = (output, context) => {
|
|
5168
5084
|
return {
|
|
5169
|
-
deploymentGroupsInfo: output.deploymentGroupsInfo
|
|
5085
|
+
deploymentGroupsInfo: output.deploymentGroupsInfo != null
|
|
5170
5086
|
? deserializeAws_json1_1DeploymentGroupInfoList(output.deploymentGroupsInfo, context)
|
|
5171
5087
|
: undefined,
|
|
5172
5088
|
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
@@ -5175,30 +5091,28 @@ const deserializeAws_json1_1BatchGetDeploymentGroupsOutput = (output, context) =
|
|
|
5175
5091
|
const deserializeAws_json1_1BatchGetDeploymentInstancesOutput = (output, context) => {
|
|
5176
5092
|
return {
|
|
5177
5093
|
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
5178
|
-
instancesSummary: output.instancesSummary
|
|
5094
|
+
instancesSummary: output.instancesSummary != null
|
|
5179
5095
|
? deserializeAws_json1_1InstanceSummaryList(output.instancesSummary, context)
|
|
5180
5096
|
: undefined,
|
|
5181
5097
|
};
|
|
5182
5098
|
};
|
|
5183
5099
|
const deserializeAws_json1_1BatchGetDeploymentsOutput = (output, context) => {
|
|
5184
5100
|
return {
|
|
5185
|
-
deploymentsInfo: output.deploymentsInfo
|
|
5101
|
+
deploymentsInfo: output.deploymentsInfo != null
|
|
5186
5102
|
? deserializeAws_json1_1DeploymentsInfoList(output.deploymentsInfo, context)
|
|
5187
5103
|
: undefined,
|
|
5188
5104
|
};
|
|
5189
5105
|
};
|
|
5190
5106
|
const deserializeAws_json1_1BatchGetDeploymentTargetsOutput = (output, context) => {
|
|
5191
5107
|
return {
|
|
5192
|
-
deploymentTargets: output.deploymentTargets
|
|
5108
|
+
deploymentTargets: output.deploymentTargets != null
|
|
5193
5109
|
? deserializeAws_json1_1DeploymentTargetList(output.deploymentTargets, context)
|
|
5194
5110
|
: undefined,
|
|
5195
5111
|
};
|
|
5196
5112
|
};
|
|
5197
5113
|
const deserializeAws_json1_1BatchGetOnPremisesInstancesOutput = (output, context) => {
|
|
5198
5114
|
return {
|
|
5199
|
-
instanceInfos: output.instanceInfos
|
|
5200
|
-
? deserializeAws_json1_1InstanceInfoList(output.instanceInfos, context)
|
|
5201
|
-
: undefined,
|
|
5115
|
+
instanceInfos: output.instanceInfos != null ? deserializeAws_json1_1InstanceInfoList(output.instanceInfos, context) : undefined,
|
|
5202
5116
|
};
|
|
5203
5117
|
};
|
|
5204
5118
|
const deserializeAws_json1_1BatchLimitExceededException = (output, context) => {
|
|
@@ -5208,14 +5122,13 @@ const deserializeAws_json1_1BatchLimitExceededException = (output, context) => {
|
|
|
5208
5122
|
};
|
|
5209
5123
|
const deserializeAws_json1_1BlueGreenDeploymentConfiguration = (output, context) => {
|
|
5210
5124
|
return {
|
|
5211
|
-
deploymentReadyOption: output.deploymentReadyOption
|
|
5125
|
+
deploymentReadyOption: output.deploymentReadyOption != null
|
|
5212
5126
|
? deserializeAws_json1_1DeploymentReadyOption(output.deploymentReadyOption, context)
|
|
5213
5127
|
: undefined,
|
|
5214
|
-
greenFleetProvisioningOption: output.greenFleetProvisioningOption
|
|
5128
|
+
greenFleetProvisioningOption: output.greenFleetProvisioningOption != null
|
|
5215
5129
|
? deserializeAws_json1_1GreenFleetProvisioningOption(output.greenFleetProvisioningOption, context)
|
|
5216
5130
|
: undefined,
|
|
5217
|
-
terminateBlueInstancesOnDeploymentSuccess: output.terminateBlueInstancesOnDeploymentSuccess
|
|
5218
|
-
output.terminateBlueInstancesOnDeploymentSuccess !== null
|
|
5131
|
+
terminateBlueInstancesOnDeploymentSuccess: output.terminateBlueInstancesOnDeploymentSuccess != null
|
|
5219
5132
|
? deserializeAws_json1_1BlueInstanceTerminationOption(output.terminateBlueInstancesOnDeploymentSuccess, context)
|
|
5220
5133
|
: undefined,
|
|
5221
5134
|
};
|
|
@@ -5234,10 +5147,10 @@ const deserializeAws_json1_1BucketNameFilterRequiredException = (output, context
|
|
|
5234
5147
|
const deserializeAws_json1_1CloudFormationTarget = (output, context) => {
|
|
5235
5148
|
return {
|
|
5236
5149
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
5237
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5150
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
5238
5151
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5239
5152
|
: undefined,
|
|
5240
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5153
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
5241
5154
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
5242
5155
|
: undefined,
|
|
5243
5156
|
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
@@ -5268,7 +5181,7 @@ const deserializeAws_json1_1CreateDeploymentOutput = (output, context) => {
|
|
|
5268
5181
|
};
|
|
5269
5182
|
const deserializeAws_json1_1DeleteDeploymentGroupOutput = (output, context) => {
|
|
5270
5183
|
return {
|
|
5271
|
-
hooksNotCleanedUp: output.hooksNotCleanedUp
|
|
5184
|
+
hooksNotCleanedUp: output.hooksNotCleanedUp != null
|
|
5272
5185
|
? deserializeAws_json1_1AutoScalingGroupList(output.hooksNotCleanedUp, context)
|
|
5273
5186
|
: undefined,
|
|
5274
5187
|
};
|
|
@@ -5299,15 +5212,13 @@ const deserializeAws_json1_1DeploymentConfigDoesNotExistException = (output, con
|
|
|
5299
5212
|
const deserializeAws_json1_1DeploymentConfigInfo = (output, context) => {
|
|
5300
5213
|
return {
|
|
5301
5214
|
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
5302
|
-
createTime: output.createTime
|
|
5303
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
5304
|
-
: undefined,
|
|
5215
|
+
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
5305
5216
|
deploymentConfigId: (0, smithy_client_1.expectString)(output.deploymentConfigId),
|
|
5306
5217
|
deploymentConfigName: (0, smithy_client_1.expectString)(output.deploymentConfigName),
|
|
5307
|
-
minimumHealthyHosts: output.minimumHealthyHosts
|
|
5218
|
+
minimumHealthyHosts: output.minimumHealthyHosts != null
|
|
5308
5219
|
? deserializeAws_json1_1MinimumHealthyHosts(output.minimumHealthyHosts, context)
|
|
5309
5220
|
: undefined,
|
|
5310
|
-
trafficRoutingConfig: output.trafficRoutingConfig
|
|
5221
|
+
trafficRoutingConfig: output.trafficRoutingConfig != null
|
|
5311
5222
|
? deserializeAws_json1_1TrafficRoutingConfig(output.trafficRoutingConfig, context)
|
|
5312
5223
|
: undefined,
|
|
5313
5224
|
};
|
|
@@ -5355,56 +5266,50 @@ const deserializeAws_json1_1DeploymentGroupDoesNotExistException = (output, cont
|
|
|
5355
5266
|
};
|
|
5356
5267
|
const deserializeAws_json1_1DeploymentGroupInfo = (output, context) => {
|
|
5357
5268
|
return {
|
|
5358
|
-
alarmConfiguration: output.alarmConfiguration
|
|
5269
|
+
alarmConfiguration: output.alarmConfiguration != null
|
|
5359
5270
|
? deserializeAws_json1_1AlarmConfiguration(output.alarmConfiguration, context)
|
|
5360
5271
|
: undefined,
|
|
5361
5272
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5362
|
-
autoRollbackConfiguration: output.autoRollbackConfiguration
|
|
5273
|
+
autoRollbackConfiguration: output.autoRollbackConfiguration != null
|
|
5363
5274
|
? deserializeAws_json1_1AutoRollbackConfiguration(output.autoRollbackConfiguration, context)
|
|
5364
5275
|
: undefined,
|
|
5365
|
-
autoScalingGroups: output.autoScalingGroups
|
|
5276
|
+
autoScalingGroups: output.autoScalingGroups != null
|
|
5366
5277
|
? deserializeAws_json1_1AutoScalingGroupList(output.autoScalingGroups, context)
|
|
5367
5278
|
: undefined,
|
|
5368
|
-
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration
|
|
5279
|
+
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration != null
|
|
5369
5280
|
? deserializeAws_json1_1BlueGreenDeploymentConfiguration(output.blueGreenDeploymentConfiguration, context)
|
|
5370
5281
|
: undefined,
|
|
5371
5282
|
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
5372
5283
|
deploymentConfigName: (0, smithy_client_1.expectString)(output.deploymentConfigName),
|
|
5373
5284
|
deploymentGroupId: (0, smithy_client_1.expectString)(output.deploymentGroupId),
|
|
5374
5285
|
deploymentGroupName: (0, smithy_client_1.expectString)(output.deploymentGroupName),
|
|
5375
|
-
deploymentStyle: output.deploymentStyle
|
|
5286
|
+
deploymentStyle: output.deploymentStyle != null
|
|
5376
5287
|
? deserializeAws_json1_1DeploymentStyle(output.deploymentStyle, context)
|
|
5377
5288
|
: undefined,
|
|
5378
|
-
ec2TagFilters: output.ec2TagFilters
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context)
|
|
5383
|
-
: undefined,
|
|
5384
|
-
ecsServices: output.ecsServices !== undefined && output.ecsServices !== null
|
|
5385
|
-
? deserializeAws_json1_1ECSServiceList(output.ecsServices, context)
|
|
5386
|
-
: undefined,
|
|
5387
|
-
lastAttemptedDeployment: output.lastAttemptedDeployment !== undefined && output.lastAttemptedDeployment !== null
|
|
5289
|
+
ec2TagFilters: output.ec2TagFilters != null ? deserializeAws_json1_1EC2TagFilterList(output.ec2TagFilters, context) : undefined,
|
|
5290
|
+
ec2TagSet: output.ec2TagSet != null ? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context) : undefined,
|
|
5291
|
+
ecsServices: output.ecsServices != null ? deserializeAws_json1_1ECSServiceList(output.ecsServices, context) : undefined,
|
|
5292
|
+
lastAttemptedDeployment: output.lastAttemptedDeployment != null
|
|
5388
5293
|
? deserializeAws_json1_1LastDeploymentInfo(output.lastAttemptedDeployment, context)
|
|
5389
5294
|
: undefined,
|
|
5390
|
-
lastSuccessfulDeployment: output.lastSuccessfulDeployment
|
|
5295
|
+
lastSuccessfulDeployment: output.lastSuccessfulDeployment != null
|
|
5391
5296
|
? deserializeAws_json1_1LastDeploymentInfo(output.lastSuccessfulDeployment, context)
|
|
5392
5297
|
: undefined,
|
|
5393
|
-
loadBalancerInfo: output.loadBalancerInfo
|
|
5298
|
+
loadBalancerInfo: output.loadBalancerInfo != null
|
|
5394
5299
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
5395
5300
|
: undefined,
|
|
5396
|
-
onPremisesInstanceTagFilters: output.onPremisesInstanceTagFilters
|
|
5301
|
+
onPremisesInstanceTagFilters: output.onPremisesInstanceTagFilters != null
|
|
5397
5302
|
? deserializeAws_json1_1TagFilterList(output.onPremisesInstanceTagFilters, context)
|
|
5398
5303
|
: undefined,
|
|
5399
|
-
onPremisesTagSet: output.onPremisesTagSet
|
|
5304
|
+
onPremisesTagSet: output.onPremisesTagSet != null
|
|
5400
5305
|
? deserializeAws_json1_1OnPremisesTagSet(output.onPremisesTagSet, context)
|
|
5401
5306
|
: undefined,
|
|
5402
5307
|
outdatedInstancesStrategy: (0, smithy_client_1.expectString)(output.outdatedInstancesStrategy),
|
|
5403
5308
|
serviceRoleArn: (0, smithy_client_1.expectString)(output.serviceRoleArn),
|
|
5404
|
-
targetRevision: output.targetRevision
|
|
5309
|
+
targetRevision: output.targetRevision != null
|
|
5405
5310
|
? deserializeAws_json1_1RevisionLocation(output.targetRevision, context)
|
|
5406
5311
|
: undefined,
|
|
5407
|
-
triggerConfigurations: output.triggerConfigurations
|
|
5312
|
+
triggerConfigurations: output.triggerConfigurations != null
|
|
5408
5313
|
? deserializeAws_json1_1TriggerConfigList(output.triggerConfigurations, context)
|
|
5409
5314
|
: undefined,
|
|
5410
5315
|
};
|
|
@@ -5450,60 +5355,52 @@ const deserializeAws_json1_1DeploymentInfo = (output, context) => {
|
|
|
5450
5355
|
return {
|
|
5451
5356
|
additionalDeploymentStatusInfo: (0, smithy_client_1.expectString)(output.additionalDeploymentStatusInfo),
|
|
5452
5357
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5453
|
-
autoRollbackConfiguration: output.autoRollbackConfiguration
|
|
5358
|
+
autoRollbackConfiguration: output.autoRollbackConfiguration != null
|
|
5454
5359
|
? deserializeAws_json1_1AutoRollbackConfiguration(output.autoRollbackConfiguration, context)
|
|
5455
5360
|
: undefined,
|
|
5456
|
-
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration
|
|
5361
|
+
blueGreenDeploymentConfiguration: output.blueGreenDeploymentConfiguration != null
|
|
5457
5362
|
? deserializeAws_json1_1BlueGreenDeploymentConfiguration(output.blueGreenDeploymentConfiguration, context)
|
|
5458
5363
|
: undefined,
|
|
5459
|
-
completeTime: output.completeTime
|
|
5364
|
+
completeTime: output.completeTime != null
|
|
5460
5365
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completeTime)))
|
|
5461
5366
|
: undefined,
|
|
5462
5367
|
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
5463
|
-
createTime: output.createTime
|
|
5464
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
5465
|
-
: undefined,
|
|
5368
|
+
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
5466
5369
|
creator: (0, smithy_client_1.expectString)(output.creator),
|
|
5467
5370
|
deploymentConfigName: (0, smithy_client_1.expectString)(output.deploymentConfigName),
|
|
5468
5371
|
deploymentGroupName: (0, smithy_client_1.expectString)(output.deploymentGroupName),
|
|
5469
5372
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
5470
|
-
deploymentOverview: output.deploymentOverview
|
|
5373
|
+
deploymentOverview: output.deploymentOverview != null
|
|
5471
5374
|
? deserializeAws_json1_1DeploymentOverview(output.deploymentOverview, context)
|
|
5472
5375
|
: undefined,
|
|
5473
|
-
deploymentStatusMessages: output.deploymentStatusMessages
|
|
5376
|
+
deploymentStatusMessages: output.deploymentStatusMessages != null
|
|
5474
5377
|
? deserializeAws_json1_1DeploymentStatusMessageList(output.deploymentStatusMessages, context)
|
|
5475
5378
|
: undefined,
|
|
5476
|
-
deploymentStyle: output.deploymentStyle
|
|
5379
|
+
deploymentStyle: output.deploymentStyle != null
|
|
5477
5380
|
? deserializeAws_json1_1DeploymentStyle(output.deploymentStyle, context)
|
|
5478
5381
|
: undefined,
|
|
5479
5382
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
5480
|
-
errorInformation: output.errorInformation
|
|
5383
|
+
errorInformation: output.errorInformation != null
|
|
5481
5384
|
? deserializeAws_json1_1ErrorInformation(output.errorInformation, context)
|
|
5482
5385
|
: undefined,
|
|
5483
5386
|
externalId: (0, smithy_client_1.expectString)(output.externalId),
|
|
5484
5387
|
fileExistsBehavior: (0, smithy_client_1.expectString)(output.fileExistsBehavior),
|
|
5485
5388
|
ignoreApplicationStopFailures: (0, smithy_client_1.expectBoolean)(output.ignoreApplicationStopFailures),
|
|
5486
5389
|
instanceTerminationWaitTimeStarted: (0, smithy_client_1.expectBoolean)(output.instanceTerminationWaitTimeStarted),
|
|
5487
|
-
loadBalancerInfo: output.loadBalancerInfo
|
|
5390
|
+
loadBalancerInfo: output.loadBalancerInfo != null
|
|
5488
5391
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
5489
5392
|
: undefined,
|
|
5490
|
-
previousRevision: output.previousRevision
|
|
5393
|
+
previousRevision: output.previousRevision != null
|
|
5491
5394
|
? deserializeAws_json1_1RevisionLocation(output.previousRevision, context)
|
|
5492
5395
|
: undefined,
|
|
5493
|
-
relatedDeployments: output.relatedDeployments
|
|
5396
|
+
relatedDeployments: output.relatedDeployments != null
|
|
5494
5397
|
? deserializeAws_json1_1RelatedDeployments(output.relatedDeployments, context)
|
|
5495
5398
|
: undefined,
|
|
5496
|
-
revision: output.revision
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
rollbackInfo: output.rollbackInfo !== undefined && output.rollbackInfo !== null
|
|
5500
|
-
? deserializeAws_json1_1RollbackInfo(output.rollbackInfo, context)
|
|
5501
|
-
: undefined,
|
|
5502
|
-
startTime: output.startTime !== undefined && output.startTime !== null
|
|
5503
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
5504
|
-
: undefined,
|
|
5399
|
+
revision: output.revision != null ? deserializeAws_json1_1RevisionLocation(output.revision, context) : undefined,
|
|
5400
|
+
rollbackInfo: output.rollbackInfo != null ? deserializeAws_json1_1RollbackInfo(output.rollbackInfo, context) : undefined,
|
|
5401
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
5505
5402
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5506
|
-
targetInstances: output.targetInstances
|
|
5403
|
+
targetInstances: output.targetInstances != null
|
|
5507
5404
|
? deserializeAws_json1_1TargetInstances(output.targetInstances, context)
|
|
5508
5405
|
: undefined,
|
|
5509
5406
|
updateOutdatedInstancesOnly: (0, smithy_client_1.expectBoolean)(output.updateOutdatedInstancesOnly),
|
|
@@ -5581,19 +5478,13 @@ const deserializeAws_json1_1DeploymentStyle = (output, context) => {
|
|
|
5581
5478
|
};
|
|
5582
5479
|
const deserializeAws_json1_1DeploymentTarget = (output, context) => {
|
|
5583
5480
|
return {
|
|
5584
|
-
cloudFormationTarget: output.cloudFormationTarget
|
|
5481
|
+
cloudFormationTarget: output.cloudFormationTarget != null
|
|
5585
5482
|
? deserializeAws_json1_1CloudFormationTarget(output.cloudFormationTarget, context)
|
|
5586
5483
|
: undefined,
|
|
5587
5484
|
deploymentTargetType: (0, smithy_client_1.expectString)(output.deploymentTargetType),
|
|
5588
|
-
ecsTarget: output.ecsTarget
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
instanceTarget: output.instanceTarget !== undefined && output.instanceTarget !== null
|
|
5592
|
-
? deserializeAws_json1_1InstanceTarget(output.instanceTarget, context)
|
|
5593
|
-
: undefined,
|
|
5594
|
-
lambdaTarget: output.lambdaTarget !== undefined && output.lambdaTarget !== null
|
|
5595
|
-
? deserializeAws_json1_1LambdaTarget(output.lambdaTarget, context)
|
|
5596
|
-
: undefined,
|
|
5485
|
+
ecsTarget: output.ecsTarget != null ? deserializeAws_json1_1ECSTarget(output.ecsTarget, context) : undefined,
|
|
5486
|
+
instanceTarget: output.instanceTarget != null ? deserializeAws_json1_1InstanceTarget(output.instanceTarget, context) : undefined,
|
|
5487
|
+
lambdaTarget: output.lambdaTarget != null ? deserializeAws_json1_1LambdaTarget(output.lambdaTarget, context) : undefined,
|
|
5597
5488
|
};
|
|
5598
5489
|
};
|
|
5599
5490
|
const deserializeAws_json1_1DeploymentTargetDoesNotExistException = (output, context) => {
|
|
@@ -5655,9 +5546,7 @@ const deserializeAws_json1_1EC2TagFilterList = (output, context) => {
|
|
|
5655
5546
|
};
|
|
5656
5547
|
const deserializeAws_json1_1EC2TagSet = (output, context) => {
|
|
5657
5548
|
return {
|
|
5658
|
-
ec2TagSetList: output.ec2TagSetList
|
|
5659
|
-
? deserializeAws_json1_1EC2TagSetList(output.ec2TagSetList, context)
|
|
5660
|
-
: undefined,
|
|
5549
|
+
ec2TagSetList: output.ec2TagSetList != null ? deserializeAws_json1_1EC2TagSetList(output.ec2TagSetList, context) : undefined,
|
|
5661
5550
|
};
|
|
5662
5551
|
};
|
|
5663
5552
|
const deserializeAws_json1_1EC2TagSetList = (output, context) => {
|
|
@@ -5696,18 +5585,16 @@ const deserializeAws_json1_1ECSServiceMappingLimitExceededException = (output, c
|
|
|
5696
5585
|
const deserializeAws_json1_1ECSTarget = (output, context) => {
|
|
5697
5586
|
return {
|
|
5698
5587
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
5699
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5588
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
5700
5589
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5701
5590
|
: undefined,
|
|
5702
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5591
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
5703
5592
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
5704
5593
|
: undefined,
|
|
5705
5594
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5706
5595
|
targetArn: (0, smithy_client_1.expectString)(output.targetArn),
|
|
5707
5596
|
targetId: (0, smithy_client_1.expectString)(output.targetId),
|
|
5708
|
-
taskSetsInfo: output.taskSetsInfo
|
|
5709
|
-
? deserializeAws_json1_1ECSTaskSetList(output.taskSetsInfo, context)
|
|
5710
|
-
: undefined,
|
|
5597
|
+
taskSetsInfo: output.taskSetsInfo != null ? deserializeAws_json1_1ECSTaskSetList(output.taskSetsInfo, context) : undefined,
|
|
5711
5598
|
};
|
|
5712
5599
|
};
|
|
5713
5600
|
const deserializeAws_json1_1ECSTaskSet = (output, context) => {
|
|
@@ -5717,9 +5604,7 @@ const deserializeAws_json1_1ECSTaskSet = (output, context) => {
|
|
|
5717
5604
|
pendingCount: (0, smithy_client_1.expectLong)(output.pendingCount),
|
|
5718
5605
|
runningCount: (0, smithy_client_1.expectLong)(output.runningCount),
|
|
5719
5606
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5720
|
-
targetGroup: output.targetGroup
|
|
5721
|
-
? deserializeAws_json1_1TargetGroupInfo(output.targetGroup, context)
|
|
5722
|
-
: undefined,
|
|
5607
|
+
targetGroup: output.targetGroup != null ? deserializeAws_json1_1TargetGroupInfo(output.targetGroup, context) : undefined,
|
|
5723
5608
|
taskSetLabel: (0, smithy_client_1.expectString)(output.taskSetLabel),
|
|
5724
5609
|
trafficWeight: (0, smithy_client_1.limitedParseDouble)(output.trafficWeight),
|
|
5725
5610
|
};
|
|
@@ -5759,79 +5644,69 @@ const deserializeAws_json1_1ErrorInformation = (output, context) => {
|
|
|
5759
5644
|
};
|
|
5760
5645
|
const deserializeAws_json1_1GenericRevisionInfo = (output, context) => {
|
|
5761
5646
|
return {
|
|
5762
|
-
deploymentGroups: output.deploymentGroups
|
|
5647
|
+
deploymentGroups: output.deploymentGroups != null
|
|
5763
5648
|
? deserializeAws_json1_1DeploymentGroupsList(output.deploymentGroups, context)
|
|
5764
5649
|
: undefined,
|
|
5765
5650
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
5766
|
-
firstUsedTime: output.firstUsedTime
|
|
5651
|
+
firstUsedTime: output.firstUsedTime != null
|
|
5767
5652
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.firstUsedTime)))
|
|
5768
5653
|
: undefined,
|
|
5769
|
-
lastUsedTime: output.lastUsedTime
|
|
5654
|
+
lastUsedTime: output.lastUsedTime != null
|
|
5770
5655
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUsedTime)))
|
|
5771
5656
|
: undefined,
|
|
5772
|
-
registerTime: output.registerTime
|
|
5657
|
+
registerTime: output.registerTime != null
|
|
5773
5658
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registerTime)))
|
|
5774
5659
|
: undefined,
|
|
5775
5660
|
};
|
|
5776
5661
|
};
|
|
5777
5662
|
const deserializeAws_json1_1GetApplicationOutput = (output, context) => {
|
|
5778
5663
|
return {
|
|
5779
|
-
application: output.application
|
|
5780
|
-
? deserializeAws_json1_1ApplicationInfo(output.application, context)
|
|
5781
|
-
: undefined,
|
|
5664
|
+
application: output.application != null ? deserializeAws_json1_1ApplicationInfo(output.application, context) : undefined,
|
|
5782
5665
|
};
|
|
5783
5666
|
};
|
|
5784
5667
|
const deserializeAws_json1_1GetApplicationRevisionOutput = (output, context) => {
|
|
5785
5668
|
return {
|
|
5786
5669
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
5787
|
-
revision: output.revision
|
|
5788
|
-
|
|
5789
|
-
: undefined,
|
|
5790
|
-
revisionInfo: output.revisionInfo !== undefined && output.revisionInfo !== null
|
|
5791
|
-
? deserializeAws_json1_1GenericRevisionInfo(output.revisionInfo, context)
|
|
5792
|
-
: undefined,
|
|
5670
|
+
revision: output.revision != null ? deserializeAws_json1_1RevisionLocation(output.revision, context) : undefined,
|
|
5671
|
+
revisionInfo: output.revisionInfo != null ? deserializeAws_json1_1GenericRevisionInfo(output.revisionInfo, context) : undefined,
|
|
5793
5672
|
};
|
|
5794
5673
|
};
|
|
5795
5674
|
const deserializeAws_json1_1GetDeploymentConfigOutput = (output, context) => {
|
|
5796
5675
|
return {
|
|
5797
|
-
deploymentConfigInfo: output.deploymentConfigInfo
|
|
5676
|
+
deploymentConfigInfo: output.deploymentConfigInfo != null
|
|
5798
5677
|
? deserializeAws_json1_1DeploymentConfigInfo(output.deploymentConfigInfo, context)
|
|
5799
5678
|
: undefined,
|
|
5800
5679
|
};
|
|
5801
5680
|
};
|
|
5802
5681
|
const deserializeAws_json1_1GetDeploymentGroupOutput = (output, context) => {
|
|
5803
5682
|
return {
|
|
5804
|
-
deploymentGroupInfo: output.deploymentGroupInfo
|
|
5683
|
+
deploymentGroupInfo: output.deploymentGroupInfo != null
|
|
5805
5684
|
? deserializeAws_json1_1DeploymentGroupInfo(output.deploymentGroupInfo, context)
|
|
5806
5685
|
: undefined,
|
|
5807
5686
|
};
|
|
5808
5687
|
};
|
|
5809
5688
|
const deserializeAws_json1_1GetDeploymentInstanceOutput = (output, context) => {
|
|
5810
5689
|
return {
|
|
5811
|
-
instanceSummary: output.instanceSummary
|
|
5690
|
+
instanceSummary: output.instanceSummary != null
|
|
5812
5691
|
? deserializeAws_json1_1InstanceSummary(output.instanceSummary, context)
|
|
5813
5692
|
: undefined,
|
|
5814
5693
|
};
|
|
5815
5694
|
};
|
|
5816
5695
|
const deserializeAws_json1_1GetDeploymentOutput = (output, context) => {
|
|
5817
5696
|
return {
|
|
5818
|
-
deploymentInfo: output.deploymentInfo
|
|
5819
|
-
? deserializeAws_json1_1DeploymentInfo(output.deploymentInfo, context)
|
|
5820
|
-
: undefined,
|
|
5697
|
+
deploymentInfo: output.deploymentInfo != null ? deserializeAws_json1_1DeploymentInfo(output.deploymentInfo, context) : undefined,
|
|
5821
5698
|
};
|
|
5822
5699
|
};
|
|
5823
5700
|
const deserializeAws_json1_1GetDeploymentTargetOutput = (output, context) => {
|
|
5824
5701
|
return {
|
|
5825
|
-
deploymentTarget: output.deploymentTarget
|
|
5702
|
+
deploymentTarget: output.deploymentTarget != null
|
|
5826
5703
|
? deserializeAws_json1_1DeploymentTarget(output.deploymentTarget, context)
|
|
5827
5704
|
: undefined,
|
|
5828
5705
|
};
|
|
5829
5706
|
};
|
|
5830
5707
|
const deserializeAws_json1_1GetOnPremisesInstanceOutput = (output, context) => {
|
|
5831
5708
|
return {
|
|
5832
|
-
instanceInfo: output.instanceInfo
|
|
5833
|
-
? deserializeAws_json1_1InstanceInfo(output.instanceInfo, context)
|
|
5834
|
-
: undefined,
|
|
5709
|
+
instanceInfo: output.instanceInfo != null ? deserializeAws_json1_1InstanceInfo(output.instanceInfo, context) : undefined,
|
|
5835
5710
|
};
|
|
5836
5711
|
};
|
|
5837
5712
|
const deserializeAws_json1_1GitHubAccountTokenDoesNotExistException = (output, context) => {
|
|
@@ -5898,19 +5773,17 @@ const deserializeAws_json1_1InstanceIdRequiredException = (output, context) => {
|
|
|
5898
5773
|
};
|
|
5899
5774
|
const deserializeAws_json1_1InstanceInfo = (output, context) => {
|
|
5900
5775
|
return {
|
|
5901
|
-
deregisterTime: output.deregisterTime
|
|
5776
|
+
deregisterTime: output.deregisterTime != null
|
|
5902
5777
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.deregisterTime)))
|
|
5903
5778
|
: undefined,
|
|
5904
5779
|
iamSessionArn: (0, smithy_client_1.expectString)(output.iamSessionArn),
|
|
5905
5780
|
iamUserArn: (0, smithy_client_1.expectString)(output.iamUserArn),
|
|
5906
5781
|
instanceArn: (0, smithy_client_1.expectString)(output.instanceArn),
|
|
5907
5782
|
instanceName: (0, smithy_client_1.expectString)(output.instanceName),
|
|
5908
|
-
registerTime: output.registerTime
|
|
5783
|
+
registerTime: output.registerTime != null
|
|
5909
5784
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registerTime)))
|
|
5910
5785
|
: undefined,
|
|
5911
|
-
tags: output.tags
|
|
5912
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
5913
|
-
: undefined,
|
|
5786
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
5914
5787
|
};
|
|
5915
5788
|
};
|
|
5916
5789
|
const deserializeAws_json1_1InstanceInfoList = (output, context) => {
|
|
@@ -5971,10 +5844,10 @@ const deserializeAws_json1_1InstanceSummary = (output, context) => {
|
|
|
5971
5844
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
5972
5845
|
instanceId: (0, smithy_client_1.expectString)(output.instanceId),
|
|
5973
5846
|
instanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
5974
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5847
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
5975
5848
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5976
5849
|
: undefined,
|
|
5977
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5850
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
5978
5851
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
5979
5852
|
: undefined,
|
|
5980
5853
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -5995,10 +5868,10 @@ const deserializeAws_json1_1InstanceTarget = (output, context) => {
|
|
|
5995
5868
|
return {
|
|
5996
5869
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
5997
5870
|
instanceLabel: (0, smithy_client_1.expectString)(output.instanceLabel),
|
|
5998
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
5871
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
5999
5872
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
6000
5873
|
: undefined,
|
|
6001
|
-
lifecycleEvents: output.lifecycleEvents
|
|
5874
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6002
5875
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6003
5876
|
: undefined,
|
|
6004
5877
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -6288,13 +6161,13 @@ const deserializeAws_json1_1LambdaFunctionInfo = (output, context) => {
|
|
|
6288
6161
|
const deserializeAws_json1_1LambdaTarget = (output, context) => {
|
|
6289
6162
|
return {
|
|
6290
6163
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
6291
|
-
lambdaFunctionInfo: output.lambdaFunctionInfo
|
|
6164
|
+
lambdaFunctionInfo: output.lambdaFunctionInfo != null
|
|
6292
6165
|
? deserializeAws_json1_1LambdaFunctionInfo(output.lambdaFunctionInfo, context)
|
|
6293
6166
|
: undefined,
|
|
6294
|
-
lastUpdatedAt: output.lastUpdatedAt
|
|
6167
|
+
lastUpdatedAt: output.lastUpdatedAt != null
|
|
6295
6168
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
6296
6169
|
: undefined,
|
|
6297
|
-
lifecycleEvents: output.lifecycleEvents
|
|
6170
|
+
lifecycleEvents: output.lifecycleEvents != null
|
|
6298
6171
|
? deserializeAws_json1_1LifecycleEventList(output.lifecycleEvents, context)
|
|
6299
6172
|
: undefined,
|
|
6300
6173
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -6304,28 +6177,18 @@ const deserializeAws_json1_1LambdaTarget = (output, context) => {
|
|
|
6304
6177
|
};
|
|
6305
6178
|
const deserializeAws_json1_1LastDeploymentInfo = (output, context) => {
|
|
6306
6179
|
return {
|
|
6307
|
-
createTime: output.createTime
|
|
6308
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime)))
|
|
6309
|
-
: undefined,
|
|
6180
|
+
createTime: output.createTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createTime))) : undefined,
|
|
6310
6181
|
deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
|
|
6311
|
-
endTime: output.endTime
|
|
6312
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
6313
|
-
: undefined,
|
|
6182
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
6314
6183
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6315
6184
|
};
|
|
6316
6185
|
};
|
|
6317
6186
|
const deserializeAws_json1_1LifecycleEvent = (output, context) => {
|
|
6318
6187
|
return {
|
|
6319
|
-
diagnostics: output.diagnostics
|
|
6320
|
-
|
|
6321
|
-
: undefined,
|
|
6322
|
-
endTime: output.endTime !== undefined && output.endTime !== null
|
|
6323
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
6324
|
-
: undefined,
|
|
6188
|
+
diagnostics: output.diagnostics != null ? deserializeAws_json1_1Diagnostics(output.diagnostics, context) : undefined,
|
|
6189
|
+
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
6325
6190
|
lifecycleEventName: (0, smithy_client_1.expectString)(output.lifecycleEventName),
|
|
6326
|
-
startTime: output.startTime
|
|
6327
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
6328
|
-
: undefined,
|
|
6191
|
+
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
6329
6192
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
6330
6193
|
};
|
|
6331
6194
|
};
|
|
@@ -6353,22 +6216,18 @@ const deserializeAws_json1_1LifecycleHookLimitExceededException = (output, conte
|
|
|
6353
6216
|
const deserializeAws_json1_1ListApplicationRevisionsOutput = (output, context) => {
|
|
6354
6217
|
return {
|
|
6355
6218
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6356
|
-
revisions: output.revisions
|
|
6357
|
-
? deserializeAws_json1_1RevisionLocationList(output.revisions, context)
|
|
6358
|
-
: undefined,
|
|
6219
|
+
revisions: output.revisions != null ? deserializeAws_json1_1RevisionLocationList(output.revisions, context) : undefined,
|
|
6359
6220
|
};
|
|
6360
6221
|
};
|
|
6361
6222
|
const deserializeAws_json1_1ListApplicationsOutput = (output, context) => {
|
|
6362
6223
|
return {
|
|
6363
|
-
applications: output.applications
|
|
6364
|
-
? deserializeAws_json1_1ApplicationsList(output.applications, context)
|
|
6365
|
-
: undefined,
|
|
6224
|
+
applications: output.applications != null ? deserializeAws_json1_1ApplicationsList(output.applications, context) : undefined,
|
|
6366
6225
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6367
6226
|
};
|
|
6368
6227
|
};
|
|
6369
6228
|
const deserializeAws_json1_1ListDeploymentConfigsOutput = (output, context) => {
|
|
6370
6229
|
return {
|
|
6371
|
-
deploymentConfigsList: output.deploymentConfigsList
|
|
6230
|
+
deploymentConfigsList: output.deploymentConfigsList != null
|
|
6372
6231
|
? deserializeAws_json1_1DeploymentConfigsList(output.deploymentConfigsList, context)
|
|
6373
6232
|
: undefined,
|
|
6374
6233
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -6377,7 +6236,7 @@ const deserializeAws_json1_1ListDeploymentConfigsOutput = (output, context) => {
|
|
|
6377
6236
|
const deserializeAws_json1_1ListDeploymentGroupsOutput = (output, context) => {
|
|
6378
6237
|
return {
|
|
6379
6238
|
applicationName: (0, smithy_client_1.expectString)(output.applicationName),
|
|
6380
|
-
deploymentGroups: output.deploymentGroups
|
|
6239
|
+
deploymentGroups: output.deploymentGroups != null
|
|
6381
6240
|
? deserializeAws_json1_1DeploymentGroupsList(output.deploymentGroups, context)
|
|
6382
6241
|
: undefined,
|
|
6383
6242
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -6385,26 +6244,20 @@ const deserializeAws_json1_1ListDeploymentGroupsOutput = (output, context) => {
|
|
|
6385
6244
|
};
|
|
6386
6245
|
const deserializeAws_json1_1ListDeploymentInstancesOutput = (output, context) => {
|
|
6387
6246
|
return {
|
|
6388
|
-
instancesList: output.instancesList
|
|
6389
|
-
? deserializeAws_json1_1InstancesList(output.instancesList, context)
|
|
6390
|
-
: undefined,
|
|
6247
|
+
instancesList: output.instancesList != null ? deserializeAws_json1_1InstancesList(output.instancesList, context) : undefined,
|
|
6391
6248
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6392
6249
|
};
|
|
6393
6250
|
};
|
|
6394
6251
|
const deserializeAws_json1_1ListDeploymentsOutput = (output, context) => {
|
|
6395
6252
|
return {
|
|
6396
|
-
deployments: output.deployments
|
|
6397
|
-
? deserializeAws_json1_1DeploymentsList(output.deployments, context)
|
|
6398
|
-
: undefined,
|
|
6253
|
+
deployments: output.deployments != null ? deserializeAws_json1_1DeploymentsList(output.deployments, context) : undefined,
|
|
6399
6254
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6400
6255
|
};
|
|
6401
6256
|
};
|
|
6402
6257
|
const deserializeAws_json1_1ListDeploymentTargetsOutput = (output, context) => {
|
|
6403
6258
|
return {
|
|
6404
6259
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6405
|
-
targetIds: output.targetIds
|
|
6406
|
-
? deserializeAws_json1_1TargetIdList(output.targetIds, context)
|
|
6407
|
-
: undefined,
|
|
6260
|
+
targetIds: output.targetIds != null ? deserializeAws_json1_1TargetIdList(output.targetIds, context) : undefined,
|
|
6408
6261
|
};
|
|
6409
6262
|
};
|
|
6410
6263
|
const deserializeAws_json1_1ListenerArnList = (output, context) => {
|
|
@@ -6421,36 +6274,30 @@ const deserializeAws_json1_1ListenerArnList = (output, context) => {
|
|
|
6421
6274
|
const deserializeAws_json1_1ListGitHubAccountTokenNamesOutput = (output, context) => {
|
|
6422
6275
|
return {
|
|
6423
6276
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6424
|
-
tokenNameList: output.tokenNameList
|
|
6277
|
+
tokenNameList: output.tokenNameList != null
|
|
6425
6278
|
? deserializeAws_json1_1GitHubAccountTokenNameList(output.tokenNameList, context)
|
|
6426
6279
|
: undefined,
|
|
6427
6280
|
};
|
|
6428
6281
|
};
|
|
6429
6282
|
const deserializeAws_json1_1ListOnPremisesInstancesOutput = (output, context) => {
|
|
6430
6283
|
return {
|
|
6431
|
-
instanceNames: output.instanceNames
|
|
6432
|
-
? deserializeAws_json1_1InstanceNameList(output.instanceNames, context)
|
|
6433
|
-
: undefined,
|
|
6284
|
+
instanceNames: output.instanceNames != null ? deserializeAws_json1_1InstanceNameList(output.instanceNames, context) : undefined,
|
|
6434
6285
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
6435
6286
|
};
|
|
6436
6287
|
};
|
|
6437
6288
|
const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
|
|
6438
6289
|
return {
|
|
6439
6290
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6440
|
-
Tags: output.Tags
|
|
6441
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
6442
|
-
: undefined,
|
|
6291
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
6443
6292
|
};
|
|
6444
6293
|
};
|
|
6445
6294
|
const deserializeAws_json1_1LoadBalancerInfo = (output, context) => {
|
|
6446
6295
|
return {
|
|
6447
|
-
elbInfoList: output.elbInfoList
|
|
6448
|
-
|
|
6449
|
-
: undefined,
|
|
6450
|
-
targetGroupInfoList: output.targetGroupInfoList !== undefined && output.targetGroupInfoList !== null
|
|
6296
|
+
elbInfoList: output.elbInfoList != null ? deserializeAws_json1_1ELBInfoList(output.elbInfoList, context) : undefined,
|
|
6297
|
+
targetGroupInfoList: output.targetGroupInfoList != null
|
|
6451
6298
|
? deserializeAws_json1_1TargetGroupInfoList(output.targetGroupInfoList, context)
|
|
6452
6299
|
: undefined,
|
|
6453
|
-
targetGroupPairInfoList: output.targetGroupPairInfoList
|
|
6300
|
+
targetGroupPairInfoList: output.targetGroupPairInfoList != null
|
|
6454
6301
|
? deserializeAws_json1_1TargetGroupPairInfoList(output.targetGroupPairInfoList, context)
|
|
6455
6302
|
: undefined,
|
|
6456
6303
|
};
|
|
@@ -6468,7 +6315,7 @@ const deserializeAws_json1_1MultipleIamArnsProvidedException = (output, context)
|
|
|
6468
6315
|
};
|
|
6469
6316
|
const deserializeAws_json1_1OnPremisesTagSet = (output, context) => {
|
|
6470
6317
|
return {
|
|
6471
|
-
onPremisesTagSetList: output.onPremisesTagSetList
|
|
6318
|
+
onPremisesTagSetList: output.onPremisesTagSetList != null
|
|
6472
6319
|
? deserializeAws_json1_1OnPremisesTagSetList(output.onPremisesTagSetList, context)
|
|
6473
6320
|
: undefined,
|
|
6474
6321
|
};
|
|
@@ -6502,8 +6349,7 @@ const deserializeAws_json1_1RawString = (output, context) => {
|
|
|
6502
6349
|
};
|
|
6503
6350
|
const deserializeAws_json1_1RelatedDeployments = (output, context) => {
|
|
6504
6351
|
return {
|
|
6505
|
-
autoUpdateOutdatedInstancesDeploymentIds: output.autoUpdateOutdatedInstancesDeploymentIds
|
|
6506
|
-
output.autoUpdateOutdatedInstancesDeploymentIds !== null
|
|
6352
|
+
autoUpdateOutdatedInstancesDeploymentIds: output.autoUpdateOutdatedInstancesDeploymentIds != null
|
|
6507
6353
|
? deserializeAws_json1_1DeploymentsList(output.autoUpdateOutdatedInstancesDeploymentIds, context)
|
|
6508
6354
|
: undefined,
|
|
6509
6355
|
autoUpdateOutdatedInstancesRootDeploymentId: (0, smithy_client_1.expectString)(output.autoUpdateOutdatedInstancesRootDeploymentId),
|
|
@@ -6526,10 +6372,10 @@ const deserializeAws_json1_1RevisionDoesNotExistException = (output, context) =>
|
|
|
6526
6372
|
};
|
|
6527
6373
|
const deserializeAws_json1_1RevisionInfo = (output, context) => {
|
|
6528
6374
|
return {
|
|
6529
|
-
genericRevisionInfo: output.genericRevisionInfo
|
|
6375
|
+
genericRevisionInfo: output.genericRevisionInfo != null
|
|
6530
6376
|
? deserializeAws_json1_1GenericRevisionInfo(output.genericRevisionInfo, context)
|
|
6531
6377
|
: undefined,
|
|
6532
|
-
revisionLocation: output.revisionLocation
|
|
6378
|
+
revisionLocation: output.revisionLocation != null
|
|
6533
6379
|
? deserializeAws_json1_1RevisionLocation(output.revisionLocation, context)
|
|
6534
6380
|
: undefined,
|
|
6535
6381
|
};
|
|
@@ -6547,19 +6393,11 @@ const deserializeAws_json1_1RevisionInfoList = (output, context) => {
|
|
|
6547
6393
|
};
|
|
6548
6394
|
const deserializeAws_json1_1RevisionLocation = (output, context) => {
|
|
6549
6395
|
return {
|
|
6550
|
-
appSpecContent: output.appSpecContent
|
|
6551
|
-
|
|
6552
|
-
: undefined,
|
|
6553
|
-
gitHubLocation: output.gitHubLocation !== undefined && output.gitHubLocation !== null
|
|
6554
|
-
? deserializeAws_json1_1GitHubLocation(output.gitHubLocation, context)
|
|
6555
|
-
: undefined,
|
|
6396
|
+
appSpecContent: output.appSpecContent != null ? deserializeAws_json1_1AppSpecContent(output.appSpecContent, context) : undefined,
|
|
6397
|
+
gitHubLocation: output.gitHubLocation != null ? deserializeAws_json1_1GitHubLocation(output.gitHubLocation, context) : undefined,
|
|
6556
6398
|
revisionType: (0, smithy_client_1.expectString)(output.revisionType),
|
|
6557
|
-
s3Location: output.s3Location
|
|
6558
|
-
|
|
6559
|
-
: undefined,
|
|
6560
|
-
string: output.string !== undefined && output.string !== null
|
|
6561
|
-
? deserializeAws_json1_1RawString(output.string, context)
|
|
6562
|
-
: undefined,
|
|
6399
|
+
s3Location: output.s3Location != null ? deserializeAws_json1_1S3Location(output.s3Location, context) : undefined,
|
|
6400
|
+
string: output.string != null ? deserializeAws_json1_1RawString(output.string, context) : undefined,
|
|
6563
6401
|
};
|
|
6564
6402
|
};
|
|
6565
6403
|
const deserializeAws_json1_1RevisionLocationList = (output, context) => {
|
|
@@ -6676,13 +6514,11 @@ const deserializeAws_json1_1TargetGroupInfoList = (output, context) => {
|
|
|
6676
6514
|
};
|
|
6677
6515
|
const deserializeAws_json1_1TargetGroupPairInfo = (output, context) => {
|
|
6678
6516
|
return {
|
|
6679
|
-
prodTrafficRoute: output.prodTrafficRoute
|
|
6517
|
+
prodTrafficRoute: output.prodTrafficRoute != null
|
|
6680
6518
|
? deserializeAws_json1_1TrafficRoute(output.prodTrafficRoute, context)
|
|
6681
6519
|
: undefined,
|
|
6682
|
-
targetGroups: output.targetGroups
|
|
6683
|
-
|
|
6684
|
-
: undefined,
|
|
6685
|
-
testTrafficRoute: output.testTrafficRoute !== undefined && output.testTrafficRoute !== null
|
|
6520
|
+
targetGroups: output.targetGroups != null ? deserializeAws_json1_1TargetGroupInfoList(output.targetGroups, context) : undefined,
|
|
6521
|
+
testTrafficRoute: output.testTrafficRoute != null
|
|
6686
6522
|
? deserializeAws_json1_1TrafficRoute(output.testTrafficRoute, context)
|
|
6687
6523
|
: undefined,
|
|
6688
6524
|
};
|
|
@@ -6711,15 +6547,11 @@ const deserializeAws_json1_1TargetIdList = (output, context) => {
|
|
|
6711
6547
|
};
|
|
6712
6548
|
const deserializeAws_json1_1TargetInstances = (output, context) => {
|
|
6713
6549
|
return {
|
|
6714
|
-
autoScalingGroups: output.autoScalingGroups
|
|
6550
|
+
autoScalingGroups: output.autoScalingGroups != null
|
|
6715
6551
|
? deserializeAws_json1_1AutoScalingGroupNameList(output.autoScalingGroups, context)
|
|
6716
6552
|
: undefined,
|
|
6717
|
-
ec2TagSet: output.ec2TagSet
|
|
6718
|
-
|
|
6719
|
-
: undefined,
|
|
6720
|
-
tagFilters: output.tagFilters !== undefined && output.tagFilters !== null
|
|
6721
|
-
? deserializeAws_json1_1EC2TagFilterList(output.tagFilters, context)
|
|
6722
|
-
: undefined,
|
|
6553
|
+
ec2TagSet: output.ec2TagSet != null ? deserializeAws_json1_1EC2TagSet(output.ec2TagSet, context) : undefined,
|
|
6554
|
+
tagFilters: output.tagFilters != null ? deserializeAws_json1_1EC2TagFilterList(output.tagFilters, context) : undefined,
|
|
6723
6555
|
};
|
|
6724
6556
|
};
|
|
6725
6557
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
@@ -6741,17 +6573,15 @@ const deserializeAws_json1_1TimeBasedLinear = (output, context) => {
|
|
|
6741
6573
|
};
|
|
6742
6574
|
const deserializeAws_json1_1TrafficRoute = (output, context) => {
|
|
6743
6575
|
return {
|
|
6744
|
-
listenerArns: output.listenerArns
|
|
6745
|
-
? deserializeAws_json1_1ListenerArnList(output.listenerArns, context)
|
|
6746
|
-
: undefined,
|
|
6576
|
+
listenerArns: output.listenerArns != null ? deserializeAws_json1_1ListenerArnList(output.listenerArns, context) : undefined,
|
|
6747
6577
|
};
|
|
6748
6578
|
};
|
|
6749
6579
|
const deserializeAws_json1_1TrafficRoutingConfig = (output, context) => {
|
|
6750
6580
|
return {
|
|
6751
|
-
timeBasedCanary: output.timeBasedCanary
|
|
6581
|
+
timeBasedCanary: output.timeBasedCanary != null
|
|
6752
6582
|
? deserializeAws_json1_1TimeBasedCanary(output.timeBasedCanary, context)
|
|
6753
6583
|
: undefined,
|
|
6754
|
-
timeBasedLinear: output.timeBasedLinear
|
|
6584
|
+
timeBasedLinear: output.timeBasedLinear != null
|
|
6755
6585
|
? deserializeAws_json1_1TimeBasedLinear(output.timeBasedLinear, context)
|
|
6756
6586
|
: undefined,
|
|
6757
6587
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
@@ -6759,7 +6589,7 @@ const deserializeAws_json1_1TrafficRoutingConfig = (output, context) => {
|
|
|
6759
6589
|
};
|
|
6760
6590
|
const deserializeAws_json1_1TriggerConfig = (output, context) => {
|
|
6761
6591
|
return {
|
|
6762
|
-
triggerEvents: output.triggerEvents
|
|
6592
|
+
triggerEvents: output.triggerEvents != null
|
|
6763
6593
|
? deserializeAws_json1_1TriggerEventTypeList(output.triggerEvents, context)
|
|
6764
6594
|
: undefined,
|
|
6765
6595
|
triggerName: (0, smithy_client_1.expectString)(output.triggerName),
|
|
@@ -6803,7 +6633,7 @@ const deserializeAws_json1_1UntagResourceOutput = (output, context) => {
|
|
|
6803
6633
|
};
|
|
6804
6634
|
const deserializeAws_json1_1UpdateDeploymentGroupOutput = (output, context) => {
|
|
6805
6635
|
return {
|
|
6806
|
-
hooksNotCleanedUp: output.hooksNotCleanedUp
|
|
6636
|
+
hooksNotCleanedUp: output.hooksNotCleanedUp != null
|
|
6807
6637
|
? deserializeAws_json1_1AutoScalingGroupList(output.hooksNotCleanedUp, context)
|
|
6808
6638
|
: undefined,
|
|
6809
6639
|
};
|
|
@@ -6870,5 +6700,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
6870
6700
|
if (data["__type"] !== undefined) {
|
|
6871
6701
|
return sanitizeErrorCode(data["__type"]);
|
|
6872
6702
|
}
|
|
6873
|
-
return "";
|
|
6874
6703
|
};
|