@cdklabs/cdk-ecs-codedeploy 0.0.243 → 0.0.245
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/.jsii +3 -3
- package/.jsii.tabl.json +1 -1
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +390 -1798
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +487 -1895
- package/node_modules/@aws-sdk/client-codedeploy/package.json +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +9 -90
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +8 -89
- package/node_modules/@aws-sdk/client-sso/package.json +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +30 -135
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +29 -134
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +31 -179
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +30 -178
- package/node_modules/@aws-sdk/client-sts/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +23 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/index.js +26 -15
- package/node_modules/@smithy/core/dist-es/pagination/createPaginator.js +12 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +13 -3
- package/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/package.json +1 -1
- package/package.json +5 -5
|
@@ -2717,7 +2717,7 @@ var se_UpdateDeploymentGroupCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
2717
2717
|
}, "se_UpdateDeploymentGroupCommand");
|
|
2718
2718
|
var de_AddTagsToOnPremisesInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2719
2719
|
if (output.statusCode >= 300) {
|
|
2720
|
-
return
|
|
2720
|
+
return de_CommandError(output, context);
|
|
2721
2721
|
}
|
|
2722
2722
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2723
2723
|
const response = {
|
|
@@ -2725,46 +2725,9 @@ var de_AddTagsToOnPremisesInstancesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2725
2725
|
};
|
|
2726
2726
|
return response;
|
|
2727
2727
|
}, "de_AddTagsToOnPremisesInstancesCommand");
|
|
2728
|
-
var de_AddTagsToOnPremisesInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2729
|
-
const parsedOutput = {
|
|
2730
|
-
...output,
|
|
2731
|
-
body: await parseErrorBody(output.body, context)
|
|
2732
|
-
};
|
|
2733
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2734
|
-
switch (errorCode) {
|
|
2735
|
-
case "InstanceLimitExceededException":
|
|
2736
|
-
case "com.amazonaws.codedeploy#InstanceLimitExceededException":
|
|
2737
|
-
throw await de_InstanceLimitExceededExceptionRes(parsedOutput, context);
|
|
2738
|
-
case "InstanceNameRequiredException":
|
|
2739
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
2740
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
2741
|
-
case "InstanceNotRegisteredException":
|
|
2742
|
-
case "com.amazonaws.codedeploy#InstanceNotRegisteredException":
|
|
2743
|
-
throw await de_InstanceNotRegisteredExceptionRes(parsedOutput, context);
|
|
2744
|
-
case "InvalidInstanceNameException":
|
|
2745
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
2746
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
2747
|
-
case "InvalidTagException":
|
|
2748
|
-
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
2749
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
2750
|
-
case "TagLimitExceededException":
|
|
2751
|
-
case "com.amazonaws.codedeploy#TagLimitExceededException":
|
|
2752
|
-
throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
|
|
2753
|
-
case "TagRequiredException":
|
|
2754
|
-
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
2755
|
-
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
2756
|
-
default:
|
|
2757
|
-
const parsedBody = parsedOutput.body;
|
|
2758
|
-
return throwDefaultError({
|
|
2759
|
-
output,
|
|
2760
|
-
parsedBody,
|
|
2761
|
-
errorCode
|
|
2762
|
-
});
|
|
2763
|
-
}
|
|
2764
|
-
}, "de_AddTagsToOnPremisesInstancesCommandError");
|
|
2765
2728
|
var de_BatchGetApplicationRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2766
2729
|
if (output.statusCode >= 300) {
|
|
2767
|
-
return
|
|
2730
|
+
return de_CommandError(output, context);
|
|
2768
2731
|
}
|
|
2769
2732
|
const data = await parseBody(output.body, context);
|
|
2770
2733
|
let contents = {};
|
|
@@ -2775,43 +2738,9 @@ var de_BatchGetApplicationRevisionsCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2775
2738
|
};
|
|
2776
2739
|
return response;
|
|
2777
2740
|
}, "de_BatchGetApplicationRevisionsCommand");
|
|
2778
|
-
var de_BatchGetApplicationRevisionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2779
|
-
const parsedOutput = {
|
|
2780
|
-
...output,
|
|
2781
|
-
body: await parseErrorBody(output.body, context)
|
|
2782
|
-
};
|
|
2783
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2784
|
-
switch (errorCode) {
|
|
2785
|
-
case "ApplicationDoesNotExistException":
|
|
2786
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
2787
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2788
|
-
case "ApplicationNameRequiredException":
|
|
2789
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
2790
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
2791
|
-
case "BatchLimitExceededException":
|
|
2792
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
2793
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
2794
|
-
case "InvalidApplicationNameException":
|
|
2795
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
2796
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
2797
|
-
case "InvalidRevisionException":
|
|
2798
|
-
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
2799
|
-
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
2800
|
-
case "RevisionRequiredException":
|
|
2801
|
-
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
2802
|
-
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
2803
|
-
default:
|
|
2804
|
-
const parsedBody = parsedOutput.body;
|
|
2805
|
-
return throwDefaultError({
|
|
2806
|
-
output,
|
|
2807
|
-
parsedBody,
|
|
2808
|
-
errorCode
|
|
2809
|
-
});
|
|
2810
|
-
}
|
|
2811
|
-
}, "de_BatchGetApplicationRevisionsCommandError");
|
|
2812
2741
|
var de_BatchGetApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2813
2742
|
if (output.statusCode >= 300) {
|
|
2814
|
-
return
|
|
2743
|
+
return de_CommandError(output, context);
|
|
2815
2744
|
}
|
|
2816
2745
|
const data = await parseBody(output.body, context);
|
|
2817
2746
|
let contents = {};
|
|
@@ -2822,37 +2751,9 @@ var de_BatchGetApplicationsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2822
2751
|
};
|
|
2823
2752
|
return response;
|
|
2824
2753
|
}, "de_BatchGetApplicationsCommand");
|
|
2825
|
-
var de_BatchGetApplicationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2826
|
-
const parsedOutput = {
|
|
2827
|
-
...output,
|
|
2828
|
-
body: await parseErrorBody(output.body, context)
|
|
2829
|
-
};
|
|
2830
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2831
|
-
switch (errorCode) {
|
|
2832
|
-
case "ApplicationDoesNotExistException":
|
|
2833
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
2834
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2835
|
-
case "ApplicationNameRequiredException":
|
|
2836
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
2837
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
2838
|
-
case "BatchLimitExceededException":
|
|
2839
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
2840
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
2841
|
-
case "InvalidApplicationNameException":
|
|
2842
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
2843
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
2844
|
-
default:
|
|
2845
|
-
const parsedBody = parsedOutput.body;
|
|
2846
|
-
return throwDefaultError({
|
|
2847
|
-
output,
|
|
2848
|
-
parsedBody,
|
|
2849
|
-
errorCode
|
|
2850
|
-
});
|
|
2851
|
-
}
|
|
2852
|
-
}, "de_BatchGetApplicationsCommandError");
|
|
2853
2754
|
var de_BatchGetDeploymentGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2854
2755
|
if (output.statusCode >= 300) {
|
|
2855
|
-
return
|
|
2756
|
+
return de_CommandError(output, context);
|
|
2856
2757
|
}
|
|
2857
2758
|
const data = await parseBody(output.body, context);
|
|
2858
2759
|
let contents = {};
|
|
@@ -2863,46 +2764,9 @@ var de_BatchGetDeploymentGroupsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2863
2764
|
};
|
|
2864
2765
|
return response;
|
|
2865
2766
|
}, "de_BatchGetDeploymentGroupsCommand");
|
|
2866
|
-
var de_BatchGetDeploymentGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2867
|
-
const parsedOutput = {
|
|
2868
|
-
...output,
|
|
2869
|
-
body: await parseErrorBody(output.body, context)
|
|
2870
|
-
};
|
|
2871
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2872
|
-
switch (errorCode) {
|
|
2873
|
-
case "ApplicationDoesNotExistException":
|
|
2874
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
2875
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2876
|
-
case "ApplicationNameRequiredException":
|
|
2877
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
2878
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
2879
|
-
case "BatchLimitExceededException":
|
|
2880
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
2881
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
2882
|
-
case "DeploymentConfigDoesNotExistException":
|
|
2883
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
2884
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
2885
|
-
case "DeploymentGroupNameRequiredException":
|
|
2886
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
2887
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
2888
|
-
case "InvalidApplicationNameException":
|
|
2889
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
2890
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
2891
|
-
case "InvalidDeploymentGroupNameException":
|
|
2892
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
2893
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
2894
|
-
default:
|
|
2895
|
-
const parsedBody = parsedOutput.body;
|
|
2896
|
-
return throwDefaultError({
|
|
2897
|
-
output,
|
|
2898
|
-
parsedBody,
|
|
2899
|
-
errorCode
|
|
2900
|
-
});
|
|
2901
|
-
}
|
|
2902
|
-
}, "de_BatchGetDeploymentGroupsCommandError");
|
|
2903
2767
|
var de_BatchGetDeploymentInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2904
2768
|
if (output.statusCode >= 300) {
|
|
2905
|
-
return
|
|
2769
|
+
return de_CommandError(output, context);
|
|
2906
2770
|
}
|
|
2907
2771
|
const data = await parseBody(output.body, context);
|
|
2908
2772
|
let contents = {};
|
|
@@ -2913,46 +2777,9 @@ var de_BatchGetDeploymentInstancesCommand = /* @__PURE__ */ __name(async (output
|
|
|
2913
2777
|
};
|
|
2914
2778
|
return response;
|
|
2915
2779
|
}, "de_BatchGetDeploymentInstancesCommand");
|
|
2916
|
-
var de_BatchGetDeploymentInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2917
|
-
const parsedOutput = {
|
|
2918
|
-
...output,
|
|
2919
|
-
body: await parseErrorBody(output.body, context)
|
|
2920
|
-
};
|
|
2921
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2922
|
-
switch (errorCode) {
|
|
2923
|
-
case "BatchLimitExceededException":
|
|
2924
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
2925
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
2926
|
-
case "DeploymentDoesNotExistException":
|
|
2927
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
2928
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
2929
|
-
case "DeploymentIdRequiredException":
|
|
2930
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
2931
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
2932
|
-
case "InstanceIdRequiredException":
|
|
2933
|
-
case "com.amazonaws.codedeploy#InstanceIdRequiredException":
|
|
2934
|
-
throw await de_InstanceIdRequiredExceptionRes(parsedOutput, context);
|
|
2935
|
-
case "InvalidComputePlatformException":
|
|
2936
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
2937
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
2938
|
-
case "InvalidDeploymentIdException":
|
|
2939
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
2940
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
2941
|
-
case "InvalidInstanceNameException":
|
|
2942
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
2943
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
2944
|
-
default:
|
|
2945
|
-
const parsedBody = parsedOutput.body;
|
|
2946
|
-
return throwDefaultError({
|
|
2947
|
-
output,
|
|
2948
|
-
parsedBody,
|
|
2949
|
-
errorCode
|
|
2950
|
-
});
|
|
2951
|
-
}
|
|
2952
|
-
}, "de_BatchGetDeploymentInstancesCommandError");
|
|
2953
2780
|
var de_BatchGetDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2954
2781
|
if (output.statusCode >= 300) {
|
|
2955
|
-
return
|
|
2782
|
+
return de_CommandError(output, context);
|
|
2956
2783
|
}
|
|
2957
2784
|
const data = await parseBody(output.body, context);
|
|
2958
2785
|
let contents = {};
|
|
@@ -2963,34 +2790,9 @@ var de_BatchGetDeploymentsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2963
2790
|
};
|
|
2964
2791
|
return response;
|
|
2965
2792
|
}, "de_BatchGetDeploymentsCommand");
|
|
2966
|
-
var de_BatchGetDeploymentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2967
|
-
const parsedOutput = {
|
|
2968
|
-
...output,
|
|
2969
|
-
body: await parseErrorBody(output.body, context)
|
|
2970
|
-
};
|
|
2971
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2972
|
-
switch (errorCode) {
|
|
2973
|
-
case "BatchLimitExceededException":
|
|
2974
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
2975
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
2976
|
-
case "DeploymentIdRequiredException":
|
|
2977
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
2978
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
2979
|
-
case "InvalidDeploymentIdException":
|
|
2980
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
2981
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
2982
|
-
default:
|
|
2983
|
-
const parsedBody = parsedOutput.body;
|
|
2984
|
-
return throwDefaultError({
|
|
2985
|
-
output,
|
|
2986
|
-
parsedBody,
|
|
2987
|
-
errorCode
|
|
2988
|
-
});
|
|
2989
|
-
}
|
|
2990
|
-
}, "de_BatchGetDeploymentsCommandError");
|
|
2991
2793
|
var de_BatchGetDeploymentTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2992
2794
|
if (output.statusCode >= 300) {
|
|
2993
|
-
return
|
|
2795
|
+
return de_CommandError(output, context);
|
|
2994
2796
|
}
|
|
2995
2797
|
const data = await parseBody(output.body, context);
|
|
2996
2798
|
let contents = {};
|
|
@@ -3001,52 +2803,9 @@ var de_BatchGetDeploymentTargetsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3001
2803
|
};
|
|
3002
2804
|
return response;
|
|
3003
2805
|
}, "de_BatchGetDeploymentTargetsCommand");
|
|
3004
|
-
var de_BatchGetDeploymentTargetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3005
|
-
const parsedOutput = {
|
|
3006
|
-
...output,
|
|
3007
|
-
body: await parseErrorBody(output.body, context)
|
|
3008
|
-
};
|
|
3009
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3010
|
-
switch (errorCode) {
|
|
3011
|
-
case "DeploymentDoesNotExistException":
|
|
3012
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
3013
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
3014
|
-
case "DeploymentIdRequiredException":
|
|
3015
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
3016
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
3017
|
-
case "DeploymentNotStartedException":
|
|
3018
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
3019
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
3020
|
-
case "DeploymentTargetDoesNotExistException":
|
|
3021
|
-
case "com.amazonaws.codedeploy#DeploymentTargetDoesNotExistException":
|
|
3022
|
-
throw await de_DeploymentTargetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3023
|
-
case "DeploymentTargetIdRequiredException":
|
|
3024
|
-
case "com.amazonaws.codedeploy#DeploymentTargetIdRequiredException":
|
|
3025
|
-
throw await de_DeploymentTargetIdRequiredExceptionRes(parsedOutput, context);
|
|
3026
|
-
case "DeploymentTargetListSizeExceededException":
|
|
3027
|
-
case "com.amazonaws.codedeploy#DeploymentTargetListSizeExceededException":
|
|
3028
|
-
throw await de_DeploymentTargetListSizeExceededExceptionRes(parsedOutput, context);
|
|
3029
|
-
case "InstanceDoesNotExistException":
|
|
3030
|
-
case "com.amazonaws.codedeploy#InstanceDoesNotExistException":
|
|
3031
|
-
throw await de_InstanceDoesNotExistExceptionRes(parsedOutput, context);
|
|
3032
|
-
case "InvalidDeploymentIdException":
|
|
3033
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
3034
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
3035
|
-
case "InvalidDeploymentTargetIdException":
|
|
3036
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentTargetIdException":
|
|
3037
|
-
throw await de_InvalidDeploymentTargetIdExceptionRes(parsedOutput, context);
|
|
3038
|
-
default:
|
|
3039
|
-
const parsedBody = parsedOutput.body;
|
|
3040
|
-
return throwDefaultError({
|
|
3041
|
-
output,
|
|
3042
|
-
parsedBody,
|
|
3043
|
-
errorCode
|
|
3044
|
-
});
|
|
3045
|
-
}
|
|
3046
|
-
}, "de_BatchGetDeploymentTargetsCommandError");
|
|
3047
2806
|
var de_BatchGetOnPremisesInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3048
2807
|
if (output.statusCode >= 300) {
|
|
3049
|
-
return
|
|
2808
|
+
return de_CommandError(output, context);
|
|
3050
2809
|
}
|
|
3051
2810
|
const data = await parseBody(output.body, context);
|
|
3052
2811
|
let contents = {};
|
|
@@ -3057,34 +2816,9 @@ var de_BatchGetOnPremisesInstancesCommand = /* @__PURE__ */ __name(async (output
|
|
|
3057
2816
|
};
|
|
3058
2817
|
return response;
|
|
3059
2818
|
}, "de_BatchGetOnPremisesInstancesCommand");
|
|
3060
|
-
var de_BatchGetOnPremisesInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3061
|
-
const parsedOutput = {
|
|
3062
|
-
...output,
|
|
3063
|
-
body: await parseErrorBody(output.body, context)
|
|
3064
|
-
};
|
|
3065
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3066
|
-
switch (errorCode) {
|
|
3067
|
-
case "BatchLimitExceededException":
|
|
3068
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
3069
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
3070
|
-
case "InstanceNameRequiredException":
|
|
3071
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
3072
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
3073
|
-
case "InvalidInstanceNameException":
|
|
3074
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
3075
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
3076
|
-
default:
|
|
3077
|
-
const parsedBody = parsedOutput.body;
|
|
3078
|
-
return throwDefaultError({
|
|
3079
|
-
output,
|
|
3080
|
-
parsedBody,
|
|
3081
|
-
errorCode
|
|
3082
|
-
});
|
|
3083
|
-
}
|
|
3084
|
-
}, "de_BatchGetOnPremisesInstancesCommandError");
|
|
3085
2819
|
var de_ContinueDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3086
2820
|
if (output.statusCode >= 300) {
|
|
3087
|
-
return
|
|
2821
|
+
return de_CommandError(output, context);
|
|
3088
2822
|
}
|
|
3089
2823
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3090
2824
|
const response = {
|
|
@@ -3092,49 +2826,9 @@ var de_ContinueDeploymentCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3092
2826
|
};
|
|
3093
2827
|
return response;
|
|
3094
2828
|
}, "de_ContinueDeploymentCommand");
|
|
3095
|
-
var de_ContinueDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3096
|
-
const parsedOutput = {
|
|
3097
|
-
...output,
|
|
3098
|
-
body: await parseErrorBody(output.body, context)
|
|
3099
|
-
};
|
|
3100
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3101
|
-
switch (errorCode) {
|
|
3102
|
-
case "DeploymentAlreadyCompletedException":
|
|
3103
|
-
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
3104
|
-
throw await de_DeploymentAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
3105
|
-
case "DeploymentDoesNotExistException":
|
|
3106
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
3107
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
3108
|
-
case "DeploymentIdRequiredException":
|
|
3109
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
3110
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
3111
|
-
case "DeploymentIsNotInReadyStateException":
|
|
3112
|
-
case "com.amazonaws.codedeploy#DeploymentIsNotInReadyStateException":
|
|
3113
|
-
throw await de_DeploymentIsNotInReadyStateExceptionRes(parsedOutput, context);
|
|
3114
|
-
case "InvalidDeploymentIdException":
|
|
3115
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
3116
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
3117
|
-
case "InvalidDeploymentStatusException":
|
|
3118
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentStatusException":
|
|
3119
|
-
throw await de_InvalidDeploymentStatusExceptionRes(parsedOutput, context);
|
|
3120
|
-
case "InvalidDeploymentWaitTypeException":
|
|
3121
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentWaitTypeException":
|
|
3122
|
-
throw await de_InvalidDeploymentWaitTypeExceptionRes(parsedOutput, context);
|
|
3123
|
-
case "UnsupportedActionForDeploymentTypeException":
|
|
3124
|
-
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
3125
|
-
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
3126
|
-
default:
|
|
3127
|
-
const parsedBody = parsedOutput.body;
|
|
3128
|
-
return throwDefaultError({
|
|
3129
|
-
output,
|
|
3130
|
-
parsedBody,
|
|
3131
|
-
errorCode
|
|
3132
|
-
});
|
|
3133
|
-
}
|
|
3134
|
-
}, "de_ContinueDeploymentCommandError");
|
|
3135
2829
|
var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3136
2830
|
if (output.statusCode >= 300) {
|
|
3137
|
-
return
|
|
2831
|
+
return de_CommandError(output, context);
|
|
3138
2832
|
}
|
|
3139
2833
|
const data = await parseBody(output.body, context);
|
|
3140
2834
|
let contents = {};
|
|
@@ -3145,43 +2839,9 @@ var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3145
2839
|
};
|
|
3146
2840
|
return response;
|
|
3147
2841
|
}, "de_CreateApplicationCommand");
|
|
3148
|
-
var de_CreateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3149
|
-
const parsedOutput = {
|
|
3150
|
-
...output,
|
|
3151
|
-
body: await parseErrorBody(output.body, context)
|
|
3152
|
-
};
|
|
3153
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3154
|
-
switch (errorCode) {
|
|
3155
|
-
case "ApplicationAlreadyExistsException":
|
|
3156
|
-
case "com.amazonaws.codedeploy#ApplicationAlreadyExistsException":
|
|
3157
|
-
throw await de_ApplicationAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3158
|
-
case "ApplicationLimitExceededException":
|
|
3159
|
-
case "com.amazonaws.codedeploy#ApplicationLimitExceededException":
|
|
3160
|
-
throw await de_ApplicationLimitExceededExceptionRes(parsedOutput, context);
|
|
3161
|
-
case "ApplicationNameRequiredException":
|
|
3162
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3163
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3164
|
-
case "InvalidApplicationNameException":
|
|
3165
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3166
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3167
|
-
case "InvalidComputePlatformException":
|
|
3168
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
3169
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
3170
|
-
case "InvalidTagsToAddException":
|
|
3171
|
-
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
3172
|
-
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
3173
|
-
default:
|
|
3174
|
-
const parsedBody = parsedOutput.body;
|
|
3175
|
-
return throwDefaultError({
|
|
3176
|
-
output,
|
|
3177
|
-
parsedBody,
|
|
3178
|
-
errorCode
|
|
3179
|
-
});
|
|
3180
|
-
}
|
|
3181
|
-
}, "de_CreateApplicationCommandError");
|
|
3182
2842
|
var de_CreateDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3183
2843
|
if (output.statusCode >= 300) {
|
|
3184
|
-
return
|
|
2844
|
+
return de_CommandError(output, context);
|
|
3185
2845
|
}
|
|
3186
2846
|
const data = await parseBody(output.body, context);
|
|
3187
2847
|
let contents = {};
|
|
@@ -3192,103 +2852,9 @@ var de_CreateDeploymentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3192
2852
|
};
|
|
3193
2853
|
return response;
|
|
3194
2854
|
}, "de_CreateDeploymentCommand");
|
|
3195
|
-
var de_CreateDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3196
|
-
const parsedOutput = {
|
|
3197
|
-
...output,
|
|
3198
|
-
body: await parseErrorBody(output.body, context)
|
|
3199
|
-
};
|
|
3200
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3201
|
-
switch (errorCode) {
|
|
3202
|
-
case "AlarmsLimitExceededException":
|
|
3203
|
-
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
3204
|
-
throw await de_AlarmsLimitExceededExceptionRes(parsedOutput, context);
|
|
3205
|
-
case "ApplicationDoesNotExistException":
|
|
3206
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
3207
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
3208
|
-
case "ApplicationNameRequiredException":
|
|
3209
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3210
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3211
|
-
case "DeploymentConfigDoesNotExistException":
|
|
3212
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
3213
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
3214
|
-
case "DeploymentGroupDoesNotExistException":
|
|
3215
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
3216
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
3217
|
-
case "DeploymentGroupNameRequiredException":
|
|
3218
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
3219
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
3220
|
-
case "DeploymentLimitExceededException":
|
|
3221
|
-
case "com.amazonaws.codedeploy#DeploymentLimitExceededException":
|
|
3222
|
-
throw await de_DeploymentLimitExceededExceptionRes(parsedOutput, context);
|
|
3223
|
-
case "DescriptionTooLongException":
|
|
3224
|
-
case "com.amazonaws.codedeploy#DescriptionTooLongException":
|
|
3225
|
-
throw await de_DescriptionTooLongExceptionRes(parsedOutput, context);
|
|
3226
|
-
case "InvalidAlarmConfigException":
|
|
3227
|
-
case "com.amazonaws.codedeploy#InvalidAlarmConfigException":
|
|
3228
|
-
throw await de_InvalidAlarmConfigExceptionRes(parsedOutput, context);
|
|
3229
|
-
case "InvalidApplicationNameException":
|
|
3230
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3231
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3232
|
-
case "InvalidAutoRollbackConfigException":
|
|
3233
|
-
case "com.amazonaws.codedeploy#InvalidAutoRollbackConfigException":
|
|
3234
|
-
throw await de_InvalidAutoRollbackConfigExceptionRes(parsedOutput, context);
|
|
3235
|
-
case "InvalidAutoScalingGroupException":
|
|
3236
|
-
case "com.amazonaws.codedeploy#InvalidAutoScalingGroupException":
|
|
3237
|
-
throw await de_InvalidAutoScalingGroupExceptionRes(parsedOutput, context);
|
|
3238
|
-
case "InvalidDeploymentConfigNameException":
|
|
3239
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
3240
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
3241
|
-
case "InvalidDeploymentGroupNameException":
|
|
3242
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
3243
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
3244
|
-
case "InvalidFileExistsBehaviorException":
|
|
3245
|
-
case "com.amazonaws.codedeploy#InvalidFileExistsBehaviorException":
|
|
3246
|
-
throw await de_InvalidFileExistsBehaviorExceptionRes(parsedOutput, context);
|
|
3247
|
-
case "InvalidGitHubAccountTokenException":
|
|
3248
|
-
case "com.amazonaws.codedeploy#InvalidGitHubAccountTokenException":
|
|
3249
|
-
throw await de_InvalidGitHubAccountTokenExceptionRes(parsedOutput, context);
|
|
3250
|
-
case "InvalidIgnoreApplicationStopFailuresValueException":
|
|
3251
|
-
case "com.amazonaws.codedeploy#InvalidIgnoreApplicationStopFailuresValueException":
|
|
3252
|
-
throw await de_InvalidIgnoreApplicationStopFailuresValueExceptionRes(parsedOutput, context);
|
|
3253
|
-
case "InvalidLoadBalancerInfoException":
|
|
3254
|
-
case "com.amazonaws.codedeploy#InvalidLoadBalancerInfoException":
|
|
3255
|
-
throw await de_InvalidLoadBalancerInfoExceptionRes(parsedOutput, context);
|
|
3256
|
-
case "InvalidRevisionException":
|
|
3257
|
-
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
3258
|
-
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
3259
|
-
case "InvalidRoleException":
|
|
3260
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
3261
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
3262
|
-
case "InvalidTargetInstancesException":
|
|
3263
|
-
case "com.amazonaws.codedeploy#InvalidTargetInstancesException":
|
|
3264
|
-
throw await de_InvalidTargetInstancesExceptionRes(parsedOutput, context);
|
|
3265
|
-
case "InvalidTrafficRoutingConfigurationException":
|
|
3266
|
-
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
3267
|
-
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
3268
|
-
case "InvalidUpdateOutdatedInstancesOnlyValueException":
|
|
3269
|
-
case "com.amazonaws.codedeploy#InvalidUpdateOutdatedInstancesOnlyValueException":
|
|
3270
|
-
throw await de_InvalidUpdateOutdatedInstancesOnlyValueExceptionRes(parsedOutput, context);
|
|
3271
|
-
case "RevisionDoesNotExistException":
|
|
3272
|
-
case "com.amazonaws.codedeploy#RevisionDoesNotExistException":
|
|
3273
|
-
throw await de_RevisionDoesNotExistExceptionRes(parsedOutput, context);
|
|
3274
|
-
case "RevisionRequiredException":
|
|
3275
|
-
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
3276
|
-
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
3277
|
-
case "ThrottlingException":
|
|
3278
|
-
case "com.amazonaws.codedeploy#ThrottlingException":
|
|
3279
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3280
|
-
default:
|
|
3281
|
-
const parsedBody = parsedOutput.body;
|
|
3282
|
-
return throwDefaultError({
|
|
3283
|
-
output,
|
|
3284
|
-
parsedBody,
|
|
3285
|
-
errorCode
|
|
3286
|
-
});
|
|
3287
|
-
}
|
|
3288
|
-
}, "de_CreateDeploymentCommandError");
|
|
3289
2855
|
var de_CreateDeploymentConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3290
2856
|
if (output.statusCode >= 300) {
|
|
3291
|
-
return
|
|
2857
|
+
return de_CommandError(output, context);
|
|
3292
2858
|
}
|
|
3293
2859
|
const data = await parseBody(output.body, context);
|
|
3294
2860
|
let contents = {};
|
|
@@ -3299,49 +2865,9 @@ var de_CreateDeploymentConfigCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3299
2865
|
};
|
|
3300
2866
|
return response;
|
|
3301
2867
|
}, "de_CreateDeploymentConfigCommand");
|
|
3302
|
-
var de_CreateDeploymentConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3303
|
-
const parsedOutput = {
|
|
3304
|
-
...output,
|
|
3305
|
-
body: await parseErrorBody(output.body, context)
|
|
3306
|
-
};
|
|
3307
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3308
|
-
switch (errorCode) {
|
|
3309
|
-
case "DeploymentConfigAlreadyExistsException":
|
|
3310
|
-
case "com.amazonaws.codedeploy#DeploymentConfigAlreadyExistsException":
|
|
3311
|
-
throw await de_DeploymentConfigAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3312
|
-
case "DeploymentConfigLimitExceededException":
|
|
3313
|
-
case "com.amazonaws.codedeploy#DeploymentConfigLimitExceededException":
|
|
3314
|
-
throw await de_DeploymentConfigLimitExceededExceptionRes(parsedOutput, context);
|
|
3315
|
-
case "DeploymentConfigNameRequiredException":
|
|
3316
|
-
case "com.amazonaws.codedeploy#DeploymentConfigNameRequiredException":
|
|
3317
|
-
throw await de_DeploymentConfigNameRequiredExceptionRes(parsedOutput, context);
|
|
3318
|
-
case "InvalidComputePlatformException":
|
|
3319
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
3320
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
3321
|
-
case "InvalidDeploymentConfigNameException":
|
|
3322
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
3323
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
3324
|
-
case "InvalidMinimumHealthyHostValueException":
|
|
3325
|
-
case "com.amazonaws.codedeploy#InvalidMinimumHealthyHostValueException":
|
|
3326
|
-
throw await de_InvalidMinimumHealthyHostValueExceptionRes(parsedOutput, context);
|
|
3327
|
-
case "InvalidTrafficRoutingConfigurationException":
|
|
3328
|
-
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
3329
|
-
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
3330
|
-
case "InvalidZonalDeploymentConfigurationException":
|
|
3331
|
-
case "com.amazonaws.codedeploy#InvalidZonalDeploymentConfigurationException":
|
|
3332
|
-
throw await de_InvalidZonalDeploymentConfigurationExceptionRes(parsedOutput, context);
|
|
3333
|
-
default:
|
|
3334
|
-
const parsedBody = parsedOutput.body;
|
|
3335
|
-
return throwDefaultError({
|
|
3336
|
-
output,
|
|
3337
|
-
parsedBody,
|
|
3338
|
-
errorCode
|
|
3339
|
-
});
|
|
3340
|
-
}
|
|
3341
|
-
}, "de_CreateDeploymentConfigCommandError");
|
|
3342
2868
|
var de_CreateDeploymentGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3343
2869
|
if (output.statusCode >= 300) {
|
|
3344
|
-
return
|
|
2870
|
+
return de_CommandError(output, context);
|
|
3345
2871
|
}
|
|
3346
2872
|
const data = await parseBody(output.body, context);
|
|
3347
2873
|
let contents = {};
|
|
@@ -3352,124 +2878,9 @@ var de_CreateDeploymentGroupCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3352
2878
|
};
|
|
3353
2879
|
return response;
|
|
3354
2880
|
}, "de_CreateDeploymentGroupCommand");
|
|
3355
|
-
var de_CreateDeploymentGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3356
|
-
const parsedOutput = {
|
|
3357
|
-
...output,
|
|
3358
|
-
body: await parseErrorBody(output.body, context)
|
|
3359
|
-
};
|
|
3360
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3361
|
-
switch (errorCode) {
|
|
3362
|
-
case "AlarmsLimitExceededException":
|
|
3363
|
-
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
3364
|
-
throw await de_AlarmsLimitExceededExceptionRes(parsedOutput, context);
|
|
3365
|
-
case "ApplicationDoesNotExistException":
|
|
3366
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
3367
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
3368
|
-
case "ApplicationNameRequiredException":
|
|
3369
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3370
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3371
|
-
case "DeploymentConfigDoesNotExistException":
|
|
3372
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
3373
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
3374
|
-
case "DeploymentGroupAlreadyExistsException":
|
|
3375
|
-
case "com.amazonaws.codedeploy#DeploymentGroupAlreadyExistsException":
|
|
3376
|
-
throw await de_DeploymentGroupAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3377
|
-
case "DeploymentGroupLimitExceededException":
|
|
3378
|
-
case "com.amazonaws.codedeploy#DeploymentGroupLimitExceededException":
|
|
3379
|
-
throw await de_DeploymentGroupLimitExceededExceptionRes(parsedOutput, context);
|
|
3380
|
-
case "DeploymentGroupNameRequiredException":
|
|
3381
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
3382
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
3383
|
-
case "ECSServiceMappingLimitExceededException":
|
|
3384
|
-
case "com.amazonaws.codedeploy#ECSServiceMappingLimitExceededException":
|
|
3385
|
-
throw await de_ECSServiceMappingLimitExceededExceptionRes(parsedOutput, context);
|
|
3386
|
-
case "InvalidAlarmConfigException":
|
|
3387
|
-
case "com.amazonaws.codedeploy#InvalidAlarmConfigException":
|
|
3388
|
-
throw await de_InvalidAlarmConfigExceptionRes(parsedOutput, context);
|
|
3389
|
-
case "InvalidApplicationNameException":
|
|
3390
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3391
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3392
|
-
case "InvalidAutoRollbackConfigException":
|
|
3393
|
-
case "com.amazonaws.codedeploy#InvalidAutoRollbackConfigException":
|
|
3394
|
-
throw await de_InvalidAutoRollbackConfigExceptionRes(parsedOutput, context);
|
|
3395
|
-
case "InvalidAutoScalingGroupException":
|
|
3396
|
-
case "com.amazonaws.codedeploy#InvalidAutoScalingGroupException":
|
|
3397
|
-
throw await de_InvalidAutoScalingGroupExceptionRes(parsedOutput, context);
|
|
3398
|
-
case "InvalidBlueGreenDeploymentConfigurationException":
|
|
3399
|
-
case "com.amazonaws.codedeploy#InvalidBlueGreenDeploymentConfigurationException":
|
|
3400
|
-
throw await de_InvalidBlueGreenDeploymentConfigurationExceptionRes(parsedOutput, context);
|
|
3401
|
-
case "InvalidDeploymentConfigNameException":
|
|
3402
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
3403
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
3404
|
-
case "InvalidDeploymentGroupNameException":
|
|
3405
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
3406
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
3407
|
-
case "InvalidDeploymentStyleException":
|
|
3408
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentStyleException":
|
|
3409
|
-
throw await de_InvalidDeploymentStyleExceptionRes(parsedOutput, context);
|
|
3410
|
-
case "InvalidEC2TagCombinationException":
|
|
3411
|
-
case "com.amazonaws.codedeploy#InvalidEC2TagCombinationException":
|
|
3412
|
-
throw await de_InvalidEC2TagCombinationExceptionRes(parsedOutput, context);
|
|
3413
|
-
case "InvalidEC2TagException":
|
|
3414
|
-
case "com.amazonaws.codedeploy#InvalidEC2TagException":
|
|
3415
|
-
throw await de_InvalidEC2TagExceptionRes(parsedOutput, context);
|
|
3416
|
-
case "InvalidECSServiceException":
|
|
3417
|
-
case "com.amazonaws.codedeploy#InvalidECSServiceException":
|
|
3418
|
-
throw await de_InvalidECSServiceExceptionRes(parsedOutput, context);
|
|
3419
|
-
case "InvalidInputException":
|
|
3420
|
-
case "com.amazonaws.codedeploy#InvalidInputException":
|
|
3421
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
3422
|
-
case "InvalidLoadBalancerInfoException":
|
|
3423
|
-
case "com.amazonaws.codedeploy#InvalidLoadBalancerInfoException":
|
|
3424
|
-
throw await de_InvalidLoadBalancerInfoExceptionRes(parsedOutput, context);
|
|
3425
|
-
case "InvalidOnPremisesTagCombinationException":
|
|
3426
|
-
case "com.amazonaws.codedeploy#InvalidOnPremisesTagCombinationException":
|
|
3427
|
-
throw await de_InvalidOnPremisesTagCombinationExceptionRes(parsedOutput, context);
|
|
3428
|
-
case "InvalidRoleException":
|
|
3429
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
3430
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
3431
|
-
case "InvalidTagException":
|
|
3432
|
-
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
3433
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
3434
|
-
case "InvalidTagsToAddException":
|
|
3435
|
-
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
3436
|
-
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
3437
|
-
case "InvalidTargetGroupPairException":
|
|
3438
|
-
case "com.amazonaws.codedeploy#InvalidTargetGroupPairException":
|
|
3439
|
-
throw await de_InvalidTargetGroupPairExceptionRes(parsedOutput, context);
|
|
3440
|
-
case "InvalidTrafficRoutingConfigurationException":
|
|
3441
|
-
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
3442
|
-
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
3443
|
-
case "InvalidTriggerConfigException":
|
|
3444
|
-
case "com.amazonaws.codedeploy#InvalidTriggerConfigException":
|
|
3445
|
-
throw await de_InvalidTriggerConfigExceptionRes(parsedOutput, context);
|
|
3446
|
-
case "LifecycleHookLimitExceededException":
|
|
3447
|
-
case "com.amazonaws.codedeploy#LifecycleHookLimitExceededException":
|
|
3448
|
-
throw await de_LifecycleHookLimitExceededExceptionRes(parsedOutput, context);
|
|
3449
|
-
case "RoleRequiredException":
|
|
3450
|
-
case "com.amazonaws.codedeploy#RoleRequiredException":
|
|
3451
|
-
throw await de_RoleRequiredExceptionRes(parsedOutput, context);
|
|
3452
|
-
case "TagSetListLimitExceededException":
|
|
3453
|
-
case "com.amazonaws.codedeploy#TagSetListLimitExceededException":
|
|
3454
|
-
throw await de_TagSetListLimitExceededExceptionRes(parsedOutput, context);
|
|
3455
|
-
case "ThrottlingException":
|
|
3456
|
-
case "com.amazonaws.codedeploy#ThrottlingException":
|
|
3457
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3458
|
-
case "TriggerTargetsLimitExceededException":
|
|
3459
|
-
case "com.amazonaws.codedeploy#TriggerTargetsLimitExceededException":
|
|
3460
|
-
throw await de_TriggerTargetsLimitExceededExceptionRes(parsedOutput, context);
|
|
3461
|
-
default:
|
|
3462
|
-
const parsedBody = parsedOutput.body;
|
|
3463
|
-
return throwDefaultError({
|
|
3464
|
-
output,
|
|
3465
|
-
parsedBody,
|
|
3466
|
-
errorCode
|
|
3467
|
-
});
|
|
3468
|
-
}
|
|
3469
|
-
}, "de_CreateDeploymentGroupCommandError");
|
|
3470
2881
|
var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3471
2882
|
if (output.statusCode >= 300) {
|
|
3472
|
-
return
|
|
2883
|
+
return de_CommandError(output, context);
|
|
3473
2884
|
}
|
|
3474
2885
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3475
2886
|
const response = {
|
|
@@ -3477,34 +2888,9 @@ var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3477
2888
|
};
|
|
3478
2889
|
return response;
|
|
3479
2890
|
}, "de_DeleteApplicationCommand");
|
|
3480
|
-
var de_DeleteApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3481
|
-
const parsedOutput = {
|
|
3482
|
-
...output,
|
|
3483
|
-
body: await parseErrorBody(output.body, context)
|
|
3484
|
-
};
|
|
3485
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3486
|
-
switch (errorCode) {
|
|
3487
|
-
case "ApplicationNameRequiredException":
|
|
3488
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3489
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3490
|
-
case "InvalidApplicationNameException":
|
|
3491
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3492
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3493
|
-
case "InvalidRoleException":
|
|
3494
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
3495
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
3496
|
-
default:
|
|
3497
|
-
const parsedBody = parsedOutput.body;
|
|
3498
|
-
return throwDefaultError({
|
|
3499
|
-
output,
|
|
3500
|
-
parsedBody,
|
|
3501
|
-
errorCode
|
|
3502
|
-
});
|
|
3503
|
-
}
|
|
3504
|
-
}, "de_DeleteApplicationCommandError");
|
|
3505
2891
|
var de_DeleteDeploymentConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3506
2892
|
if (output.statusCode >= 300) {
|
|
3507
|
-
return
|
|
2893
|
+
return de_CommandError(output, context);
|
|
3508
2894
|
}
|
|
3509
2895
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3510
2896
|
const response = {
|
|
@@ -3512,37 +2898,9 @@ var de_DeleteDeploymentConfigCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3512
2898
|
};
|
|
3513
2899
|
return response;
|
|
3514
2900
|
}, "de_DeleteDeploymentConfigCommand");
|
|
3515
|
-
var de_DeleteDeploymentConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3516
|
-
const parsedOutput = {
|
|
3517
|
-
...output,
|
|
3518
|
-
body: await parseErrorBody(output.body, context)
|
|
3519
|
-
};
|
|
3520
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3521
|
-
switch (errorCode) {
|
|
3522
|
-
case "DeploymentConfigInUseException":
|
|
3523
|
-
case "com.amazonaws.codedeploy#DeploymentConfigInUseException":
|
|
3524
|
-
throw await de_DeploymentConfigInUseExceptionRes(parsedOutput, context);
|
|
3525
|
-
case "DeploymentConfigNameRequiredException":
|
|
3526
|
-
case "com.amazonaws.codedeploy#DeploymentConfigNameRequiredException":
|
|
3527
|
-
throw await de_DeploymentConfigNameRequiredExceptionRes(parsedOutput, context);
|
|
3528
|
-
case "InvalidDeploymentConfigNameException":
|
|
3529
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
3530
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
3531
|
-
case "InvalidOperationException":
|
|
3532
|
-
case "com.amazonaws.codedeploy#InvalidOperationException":
|
|
3533
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
3534
|
-
default:
|
|
3535
|
-
const parsedBody = parsedOutput.body;
|
|
3536
|
-
return throwDefaultError({
|
|
3537
|
-
output,
|
|
3538
|
-
parsedBody,
|
|
3539
|
-
errorCode
|
|
3540
|
-
});
|
|
3541
|
-
}
|
|
3542
|
-
}, "de_DeleteDeploymentConfigCommandError");
|
|
3543
2901
|
var de_DeleteDeploymentGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3544
2902
|
if (output.statusCode >= 300) {
|
|
3545
|
-
return
|
|
2903
|
+
return de_CommandError(output, context);
|
|
3546
2904
|
}
|
|
3547
2905
|
const data = await parseBody(output.body, context);
|
|
3548
2906
|
let contents = {};
|
|
@@ -3553,40 +2911,9 @@ var de_DeleteDeploymentGroupCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3553
2911
|
};
|
|
3554
2912
|
return response;
|
|
3555
2913
|
}, "de_DeleteDeploymentGroupCommand");
|
|
3556
|
-
var de_DeleteDeploymentGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3557
|
-
const parsedOutput = {
|
|
3558
|
-
...output,
|
|
3559
|
-
body: await parseErrorBody(output.body, context)
|
|
3560
|
-
};
|
|
3561
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3562
|
-
switch (errorCode) {
|
|
3563
|
-
case "ApplicationNameRequiredException":
|
|
3564
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3565
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3566
|
-
case "DeploymentGroupNameRequiredException":
|
|
3567
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
3568
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
3569
|
-
case "InvalidApplicationNameException":
|
|
3570
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3571
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3572
|
-
case "InvalidDeploymentGroupNameException":
|
|
3573
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
3574
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
3575
|
-
case "InvalidRoleException":
|
|
3576
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
3577
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
3578
|
-
default:
|
|
3579
|
-
const parsedBody = parsedOutput.body;
|
|
3580
|
-
return throwDefaultError({
|
|
3581
|
-
output,
|
|
3582
|
-
parsedBody,
|
|
3583
|
-
errorCode
|
|
3584
|
-
});
|
|
3585
|
-
}
|
|
3586
|
-
}, "de_DeleteDeploymentGroupCommandError");
|
|
3587
2914
|
var de_DeleteGitHubAccountTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3588
2915
|
if (output.statusCode >= 300) {
|
|
3589
|
-
return
|
|
2916
|
+
return de_CommandError(output, context);
|
|
3590
2917
|
}
|
|
3591
2918
|
const data = await parseBody(output.body, context);
|
|
3592
2919
|
let contents = {};
|
|
@@ -3597,98 +2924,32 @@ var de_DeleteGitHubAccountTokenCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3597
2924
|
};
|
|
3598
2925
|
return response;
|
|
3599
2926
|
}, "de_DeleteGitHubAccountTokenCommand");
|
|
3600
|
-
var de_DeleteGitHubAccountTokenCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3601
|
-
const parsedOutput = {
|
|
3602
|
-
...output,
|
|
3603
|
-
body: await parseErrorBody(output.body, context)
|
|
3604
|
-
};
|
|
3605
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3606
|
-
switch (errorCode) {
|
|
3607
|
-
case "GitHubAccountTokenDoesNotExistException":
|
|
3608
|
-
case "com.amazonaws.codedeploy#GitHubAccountTokenDoesNotExistException":
|
|
3609
|
-
throw await de_GitHubAccountTokenDoesNotExistExceptionRes(parsedOutput, context);
|
|
3610
|
-
case "GitHubAccountTokenNameRequiredException":
|
|
3611
|
-
case "com.amazonaws.codedeploy#GitHubAccountTokenNameRequiredException":
|
|
3612
|
-
throw await de_GitHubAccountTokenNameRequiredExceptionRes(parsedOutput, context);
|
|
3613
|
-
case "InvalidGitHubAccountTokenNameException":
|
|
3614
|
-
case "com.amazonaws.codedeploy#InvalidGitHubAccountTokenNameException":
|
|
3615
|
-
throw await de_InvalidGitHubAccountTokenNameExceptionRes(parsedOutput, context);
|
|
3616
|
-
case "OperationNotSupportedException":
|
|
3617
|
-
case "com.amazonaws.codedeploy#OperationNotSupportedException":
|
|
3618
|
-
throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
|
|
3619
|
-
case "ResourceValidationException":
|
|
3620
|
-
case "com.amazonaws.codedeploy#ResourceValidationException":
|
|
3621
|
-
throw await de_ResourceValidationExceptionRes(parsedOutput, context);
|
|
3622
|
-
default:
|
|
3623
|
-
const parsedBody = parsedOutput.body;
|
|
3624
|
-
return throwDefaultError({
|
|
3625
|
-
output,
|
|
3626
|
-
parsedBody,
|
|
3627
|
-
errorCode
|
|
3628
|
-
});
|
|
3629
|
-
}
|
|
3630
|
-
}, "de_DeleteGitHubAccountTokenCommandError");
|
|
3631
2927
|
var de_DeleteResourcesByExternalIdCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3632
2928
|
if (output.statusCode >= 300) {
|
|
3633
|
-
return
|
|
2929
|
+
return de_CommandError(output, context);
|
|
3634
2930
|
}
|
|
3635
|
-
const data = await parseBody(output.body, context);
|
|
3636
|
-
let contents = {};
|
|
3637
|
-
contents = (0, import_smithy_client._json)(data);
|
|
3638
|
-
const response = {
|
|
3639
|
-
$metadata: deserializeMetadata(output),
|
|
3640
|
-
...contents
|
|
3641
|
-
};
|
|
3642
|
-
return response;
|
|
3643
|
-
}, "de_DeleteResourcesByExternalIdCommand");
|
|
3644
|
-
var
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
body: await parseErrorBody(output.body, context)
|
|
3648
|
-
};
|
|
3649
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3650
|
-
const parsedBody = parsedOutput.body;
|
|
3651
|
-
return throwDefaultError({
|
|
3652
|
-
output,
|
|
3653
|
-
parsedBody,
|
|
3654
|
-
errorCode
|
|
3655
|
-
});
|
|
3656
|
-
}, "de_DeleteResourcesByExternalIdCommandError");
|
|
3657
|
-
var de_DeregisterOnPremisesInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3658
|
-
if (output.statusCode >= 300) {
|
|
3659
|
-
return de_DeregisterOnPremisesInstanceCommandError(output, context);
|
|
3660
|
-
}
|
|
3661
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3662
|
-
const response = {
|
|
3663
|
-
$metadata: deserializeMetadata(output)
|
|
3664
|
-
};
|
|
3665
|
-
return response;
|
|
3666
|
-
}, "de_DeregisterOnPremisesInstanceCommand");
|
|
3667
|
-
var de_DeregisterOnPremisesInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3668
|
-
const parsedOutput = {
|
|
3669
|
-
...output,
|
|
3670
|
-
body: await parseErrorBody(output.body, context)
|
|
3671
|
-
};
|
|
3672
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3673
|
-
switch (errorCode) {
|
|
3674
|
-
case "InstanceNameRequiredException":
|
|
3675
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
3676
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
3677
|
-
case "InvalidInstanceNameException":
|
|
3678
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
3679
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
3680
|
-
default:
|
|
3681
|
-
const parsedBody = parsedOutput.body;
|
|
3682
|
-
return throwDefaultError({
|
|
3683
|
-
output,
|
|
3684
|
-
parsedBody,
|
|
3685
|
-
errorCode
|
|
3686
|
-
});
|
|
2931
|
+
const data = await parseBody(output.body, context);
|
|
2932
|
+
let contents = {};
|
|
2933
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2934
|
+
const response = {
|
|
2935
|
+
$metadata: deserializeMetadata(output),
|
|
2936
|
+
...contents
|
|
2937
|
+
};
|
|
2938
|
+
return response;
|
|
2939
|
+
}, "de_DeleteResourcesByExternalIdCommand");
|
|
2940
|
+
var de_DeregisterOnPremisesInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2941
|
+
if (output.statusCode >= 300) {
|
|
2942
|
+
return de_CommandError(output, context);
|
|
3687
2943
|
}
|
|
3688
|
-
|
|
2944
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2945
|
+
const response = {
|
|
2946
|
+
$metadata: deserializeMetadata(output)
|
|
2947
|
+
};
|
|
2948
|
+
return response;
|
|
2949
|
+
}, "de_DeregisterOnPremisesInstanceCommand");
|
|
3689
2950
|
var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3690
2951
|
if (output.statusCode >= 300) {
|
|
3691
|
-
return
|
|
2952
|
+
return de_CommandError(output, context);
|
|
3692
2953
|
}
|
|
3693
2954
|
const data = await parseBody(output.body, context);
|
|
3694
2955
|
let contents = {};
|
|
@@ -3699,34 +2960,9 @@ var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3699
2960
|
};
|
|
3700
2961
|
return response;
|
|
3701
2962
|
}, "de_GetApplicationCommand");
|
|
3702
|
-
var de_GetApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3703
|
-
const parsedOutput = {
|
|
3704
|
-
...output,
|
|
3705
|
-
body: await parseErrorBody(output.body, context)
|
|
3706
|
-
};
|
|
3707
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3708
|
-
switch (errorCode) {
|
|
3709
|
-
case "ApplicationDoesNotExistException":
|
|
3710
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
3711
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
3712
|
-
case "ApplicationNameRequiredException":
|
|
3713
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3714
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3715
|
-
case "InvalidApplicationNameException":
|
|
3716
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3717
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3718
|
-
default:
|
|
3719
|
-
const parsedBody = parsedOutput.body;
|
|
3720
|
-
return throwDefaultError({
|
|
3721
|
-
output,
|
|
3722
|
-
parsedBody,
|
|
3723
|
-
errorCode
|
|
3724
|
-
});
|
|
3725
|
-
}
|
|
3726
|
-
}, "de_GetApplicationCommandError");
|
|
3727
2963
|
var de_GetApplicationRevisionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3728
2964
|
if (output.statusCode >= 300) {
|
|
3729
|
-
return
|
|
2965
|
+
return de_CommandError(output, context);
|
|
3730
2966
|
}
|
|
3731
2967
|
const data = await parseBody(output.body, context);
|
|
3732
2968
|
let contents = {};
|
|
@@ -3737,43 +2973,9 @@ var de_GetApplicationRevisionCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3737
2973
|
};
|
|
3738
2974
|
return response;
|
|
3739
2975
|
}, "de_GetApplicationRevisionCommand");
|
|
3740
|
-
var de_GetApplicationRevisionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3741
|
-
const parsedOutput = {
|
|
3742
|
-
...output,
|
|
3743
|
-
body: await parseErrorBody(output.body, context)
|
|
3744
|
-
};
|
|
3745
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3746
|
-
switch (errorCode) {
|
|
3747
|
-
case "ApplicationDoesNotExistException":
|
|
3748
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
3749
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
3750
|
-
case "ApplicationNameRequiredException":
|
|
3751
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3752
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3753
|
-
case "InvalidApplicationNameException":
|
|
3754
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3755
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3756
|
-
case "InvalidRevisionException":
|
|
3757
|
-
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
3758
|
-
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
3759
|
-
case "RevisionDoesNotExistException":
|
|
3760
|
-
case "com.amazonaws.codedeploy#RevisionDoesNotExistException":
|
|
3761
|
-
throw await de_RevisionDoesNotExistExceptionRes(parsedOutput, context);
|
|
3762
|
-
case "RevisionRequiredException":
|
|
3763
|
-
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
3764
|
-
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
3765
|
-
default:
|
|
3766
|
-
const parsedBody = parsedOutput.body;
|
|
3767
|
-
return throwDefaultError({
|
|
3768
|
-
output,
|
|
3769
|
-
parsedBody,
|
|
3770
|
-
errorCode
|
|
3771
|
-
});
|
|
3772
|
-
}
|
|
3773
|
-
}, "de_GetApplicationRevisionCommandError");
|
|
3774
2976
|
var de_GetDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3775
2977
|
if (output.statusCode >= 300) {
|
|
3776
|
-
return
|
|
2978
|
+
return de_CommandError(output, context);
|
|
3777
2979
|
}
|
|
3778
2980
|
const data = await parseBody(output.body, context);
|
|
3779
2981
|
let contents = {};
|
|
@@ -3784,34 +2986,9 @@ var de_GetDeploymentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3784
2986
|
};
|
|
3785
2987
|
return response;
|
|
3786
2988
|
}, "de_GetDeploymentCommand");
|
|
3787
|
-
var de_GetDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3788
|
-
const parsedOutput = {
|
|
3789
|
-
...output,
|
|
3790
|
-
body: await parseErrorBody(output.body, context)
|
|
3791
|
-
};
|
|
3792
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3793
|
-
switch (errorCode) {
|
|
3794
|
-
case "DeploymentDoesNotExistException":
|
|
3795
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
3796
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
3797
|
-
case "DeploymentIdRequiredException":
|
|
3798
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
3799
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
3800
|
-
case "InvalidDeploymentIdException":
|
|
3801
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
3802
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
3803
|
-
default:
|
|
3804
|
-
const parsedBody = parsedOutput.body;
|
|
3805
|
-
return throwDefaultError({
|
|
3806
|
-
output,
|
|
3807
|
-
parsedBody,
|
|
3808
|
-
errorCode
|
|
3809
|
-
});
|
|
3810
|
-
}
|
|
3811
|
-
}, "de_GetDeploymentCommandError");
|
|
3812
2989
|
var de_GetDeploymentConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3813
2990
|
if (output.statusCode >= 300) {
|
|
3814
|
-
return
|
|
2991
|
+
return de_CommandError(output, context);
|
|
3815
2992
|
}
|
|
3816
2993
|
const data = await parseBody(output.body, context);
|
|
3817
2994
|
let contents = {};
|
|
@@ -3822,37 +2999,9 @@ var de_GetDeploymentConfigCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3822
2999
|
};
|
|
3823
3000
|
return response;
|
|
3824
3001
|
}, "de_GetDeploymentConfigCommand");
|
|
3825
|
-
var de_GetDeploymentConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3826
|
-
const parsedOutput = {
|
|
3827
|
-
...output,
|
|
3828
|
-
body: await parseErrorBody(output.body, context)
|
|
3829
|
-
};
|
|
3830
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3831
|
-
switch (errorCode) {
|
|
3832
|
-
case "DeploymentConfigDoesNotExistException":
|
|
3833
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
3834
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
3835
|
-
case "DeploymentConfigNameRequiredException":
|
|
3836
|
-
case "com.amazonaws.codedeploy#DeploymentConfigNameRequiredException":
|
|
3837
|
-
throw await de_DeploymentConfigNameRequiredExceptionRes(parsedOutput, context);
|
|
3838
|
-
case "InvalidComputePlatformException":
|
|
3839
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
3840
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
3841
|
-
case "InvalidDeploymentConfigNameException":
|
|
3842
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
3843
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
3844
|
-
default:
|
|
3845
|
-
const parsedBody = parsedOutput.body;
|
|
3846
|
-
return throwDefaultError({
|
|
3847
|
-
output,
|
|
3848
|
-
parsedBody,
|
|
3849
|
-
errorCode
|
|
3850
|
-
});
|
|
3851
|
-
}
|
|
3852
|
-
}, "de_GetDeploymentConfigCommandError");
|
|
3853
3002
|
var de_GetDeploymentGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3854
3003
|
if (output.statusCode >= 300) {
|
|
3855
|
-
return
|
|
3004
|
+
return de_CommandError(output, context);
|
|
3856
3005
|
}
|
|
3857
3006
|
const data = await parseBody(output.body, context);
|
|
3858
3007
|
let contents = {};
|
|
@@ -3863,46 +3012,9 @@ var de_GetDeploymentGroupCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3863
3012
|
};
|
|
3864
3013
|
return response;
|
|
3865
3014
|
}, "de_GetDeploymentGroupCommand");
|
|
3866
|
-
var de_GetDeploymentGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3867
|
-
const parsedOutput = {
|
|
3868
|
-
...output,
|
|
3869
|
-
body: await parseErrorBody(output.body, context)
|
|
3870
|
-
};
|
|
3871
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3872
|
-
switch (errorCode) {
|
|
3873
|
-
case "ApplicationDoesNotExistException":
|
|
3874
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
3875
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
3876
|
-
case "ApplicationNameRequiredException":
|
|
3877
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3878
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3879
|
-
case "DeploymentConfigDoesNotExistException":
|
|
3880
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
3881
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
3882
|
-
case "DeploymentGroupDoesNotExistException":
|
|
3883
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
3884
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
3885
|
-
case "DeploymentGroupNameRequiredException":
|
|
3886
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
3887
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
3888
|
-
case "InvalidApplicationNameException":
|
|
3889
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3890
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3891
|
-
case "InvalidDeploymentGroupNameException":
|
|
3892
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
3893
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
3894
|
-
default:
|
|
3895
|
-
const parsedBody = parsedOutput.body;
|
|
3896
|
-
return throwDefaultError({
|
|
3897
|
-
output,
|
|
3898
|
-
parsedBody,
|
|
3899
|
-
errorCode
|
|
3900
|
-
});
|
|
3901
|
-
}
|
|
3902
|
-
}, "de_GetDeploymentGroupCommandError");
|
|
3903
3015
|
var de_GetDeploymentInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3904
3016
|
if (output.statusCode >= 300) {
|
|
3905
|
-
return
|
|
3017
|
+
return de_CommandError(output, context);
|
|
3906
3018
|
}
|
|
3907
3019
|
const data = await parseBody(output.body, context);
|
|
3908
3020
|
let contents = {};
|
|
@@ -3913,46 +3025,9 @@ var de_GetDeploymentInstanceCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3913
3025
|
};
|
|
3914
3026
|
return response;
|
|
3915
3027
|
}, "de_GetDeploymentInstanceCommand");
|
|
3916
|
-
var de_GetDeploymentInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3917
|
-
const parsedOutput = {
|
|
3918
|
-
...output,
|
|
3919
|
-
body: await parseErrorBody(output.body, context)
|
|
3920
|
-
};
|
|
3921
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3922
|
-
switch (errorCode) {
|
|
3923
|
-
case "DeploymentDoesNotExistException":
|
|
3924
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
3925
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
3926
|
-
case "DeploymentIdRequiredException":
|
|
3927
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
3928
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
3929
|
-
case "InstanceDoesNotExistException":
|
|
3930
|
-
case "com.amazonaws.codedeploy#InstanceDoesNotExistException":
|
|
3931
|
-
throw await de_InstanceDoesNotExistExceptionRes(parsedOutput, context);
|
|
3932
|
-
case "InstanceIdRequiredException":
|
|
3933
|
-
case "com.amazonaws.codedeploy#InstanceIdRequiredException":
|
|
3934
|
-
throw await de_InstanceIdRequiredExceptionRes(parsedOutput, context);
|
|
3935
|
-
case "InvalidComputePlatformException":
|
|
3936
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
3937
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
3938
|
-
case "InvalidDeploymentIdException":
|
|
3939
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
3940
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
3941
|
-
case "InvalidInstanceNameException":
|
|
3942
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
3943
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
3944
|
-
default:
|
|
3945
|
-
const parsedBody = parsedOutput.body;
|
|
3946
|
-
return throwDefaultError({
|
|
3947
|
-
output,
|
|
3948
|
-
parsedBody,
|
|
3949
|
-
errorCode
|
|
3950
|
-
});
|
|
3951
|
-
}
|
|
3952
|
-
}, "de_GetDeploymentInstanceCommandError");
|
|
3953
3028
|
var de_GetDeploymentTargetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3954
3029
|
if (output.statusCode >= 300) {
|
|
3955
|
-
return
|
|
3030
|
+
return de_CommandError(output, context);
|
|
3956
3031
|
}
|
|
3957
3032
|
const data = await parseBody(output.body, context);
|
|
3958
3033
|
let contents = {};
|
|
@@ -3963,87 +3038,22 @@ var de_GetDeploymentTargetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3963
3038
|
};
|
|
3964
3039
|
return response;
|
|
3965
3040
|
}, "de_GetDeploymentTargetCommand");
|
|
3966
|
-
var de_GetDeploymentTargetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3967
|
-
const parsedOutput = {
|
|
3968
|
-
...output,
|
|
3969
|
-
body: await parseErrorBody(output.body, context)
|
|
3970
|
-
};
|
|
3971
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3972
|
-
switch (errorCode) {
|
|
3973
|
-
case "DeploymentDoesNotExistException":
|
|
3974
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
3975
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
3976
|
-
case "DeploymentIdRequiredException":
|
|
3977
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
3978
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
3979
|
-
case "DeploymentNotStartedException":
|
|
3980
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
3981
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
3982
|
-
case "DeploymentTargetDoesNotExistException":
|
|
3983
|
-
case "com.amazonaws.codedeploy#DeploymentTargetDoesNotExistException":
|
|
3984
|
-
throw await de_DeploymentTargetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3985
|
-
case "DeploymentTargetIdRequiredException":
|
|
3986
|
-
case "com.amazonaws.codedeploy#DeploymentTargetIdRequiredException":
|
|
3987
|
-
throw await de_DeploymentTargetIdRequiredExceptionRes(parsedOutput, context);
|
|
3988
|
-
case "InvalidDeploymentIdException":
|
|
3989
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
3990
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
3991
|
-
case "InvalidDeploymentTargetIdException":
|
|
3992
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentTargetIdException":
|
|
3993
|
-
throw await de_InvalidDeploymentTargetIdExceptionRes(parsedOutput, context);
|
|
3994
|
-
case "InvalidInstanceNameException":
|
|
3995
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
3996
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
3997
|
-
default:
|
|
3998
|
-
const parsedBody = parsedOutput.body;
|
|
3999
|
-
return throwDefaultError({
|
|
4000
|
-
output,
|
|
4001
|
-
parsedBody,
|
|
4002
|
-
errorCode
|
|
4003
|
-
});
|
|
4004
|
-
}
|
|
4005
|
-
}, "de_GetDeploymentTargetCommandError");
|
|
4006
3041
|
var de_GetOnPremisesInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4007
3042
|
if (output.statusCode >= 300) {
|
|
4008
|
-
return
|
|
3043
|
+
return de_CommandError(output, context);
|
|
4009
3044
|
}
|
|
4010
3045
|
const data = await parseBody(output.body, context);
|
|
4011
3046
|
let contents = {};
|
|
4012
3047
|
contents = de_GetOnPremisesInstanceOutput(data, context);
|
|
4013
3048
|
const response = {
|
|
4014
3049
|
$metadata: deserializeMetadata(output),
|
|
4015
|
-
...contents
|
|
4016
|
-
};
|
|
4017
|
-
return response;
|
|
4018
|
-
}, "de_GetOnPremisesInstanceCommand");
|
|
4019
|
-
var de_GetOnPremisesInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4020
|
-
const parsedOutput = {
|
|
4021
|
-
...output,
|
|
4022
|
-
body: await parseErrorBody(output.body, context)
|
|
4023
|
-
};
|
|
4024
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4025
|
-
switch (errorCode) {
|
|
4026
|
-
case "InstanceNameRequiredException":
|
|
4027
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
4028
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
4029
|
-
case "InstanceNotRegisteredException":
|
|
4030
|
-
case "com.amazonaws.codedeploy#InstanceNotRegisteredException":
|
|
4031
|
-
throw await de_InstanceNotRegisteredExceptionRes(parsedOutput, context);
|
|
4032
|
-
case "InvalidInstanceNameException":
|
|
4033
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
4034
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
4035
|
-
default:
|
|
4036
|
-
const parsedBody = parsedOutput.body;
|
|
4037
|
-
return throwDefaultError({
|
|
4038
|
-
output,
|
|
4039
|
-
parsedBody,
|
|
4040
|
-
errorCode
|
|
4041
|
-
});
|
|
4042
|
-
}
|
|
4043
|
-
}, "de_GetOnPremisesInstanceCommandError");
|
|
3050
|
+
...contents
|
|
3051
|
+
};
|
|
3052
|
+
return response;
|
|
3053
|
+
}, "de_GetOnPremisesInstanceCommand");
|
|
4044
3054
|
var de_ListApplicationRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4045
3055
|
if (output.statusCode >= 300) {
|
|
4046
|
-
return
|
|
3056
|
+
return de_CommandError(output, context);
|
|
4047
3057
|
}
|
|
4048
3058
|
const data = await parseBody(output.body, context);
|
|
4049
3059
|
let contents = {};
|
|
@@ -4054,55 +3064,9 @@ var de_ListApplicationRevisionsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4054
3064
|
};
|
|
4055
3065
|
return response;
|
|
4056
3066
|
}, "de_ListApplicationRevisionsCommand");
|
|
4057
|
-
var de_ListApplicationRevisionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4058
|
-
const parsedOutput = {
|
|
4059
|
-
...output,
|
|
4060
|
-
body: await parseErrorBody(output.body, context)
|
|
4061
|
-
};
|
|
4062
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4063
|
-
switch (errorCode) {
|
|
4064
|
-
case "ApplicationDoesNotExistException":
|
|
4065
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
4066
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
4067
|
-
case "ApplicationNameRequiredException":
|
|
4068
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
4069
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
4070
|
-
case "BucketNameFilterRequiredException":
|
|
4071
|
-
case "com.amazonaws.codedeploy#BucketNameFilterRequiredException":
|
|
4072
|
-
throw await de_BucketNameFilterRequiredExceptionRes(parsedOutput, context);
|
|
4073
|
-
case "InvalidApplicationNameException":
|
|
4074
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
4075
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
4076
|
-
case "InvalidBucketNameFilterException":
|
|
4077
|
-
case "com.amazonaws.codedeploy#InvalidBucketNameFilterException":
|
|
4078
|
-
throw await de_InvalidBucketNameFilterExceptionRes(parsedOutput, context);
|
|
4079
|
-
case "InvalidDeployedStateFilterException":
|
|
4080
|
-
case "com.amazonaws.codedeploy#InvalidDeployedStateFilterException":
|
|
4081
|
-
throw await de_InvalidDeployedStateFilterExceptionRes(parsedOutput, context);
|
|
4082
|
-
case "InvalidKeyPrefixFilterException":
|
|
4083
|
-
case "com.amazonaws.codedeploy#InvalidKeyPrefixFilterException":
|
|
4084
|
-
throw await de_InvalidKeyPrefixFilterExceptionRes(parsedOutput, context);
|
|
4085
|
-
case "InvalidNextTokenException":
|
|
4086
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4087
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4088
|
-
case "InvalidSortByException":
|
|
4089
|
-
case "com.amazonaws.codedeploy#InvalidSortByException":
|
|
4090
|
-
throw await de_InvalidSortByExceptionRes(parsedOutput, context);
|
|
4091
|
-
case "InvalidSortOrderException":
|
|
4092
|
-
case "com.amazonaws.codedeploy#InvalidSortOrderException":
|
|
4093
|
-
throw await de_InvalidSortOrderExceptionRes(parsedOutput, context);
|
|
4094
|
-
default:
|
|
4095
|
-
const parsedBody = parsedOutput.body;
|
|
4096
|
-
return throwDefaultError({
|
|
4097
|
-
output,
|
|
4098
|
-
parsedBody,
|
|
4099
|
-
errorCode
|
|
4100
|
-
});
|
|
4101
|
-
}
|
|
4102
|
-
}, "de_ListApplicationRevisionsCommandError");
|
|
4103
3067
|
var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4104
3068
|
if (output.statusCode >= 300) {
|
|
4105
|
-
return
|
|
3069
|
+
return de_CommandError(output, context);
|
|
4106
3070
|
}
|
|
4107
3071
|
const data = await parseBody(output.body, context);
|
|
4108
3072
|
let contents = {};
|
|
@@ -4113,28 +3077,9 @@ var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4113
3077
|
};
|
|
4114
3078
|
return response;
|
|
4115
3079
|
}, "de_ListApplicationsCommand");
|
|
4116
|
-
var de_ListApplicationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4117
|
-
const parsedOutput = {
|
|
4118
|
-
...output,
|
|
4119
|
-
body: await parseErrorBody(output.body, context)
|
|
4120
|
-
};
|
|
4121
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4122
|
-
switch (errorCode) {
|
|
4123
|
-
case "InvalidNextTokenException":
|
|
4124
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4125
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4126
|
-
default:
|
|
4127
|
-
const parsedBody = parsedOutput.body;
|
|
4128
|
-
return throwDefaultError({
|
|
4129
|
-
output,
|
|
4130
|
-
parsedBody,
|
|
4131
|
-
errorCode
|
|
4132
|
-
});
|
|
4133
|
-
}
|
|
4134
|
-
}, "de_ListApplicationsCommandError");
|
|
4135
3080
|
var de_ListDeploymentConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4136
3081
|
if (output.statusCode >= 300) {
|
|
4137
|
-
return
|
|
3082
|
+
return de_CommandError(output, context);
|
|
4138
3083
|
}
|
|
4139
3084
|
const data = await parseBody(output.body, context);
|
|
4140
3085
|
let contents = {};
|
|
@@ -4145,28 +3090,9 @@ var de_ListDeploymentConfigsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
4145
3090
|
};
|
|
4146
3091
|
return response;
|
|
4147
3092
|
}, "de_ListDeploymentConfigsCommand");
|
|
4148
|
-
var de_ListDeploymentConfigsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4149
|
-
const parsedOutput = {
|
|
4150
|
-
...output,
|
|
4151
|
-
body: await parseErrorBody(output.body, context)
|
|
4152
|
-
};
|
|
4153
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4154
|
-
switch (errorCode) {
|
|
4155
|
-
case "InvalidNextTokenException":
|
|
4156
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4157
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4158
|
-
default:
|
|
4159
|
-
const parsedBody = parsedOutput.body;
|
|
4160
|
-
return throwDefaultError({
|
|
4161
|
-
output,
|
|
4162
|
-
parsedBody,
|
|
4163
|
-
errorCode
|
|
4164
|
-
});
|
|
4165
|
-
}
|
|
4166
|
-
}, "de_ListDeploymentConfigsCommandError");
|
|
4167
3093
|
var de_ListDeploymentGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4168
3094
|
if (output.statusCode >= 300) {
|
|
4169
|
-
return
|
|
3095
|
+
return de_CommandError(output, context);
|
|
4170
3096
|
}
|
|
4171
3097
|
const data = await parseBody(output.body, context);
|
|
4172
3098
|
let contents = {};
|
|
@@ -4177,37 +3103,9 @@ var de_ListDeploymentGroupsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4177
3103
|
};
|
|
4178
3104
|
return response;
|
|
4179
3105
|
}, "de_ListDeploymentGroupsCommand");
|
|
4180
|
-
var de_ListDeploymentGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4181
|
-
const parsedOutput = {
|
|
4182
|
-
...output,
|
|
4183
|
-
body: await parseErrorBody(output.body, context)
|
|
4184
|
-
};
|
|
4185
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4186
|
-
switch (errorCode) {
|
|
4187
|
-
case "ApplicationDoesNotExistException":
|
|
4188
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
4189
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
4190
|
-
case "ApplicationNameRequiredException":
|
|
4191
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
4192
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
4193
|
-
case "InvalidApplicationNameException":
|
|
4194
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
4195
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
4196
|
-
case "InvalidNextTokenException":
|
|
4197
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4198
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4199
|
-
default:
|
|
4200
|
-
const parsedBody = parsedOutput.body;
|
|
4201
|
-
return throwDefaultError({
|
|
4202
|
-
output,
|
|
4203
|
-
parsedBody,
|
|
4204
|
-
errorCode
|
|
4205
|
-
});
|
|
4206
|
-
}
|
|
4207
|
-
}, "de_ListDeploymentGroupsCommandError");
|
|
4208
3106
|
var de_ListDeploymentInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4209
3107
|
if (output.statusCode >= 300) {
|
|
4210
|
-
return
|
|
3108
|
+
return de_CommandError(output, context);
|
|
4211
3109
|
}
|
|
4212
3110
|
const data = await parseBody(output.body, context);
|
|
4213
3111
|
let contents = {};
|
|
@@ -4218,173 +3116,35 @@ var de_ListDeploymentInstancesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4218
3116
|
};
|
|
4219
3117
|
return response;
|
|
4220
3118
|
}, "de_ListDeploymentInstancesCommand");
|
|
4221
|
-
var de_ListDeploymentInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4222
|
-
const parsedOutput = {
|
|
4223
|
-
...output,
|
|
4224
|
-
body: await parseErrorBody(output.body, context)
|
|
4225
|
-
};
|
|
4226
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4227
|
-
switch (errorCode) {
|
|
4228
|
-
case "DeploymentDoesNotExistException":
|
|
4229
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
4230
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
4231
|
-
case "DeploymentIdRequiredException":
|
|
4232
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
4233
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
4234
|
-
case "DeploymentNotStartedException":
|
|
4235
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
4236
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
4237
|
-
case "InvalidComputePlatformException":
|
|
4238
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
4239
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
4240
|
-
case "InvalidDeploymentIdException":
|
|
4241
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
4242
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
4243
|
-
case "InvalidDeploymentInstanceTypeException":
|
|
4244
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentInstanceTypeException":
|
|
4245
|
-
throw await de_InvalidDeploymentInstanceTypeExceptionRes(parsedOutput, context);
|
|
4246
|
-
case "InvalidInstanceStatusException":
|
|
4247
|
-
case "com.amazonaws.codedeploy#InvalidInstanceStatusException":
|
|
4248
|
-
throw await de_InvalidInstanceStatusExceptionRes(parsedOutput, context);
|
|
4249
|
-
case "InvalidInstanceTypeException":
|
|
4250
|
-
case "com.amazonaws.codedeploy#InvalidInstanceTypeException":
|
|
4251
|
-
throw await de_InvalidInstanceTypeExceptionRes(parsedOutput, context);
|
|
4252
|
-
case "InvalidNextTokenException":
|
|
4253
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4254
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4255
|
-
case "InvalidTargetFilterNameException":
|
|
4256
|
-
case "com.amazonaws.codedeploy#InvalidTargetFilterNameException":
|
|
4257
|
-
throw await de_InvalidTargetFilterNameExceptionRes(parsedOutput, context);
|
|
4258
|
-
default:
|
|
4259
|
-
const parsedBody = parsedOutput.body;
|
|
4260
|
-
return throwDefaultError({
|
|
4261
|
-
output,
|
|
4262
|
-
parsedBody,
|
|
4263
|
-
errorCode
|
|
4264
|
-
});
|
|
4265
|
-
}
|
|
4266
|
-
}, "de_ListDeploymentInstancesCommandError");
|
|
4267
3119
|
var de_ListDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4268
3120
|
if (output.statusCode >= 300) {
|
|
4269
|
-
return
|
|
4270
|
-
}
|
|
4271
|
-
const data = await parseBody(output.body, context);
|
|
4272
|
-
let contents = {};
|
|
4273
|
-
contents = (0, import_smithy_client._json)(data);
|
|
4274
|
-
const response = {
|
|
4275
|
-
$metadata: deserializeMetadata(output),
|
|
4276
|
-
...contents
|
|
4277
|
-
};
|
|
4278
|
-
return response;
|
|
4279
|
-
}, "de_ListDeploymentsCommand");
|
|
4280
|
-
var de_ListDeploymentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4281
|
-
const parsedOutput = {
|
|
4282
|
-
...output,
|
|
4283
|
-
body: await parseErrorBody(output.body, context)
|
|
4284
|
-
};
|
|
4285
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4286
|
-
switch (errorCode) {
|
|
4287
|
-
case "ApplicationDoesNotExistException":
|
|
4288
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
4289
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
4290
|
-
case "ApplicationNameRequiredException":
|
|
4291
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
4292
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
4293
|
-
case "DeploymentGroupDoesNotExistException":
|
|
4294
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
4295
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
4296
|
-
case "DeploymentGroupNameRequiredException":
|
|
4297
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
4298
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
4299
|
-
case "InvalidApplicationNameException":
|
|
4300
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
4301
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
4302
|
-
case "InvalidDeploymentGroupNameException":
|
|
4303
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
4304
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
4305
|
-
case "InvalidDeploymentStatusException":
|
|
4306
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentStatusException":
|
|
4307
|
-
throw await de_InvalidDeploymentStatusExceptionRes(parsedOutput, context);
|
|
4308
|
-
case "InvalidExternalIdException":
|
|
4309
|
-
case "com.amazonaws.codedeploy#InvalidExternalIdException":
|
|
4310
|
-
throw await de_InvalidExternalIdExceptionRes(parsedOutput, context);
|
|
4311
|
-
case "InvalidInputException":
|
|
4312
|
-
case "com.amazonaws.codedeploy#InvalidInputException":
|
|
4313
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
4314
|
-
case "InvalidNextTokenException":
|
|
4315
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4316
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4317
|
-
case "InvalidTimeRangeException":
|
|
4318
|
-
case "com.amazonaws.codedeploy#InvalidTimeRangeException":
|
|
4319
|
-
throw await de_InvalidTimeRangeExceptionRes(parsedOutput, context);
|
|
4320
|
-
default:
|
|
4321
|
-
const parsedBody = parsedOutput.body;
|
|
4322
|
-
return throwDefaultError({
|
|
4323
|
-
output,
|
|
4324
|
-
parsedBody,
|
|
4325
|
-
errorCode
|
|
4326
|
-
});
|
|
4327
|
-
}
|
|
4328
|
-
}, "de_ListDeploymentsCommandError");
|
|
4329
|
-
var de_ListDeploymentTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4330
|
-
if (output.statusCode >= 300) {
|
|
4331
|
-
return de_ListDeploymentTargetsCommandError(output, context);
|
|
3121
|
+
return de_CommandError(output, context);
|
|
4332
3122
|
}
|
|
4333
3123
|
const data = await parseBody(output.body, context);
|
|
4334
3124
|
let contents = {};
|
|
4335
3125
|
contents = (0, import_smithy_client._json)(data);
|
|
4336
3126
|
const response = {
|
|
4337
|
-
$metadata: deserializeMetadata(output),
|
|
4338
|
-
...contents
|
|
4339
|
-
};
|
|
4340
|
-
return response;
|
|
4341
|
-
}, "
|
|
4342
|
-
var
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
body: await parseErrorBody(output.body, context)
|
|
4346
|
-
};
|
|
4347
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4348
|
-
switch (errorCode) {
|
|
4349
|
-
case "DeploymentDoesNotExistException":
|
|
4350
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
4351
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
4352
|
-
case "DeploymentIdRequiredException":
|
|
4353
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
4354
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
4355
|
-
case "DeploymentNotStartedException":
|
|
4356
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
4357
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
4358
|
-
case "InvalidDeploymentIdException":
|
|
4359
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
4360
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
4361
|
-
case "InvalidDeploymentInstanceTypeException":
|
|
4362
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentInstanceTypeException":
|
|
4363
|
-
throw await de_InvalidDeploymentInstanceTypeExceptionRes(parsedOutput, context);
|
|
4364
|
-
case "InvalidInstanceStatusException":
|
|
4365
|
-
case "com.amazonaws.codedeploy#InvalidInstanceStatusException":
|
|
4366
|
-
throw await de_InvalidInstanceStatusExceptionRes(parsedOutput, context);
|
|
4367
|
-
case "InvalidInstanceTypeException":
|
|
4368
|
-
case "com.amazonaws.codedeploy#InvalidInstanceTypeException":
|
|
4369
|
-
throw await de_InvalidInstanceTypeExceptionRes(parsedOutput, context);
|
|
4370
|
-
case "InvalidNextTokenException":
|
|
4371
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4372
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4373
|
-
case "InvalidTargetFilterNameException":
|
|
4374
|
-
case "com.amazonaws.codedeploy#InvalidTargetFilterNameException":
|
|
4375
|
-
throw await de_InvalidTargetFilterNameExceptionRes(parsedOutput, context);
|
|
4376
|
-
default:
|
|
4377
|
-
const parsedBody = parsedOutput.body;
|
|
4378
|
-
return throwDefaultError({
|
|
4379
|
-
output,
|
|
4380
|
-
parsedBody,
|
|
4381
|
-
errorCode
|
|
4382
|
-
});
|
|
3127
|
+
$metadata: deserializeMetadata(output),
|
|
3128
|
+
...contents
|
|
3129
|
+
};
|
|
3130
|
+
return response;
|
|
3131
|
+
}, "de_ListDeploymentsCommand");
|
|
3132
|
+
var de_ListDeploymentTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3133
|
+
if (output.statusCode >= 300) {
|
|
3134
|
+
return de_CommandError(output, context);
|
|
4383
3135
|
}
|
|
4384
|
-
|
|
3136
|
+
const data = await parseBody(output.body, context);
|
|
3137
|
+
let contents = {};
|
|
3138
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3139
|
+
const response = {
|
|
3140
|
+
$metadata: deserializeMetadata(output),
|
|
3141
|
+
...contents
|
|
3142
|
+
};
|
|
3143
|
+
return response;
|
|
3144
|
+
}, "de_ListDeploymentTargetsCommand");
|
|
4385
3145
|
var de_ListGitHubAccountTokenNamesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4386
3146
|
if (output.statusCode >= 300) {
|
|
4387
|
-
return
|
|
3147
|
+
return de_CommandError(output, context);
|
|
4388
3148
|
}
|
|
4389
3149
|
const data = await parseBody(output.body, context);
|
|
4390
3150
|
let contents = {};
|
|
@@ -4395,34 +3155,9 @@ var de_ListGitHubAccountTokenNamesCommand = /* @__PURE__ */ __name(async (output
|
|
|
4395
3155
|
};
|
|
4396
3156
|
return response;
|
|
4397
3157
|
}, "de_ListGitHubAccountTokenNamesCommand");
|
|
4398
|
-
var de_ListGitHubAccountTokenNamesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4399
|
-
const parsedOutput = {
|
|
4400
|
-
...output,
|
|
4401
|
-
body: await parseErrorBody(output.body, context)
|
|
4402
|
-
};
|
|
4403
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4404
|
-
switch (errorCode) {
|
|
4405
|
-
case "InvalidNextTokenException":
|
|
4406
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4407
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4408
|
-
case "OperationNotSupportedException":
|
|
4409
|
-
case "com.amazonaws.codedeploy#OperationNotSupportedException":
|
|
4410
|
-
throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
|
|
4411
|
-
case "ResourceValidationException":
|
|
4412
|
-
case "com.amazonaws.codedeploy#ResourceValidationException":
|
|
4413
|
-
throw await de_ResourceValidationExceptionRes(parsedOutput, context);
|
|
4414
|
-
default:
|
|
4415
|
-
const parsedBody = parsedOutput.body;
|
|
4416
|
-
return throwDefaultError({
|
|
4417
|
-
output,
|
|
4418
|
-
parsedBody,
|
|
4419
|
-
errorCode
|
|
4420
|
-
});
|
|
4421
|
-
}
|
|
4422
|
-
}, "de_ListGitHubAccountTokenNamesCommandError");
|
|
4423
3158
|
var de_ListOnPremisesInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4424
3159
|
if (output.statusCode >= 300) {
|
|
4425
|
-
return
|
|
3160
|
+
return de_CommandError(output, context);
|
|
4426
3161
|
}
|
|
4427
3162
|
const data = await parseBody(output.body, context);
|
|
4428
3163
|
let contents = {};
|
|
@@ -4433,34 +3168,9 @@ var de_ListOnPremisesInstancesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4433
3168
|
};
|
|
4434
3169
|
return response;
|
|
4435
3170
|
}, "de_ListOnPremisesInstancesCommand");
|
|
4436
|
-
var de_ListOnPremisesInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4437
|
-
const parsedOutput = {
|
|
4438
|
-
...output,
|
|
4439
|
-
body: await parseErrorBody(output.body, context)
|
|
4440
|
-
};
|
|
4441
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4442
|
-
switch (errorCode) {
|
|
4443
|
-
case "InvalidNextTokenException":
|
|
4444
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
4445
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
4446
|
-
case "InvalidRegistrationStatusException":
|
|
4447
|
-
case "com.amazonaws.codedeploy#InvalidRegistrationStatusException":
|
|
4448
|
-
throw await de_InvalidRegistrationStatusExceptionRes(parsedOutput, context);
|
|
4449
|
-
case "InvalidTagFilterException":
|
|
4450
|
-
case "com.amazonaws.codedeploy#InvalidTagFilterException":
|
|
4451
|
-
throw await de_InvalidTagFilterExceptionRes(parsedOutput, context);
|
|
4452
|
-
default:
|
|
4453
|
-
const parsedBody = parsedOutput.body;
|
|
4454
|
-
return throwDefaultError({
|
|
4455
|
-
output,
|
|
4456
|
-
parsedBody,
|
|
4457
|
-
errorCode
|
|
4458
|
-
});
|
|
4459
|
-
}
|
|
4460
|
-
}, "de_ListOnPremisesInstancesCommandError");
|
|
4461
3171
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4462
3172
|
if (output.statusCode >= 300) {
|
|
4463
|
-
return
|
|
3173
|
+
return de_CommandError(output, context);
|
|
4464
3174
|
}
|
|
4465
3175
|
const data = await parseBody(output.body, context);
|
|
4466
3176
|
let contents = {};
|
|
@@ -4471,34 +3181,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4471
3181
|
};
|
|
4472
3182
|
return response;
|
|
4473
3183
|
}, "de_ListTagsForResourceCommand");
|
|
4474
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4475
|
-
const parsedOutput = {
|
|
4476
|
-
...output,
|
|
4477
|
-
body: await parseErrorBody(output.body, context)
|
|
4478
|
-
};
|
|
4479
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4480
|
-
switch (errorCode) {
|
|
4481
|
-
case "ArnNotSupportedException":
|
|
4482
|
-
case "com.amazonaws.codedeploy#ArnNotSupportedException":
|
|
4483
|
-
throw await de_ArnNotSupportedExceptionRes(parsedOutput, context);
|
|
4484
|
-
case "InvalidArnException":
|
|
4485
|
-
case "com.amazonaws.codedeploy#InvalidArnException":
|
|
4486
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
4487
|
-
case "ResourceArnRequiredException":
|
|
4488
|
-
case "com.amazonaws.codedeploy#ResourceArnRequiredException":
|
|
4489
|
-
throw await de_ResourceArnRequiredExceptionRes(parsedOutput, context);
|
|
4490
|
-
default:
|
|
4491
|
-
const parsedBody = parsedOutput.body;
|
|
4492
|
-
return throwDefaultError({
|
|
4493
|
-
output,
|
|
4494
|
-
parsedBody,
|
|
4495
|
-
errorCode
|
|
4496
|
-
});
|
|
4497
|
-
}
|
|
4498
|
-
}, "de_ListTagsForResourceCommandError");
|
|
4499
3184
|
var de_PutLifecycleEventHookExecutionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4500
3185
|
if (output.statusCode >= 300) {
|
|
4501
|
-
return
|
|
3186
|
+
return de_CommandError(output, context);
|
|
4502
3187
|
}
|
|
4503
3188
|
const data = await parseBody(output.body, context);
|
|
4504
3189
|
let contents = {};
|
|
@@ -4509,237 +3194,49 @@ var de_PutLifecycleEventHookExecutionStatusCommand = /* @__PURE__ */ __name(asyn
|
|
|
4509
3194
|
};
|
|
4510
3195
|
return response;
|
|
4511
3196
|
}, "de_PutLifecycleEventHookExecutionStatusCommand");
|
|
4512
|
-
var de_PutLifecycleEventHookExecutionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4513
|
-
const parsedOutput = {
|
|
4514
|
-
...output,
|
|
4515
|
-
body: await parseErrorBody(output.body, context)
|
|
4516
|
-
};
|
|
4517
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4518
|
-
switch (errorCode) {
|
|
4519
|
-
case "DeploymentDoesNotExistException":
|
|
4520
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
4521
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
4522
|
-
case "DeploymentIdRequiredException":
|
|
4523
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
4524
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
4525
|
-
case "InvalidDeploymentIdException":
|
|
4526
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
4527
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
4528
|
-
case "InvalidLifecycleEventHookExecutionIdException":
|
|
4529
|
-
case "com.amazonaws.codedeploy#InvalidLifecycleEventHookExecutionIdException":
|
|
4530
|
-
throw await de_InvalidLifecycleEventHookExecutionIdExceptionRes(parsedOutput, context);
|
|
4531
|
-
case "InvalidLifecycleEventHookExecutionStatusException":
|
|
4532
|
-
case "com.amazonaws.codedeploy#InvalidLifecycleEventHookExecutionStatusException":
|
|
4533
|
-
throw await de_InvalidLifecycleEventHookExecutionStatusExceptionRes(parsedOutput, context);
|
|
4534
|
-
case "LifecycleEventAlreadyCompletedException":
|
|
4535
|
-
case "com.amazonaws.codedeploy#LifecycleEventAlreadyCompletedException":
|
|
4536
|
-
throw await de_LifecycleEventAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
4537
|
-
case "UnsupportedActionForDeploymentTypeException":
|
|
4538
|
-
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
4539
|
-
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
4540
|
-
default:
|
|
4541
|
-
const parsedBody = parsedOutput.body;
|
|
4542
|
-
return throwDefaultError({
|
|
4543
|
-
output,
|
|
4544
|
-
parsedBody,
|
|
4545
|
-
errorCode
|
|
4546
|
-
});
|
|
4547
|
-
}
|
|
4548
|
-
}, "de_PutLifecycleEventHookExecutionStatusCommandError");
|
|
4549
3197
|
var de_RegisterApplicationRevisionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4550
|
-
if (output.statusCode >= 300) {
|
|
4551
|
-
return
|
|
4552
|
-
}
|
|
4553
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4554
|
-
const response = {
|
|
4555
|
-
$metadata: deserializeMetadata(output)
|
|
4556
|
-
};
|
|
4557
|
-
return response;
|
|
4558
|
-
}, "de_RegisterApplicationRevisionCommand");
|
|
4559
|
-
var de_RegisterApplicationRevisionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4560
|
-
const parsedOutput = {
|
|
4561
|
-
...output,
|
|
4562
|
-
body: await parseErrorBody(output.body, context)
|
|
4563
|
-
};
|
|
4564
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4565
|
-
switch (errorCode) {
|
|
4566
|
-
case "ApplicationDoesNotExistException":
|
|
4567
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
4568
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
4569
|
-
case "ApplicationNameRequiredException":
|
|
4570
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
4571
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
4572
|
-
case "DescriptionTooLongException":
|
|
4573
|
-
case "com.amazonaws.codedeploy#DescriptionTooLongException":
|
|
4574
|
-
throw await de_DescriptionTooLongExceptionRes(parsedOutput, context);
|
|
4575
|
-
case "InvalidApplicationNameException":
|
|
4576
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
4577
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
4578
|
-
case "InvalidRevisionException":
|
|
4579
|
-
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
4580
|
-
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
4581
|
-
case "RevisionRequiredException":
|
|
4582
|
-
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
4583
|
-
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
4584
|
-
default:
|
|
4585
|
-
const parsedBody = parsedOutput.body;
|
|
4586
|
-
return throwDefaultError({
|
|
4587
|
-
output,
|
|
4588
|
-
parsedBody,
|
|
4589
|
-
errorCode
|
|
4590
|
-
});
|
|
4591
|
-
}
|
|
4592
|
-
}, "de_RegisterApplicationRevisionCommandError");
|
|
4593
|
-
var de_RegisterOnPremisesInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4594
|
-
if (output.statusCode >= 300) {
|
|
4595
|
-
return de_RegisterOnPremisesInstanceCommandError(output, context);
|
|
4596
|
-
}
|
|
4597
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4598
|
-
const response = {
|
|
4599
|
-
$metadata: deserializeMetadata(output)
|
|
4600
|
-
};
|
|
4601
|
-
return response;
|
|
4602
|
-
}, "de_RegisterOnPremisesInstanceCommand");
|
|
4603
|
-
var de_RegisterOnPremisesInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4604
|
-
const parsedOutput = {
|
|
4605
|
-
...output,
|
|
4606
|
-
body: await parseErrorBody(output.body, context)
|
|
4607
|
-
};
|
|
4608
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4609
|
-
switch (errorCode) {
|
|
4610
|
-
case "IamArnRequiredException":
|
|
4611
|
-
case "com.amazonaws.codedeploy#IamArnRequiredException":
|
|
4612
|
-
throw await de_IamArnRequiredExceptionRes(parsedOutput, context);
|
|
4613
|
-
case "IamSessionArnAlreadyRegisteredException":
|
|
4614
|
-
case "com.amazonaws.codedeploy#IamSessionArnAlreadyRegisteredException":
|
|
4615
|
-
throw await de_IamSessionArnAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
4616
|
-
case "IamUserArnAlreadyRegisteredException":
|
|
4617
|
-
case "com.amazonaws.codedeploy#IamUserArnAlreadyRegisteredException":
|
|
4618
|
-
throw await de_IamUserArnAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
4619
|
-
case "IamUserArnRequiredException":
|
|
4620
|
-
case "com.amazonaws.codedeploy#IamUserArnRequiredException":
|
|
4621
|
-
throw await de_IamUserArnRequiredExceptionRes(parsedOutput, context);
|
|
4622
|
-
case "InstanceNameAlreadyRegisteredException":
|
|
4623
|
-
case "com.amazonaws.codedeploy#InstanceNameAlreadyRegisteredException":
|
|
4624
|
-
throw await de_InstanceNameAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
4625
|
-
case "InstanceNameRequiredException":
|
|
4626
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
4627
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
4628
|
-
case "InvalidIamSessionArnException":
|
|
4629
|
-
case "com.amazonaws.codedeploy#InvalidIamSessionArnException":
|
|
4630
|
-
throw await de_InvalidIamSessionArnExceptionRes(parsedOutput, context);
|
|
4631
|
-
case "InvalidIamUserArnException":
|
|
4632
|
-
case "com.amazonaws.codedeploy#InvalidIamUserArnException":
|
|
4633
|
-
throw await de_InvalidIamUserArnExceptionRes(parsedOutput, context);
|
|
4634
|
-
case "InvalidInstanceNameException":
|
|
4635
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
4636
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
4637
|
-
case "MultipleIamArnsProvidedException":
|
|
4638
|
-
case "com.amazonaws.codedeploy#MultipleIamArnsProvidedException":
|
|
4639
|
-
throw await de_MultipleIamArnsProvidedExceptionRes(parsedOutput, context);
|
|
4640
|
-
default:
|
|
4641
|
-
const parsedBody = parsedOutput.body;
|
|
4642
|
-
return throwDefaultError({
|
|
4643
|
-
output,
|
|
4644
|
-
parsedBody,
|
|
4645
|
-
errorCode
|
|
4646
|
-
});
|
|
4647
|
-
}
|
|
4648
|
-
}, "de_RegisterOnPremisesInstanceCommandError");
|
|
4649
|
-
var de_RemoveTagsFromOnPremisesInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4650
|
-
if (output.statusCode >= 300) {
|
|
4651
|
-
return de_RemoveTagsFromOnPremisesInstancesCommandError(output, context);
|
|
4652
|
-
}
|
|
4653
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4654
|
-
const response = {
|
|
4655
|
-
$metadata: deserializeMetadata(output)
|
|
4656
|
-
};
|
|
4657
|
-
return response;
|
|
4658
|
-
}, "de_RemoveTagsFromOnPremisesInstancesCommand");
|
|
4659
|
-
var de_RemoveTagsFromOnPremisesInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4660
|
-
const parsedOutput = {
|
|
4661
|
-
...output,
|
|
4662
|
-
body: await parseErrorBody(output.body, context)
|
|
4663
|
-
};
|
|
4664
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4665
|
-
switch (errorCode) {
|
|
4666
|
-
case "InstanceLimitExceededException":
|
|
4667
|
-
case "com.amazonaws.codedeploy#InstanceLimitExceededException":
|
|
4668
|
-
throw await de_InstanceLimitExceededExceptionRes(parsedOutput, context);
|
|
4669
|
-
case "InstanceNameRequiredException":
|
|
4670
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
4671
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
4672
|
-
case "InstanceNotRegisteredException":
|
|
4673
|
-
case "com.amazonaws.codedeploy#InstanceNotRegisteredException":
|
|
4674
|
-
throw await de_InstanceNotRegisteredExceptionRes(parsedOutput, context);
|
|
4675
|
-
case "InvalidInstanceNameException":
|
|
4676
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
4677
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
4678
|
-
case "InvalidTagException":
|
|
4679
|
-
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
4680
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
4681
|
-
case "TagLimitExceededException":
|
|
4682
|
-
case "com.amazonaws.codedeploy#TagLimitExceededException":
|
|
4683
|
-
throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
|
|
4684
|
-
case "TagRequiredException":
|
|
4685
|
-
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
4686
|
-
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
4687
|
-
default:
|
|
4688
|
-
const parsedBody = parsedOutput.body;
|
|
4689
|
-
return throwDefaultError({
|
|
4690
|
-
output,
|
|
4691
|
-
parsedBody,
|
|
4692
|
-
errorCode
|
|
4693
|
-
});
|
|
3198
|
+
if (output.statusCode >= 300) {
|
|
3199
|
+
return de_CommandError(output, context);
|
|
4694
3200
|
}
|
|
4695
|
-
|
|
4696
|
-
|
|
3201
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3202
|
+
const response = {
|
|
3203
|
+
$metadata: deserializeMetadata(output)
|
|
3204
|
+
};
|
|
3205
|
+
return response;
|
|
3206
|
+
}, "de_RegisterApplicationRevisionCommand");
|
|
3207
|
+
var de_RegisterOnPremisesInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4697
3208
|
if (output.statusCode >= 300) {
|
|
4698
|
-
return
|
|
3209
|
+
return de_CommandError(output, context);
|
|
4699
3210
|
}
|
|
4700
3211
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4701
3212
|
const response = {
|
|
4702
3213
|
$metadata: deserializeMetadata(output)
|
|
4703
3214
|
};
|
|
4704
3215
|
return response;
|
|
4705
|
-
}, "
|
|
4706
|
-
var
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
3216
|
+
}, "de_RegisterOnPremisesInstanceCommand");
|
|
3217
|
+
var de_RemoveTagsFromOnPremisesInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3218
|
+
if (output.statusCode >= 300) {
|
|
3219
|
+
return de_CommandError(output, context);
|
|
3220
|
+
}
|
|
3221
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3222
|
+
const response = {
|
|
3223
|
+
$metadata: deserializeMetadata(output)
|
|
4710
3224
|
};
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
case "DeploymentDoesNotExistException":
|
|
4717
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
4718
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
4719
|
-
case "DeploymentIdRequiredException":
|
|
4720
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
4721
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
4722
|
-
case "DeploymentNotStartedException":
|
|
4723
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
4724
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
4725
|
-
case "InvalidDeploymentIdException":
|
|
4726
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
4727
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
4728
|
-
case "UnsupportedActionForDeploymentTypeException":
|
|
4729
|
-
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
4730
|
-
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
4731
|
-
default:
|
|
4732
|
-
const parsedBody = parsedOutput.body;
|
|
4733
|
-
return throwDefaultError({
|
|
4734
|
-
output,
|
|
4735
|
-
parsedBody,
|
|
4736
|
-
errorCode
|
|
4737
|
-
});
|
|
3225
|
+
return response;
|
|
3226
|
+
}, "de_RemoveTagsFromOnPremisesInstancesCommand");
|
|
3227
|
+
var de_SkipWaitTimeForInstanceTerminationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3228
|
+
if (output.statusCode >= 300) {
|
|
3229
|
+
return de_CommandError(output, context);
|
|
4738
3230
|
}
|
|
4739
|
-
|
|
3231
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3232
|
+
const response = {
|
|
3233
|
+
$metadata: deserializeMetadata(output)
|
|
3234
|
+
};
|
|
3235
|
+
return response;
|
|
3236
|
+
}, "de_SkipWaitTimeForInstanceTerminationCommand");
|
|
4740
3237
|
var de_StopDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4741
3238
|
if (output.statusCode >= 300) {
|
|
4742
|
-
return
|
|
3239
|
+
return de_CommandError(output, context);
|
|
4743
3240
|
}
|
|
4744
3241
|
const data = await parseBody(output.body, context);
|
|
4745
3242
|
let contents = {};
|
|
@@ -4750,43 +3247,9 @@ var de_StopDeploymentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4750
3247
|
};
|
|
4751
3248
|
return response;
|
|
4752
3249
|
}, "de_StopDeploymentCommand");
|
|
4753
|
-
var de_StopDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4754
|
-
const parsedOutput = {
|
|
4755
|
-
...output,
|
|
4756
|
-
body: await parseErrorBody(output.body, context)
|
|
4757
|
-
};
|
|
4758
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4759
|
-
switch (errorCode) {
|
|
4760
|
-
case "DeploymentAlreadyCompletedException":
|
|
4761
|
-
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
4762
|
-
throw await de_DeploymentAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
4763
|
-
case "DeploymentDoesNotExistException":
|
|
4764
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
4765
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
4766
|
-
case "DeploymentGroupDoesNotExistException":
|
|
4767
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
4768
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
4769
|
-
case "DeploymentIdRequiredException":
|
|
4770
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
4771
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
4772
|
-
case "InvalidDeploymentIdException":
|
|
4773
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
4774
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
4775
|
-
case "UnsupportedActionForDeploymentTypeException":
|
|
4776
|
-
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
4777
|
-
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
4778
|
-
default:
|
|
4779
|
-
const parsedBody = parsedOutput.body;
|
|
4780
|
-
return throwDefaultError({
|
|
4781
|
-
output,
|
|
4782
|
-
parsedBody,
|
|
4783
|
-
errorCode
|
|
4784
|
-
});
|
|
4785
|
-
}
|
|
4786
|
-
}, "de_StopDeploymentCommandError");
|
|
4787
3250
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4788
3251
|
if (output.statusCode >= 300) {
|
|
4789
|
-
return
|
|
3252
|
+
return de_CommandError(output, context);
|
|
4790
3253
|
}
|
|
4791
3254
|
const data = await parseBody(output.body, context);
|
|
4792
3255
|
let contents = {};
|
|
@@ -4797,49 +3260,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4797
3260
|
};
|
|
4798
3261
|
return response;
|
|
4799
3262
|
}, "de_TagResourceCommand");
|
|
4800
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4801
|
-
const parsedOutput = {
|
|
4802
|
-
...output,
|
|
4803
|
-
body: await parseErrorBody(output.body, context)
|
|
4804
|
-
};
|
|
4805
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4806
|
-
switch (errorCode) {
|
|
4807
|
-
case "ApplicationDoesNotExistException":
|
|
4808
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
4809
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
4810
|
-
case "ArnNotSupportedException":
|
|
4811
|
-
case "com.amazonaws.codedeploy#ArnNotSupportedException":
|
|
4812
|
-
throw await de_ArnNotSupportedExceptionRes(parsedOutput, context);
|
|
4813
|
-
case "DeploymentConfigDoesNotExistException":
|
|
4814
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
4815
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
4816
|
-
case "DeploymentGroupDoesNotExistException":
|
|
4817
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
4818
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
4819
|
-
case "InvalidArnException":
|
|
4820
|
-
case "com.amazonaws.codedeploy#InvalidArnException":
|
|
4821
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
4822
|
-
case "InvalidTagsToAddException":
|
|
4823
|
-
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
4824
|
-
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
4825
|
-
case "ResourceArnRequiredException":
|
|
4826
|
-
case "com.amazonaws.codedeploy#ResourceArnRequiredException":
|
|
4827
|
-
throw await de_ResourceArnRequiredExceptionRes(parsedOutput, context);
|
|
4828
|
-
case "TagRequiredException":
|
|
4829
|
-
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
4830
|
-
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
4831
|
-
default:
|
|
4832
|
-
const parsedBody = parsedOutput.body;
|
|
4833
|
-
return throwDefaultError({
|
|
4834
|
-
output,
|
|
4835
|
-
parsedBody,
|
|
4836
|
-
errorCode
|
|
4837
|
-
});
|
|
4838
|
-
}
|
|
4839
|
-
}, "de_TagResourceCommandError");
|
|
4840
3263
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4841
3264
|
if (output.statusCode >= 300) {
|
|
4842
|
-
return
|
|
3265
|
+
return de_CommandError(output, context);
|
|
4843
3266
|
}
|
|
4844
3267
|
const data = await parseBody(output.body, context);
|
|
4845
3268
|
let contents = {};
|
|
@@ -4850,49 +3273,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4850
3273
|
};
|
|
4851
3274
|
return response;
|
|
4852
3275
|
}, "de_UntagResourceCommand");
|
|
4853
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4854
|
-
const parsedOutput = {
|
|
4855
|
-
...output,
|
|
4856
|
-
body: await parseErrorBody(output.body, context)
|
|
4857
|
-
};
|
|
4858
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4859
|
-
switch (errorCode) {
|
|
4860
|
-
case "ApplicationDoesNotExistException":
|
|
4861
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
4862
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
4863
|
-
case "ArnNotSupportedException":
|
|
4864
|
-
case "com.amazonaws.codedeploy#ArnNotSupportedException":
|
|
4865
|
-
throw await de_ArnNotSupportedExceptionRes(parsedOutput, context);
|
|
4866
|
-
case "DeploymentConfigDoesNotExistException":
|
|
4867
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
4868
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
4869
|
-
case "DeploymentGroupDoesNotExistException":
|
|
4870
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
4871
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
4872
|
-
case "InvalidArnException":
|
|
4873
|
-
case "com.amazonaws.codedeploy#InvalidArnException":
|
|
4874
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
4875
|
-
case "InvalidTagsToAddException":
|
|
4876
|
-
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
4877
|
-
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
4878
|
-
case "ResourceArnRequiredException":
|
|
4879
|
-
case "com.amazonaws.codedeploy#ResourceArnRequiredException":
|
|
4880
|
-
throw await de_ResourceArnRequiredExceptionRes(parsedOutput, context);
|
|
4881
|
-
case "TagRequiredException":
|
|
4882
|
-
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
4883
|
-
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
4884
|
-
default:
|
|
4885
|
-
const parsedBody = parsedOutput.body;
|
|
4886
|
-
return throwDefaultError({
|
|
4887
|
-
output,
|
|
4888
|
-
parsedBody,
|
|
4889
|
-
errorCode
|
|
4890
|
-
});
|
|
4891
|
-
}
|
|
4892
|
-
}, "de_UntagResourceCommandError");
|
|
4893
3276
|
var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4894
3277
|
if (output.statusCode >= 300) {
|
|
4895
|
-
return
|
|
3278
|
+
return de_CommandError(output, context);
|
|
4896
3279
|
}
|
|
4897
3280
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4898
3281
|
const response = {
|
|
@@ -4900,37 +3283,9 @@ var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4900
3283
|
};
|
|
4901
3284
|
return response;
|
|
4902
3285
|
}, "de_UpdateApplicationCommand");
|
|
4903
|
-
var de_UpdateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4904
|
-
const parsedOutput = {
|
|
4905
|
-
...output,
|
|
4906
|
-
body: await parseErrorBody(output.body, context)
|
|
4907
|
-
};
|
|
4908
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4909
|
-
switch (errorCode) {
|
|
4910
|
-
case "ApplicationAlreadyExistsException":
|
|
4911
|
-
case "com.amazonaws.codedeploy#ApplicationAlreadyExistsException":
|
|
4912
|
-
throw await de_ApplicationAlreadyExistsExceptionRes(parsedOutput, context);
|
|
4913
|
-
case "ApplicationDoesNotExistException":
|
|
4914
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
4915
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
4916
|
-
case "ApplicationNameRequiredException":
|
|
4917
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
4918
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
4919
|
-
case "InvalidApplicationNameException":
|
|
4920
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
4921
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
4922
|
-
default:
|
|
4923
|
-
const parsedBody = parsedOutput.body;
|
|
4924
|
-
return throwDefaultError({
|
|
4925
|
-
output,
|
|
4926
|
-
parsedBody,
|
|
4927
|
-
errorCode
|
|
4928
|
-
});
|
|
4929
|
-
}
|
|
4930
|
-
}, "de_UpdateApplicationCommandError");
|
|
4931
3286
|
var de_UpdateDeploymentGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4932
3287
|
if (output.statusCode >= 300) {
|
|
4933
|
-
return
|
|
3288
|
+
return de_CommandError(output, context);
|
|
4934
3289
|
}
|
|
4935
3290
|
const data = await parseBody(output.body, context);
|
|
4936
3291
|
let contents = {};
|
|
@@ -4941,58 +3296,199 @@ var de_UpdateDeploymentGroupCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
4941
3296
|
};
|
|
4942
3297
|
return response;
|
|
4943
3298
|
}, "de_UpdateDeploymentGroupCommand");
|
|
4944
|
-
var
|
|
3299
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4945
3300
|
const parsedOutput = {
|
|
4946
3301
|
...output,
|
|
4947
3302
|
body: await parseErrorBody(output.body, context)
|
|
4948
3303
|
};
|
|
4949
3304
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4950
3305
|
switch (errorCode) {
|
|
3306
|
+
case "InstanceLimitExceededException":
|
|
3307
|
+
case "com.amazonaws.codedeploy#InstanceLimitExceededException":
|
|
3308
|
+
throw await de_InstanceLimitExceededExceptionRes(parsedOutput, context);
|
|
3309
|
+
case "InstanceNameRequiredException":
|
|
3310
|
+
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
3311
|
+
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
3312
|
+
case "InstanceNotRegisteredException":
|
|
3313
|
+
case "com.amazonaws.codedeploy#InstanceNotRegisteredException":
|
|
3314
|
+
throw await de_InstanceNotRegisteredExceptionRes(parsedOutput, context);
|
|
3315
|
+
case "InvalidInstanceNameException":
|
|
3316
|
+
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
3317
|
+
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
3318
|
+
case "InvalidTagException":
|
|
3319
|
+
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
3320
|
+
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
3321
|
+
case "TagLimitExceededException":
|
|
3322
|
+
case "com.amazonaws.codedeploy#TagLimitExceededException":
|
|
3323
|
+
throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
|
|
3324
|
+
case "TagRequiredException":
|
|
3325
|
+
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
3326
|
+
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
3327
|
+
case "ApplicationDoesNotExistException":
|
|
3328
|
+
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
3329
|
+
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
3330
|
+
case "ApplicationNameRequiredException":
|
|
3331
|
+
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
3332
|
+
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
3333
|
+
case "BatchLimitExceededException":
|
|
3334
|
+
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
3335
|
+
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
3336
|
+
case "InvalidApplicationNameException":
|
|
3337
|
+
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
3338
|
+
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
3339
|
+
case "InvalidRevisionException":
|
|
3340
|
+
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
3341
|
+
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
3342
|
+
case "RevisionRequiredException":
|
|
3343
|
+
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
3344
|
+
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
3345
|
+
case "DeploymentConfigDoesNotExistException":
|
|
3346
|
+
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
3347
|
+
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
3348
|
+
case "DeploymentGroupNameRequiredException":
|
|
3349
|
+
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
3350
|
+
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
3351
|
+
case "InvalidDeploymentGroupNameException":
|
|
3352
|
+
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
3353
|
+
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
3354
|
+
case "DeploymentDoesNotExistException":
|
|
3355
|
+
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
3356
|
+
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
3357
|
+
case "DeploymentIdRequiredException":
|
|
3358
|
+
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
3359
|
+
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
3360
|
+
case "InstanceIdRequiredException":
|
|
3361
|
+
case "com.amazonaws.codedeploy#InstanceIdRequiredException":
|
|
3362
|
+
throw await de_InstanceIdRequiredExceptionRes(parsedOutput, context);
|
|
3363
|
+
case "InvalidComputePlatformException":
|
|
3364
|
+
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
3365
|
+
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
3366
|
+
case "InvalidDeploymentIdException":
|
|
3367
|
+
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
3368
|
+
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
3369
|
+
case "DeploymentNotStartedException":
|
|
3370
|
+
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
3371
|
+
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
3372
|
+
case "DeploymentTargetDoesNotExistException":
|
|
3373
|
+
case "com.amazonaws.codedeploy#DeploymentTargetDoesNotExistException":
|
|
3374
|
+
throw await de_DeploymentTargetDoesNotExistExceptionRes(parsedOutput, context);
|
|
3375
|
+
case "DeploymentTargetIdRequiredException":
|
|
3376
|
+
case "com.amazonaws.codedeploy#DeploymentTargetIdRequiredException":
|
|
3377
|
+
throw await de_DeploymentTargetIdRequiredExceptionRes(parsedOutput, context);
|
|
3378
|
+
case "DeploymentTargetListSizeExceededException":
|
|
3379
|
+
case "com.amazonaws.codedeploy#DeploymentTargetListSizeExceededException":
|
|
3380
|
+
throw await de_DeploymentTargetListSizeExceededExceptionRes(parsedOutput, context);
|
|
3381
|
+
case "InstanceDoesNotExistException":
|
|
3382
|
+
case "com.amazonaws.codedeploy#InstanceDoesNotExistException":
|
|
3383
|
+
throw await de_InstanceDoesNotExistExceptionRes(parsedOutput, context);
|
|
3384
|
+
case "InvalidDeploymentTargetIdException":
|
|
3385
|
+
case "com.amazonaws.codedeploy#InvalidDeploymentTargetIdException":
|
|
3386
|
+
throw await de_InvalidDeploymentTargetIdExceptionRes(parsedOutput, context);
|
|
3387
|
+
case "DeploymentAlreadyCompletedException":
|
|
3388
|
+
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
3389
|
+
throw await de_DeploymentAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
3390
|
+
case "DeploymentIsNotInReadyStateException":
|
|
3391
|
+
case "com.amazonaws.codedeploy#DeploymentIsNotInReadyStateException":
|
|
3392
|
+
throw await de_DeploymentIsNotInReadyStateExceptionRes(parsedOutput, context);
|
|
3393
|
+
case "InvalidDeploymentStatusException":
|
|
3394
|
+
case "com.amazonaws.codedeploy#InvalidDeploymentStatusException":
|
|
3395
|
+
throw await de_InvalidDeploymentStatusExceptionRes(parsedOutput, context);
|
|
3396
|
+
case "InvalidDeploymentWaitTypeException":
|
|
3397
|
+
case "com.amazonaws.codedeploy#InvalidDeploymentWaitTypeException":
|
|
3398
|
+
throw await de_InvalidDeploymentWaitTypeExceptionRes(parsedOutput, context);
|
|
3399
|
+
case "UnsupportedActionForDeploymentTypeException":
|
|
3400
|
+
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
3401
|
+
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
3402
|
+
case "ApplicationAlreadyExistsException":
|
|
3403
|
+
case "com.amazonaws.codedeploy#ApplicationAlreadyExistsException":
|
|
3404
|
+
throw await de_ApplicationAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3405
|
+
case "ApplicationLimitExceededException":
|
|
3406
|
+
case "com.amazonaws.codedeploy#ApplicationLimitExceededException":
|
|
3407
|
+
throw await de_ApplicationLimitExceededExceptionRes(parsedOutput, context);
|
|
3408
|
+
case "InvalidTagsToAddException":
|
|
3409
|
+
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
3410
|
+
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
4951
3411
|
case "AlarmsLimitExceededException":
|
|
4952
3412
|
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
4953
3413
|
throw await de_AlarmsLimitExceededExceptionRes(parsedOutput, context);
|
|
4954
|
-
case "ApplicationDoesNotExistException":
|
|
4955
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
4956
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
4957
|
-
case "ApplicationNameRequiredException":
|
|
4958
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
4959
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
4960
|
-
case "DeploymentConfigDoesNotExistException":
|
|
4961
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
4962
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
4963
|
-
case "DeploymentGroupAlreadyExistsException":
|
|
4964
|
-
case "com.amazonaws.codedeploy#DeploymentGroupAlreadyExistsException":
|
|
4965
|
-
throw await de_DeploymentGroupAlreadyExistsExceptionRes(parsedOutput, context);
|
|
4966
3414
|
case "DeploymentGroupDoesNotExistException":
|
|
4967
3415
|
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
4968
3416
|
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
4969
|
-
case "
|
|
4970
|
-
case "com.amazonaws.codedeploy#
|
|
4971
|
-
throw await
|
|
4972
|
-
case "
|
|
4973
|
-
case "com.amazonaws.codedeploy#
|
|
4974
|
-
throw await
|
|
3417
|
+
case "DeploymentLimitExceededException":
|
|
3418
|
+
case "com.amazonaws.codedeploy#DeploymentLimitExceededException":
|
|
3419
|
+
throw await de_DeploymentLimitExceededExceptionRes(parsedOutput, context);
|
|
3420
|
+
case "DescriptionTooLongException":
|
|
3421
|
+
case "com.amazonaws.codedeploy#DescriptionTooLongException":
|
|
3422
|
+
throw await de_DescriptionTooLongExceptionRes(parsedOutput, context);
|
|
4975
3423
|
case "InvalidAlarmConfigException":
|
|
4976
3424
|
case "com.amazonaws.codedeploy#InvalidAlarmConfigException":
|
|
4977
3425
|
throw await de_InvalidAlarmConfigExceptionRes(parsedOutput, context);
|
|
4978
|
-
case "InvalidApplicationNameException":
|
|
4979
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
4980
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
4981
3426
|
case "InvalidAutoRollbackConfigException":
|
|
4982
3427
|
case "com.amazonaws.codedeploy#InvalidAutoRollbackConfigException":
|
|
4983
3428
|
throw await de_InvalidAutoRollbackConfigExceptionRes(parsedOutput, context);
|
|
4984
3429
|
case "InvalidAutoScalingGroupException":
|
|
4985
3430
|
case "com.amazonaws.codedeploy#InvalidAutoScalingGroupException":
|
|
4986
3431
|
throw await de_InvalidAutoScalingGroupExceptionRes(parsedOutput, context);
|
|
4987
|
-
case "InvalidBlueGreenDeploymentConfigurationException":
|
|
4988
|
-
case "com.amazonaws.codedeploy#InvalidBlueGreenDeploymentConfigurationException":
|
|
4989
|
-
throw await de_InvalidBlueGreenDeploymentConfigurationExceptionRes(parsedOutput, context);
|
|
4990
3432
|
case "InvalidDeploymentConfigNameException":
|
|
4991
3433
|
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
4992
3434
|
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
4993
|
-
case "
|
|
4994
|
-
case "com.amazonaws.codedeploy#
|
|
4995
|
-
throw await
|
|
3435
|
+
case "InvalidFileExistsBehaviorException":
|
|
3436
|
+
case "com.amazonaws.codedeploy#InvalidFileExistsBehaviorException":
|
|
3437
|
+
throw await de_InvalidFileExistsBehaviorExceptionRes(parsedOutput, context);
|
|
3438
|
+
case "InvalidGitHubAccountTokenException":
|
|
3439
|
+
case "com.amazonaws.codedeploy#InvalidGitHubAccountTokenException":
|
|
3440
|
+
throw await de_InvalidGitHubAccountTokenExceptionRes(parsedOutput, context);
|
|
3441
|
+
case "InvalidIgnoreApplicationStopFailuresValueException":
|
|
3442
|
+
case "com.amazonaws.codedeploy#InvalidIgnoreApplicationStopFailuresValueException":
|
|
3443
|
+
throw await de_InvalidIgnoreApplicationStopFailuresValueExceptionRes(parsedOutput, context);
|
|
3444
|
+
case "InvalidLoadBalancerInfoException":
|
|
3445
|
+
case "com.amazonaws.codedeploy#InvalidLoadBalancerInfoException":
|
|
3446
|
+
throw await de_InvalidLoadBalancerInfoExceptionRes(parsedOutput, context);
|
|
3447
|
+
case "InvalidRoleException":
|
|
3448
|
+
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
3449
|
+
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
3450
|
+
case "InvalidTargetInstancesException":
|
|
3451
|
+
case "com.amazonaws.codedeploy#InvalidTargetInstancesException":
|
|
3452
|
+
throw await de_InvalidTargetInstancesExceptionRes(parsedOutput, context);
|
|
3453
|
+
case "InvalidTrafficRoutingConfigurationException":
|
|
3454
|
+
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
3455
|
+
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
3456
|
+
case "InvalidUpdateOutdatedInstancesOnlyValueException":
|
|
3457
|
+
case "com.amazonaws.codedeploy#InvalidUpdateOutdatedInstancesOnlyValueException":
|
|
3458
|
+
throw await de_InvalidUpdateOutdatedInstancesOnlyValueExceptionRes(parsedOutput, context);
|
|
3459
|
+
case "RevisionDoesNotExistException":
|
|
3460
|
+
case "com.amazonaws.codedeploy#RevisionDoesNotExistException":
|
|
3461
|
+
throw await de_RevisionDoesNotExistExceptionRes(parsedOutput, context);
|
|
3462
|
+
case "ThrottlingException":
|
|
3463
|
+
case "com.amazonaws.codedeploy#ThrottlingException":
|
|
3464
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3465
|
+
case "DeploymentConfigAlreadyExistsException":
|
|
3466
|
+
case "com.amazonaws.codedeploy#DeploymentConfigAlreadyExistsException":
|
|
3467
|
+
throw await de_DeploymentConfigAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3468
|
+
case "DeploymentConfigLimitExceededException":
|
|
3469
|
+
case "com.amazonaws.codedeploy#DeploymentConfigLimitExceededException":
|
|
3470
|
+
throw await de_DeploymentConfigLimitExceededExceptionRes(parsedOutput, context);
|
|
3471
|
+
case "DeploymentConfigNameRequiredException":
|
|
3472
|
+
case "com.amazonaws.codedeploy#DeploymentConfigNameRequiredException":
|
|
3473
|
+
throw await de_DeploymentConfigNameRequiredExceptionRes(parsedOutput, context);
|
|
3474
|
+
case "InvalidMinimumHealthyHostValueException":
|
|
3475
|
+
case "com.amazonaws.codedeploy#InvalidMinimumHealthyHostValueException":
|
|
3476
|
+
throw await de_InvalidMinimumHealthyHostValueExceptionRes(parsedOutput, context);
|
|
3477
|
+
case "InvalidZonalDeploymentConfigurationException":
|
|
3478
|
+
case "com.amazonaws.codedeploy#InvalidZonalDeploymentConfigurationException":
|
|
3479
|
+
throw await de_InvalidZonalDeploymentConfigurationExceptionRes(parsedOutput, context);
|
|
3480
|
+
case "DeploymentGroupAlreadyExistsException":
|
|
3481
|
+
case "com.amazonaws.codedeploy#DeploymentGroupAlreadyExistsException":
|
|
3482
|
+
throw await de_DeploymentGroupAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3483
|
+
case "DeploymentGroupLimitExceededException":
|
|
3484
|
+
case "com.amazonaws.codedeploy#DeploymentGroupLimitExceededException":
|
|
3485
|
+
throw await de_DeploymentGroupLimitExceededExceptionRes(parsedOutput, context);
|
|
3486
|
+
case "ECSServiceMappingLimitExceededException":
|
|
3487
|
+
case "com.amazonaws.codedeploy#ECSServiceMappingLimitExceededException":
|
|
3488
|
+
throw await de_ECSServiceMappingLimitExceededExceptionRes(parsedOutput, context);
|
|
3489
|
+
case "InvalidBlueGreenDeploymentConfigurationException":
|
|
3490
|
+
case "com.amazonaws.codedeploy#InvalidBlueGreenDeploymentConfigurationException":
|
|
3491
|
+
throw await de_InvalidBlueGreenDeploymentConfigurationExceptionRes(parsedOutput, context);
|
|
4996
3492
|
case "InvalidDeploymentStyleException":
|
|
4997
3493
|
case "com.amazonaws.codedeploy#InvalidDeploymentStyleException":
|
|
4998
3494
|
throw await de_InvalidDeploymentStyleExceptionRes(parsedOutput, context);
|
|
@@ -5008,39 +3504,135 @@ var de_UpdateDeploymentGroupCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
5008
3504
|
case "InvalidInputException":
|
|
5009
3505
|
case "com.amazonaws.codedeploy#InvalidInputException":
|
|
5010
3506
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
5011
|
-
case "InvalidLoadBalancerInfoException":
|
|
5012
|
-
case "com.amazonaws.codedeploy#InvalidLoadBalancerInfoException":
|
|
5013
|
-
throw await de_InvalidLoadBalancerInfoExceptionRes(parsedOutput, context);
|
|
5014
3507
|
case "InvalidOnPremisesTagCombinationException":
|
|
5015
3508
|
case "com.amazonaws.codedeploy#InvalidOnPremisesTagCombinationException":
|
|
5016
3509
|
throw await de_InvalidOnPremisesTagCombinationExceptionRes(parsedOutput, context);
|
|
5017
|
-
case "InvalidRoleException":
|
|
5018
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
5019
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
5020
|
-
case "InvalidTagException":
|
|
5021
|
-
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
5022
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
5023
3510
|
case "InvalidTargetGroupPairException":
|
|
5024
3511
|
case "com.amazonaws.codedeploy#InvalidTargetGroupPairException":
|
|
5025
3512
|
throw await de_InvalidTargetGroupPairExceptionRes(parsedOutput, context);
|
|
5026
|
-
case "InvalidTrafficRoutingConfigurationException":
|
|
5027
|
-
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
5028
|
-
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
5029
3513
|
case "InvalidTriggerConfigException":
|
|
5030
3514
|
case "com.amazonaws.codedeploy#InvalidTriggerConfigException":
|
|
5031
3515
|
throw await de_InvalidTriggerConfigExceptionRes(parsedOutput, context);
|
|
5032
3516
|
case "LifecycleHookLimitExceededException":
|
|
5033
3517
|
case "com.amazonaws.codedeploy#LifecycleHookLimitExceededException":
|
|
5034
3518
|
throw await de_LifecycleHookLimitExceededExceptionRes(parsedOutput, context);
|
|
3519
|
+
case "RoleRequiredException":
|
|
3520
|
+
case "com.amazonaws.codedeploy#RoleRequiredException":
|
|
3521
|
+
throw await de_RoleRequiredExceptionRes(parsedOutput, context);
|
|
5035
3522
|
case "TagSetListLimitExceededException":
|
|
5036
3523
|
case "com.amazonaws.codedeploy#TagSetListLimitExceededException":
|
|
5037
3524
|
throw await de_TagSetListLimitExceededExceptionRes(parsedOutput, context);
|
|
5038
|
-
case "ThrottlingException":
|
|
5039
|
-
case "com.amazonaws.codedeploy#ThrottlingException":
|
|
5040
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5041
3525
|
case "TriggerTargetsLimitExceededException":
|
|
5042
3526
|
case "com.amazonaws.codedeploy#TriggerTargetsLimitExceededException":
|
|
5043
3527
|
throw await de_TriggerTargetsLimitExceededExceptionRes(parsedOutput, context);
|
|
3528
|
+
case "DeploymentConfigInUseException":
|
|
3529
|
+
case "com.amazonaws.codedeploy#DeploymentConfigInUseException":
|
|
3530
|
+
throw await de_DeploymentConfigInUseExceptionRes(parsedOutput, context);
|
|
3531
|
+
case "InvalidOperationException":
|
|
3532
|
+
case "com.amazonaws.codedeploy#InvalidOperationException":
|
|
3533
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
3534
|
+
case "GitHubAccountTokenDoesNotExistException":
|
|
3535
|
+
case "com.amazonaws.codedeploy#GitHubAccountTokenDoesNotExistException":
|
|
3536
|
+
throw await de_GitHubAccountTokenDoesNotExistExceptionRes(parsedOutput, context);
|
|
3537
|
+
case "GitHubAccountTokenNameRequiredException":
|
|
3538
|
+
case "com.amazonaws.codedeploy#GitHubAccountTokenNameRequiredException":
|
|
3539
|
+
throw await de_GitHubAccountTokenNameRequiredExceptionRes(parsedOutput, context);
|
|
3540
|
+
case "InvalidGitHubAccountTokenNameException":
|
|
3541
|
+
case "com.amazonaws.codedeploy#InvalidGitHubAccountTokenNameException":
|
|
3542
|
+
throw await de_InvalidGitHubAccountTokenNameExceptionRes(parsedOutput, context);
|
|
3543
|
+
case "OperationNotSupportedException":
|
|
3544
|
+
case "com.amazonaws.codedeploy#OperationNotSupportedException":
|
|
3545
|
+
throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
|
|
3546
|
+
case "ResourceValidationException":
|
|
3547
|
+
case "com.amazonaws.codedeploy#ResourceValidationException":
|
|
3548
|
+
throw await de_ResourceValidationExceptionRes(parsedOutput, context);
|
|
3549
|
+
case "BucketNameFilterRequiredException":
|
|
3550
|
+
case "com.amazonaws.codedeploy#BucketNameFilterRequiredException":
|
|
3551
|
+
throw await de_BucketNameFilterRequiredExceptionRes(parsedOutput, context);
|
|
3552
|
+
case "InvalidBucketNameFilterException":
|
|
3553
|
+
case "com.amazonaws.codedeploy#InvalidBucketNameFilterException":
|
|
3554
|
+
throw await de_InvalidBucketNameFilterExceptionRes(parsedOutput, context);
|
|
3555
|
+
case "InvalidDeployedStateFilterException":
|
|
3556
|
+
case "com.amazonaws.codedeploy#InvalidDeployedStateFilterException":
|
|
3557
|
+
throw await de_InvalidDeployedStateFilterExceptionRes(parsedOutput, context);
|
|
3558
|
+
case "InvalidKeyPrefixFilterException":
|
|
3559
|
+
case "com.amazonaws.codedeploy#InvalidKeyPrefixFilterException":
|
|
3560
|
+
throw await de_InvalidKeyPrefixFilterExceptionRes(parsedOutput, context);
|
|
3561
|
+
case "InvalidNextTokenException":
|
|
3562
|
+
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
3563
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3564
|
+
case "InvalidSortByException":
|
|
3565
|
+
case "com.amazonaws.codedeploy#InvalidSortByException":
|
|
3566
|
+
throw await de_InvalidSortByExceptionRes(parsedOutput, context);
|
|
3567
|
+
case "InvalidSortOrderException":
|
|
3568
|
+
case "com.amazonaws.codedeploy#InvalidSortOrderException":
|
|
3569
|
+
throw await de_InvalidSortOrderExceptionRes(parsedOutput, context);
|
|
3570
|
+
case "InvalidDeploymentInstanceTypeException":
|
|
3571
|
+
case "com.amazonaws.codedeploy#InvalidDeploymentInstanceTypeException":
|
|
3572
|
+
throw await de_InvalidDeploymentInstanceTypeExceptionRes(parsedOutput, context);
|
|
3573
|
+
case "InvalidInstanceStatusException":
|
|
3574
|
+
case "com.amazonaws.codedeploy#InvalidInstanceStatusException":
|
|
3575
|
+
throw await de_InvalidInstanceStatusExceptionRes(parsedOutput, context);
|
|
3576
|
+
case "InvalidInstanceTypeException":
|
|
3577
|
+
case "com.amazonaws.codedeploy#InvalidInstanceTypeException":
|
|
3578
|
+
throw await de_InvalidInstanceTypeExceptionRes(parsedOutput, context);
|
|
3579
|
+
case "InvalidTargetFilterNameException":
|
|
3580
|
+
case "com.amazonaws.codedeploy#InvalidTargetFilterNameException":
|
|
3581
|
+
throw await de_InvalidTargetFilterNameExceptionRes(parsedOutput, context);
|
|
3582
|
+
case "InvalidExternalIdException":
|
|
3583
|
+
case "com.amazonaws.codedeploy#InvalidExternalIdException":
|
|
3584
|
+
throw await de_InvalidExternalIdExceptionRes(parsedOutput, context);
|
|
3585
|
+
case "InvalidTimeRangeException":
|
|
3586
|
+
case "com.amazonaws.codedeploy#InvalidTimeRangeException":
|
|
3587
|
+
throw await de_InvalidTimeRangeExceptionRes(parsedOutput, context);
|
|
3588
|
+
case "InvalidRegistrationStatusException":
|
|
3589
|
+
case "com.amazonaws.codedeploy#InvalidRegistrationStatusException":
|
|
3590
|
+
throw await de_InvalidRegistrationStatusExceptionRes(parsedOutput, context);
|
|
3591
|
+
case "InvalidTagFilterException":
|
|
3592
|
+
case "com.amazonaws.codedeploy#InvalidTagFilterException":
|
|
3593
|
+
throw await de_InvalidTagFilterExceptionRes(parsedOutput, context);
|
|
3594
|
+
case "ArnNotSupportedException":
|
|
3595
|
+
case "com.amazonaws.codedeploy#ArnNotSupportedException":
|
|
3596
|
+
throw await de_ArnNotSupportedExceptionRes(parsedOutput, context);
|
|
3597
|
+
case "InvalidArnException":
|
|
3598
|
+
case "com.amazonaws.codedeploy#InvalidArnException":
|
|
3599
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
3600
|
+
case "ResourceArnRequiredException":
|
|
3601
|
+
case "com.amazonaws.codedeploy#ResourceArnRequiredException":
|
|
3602
|
+
throw await de_ResourceArnRequiredExceptionRes(parsedOutput, context);
|
|
3603
|
+
case "InvalidLifecycleEventHookExecutionIdException":
|
|
3604
|
+
case "com.amazonaws.codedeploy#InvalidLifecycleEventHookExecutionIdException":
|
|
3605
|
+
throw await de_InvalidLifecycleEventHookExecutionIdExceptionRes(parsedOutput, context);
|
|
3606
|
+
case "InvalidLifecycleEventHookExecutionStatusException":
|
|
3607
|
+
case "com.amazonaws.codedeploy#InvalidLifecycleEventHookExecutionStatusException":
|
|
3608
|
+
throw await de_InvalidLifecycleEventHookExecutionStatusExceptionRes(parsedOutput, context);
|
|
3609
|
+
case "LifecycleEventAlreadyCompletedException":
|
|
3610
|
+
case "com.amazonaws.codedeploy#LifecycleEventAlreadyCompletedException":
|
|
3611
|
+
throw await de_LifecycleEventAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
3612
|
+
case "IamArnRequiredException":
|
|
3613
|
+
case "com.amazonaws.codedeploy#IamArnRequiredException":
|
|
3614
|
+
throw await de_IamArnRequiredExceptionRes(parsedOutput, context);
|
|
3615
|
+
case "IamSessionArnAlreadyRegisteredException":
|
|
3616
|
+
case "com.amazonaws.codedeploy#IamSessionArnAlreadyRegisteredException":
|
|
3617
|
+
throw await de_IamSessionArnAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
3618
|
+
case "IamUserArnAlreadyRegisteredException":
|
|
3619
|
+
case "com.amazonaws.codedeploy#IamUserArnAlreadyRegisteredException":
|
|
3620
|
+
throw await de_IamUserArnAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
3621
|
+
case "IamUserArnRequiredException":
|
|
3622
|
+
case "com.amazonaws.codedeploy#IamUserArnRequiredException":
|
|
3623
|
+
throw await de_IamUserArnRequiredExceptionRes(parsedOutput, context);
|
|
3624
|
+
case "InstanceNameAlreadyRegisteredException":
|
|
3625
|
+
case "com.amazonaws.codedeploy#InstanceNameAlreadyRegisteredException":
|
|
3626
|
+
throw await de_InstanceNameAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
3627
|
+
case "InvalidIamSessionArnException":
|
|
3628
|
+
case "com.amazonaws.codedeploy#InvalidIamSessionArnException":
|
|
3629
|
+
throw await de_InvalidIamSessionArnExceptionRes(parsedOutput, context);
|
|
3630
|
+
case "InvalidIamUserArnException":
|
|
3631
|
+
case "com.amazonaws.codedeploy#InvalidIamUserArnException":
|
|
3632
|
+
throw await de_InvalidIamUserArnExceptionRes(parsedOutput, context);
|
|
3633
|
+
case "MultipleIamArnsProvidedException":
|
|
3634
|
+
case "com.amazonaws.codedeploy#MultipleIamArnsProvidedException":
|
|
3635
|
+
throw await de_MultipleIamArnsProvidedExceptionRes(parsedOutput, context);
|
|
5044
3636
|
default:
|
|
5045
3637
|
const parsedBody = parsedOutput.body;
|
|
5046
3638
|
return throwDefaultError({
|
|
@@ -5049,7 +3641,7 @@ var de_UpdateDeploymentGroupCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
5049
3641
|
errorCode
|
|
5050
3642
|
});
|
|
5051
3643
|
}
|
|
5052
|
-
}, "
|
|
3644
|
+
}, "de_CommandError");
|
|
5053
3645
|
var de_AlarmsLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
5054
3646
|
const body = parsedOutput.body;
|
|
5055
3647
|
const deserialized = (0, import_smithy_client._json)(body);
|