@aws-sdk/client-omics 3.504.0 → 3.509.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +121 -3022
- package/dist-es/protocols/Aws_restJson1.js +180 -3081
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -2792,7 +2792,7 @@ var se_UploadReadSetPartCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2792
2792
|
}, "se_UploadReadSetPartCommand");
|
|
2793
2793
|
var de_AbortMultipartReadSetUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2794
2794
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2795
|
-
return
|
|
2795
|
+
return de_CommandError(output, context);
|
|
2796
2796
|
}
|
|
2797
2797
|
const contents = (0, import_smithy_client.map)({
|
|
2798
2798
|
$metadata: deserializeMetadata(output)
|
|
@@ -2800,49 +2800,9 @@ var de_AbortMultipartReadSetUploadCommand = /* @__PURE__ */ __name(async (output
|
|
|
2800
2800
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2801
2801
|
return contents;
|
|
2802
2802
|
}, "de_AbortMultipartReadSetUploadCommand");
|
|
2803
|
-
var de_AbortMultipartReadSetUploadCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2804
|
-
const parsedOutput = {
|
|
2805
|
-
...output,
|
|
2806
|
-
body: await parseErrorBody(output.body, context)
|
|
2807
|
-
};
|
|
2808
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2809
|
-
switch (errorCode) {
|
|
2810
|
-
case "AccessDeniedException":
|
|
2811
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
2812
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2813
|
-
case "InternalServerException":
|
|
2814
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
2815
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2816
|
-
case "NotSupportedOperationException":
|
|
2817
|
-
case "com.amazonaws.omics#NotSupportedOperationException":
|
|
2818
|
-
throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
|
|
2819
|
-
case "RequestTimeoutException":
|
|
2820
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
2821
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
2822
|
-
case "ResourceNotFoundException":
|
|
2823
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
2824
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2825
|
-
case "ServiceQuotaExceededException":
|
|
2826
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
2827
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2828
|
-
case "ThrottlingException":
|
|
2829
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
2830
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2831
|
-
case "ValidationException":
|
|
2832
|
-
case "com.amazonaws.omics#ValidationException":
|
|
2833
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2834
|
-
default:
|
|
2835
|
-
const parsedBody = parsedOutput.body;
|
|
2836
|
-
return throwDefaultError({
|
|
2837
|
-
output,
|
|
2838
|
-
parsedBody,
|
|
2839
|
-
errorCode
|
|
2840
|
-
});
|
|
2841
|
-
}
|
|
2842
|
-
}, "de_AbortMultipartReadSetUploadCommandError");
|
|
2843
2803
|
var de_AcceptShareCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2844
2804
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2845
|
-
return
|
|
2805
|
+
return de_CommandError(output, context);
|
|
2846
2806
|
}
|
|
2847
2807
|
const contents = (0, import_smithy_client.map)({
|
|
2848
2808
|
$metadata: deserializeMetadata(output)
|
|
@@ -2854,46 +2814,9 @@ var de_AcceptShareCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2854
2814
|
Object.assign(contents, doc);
|
|
2855
2815
|
return contents;
|
|
2856
2816
|
}, "de_AcceptShareCommand");
|
|
2857
|
-
var de_AcceptShareCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2858
|
-
const parsedOutput = {
|
|
2859
|
-
...output,
|
|
2860
|
-
body: await parseErrorBody(output.body, context)
|
|
2861
|
-
};
|
|
2862
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2863
|
-
switch (errorCode) {
|
|
2864
|
-
case "AccessDeniedException":
|
|
2865
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
2866
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2867
|
-
case "ConflictException":
|
|
2868
|
-
case "com.amazonaws.omics#ConflictException":
|
|
2869
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2870
|
-
case "InternalServerException":
|
|
2871
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
2872
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2873
|
-
case "ResourceNotFoundException":
|
|
2874
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
2875
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2876
|
-
case "ServiceQuotaExceededException":
|
|
2877
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
2878
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2879
|
-
case "ThrottlingException":
|
|
2880
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
2881
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2882
|
-
case "ValidationException":
|
|
2883
|
-
case "com.amazonaws.omics#ValidationException":
|
|
2884
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2885
|
-
default:
|
|
2886
|
-
const parsedBody = parsedOutput.body;
|
|
2887
|
-
return throwDefaultError({
|
|
2888
|
-
output,
|
|
2889
|
-
parsedBody,
|
|
2890
|
-
errorCode
|
|
2891
|
-
});
|
|
2892
|
-
}
|
|
2893
|
-
}, "de_AcceptShareCommandError");
|
|
2894
2817
|
var de_BatchDeleteReadSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2895
2818
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2896
|
-
return
|
|
2819
|
+
return de_CommandError(output, context);
|
|
2897
2820
|
}
|
|
2898
2821
|
const contents = (0, import_smithy_client.map)({
|
|
2899
2822
|
$metadata: deserializeMetadata(output)
|
|
@@ -2905,43 +2828,9 @@ var de_BatchDeleteReadSetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2905
2828
|
Object.assign(contents, doc);
|
|
2906
2829
|
return contents;
|
|
2907
2830
|
}, "de_BatchDeleteReadSetCommand");
|
|
2908
|
-
var de_BatchDeleteReadSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2909
|
-
const parsedOutput = {
|
|
2910
|
-
...output,
|
|
2911
|
-
body: await parseErrorBody(output.body, context)
|
|
2912
|
-
};
|
|
2913
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2914
|
-
switch (errorCode) {
|
|
2915
|
-
case "AccessDeniedException":
|
|
2916
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
2917
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2918
|
-
case "InternalServerException":
|
|
2919
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
2920
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2921
|
-
case "RequestTimeoutException":
|
|
2922
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
2923
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
2924
|
-
case "ResourceNotFoundException":
|
|
2925
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
2926
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2927
|
-
case "ThrottlingException":
|
|
2928
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
2929
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2930
|
-
case "ValidationException":
|
|
2931
|
-
case "com.amazonaws.omics#ValidationException":
|
|
2932
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2933
|
-
default:
|
|
2934
|
-
const parsedBody = parsedOutput.body;
|
|
2935
|
-
return throwDefaultError({
|
|
2936
|
-
output,
|
|
2937
|
-
parsedBody,
|
|
2938
|
-
errorCode
|
|
2939
|
-
});
|
|
2940
|
-
}
|
|
2941
|
-
}, "de_BatchDeleteReadSetCommandError");
|
|
2942
2831
|
var de_CancelAnnotationImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2943
2832
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2944
|
-
return
|
|
2833
|
+
return de_CommandError(output, context);
|
|
2945
2834
|
}
|
|
2946
2835
|
const contents = (0, import_smithy_client.map)({
|
|
2947
2836
|
$metadata: deserializeMetadata(output)
|
|
@@ -2949,40 +2838,9 @@ var de_CancelAnnotationImportJobCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2949
2838
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2950
2839
|
return contents;
|
|
2951
2840
|
}, "de_CancelAnnotationImportJobCommand");
|
|
2952
|
-
var de_CancelAnnotationImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2953
|
-
const parsedOutput = {
|
|
2954
|
-
...output,
|
|
2955
|
-
body: await parseErrorBody(output.body, context)
|
|
2956
|
-
};
|
|
2957
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2958
|
-
switch (errorCode) {
|
|
2959
|
-
case "AccessDeniedException":
|
|
2960
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
2961
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2962
|
-
case "InternalServerException":
|
|
2963
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
2964
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2965
|
-
case "ResourceNotFoundException":
|
|
2966
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
2967
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2968
|
-
case "ThrottlingException":
|
|
2969
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
2970
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2971
|
-
case "ValidationException":
|
|
2972
|
-
case "com.amazonaws.omics#ValidationException":
|
|
2973
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2974
|
-
default:
|
|
2975
|
-
const parsedBody = parsedOutput.body;
|
|
2976
|
-
return throwDefaultError({
|
|
2977
|
-
output,
|
|
2978
|
-
parsedBody,
|
|
2979
|
-
errorCode
|
|
2980
|
-
});
|
|
2981
|
-
}
|
|
2982
|
-
}, "de_CancelAnnotationImportJobCommandError");
|
|
2983
2841
|
var de_CancelRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2984
2842
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2985
|
-
return
|
|
2843
|
+
return de_CommandError(output, context);
|
|
2986
2844
|
}
|
|
2987
2845
|
const contents = (0, import_smithy_client.map)({
|
|
2988
2846
|
$metadata: deserializeMetadata(output)
|
|
@@ -2990,49 +2848,9 @@ var de_CancelRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2990
2848
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2991
2849
|
return contents;
|
|
2992
2850
|
}, "de_CancelRunCommand");
|
|
2993
|
-
var de_CancelRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2994
|
-
const parsedOutput = {
|
|
2995
|
-
...output,
|
|
2996
|
-
body: await parseErrorBody(output.body, context)
|
|
2997
|
-
};
|
|
2998
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2999
|
-
switch (errorCode) {
|
|
3000
|
-
case "AccessDeniedException":
|
|
3001
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3002
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3003
|
-
case "ConflictException":
|
|
3004
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3005
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3006
|
-
case "InternalServerException":
|
|
3007
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3008
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3009
|
-
case "RequestTimeoutException":
|
|
3010
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3011
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3012
|
-
case "ResourceNotFoundException":
|
|
3013
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3014
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3015
|
-
case "ServiceQuotaExceededException":
|
|
3016
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3017
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3018
|
-
case "ThrottlingException":
|
|
3019
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3020
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3021
|
-
case "ValidationException":
|
|
3022
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3023
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3024
|
-
default:
|
|
3025
|
-
const parsedBody = parsedOutput.body;
|
|
3026
|
-
return throwDefaultError({
|
|
3027
|
-
output,
|
|
3028
|
-
parsedBody,
|
|
3029
|
-
errorCode
|
|
3030
|
-
});
|
|
3031
|
-
}
|
|
3032
|
-
}, "de_CancelRunCommandError");
|
|
3033
2851
|
var de_CancelVariantImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3034
2852
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3035
|
-
return
|
|
2853
|
+
return de_CommandError(output, context);
|
|
3036
2854
|
}
|
|
3037
2855
|
const contents = (0, import_smithy_client.map)({
|
|
3038
2856
|
$metadata: deserializeMetadata(output)
|
|
@@ -3040,40 +2858,9 @@ var de_CancelVariantImportJobCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3040
2858
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3041
2859
|
return contents;
|
|
3042
2860
|
}, "de_CancelVariantImportJobCommand");
|
|
3043
|
-
var de_CancelVariantImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3044
|
-
const parsedOutput = {
|
|
3045
|
-
...output,
|
|
3046
|
-
body: await parseErrorBody(output.body, context)
|
|
3047
|
-
};
|
|
3048
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3049
|
-
switch (errorCode) {
|
|
3050
|
-
case "AccessDeniedException":
|
|
3051
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3052
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3053
|
-
case "InternalServerException":
|
|
3054
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3055
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3056
|
-
case "ResourceNotFoundException":
|
|
3057
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3058
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3059
|
-
case "ThrottlingException":
|
|
3060
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3061
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3062
|
-
case "ValidationException":
|
|
3063
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3064
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3065
|
-
default:
|
|
3066
|
-
const parsedBody = parsedOutput.body;
|
|
3067
|
-
return throwDefaultError({
|
|
3068
|
-
output,
|
|
3069
|
-
parsedBody,
|
|
3070
|
-
errorCode
|
|
3071
|
-
});
|
|
3072
|
-
}
|
|
3073
|
-
}, "de_CancelVariantImportJobCommandError");
|
|
3074
2861
|
var de_CompleteMultipartReadSetUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3075
2862
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3076
|
-
return
|
|
2863
|
+
return de_CommandError(output, context);
|
|
3077
2864
|
}
|
|
3078
2865
|
const contents = (0, import_smithy_client.map)({
|
|
3079
2866
|
$metadata: deserializeMetadata(output)
|
|
@@ -3085,49 +2872,9 @@ var de_CompleteMultipartReadSetUploadCommand = /* @__PURE__ */ __name(async (out
|
|
|
3085
2872
|
Object.assign(contents, doc);
|
|
3086
2873
|
return contents;
|
|
3087
2874
|
}, "de_CompleteMultipartReadSetUploadCommand");
|
|
3088
|
-
var de_CompleteMultipartReadSetUploadCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3089
|
-
const parsedOutput = {
|
|
3090
|
-
...output,
|
|
3091
|
-
body: await parseErrorBody(output.body, context)
|
|
3092
|
-
};
|
|
3093
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3094
|
-
switch (errorCode) {
|
|
3095
|
-
case "AccessDeniedException":
|
|
3096
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3097
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3098
|
-
case "InternalServerException":
|
|
3099
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3100
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3101
|
-
case "NotSupportedOperationException":
|
|
3102
|
-
case "com.amazonaws.omics#NotSupportedOperationException":
|
|
3103
|
-
throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
|
|
3104
|
-
case "RequestTimeoutException":
|
|
3105
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3106
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3107
|
-
case "ResourceNotFoundException":
|
|
3108
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3109
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3110
|
-
case "ServiceQuotaExceededException":
|
|
3111
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3112
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3113
|
-
case "ThrottlingException":
|
|
3114
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3115
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3116
|
-
case "ValidationException":
|
|
3117
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3118
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3119
|
-
default:
|
|
3120
|
-
const parsedBody = parsedOutput.body;
|
|
3121
|
-
return throwDefaultError({
|
|
3122
|
-
output,
|
|
3123
|
-
parsedBody,
|
|
3124
|
-
errorCode
|
|
3125
|
-
});
|
|
3126
|
-
}
|
|
3127
|
-
}, "de_CompleteMultipartReadSetUploadCommandError");
|
|
3128
2875
|
var de_CreateAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3129
2876
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3130
|
-
return
|
|
2877
|
+
return de_CommandError(output, context);
|
|
3131
2878
|
}
|
|
3132
2879
|
const contents = (0, import_smithy_client.map)({
|
|
3133
2880
|
$metadata: deserializeMetadata(output)
|
|
@@ -3146,46 +2893,9 @@ var de_CreateAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3146
2893
|
Object.assign(contents, doc);
|
|
3147
2894
|
return contents;
|
|
3148
2895
|
}, "de_CreateAnnotationStoreCommand");
|
|
3149
|
-
var de_CreateAnnotationStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3150
|
-
const parsedOutput = {
|
|
3151
|
-
...output,
|
|
3152
|
-
body: await parseErrorBody(output.body, context)
|
|
3153
|
-
};
|
|
3154
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3155
|
-
switch (errorCode) {
|
|
3156
|
-
case "AccessDeniedException":
|
|
3157
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3158
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3159
|
-
case "ConflictException":
|
|
3160
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3161
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3162
|
-
case "InternalServerException":
|
|
3163
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3164
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3165
|
-
case "ResourceNotFoundException":
|
|
3166
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3167
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3168
|
-
case "ServiceQuotaExceededException":
|
|
3169
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3170
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3171
|
-
case "ThrottlingException":
|
|
3172
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3173
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3174
|
-
case "ValidationException":
|
|
3175
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3176
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3177
|
-
default:
|
|
3178
|
-
const parsedBody = parsedOutput.body;
|
|
3179
|
-
return throwDefaultError({
|
|
3180
|
-
output,
|
|
3181
|
-
parsedBody,
|
|
3182
|
-
errorCode
|
|
3183
|
-
});
|
|
3184
|
-
}
|
|
3185
|
-
}, "de_CreateAnnotationStoreCommandError");
|
|
3186
2896
|
var de_CreateAnnotationStoreVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3187
2897
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3188
|
-
return
|
|
2898
|
+
return de_CommandError(output, context);
|
|
3189
2899
|
}
|
|
3190
2900
|
const contents = (0, import_smithy_client.map)({
|
|
3191
2901
|
$metadata: deserializeMetadata(output)
|
|
@@ -3203,46 +2913,9 @@ var de_CreateAnnotationStoreVersionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3203
2913
|
Object.assign(contents, doc);
|
|
3204
2914
|
return contents;
|
|
3205
2915
|
}, "de_CreateAnnotationStoreVersionCommand");
|
|
3206
|
-
var de_CreateAnnotationStoreVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3207
|
-
const parsedOutput = {
|
|
3208
|
-
...output,
|
|
3209
|
-
body: await parseErrorBody(output.body, context)
|
|
3210
|
-
};
|
|
3211
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3212
|
-
switch (errorCode) {
|
|
3213
|
-
case "AccessDeniedException":
|
|
3214
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3215
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3216
|
-
case "ConflictException":
|
|
3217
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3218
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3219
|
-
case "InternalServerException":
|
|
3220
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3221
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3222
|
-
case "ResourceNotFoundException":
|
|
3223
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3224
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3225
|
-
case "ServiceQuotaExceededException":
|
|
3226
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3227
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3228
|
-
case "ThrottlingException":
|
|
3229
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3230
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3231
|
-
case "ValidationException":
|
|
3232
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3233
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3234
|
-
default:
|
|
3235
|
-
const parsedBody = parsedOutput.body;
|
|
3236
|
-
return throwDefaultError({
|
|
3237
|
-
output,
|
|
3238
|
-
parsedBody,
|
|
3239
|
-
errorCode
|
|
3240
|
-
});
|
|
3241
|
-
}
|
|
3242
|
-
}, "de_CreateAnnotationStoreVersionCommandError");
|
|
3243
2916
|
var de_CreateMultipartReadSetUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3244
2917
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3245
|
-
return
|
|
2918
|
+
return de_CommandError(output, context);
|
|
3246
2919
|
}
|
|
3247
2920
|
const contents = (0, import_smithy_client.map)({
|
|
3248
2921
|
$metadata: deserializeMetadata(output)
|
|
@@ -3264,49 +2937,9 @@ var de_CreateMultipartReadSetUploadCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3264
2937
|
Object.assign(contents, doc);
|
|
3265
2938
|
return contents;
|
|
3266
2939
|
}, "de_CreateMultipartReadSetUploadCommand");
|
|
3267
|
-
var de_CreateMultipartReadSetUploadCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3268
|
-
const parsedOutput = {
|
|
3269
|
-
...output,
|
|
3270
|
-
body: await parseErrorBody(output.body, context)
|
|
3271
|
-
};
|
|
3272
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3273
|
-
switch (errorCode) {
|
|
3274
|
-
case "AccessDeniedException":
|
|
3275
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3276
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3277
|
-
case "InternalServerException":
|
|
3278
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3279
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3280
|
-
case "NotSupportedOperationException":
|
|
3281
|
-
case "com.amazonaws.omics#NotSupportedOperationException":
|
|
3282
|
-
throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
|
|
3283
|
-
case "RequestTimeoutException":
|
|
3284
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3285
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3286
|
-
case "ResourceNotFoundException":
|
|
3287
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3288
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3289
|
-
case "ServiceQuotaExceededException":
|
|
3290
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3291
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3292
|
-
case "ThrottlingException":
|
|
3293
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3294
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3295
|
-
case "ValidationException":
|
|
3296
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3297
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3298
|
-
default:
|
|
3299
|
-
const parsedBody = parsedOutput.body;
|
|
3300
|
-
return throwDefaultError({
|
|
3301
|
-
output,
|
|
3302
|
-
parsedBody,
|
|
3303
|
-
errorCode
|
|
3304
|
-
});
|
|
3305
|
-
}
|
|
3306
|
-
}, "de_CreateMultipartReadSetUploadCommandError");
|
|
3307
2940
|
var de_CreateReferenceStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3308
2941
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3309
|
-
return
|
|
2942
|
+
return de_CommandError(output, context);
|
|
3310
2943
|
}
|
|
3311
2944
|
const contents = (0, import_smithy_client.map)({
|
|
3312
2945
|
$metadata: deserializeMetadata(output)
|
|
@@ -3323,43 +2956,9 @@ var de_CreateReferenceStoreCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3323
2956
|
Object.assign(contents, doc);
|
|
3324
2957
|
return contents;
|
|
3325
2958
|
}, "de_CreateReferenceStoreCommand");
|
|
3326
|
-
var de_CreateReferenceStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3327
|
-
const parsedOutput = {
|
|
3328
|
-
...output,
|
|
3329
|
-
body: await parseErrorBody(output.body, context)
|
|
3330
|
-
};
|
|
3331
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3332
|
-
switch (errorCode) {
|
|
3333
|
-
case "AccessDeniedException":
|
|
3334
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3335
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3336
|
-
case "InternalServerException":
|
|
3337
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3338
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3339
|
-
case "RequestTimeoutException":
|
|
3340
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3341
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3342
|
-
case "ServiceQuotaExceededException":
|
|
3343
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3344
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3345
|
-
case "ThrottlingException":
|
|
3346
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3347
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3348
|
-
case "ValidationException":
|
|
3349
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3350
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3351
|
-
default:
|
|
3352
|
-
const parsedBody = parsedOutput.body;
|
|
3353
|
-
return throwDefaultError({
|
|
3354
|
-
output,
|
|
3355
|
-
parsedBody,
|
|
3356
|
-
errorCode
|
|
3357
|
-
});
|
|
3358
|
-
}
|
|
3359
|
-
}, "de_CreateReferenceStoreCommandError");
|
|
3360
2959
|
var de_CreateRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3361
2960
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
3362
|
-
return
|
|
2961
|
+
return de_CommandError(output, context);
|
|
3363
2962
|
}
|
|
3364
2963
|
const contents = (0, import_smithy_client.map)({
|
|
3365
2964
|
$metadata: deserializeMetadata(output)
|
|
@@ -3373,49 +2972,9 @@ var de_CreateRunGroupCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3373
2972
|
Object.assign(contents, doc);
|
|
3374
2973
|
return contents;
|
|
3375
2974
|
}, "de_CreateRunGroupCommand");
|
|
3376
|
-
var de_CreateRunGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3377
|
-
const parsedOutput = {
|
|
3378
|
-
...output,
|
|
3379
|
-
body: await parseErrorBody(output.body, context)
|
|
3380
|
-
};
|
|
3381
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3382
|
-
switch (errorCode) {
|
|
3383
|
-
case "AccessDeniedException":
|
|
3384
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3385
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3386
|
-
case "ConflictException":
|
|
3387
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3388
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3389
|
-
case "InternalServerException":
|
|
3390
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3391
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3392
|
-
case "RequestTimeoutException":
|
|
3393
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3394
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3395
|
-
case "ResourceNotFoundException":
|
|
3396
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3397
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3398
|
-
case "ServiceQuotaExceededException":
|
|
3399
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3400
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3401
|
-
case "ThrottlingException":
|
|
3402
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3403
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3404
|
-
case "ValidationException":
|
|
3405
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3406
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3407
|
-
default:
|
|
3408
|
-
const parsedBody = parsedOutput.body;
|
|
3409
|
-
return throwDefaultError({
|
|
3410
|
-
output,
|
|
3411
|
-
parsedBody,
|
|
3412
|
-
errorCode
|
|
3413
|
-
});
|
|
3414
|
-
}
|
|
3415
|
-
}, "de_CreateRunGroupCommandError");
|
|
3416
2975
|
var de_CreateSequenceStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3417
2976
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3418
|
-
return
|
|
2977
|
+
return de_CommandError(output, context);
|
|
3419
2978
|
}
|
|
3420
2979
|
const contents = (0, import_smithy_client.map)({
|
|
3421
2980
|
$metadata: deserializeMetadata(output)
|
|
@@ -3433,43 +2992,9 @@ var de_CreateSequenceStoreCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3433
2992
|
Object.assign(contents, doc);
|
|
3434
2993
|
return contents;
|
|
3435
2994
|
}, "de_CreateSequenceStoreCommand");
|
|
3436
|
-
var de_CreateSequenceStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3437
|
-
const parsedOutput = {
|
|
3438
|
-
...output,
|
|
3439
|
-
body: await parseErrorBody(output.body, context)
|
|
3440
|
-
};
|
|
3441
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3442
|
-
switch (errorCode) {
|
|
3443
|
-
case "AccessDeniedException":
|
|
3444
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3445
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3446
|
-
case "InternalServerException":
|
|
3447
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3448
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3449
|
-
case "RequestTimeoutException":
|
|
3450
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3451
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3452
|
-
case "ServiceQuotaExceededException":
|
|
3453
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3454
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3455
|
-
case "ThrottlingException":
|
|
3456
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3457
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3458
|
-
case "ValidationException":
|
|
3459
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3460
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3461
|
-
default:
|
|
3462
|
-
const parsedBody = parsedOutput.body;
|
|
3463
|
-
return throwDefaultError({
|
|
3464
|
-
output,
|
|
3465
|
-
parsedBody,
|
|
3466
|
-
errorCode
|
|
3467
|
-
});
|
|
3468
|
-
}
|
|
3469
|
-
}, "de_CreateSequenceStoreCommandError");
|
|
3470
2995
|
var de_CreateShareCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3471
2996
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3472
|
-
return
|
|
2997
|
+
return de_CommandError(output, context);
|
|
3473
2998
|
}
|
|
3474
2999
|
const contents = (0, import_smithy_client.map)({
|
|
3475
3000
|
$metadata: deserializeMetadata(output)
|
|
@@ -3483,46 +3008,9 @@ var de_CreateShareCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3483
3008
|
Object.assign(contents, doc);
|
|
3484
3009
|
return contents;
|
|
3485
3010
|
}, "de_CreateShareCommand");
|
|
3486
|
-
var de_CreateShareCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3487
|
-
const parsedOutput = {
|
|
3488
|
-
...output,
|
|
3489
|
-
body: await parseErrorBody(output.body, context)
|
|
3490
|
-
};
|
|
3491
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3492
|
-
switch (errorCode) {
|
|
3493
|
-
case "AccessDeniedException":
|
|
3494
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3495
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3496
|
-
case "ConflictException":
|
|
3497
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3498
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3499
|
-
case "InternalServerException":
|
|
3500
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3501
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3502
|
-
case "ResourceNotFoundException":
|
|
3503
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3504
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3505
|
-
case "ServiceQuotaExceededException":
|
|
3506
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3507
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3508
|
-
case "ThrottlingException":
|
|
3509
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3510
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3511
|
-
case "ValidationException":
|
|
3512
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3513
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3514
|
-
default:
|
|
3515
|
-
const parsedBody = parsedOutput.body;
|
|
3516
|
-
return throwDefaultError({
|
|
3517
|
-
output,
|
|
3518
|
-
parsedBody,
|
|
3519
|
-
errorCode
|
|
3520
|
-
});
|
|
3521
|
-
}
|
|
3522
|
-
}, "de_CreateShareCommandError");
|
|
3523
3011
|
var de_CreateVariantStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3524
3012
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3525
|
-
return
|
|
3013
|
+
return de_CommandError(output, context);
|
|
3526
3014
|
}
|
|
3527
3015
|
const contents = (0, import_smithy_client.map)({
|
|
3528
3016
|
$metadata: deserializeMetadata(output)
|
|
@@ -3538,46 +3026,9 @@ var de_CreateVariantStoreCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3538
3026
|
Object.assign(contents, doc);
|
|
3539
3027
|
return contents;
|
|
3540
3028
|
}, "de_CreateVariantStoreCommand");
|
|
3541
|
-
var de_CreateVariantStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3542
|
-
const parsedOutput = {
|
|
3543
|
-
...output,
|
|
3544
|
-
body: await parseErrorBody(output.body, context)
|
|
3545
|
-
};
|
|
3546
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3547
|
-
switch (errorCode) {
|
|
3548
|
-
case "AccessDeniedException":
|
|
3549
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3550
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3551
|
-
case "ConflictException":
|
|
3552
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3553
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3554
|
-
case "InternalServerException":
|
|
3555
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3556
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3557
|
-
case "ResourceNotFoundException":
|
|
3558
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3559
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3560
|
-
case "ServiceQuotaExceededException":
|
|
3561
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3562
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3563
|
-
case "ThrottlingException":
|
|
3564
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3565
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3566
|
-
case "ValidationException":
|
|
3567
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3568
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3569
|
-
default:
|
|
3570
|
-
const parsedBody = parsedOutput.body;
|
|
3571
|
-
return throwDefaultError({
|
|
3572
|
-
output,
|
|
3573
|
-
parsedBody,
|
|
3574
|
-
errorCode
|
|
3575
|
-
});
|
|
3576
|
-
}
|
|
3577
|
-
}, "de_CreateVariantStoreCommandError");
|
|
3578
3029
|
var de_CreateWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3579
3030
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
3580
|
-
return
|
|
3031
|
+
return de_CommandError(output, context);
|
|
3581
3032
|
}
|
|
3582
3033
|
const contents = (0, import_smithy_client.map)({
|
|
3583
3034
|
$metadata: deserializeMetadata(output)
|
|
@@ -3592,49 +3043,9 @@ var de_CreateWorkflowCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3592
3043
|
Object.assign(contents, doc);
|
|
3593
3044
|
return contents;
|
|
3594
3045
|
}, "de_CreateWorkflowCommand");
|
|
3595
|
-
var de_CreateWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3596
|
-
const parsedOutput = {
|
|
3597
|
-
...output,
|
|
3598
|
-
body: await parseErrorBody(output.body, context)
|
|
3599
|
-
};
|
|
3600
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3601
|
-
switch (errorCode) {
|
|
3602
|
-
case "AccessDeniedException":
|
|
3603
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3604
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3605
|
-
case "ConflictException":
|
|
3606
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3607
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3608
|
-
case "InternalServerException":
|
|
3609
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3610
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3611
|
-
case "RequestTimeoutException":
|
|
3612
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3613
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3614
|
-
case "ResourceNotFoundException":
|
|
3615
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3616
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3617
|
-
case "ServiceQuotaExceededException":
|
|
3618
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3619
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3620
|
-
case "ThrottlingException":
|
|
3621
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3622
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3623
|
-
case "ValidationException":
|
|
3624
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3625
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3626
|
-
default:
|
|
3627
|
-
const parsedBody = parsedOutput.body;
|
|
3628
|
-
return throwDefaultError({
|
|
3629
|
-
output,
|
|
3630
|
-
parsedBody,
|
|
3631
|
-
errorCode
|
|
3632
|
-
});
|
|
3633
|
-
}
|
|
3634
|
-
}, "de_CreateWorkflowCommandError");
|
|
3635
3046
|
var de_DeleteAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3636
3047
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3637
|
-
return
|
|
3048
|
+
return de_CommandError(output, context);
|
|
3638
3049
|
}
|
|
3639
3050
|
const contents = (0, import_smithy_client.map)({
|
|
3640
3051
|
$metadata: deserializeMetadata(output)
|
|
@@ -3646,43 +3057,9 @@ var de_DeleteAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3646
3057
|
Object.assign(contents, doc);
|
|
3647
3058
|
return contents;
|
|
3648
3059
|
}, "de_DeleteAnnotationStoreCommand");
|
|
3649
|
-
var de_DeleteAnnotationStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3650
|
-
const parsedOutput = {
|
|
3651
|
-
...output,
|
|
3652
|
-
body: await parseErrorBody(output.body, context)
|
|
3653
|
-
};
|
|
3654
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3655
|
-
switch (errorCode) {
|
|
3656
|
-
case "AccessDeniedException":
|
|
3657
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3658
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3659
|
-
case "ConflictException":
|
|
3660
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3661
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3662
|
-
case "InternalServerException":
|
|
3663
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3664
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3665
|
-
case "ResourceNotFoundException":
|
|
3666
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3667
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3668
|
-
case "ThrottlingException":
|
|
3669
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3670
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3671
|
-
case "ValidationException":
|
|
3672
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3673
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3674
|
-
default:
|
|
3675
|
-
const parsedBody = parsedOutput.body;
|
|
3676
|
-
return throwDefaultError({
|
|
3677
|
-
output,
|
|
3678
|
-
parsedBody,
|
|
3679
|
-
errorCode
|
|
3680
|
-
});
|
|
3681
|
-
}
|
|
3682
|
-
}, "de_DeleteAnnotationStoreCommandError");
|
|
3683
3060
|
var de_DeleteAnnotationStoreVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3684
3061
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3685
|
-
return
|
|
3062
|
+
return de_CommandError(output, context);
|
|
3686
3063
|
}
|
|
3687
3064
|
const contents = (0, import_smithy_client.map)({
|
|
3688
3065
|
$metadata: deserializeMetadata(output)
|
|
@@ -3694,43 +3071,9 @@ var de_DeleteAnnotationStoreVersionsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3694
3071
|
Object.assign(contents, doc);
|
|
3695
3072
|
return contents;
|
|
3696
3073
|
}, "de_DeleteAnnotationStoreVersionsCommand");
|
|
3697
|
-
var de_DeleteAnnotationStoreVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3698
|
-
const parsedOutput = {
|
|
3699
|
-
...output,
|
|
3700
|
-
body: await parseErrorBody(output.body, context)
|
|
3701
|
-
};
|
|
3702
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3703
|
-
switch (errorCode) {
|
|
3704
|
-
case "AccessDeniedException":
|
|
3705
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3706
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3707
|
-
case "ConflictException":
|
|
3708
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3709
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3710
|
-
case "InternalServerException":
|
|
3711
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3712
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3713
|
-
case "ResourceNotFoundException":
|
|
3714
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3715
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3716
|
-
case "ThrottlingException":
|
|
3717
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3718
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3719
|
-
case "ValidationException":
|
|
3720
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3721
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3722
|
-
default:
|
|
3723
|
-
const parsedBody = parsedOutput.body;
|
|
3724
|
-
return throwDefaultError({
|
|
3725
|
-
output,
|
|
3726
|
-
parsedBody,
|
|
3727
|
-
errorCode
|
|
3728
|
-
});
|
|
3729
|
-
}
|
|
3730
|
-
}, "de_DeleteAnnotationStoreVersionsCommandError");
|
|
3731
3074
|
var de_DeleteReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3732
3075
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3733
|
-
return
|
|
3076
|
+
return de_CommandError(output, context);
|
|
3734
3077
|
}
|
|
3735
3078
|
const contents = (0, import_smithy_client.map)({
|
|
3736
3079
|
$metadata: deserializeMetadata(output)
|
|
@@ -3738,46 +3081,9 @@ var de_DeleteReferenceCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3738
3081
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3739
3082
|
return contents;
|
|
3740
3083
|
}, "de_DeleteReferenceCommand");
|
|
3741
|
-
var de_DeleteReferenceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3742
|
-
const parsedOutput = {
|
|
3743
|
-
...output,
|
|
3744
|
-
body: await parseErrorBody(output.body, context)
|
|
3745
|
-
};
|
|
3746
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3747
|
-
switch (errorCode) {
|
|
3748
|
-
case "AccessDeniedException":
|
|
3749
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3750
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3751
|
-
case "ConflictException":
|
|
3752
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3753
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3754
|
-
case "InternalServerException":
|
|
3755
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3756
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3757
|
-
case "RequestTimeoutException":
|
|
3758
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3759
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3760
|
-
case "ResourceNotFoundException":
|
|
3761
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3762
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3763
|
-
case "ThrottlingException":
|
|
3764
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3765
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3766
|
-
case "ValidationException":
|
|
3767
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3768
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3769
|
-
default:
|
|
3770
|
-
const parsedBody = parsedOutput.body;
|
|
3771
|
-
return throwDefaultError({
|
|
3772
|
-
output,
|
|
3773
|
-
parsedBody,
|
|
3774
|
-
errorCode
|
|
3775
|
-
});
|
|
3776
|
-
}
|
|
3777
|
-
}, "de_DeleteReferenceCommandError");
|
|
3778
3084
|
var de_DeleteReferenceStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3779
3085
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3780
|
-
return
|
|
3086
|
+
return de_CommandError(output, context);
|
|
3781
3087
|
}
|
|
3782
3088
|
const contents = (0, import_smithy_client.map)({
|
|
3783
3089
|
$metadata: deserializeMetadata(output)
|
|
@@ -3785,46 +3091,9 @@ var de_DeleteReferenceStoreCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3785
3091
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3786
3092
|
return contents;
|
|
3787
3093
|
}, "de_DeleteReferenceStoreCommand");
|
|
3788
|
-
var de_DeleteReferenceStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3789
|
-
const parsedOutput = {
|
|
3790
|
-
...output,
|
|
3791
|
-
body: await parseErrorBody(output.body, context)
|
|
3792
|
-
};
|
|
3793
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3794
|
-
switch (errorCode) {
|
|
3795
|
-
case "AccessDeniedException":
|
|
3796
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3797
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3798
|
-
case "ConflictException":
|
|
3799
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3800
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3801
|
-
case "InternalServerException":
|
|
3802
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3803
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3804
|
-
case "RequestTimeoutException":
|
|
3805
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3806
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3807
|
-
case "ResourceNotFoundException":
|
|
3808
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3809
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3810
|
-
case "ThrottlingException":
|
|
3811
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3812
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3813
|
-
case "ValidationException":
|
|
3814
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3815
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3816
|
-
default:
|
|
3817
|
-
const parsedBody = parsedOutput.body;
|
|
3818
|
-
return throwDefaultError({
|
|
3819
|
-
output,
|
|
3820
|
-
parsedBody,
|
|
3821
|
-
errorCode
|
|
3822
|
-
});
|
|
3823
|
-
}
|
|
3824
|
-
}, "de_DeleteReferenceStoreCommandError");
|
|
3825
3094
|
var de_DeleteRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3826
3095
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
3827
|
-
return
|
|
3096
|
+
return de_CommandError(output, context);
|
|
3828
3097
|
}
|
|
3829
3098
|
const contents = (0, import_smithy_client.map)({
|
|
3830
3099
|
$metadata: deserializeMetadata(output)
|
|
@@ -3832,49 +3101,9 @@ var de_DeleteRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3832
3101
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3833
3102
|
return contents;
|
|
3834
3103
|
}, "de_DeleteRunCommand");
|
|
3835
|
-
var de_DeleteRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3836
|
-
const parsedOutput = {
|
|
3837
|
-
...output,
|
|
3838
|
-
body: await parseErrorBody(output.body, context)
|
|
3839
|
-
};
|
|
3840
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3841
|
-
switch (errorCode) {
|
|
3842
|
-
case "AccessDeniedException":
|
|
3843
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3844
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3845
|
-
case "ConflictException":
|
|
3846
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3847
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3848
|
-
case "InternalServerException":
|
|
3849
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3850
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3851
|
-
case "RequestTimeoutException":
|
|
3852
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3853
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3854
|
-
case "ResourceNotFoundException":
|
|
3855
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3856
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3857
|
-
case "ServiceQuotaExceededException":
|
|
3858
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3859
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3860
|
-
case "ThrottlingException":
|
|
3861
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3862
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3863
|
-
case "ValidationException":
|
|
3864
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3865
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3866
|
-
default:
|
|
3867
|
-
const parsedBody = parsedOutput.body;
|
|
3868
|
-
return throwDefaultError({
|
|
3869
|
-
output,
|
|
3870
|
-
parsedBody,
|
|
3871
|
-
errorCode
|
|
3872
|
-
});
|
|
3873
|
-
}
|
|
3874
|
-
}, "de_DeleteRunCommandError");
|
|
3875
3104
|
var de_DeleteRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3876
3105
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
3877
|
-
return
|
|
3106
|
+
return de_CommandError(output, context);
|
|
3878
3107
|
}
|
|
3879
3108
|
const contents = (0, import_smithy_client.map)({
|
|
3880
3109
|
$metadata: deserializeMetadata(output)
|
|
@@ -3882,49 +3111,9 @@ var de_DeleteRunGroupCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3882
3111
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3883
3112
|
return contents;
|
|
3884
3113
|
}, "de_DeleteRunGroupCommand");
|
|
3885
|
-
var de_DeleteRunGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3886
|
-
const parsedOutput = {
|
|
3887
|
-
...output,
|
|
3888
|
-
body: await parseErrorBody(output.body, context)
|
|
3889
|
-
};
|
|
3890
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3891
|
-
switch (errorCode) {
|
|
3892
|
-
case "AccessDeniedException":
|
|
3893
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3894
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3895
|
-
case "ConflictException":
|
|
3896
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3897
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3898
|
-
case "InternalServerException":
|
|
3899
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3900
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3901
|
-
case "RequestTimeoutException":
|
|
3902
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3903
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3904
|
-
case "ResourceNotFoundException":
|
|
3905
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3906
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3907
|
-
case "ServiceQuotaExceededException":
|
|
3908
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3909
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3910
|
-
case "ThrottlingException":
|
|
3911
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3912
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3913
|
-
case "ValidationException":
|
|
3914
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3915
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3916
|
-
default:
|
|
3917
|
-
const parsedBody = parsedOutput.body;
|
|
3918
|
-
return throwDefaultError({
|
|
3919
|
-
output,
|
|
3920
|
-
parsedBody,
|
|
3921
|
-
errorCode
|
|
3922
|
-
});
|
|
3923
|
-
}
|
|
3924
|
-
}, "de_DeleteRunGroupCommandError");
|
|
3925
3114
|
var de_DeleteSequenceStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3926
3115
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3927
|
-
return
|
|
3116
|
+
return de_CommandError(output, context);
|
|
3928
3117
|
}
|
|
3929
3118
|
const contents = (0, import_smithy_client.map)({
|
|
3930
3119
|
$metadata: deserializeMetadata(output)
|
|
@@ -3932,46 +3121,9 @@ var de_DeleteSequenceStoreCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3932
3121
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3933
3122
|
return contents;
|
|
3934
3123
|
}, "de_DeleteSequenceStoreCommand");
|
|
3935
|
-
var de_DeleteSequenceStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3936
|
-
const parsedOutput = {
|
|
3937
|
-
...output,
|
|
3938
|
-
body: await parseErrorBody(output.body, context)
|
|
3939
|
-
};
|
|
3940
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3941
|
-
switch (errorCode) {
|
|
3942
|
-
case "AccessDeniedException":
|
|
3943
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3944
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3945
|
-
case "ConflictException":
|
|
3946
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3947
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3948
|
-
case "InternalServerException":
|
|
3949
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
3950
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3951
|
-
case "RequestTimeoutException":
|
|
3952
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3953
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3954
|
-
case "ResourceNotFoundException":
|
|
3955
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3956
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3957
|
-
case "ThrottlingException":
|
|
3958
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
3959
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3960
|
-
case "ValidationException":
|
|
3961
|
-
case "com.amazonaws.omics#ValidationException":
|
|
3962
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3963
|
-
default:
|
|
3964
|
-
const parsedBody = parsedOutput.body;
|
|
3965
|
-
return throwDefaultError({
|
|
3966
|
-
output,
|
|
3967
|
-
parsedBody,
|
|
3968
|
-
errorCode
|
|
3969
|
-
});
|
|
3970
|
-
}
|
|
3971
|
-
}, "de_DeleteSequenceStoreCommandError");
|
|
3972
3124
|
var de_DeleteShareCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3973
3125
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3974
|
-
return
|
|
3126
|
+
return de_CommandError(output, context);
|
|
3975
3127
|
}
|
|
3976
3128
|
const contents = (0, import_smithy_client.map)({
|
|
3977
3129
|
$metadata: deserializeMetadata(output)
|
|
@@ -3983,46 +3135,9 @@ var de_DeleteShareCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3983
3135
|
Object.assign(contents, doc);
|
|
3984
3136
|
return contents;
|
|
3985
3137
|
}, "de_DeleteShareCommand");
|
|
3986
|
-
var de_DeleteShareCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3987
|
-
const parsedOutput = {
|
|
3988
|
-
...output,
|
|
3989
|
-
body: await parseErrorBody(output.body, context)
|
|
3990
|
-
};
|
|
3991
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3992
|
-
switch (errorCode) {
|
|
3993
|
-
case "AccessDeniedException":
|
|
3994
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
3995
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3996
|
-
case "ConflictException":
|
|
3997
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3998
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3999
|
-
case "InternalServerException":
|
|
4000
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4001
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4002
|
-
case "ResourceNotFoundException":
|
|
4003
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4004
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4005
|
-
case "ServiceQuotaExceededException":
|
|
4006
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
4007
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4008
|
-
case "ThrottlingException":
|
|
4009
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4010
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4011
|
-
case "ValidationException":
|
|
4012
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4013
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4014
|
-
default:
|
|
4015
|
-
const parsedBody = parsedOutput.body;
|
|
4016
|
-
return throwDefaultError({
|
|
4017
|
-
output,
|
|
4018
|
-
parsedBody,
|
|
4019
|
-
errorCode
|
|
4020
|
-
});
|
|
4021
|
-
}
|
|
4022
|
-
}, "de_DeleteShareCommandError");
|
|
4023
3138
|
var de_DeleteVariantStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4024
3139
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4025
|
-
return
|
|
3140
|
+
return de_CommandError(output, context);
|
|
4026
3141
|
}
|
|
4027
3142
|
const contents = (0, import_smithy_client.map)({
|
|
4028
3143
|
$metadata: deserializeMetadata(output)
|
|
@@ -4034,43 +3149,9 @@ var de_DeleteVariantStoreCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4034
3149
|
Object.assign(contents, doc);
|
|
4035
3150
|
return contents;
|
|
4036
3151
|
}, "de_DeleteVariantStoreCommand");
|
|
4037
|
-
var de_DeleteVariantStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4038
|
-
const parsedOutput = {
|
|
4039
|
-
...output,
|
|
4040
|
-
body: await parseErrorBody(output.body, context)
|
|
4041
|
-
};
|
|
4042
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4043
|
-
switch (errorCode) {
|
|
4044
|
-
case "AccessDeniedException":
|
|
4045
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4046
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4047
|
-
case "ConflictException":
|
|
4048
|
-
case "com.amazonaws.omics#ConflictException":
|
|
4049
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4050
|
-
case "InternalServerException":
|
|
4051
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4052
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4053
|
-
case "ResourceNotFoundException":
|
|
4054
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4055
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4056
|
-
case "ThrottlingException":
|
|
4057
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4058
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4059
|
-
case "ValidationException":
|
|
4060
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4061
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4062
|
-
default:
|
|
4063
|
-
const parsedBody = parsedOutput.body;
|
|
4064
|
-
return throwDefaultError({
|
|
4065
|
-
output,
|
|
4066
|
-
parsedBody,
|
|
4067
|
-
errorCode
|
|
4068
|
-
});
|
|
4069
|
-
}
|
|
4070
|
-
}, "de_DeleteVariantStoreCommandError");
|
|
4071
3152
|
var de_DeleteWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4072
3153
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
4073
|
-
return
|
|
3154
|
+
return de_CommandError(output, context);
|
|
4074
3155
|
}
|
|
4075
3156
|
const contents = (0, import_smithy_client.map)({
|
|
4076
3157
|
$metadata: deserializeMetadata(output)
|
|
@@ -4078,49 +3159,9 @@ var de_DeleteWorkflowCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4078
3159
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4079
3160
|
return contents;
|
|
4080
3161
|
}, "de_DeleteWorkflowCommand");
|
|
4081
|
-
var de_DeleteWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4082
|
-
const parsedOutput = {
|
|
4083
|
-
...output,
|
|
4084
|
-
body: await parseErrorBody(output.body, context)
|
|
4085
|
-
};
|
|
4086
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4087
|
-
switch (errorCode) {
|
|
4088
|
-
case "AccessDeniedException":
|
|
4089
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4090
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4091
|
-
case "ConflictException":
|
|
4092
|
-
case "com.amazonaws.omics#ConflictException":
|
|
4093
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4094
|
-
case "InternalServerException":
|
|
4095
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4096
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4097
|
-
case "RequestTimeoutException":
|
|
4098
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4099
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4100
|
-
case "ResourceNotFoundException":
|
|
4101
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4102
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4103
|
-
case "ServiceQuotaExceededException":
|
|
4104
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
4105
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4106
|
-
case "ThrottlingException":
|
|
4107
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4108
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4109
|
-
case "ValidationException":
|
|
4110
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4111
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4112
|
-
default:
|
|
4113
|
-
const parsedBody = parsedOutput.body;
|
|
4114
|
-
return throwDefaultError({
|
|
4115
|
-
output,
|
|
4116
|
-
parsedBody,
|
|
4117
|
-
errorCode
|
|
4118
|
-
});
|
|
4119
|
-
}
|
|
4120
|
-
}, "de_DeleteWorkflowCommandError");
|
|
4121
3162
|
var de_GetAnnotationImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4122
3163
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4123
|
-
return
|
|
3164
|
+
return de_CommandError(output, context);
|
|
4124
3165
|
}
|
|
4125
3166
|
const contents = (0, import_smithy_client.map)({
|
|
4126
3167
|
$metadata: deserializeMetadata(output)
|
|
@@ -4144,40 +3185,9 @@ var de_GetAnnotationImportJobCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
4144
3185
|
Object.assign(contents, doc);
|
|
4145
3186
|
return contents;
|
|
4146
3187
|
}, "de_GetAnnotationImportJobCommand");
|
|
4147
|
-
var de_GetAnnotationImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4148
|
-
const parsedOutput = {
|
|
4149
|
-
...output,
|
|
4150
|
-
body: await parseErrorBody(output.body, context)
|
|
4151
|
-
};
|
|
4152
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4153
|
-
switch (errorCode) {
|
|
4154
|
-
case "AccessDeniedException":
|
|
4155
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4156
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4157
|
-
case "InternalServerException":
|
|
4158
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4159
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4160
|
-
case "ResourceNotFoundException":
|
|
4161
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4162
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4163
|
-
case "ThrottlingException":
|
|
4164
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4165
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4166
|
-
case "ValidationException":
|
|
4167
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4168
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4169
|
-
default:
|
|
4170
|
-
const parsedBody = parsedOutput.body;
|
|
4171
|
-
return throwDefaultError({
|
|
4172
|
-
output,
|
|
4173
|
-
parsedBody,
|
|
4174
|
-
errorCode
|
|
4175
|
-
});
|
|
4176
|
-
}
|
|
4177
|
-
}, "de_GetAnnotationImportJobCommandError");
|
|
4178
3188
|
var de_GetAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4179
3189
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4180
|
-
return
|
|
3190
|
+
return de_CommandError(output, context);
|
|
4181
3191
|
}
|
|
4182
3192
|
const contents = (0, import_smithy_client.map)({
|
|
4183
3193
|
$metadata: deserializeMetadata(output)
|
|
@@ -4203,40 +3213,9 @@ var de_GetAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4203
3213
|
Object.assign(contents, doc);
|
|
4204
3214
|
return contents;
|
|
4205
3215
|
}, "de_GetAnnotationStoreCommand");
|
|
4206
|
-
var de_GetAnnotationStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4207
|
-
const parsedOutput = {
|
|
4208
|
-
...output,
|
|
4209
|
-
body: await parseErrorBody(output.body, context)
|
|
4210
|
-
};
|
|
4211
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4212
|
-
switch (errorCode) {
|
|
4213
|
-
case "AccessDeniedException":
|
|
4214
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4215
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4216
|
-
case "InternalServerException":
|
|
4217
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4218
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4219
|
-
case "ResourceNotFoundException":
|
|
4220
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4221
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4222
|
-
case "ThrottlingException":
|
|
4223
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4224
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4225
|
-
case "ValidationException":
|
|
4226
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4227
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4228
|
-
default:
|
|
4229
|
-
const parsedBody = parsedOutput.body;
|
|
4230
|
-
return throwDefaultError({
|
|
4231
|
-
output,
|
|
4232
|
-
parsedBody,
|
|
4233
|
-
errorCode
|
|
4234
|
-
});
|
|
4235
|
-
}
|
|
4236
|
-
}, "de_GetAnnotationStoreCommandError");
|
|
4237
3216
|
var de_GetAnnotationStoreVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4238
3217
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4239
|
-
return
|
|
3218
|
+
return de_CommandError(output, context);
|
|
4240
3219
|
}
|
|
4241
3220
|
const contents = (0, import_smithy_client.map)({
|
|
4242
3221
|
$metadata: deserializeMetadata(output)
|
|
@@ -4260,40 +3239,9 @@ var de_GetAnnotationStoreVersionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
4260
3239
|
Object.assign(contents, doc);
|
|
4261
3240
|
return contents;
|
|
4262
3241
|
}, "de_GetAnnotationStoreVersionCommand");
|
|
4263
|
-
var de_GetAnnotationStoreVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4264
|
-
const parsedOutput = {
|
|
4265
|
-
...output,
|
|
4266
|
-
body: await parseErrorBody(output.body, context)
|
|
4267
|
-
};
|
|
4268
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4269
|
-
switch (errorCode) {
|
|
4270
|
-
case "AccessDeniedException":
|
|
4271
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4272
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4273
|
-
case "InternalServerException":
|
|
4274
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4275
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4276
|
-
case "ResourceNotFoundException":
|
|
4277
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4278
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4279
|
-
case "ThrottlingException":
|
|
4280
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4281
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4282
|
-
case "ValidationException":
|
|
4283
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4284
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4285
|
-
default:
|
|
4286
|
-
const parsedBody = parsedOutput.body;
|
|
4287
|
-
return throwDefaultError({
|
|
4288
|
-
output,
|
|
4289
|
-
parsedBody,
|
|
4290
|
-
errorCode
|
|
4291
|
-
});
|
|
4292
|
-
}
|
|
4293
|
-
}, "de_GetAnnotationStoreVersionCommandError");
|
|
4294
3242
|
var de_GetReadSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4295
3243
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4296
|
-
return
|
|
3244
|
+
return de_CommandError(output, context);
|
|
4297
3245
|
}
|
|
4298
3246
|
const contents = (0, import_smithy_client.map)({
|
|
4299
3247
|
$metadata: deserializeMetadata(output)
|
|
@@ -4303,49 +3251,9 @@ var de_GetReadSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4303
3251
|
contents.payload = data;
|
|
4304
3252
|
return contents;
|
|
4305
3253
|
}, "de_GetReadSetCommand");
|
|
4306
|
-
var de_GetReadSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4307
|
-
const parsedOutput = {
|
|
4308
|
-
...output,
|
|
4309
|
-
body: await parseErrorBody(output.body, context)
|
|
4310
|
-
};
|
|
4311
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4312
|
-
switch (errorCode) {
|
|
4313
|
-
case "AccessDeniedException":
|
|
4314
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4315
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4316
|
-
case "ConflictException":
|
|
4317
|
-
case "com.amazonaws.omics#ConflictException":
|
|
4318
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4319
|
-
case "InternalServerException":
|
|
4320
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4321
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4322
|
-
case "RangeNotSatisfiableException":
|
|
4323
|
-
case "com.amazonaws.omics#RangeNotSatisfiableException":
|
|
4324
|
-
throw await de_RangeNotSatisfiableExceptionRes(parsedOutput, context);
|
|
4325
|
-
case "RequestTimeoutException":
|
|
4326
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4327
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4328
|
-
case "ResourceNotFoundException":
|
|
4329
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4330
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4331
|
-
case "ThrottlingException":
|
|
4332
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4333
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4334
|
-
case "ValidationException":
|
|
4335
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4336
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4337
|
-
default:
|
|
4338
|
-
const parsedBody = parsedOutput.body;
|
|
4339
|
-
return throwDefaultError({
|
|
4340
|
-
output,
|
|
4341
|
-
parsedBody,
|
|
4342
|
-
errorCode
|
|
4343
|
-
});
|
|
4344
|
-
}
|
|
4345
|
-
}, "de_GetReadSetCommandError");
|
|
4346
3254
|
var de_GetReadSetActivationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4347
3255
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4348
|
-
return
|
|
3256
|
+
return de_CommandError(output, context);
|
|
4349
3257
|
}
|
|
4350
3258
|
const contents = (0, import_smithy_client.map)({
|
|
4351
3259
|
$metadata: deserializeMetadata(output)
|
|
@@ -4363,43 +3271,9 @@ var de_GetReadSetActivationJobCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4363
3271
|
Object.assign(contents, doc);
|
|
4364
3272
|
return contents;
|
|
4365
3273
|
}, "de_GetReadSetActivationJobCommand");
|
|
4366
|
-
var de_GetReadSetActivationJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4367
|
-
const parsedOutput = {
|
|
4368
|
-
...output,
|
|
4369
|
-
body: await parseErrorBody(output.body, context)
|
|
4370
|
-
};
|
|
4371
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4372
|
-
switch (errorCode) {
|
|
4373
|
-
case "AccessDeniedException":
|
|
4374
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4375
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4376
|
-
case "InternalServerException":
|
|
4377
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4378
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4379
|
-
case "RequestTimeoutException":
|
|
4380
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4381
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4382
|
-
case "ResourceNotFoundException":
|
|
4383
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4384
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4385
|
-
case "ThrottlingException":
|
|
4386
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4387
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4388
|
-
case "ValidationException":
|
|
4389
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4390
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4391
|
-
default:
|
|
4392
|
-
const parsedBody = parsedOutput.body;
|
|
4393
|
-
return throwDefaultError({
|
|
4394
|
-
output,
|
|
4395
|
-
parsedBody,
|
|
4396
|
-
errorCode
|
|
4397
|
-
});
|
|
4398
|
-
}
|
|
4399
|
-
}, "de_GetReadSetActivationJobCommandError");
|
|
4400
3274
|
var de_GetReadSetExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4401
3275
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4402
|
-
return
|
|
3276
|
+
return de_CommandError(output, context);
|
|
4403
3277
|
}
|
|
4404
3278
|
const contents = (0, import_smithy_client.map)({
|
|
4405
3279
|
$metadata: deserializeMetadata(output)
|
|
@@ -4418,43 +3292,9 @@ var de_GetReadSetExportJobCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4418
3292
|
Object.assign(contents, doc);
|
|
4419
3293
|
return contents;
|
|
4420
3294
|
}, "de_GetReadSetExportJobCommand");
|
|
4421
|
-
var de_GetReadSetExportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4422
|
-
const parsedOutput = {
|
|
4423
|
-
...output,
|
|
4424
|
-
body: await parseErrorBody(output.body, context)
|
|
4425
|
-
};
|
|
4426
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4427
|
-
switch (errorCode) {
|
|
4428
|
-
case "AccessDeniedException":
|
|
4429
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4430
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4431
|
-
case "InternalServerException":
|
|
4432
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4433
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4434
|
-
case "RequestTimeoutException":
|
|
4435
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4436
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4437
|
-
case "ResourceNotFoundException":
|
|
4438
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4439
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4440
|
-
case "ThrottlingException":
|
|
4441
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4442
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4443
|
-
case "ValidationException":
|
|
4444
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4445
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4446
|
-
default:
|
|
4447
|
-
const parsedBody = parsedOutput.body;
|
|
4448
|
-
return throwDefaultError({
|
|
4449
|
-
output,
|
|
4450
|
-
parsedBody,
|
|
4451
|
-
errorCode
|
|
4452
|
-
});
|
|
4453
|
-
}
|
|
4454
|
-
}, "de_GetReadSetExportJobCommandError");
|
|
4455
3295
|
var de_GetReadSetImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4456
3296
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4457
|
-
return
|
|
3297
|
+
return de_CommandError(output, context);
|
|
4458
3298
|
}
|
|
4459
3299
|
const contents = (0, import_smithy_client.map)({
|
|
4460
3300
|
$metadata: deserializeMetadata(output)
|
|
@@ -4473,43 +3313,9 @@ var de_GetReadSetImportJobCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4473
3313
|
Object.assign(contents, doc);
|
|
4474
3314
|
return contents;
|
|
4475
3315
|
}, "de_GetReadSetImportJobCommand");
|
|
4476
|
-
var de_GetReadSetImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4477
|
-
const parsedOutput = {
|
|
4478
|
-
...output,
|
|
4479
|
-
body: await parseErrorBody(output.body, context)
|
|
4480
|
-
};
|
|
4481
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4482
|
-
switch (errorCode) {
|
|
4483
|
-
case "AccessDeniedException":
|
|
4484
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4485
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4486
|
-
case "InternalServerException":
|
|
4487
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4488
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4489
|
-
case "RequestTimeoutException":
|
|
4490
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4491
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4492
|
-
case "ResourceNotFoundException":
|
|
4493
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4494
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4495
|
-
case "ThrottlingException":
|
|
4496
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4497
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4498
|
-
case "ValidationException":
|
|
4499
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4500
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4501
|
-
default:
|
|
4502
|
-
const parsedBody = parsedOutput.body;
|
|
4503
|
-
return throwDefaultError({
|
|
4504
|
-
output,
|
|
4505
|
-
parsedBody,
|
|
4506
|
-
errorCode
|
|
4507
|
-
});
|
|
4508
|
-
}
|
|
4509
|
-
}, "de_GetReadSetImportJobCommandError");
|
|
4510
3316
|
var de_GetReadSetMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4511
3317
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4512
|
-
return
|
|
3318
|
+
return de_CommandError(output, context);
|
|
4513
3319
|
}
|
|
4514
3320
|
const contents = (0, import_smithy_client.map)({
|
|
4515
3321
|
$metadata: deserializeMetadata(output)
|
|
@@ -4536,43 +3342,9 @@ var de_GetReadSetMetadataCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4536
3342
|
Object.assign(contents, doc);
|
|
4537
3343
|
return contents;
|
|
4538
3344
|
}, "de_GetReadSetMetadataCommand");
|
|
4539
|
-
var de_GetReadSetMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4540
|
-
const parsedOutput = {
|
|
4541
|
-
...output,
|
|
4542
|
-
body: await parseErrorBody(output.body, context)
|
|
4543
|
-
};
|
|
4544
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4545
|
-
switch (errorCode) {
|
|
4546
|
-
case "AccessDeniedException":
|
|
4547
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4548
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4549
|
-
case "InternalServerException":
|
|
4550
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4551
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4552
|
-
case "RequestTimeoutException":
|
|
4553
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4554
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4555
|
-
case "ResourceNotFoundException":
|
|
4556
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4557
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4558
|
-
case "ThrottlingException":
|
|
4559
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4560
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4561
|
-
case "ValidationException":
|
|
4562
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4563
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4564
|
-
default:
|
|
4565
|
-
const parsedBody = parsedOutput.body;
|
|
4566
|
-
return throwDefaultError({
|
|
4567
|
-
output,
|
|
4568
|
-
parsedBody,
|
|
4569
|
-
errorCode
|
|
4570
|
-
});
|
|
4571
|
-
}
|
|
4572
|
-
}, "de_GetReadSetMetadataCommandError");
|
|
4573
3345
|
var de_GetReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4574
3346
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4575
|
-
return
|
|
3347
|
+
return de_CommandError(output, context);
|
|
4576
3348
|
}
|
|
4577
3349
|
const contents = (0, import_smithy_client.map)({
|
|
4578
3350
|
$metadata: deserializeMetadata(output)
|
|
@@ -4582,46 +3354,9 @@ var de_GetReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4582
3354
|
contents.payload = data;
|
|
4583
3355
|
return contents;
|
|
4584
3356
|
}, "de_GetReferenceCommand");
|
|
4585
|
-
var de_GetReferenceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4586
|
-
const parsedOutput = {
|
|
4587
|
-
...output,
|
|
4588
|
-
body: await parseErrorBody(output.body, context)
|
|
4589
|
-
};
|
|
4590
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4591
|
-
switch (errorCode) {
|
|
4592
|
-
case "AccessDeniedException":
|
|
4593
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4594
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4595
|
-
case "InternalServerException":
|
|
4596
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4597
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4598
|
-
case "RangeNotSatisfiableException":
|
|
4599
|
-
case "com.amazonaws.omics#RangeNotSatisfiableException":
|
|
4600
|
-
throw await de_RangeNotSatisfiableExceptionRes(parsedOutput, context);
|
|
4601
|
-
case "RequestTimeoutException":
|
|
4602
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4603
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4604
|
-
case "ResourceNotFoundException":
|
|
4605
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4606
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4607
|
-
case "ThrottlingException":
|
|
4608
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4609
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4610
|
-
case "ValidationException":
|
|
4611
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4612
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4613
|
-
default:
|
|
4614
|
-
const parsedBody = parsedOutput.body;
|
|
4615
|
-
return throwDefaultError({
|
|
4616
|
-
output,
|
|
4617
|
-
parsedBody,
|
|
4618
|
-
errorCode
|
|
4619
|
-
});
|
|
4620
|
-
}
|
|
4621
|
-
}, "de_GetReferenceCommandError");
|
|
4622
3357
|
var de_GetReferenceImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4623
3358
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4624
|
-
return
|
|
3359
|
+
return de_CommandError(output, context);
|
|
4625
3360
|
}
|
|
4626
3361
|
const contents = (0, import_smithy_client.map)({
|
|
4627
3362
|
$metadata: deserializeMetadata(output)
|
|
@@ -4640,43 +3375,9 @@ var de_GetReferenceImportJobCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
4640
3375
|
Object.assign(contents, doc);
|
|
4641
3376
|
return contents;
|
|
4642
3377
|
}, "de_GetReferenceImportJobCommand");
|
|
4643
|
-
var de_GetReferenceImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4644
|
-
const parsedOutput = {
|
|
4645
|
-
...output,
|
|
4646
|
-
body: await parseErrorBody(output.body, context)
|
|
4647
|
-
};
|
|
4648
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4649
|
-
switch (errorCode) {
|
|
4650
|
-
case "AccessDeniedException":
|
|
4651
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4652
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4653
|
-
case "InternalServerException":
|
|
4654
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4655
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4656
|
-
case "RequestTimeoutException":
|
|
4657
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4658
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4659
|
-
case "ResourceNotFoundException":
|
|
4660
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4661
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4662
|
-
case "ThrottlingException":
|
|
4663
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4664
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4665
|
-
case "ValidationException":
|
|
4666
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4667
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4668
|
-
default:
|
|
4669
|
-
const parsedBody = parsedOutput.body;
|
|
4670
|
-
return throwDefaultError({
|
|
4671
|
-
output,
|
|
4672
|
-
parsedBody,
|
|
4673
|
-
errorCode
|
|
4674
|
-
});
|
|
4675
|
-
}
|
|
4676
|
-
}, "de_GetReferenceImportJobCommandError");
|
|
4677
3378
|
var de_GetReferenceMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4678
3379
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4679
|
-
return
|
|
3380
|
+
return de_CommandError(output, context);
|
|
4680
3381
|
}
|
|
4681
3382
|
const contents = (0, import_smithy_client.map)({
|
|
4682
3383
|
$metadata: deserializeMetadata(output)
|
|
@@ -4697,43 +3398,9 @@ var de_GetReferenceMetadataCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4697
3398
|
Object.assign(contents, doc);
|
|
4698
3399
|
return contents;
|
|
4699
3400
|
}, "de_GetReferenceMetadataCommand");
|
|
4700
|
-
var de_GetReferenceMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4701
|
-
const parsedOutput = {
|
|
4702
|
-
...output,
|
|
4703
|
-
body: await parseErrorBody(output.body, context)
|
|
4704
|
-
};
|
|
4705
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4706
|
-
switch (errorCode) {
|
|
4707
|
-
case "AccessDeniedException":
|
|
4708
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4709
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4710
|
-
case "InternalServerException":
|
|
4711
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4712
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4713
|
-
case "RequestTimeoutException":
|
|
4714
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4715
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4716
|
-
case "ResourceNotFoundException":
|
|
4717
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4718
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4719
|
-
case "ThrottlingException":
|
|
4720
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4721
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4722
|
-
case "ValidationException":
|
|
4723
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4724
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4725
|
-
default:
|
|
4726
|
-
const parsedBody = parsedOutput.body;
|
|
4727
|
-
return throwDefaultError({
|
|
4728
|
-
output,
|
|
4729
|
-
parsedBody,
|
|
4730
|
-
errorCode
|
|
4731
|
-
});
|
|
4732
|
-
}
|
|
4733
|
-
}, "de_GetReferenceMetadataCommandError");
|
|
4734
3401
|
var de_GetReferenceStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4735
3402
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4736
|
-
return
|
|
3403
|
+
return de_CommandError(output, context);
|
|
4737
3404
|
}
|
|
4738
3405
|
const contents = (0, import_smithy_client.map)({
|
|
4739
3406
|
$metadata: deserializeMetadata(output)
|
|
@@ -4750,43 +3417,9 @@ var de_GetReferenceStoreCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4750
3417
|
Object.assign(contents, doc);
|
|
4751
3418
|
return contents;
|
|
4752
3419
|
}, "de_GetReferenceStoreCommand");
|
|
4753
|
-
var de_GetReferenceStoreCommandError = /* @__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 "AccessDeniedException":
|
|
4761
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4762
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4763
|
-
case "InternalServerException":
|
|
4764
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4765
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4766
|
-
case "RequestTimeoutException":
|
|
4767
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4768
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4769
|
-
case "ResourceNotFoundException":
|
|
4770
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4771
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4772
|
-
case "ThrottlingException":
|
|
4773
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4774
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4775
|
-
case "ValidationException":
|
|
4776
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4777
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4778
|
-
default:
|
|
4779
|
-
const parsedBody = parsedOutput.body;
|
|
4780
|
-
return throwDefaultError({
|
|
4781
|
-
output,
|
|
4782
|
-
parsedBody,
|
|
4783
|
-
errorCode
|
|
4784
|
-
});
|
|
4785
|
-
}
|
|
4786
|
-
}, "de_GetReferenceStoreCommandError");
|
|
4787
3420
|
var de_GetRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4788
3421
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4789
|
-
return
|
|
3422
|
+
return de_CommandError(output, context);
|
|
4790
3423
|
}
|
|
4791
3424
|
const contents = (0, import_smithy_client.map)({
|
|
4792
3425
|
$metadata: deserializeMetadata(output)
|
|
@@ -4826,49 +3459,9 @@ var de_GetRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4826
3459
|
Object.assign(contents, doc);
|
|
4827
3460
|
return contents;
|
|
4828
3461
|
}, "de_GetRunCommand");
|
|
4829
|
-
var de_GetRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4830
|
-
const parsedOutput = {
|
|
4831
|
-
...output,
|
|
4832
|
-
body: await parseErrorBody(output.body, context)
|
|
4833
|
-
};
|
|
4834
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4835
|
-
switch (errorCode) {
|
|
4836
|
-
case "AccessDeniedException":
|
|
4837
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4838
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4839
|
-
case "ConflictException":
|
|
4840
|
-
case "com.amazonaws.omics#ConflictException":
|
|
4841
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4842
|
-
case "InternalServerException":
|
|
4843
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4844
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4845
|
-
case "RequestTimeoutException":
|
|
4846
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4847
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4848
|
-
case "ResourceNotFoundException":
|
|
4849
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4850
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4851
|
-
case "ServiceQuotaExceededException":
|
|
4852
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
4853
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4854
|
-
case "ThrottlingException":
|
|
4855
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4856
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4857
|
-
case "ValidationException":
|
|
4858
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4859
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4860
|
-
default:
|
|
4861
|
-
const parsedBody = parsedOutput.body;
|
|
4862
|
-
return throwDefaultError({
|
|
4863
|
-
output,
|
|
4864
|
-
parsedBody,
|
|
4865
|
-
errorCode
|
|
4866
|
-
});
|
|
4867
|
-
}
|
|
4868
|
-
}, "de_GetRunCommandError");
|
|
4869
3462
|
var de_GetRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4870
3463
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4871
|
-
return
|
|
3464
|
+
return de_CommandError(output, context);
|
|
4872
3465
|
}
|
|
4873
3466
|
const contents = (0, import_smithy_client.map)({
|
|
4874
3467
|
$metadata: deserializeMetadata(output)
|
|
@@ -4888,49 +3481,9 @@ var de_GetRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4888
3481
|
Object.assign(contents, doc);
|
|
4889
3482
|
return contents;
|
|
4890
3483
|
}, "de_GetRunGroupCommand");
|
|
4891
|
-
var de_GetRunGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4892
|
-
const parsedOutput = {
|
|
4893
|
-
...output,
|
|
4894
|
-
body: await parseErrorBody(output.body, context)
|
|
4895
|
-
};
|
|
4896
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4897
|
-
switch (errorCode) {
|
|
4898
|
-
case "AccessDeniedException":
|
|
4899
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4900
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4901
|
-
case "ConflictException":
|
|
4902
|
-
case "com.amazonaws.omics#ConflictException":
|
|
4903
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4904
|
-
case "InternalServerException":
|
|
4905
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4906
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4907
|
-
case "RequestTimeoutException":
|
|
4908
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4909
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4910
|
-
case "ResourceNotFoundException":
|
|
4911
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4912
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4913
|
-
case "ServiceQuotaExceededException":
|
|
4914
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
4915
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4916
|
-
case "ThrottlingException":
|
|
4917
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4918
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4919
|
-
case "ValidationException":
|
|
4920
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4921
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4922
|
-
default:
|
|
4923
|
-
const parsedBody = parsedOutput.body;
|
|
4924
|
-
return throwDefaultError({
|
|
4925
|
-
output,
|
|
4926
|
-
parsedBody,
|
|
4927
|
-
errorCode
|
|
4928
|
-
});
|
|
4929
|
-
}
|
|
4930
|
-
}, "de_GetRunGroupCommandError");
|
|
4931
3484
|
var de_GetRunTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4932
3485
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4933
|
-
return
|
|
3486
|
+
return de_CommandError(output, context);
|
|
4934
3487
|
}
|
|
4935
3488
|
const contents = (0, import_smithy_client.map)({
|
|
4936
3489
|
$metadata: deserializeMetadata(output)
|
|
@@ -4954,49 +3507,9 @@ var de_GetRunTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4954
3507
|
Object.assign(contents, doc);
|
|
4955
3508
|
return contents;
|
|
4956
3509
|
}, "de_GetRunTaskCommand");
|
|
4957
|
-
var de_GetRunTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4958
|
-
const parsedOutput = {
|
|
4959
|
-
...output,
|
|
4960
|
-
body: await parseErrorBody(output.body, context)
|
|
4961
|
-
};
|
|
4962
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4963
|
-
switch (errorCode) {
|
|
4964
|
-
case "AccessDeniedException":
|
|
4965
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
4966
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4967
|
-
case "ConflictException":
|
|
4968
|
-
case "com.amazonaws.omics#ConflictException":
|
|
4969
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4970
|
-
case "InternalServerException":
|
|
4971
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
4972
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4973
|
-
case "RequestTimeoutException":
|
|
4974
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
4975
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
4976
|
-
case "ResourceNotFoundException":
|
|
4977
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4978
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4979
|
-
case "ServiceQuotaExceededException":
|
|
4980
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
4981
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4982
|
-
case "ThrottlingException":
|
|
4983
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
4984
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4985
|
-
case "ValidationException":
|
|
4986
|
-
case "com.amazonaws.omics#ValidationException":
|
|
4987
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4988
|
-
default:
|
|
4989
|
-
const parsedBody = parsedOutput.body;
|
|
4990
|
-
return throwDefaultError({
|
|
4991
|
-
output,
|
|
4992
|
-
parsedBody,
|
|
4993
|
-
errorCode
|
|
4994
|
-
});
|
|
4995
|
-
}
|
|
4996
|
-
}, "de_GetRunTaskCommandError");
|
|
4997
3510
|
var de_GetSequenceStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4998
3511
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4999
|
-
return
|
|
3512
|
+
return de_CommandError(output, context);
|
|
5000
3513
|
}
|
|
5001
3514
|
const contents = (0, import_smithy_client.map)({
|
|
5002
3515
|
$metadata: deserializeMetadata(output)
|
|
@@ -5014,43 +3527,9 @@ var de_GetSequenceStoreCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
5014
3527
|
Object.assign(contents, doc);
|
|
5015
3528
|
return contents;
|
|
5016
3529
|
}, "de_GetSequenceStoreCommand");
|
|
5017
|
-
var de_GetSequenceStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5018
|
-
const parsedOutput = {
|
|
5019
|
-
...output,
|
|
5020
|
-
body: await parseErrorBody(output.body, context)
|
|
5021
|
-
};
|
|
5022
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5023
|
-
switch (errorCode) {
|
|
5024
|
-
case "AccessDeniedException":
|
|
5025
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5026
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5027
|
-
case "InternalServerException":
|
|
5028
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5029
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5030
|
-
case "RequestTimeoutException":
|
|
5031
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5032
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5033
|
-
case "ResourceNotFoundException":
|
|
5034
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5035
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5036
|
-
case "ThrottlingException":
|
|
5037
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5038
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5039
|
-
case "ValidationException":
|
|
5040
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5041
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5042
|
-
default:
|
|
5043
|
-
const parsedBody = parsedOutput.body;
|
|
5044
|
-
return throwDefaultError({
|
|
5045
|
-
output,
|
|
5046
|
-
parsedBody,
|
|
5047
|
-
errorCode
|
|
5048
|
-
});
|
|
5049
|
-
}
|
|
5050
|
-
}, "de_GetSequenceStoreCommandError");
|
|
5051
3530
|
var de_GetShareCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5052
3531
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5053
|
-
return
|
|
3532
|
+
return de_CommandError(output, context);
|
|
5054
3533
|
}
|
|
5055
3534
|
const contents = (0, import_smithy_client.map)({
|
|
5056
3535
|
$metadata: deserializeMetadata(output)
|
|
@@ -5062,46 +3541,9 @@ var de_GetShareCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
5062
3541
|
Object.assign(contents, doc);
|
|
5063
3542
|
return contents;
|
|
5064
3543
|
}, "de_GetShareCommand");
|
|
5065
|
-
var de_GetShareCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5066
|
-
const parsedOutput = {
|
|
5067
|
-
...output,
|
|
5068
|
-
body: await parseErrorBody(output.body, context)
|
|
5069
|
-
};
|
|
5070
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5071
|
-
switch (errorCode) {
|
|
5072
|
-
case "AccessDeniedException":
|
|
5073
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5074
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5075
|
-
case "ConflictException":
|
|
5076
|
-
case "com.amazonaws.omics#ConflictException":
|
|
5077
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5078
|
-
case "InternalServerException":
|
|
5079
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5080
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5081
|
-
case "ResourceNotFoundException":
|
|
5082
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5083
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5084
|
-
case "ServiceQuotaExceededException":
|
|
5085
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
5086
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5087
|
-
case "ThrottlingException":
|
|
5088
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5089
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5090
|
-
case "ValidationException":
|
|
5091
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5092
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5093
|
-
default:
|
|
5094
|
-
const parsedBody = parsedOutput.body;
|
|
5095
|
-
return throwDefaultError({
|
|
5096
|
-
output,
|
|
5097
|
-
parsedBody,
|
|
5098
|
-
errorCode
|
|
5099
|
-
});
|
|
5100
|
-
}
|
|
5101
|
-
}, "de_GetShareCommandError");
|
|
5102
3544
|
var de_GetVariantImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5103
3545
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5104
|
-
return
|
|
3546
|
+
return de_CommandError(output, context);
|
|
5105
3547
|
}
|
|
5106
3548
|
const contents = (0, import_smithy_client.map)({
|
|
5107
3549
|
$metadata: deserializeMetadata(output)
|
|
@@ -5123,40 +3565,9 @@ var de_GetVariantImportJobCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5123
3565
|
Object.assign(contents, doc);
|
|
5124
3566
|
return contents;
|
|
5125
3567
|
}, "de_GetVariantImportJobCommand");
|
|
5126
|
-
var de_GetVariantImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5127
|
-
const parsedOutput = {
|
|
5128
|
-
...output,
|
|
5129
|
-
body: await parseErrorBody(output.body, context)
|
|
5130
|
-
};
|
|
5131
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5132
|
-
switch (errorCode) {
|
|
5133
|
-
case "AccessDeniedException":
|
|
5134
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5135
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5136
|
-
case "InternalServerException":
|
|
5137
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5138
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5139
|
-
case "ResourceNotFoundException":
|
|
5140
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5141
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5142
|
-
case "ThrottlingException":
|
|
5143
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5144
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5145
|
-
case "ValidationException":
|
|
5146
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5147
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5148
|
-
default:
|
|
5149
|
-
const parsedBody = parsedOutput.body;
|
|
5150
|
-
return throwDefaultError({
|
|
5151
|
-
output,
|
|
5152
|
-
parsedBody,
|
|
5153
|
-
errorCode
|
|
5154
|
-
});
|
|
5155
|
-
}
|
|
5156
|
-
}, "de_GetVariantImportJobCommandError");
|
|
5157
3568
|
var de_GetVariantStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5158
3569
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5159
|
-
return
|
|
3570
|
+
return de_CommandError(output, context);
|
|
5160
3571
|
}
|
|
5161
3572
|
const contents = (0, import_smithy_client.map)({
|
|
5162
3573
|
$metadata: deserializeMetadata(output)
|
|
@@ -5179,40 +3590,9 @@ var de_GetVariantStoreCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
5179
3590
|
Object.assign(contents, doc);
|
|
5180
3591
|
return contents;
|
|
5181
3592
|
}, "de_GetVariantStoreCommand");
|
|
5182
|
-
var de_GetVariantStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5183
|
-
const parsedOutput = {
|
|
5184
|
-
...output,
|
|
5185
|
-
body: await parseErrorBody(output.body, context)
|
|
5186
|
-
};
|
|
5187
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5188
|
-
switch (errorCode) {
|
|
5189
|
-
case "AccessDeniedException":
|
|
5190
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5191
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5192
|
-
case "InternalServerException":
|
|
5193
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5194
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5195
|
-
case "ResourceNotFoundException":
|
|
5196
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5197
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5198
|
-
case "ThrottlingException":
|
|
5199
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5200
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5201
|
-
case "ValidationException":
|
|
5202
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5203
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5204
|
-
default:
|
|
5205
|
-
const parsedBody = parsedOutput.body;
|
|
5206
|
-
return throwDefaultError({
|
|
5207
|
-
output,
|
|
5208
|
-
parsedBody,
|
|
5209
|
-
errorCode
|
|
5210
|
-
});
|
|
5211
|
-
}
|
|
5212
|
-
}, "de_GetVariantStoreCommandError");
|
|
5213
3593
|
var de_GetWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5214
3594
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5215
|
-
return
|
|
3595
|
+
return de_CommandError(output, context);
|
|
5216
3596
|
}
|
|
5217
3597
|
const contents = (0, import_smithy_client.map)({
|
|
5218
3598
|
$metadata: deserializeMetadata(output)
|
|
@@ -5240,49 +3620,9 @@ var de_GetWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
5240
3620
|
Object.assign(contents, doc);
|
|
5241
3621
|
return contents;
|
|
5242
3622
|
}, "de_GetWorkflowCommand");
|
|
5243
|
-
var de_GetWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5244
|
-
const parsedOutput = {
|
|
5245
|
-
...output,
|
|
5246
|
-
body: await parseErrorBody(output.body, context)
|
|
5247
|
-
};
|
|
5248
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5249
|
-
switch (errorCode) {
|
|
5250
|
-
case "AccessDeniedException":
|
|
5251
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5252
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5253
|
-
case "ConflictException":
|
|
5254
|
-
case "com.amazonaws.omics#ConflictException":
|
|
5255
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5256
|
-
case "InternalServerException":
|
|
5257
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5258
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5259
|
-
case "RequestTimeoutException":
|
|
5260
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5261
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5262
|
-
case "ResourceNotFoundException":
|
|
5263
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5264
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5265
|
-
case "ServiceQuotaExceededException":
|
|
5266
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
5267
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5268
|
-
case "ThrottlingException":
|
|
5269
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5270
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5271
|
-
case "ValidationException":
|
|
5272
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5273
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5274
|
-
default:
|
|
5275
|
-
const parsedBody = parsedOutput.body;
|
|
5276
|
-
return throwDefaultError({
|
|
5277
|
-
output,
|
|
5278
|
-
parsedBody,
|
|
5279
|
-
errorCode
|
|
5280
|
-
});
|
|
5281
|
-
}
|
|
5282
|
-
}, "de_GetWorkflowCommandError");
|
|
5283
3623
|
var de_ListAnnotationImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5284
3624
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5285
|
-
return
|
|
3625
|
+
return de_CommandError(output, context);
|
|
5286
3626
|
}
|
|
5287
3627
|
const contents = (0, import_smithy_client.map)({
|
|
5288
3628
|
$metadata: deserializeMetadata(output)
|
|
@@ -5295,40 +3635,9 @@ var de_ListAnnotationImportJobsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
5295
3635
|
Object.assign(contents, doc);
|
|
5296
3636
|
return contents;
|
|
5297
3637
|
}, "de_ListAnnotationImportJobsCommand");
|
|
5298
|
-
var de_ListAnnotationImportJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5299
|
-
const parsedOutput = {
|
|
5300
|
-
...output,
|
|
5301
|
-
body: await parseErrorBody(output.body, context)
|
|
5302
|
-
};
|
|
5303
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5304
|
-
switch (errorCode) {
|
|
5305
|
-
case "AccessDeniedException":
|
|
5306
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5307
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5308
|
-
case "InternalServerException":
|
|
5309
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5310
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5311
|
-
case "ResourceNotFoundException":
|
|
5312
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5313
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5314
|
-
case "ThrottlingException":
|
|
5315
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5316
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5317
|
-
case "ValidationException":
|
|
5318
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5319
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5320
|
-
default:
|
|
5321
|
-
const parsedBody = parsedOutput.body;
|
|
5322
|
-
return throwDefaultError({
|
|
5323
|
-
output,
|
|
5324
|
-
parsedBody,
|
|
5325
|
-
errorCode
|
|
5326
|
-
});
|
|
5327
|
-
}
|
|
5328
|
-
}, "de_ListAnnotationImportJobsCommandError");
|
|
5329
3638
|
var de_ListAnnotationStoresCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5330
3639
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5331
|
-
return
|
|
3640
|
+
return de_CommandError(output, context);
|
|
5332
3641
|
}
|
|
5333
3642
|
const contents = (0, import_smithy_client.map)({
|
|
5334
3643
|
$metadata: deserializeMetadata(output)
|
|
@@ -5341,40 +3650,9 @@ var de_ListAnnotationStoresCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
5341
3650
|
Object.assign(contents, doc);
|
|
5342
3651
|
return contents;
|
|
5343
3652
|
}, "de_ListAnnotationStoresCommand");
|
|
5344
|
-
var de_ListAnnotationStoresCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5345
|
-
const parsedOutput = {
|
|
5346
|
-
...output,
|
|
5347
|
-
body: await parseErrorBody(output.body, context)
|
|
5348
|
-
};
|
|
5349
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5350
|
-
switch (errorCode) {
|
|
5351
|
-
case "AccessDeniedException":
|
|
5352
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5353
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5354
|
-
case "InternalServerException":
|
|
5355
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5356
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5357
|
-
case "ResourceNotFoundException":
|
|
5358
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5359
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5360
|
-
case "ThrottlingException":
|
|
5361
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5362
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5363
|
-
case "ValidationException":
|
|
5364
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5365
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5366
|
-
default:
|
|
5367
|
-
const parsedBody = parsedOutput.body;
|
|
5368
|
-
return throwDefaultError({
|
|
5369
|
-
output,
|
|
5370
|
-
parsedBody,
|
|
5371
|
-
errorCode
|
|
5372
|
-
});
|
|
5373
|
-
}
|
|
5374
|
-
}, "de_ListAnnotationStoresCommandError");
|
|
5375
3653
|
var de_ListAnnotationStoreVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5376
3654
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5377
|
-
return
|
|
3655
|
+
return de_CommandError(output, context);
|
|
5378
3656
|
}
|
|
5379
3657
|
const contents = (0, import_smithy_client.map)({
|
|
5380
3658
|
$metadata: deserializeMetadata(output)
|
|
@@ -5387,40 +3665,9 @@ var de_ListAnnotationStoreVersionsCommand = /* @__PURE__ */ __name(async (output
|
|
|
5387
3665
|
Object.assign(contents, doc);
|
|
5388
3666
|
return contents;
|
|
5389
3667
|
}, "de_ListAnnotationStoreVersionsCommand");
|
|
5390
|
-
var de_ListAnnotationStoreVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5391
|
-
const parsedOutput = {
|
|
5392
|
-
...output,
|
|
5393
|
-
body: await parseErrorBody(output.body, context)
|
|
5394
|
-
};
|
|
5395
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5396
|
-
switch (errorCode) {
|
|
5397
|
-
case "AccessDeniedException":
|
|
5398
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5399
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5400
|
-
case "InternalServerException":
|
|
5401
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5402
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5403
|
-
case "ResourceNotFoundException":
|
|
5404
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5405
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5406
|
-
case "ThrottlingException":
|
|
5407
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5408
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5409
|
-
case "ValidationException":
|
|
5410
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5411
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5412
|
-
default:
|
|
5413
|
-
const parsedBody = parsedOutput.body;
|
|
5414
|
-
return throwDefaultError({
|
|
5415
|
-
output,
|
|
5416
|
-
parsedBody,
|
|
5417
|
-
errorCode
|
|
5418
|
-
});
|
|
5419
|
-
}
|
|
5420
|
-
}, "de_ListAnnotationStoreVersionsCommandError");
|
|
5421
3668
|
var de_ListMultipartReadSetUploadsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5422
3669
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5423
|
-
return
|
|
3670
|
+
return de_CommandError(output, context);
|
|
5424
3671
|
}
|
|
5425
3672
|
const contents = (0, import_smithy_client.map)({
|
|
5426
3673
|
$metadata: deserializeMetadata(output)
|
|
@@ -5433,49 +3680,9 @@ var de_ListMultipartReadSetUploadsCommand = /* @__PURE__ */ __name(async (output
|
|
|
5433
3680
|
Object.assign(contents, doc);
|
|
5434
3681
|
return contents;
|
|
5435
3682
|
}, "de_ListMultipartReadSetUploadsCommand");
|
|
5436
|
-
var de_ListMultipartReadSetUploadsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5437
|
-
const parsedOutput = {
|
|
5438
|
-
...output,
|
|
5439
|
-
body: await parseErrorBody(output.body, context)
|
|
5440
|
-
};
|
|
5441
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5442
|
-
switch (errorCode) {
|
|
5443
|
-
case "AccessDeniedException":
|
|
5444
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5445
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5446
|
-
case "InternalServerException":
|
|
5447
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5448
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5449
|
-
case "NotSupportedOperationException":
|
|
5450
|
-
case "com.amazonaws.omics#NotSupportedOperationException":
|
|
5451
|
-
throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
|
|
5452
|
-
case "RequestTimeoutException":
|
|
5453
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5454
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5455
|
-
case "ResourceNotFoundException":
|
|
5456
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5457
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5458
|
-
case "ServiceQuotaExceededException":
|
|
5459
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
5460
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5461
|
-
case "ThrottlingException":
|
|
5462
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5463
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5464
|
-
case "ValidationException":
|
|
5465
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5466
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5467
|
-
default:
|
|
5468
|
-
const parsedBody = parsedOutput.body;
|
|
5469
|
-
return throwDefaultError({
|
|
5470
|
-
output,
|
|
5471
|
-
parsedBody,
|
|
5472
|
-
errorCode
|
|
5473
|
-
});
|
|
5474
|
-
}
|
|
5475
|
-
}, "de_ListMultipartReadSetUploadsCommandError");
|
|
5476
3683
|
var de_ListReadSetActivationJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5477
3684
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5478
|
-
return
|
|
3685
|
+
return de_CommandError(output, context);
|
|
5479
3686
|
}
|
|
5480
3687
|
const contents = (0, import_smithy_client.map)({
|
|
5481
3688
|
$metadata: deserializeMetadata(output)
|
|
@@ -5488,43 +3695,9 @@ var de_ListReadSetActivationJobsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5488
3695
|
Object.assign(contents, doc);
|
|
5489
3696
|
return contents;
|
|
5490
3697
|
}, "de_ListReadSetActivationJobsCommand");
|
|
5491
|
-
var de_ListReadSetActivationJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5492
|
-
const parsedOutput = {
|
|
5493
|
-
...output,
|
|
5494
|
-
body: await parseErrorBody(output.body, context)
|
|
5495
|
-
};
|
|
5496
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5497
|
-
switch (errorCode) {
|
|
5498
|
-
case "AccessDeniedException":
|
|
5499
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5500
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5501
|
-
case "InternalServerException":
|
|
5502
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5503
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5504
|
-
case "RequestTimeoutException":
|
|
5505
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5506
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5507
|
-
case "ResourceNotFoundException":
|
|
5508
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5509
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5510
|
-
case "ThrottlingException":
|
|
5511
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5512
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5513
|
-
case "ValidationException":
|
|
5514
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5515
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5516
|
-
default:
|
|
5517
|
-
const parsedBody = parsedOutput.body;
|
|
5518
|
-
return throwDefaultError({
|
|
5519
|
-
output,
|
|
5520
|
-
parsedBody,
|
|
5521
|
-
errorCode
|
|
5522
|
-
});
|
|
5523
|
-
}
|
|
5524
|
-
}, "de_ListReadSetActivationJobsCommandError");
|
|
5525
3698
|
var de_ListReadSetExportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5526
3699
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5527
|
-
return
|
|
3700
|
+
return de_CommandError(output, context);
|
|
5528
3701
|
}
|
|
5529
3702
|
const contents = (0, import_smithy_client.map)({
|
|
5530
3703
|
$metadata: deserializeMetadata(output)
|
|
@@ -5537,43 +3710,9 @@ var de_ListReadSetExportJobsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5537
3710
|
Object.assign(contents, doc);
|
|
5538
3711
|
return contents;
|
|
5539
3712
|
}, "de_ListReadSetExportJobsCommand");
|
|
5540
|
-
var de_ListReadSetExportJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5541
|
-
const parsedOutput = {
|
|
5542
|
-
...output,
|
|
5543
|
-
body: await parseErrorBody(output.body, context)
|
|
5544
|
-
};
|
|
5545
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5546
|
-
switch (errorCode) {
|
|
5547
|
-
case "AccessDeniedException":
|
|
5548
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5549
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5550
|
-
case "InternalServerException":
|
|
5551
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5552
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5553
|
-
case "RequestTimeoutException":
|
|
5554
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5555
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5556
|
-
case "ResourceNotFoundException":
|
|
5557
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5558
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5559
|
-
case "ThrottlingException":
|
|
5560
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5561
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5562
|
-
case "ValidationException":
|
|
5563
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5564
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5565
|
-
default:
|
|
5566
|
-
const parsedBody = parsedOutput.body;
|
|
5567
|
-
return throwDefaultError({
|
|
5568
|
-
output,
|
|
5569
|
-
parsedBody,
|
|
5570
|
-
errorCode
|
|
5571
|
-
});
|
|
5572
|
-
}
|
|
5573
|
-
}, "de_ListReadSetExportJobsCommandError");
|
|
5574
3713
|
var de_ListReadSetImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5575
3714
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5576
|
-
return
|
|
3715
|
+
return de_CommandError(output, context);
|
|
5577
3716
|
}
|
|
5578
3717
|
const contents = (0, import_smithy_client.map)({
|
|
5579
3718
|
$metadata: deserializeMetadata(output)
|
|
@@ -5586,43 +3725,9 @@ var de_ListReadSetImportJobsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
5586
3725
|
Object.assign(contents, doc);
|
|
5587
3726
|
return contents;
|
|
5588
3727
|
}, "de_ListReadSetImportJobsCommand");
|
|
5589
|
-
var de_ListReadSetImportJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5590
|
-
const parsedOutput = {
|
|
5591
|
-
...output,
|
|
5592
|
-
body: await parseErrorBody(output.body, context)
|
|
5593
|
-
};
|
|
5594
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5595
|
-
switch (errorCode) {
|
|
5596
|
-
case "AccessDeniedException":
|
|
5597
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5598
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5599
|
-
case "InternalServerException":
|
|
5600
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5601
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5602
|
-
case "RequestTimeoutException":
|
|
5603
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5604
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5605
|
-
case "ResourceNotFoundException":
|
|
5606
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5607
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5608
|
-
case "ThrottlingException":
|
|
5609
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5610
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5611
|
-
case "ValidationException":
|
|
5612
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5613
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5614
|
-
default:
|
|
5615
|
-
const parsedBody = parsedOutput.body;
|
|
5616
|
-
return throwDefaultError({
|
|
5617
|
-
output,
|
|
5618
|
-
parsedBody,
|
|
5619
|
-
errorCode
|
|
5620
|
-
});
|
|
5621
|
-
}
|
|
5622
|
-
}, "de_ListReadSetImportJobsCommandError");
|
|
5623
3728
|
var de_ListReadSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5624
3729
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5625
|
-
return
|
|
3730
|
+
return de_CommandError(output, context);
|
|
5626
3731
|
}
|
|
5627
3732
|
const contents = (0, import_smithy_client.map)({
|
|
5628
3733
|
$metadata: deserializeMetadata(output)
|
|
@@ -5635,43 +3740,9 @@ var de_ListReadSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
5635
3740
|
Object.assign(contents, doc);
|
|
5636
3741
|
return contents;
|
|
5637
3742
|
}, "de_ListReadSetsCommand");
|
|
5638
|
-
var de_ListReadSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5639
|
-
const parsedOutput = {
|
|
5640
|
-
...output,
|
|
5641
|
-
body: await parseErrorBody(output.body, context)
|
|
5642
|
-
};
|
|
5643
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5644
|
-
switch (errorCode) {
|
|
5645
|
-
case "AccessDeniedException":
|
|
5646
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5647
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5648
|
-
case "InternalServerException":
|
|
5649
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5650
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5651
|
-
case "RequestTimeoutException":
|
|
5652
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5653
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5654
|
-
case "ResourceNotFoundException":
|
|
5655
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5656
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5657
|
-
case "ThrottlingException":
|
|
5658
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5659
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5660
|
-
case "ValidationException":
|
|
5661
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5662
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5663
|
-
default:
|
|
5664
|
-
const parsedBody = parsedOutput.body;
|
|
5665
|
-
return throwDefaultError({
|
|
5666
|
-
output,
|
|
5667
|
-
parsedBody,
|
|
5668
|
-
errorCode
|
|
5669
|
-
});
|
|
5670
|
-
}
|
|
5671
|
-
}, "de_ListReadSetsCommandError");
|
|
5672
3743
|
var de_ListReadSetUploadPartsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5673
3744
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5674
|
-
return
|
|
3745
|
+
return de_CommandError(output, context);
|
|
5675
3746
|
}
|
|
5676
3747
|
const contents = (0, import_smithy_client.map)({
|
|
5677
3748
|
$metadata: deserializeMetadata(output)
|
|
@@ -5684,49 +3755,9 @@ var de_ListReadSetUploadPartsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
5684
3755
|
Object.assign(contents, doc);
|
|
5685
3756
|
return contents;
|
|
5686
3757
|
}, "de_ListReadSetUploadPartsCommand");
|
|
5687
|
-
var de_ListReadSetUploadPartsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5688
|
-
const parsedOutput = {
|
|
5689
|
-
...output,
|
|
5690
|
-
body: await parseErrorBody(output.body, context)
|
|
5691
|
-
};
|
|
5692
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5693
|
-
switch (errorCode) {
|
|
5694
|
-
case "AccessDeniedException":
|
|
5695
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5696
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5697
|
-
case "InternalServerException":
|
|
5698
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5699
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5700
|
-
case "NotSupportedOperationException":
|
|
5701
|
-
case "com.amazonaws.omics#NotSupportedOperationException":
|
|
5702
|
-
throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
|
|
5703
|
-
case "RequestTimeoutException":
|
|
5704
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5705
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5706
|
-
case "ResourceNotFoundException":
|
|
5707
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5708
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5709
|
-
case "ServiceQuotaExceededException":
|
|
5710
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
5711
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5712
|
-
case "ThrottlingException":
|
|
5713
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5714
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5715
|
-
case "ValidationException":
|
|
5716
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5717
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5718
|
-
default:
|
|
5719
|
-
const parsedBody = parsedOutput.body;
|
|
5720
|
-
return throwDefaultError({
|
|
5721
|
-
output,
|
|
5722
|
-
parsedBody,
|
|
5723
|
-
errorCode
|
|
5724
|
-
});
|
|
5725
|
-
}
|
|
5726
|
-
}, "de_ListReadSetUploadPartsCommandError");
|
|
5727
3758
|
var de_ListReferenceImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5728
3759
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5729
|
-
return
|
|
3760
|
+
return de_CommandError(output, context);
|
|
5730
3761
|
}
|
|
5731
3762
|
const contents = (0, import_smithy_client.map)({
|
|
5732
3763
|
$metadata: deserializeMetadata(output)
|
|
@@ -5739,43 +3770,9 @@ var de_ListReferenceImportJobsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
5739
3770
|
Object.assign(contents, doc);
|
|
5740
3771
|
return contents;
|
|
5741
3772
|
}, "de_ListReferenceImportJobsCommand");
|
|
5742
|
-
var de_ListReferenceImportJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5743
|
-
const parsedOutput = {
|
|
5744
|
-
...output,
|
|
5745
|
-
body: await parseErrorBody(output.body, context)
|
|
5746
|
-
};
|
|
5747
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5748
|
-
switch (errorCode) {
|
|
5749
|
-
case "AccessDeniedException":
|
|
5750
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5751
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5752
|
-
case "InternalServerException":
|
|
5753
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5754
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5755
|
-
case "RequestTimeoutException":
|
|
5756
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5757
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5758
|
-
case "ResourceNotFoundException":
|
|
5759
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5760
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5761
|
-
case "ThrottlingException":
|
|
5762
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5763
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5764
|
-
case "ValidationException":
|
|
5765
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5766
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5767
|
-
default:
|
|
5768
|
-
const parsedBody = parsedOutput.body;
|
|
5769
|
-
return throwDefaultError({
|
|
5770
|
-
output,
|
|
5771
|
-
parsedBody,
|
|
5772
|
-
errorCode
|
|
5773
|
-
});
|
|
5774
|
-
}
|
|
5775
|
-
}, "de_ListReferenceImportJobsCommandError");
|
|
5776
3773
|
var de_ListReferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5777
3774
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5778
|
-
return
|
|
3775
|
+
return de_CommandError(output, context);
|
|
5779
3776
|
}
|
|
5780
3777
|
const contents = (0, import_smithy_client.map)({
|
|
5781
3778
|
$metadata: deserializeMetadata(output)
|
|
@@ -5788,43 +3785,9 @@ var de_ListReferencesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5788
3785
|
Object.assign(contents, doc);
|
|
5789
3786
|
return contents;
|
|
5790
3787
|
}, "de_ListReferencesCommand");
|
|
5791
|
-
var de_ListReferencesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5792
|
-
const parsedOutput = {
|
|
5793
|
-
...output,
|
|
5794
|
-
body: await parseErrorBody(output.body, context)
|
|
5795
|
-
};
|
|
5796
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5797
|
-
switch (errorCode) {
|
|
5798
|
-
case "AccessDeniedException":
|
|
5799
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5800
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5801
|
-
case "InternalServerException":
|
|
5802
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5803
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5804
|
-
case "RequestTimeoutException":
|
|
5805
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5806
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5807
|
-
case "ResourceNotFoundException":
|
|
5808
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5809
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5810
|
-
case "ThrottlingException":
|
|
5811
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5812
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5813
|
-
case "ValidationException":
|
|
5814
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5815
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5816
|
-
default:
|
|
5817
|
-
const parsedBody = parsedOutput.body;
|
|
5818
|
-
return throwDefaultError({
|
|
5819
|
-
output,
|
|
5820
|
-
parsedBody,
|
|
5821
|
-
errorCode
|
|
5822
|
-
});
|
|
5823
|
-
}
|
|
5824
|
-
}, "de_ListReferencesCommandError");
|
|
5825
3788
|
var de_ListReferenceStoresCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5826
3789
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5827
|
-
return
|
|
3790
|
+
return de_CommandError(output, context);
|
|
5828
3791
|
}
|
|
5829
3792
|
const contents = (0, import_smithy_client.map)({
|
|
5830
3793
|
$metadata: deserializeMetadata(output)
|
|
@@ -5837,40 +3800,9 @@ var de_ListReferenceStoresCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
5837
3800
|
Object.assign(contents, doc);
|
|
5838
3801
|
return contents;
|
|
5839
3802
|
}, "de_ListReferenceStoresCommand");
|
|
5840
|
-
var de_ListReferenceStoresCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5841
|
-
const parsedOutput = {
|
|
5842
|
-
...output,
|
|
5843
|
-
body: await parseErrorBody(output.body, context)
|
|
5844
|
-
};
|
|
5845
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5846
|
-
switch (errorCode) {
|
|
5847
|
-
case "AccessDeniedException":
|
|
5848
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5849
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5850
|
-
case "InternalServerException":
|
|
5851
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5852
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5853
|
-
case "RequestTimeoutException":
|
|
5854
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5855
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5856
|
-
case "ThrottlingException":
|
|
5857
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5858
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5859
|
-
case "ValidationException":
|
|
5860
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5861
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5862
|
-
default:
|
|
5863
|
-
const parsedBody = parsedOutput.body;
|
|
5864
|
-
return throwDefaultError({
|
|
5865
|
-
output,
|
|
5866
|
-
parsedBody,
|
|
5867
|
-
errorCode
|
|
5868
|
-
});
|
|
5869
|
-
}
|
|
5870
|
-
}, "de_ListReferenceStoresCommandError");
|
|
5871
3803
|
var de_ListRunGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5872
3804
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5873
|
-
return
|
|
3805
|
+
return de_CommandError(output, context);
|
|
5874
3806
|
}
|
|
5875
3807
|
const contents = (0, import_smithy_client.map)({
|
|
5876
3808
|
$metadata: deserializeMetadata(output)
|
|
@@ -5879,108 +3811,28 @@ var de_ListRunGroupsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
5879
3811
|
const doc = (0, import_smithy_client.take)(data, {
|
|
5880
3812
|
items: (_) => de_RunGroupList(_, context),
|
|
5881
3813
|
nextToken: import_smithy_client.expectString
|
|
5882
|
-
});
|
|
5883
|
-
Object.assign(contents, doc);
|
|
5884
|
-
return contents;
|
|
5885
|
-
}, "de_ListRunGroupsCommand");
|
|
5886
|
-
var
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
body: await parseErrorBody(output.body, context)
|
|
5890
|
-
};
|
|
5891
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5892
|
-
switch (errorCode) {
|
|
5893
|
-
case "AccessDeniedException":
|
|
5894
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5895
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5896
|
-
case "ConflictException":
|
|
5897
|
-
case "com.amazonaws.omics#ConflictException":
|
|
5898
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5899
|
-
case "InternalServerException":
|
|
5900
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5901
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5902
|
-
case "RequestTimeoutException":
|
|
5903
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5904
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5905
|
-
case "ResourceNotFoundException":
|
|
5906
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5907
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5908
|
-
case "ServiceQuotaExceededException":
|
|
5909
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
5910
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5911
|
-
case "ThrottlingException":
|
|
5912
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5913
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5914
|
-
case "ValidationException":
|
|
5915
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5916
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5917
|
-
default:
|
|
5918
|
-
const parsedBody = parsedOutput.body;
|
|
5919
|
-
return throwDefaultError({
|
|
5920
|
-
output,
|
|
5921
|
-
parsedBody,
|
|
5922
|
-
errorCode
|
|
5923
|
-
});
|
|
5924
|
-
}
|
|
5925
|
-
}, "de_ListRunGroupsCommandError");
|
|
5926
|
-
var de_ListRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5927
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5928
|
-
return de_ListRunsCommandError(output, context);
|
|
5929
|
-
}
|
|
5930
|
-
const contents = (0, import_smithy_client.map)({
|
|
5931
|
-
$metadata: deserializeMetadata(output)
|
|
5932
|
-
});
|
|
5933
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
5934
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
5935
|
-
items: (_) => de_RunList(_, context),
|
|
5936
|
-
nextToken: import_smithy_client.expectString
|
|
5937
|
-
});
|
|
5938
|
-
Object.assign(contents, doc);
|
|
5939
|
-
return contents;
|
|
5940
|
-
}, "de_ListRunsCommand");
|
|
5941
|
-
var de_ListRunsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5942
|
-
const parsedOutput = {
|
|
5943
|
-
...output,
|
|
5944
|
-
body: await parseErrorBody(output.body, context)
|
|
5945
|
-
};
|
|
5946
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5947
|
-
switch (errorCode) {
|
|
5948
|
-
case "AccessDeniedException":
|
|
5949
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
5950
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5951
|
-
case "ConflictException":
|
|
5952
|
-
case "com.amazonaws.omics#ConflictException":
|
|
5953
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5954
|
-
case "InternalServerException":
|
|
5955
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
5956
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5957
|
-
case "RequestTimeoutException":
|
|
5958
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
5959
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
5960
|
-
case "ResourceNotFoundException":
|
|
5961
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5962
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5963
|
-
case "ServiceQuotaExceededException":
|
|
5964
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
5965
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5966
|
-
case "ThrottlingException":
|
|
5967
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
5968
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5969
|
-
case "ValidationException":
|
|
5970
|
-
case "com.amazonaws.omics#ValidationException":
|
|
5971
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5972
|
-
default:
|
|
5973
|
-
const parsedBody = parsedOutput.body;
|
|
5974
|
-
return throwDefaultError({
|
|
5975
|
-
output,
|
|
5976
|
-
parsedBody,
|
|
5977
|
-
errorCode
|
|
5978
|
-
});
|
|
3814
|
+
});
|
|
3815
|
+
Object.assign(contents, doc);
|
|
3816
|
+
return contents;
|
|
3817
|
+
}, "de_ListRunGroupsCommand");
|
|
3818
|
+
var de_ListRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3819
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3820
|
+
return de_CommandError(output, context);
|
|
5979
3821
|
}
|
|
5980
|
-
|
|
3822
|
+
const contents = (0, import_smithy_client.map)({
|
|
3823
|
+
$metadata: deserializeMetadata(output)
|
|
3824
|
+
});
|
|
3825
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3826
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3827
|
+
items: (_) => de_RunList(_, context),
|
|
3828
|
+
nextToken: import_smithy_client.expectString
|
|
3829
|
+
});
|
|
3830
|
+
Object.assign(contents, doc);
|
|
3831
|
+
return contents;
|
|
3832
|
+
}, "de_ListRunsCommand");
|
|
5981
3833
|
var de_ListRunTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5982
3834
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5983
|
-
return
|
|
3835
|
+
return de_CommandError(output, context);
|
|
5984
3836
|
}
|
|
5985
3837
|
const contents = (0, import_smithy_client.map)({
|
|
5986
3838
|
$metadata: deserializeMetadata(output)
|
|
@@ -5993,49 +3845,9 @@ var de_ListRunTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
5993
3845
|
Object.assign(contents, doc);
|
|
5994
3846
|
return contents;
|
|
5995
3847
|
}, "de_ListRunTasksCommand");
|
|
5996
|
-
var de_ListRunTasksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
5997
|
-
const parsedOutput = {
|
|
5998
|
-
...output,
|
|
5999
|
-
body: await parseErrorBody(output.body, context)
|
|
6000
|
-
};
|
|
6001
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6002
|
-
switch (errorCode) {
|
|
6003
|
-
case "AccessDeniedException":
|
|
6004
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6005
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6006
|
-
case "ConflictException":
|
|
6007
|
-
case "com.amazonaws.omics#ConflictException":
|
|
6008
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6009
|
-
case "InternalServerException":
|
|
6010
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6011
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6012
|
-
case "RequestTimeoutException":
|
|
6013
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6014
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6015
|
-
case "ResourceNotFoundException":
|
|
6016
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6017
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6018
|
-
case "ServiceQuotaExceededException":
|
|
6019
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6020
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6021
|
-
case "ThrottlingException":
|
|
6022
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6023
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6024
|
-
case "ValidationException":
|
|
6025
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6026
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6027
|
-
default:
|
|
6028
|
-
const parsedBody = parsedOutput.body;
|
|
6029
|
-
return throwDefaultError({
|
|
6030
|
-
output,
|
|
6031
|
-
parsedBody,
|
|
6032
|
-
errorCode
|
|
6033
|
-
});
|
|
6034
|
-
}
|
|
6035
|
-
}, "de_ListRunTasksCommandError");
|
|
6036
3848
|
var de_ListSequenceStoresCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6037
3849
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6038
|
-
return
|
|
3850
|
+
return de_CommandError(output, context);
|
|
6039
3851
|
}
|
|
6040
3852
|
const contents = (0, import_smithy_client.map)({
|
|
6041
3853
|
$metadata: deserializeMetadata(output)
|
|
@@ -6048,40 +3860,9 @@ var de_ListSequenceStoresCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
6048
3860
|
Object.assign(contents, doc);
|
|
6049
3861
|
return contents;
|
|
6050
3862
|
}, "de_ListSequenceStoresCommand");
|
|
6051
|
-
var de_ListSequenceStoresCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6052
|
-
const parsedOutput = {
|
|
6053
|
-
...output,
|
|
6054
|
-
body: await parseErrorBody(output.body, context)
|
|
6055
|
-
};
|
|
6056
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6057
|
-
switch (errorCode) {
|
|
6058
|
-
case "AccessDeniedException":
|
|
6059
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6060
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6061
|
-
case "InternalServerException":
|
|
6062
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6063
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6064
|
-
case "RequestTimeoutException":
|
|
6065
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6066
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6067
|
-
case "ThrottlingException":
|
|
6068
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6069
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6070
|
-
case "ValidationException":
|
|
6071
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6072
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6073
|
-
default:
|
|
6074
|
-
const parsedBody = parsedOutput.body;
|
|
6075
|
-
return throwDefaultError({
|
|
6076
|
-
output,
|
|
6077
|
-
parsedBody,
|
|
6078
|
-
errorCode
|
|
6079
|
-
});
|
|
6080
|
-
}
|
|
6081
|
-
}, "de_ListSequenceStoresCommandError");
|
|
6082
3863
|
var de_ListSharesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6083
3864
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6084
|
-
return
|
|
3865
|
+
return de_CommandError(output, context);
|
|
6085
3866
|
}
|
|
6086
3867
|
const contents = (0, import_smithy_client.map)({
|
|
6087
3868
|
$metadata: deserializeMetadata(output)
|
|
@@ -6094,46 +3875,9 @@ var de_ListSharesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
6094
3875
|
Object.assign(contents, doc);
|
|
6095
3876
|
return contents;
|
|
6096
3877
|
}, "de_ListSharesCommand");
|
|
6097
|
-
var de_ListSharesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6098
|
-
const parsedOutput = {
|
|
6099
|
-
...output,
|
|
6100
|
-
body: await parseErrorBody(output.body, context)
|
|
6101
|
-
};
|
|
6102
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6103
|
-
switch (errorCode) {
|
|
6104
|
-
case "AccessDeniedException":
|
|
6105
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6106
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6107
|
-
case "ConflictException":
|
|
6108
|
-
case "com.amazonaws.omics#ConflictException":
|
|
6109
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6110
|
-
case "InternalServerException":
|
|
6111
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6112
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6113
|
-
case "ResourceNotFoundException":
|
|
6114
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6115
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6116
|
-
case "ServiceQuotaExceededException":
|
|
6117
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6118
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6119
|
-
case "ThrottlingException":
|
|
6120
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6121
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6122
|
-
case "ValidationException":
|
|
6123
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6124
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6125
|
-
default:
|
|
6126
|
-
const parsedBody = parsedOutput.body;
|
|
6127
|
-
return throwDefaultError({
|
|
6128
|
-
output,
|
|
6129
|
-
parsedBody,
|
|
6130
|
-
errorCode
|
|
6131
|
-
});
|
|
6132
|
-
}
|
|
6133
|
-
}, "de_ListSharesCommandError");
|
|
6134
3878
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6135
3879
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6136
|
-
return
|
|
3880
|
+
return de_CommandError(output, context);
|
|
6137
3881
|
}
|
|
6138
3882
|
const contents = (0, import_smithy_client.map)({
|
|
6139
3883
|
$metadata: deserializeMetadata(output)
|
|
@@ -6145,49 +3889,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
6145
3889
|
Object.assign(contents, doc);
|
|
6146
3890
|
return contents;
|
|
6147
3891
|
}, "de_ListTagsForResourceCommand");
|
|
6148
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6149
|
-
const parsedOutput = {
|
|
6150
|
-
...output,
|
|
6151
|
-
body: await parseErrorBody(output.body, context)
|
|
6152
|
-
};
|
|
6153
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6154
|
-
switch (errorCode) {
|
|
6155
|
-
case "AccessDeniedException":
|
|
6156
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6157
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6158
|
-
case "ConflictException":
|
|
6159
|
-
case "com.amazonaws.omics#ConflictException":
|
|
6160
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6161
|
-
case "InternalServerException":
|
|
6162
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6163
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6164
|
-
case "RequestTimeoutException":
|
|
6165
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6166
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6167
|
-
case "ResourceNotFoundException":
|
|
6168
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6169
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6170
|
-
case "ServiceQuotaExceededException":
|
|
6171
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6172
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6173
|
-
case "ThrottlingException":
|
|
6174
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6175
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6176
|
-
case "ValidationException":
|
|
6177
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6178
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6179
|
-
default:
|
|
6180
|
-
const parsedBody = parsedOutput.body;
|
|
6181
|
-
return throwDefaultError({
|
|
6182
|
-
output,
|
|
6183
|
-
parsedBody,
|
|
6184
|
-
errorCode
|
|
6185
|
-
});
|
|
6186
|
-
}
|
|
6187
|
-
}, "de_ListTagsForResourceCommandError");
|
|
6188
3892
|
var de_ListVariantImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6189
3893
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6190
|
-
return
|
|
3894
|
+
return de_CommandError(output, context);
|
|
6191
3895
|
}
|
|
6192
3896
|
const contents = (0, import_smithy_client.map)({
|
|
6193
3897
|
$metadata: deserializeMetadata(output)
|
|
@@ -6200,40 +3904,9 @@ var de_ListVariantImportJobsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
6200
3904
|
Object.assign(contents, doc);
|
|
6201
3905
|
return contents;
|
|
6202
3906
|
}, "de_ListVariantImportJobsCommand");
|
|
6203
|
-
var de_ListVariantImportJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6204
|
-
const parsedOutput = {
|
|
6205
|
-
...output,
|
|
6206
|
-
body: await parseErrorBody(output.body, context)
|
|
6207
|
-
};
|
|
6208
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6209
|
-
switch (errorCode) {
|
|
6210
|
-
case "AccessDeniedException":
|
|
6211
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6212
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6213
|
-
case "InternalServerException":
|
|
6214
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6215
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6216
|
-
case "ResourceNotFoundException":
|
|
6217
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6218
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6219
|
-
case "ThrottlingException":
|
|
6220
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6221
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6222
|
-
case "ValidationException":
|
|
6223
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6224
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6225
|
-
default:
|
|
6226
|
-
const parsedBody = parsedOutput.body;
|
|
6227
|
-
return throwDefaultError({
|
|
6228
|
-
output,
|
|
6229
|
-
parsedBody,
|
|
6230
|
-
errorCode
|
|
6231
|
-
});
|
|
6232
|
-
}
|
|
6233
|
-
}, "de_ListVariantImportJobsCommandError");
|
|
6234
3907
|
var de_ListVariantStoresCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6235
3908
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6236
|
-
return
|
|
3909
|
+
return de_CommandError(output, context);
|
|
6237
3910
|
}
|
|
6238
3911
|
const contents = (0, import_smithy_client.map)({
|
|
6239
3912
|
$metadata: deserializeMetadata(output)
|
|
@@ -6246,40 +3919,9 @@ var de_ListVariantStoresCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
6246
3919
|
Object.assign(contents, doc);
|
|
6247
3920
|
return contents;
|
|
6248
3921
|
}, "de_ListVariantStoresCommand");
|
|
6249
|
-
var de_ListVariantStoresCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6250
|
-
const parsedOutput = {
|
|
6251
|
-
...output,
|
|
6252
|
-
body: await parseErrorBody(output.body, context)
|
|
6253
|
-
};
|
|
6254
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6255
|
-
switch (errorCode) {
|
|
6256
|
-
case "AccessDeniedException":
|
|
6257
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6258
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6259
|
-
case "InternalServerException":
|
|
6260
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6261
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6262
|
-
case "ResourceNotFoundException":
|
|
6263
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6264
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6265
|
-
case "ThrottlingException":
|
|
6266
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6267
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6268
|
-
case "ValidationException":
|
|
6269
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6270
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6271
|
-
default:
|
|
6272
|
-
const parsedBody = parsedOutput.body;
|
|
6273
|
-
return throwDefaultError({
|
|
6274
|
-
output,
|
|
6275
|
-
parsedBody,
|
|
6276
|
-
errorCode
|
|
6277
|
-
});
|
|
6278
|
-
}
|
|
6279
|
-
}, "de_ListVariantStoresCommandError");
|
|
6280
3922
|
var de_ListWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6281
3923
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6282
|
-
return
|
|
3924
|
+
return de_CommandError(output, context);
|
|
6283
3925
|
}
|
|
6284
3926
|
const contents = (0, import_smithy_client.map)({
|
|
6285
3927
|
$metadata: deserializeMetadata(output)
|
|
@@ -6289,52 +3931,12 @@ var de_ListWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6289
3931
|
items: (_) => de_WorkflowList(_, context),
|
|
6290
3932
|
nextToken: import_smithy_client.expectString
|
|
6291
3933
|
});
|
|
6292
|
-
Object.assign(contents, doc);
|
|
6293
|
-
return contents;
|
|
6294
|
-
}, "de_ListWorkflowsCommand");
|
|
6295
|
-
var de_ListWorkflowsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6296
|
-
const parsedOutput = {
|
|
6297
|
-
...output,
|
|
6298
|
-
body: await parseErrorBody(output.body, context)
|
|
6299
|
-
};
|
|
6300
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6301
|
-
switch (errorCode) {
|
|
6302
|
-
case "AccessDeniedException":
|
|
6303
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6304
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6305
|
-
case "ConflictException":
|
|
6306
|
-
case "com.amazonaws.omics#ConflictException":
|
|
6307
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6308
|
-
case "InternalServerException":
|
|
6309
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6310
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6311
|
-
case "RequestTimeoutException":
|
|
6312
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6313
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6314
|
-
case "ResourceNotFoundException":
|
|
6315
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6316
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6317
|
-
case "ServiceQuotaExceededException":
|
|
6318
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6319
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6320
|
-
case "ThrottlingException":
|
|
6321
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6322
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6323
|
-
case "ValidationException":
|
|
6324
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6325
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6326
|
-
default:
|
|
6327
|
-
const parsedBody = parsedOutput.body;
|
|
6328
|
-
return throwDefaultError({
|
|
6329
|
-
output,
|
|
6330
|
-
parsedBody,
|
|
6331
|
-
errorCode
|
|
6332
|
-
});
|
|
6333
|
-
}
|
|
6334
|
-
}, "de_ListWorkflowsCommandError");
|
|
3934
|
+
Object.assign(contents, doc);
|
|
3935
|
+
return contents;
|
|
3936
|
+
}, "de_ListWorkflowsCommand");
|
|
6335
3937
|
var de_StartAnnotationImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6336
3938
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6337
|
-
return
|
|
3939
|
+
return de_CommandError(output, context);
|
|
6338
3940
|
}
|
|
6339
3941
|
const contents = (0, import_smithy_client.map)({
|
|
6340
3942
|
$metadata: deserializeMetadata(output)
|
|
@@ -6346,43 +3948,9 @@ var de_StartAnnotationImportJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
6346
3948
|
Object.assign(contents, doc);
|
|
6347
3949
|
return contents;
|
|
6348
3950
|
}, "de_StartAnnotationImportJobCommand");
|
|
6349
|
-
var de_StartAnnotationImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6350
|
-
const parsedOutput = {
|
|
6351
|
-
...output,
|
|
6352
|
-
body: await parseErrorBody(output.body, context)
|
|
6353
|
-
};
|
|
6354
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6355
|
-
switch (errorCode) {
|
|
6356
|
-
case "AccessDeniedException":
|
|
6357
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6358
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6359
|
-
case "InternalServerException":
|
|
6360
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6361
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6362
|
-
case "ResourceNotFoundException":
|
|
6363
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6364
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6365
|
-
case "ServiceQuotaExceededException":
|
|
6366
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6367
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6368
|
-
case "ThrottlingException":
|
|
6369
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6370
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6371
|
-
case "ValidationException":
|
|
6372
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6373
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6374
|
-
default:
|
|
6375
|
-
const parsedBody = parsedOutput.body;
|
|
6376
|
-
return throwDefaultError({
|
|
6377
|
-
output,
|
|
6378
|
-
parsedBody,
|
|
6379
|
-
errorCode
|
|
6380
|
-
});
|
|
6381
|
-
}
|
|
6382
|
-
}, "de_StartAnnotationImportJobCommandError");
|
|
6383
3951
|
var de_StartReadSetActivationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6384
3952
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6385
|
-
return
|
|
3953
|
+
return de_CommandError(output, context);
|
|
6386
3954
|
}
|
|
6387
3955
|
const contents = (0, import_smithy_client.map)({
|
|
6388
3956
|
$metadata: deserializeMetadata(output)
|
|
@@ -6397,46 +3965,9 @@ var de_StartReadSetActivationJobCommand = /* @__PURE__ */ __name(async (output,
|
|
|
6397
3965
|
Object.assign(contents, doc);
|
|
6398
3966
|
return contents;
|
|
6399
3967
|
}, "de_StartReadSetActivationJobCommand");
|
|
6400
|
-
var de_StartReadSetActivationJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6401
|
-
const parsedOutput = {
|
|
6402
|
-
...output,
|
|
6403
|
-
body: await parseErrorBody(output.body, context)
|
|
6404
|
-
};
|
|
6405
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6406
|
-
switch (errorCode) {
|
|
6407
|
-
case "AccessDeniedException":
|
|
6408
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6409
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6410
|
-
case "InternalServerException":
|
|
6411
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6412
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6413
|
-
case "RequestTimeoutException":
|
|
6414
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6415
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6416
|
-
case "ResourceNotFoundException":
|
|
6417
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6418
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6419
|
-
case "ServiceQuotaExceededException":
|
|
6420
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6421
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6422
|
-
case "ThrottlingException":
|
|
6423
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6424
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6425
|
-
case "ValidationException":
|
|
6426
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6427
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6428
|
-
default:
|
|
6429
|
-
const parsedBody = parsedOutput.body;
|
|
6430
|
-
return throwDefaultError({
|
|
6431
|
-
output,
|
|
6432
|
-
parsedBody,
|
|
6433
|
-
errorCode
|
|
6434
|
-
});
|
|
6435
|
-
}
|
|
6436
|
-
}, "de_StartReadSetActivationJobCommandError");
|
|
6437
3968
|
var de_StartReadSetExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6438
3969
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6439
|
-
return
|
|
3970
|
+
return de_CommandError(output, context);
|
|
6440
3971
|
}
|
|
6441
3972
|
const contents = (0, import_smithy_client.map)({
|
|
6442
3973
|
$metadata: deserializeMetadata(output)
|
|
@@ -6452,46 +3983,9 @@ var de_StartReadSetExportJobCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
6452
3983
|
Object.assign(contents, doc);
|
|
6453
3984
|
return contents;
|
|
6454
3985
|
}, "de_StartReadSetExportJobCommand");
|
|
6455
|
-
var de_StartReadSetExportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6456
|
-
const parsedOutput = {
|
|
6457
|
-
...output,
|
|
6458
|
-
body: await parseErrorBody(output.body, context)
|
|
6459
|
-
};
|
|
6460
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6461
|
-
switch (errorCode) {
|
|
6462
|
-
case "AccessDeniedException":
|
|
6463
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6464
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6465
|
-
case "InternalServerException":
|
|
6466
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6467
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6468
|
-
case "RequestTimeoutException":
|
|
6469
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6470
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6471
|
-
case "ResourceNotFoundException":
|
|
6472
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6473
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6474
|
-
case "ServiceQuotaExceededException":
|
|
6475
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6476
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6477
|
-
case "ThrottlingException":
|
|
6478
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6479
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6480
|
-
case "ValidationException":
|
|
6481
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6482
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6483
|
-
default:
|
|
6484
|
-
const parsedBody = parsedOutput.body;
|
|
6485
|
-
return throwDefaultError({
|
|
6486
|
-
output,
|
|
6487
|
-
parsedBody,
|
|
6488
|
-
errorCode
|
|
6489
|
-
});
|
|
6490
|
-
}
|
|
6491
|
-
}, "de_StartReadSetExportJobCommandError");
|
|
6492
3986
|
var de_StartReadSetImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6493
3987
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6494
|
-
return
|
|
3988
|
+
return de_CommandError(output, context);
|
|
6495
3989
|
}
|
|
6496
3990
|
const contents = (0, import_smithy_client.map)({
|
|
6497
3991
|
$metadata: deserializeMetadata(output)
|
|
@@ -6507,46 +4001,9 @@ var de_StartReadSetImportJobCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
6507
4001
|
Object.assign(contents, doc);
|
|
6508
4002
|
return contents;
|
|
6509
4003
|
}, "de_StartReadSetImportJobCommand");
|
|
6510
|
-
var de_StartReadSetImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6511
|
-
const parsedOutput = {
|
|
6512
|
-
...output,
|
|
6513
|
-
body: await parseErrorBody(output.body, context)
|
|
6514
|
-
};
|
|
6515
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6516
|
-
switch (errorCode) {
|
|
6517
|
-
case "AccessDeniedException":
|
|
6518
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6519
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6520
|
-
case "InternalServerException":
|
|
6521
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6522
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6523
|
-
case "RequestTimeoutException":
|
|
6524
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6525
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6526
|
-
case "ResourceNotFoundException":
|
|
6527
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6528
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6529
|
-
case "ServiceQuotaExceededException":
|
|
6530
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6531
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6532
|
-
case "ThrottlingException":
|
|
6533
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6534
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6535
|
-
case "ValidationException":
|
|
6536
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6537
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6538
|
-
default:
|
|
6539
|
-
const parsedBody = parsedOutput.body;
|
|
6540
|
-
return throwDefaultError({
|
|
6541
|
-
output,
|
|
6542
|
-
parsedBody,
|
|
6543
|
-
errorCode
|
|
6544
|
-
});
|
|
6545
|
-
}
|
|
6546
|
-
}, "de_StartReadSetImportJobCommandError");
|
|
6547
4004
|
var de_StartReferenceImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6548
4005
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6549
|
-
return
|
|
4006
|
+
return de_CommandError(output, context);
|
|
6550
4007
|
}
|
|
6551
4008
|
const contents = (0, import_smithy_client.map)({
|
|
6552
4009
|
$metadata: deserializeMetadata(output)
|
|
@@ -6562,46 +4019,9 @@ var de_StartReferenceImportJobCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
6562
4019
|
Object.assign(contents, doc);
|
|
6563
4020
|
return contents;
|
|
6564
4021
|
}, "de_StartReferenceImportJobCommand");
|
|
6565
|
-
var de_StartReferenceImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6566
|
-
const parsedOutput = {
|
|
6567
|
-
...output,
|
|
6568
|
-
body: await parseErrorBody(output.body, context)
|
|
6569
|
-
};
|
|
6570
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6571
|
-
switch (errorCode) {
|
|
6572
|
-
case "AccessDeniedException":
|
|
6573
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6574
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6575
|
-
case "InternalServerException":
|
|
6576
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6577
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6578
|
-
case "RequestTimeoutException":
|
|
6579
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6580
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6581
|
-
case "ResourceNotFoundException":
|
|
6582
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6583
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6584
|
-
case "ServiceQuotaExceededException":
|
|
6585
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6586
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6587
|
-
case "ThrottlingException":
|
|
6588
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6589
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6590
|
-
case "ValidationException":
|
|
6591
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6592
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6593
|
-
default:
|
|
6594
|
-
const parsedBody = parsedOutput.body;
|
|
6595
|
-
return throwDefaultError({
|
|
6596
|
-
output,
|
|
6597
|
-
parsedBody,
|
|
6598
|
-
errorCode
|
|
6599
|
-
});
|
|
6600
|
-
}
|
|
6601
|
-
}, "de_StartReferenceImportJobCommandError");
|
|
6602
4022
|
var de_StartRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6603
4023
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
6604
|
-
return
|
|
4024
|
+
return de_CommandError(output, context);
|
|
6605
4025
|
}
|
|
6606
4026
|
const contents = (0, import_smithy_client.map)({
|
|
6607
4027
|
$metadata: deserializeMetadata(output)
|
|
@@ -6618,97 +4038,23 @@ var de_StartRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
6618
4038
|
Object.assign(contents, doc);
|
|
6619
4039
|
return contents;
|
|
6620
4040
|
}, "de_StartRunCommand");
|
|
6621
|
-
var de_StartRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6622
|
-
const parsedOutput = {
|
|
6623
|
-
...output,
|
|
6624
|
-
body: await parseErrorBody(output.body, context)
|
|
6625
|
-
};
|
|
6626
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6627
|
-
switch (errorCode) {
|
|
6628
|
-
case "AccessDeniedException":
|
|
6629
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6630
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6631
|
-
case "ConflictException":
|
|
6632
|
-
case "com.amazonaws.omics#ConflictException":
|
|
6633
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6634
|
-
case "InternalServerException":
|
|
6635
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6636
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6637
|
-
case "RequestTimeoutException":
|
|
6638
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6639
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6640
|
-
case "ResourceNotFoundException":
|
|
6641
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6642
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6643
|
-
case "ServiceQuotaExceededException":
|
|
6644
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6645
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6646
|
-
case "ThrottlingException":
|
|
6647
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6648
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6649
|
-
case "ValidationException":
|
|
6650
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6651
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6652
|
-
default:
|
|
6653
|
-
const parsedBody = parsedOutput.body;
|
|
6654
|
-
return throwDefaultError({
|
|
6655
|
-
output,
|
|
6656
|
-
parsedBody,
|
|
6657
|
-
errorCode
|
|
6658
|
-
});
|
|
6659
|
-
}
|
|
6660
|
-
}, "de_StartRunCommandError");
|
|
6661
4041
|
var de_StartVariantImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6662
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6663
|
-
return
|
|
6664
|
-
}
|
|
6665
|
-
const contents = (0, import_smithy_client.map)({
|
|
6666
|
-
$metadata: deserializeMetadata(output)
|
|
6667
|
-
});
|
|
6668
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
6669
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
6670
|
-
jobId: import_smithy_client.expectString
|
|
6671
|
-
});
|
|
6672
|
-
Object.assign(contents, doc);
|
|
6673
|
-
return contents;
|
|
6674
|
-
}, "de_StartVariantImportJobCommand");
|
|
6675
|
-
var de_StartVariantImportJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6676
|
-
const parsedOutput = {
|
|
6677
|
-
...output,
|
|
6678
|
-
body: await parseErrorBody(output.body, context)
|
|
6679
|
-
};
|
|
6680
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6681
|
-
switch (errorCode) {
|
|
6682
|
-
case "AccessDeniedException":
|
|
6683
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6684
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6685
|
-
case "InternalServerException":
|
|
6686
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6687
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6688
|
-
case "ResourceNotFoundException":
|
|
6689
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6690
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6691
|
-
case "ServiceQuotaExceededException":
|
|
6692
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6693
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6694
|
-
case "ThrottlingException":
|
|
6695
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6696
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6697
|
-
case "ValidationException":
|
|
6698
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6699
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6700
|
-
default:
|
|
6701
|
-
const parsedBody = parsedOutput.body;
|
|
6702
|
-
return throwDefaultError({
|
|
6703
|
-
output,
|
|
6704
|
-
parsedBody,
|
|
6705
|
-
errorCode
|
|
6706
|
-
});
|
|
4042
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4043
|
+
return de_CommandError(output, context);
|
|
6707
4044
|
}
|
|
6708
|
-
|
|
4045
|
+
const contents = (0, import_smithy_client.map)({
|
|
4046
|
+
$metadata: deserializeMetadata(output)
|
|
4047
|
+
});
|
|
4048
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4049
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4050
|
+
jobId: import_smithy_client.expectString
|
|
4051
|
+
});
|
|
4052
|
+
Object.assign(contents, doc);
|
|
4053
|
+
return contents;
|
|
4054
|
+
}, "de_StartVariantImportJobCommand");
|
|
6709
4055
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6710
4056
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6711
|
-
return
|
|
4057
|
+
return de_CommandError(output, context);
|
|
6712
4058
|
}
|
|
6713
4059
|
const contents = (0, import_smithy_client.map)({
|
|
6714
4060
|
$metadata: deserializeMetadata(output)
|
|
@@ -6716,49 +4062,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
6716
4062
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6717
4063
|
return contents;
|
|
6718
4064
|
}, "de_TagResourceCommand");
|
|
6719
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6720
|
-
const parsedOutput = {
|
|
6721
|
-
...output,
|
|
6722
|
-
body: await parseErrorBody(output.body, context)
|
|
6723
|
-
};
|
|
6724
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6725
|
-
switch (errorCode) {
|
|
6726
|
-
case "AccessDeniedException":
|
|
6727
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6728
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6729
|
-
case "ConflictException":
|
|
6730
|
-
case "com.amazonaws.omics#ConflictException":
|
|
6731
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6732
|
-
case "InternalServerException":
|
|
6733
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6734
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6735
|
-
case "RequestTimeoutException":
|
|
6736
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6737
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6738
|
-
case "ResourceNotFoundException":
|
|
6739
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6740
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6741
|
-
case "ServiceQuotaExceededException":
|
|
6742
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6743
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6744
|
-
case "ThrottlingException":
|
|
6745
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6746
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6747
|
-
case "ValidationException":
|
|
6748
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6749
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6750
|
-
default:
|
|
6751
|
-
const parsedBody = parsedOutput.body;
|
|
6752
|
-
return throwDefaultError({
|
|
6753
|
-
output,
|
|
6754
|
-
parsedBody,
|
|
6755
|
-
errorCode
|
|
6756
|
-
});
|
|
6757
|
-
}
|
|
6758
|
-
}, "de_TagResourceCommandError");
|
|
6759
4065
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6760
4066
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6761
|
-
return
|
|
4067
|
+
return de_CommandError(output, context);
|
|
6762
4068
|
}
|
|
6763
4069
|
const contents = (0, import_smithy_client.map)({
|
|
6764
4070
|
$metadata: deserializeMetadata(output)
|
|
@@ -6766,49 +4072,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6766
4072
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6767
4073
|
return contents;
|
|
6768
4074
|
}, "de_UntagResourceCommand");
|
|
6769
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6770
|
-
const parsedOutput = {
|
|
6771
|
-
...output,
|
|
6772
|
-
body: await parseErrorBody(output.body, context)
|
|
6773
|
-
};
|
|
6774
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6775
|
-
switch (errorCode) {
|
|
6776
|
-
case "AccessDeniedException":
|
|
6777
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6778
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6779
|
-
case "ConflictException":
|
|
6780
|
-
case "com.amazonaws.omics#ConflictException":
|
|
6781
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6782
|
-
case "InternalServerException":
|
|
6783
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6784
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6785
|
-
case "RequestTimeoutException":
|
|
6786
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6787
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6788
|
-
case "ResourceNotFoundException":
|
|
6789
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6790
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6791
|
-
case "ServiceQuotaExceededException":
|
|
6792
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6793
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6794
|
-
case "ThrottlingException":
|
|
6795
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6796
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6797
|
-
case "ValidationException":
|
|
6798
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6799
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6800
|
-
default:
|
|
6801
|
-
const parsedBody = parsedOutput.body;
|
|
6802
|
-
return throwDefaultError({
|
|
6803
|
-
output,
|
|
6804
|
-
parsedBody,
|
|
6805
|
-
errorCode
|
|
6806
|
-
});
|
|
6807
|
-
}
|
|
6808
|
-
}, "de_UntagResourceCommandError");
|
|
6809
4075
|
var de_UpdateAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6810
4076
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6811
|
-
return
|
|
4077
|
+
return de_CommandError(output, context);
|
|
6812
4078
|
}
|
|
6813
4079
|
const contents = (0, import_smithy_client.map)({
|
|
6814
4080
|
$metadata: deserializeMetadata(output)
|
|
@@ -6828,40 +4094,9 @@ var de_UpdateAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
6828
4094
|
Object.assign(contents, doc);
|
|
6829
4095
|
return contents;
|
|
6830
4096
|
}, "de_UpdateAnnotationStoreCommand");
|
|
6831
|
-
var de_UpdateAnnotationStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6832
|
-
const parsedOutput = {
|
|
6833
|
-
...output,
|
|
6834
|
-
body: await parseErrorBody(output.body, context)
|
|
6835
|
-
};
|
|
6836
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6837
|
-
switch (errorCode) {
|
|
6838
|
-
case "AccessDeniedException":
|
|
6839
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6840
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6841
|
-
case "InternalServerException":
|
|
6842
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6843
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6844
|
-
case "ResourceNotFoundException":
|
|
6845
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6846
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6847
|
-
case "ThrottlingException":
|
|
6848
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6849
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6850
|
-
case "ValidationException":
|
|
6851
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6852
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6853
|
-
default:
|
|
6854
|
-
const parsedBody = parsedOutput.body;
|
|
6855
|
-
return throwDefaultError({
|
|
6856
|
-
output,
|
|
6857
|
-
parsedBody,
|
|
6858
|
-
errorCode
|
|
6859
|
-
});
|
|
6860
|
-
}
|
|
6861
|
-
}, "de_UpdateAnnotationStoreCommandError");
|
|
6862
4097
|
var de_UpdateAnnotationStoreVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6863
4098
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6864
|
-
return
|
|
4099
|
+
return de_CommandError(output, context);
|
|
6865
4100
|
}
|
|
6866
4101
|
const contents = (0, import_smithy_client.map)({
|
|
6867
4102
|
$metadata: deserializeMetadata(output)
|
|
@@ -6880,40 +4115,9 @@ var de_UpdateAnnotationStoreVersionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
6880
4115
|
Object.assign(contents, doc);
|
|
6881
4116
|
return contents;
|
|
6882
4117
|
}, "de_UpdateAnnotationStoreVersionCommand");
|
|
6883
|
-
var de_UpdateAnnotationStoreVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6884
|
-
const parsedOutput = {
|
|
6885
|
-
...output,
|
|
6886
|
-
body: await parseErrorBody(output.body, context)
|
|
6887
|
-
};
|
|
6888
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6889
|
-
switch (errorCode) {
|
|
6890
|
-
case "AccessDeniedException":
|
|
6891
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6892
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6893
|
-
case "InternalServerException":
|
|
6894
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6895
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6896
|
-
case "ResourceNotFoundException":
|
|
6897
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6898
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6899
|
-
case "ThrottlingException":
|
|
6900
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6901
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6902
|
-
case "ValidationException":
|
|
6903
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6904
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6905
|
-
default:
|
|
6906
|
-
const parsedBody = parsedOutput.body;
|
|
6907
|
-
return throwDefaultError({
|
|
6908
|
-
output,
|
|
6909
|
-
parsedBody,
|
|
6910
|
-
errorCode
|
|
6911
|
-
});
|
|
6912
|
-
}
|
|
6913
|
-
}, "de_UpdateAnnotationStoreVersionCommandError");
|
|
6914
4118
|
var de_UpdateRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6915
4119
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
6916
|
-
return
|
|
4120
|
+
return de_CommandError(output, context);
|
|
6917
4121
|
}
|
|
6918
4122
|
const contents = (0, import_smithy_client.map)({
|
|
6919
4123
|
$metadata: deserializeMetadata(output)
|
|
@@ -6921,49 +4125,9 @@ var de_UpdateRunGroupCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
6921
4125
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6922
4126
|
return contents;
|
|
6923
4127
|
}, "de_UpdateRunGroupCommand");
|
|
6924
|
-
var de_UpdateRunGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6925
|
-
const parsedOutput = {
|
|
6926
|
-
...output,
|
|
6927
|
-
body: await parseErrorBody(output.body, context)
|
|
6928
|
-
};
|
|
6929
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6930
|
-
switch (errorCode) {
|
|
6931
|
-
case "AccessDeniedException":
|
|
6932
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6933
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6934
|
-
case "ConflictException":
|
|
6935
|
-
case "com.amazonaws.omics#ConflictException":
|
|
6936
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
6937
|
-
case "InternalServerException":
|
|
6938
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6939
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6940
|
-
case "RequestTimeoutException":
|
|
6941
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
6942
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
6943
|
-
case "ResourceNotFoundException":
|
|
6944
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6945
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6946
|
-
case "ServiceQuotaExceededException":
|
|
6947
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
6948
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
6949
|
-
case "ThrottlingException":
|
|
6950
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
6951
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6952
|
-
case "ValidationException":
|
|
6953
|
-
case "com.amazonaws.omics#ValidationException":
|
|
6954
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6955
|
-
default:
|
|
6956
|
-
const parsedBody = parsedOutput.body;
|
|
6957
|
-
return throwDefaultError({
|
|
6958
|
-
output,
|
|
6959
|
-
parsedBody,
|
|
6960
|
-
errorCode
|
|
6961
|
-
});
|
|
6962
|
-
}
|
|
6963
|
-
}, "de_UpdateRunGroupCommandError");
|
|
6964
4128
|
var de_UpdateVariantStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6965
4129
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6966
|
-
return
|
|
4130
|
+
return de_CommandError(output, context);
|
|
6967
4131
|
}
|
|
6968
4132
|
const contents = (0, import_smithy_client.map)({
|
|
6969
4133
|
$metadata: deserializeMetadata(output)
|
|
@@ -6981,40 +4145,9 @@ var de_UpdateVariantStoreCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
6981
4145
|
Object.assign(contents, doc);
|
|
6982
4146
|
return contents;
|
|
6983
4147
|
}, "de_UpdateVariantStoreCommand");
|
|
6984
|
-
var de_UpdateVariantStoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
6985
|
-
const parsedOutput = {
|
|
6986
|
-
...output,
|
|
6987
|
-
body: await parseErrorBody(output.body, context)
|
|
6988
|
-
};
|
|
6989
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6990
|
-
switch (errorCode) {
|
|
6991
|
-
case "AccessDeniedException":
|
|
6992
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
6993
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6994
|
-
case "InternalServerException":
|
|
6995
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
6996
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6997
|
-
case "ResourceNotFoundException":
|
|
6998
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6999
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7000
|
-
case "ThrottlingException":
|
|
7001
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
7002
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7003
|
-
case "ValidationException":
|
|
7004
|
-
case "com.amazonaws.omics#ValidationException":
|
|
7005
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
7006
|
-
default:
|
|
7007
|
-
const parsedBody = parsedOutput.body;
|
|
7008
|
-
return throwDefaultError({
|
|
7009
|
-
output,
|
|
7010
|
-
parsedBody,
|
|
7011
|
-
errorCode
|
|
7012
|
-
});
|
|
7013
|
-
}
|
|
7014
|
-
}, "de_UpdateVariantStoreCommandError");
|
|
7015
4148
|
var de_UpdateWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7016
4149
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
7017
|
-
return
|
|
4150
|
+
return de_CommandError(output, context);
|
|
7018
4151
|
}
|
|
7019
4152
|
const contents = (0, import_smithy_client.map)({
|
|
7020
4153
|
$metadata: deserializeMetadata(output)
|
|
@@ -7022,49 +4155,9 @@ var de_UpdateWorkflowCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
7022
4155
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
7023
4156
|
return contents;
|
|
7024
4157
|
}, "de_UpdateWorkflowCommand");
|
|
7025
|
-
var de_UpdateWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
7026
|
-
const parsedOutput = {
|
|
7027
|
-
...output,
|
|
7028
|
-
body: await parseErrorBody(output.body, context)
|
|
7029
|
-
};
|
|
7030
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7031
|
-
switch (errorCode) {
|
|
7032
|
-
case "AccessDeniedException":
|
|
7033
|
-
case "com.amazonaws.omics#AccessDeniedException":
|
|
7034
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
7035
|
-
case "ConflictException":
|
|
7036
|
-
case "com.amazonaws.omics#ConflictException":
|
|
7037
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
7038
|
-
case "InternalServerException":
|
|
7039
|
-
case "com.amazonaws.omics#InternalServerException":
|
|
7040
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
7041
|
-
case "RequestTimeoutException":
|
|
7042
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
7043
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
7044
|
-
case "ResourceNotFoundException":
|
|
7045
|
-
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
7046
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
7047
|
-
case "ServiceQuotaExceededException":
|
|
7048
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
7049
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
7050
|
-
case "ThrottlingException":
|
|
7051
|
-
case "com.amazonaws.omics#ThrottlingException":
|
|
7052
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
7053
|
-
case "ValidationException":
|
|
7054
|
-
case "com.amazonaws.omics#ValidationException":
|
|
7055
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
7056
|
-
default:
|
|
7057
|
-
const parsedBody = parsedOutput.body;
|
|
7058
|
-
return throwDefaultError({
|
|
7059
|
-
output,
|
|
7060
|
-
parsedBody,
|
|
7061
|
-
errorCode
|
|
7062
|
-
});
|
|
7063
|
-
}
|
|
7064
|
-
}, "de_UpdateWorkflowCommandError");
|
|
7065
4158
|
var de_UploadReadSetPartCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7066
4159
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7067
|
-
return
|
|
4160
|
+
return de_CommandError(output, context);
|
|
7068
4161
|
}
|
|
7069
4162
|
const contents = (0, import_smithy_client.map)({
|
|
7070
4163
|
$metadata: deserializeMetadata(output)
|
|
@@ -7076,7 +4169,7 @@ var de_UploadReadSetPartCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
7076
4169
|
Object.assign(contents, doc);
|
|
7077
4170
|
return contents;
|
|
7078
4171
|
}, "de_UploadReadSetPartCommand");
|
|
7079
|
-
var
|
|
4172
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
7080
4173
|
const parsedOutput = {
|
|
7081
4174
|
...output,
|
|
7082
4175
|
body: await parseErrorBody(output.body, context)
|
|
@@ -7107,6 +4200,12 @@ var de_UploadReadSetPartCommandError = /* @__PURE__ */ __name(async (output, con
|
|
|
7107
4200
|
case "ValidationException":
|
|
7108
4201
|
case "com.amazonaws.omics#ValidationException":
|
|
7109
4202
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4203
|
+
case "ConflictException":
|
|
4204
|
+
case "com.amazonaws.omics#ConflictException":
|
|
4205
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4206
|
+
case "RangeNotSatisfiableException":
|
|
4207
|
+
case "com.amazonaws.omics#RangeNotSatisfiableException":
|
|
4208
|
+
throw await de_RangeNotSatisfiableExceptionRes(parsedOutput, context);
|
|
7110
4209
|
default:
|
|
7111
4210
|
const parsedBody = parsedOutput.body;
|
|
7112
4211
|
return throwDefaultError({
|
|
@@ -7115,7 +4214,7 @@ var de_UploadReadSetPartCommandError = /* @__PURE__ */ __name(async (output, con
|
|
|
7115
4214
|
errorCode
|
|
7116
4215
|
});
|
|
7117
4216
|
}
|
|
7118
|
-
}, "
|
|
4217
|
+
}, "de_CommandError");
|
|
7119
4218
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(OmicsServiceException);
|
|
7120
4219
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
7121
4220
|
const contents = (0, import_smithy_client.map)({});
|