@aws-sdk/client-api-gateway 3.180.0 → 3.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +126 -120
- package/dist-es/APIGateway.js +482 -489
- package/dist-es/APIGatewayClient.js +23 -29
- package/dist-es/commands/CreateApiKeyCommand.js +21 -28
- package/dist-es/commands/CreateAuthorizerCommand.js +21 -28
- package/dist-es/commands/CreateBasePathMappingCommand.js +21 -28
- package/dist-es/commands/CreateDeploymentCommand.js +21 -28
- package/dist-es/commands/CreateDocumentationPartCommand.js +21 -28
- package/dist-es/commands/CreateDocumentationVersionCommand.js +21 -28
- package/dist-es/commands/CreateDomainNameCommand.js +21 -28
- package/dist-es/commands/CreateModelCommand.js +21 -28
- package/dist-es/commands/CreateRequestValidatorCommand.js +21 -28
- package/dist-es/commands/CreateResourceCommand.js +21 -28
- package/dist-es/commands/CreateRestApiCommand.js +21 -28
- package/dist-es/commands/CreateStageCommand.js +21 -28
- package/dist-es/commands/CreateUsagePlanCommand.js +21 -28
- package/dist-es/commands/CreateUsagePlanKeyCommand.js +21 -28
- package/dist-es/commands/CreateVpcLinkCommand.js +21 -28
- package/dist-es/commands/DeleteApiKeyCommand.js +22 -29
- package/dist-es/commands/DeleteAuthorizerCommand.js +22 -29
- package/dist-es/commands/DeleteBasePathMappingCommand.js +22 -29
- package/dist-es/commands/DeleteClientCertificateCommand.js +22 -29
- package/dist-es/commands/DeleteDeploymentCommand.js +22 -29
- package/dist-es/commands/DeleteDocumentationPartCommand.js +22 -29
- package/dist-es/commands/DeleteDocumentationVersionCommand.js +22 -29
- package/dist-es/commands/DeleteDomainNameCommand.js +22 -29
- package/dist-es/commands/DeleteGatewayResponseCommand.js +22 -29
- package/dist-es/commands/DeleteIntegrationCommand.js +22 -29
- package/dist-es/commands/DeleteIntegrationResponseCommand.js +22 -29
- package/dist-es/commands/DeleteMethodCommand.js +22 -29
- package/dist-es/commands/DeleteMethodResponseCommand.js +22 -29
- package/dist-es/commands/DeleteModelCommand.js +22 -29
- package/dist-es/commands/DeleteRequestValidatorCommand.js +22 -29
- package/dist-es/commands/DeleteResourceCommand.js +22 -29
- package/dist-es/commands/DeleteRestApiCommand.js +22 -29
- package/dist-es/commands/DeleteStageCommand.js +22 -29
- package/dist-es/commands/DeleteUsagePlanCommand.js +22 -29
- package/dist-es/commands/DeleteUsagePlanKeyCommand.js +22 -29
- package/dist-es/commands/DeleteVpcLinkCommand.js +22 -29
- package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +22 -29
- package/dist-es/commands/FlushStageCacheCommand.js +22 -29
- package/dist-es/commands/GenerateClientCertificateCommand.js +21 -28
- package/dist-es/commands/GetAccountCommand.js +21 -28
- package/dist-es/commands/GetApiKeyCommand.js +21 -28
- package/dist-es/commands/GetApiKeysCommand.js +21 -28
- package/dist-es/commands/GetAuthorizerCommand.js +21 -28
- package/dist-es/commands/GetAuthorizersCommand.js +21 -28
- package/dist-es/commands/GetBasePathMappingCommand.js +21 -28
- package/dist-es/commands/GetBasePathMappingsCommand.js +21 -28
- package/dist-es/commands/GetClientCertificateCommand.js +21 -28
- package/dist-es/commands/GetClientCertificatesCommand.js +21 -28
- package/dist-es/commands/GetDeploymentCommand.js +21 -28
- package/dist-es/commands/GetDeploymentsCommand.js +21 -28
- package/dist-es/commands/GetDocumentationPartCommand.js +21 -28
- package/dist-es/commands/GetDocumentationPartsCommand.js +21 -28
- package/dist-es/commands/GetDocumentationVersionCommand.js +21 -28
- package/dist-es/commands/GetDocumentationVersionsCommand.js +21 -28
- package/dist-es/commands/GetDomainNameCommand.js +21 -28
- package/dist-es/commands/GetDomainNamesCommand.js +21 -28
- package/dist-es/commands/GetExportCommand.js +21 -28
- package/dist-es/commands/GetGatewayResponseCommand.js +21 -28
- package/dist-es/commands/GetGatewayResponsesCommand.js +21 -28
- package/dist-es/commands/GetIntegrationCommand.js +21 -28
- package/dist-es/commands/GetIntegrationResponseCommand.js +21 -28
- package/dist-es/commands/GetMethodCommand.js +21 -28
- package/dist-es/commands/GetMethodResponseCommand.js +21 -28
- package/dist-es/commands/GetModelCommand.js +21 -28
- package/dist-es/commands/GetModelTemplateCommand.js +21 -28
- package/dist-es/commands/GetModelsCommand.js +21 -28
- package/dist-es/commands/GetRequestValidatorCommand.js +21 -28
- package/dist-es/commands/GetRequestValidatorsCommand.js +21 -28
- package/dist-es/commands/GetResourceCommand.js +21 -28
- package/dist-es/commands/GetResourcesCommand.js +21 -28
- package/dist-es/commands/GetRestApiCommand.js +21 -28
- package/dist-es/commands/GetRestApisCommand.js +21 -28
- package/dist-es/commands/GetSdkCommand.js +21 -28
- package/dist-es/commands/GetSdkTypeCommand.js +21 -28
- package/dist-es/commands/GetSdkTypesCommand.js +21 -28
- package/dist-es/commands/GetStageCommand.js +21 -28
- package/dist-es/commands/GetStagesCommand.js +21 -28
- package/dist-es/commands/GetTagsCommand.js +21 -28
- package/dist-es/commands/GetUsageCommand.js +21 -28
- package/dist-es/commands/GetUsagePlanCommand.js +21 -28
- package/dist-es/commands/GetUsagePlanKeyCommand.js +21 -28
- package/dist-es/commands/GetUsagePlanKeysCommand.js +21 -28
- package/dist-es/commands/GetUsagePlansCommand.js +21 -28
- package/dist-es/commands/GetVpcLinkCommand.js +21 -28
- package/dist-es/commands/GetVpcLinksCommand.js +21 -28
- package/dist-es/commands/ImportApiKeysCommand.js +21 -28
- package/dist-es/commands/ImportDocumentationPartsCommand.js +21 -28
- package/dist-es/commands/ImportRestApiCommand.js +21 -28
- package/dist-es/commands/PutGatewayResponseCommand.js +21 -28
- package/dist-es/commands/PutIntegrationCommand.js +21 -28
- package/dist-es/commands/PutIntegrationResponseCommand.js +21 -28
- package/dist-es/commands/PutMethodCommand.js +21 -28
- package/dist-es/commands/PutMethodResponseCommand.js +21 -28
- package/dist-es/commands/PutRestApiCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/TestInvokeAuthorizerCommand.js +21 -28
- package/dist-es/commands/TestInvokeMethodCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateAccountCommand.js +21 -28
- package/dist-es/commands/UpdateApiKeyCommand.js +21 -28
- package/dist-es/commands/UpdateAuthorizerCommand.js +21 -28
- package/dist-es/commands/UpdateBasePathMappingCommand.js +21 -28
- package/dist-es/commands/UpdateClientCertificateCommand.js +21 -28
- package/dist-es/commands/UpdateDeploymentCommand.js +21 -28
- package/dist-es/commands/UpdateDocumentationPartCommand.js +21 -28
- package/dist-es/commands/UpdateDocumentationVersionCommand.js +21 -28
- package/dist-es/commands/UpdateDomainNameCommand.js +21 -28
- package/dist-es/commands/UpdateGatewayResponseCommand.js +21 -28
- package/dist-es/commands/UpdateIntegrationCommand.js +21 -28
- package/dist-es/commands/UpdateIntegrationResponseCommand.js +21 -28
- package/dist-es/commands/UpdateMethodCommand.js +21 -28
- package/dist-es/commands/UpdateMethodResponseCommand.js +21 -28
- package/dist-es/commands/UpdateModelCommand.js +21 -28
- package/dist-es/commands/UpdateRequestValidatorCommand.js +21 -28
- package/dist-es/commands/UpdateResourceCommand.js +21 -28
- package/dist-es/commands/UpdateRestApiCommand.js +21 -28
- package/dist-es/commands/UpdateStageCommand.js +21 -28
- package/dist-es/commands/UpdateUsageCommand.js +21 -28
- package/dist-es/commands/UpdateUsagePlanCommand.js +21 -28
- package/dist-es/commands/UpdateVpcLinkCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/APIGatewayServiceException.js +5 -10
- package/dist-es/models/models_0.js +638 -267
- package/dist-es/pagination/GetApiKeysPaginator.js +25 -68
- package/dist-es/pagination/GetBasePathMappingsPaginator.js +25 -68
- package/dist-es/pagination/GetClientCertificatesPaginator.js +25 -68
- package/dist-es/pagination/GetDeploymentsPaginator.js +25 -68
- package/dist-es/pagination/GetDomainNamesPaginator.js +25 -68
- package/dist-es/pagination/GetModelsPaginator.js +25 -68
- package/dist-es/pagination/GetResourcesPaginator.js +25 -68
- package/dist-es/pagination/GetRestApisPaginator.js +25 -68
- package/dist-es/pagination/GetUsagePaginator.js +25 -68
- package/dist-es/pagination/GetUsagePlanKeysPaginator.js +25 -68
- package/dist-es/pagination/GetUsagePlansPaginator.js +25 -68
- package/dist-es/pagination/GetVpcLinksPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +9637 -13285
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +34 -34
|
@@ -2840,7 +2840,7 @@ exports.deserializeAws_restJson1CreateApiKeyCommand = deserializeAws_restJson1Cr
|
|
|
2840
2840
|
const deserializeAws_restJson1CreateApiKeyCommandError = async (output, context) => {
|
|
2841
2841
|
const parsedOutput = {
|
|
2842
2842
|
...output,
|
|
2843
|
-
body: await
|
|
2843
|
+
body: await parseErrorBody(output.body, context),
|
|
2844
2844
|
};
|
|
2845
2845
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2846
2846
|
switch (errorCode) {
|
|
@@ -2916,7 +2916,7 @@ exports.deserializeAws_restJson1CreateAuthorizerCommand = deserializeAws_restJso
|
|
|
2916
2916
|
const deserializeAws_restJson1CreateAuthorizerCommandError = async (output, context) => {
|
|
2917
2917
|
const parsedOutput = {
|
|
2918
2918
|
...output,
|
|
2919
|
-
body: await
|
|
2919
|
+
body: await parseErrorBody(output.body, context),
|
|
2920
2920
|
};
|
|
2921
2921
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2922
2922
|
switch (errorCode) {
|
|
@@ -2971,7 +2971,7 @@ exports.deserializeAws_restJson1CreateBasePathMappingCommand = deserializeAws_re
|
|
|
2971
2971
|
const deserializeAws_restJson1CreateBasePathMappingCommandError = async (output, context) => {
|
|
2972
2972
|
const parsedOutput = {
|
|
2973
2973
|
...output,
|
|
2974
|
-
body: await
|
|
2974
|
+
body: await parseErrorBody(output.body, context),
|
|
2975
2975
|
};
|
|
2976
2976
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2977
2977
|
switch (errorCode) {
|
|
@@ -3029,7 +3029,7 @@ exports.deserializeAws_restJson1CreateDeploymentCommand = deserializeAws_restJso
|
|
|
3029
3029
|
const deserializeAws_restJson1CreateDeploymentCommandError = async (output, context) => {
|
|
3030
3030
|
const parsedOutput = {
|
|
3031
3031
|
...output,
|
|
3032
|
-
body: await
|
|
3032
|
+
body: await parseErrorBody(output.body, context),
|
|
3033
3033
|
};
|
|
3034
3034
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3035
3035
|
switch (errorCode) {
|
|
@@ -3087,7 +3087,7 @@ exports.deserializeAws_restJson1CreateDocumentationPartCommand = deserializeAws_
|
|
|
3087
3087
|
const deserializeAws_restJson1CreateDocumentationPartCommandError = async (output, context) => {
|
|
3088
3088
|
const parsedOutput = {
|
|
3089
3089
|
...output,
|
|
3090
|
-
body: await
|
|
3090
|
+
body: await parseErrorBody(output.body, context),
|
|
3091
3091
|
};
|
|
3092
3092
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3093
3093
|
switch (errorCode) {
|
|
@@ -3142,7 +3142,7 @@ exports.deserializeAws_restJson1CreateDocumentationVersionCommand = deserializeA
|
|
|
3142
3142
|
const deserializeAws_restJson1CreateDocumentationVersionCommandError = async (output, context) => {
|
|
3143
3143
|
const parsedOutput = {
|
|
3144
3144
|
...output,
|
|
3145
|
-
body: await
|
|
3145
|
+
body: await parseErrorBody(output.body, context),
|
|
3146
3146
|
};
|
|
3147
3147
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3148
3148
|
switch (errorCode) {
|
|
@@ -3239,7 +3239,7 @@ exports.deserializeAws_restJson1CreateDomainNameCommand = deserializeAws_restJso
|
|
|
3239
3239
|
const deserializeAws_restJson1CreateDomainNameCommandError = async (output, context) => {
|
|
3240
3240
|
const parsedOutput = {
|
|
3241
3241
|
...output,
|
|
3242
|
-
body: await
|
|
3242
|
+
body: await parseErrorBody(output.body, context),
|
|
3243
3243
|
};
|
|
3244
3244
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3245
3245
|
switch (errorCode) {
|
|
@@ -3297,7 +3297,7 @@ exports.deserializeAws_restJson1CreateModelCommand = deserializeAws_restJson1Cre
|
|
|
3297
3297
|
const deserializeAws_restJson1CreateModelCommandError = async (output, context) => {
|
|
3298
3298
|
const parsedOutput = {
|
|
3299
3299
|
...output,
|
|
3300
|
-
body: await
|
|
3300
|
+
body: await parseErrorBody(output.body, context),
|
|
3301
3301
|
};
|
|
3302
3302
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3303
3303
|
switch (errorCode) {
|
|
@@ -3355,7 +3355,7 @@ exports.deserializeAws_restJson1CreateRequestValidatorCommand = deserializeAws_r
|
|
|
3355
3355
|
const deserializeAws_restJson1CreateRequestValidatorCommandError = async (output, context) => {
|
|
3356
3356
|
const parsedOutput = {
|
|
3357
3357
|
...output,
|
|
3358
|
-
body: await
|
|
3358
|
+
body: await parseErrorBody(output.body, context),
|
|
3359
3359
|
};
|
|
3360
3360
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3361
3361
|
switch (errorCode) {
|
|
@@ -3416,7 +3416,7 @@ exports.deserializeAws_restJson1CreateResourceCommand = deserializeAws_restJson1
|
|
|
3416
3416
|
const deserializeAws_restJson1CreateResourceCommandError = async (output, context) => {
|
|
3417
3417
|
const parsedOutput = {
|
|
3418
3418
|
...output,
|
|
3419
|
-
body: await
|
|
3419
|
+
body: await parseErrorBody(output.body, context),
|
|
3420
3420
|
};
|
|
3421
3421
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3422
3422
|
switch (errorCode) {
|
|
@@ -3501,7 +3501,7 @@ exports.deserializeAws_restJson1CreateRestApiCommand = deserializeAws_restJson1C
|
|
|
3501
3501
|
const deserializeAws_restJson1CreateRestApiCommandError = async (output, context) => {
|
|
3502
3502
|
const parsedOutput = {
|
|
3503
3503
|
...output,
|
|
3504
|
-
body: await
|
|
3504
|
+
body: await parseErrorBody(output.body, context),
|
|
3505
3505
|
};
|
|
3506
3506
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3507
3507
|
switch (errorCode) {
|
|
@@ -3595,7 +3595,7 @@ exports.deserializeAws_restJson1CreateStageCommand = deserializeAws_restJson1Cre
|
|
|
3595
3595
|
const deserializeAws_restJson1CreateStageCommandError = async (output, context) => {
|
|
3596
3596
|
const parsedOutput = {
|
|
3597
3597
|
...output,
|
|
3598
|
-
body: await
|
|
3598
|
+
body: await parseErrorBody(output.body, context),
|
|
3599
3599
|
};
|
|
3600
3600
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3601
3601
|
switch (errorCode) {
|
|
@@ -3665,7 +3665,7 @@ exports.deserializeAws_restJson1CreateUsagePlanCommand = deserializeAws_restJson
|
|
|
3665
3665
|
const deserializeAws_restJson1CreateUsagePlanCommandError = async (output, context) => {
|
|
3666
3666
|
const parsedOutput = {
|
|
3667
3667
|
...output,
|
|
3668
|
-
body: await
|
|
3668
|
+
body: await parseErrorBody(output.body, context),
|
|
3669
3669
|
};
|
|
3670
3670
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3671
3671
|
switch (errorCode) {
|
|
@@ -3723,7 +3723,7 @@ exports.deserializeAws_restJson1CreateUsagePlanKeyCommand = deserializeAws_restJ
|
|
|
3723
3723
|
const deserializeAws_restJson1CreateUsagePlanKeyCommandError = async (output, context) => {
|
|
3724
3724
|
const parsedOutput = {
|
|
3725
3725
|
...output,
|
|
3726
|
-
body: await
|
|
3726
|
+
body: await parseErrorBody(output.body, context),
|
|
3727
3727
|
};
|
|
3728
3728
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3729
3729
|
switch (errorCode) {
|
|
@@ -3790,7 +3790,7 @@ exports.deserializeAws_restJson1CreateVpcLinkCommand = deserializeAws_restJson1C
|
|
|
3790
3790
|
const deserializeAws_restJson1CreateVpcLinkCommandError = async (output, context) => {
|
|
3791
3791
|
const parsedOutput = {
|
|
3792
3792
|
...output,
|
|
3793
|
-
body: await
|
|
3793
|
+
body: await parseErrorBody(output.body, context),
|
|
3794
3794
|
};
|
|
3795
3795
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3796
3796
|
switch (errorCode) {
|
|
@@ -3833,7 +3833,7 @@ exports.deserializeAws_restJson1DeleteApiKeyCommand = deserializeAws_restJson1De
|
|
|
3833
3833
|
const deserializeAws_restJson1DeleteApiKeyCommandError = async (output, context) => {
|
|
3834
3834
|
const parsedOutput = {
|
|
3835
3835
|
...output,
|
|
3836
|
-
body: await
|
|
3836
|
+
body: await parseErrorBody(output.body, context),
|
|
3837
3837
|
};
|
|
3838
3838
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3839
3839
|
switch (errorCode) {
|
|
@@ -3876,7 +3876,7 @@ exports.deserializeAws_restJson1DeleteAuthorizerCommand = deserializeAws_restJso
|
|
|
3876
3876
|
const deserializeAws_restJson1DeleteAuthorizerCommandError = async (output, context) => {
|
|
3877
3877
|
const parsedOutput = {
|
|
3878
3878
|
...output,
|
|
3879
|
-
body: await
|
|
3879
|
+
body: await parseErrorBody(output.body, context),
|
|
3880
3880
|
};
|
|
3881
3881
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3882
3882
|
switch (errorCode) {
|
|
@@ -3919,7 +3919,7 @@ exports.deserializeAws_restJson1DeleteBasePathMappingCommand = deserializeAws_re
|
|
|
3919
3919
|
const deserializeAws_restJson1DeleteBasePathMappingCommandError = async (output, context) => {
|
|
3920
3920
|
const parsedOutput = {
|
|
3921
3921
|
...output,
|
|
3922
|
-
body: await
|
|
3922
|
+
body: await parseErrorBody(output.body, context),
|
|
3923
3923
|
};
|
|
3924
3924
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3925
3925
|
switch (errorCode) {
|
|
@@ -3962,7 +3962,7 @@ exports.deserializeAws_restJson1DeleteClientCertificateCommand = deserializeAws_
|
|
|
3962
3962
|
const deserializeAws_restJson1DeleteClientCertificateCommandError = async (output, context) => {
|
|
3963
3963
|
const parsedOutput = {
|
|
3964
3964
|
...output,
|
|
3965
|
-
body: await
|
|
3965
|
+
body: await parseErrorBody(output.body, context),
|
|
3966
3966
|
};
|
|
3967
3967
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3968
3968
|
switch (errorCode) {
|
|
@@ -4005,7 +4005,7 @@ exports.deserializeAws_restJson1DeleteDeploymentCommand = deserializeAws_restJso
|
|
|
4005
4005
|
const deserializeAws_restJson1DeleteDeploymentCommandError = async (output, context) => {
|
|
4006
4006
|
const parsedOutput = {
|
|
4007
4007
|
...output,
|
|
4008
|
-
body: await
|
|
4008
|
+
body: await parseErrorBody(output.body, context),
|
|
4009
4009
|
};
|
|
4010
4010
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4011
4011
|
switch (errorCode) {
|
|
@@ -4051,7 +4051,7 @@ exports.deserializeAws_restJson1DeleteDocumentationPartCommand = deserializeAws_
|
|
|
4051
4051
|
const deserializeAws_restJson1DeleteDocumentationPartCommandError = async (output, context) => {
|
|
4052
4052
|
const parsedOutput = {
|
|
4053
4053
|
...output,
|
|
4054
|
-
body: await
|
|
4054
|
+
body: await parseErrorBody(output.body, context),
|
|
4055
4055
|
};
|
|
4056
4056
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4057
4057
|
switch (errorCode) {
|
|
@@ -4094,7 +4094,7 @@ exports.deserializeAws_restJson1DeleteDocumentationVersionCommand = deserializeA
|
|
|
4094
4094
|
const deserializeAws_restJson1DeleteDocumentationVersionCommandError = async (output, context) => {
|
|
4095
4095
|
const parsedOutput = {
|
|
4096
4096
|
...output,
|
|
4097
|
-
body: await
|
|
4097
|
+
body: await parseErrorBody(output.body, context),
|
|
4098
4098
|
};
|
|
4099
4099
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4100
4100
|
switch (errorCode) {
|
|
@@ -4137,7 +4137,7 @@ exports.deserializeAws_restJson1DeleteDomainNameCommand = deserializeAws_restJso
|
|
|
4137
4137
|
const deserializeAws_restJson1DeleteDomainNameCommandError = async (output, context) => {
|
|
4138
4138
|
const parsedOutput = {
|
|
4139
4139
|
...output,
|
|
4140
|
-
body: await
|
|
4140
|
+
body: await parseErrorBody(output.body, context),
|
|
4141
4141
|
};
|
|
4142
4142
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4143
4143
|
switch (errorCode) {
|
|
@@ -4180,7 +4180,7 @@ exports.deserializeAws_restJson1DeleteGatewayResponseCommand = deserializeAws_re
|
|
|
4180
4180
|
const deserializeAws_restJson1DeleteGatewayResponseCommandError = async (output, context) => {
|
|
4181
4181
|
const parsedOutput = {
|
|
4182
4182
|
...output,
|
|
4183
|
-
body: await
|
|
4183
|
+
body: await parseErrorBody(output.body, context),
|
|
4184
4184
|
};
|
|
4185
4185
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4186
4186
|
switch (errorCode) {
|
|
@@ -4223,7 +4223,7 @@ exports.deserializeAws_restJson1DeleteIntegrationCommand = deserializeAws_restJs
|
|
|
4223
4223
|
const deserializeAws_restJson1DeleteIntegrationCommandError = async (output, context) => {
|
|
4224
4224
|
const parsedOutput = {
|
|
4225
4225
|
...output,
|
|
4226
|
-
body: await
|
|
4226
|
+
body: await parseErrorBody(output.body, context),
|
|
4227
4227
|
};
|
|
4228
4228
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4229
4229
|
switch (errorCode) {
|
|
@@ -4266,7 +4266,7 @@ exports.deserializeAws_restJson1DeleteIntegrationResponseCommand = deserializeAw
|
|
|
4266
4266
|
const deserializeAws_restJson1DeleteIntegrationResponseCommandError = async (output, context) => {
|
|
4267
4267
|
const parsedOutput = {
|
|
4268
4268
|
...output,
|
|
4269
|
-
body: await
|
|
4269
|
+
body: await parseErrorBody(output.body, context),
|
|
4270
4270
|
};
|
|
4271
4271
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4272
4272
|
switch (errorCode) {
|
|
@@ -4309,7 +4309,7 @@ exports.deserializeAws_restJson1DeleteMethodCommand = deserializeAws_restJson1De
|
|
|
4309
4309
|
const deserializeAws_restJson1DeleteMethodCommandError = async (output, context) => {
|
|
4310
4310
|
const parsedOutput = {
|
|
4311
4311
|
...output,
|
|
4312
|
-
body: await
|
|
4312
|
+
body: await parseErrorBody(output.body, context),
|
|
4313
4313
|
};
|
|
4314
4314
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4315
4315
|
switch (errorCode) {
|
|
@@ -4349,7 +4349,7 @@ exports.deserializeAws_restJson1DeleteMethodResponseCommand = deserializeAws_res
|
|
|
4349
4349
|
const deserializeAws_restJson1DeleteMethodResponseCommandError = async (output, context) => {
|
|
4350
4350
|
const parsedOutput = {
|
|
4351
4351
|
...output,
|
|
4352
|
-
body: await
|
|
4352
|
+
body: await parseErrorBody(output.body, context),
|
|
4353
4353
|
};
|
|
4354
4354
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4355
4355
|
switch (errorCode) {
|
|
@@ -4392,7 +4392,7 @@ exports.deserializeAws_restJson1DeleteModelCommand = deserializeAws_restJson1Del
|
|
|
4392
4392
|
const deserializeAws_restJson1DeleteModelCommandError = async (output, context) => {
|
|
4393
4393
|
const parsedOutput = {
|
|
4394
4394
|
...output,
|
|
4395
|
-
body: await
|
|
4395
|
+
body: await parseErrorBody(output.body, context),
|
|
4396
4396
|
};
|
|
4397
4397
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4398
4398
|
switch (errorCode) {
|
|
@@ -4435,7 +4435,7 @@ exports.deserializeAws_restJson1DeleteRequestValidatorCommand = deserializeAws_r
|
|
|
4435
4435
|
const deserializeAws_restJson1DeleteRequestValidatorCommandError = async (output, context) => {
|
|
4436
4436
|
const parsedOutput = {
|
|
4437
4437
|
...output,
|
|
4438
|
-
body: await
|
|
4438
|
+
body: await parseErrorBody(output.body, context),
|
|
4439
4439
|
};
|
|
4440
4440
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4441
4441
|
switch (errorCode) {
|
|
@@ -4478,7 +4478,7 @@ exports.deserializeAws_restJson1DeleteResourceCommand = deserializeAws_restJson1
|
|
|
4478
4478
|
const deserializeAws_restJson1DeleteResourceCommandError = async (output, context) => {
|
|
4479
4479
|
const parsedOutput = {
|
|
4480
4480
|
...output,
|
|
4481
|
-
body: await
|
|
4481
|
+
body: await parseErrorBody(output.body, context),
|
|
4482
4482
|
};
|
|
4483
4483
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4484
4484
|
switch (errorCode) {
|
|
@@ -4521,7 +4521,7 @@ exports.deserializeAws_restJson1DeleteRestApiCommand = deserializeAws_restJson1D
|
|
|
4521
4521
|
const deserializeAws_restJson1DeleteRestApiCommandError = async (output, context) => {
|
|
4522
4522
|
const parsedOutput = {
|
|
4523
4523
|
...output,
|
|
4524
|
-
body: await
|
|
4524
|
+
body: await parseErrorBody(output.body, context),
|
|
4525
4525
|
};
|
|
4526
4526
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4527
4527
|
switch (errorCode) {
|
|
@@ -4564,7 +4564,7 @@ exports.deserializeAws_restJson1DeleteStageCommand = deserializeAws_restJson1Del
|
|
|
4564
4564
|
const deserializeAws_restJson1DeleteStageCommandError = async (output, context) => {
|
|
4565
4565
|
const parsedOutput = {
|
|
4566
4566
|
...output,
|
|
4567
|
-
body: await
|
|
4567
|
+
body: await parseErrorBody(output.body, context),
|
|
4568
4568
|
};
|
|
4569
4569
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4570
4570
|
switch (errorCode) {
|
|
@@ -4610,7 +4610,7 @@ exports.deserializeAws_restJson1DeleteUsagePlanCommand = deserializeAws_restJson
|
|
|
4610
4610
|
const deserializeAws_restJson1DeleteUsagePlanCommandError = async (output, context) => {
|
|
4611
4611
|
const parsedOutput = {
|
|
4612
4612
|
...output,
|
|
4613
|
-
body: await
|
|
4613
|
+
body: await parseErrorBody(output.body, context),
|
|
4614
4614
|
};
|
|
4615
4615
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4616
4616
|
switch (errorCode) {
|
|
@@ -4653,7 +4653,7 @@ exports.deserializeAws_restJson1DeleteUsagePlanKeyCommand = deserializeAws_restJ
|
|
|
4653
4653
|
const deserializeAws_restJson1DeleteUsagePlanKeyCommandError = async (output, context) => {
|
|
4654
4654
|
const parsedOutput = {
|
|
4655
4655
|
...output,
|
|
4656
|
-
body: await
|
|
4656
|
+
body: await parseErrorBody(output.body, context),
|
|
4657
4657
|
};
|
|
4658
4658
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4659
4659
|
switch (errorCode) {
|
|
@@ -4696,7 +4696,7 @@ exports.deserializeAws_restJson1DeleteVpcLinkCommand = deserializeAws_restJson1D
|
|
|
4696
4696
|
const deserializeAws_restJson1DeleteVpcLinkCommandError = async (output, context) => {
|
|
4697
4697
|
const parsedOutput = {
|
|
4698
4698
|
...output,
|
|
4699
|
-
body: await
|
|
4699
|
+
body: await parseErrorBody(output.body, context),
|
|
4700
4700
|
};
|
|
4701
4701
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4702
4702
|
switch (errorCode) {
|
|
@@ -4739,7 +4739,7 @@ exports.deserializeAws_restJson1FlushStageAuthorizersCacheCommand = deserializeA
|
|
|
4739
4739
|
const deserializeAws_restJson1FlushStageAuthorizersCacheCommandError = async (output, context) => {
|
|
4740
4740
|
const parsedOutput = {
|
|
4741
4741
|
...output,
|
|
4742
|
-
body: await
|
|
4742
|
+
body: await parseErrorBody(output.body, context),
|
|
4743
4743
|
};
|
|
4744
4744
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4745
4745
|
switch (errorCode) {
|
|
@@ -4785,7 +4785,7 @@ exports.deserializeAws_restJson1FlushStageCacheCommand = deserializeAws_restJson
|
|
|
4785
4785
|
const deserializeAws_restJson1FlushStageCacheCommandError = async (output, context) => {
|
|
4786
4786
|
const parsedOutput = {
|
|
4787
4787
|
...output,
|
|
4788
|
-
body: await
|
|
4788
|
+
body: await parseErrorBody(output.body, context),
|
|
4789
4789
|
};
|
|
4790
4790
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4791
4791
|
switch (errorCode) {
|
|
@@ -4849,7 +4849,7 @@ exports.deserializeAws_restJson1GenerateClientCertificateCommand = deserializeAw
|
|
|
4849
4849
|
const deserializeAws_restJson1GenerateClientCertificateCommandError = async (output, context) => {
|
|
4850
4850
|
const parsedOutput = {
|
|
4851
4851
|
...output,
|
|
4852
|
-
body: await
|
|
4852
|
+
body: await parseErrorBody(output.body, context),
|
|
4853
4853
|
};
|
|
4854
4854
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4855
4855
|
switch (errorCode) {
|
|
@@ -4904,7 +4904,7 @@ exports.deserializeAws_restJson1GetAccountCommand = deserializeAws_restJson1GetA
|
|
|
4904
4904
|
const deserializeAws_restJson1GetAccountCommandError = async (output, context) => {
|
|
4905
4905
|
const parsedOutput = {
|
|
4906
4906
|
...output,
|
|
4907
|
-
body: await
|
|
4907
|
+
body: await parseErrorBody(output.body, context),
|
|
4908
4908
|
};
|
|
4909
4909
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4910
4910
|
switch (errorCode) {
|
|
@@ -4974,7 +4974,7 @@ exports.deserializeAws_restJson1GetApiKeyCommand = deserializeAws_restJson1GetAp
|
|
|
4974
4974
|
const deserializeAws_restJson1GetApiKeyCommandError = async (output, context) => {
|
|
4975
4975
|
const parsedOutput = {
|
|
4976
4976
|
...output,
|
|
4977
|
-
body: await
|
|
4977
|
+
body: await parseErrorBody(output.body, context),
|
|
4978
4978
|
};
|
|
4979
4979
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4980
4980
|
switch (errorCode) {
|
|
@@ -5023,7 +5023,7 @@ exports.deserializeAws_restJson1GetApiKeysCommand = deserializeAws_restJson1GetA
|
|
|
5023
5023
|
const deserializeAws_restJson1GetApiKeysCommandError = async (output, context) => {
|
|
5024
5024
|
const parsedOutput = {
|
|
5025
5025
|
...output,
|
|
5026
|
-
body: await
|
|
5026
|
+
body: await parseErrorBody(output.body, context),
|
|
5027
5027
|
};
|
|
5028
5028
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5029
5029
|
switch (errorCode) {
|
|
@@ -5093,7 +5093,7 @@ exports.deserializeAws_restJson1GetAuthorizerCommand = deserializeAws_restJson1G
|
|
|
5093
5093
|
const deserializeAws_restJson1GetAuthorizerCommandError = async (output, context) => {
|
|
5094
5094
|
const parsedOutput = {
|
|
5095
5095
|
...output,
|
|
5096
|
-
body: await
|
|
5096
|
+
body: await parseErrorBody(output.body, context),
|
|
5097
5097
|
};
|
|
5098
5098
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5099
5099
|
switch (errorCode) {
|
|
@@ -5139,7 +5139,7 @@ exports.deserializeAws_restJson1GetAuthorizersCommand = deserializeAws_restJson1
|
|
|
5139
5139
|
const deserializeAws_restJson1GetAuthorizersCommandError = async (output, context) => {
|
|
5140
5140
|
const parsedOutput = {
|
|
5141
5141
|
...output,
|
|
5142
|
-
body: await
|
|
5142
|
+
body: await parseErrorBody(output.body, context),
|
|
5143
5143
|
};
|
|
5144
5144
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5145
5145
|
switch (errorCode) {
|
|
@@ -5188,7 +5188,7 @@ exports.deserializeAws_restJson1GetBasePathMappingCommand = deserializeAws_restJ
|
|
|
5188
5188
|
const deserializeAws_restJson1GetBasePathMappingCommandError = async (output, context) => {
|
|
5189
5189
|
const parsedOutput = {
|
|
5190
5190
|
...output,
|
|
5191
|
-
body: await
|
|
5191
|
+
body: await parseErrorBody(output.body, context),
|
|
5192
5192
|
};
|
|
5193
5193
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5194
5194
|
switch (errorCode) {
|
|
@@ -5234,7 +5234,7 @@ exports.deserializeAws_restJson1GetBasePathMappingsCommand = deserializeAws_rest
|
|
|
5234
5234
|
const deserializeAws_restJson1GetBasePathMappingsCommandError = async (output, context) => {
|
|
5235
5235
|
const parsedOutput = {
|
|
5236
5236
|
...output,
|
|
5237
|
-
body: await
|
|
5237
|
+
body: await parseErrorBody(output.body, context),
|
|
5238
5238
|
};
|
|
5239
5239
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5240
5240
|
switch (errorCode) {
|
|
@@ -5292,7 +5292,7 @@ exports.deserializeAws_restJson1GetClientCertificateCommand = deserializeAws_res
|
|
|
5292
5292
|
const deserializeAws_restJson1GetClientCertificateCommandError = async (output, context) => {
|
|
5293
5293
|
const parsedOutput = {
|
|
5294
5294
|
...output,
|
|
5295
|
-
body: await
|
|
5295
|
+
body: await parseErrorBody(output.body, context),
|
|
5296
5296
|
};
|
|
5297
5297
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5298
5298
|
switch (errorCode) {
|
|
@@ -5338,7 +5338,7 @@ exports.deserializeAws_restJson1GetClientCertificatesCommand = deserializeAws_re
|
|
|
5338
5338
|
const deserializeAws_restJson1GetClientCertificatesCommandError = async (output, context) => {
|
|
5339
5339
|
const parsedOutput = {
|
|
5340
5340
|
...output,
|
|
5341
|
-
body: await
|
|
5341
|
+
body: await parseErrorBody(output.body, context),
|
|
5342
5342
|
};
|
|
5343
5343
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5344
5344
|
switch (errorCode) {
|
|
@@ -5390,7 +5390,7 @@ exports.deserializeAws_restJson1GetDeploymentCommand = deserializeAws_restJson1G
|
|
|
5390
5390
|
const deserializeAws_restJson1GetDeploymentCommandError = async (output, context) => {
|
|
5391
5391
|
const parsedOutput = {
|
|
5392
5392
|
...output,
|
|
5393
|
-
body: await
|
|
5393
|
+
body: await parseErrorBody(output.body, context),
|
|
5394
5394
|
};
|
|
5395
5395
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5396
5396
|
switch (errorCode) {
|
|
@@ -5439,7 +5439,7 @@ exports.deserializeAws_restJson1GetDeploymentsCommand = deserializeAws_restJson1
|
|
|
5439
5439
|
const deserializeAws_restJson1GetDeploymentsCommandError = async (output, context) => {
|
|
5440
5440
|
const parsedOutput = {
|
|
5441
5441
|
...output,
|
|
5442
|
-
body: await
|
|
5442
|
+
body: await parseErrorBody(output.body, context),
|
|
5443
5443
|
};
|
|
5444
5444
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5445
5445
|
switch (errorCode) {
|
|
@@ -5491,7 +5491,7 @@ exports.deserializeAws_restJson1GetDocumentationPartCommand = deserializeAws_res
|
|
|
5491
5491
|
const deserializeAws_restJson1GetDocumentationPartCommandError = async (output, context) => {
|
|
5492
5492
|
const parsedOutput = {
|
|
5493
5493
|
...output,
|
|
5494
|
-
body: await
|
|
5494
|
+
body: await parseErrorBody(output.body, context),
|
|
5495
5495
|
};
|
|
5496
5496
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5497
5497
|
switch (errorCode) {
|
|
@@ -5537,7 +5537,7 @@ exports.deserializeAws_restJson1GetDocumentationPartsCommand = deserializeAws_re
|
|
|
5537
5537
|
const deserializeAws_restJson1GetDocumentationPartsCommandError = async (output, context) => {
|
|
5538
5538
|
const parsedOutput = {
|
|
5539
5539
|
...output,
|
|
5540
|
-
body: await
|
|
5540
|
+
body: await parseErrorBody(output.body, context),
|
|
5541
5541
|
};
|
|
5542
5542
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5543
5543
|
switch (errorCode) {
|
|
@@ -5586,7 +5586,7 @@ exports.deserializeAws_restJson1GetDocumentationVersionCommand = deserializeAws_
|
|
|
5586
5586
|
const deserializeAws_restJson1GetDocumentationVersionCommandError = async (output, context) => {
|
|
5587
5587
|
const parsedOutput = {
|
|
5588
5588
|
...output,
|
|
5589
|
-
body: await
|
|
5589
|
+
body: await parseErrorBody(output.body, context),
|
|
5590
5590
|
};
|
|
5591
5591
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5592
5592
|
switch (errorCode) {
|
|
@@ -5629,7 +5629,7 @@ exports.deserializeAws_restJson1GetDocumentationVersionsCommand = deserializeAws
|
|
|
5629
5629
|
const deserializeAws_restJson1GetDocumentationVersionsCommandError = async (output, context) => {
|
|
5630
5630
|
const parsedOutput = {
|
|
5631
5631
|
...output,
|
|
5632
|
-
body: await
|
|
5632
|
+
body: await parseErrorBody(output.body, context),
|
|
5633
5633
|
};
|
|
5634
5634
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5635
5635
|
switch (errorCode) {
|
|
@@ -5720,7 +5720,7 @@ exports.deserializeAws_restJson1GetDomainNameCommand = deserializeAws_restJson1G
|
|
|
5720
5720
|
const deserializeAws_restJson1GetDomainNameCommandError = async (output, context) => {
|
|
5721
5721
|
const parsedOutput = {
|
|
5722
5722
|
...output,
|
|
5723
|
-
body: await
|
|
5723
|
+
body: await parseErrorBody(output.body, context),
|
|
5724
5724
|
};
|
|
5725
5725
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5726
5726
|
switch (errorCode) {
|
|
@@ -5766,7 +5766,7 @@ exports.deserializeAws_restJson1GetDomainNamesCommand = deserializeAws_restJson1
|
|
|
5766
5766
|
const deserializeAws_restJson1GetDomainNamesCommandError = async (output, context) => {
|
|
5767
5767
|
const parsedOutput = {
|
|
5768
5768
|
...output,
|
|
5769
|
-
body: await
|
|
5769
|
+
body: await parseErrorBody(output.body, context),
|
|
5770
5770
|
};
|
|
5771
5771
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5772
5772
|
switch (errorCode) {
|
|
@@ -5809,7 +5809,7 @@ exports.deserializeAws_restJson1GetExportCommand = deserializeAws_restJson1GetEx
|
|
|
5809
5809
|
const deserializeAws_restJson1GetExportCommandError = async (output, context) => {
|
|
5810
5810
|
const parsedOutput = {
|
|
5811
5811
|
...output,
|
|
5812
|
-
body: await
|
|
5812
|
+
body: await parseErrorBody(output.body, context),
|
|
5813
5813
|
};
|
|
5814
5814
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5815
5815
|
switch (errorCode) {
|
|
@@ -5870,7 +5870,7 @@ exports.deserializeAws_restJson1GetGatewayResponseCommand = deserializeAws_restJ
|
|
|
5870
5870
|
const deserializeAws_restJson1GetGatewayResponseCommandError = async (output, context) => {
|
|
5871
5871
|
const parsedOutput = {
|
|
5872
5872
|
...output,
|
|
5873
|
-
body: await
|
|
5873
|
+
body: await parseErrorBody(output.body, context),
|
|
5874
5874
|
};
|
|
5875
5875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5876
5876
|
switch (errorCode) {
|
|
@@ -5916,7 +5916,7 @@ exports.deserializeAws_restJson1GetGatewayResponsesCommand = deserializeAws_rest
|
|
|
5916
5916
|
const deserializeAws_restJson1GetGatewayResponsesCommandError = async (output, context) => {
|
|
5917
5917
|
const parsedOutput = {
|
|
5918
5918
|
...output,
|
|
5919
|
-
body: await
|
|
5919
|
+
body: await parseErrorBody(output.body, context),
|
|
5920
5920
|
};
|
|
5921
5921
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5922
5922
|
switch (errorCode) {
|
|
@@ -6001,7 +6001,7 @@ exports.deserializeAws_restJson1GetIntegrationCommand = deserializeAws_restJson1
|
|
|
6001
6001
|
const deserializeAws_restJson1GetIntegrationCommandError = async (output, context) => {
|
|
6002
6002
|
const parsedOutput = {
|
|
6003
6003
|
...output,
|
|
6004
|
-
body: await
|
|
6004
|
+
body: await parseErrorBody(output.body, context),
|
|
6005
6005
|
};
|
|
6006
6006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6007
6007
|
switch (errorCode) {
|
|
@@ -6056,7 +6056,7 @@ exports.deserializeAws_restJson1GetIntegrationResponseCommand = deserializeAws_r
|
|
|
6056
6056
|
const deserializeAws_restJson1GetIntegrationResponseCommandError = async (output, context) => {
|
|
6057
6057
|
const parsedOutput = {
|
|
6058
6058
|
...output,
|
|
6059
|
-
body: await
|
|
6059
|
+
body: await parseErrorBody(output.body, context),
|
|
6060
6060
|
};
|
|
6061
6061
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6062
6062
|
switch (errorCode) {
|
|
@@ -6129,7 +6129,7 @@ exports.deserializeAws_restJson1GetMethodCommand = deserializeAws_restJson1GetMe
|
|
|
6129
6129
|
const deserializeAws_restJson1GetMethodCommandError = async (output, context) => {
|
|
6130
6130
|
const parsedOutput = {
|
|
6131
6131
|
...output,
|
|
6132
|
-
body: await
|
|
6132
|
+
body: await parseErrorBody(output.body, context),
|
|
6133
6133
|
};
|
|
6134
6134
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6135
6135
|
switch (errorCode) {
|
|
@@ -6175,7 +6175,7 @@ exports.deserializeAws_restJson1GetMethodResponseCommand = deserializeAws_restJs
|
|
|
6175
6175
|
const deserializeAws_restJson1GetMethodResponseCommandError = async (output, context) => {
|
|
6176
6176
|
const parsedOutput = {
|
|
6177
6177
|
...output,
|
|
6178
|
-
body: await
|
|
6178
|
+
body: await parseErrorBody(output.body, context),
|
|
6179
6179
|
};
|
|
6180
6180
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6181
6181
|
switch (errorCode) {
|
|
@@ -6227,7 +6227,7 @@ exports.deserializeAws_restJson1GetModelCommand = deserializeAws_restJson1GetMod
|
|
|
6227
6227
|
const deserializeAws_restJson1GetModelCommandError = async (output, context) => {
|
|
6228
6228
|
const parsedOutput = {
|
|
6229
6229
|
...output,
|
|
6230
|
-
body: await
|
|
6230
|
+
body: await parseErrorBody(output.body, context),
|
|
6231
6231
|
};
|
|
6232
6232
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6233
6233
|
switch (errorCode) {
|
|
@@ -6273,7 +6273,7 @@ exports.deserializeAws_restJson1GetModelsCommand = deserializeAws_restJson1GetMo
|
|
|
6273
6273
|
const deserializeAws_restJson1GetModelsCommandError = async (output, context) => {
|
|
6274
6274
|
const parsedOutput = {
|
|
6275
6275
|
...output,
|
|
6276
|
-
body: await
|
|
6276
|
+
body: await parseErrorBody(output.body, context),
|
|
6277
6277
|
};
|
|
6278
6278
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6279
6279
|
switch (errorCode) {
|
|
@@ -6316,7 +6316,7 @@ exports.deserializeAws_restJson1GetModelTemplateCommand = deserializeAws_restJso
|
|
|
6316
6316
|
const deserializeAws_restJson1GetModelTemplateCommandError = async (output, context) => {
|
|
6317
6317
|
const parsedOutput = {
|
|
6318
6318
|
...output,
|
|
6319
|
-
body: await
|
|
6319
|
+
body: await parseErrorBody(output.body, context),
|
|
6320
6320
|
};
|
|
6321
6321
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6322
6322
|
switch (errorCode) {
|
|
@@ -6368,7 +6368,7 @@ exports.deserializeAws_restJson1GetRequestValidatorCommand = deserializeAws_rest
|
|
|
6368
6368
|
const deserializeAws_restJson1GetRequestValidatorCommandError = async (output, context) => {
|
|
6369
6369
|
const parsedOutput = {
|
|
6370
6370
|
...output,
|
|
6371
|
-
body: await
|
|
6371
|
+
body: await parseErrorBody(output.body, context),
|
|
6372
6372
|
};
|
|
6373
6373
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6374
6374
|
switch (errorCode) {
|
|
@@ -6414,7 +6414,7 @@ exports.deserializeAws_restJson1GetRequestValidatorsCommand = deserializeAws_res
|
|
|
6414
6414
|
const deserializeAws_restJson1GetRequestValidatorsCommandError = async (output, context) => {
|
|
6415
6415
|
const parsedOutput = {
|
|
6416
6416
|
...output,
|
|
6417
|
-
body: await
|
|
6417
|
+
body: await parseErrorBody(output.body, context),
|
|
6418
6418
|
};
|
|
6419
6419
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6420
6420
|
switch (errorCode) {
|
|
@@ -6469,7 +6469,7 @@ exports.deserializeAws_restJson1GetResourceCommand = deserializeAws_restJson1Get
|
|
|
6469
6469
|
const deserializeAws_restJson1GetResourceCommandError = async (output, context) => {
|
|
6470
6470
|
const parsedOutput = {
|
|
6471
6471
|
...output,
|
|
6472
|
-
body: await
|
|
6472
|
+
body: await parseErrorBody(output.body, context),
|
|
6473
6473
|
};
|
|
6474
6474
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6475
6475
|
switch (errorCode) {
|
|
@@ -6512,7 +6512,7 @@ exports.deserializeAws_restJson1GetResourcesCommand = deserializeAws_restJson1Ge
|
|
|
6512
6512
|
const deserializeAws_restJson1GetResourcesCommandError = async (output, context) => {
|
|
6513
6513
|
const parsedOutput = {
|
|
6514
6514
|
...output,
|
|
6515
|
-
body: await
|
|
6515
|
+
body: await parseErrorBody(output.body, context),
|
|
6516
6516
|
};
|
|
6517
6517
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6518
6518
|
switch (errorCode) {
|
|
@@ -6591,7 +6591,7 @@ exports.deserializeAws_restJson1GetRestApiCommand = deserializeAws_restJson1GetR
|
|
|
6591
6591
|
const deserializeAws_restJson1GetRestApiCommandError = async (output, context) => {
|
|
6592
6592
|
const parsedOutput = {
|
|
6593
6593
|
...output,
|
|
6594
|
-
body: await
|
|
6594
|
+
body: await parseErrorBody(output.body, context),
|
|
6595
6595
|
};
|
|
6596
6596
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6597
6597
|
switch (errorCode) {
|
|
@@ -6637,7 +6637,7 @@ exports.deserializeAws_restJson1GetRestApisCommand = deserializeAws_restJson1Get
|
|
|
6637
6637
|
const deserializeAws_restJson1GetRestApisCommandError = async (output, context) => {
|
|
6638
6638
|
const parsedOutput = {
|
|
6639
6639
|
...output,
|
|
6640
|
-
body: await
|
|
6640
|
+
body: await parseErrorBody(output.body, context),
|
|
6641
6641
|
};
|
|
6642
6642
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6643
6643
|
switch (errorCode) {
|
|
@@ -6680,7 +6680,7 @@ exports.deserializeAws_restJson1GetSdkCommand = deserializeAws_restJson1GetSdkCo
|
|
|
6680
6680
|
const deserializeAws_restJson1GetSdkCommandError = async (output, context) => {
|
|
6681
6681
|
const parsedOutput = {
|
|
6682
6682
|
...output,
|
|
6683
|
-
body: await
|
|
6683
|
+
body: await parseErrorBody(output.body, context),
|
|
6684
6684
|
};
|
|
6685
6685
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6686
6686
|
switch (errorCode) {
|
|
@@ -6738,7 +6738,7 @@ exports.deserializeAws_restJson1GetSdkTypeCommand = deserializeAws_restJson1GetS
|
|
|
6738
6738
|
const deserializeAws_restJson1GetSdkTypeCommandError = async (output, context) => {
|
|
6739
6739
|
const parsedOutput = {
|
|
6740
6740
|
...output,
|
|
6741
|
-
body: await
|
|
6741
|
+
body: await parseErrorBody(output.body, context),
|
|
6742
6742
|
};
|
|
6743
6743
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6744
6744
|
switch (errorCode) {
|
|
@@ -6781,7 +6781,7 @@ exports.deserializeAws_restJson1GetSdkTypesCommand = deserializeAws_restJson1Get
|
|
|
6781
6781
|
const deserializeAws_restJson1GetSdkTypesCommandError = async (output, context) => {
|
|
6782
6782
|
const parsedOutput = {
|
|
6783
6783
|
...output,
|
|
6784
|
-
body: await
|
|
6784
|
+
body: await parseErrorBody(output.body, context),
|
|
6785
6785
|
};
|
|
6786
6786
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6787
6787
|
switch (errorCode) {
|
|
@@ -6872,7 +6872,7 @@ exports.deserializeAws_restJson1GetStageCommand = deserializeAws_restJson1GetSta
|
|
|
6872
6872
|
const deserializeAws_restJson1GetStageCommandError = async (output, context) => {
|
|
6873
6873
|
const parsedOutput = {
|
|
6874
6874
|
...output,
|
|
6875
|
-
body: await
|
|
6875
|
+
body: await parseErrorBody(output.body, context),
|
|
6876
6876
|
};
|
|
6877
6877
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6878
6878
|
switch (errorCode) {
|
|
@@ -6921,7 +6921,7 @@ exports.deserializeAws_restJson1GetStagesCommand = deserializeAws_restJson1GetSt
|
|
|
6921
6921
|
const deserializeAws_restJson1GetStagesCommandError = async (output, context) => {
|
|
6922
6922
|
const parsedOutput = {
|
|
6923
6923
|
...output,
|
|
6924
|
-
body: await
|
|
6924
|
+
body: await parseErrorBody(output.body, context),
|
|
6925
6925
|
};
|
|
6926
6926
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6927
6927
|
switch (errorCode) {
|
|
@@ -6970,7 +6970,7 @@ exports.deserializeAws_restJson1GetTagsCommand = deserializeAws_restJson1GetTags
|
|
|
6970
6970
|
const deserializeAws_restJson1GetTagsCommandError = async (output, context) => {
|
|
6971
6971
|
const parsedOutput = {
|
|
6972
6972
|
...output,
|
|
6973
|
-
body: await
|
|
6973
|
+
body: await parseErrorBody(output.body, context),
|
|
6974
6974
|
};
|
|
6975
6975
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6976
6976
|
switch (errorCode) {
|
|
@@ -7025,7 +7025,7 @@ exports.deserializeAws_restJson1GetUsageCommand = deserializeAws_restJson1GetUsa
|
|
|
7025
7025
|
const deserializeAws_restJson1GetUsageCommandError = async (output, context) => {
|
|
7026
7026
|
const parsedOutput = {
|
|
7027
7027
|
...output,
|
|
7028
|
-
body: await
|
|
7028
|
+
body: await parseErrorBody(output.body, context),
|
|
7029
7029
|
};
|
|
7030
7030
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7031
7031
|
switch (errorCode) {
|
|
@@ -7089,7 +7089,7 @@ exports.deserializeAws_restJson1GetUsagePlanCommand = deserializeAws_restJson1Ge
|
|
|
7089
7089
|
const deserializeAws_restJson1GetUsagePlanCommandError = async (output, context) => {
|
|
7090
7090
|
const parsedOutput = {
|
|
7091
7091
|
...output,
|
|
7092
|
-
body: await
|
|
7092
|
+
body: await parseErrorBody(output.body, context),
|
|
7093
7093
|
};
|
|
7094
7094
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7095
7095
|
switch (errorCode) {
|
|
@@ -7141,7 +7141,7 @@ exports.deserializeAws_restJson1GetUsagePlanKeyCommand = deserializeAws_restJson
|
|
|
7141
7141
|
const deserializeAws_restJson1GetUsagePlanKeyCommandError = async (output, context) => {
|
|
7142
7142
|
const parsedOutput = {
|
|
7143
7143
|
...output,
|
|
7144
|
-
body: await
|
|
7144
|
+
body: await parseErrorBody(output.body, context),
|
|
7145
7145
|
};
|
|
7146
7146
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7147
7147
|
switch (errorCode) {
|
|
@@ -7187,7 +7187,7 @@ exports.deserializeAws_restJson1GetUsagePlanKeysCommand = deserializeAws_restJso
|
|
|
7187
7187
|
const deserializeAws_restJson1GetUsagePlanKeysCommandError = async (output, context) => {
|
|
7188
7188
|
const parsedOutput = {
|
|
7189
7189
|
...output,
|
|
7190
|
-
body: await
|
|
7190
|
+
body: await parseErrorBody(output.body, context),
|
|
7191
7191
|
};
|
|
7192
7192
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7193
7193
|
switch (errorCode) {
|
|
@@ -7233,7 +7233,7 @@ exports.deserializeAws_restJson1GetUsagePlansCommand = deserializeAws_restJson1G
|
|
|
7233
7233
|
const deserializeAws_restJson1GetUsagePlansCommandError = async (output, context) => {
|
|
7234
7234
|
const parsedOutput = {
|
|
7235
7235
|
...output,
|
|
7236
|
-
body: await
|
|
7236
|
+
body: await parseErrorBody(output.body, context),
|
|
7237
7237
|
};
|
|
7238
7238
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7239
7239
|
switch (errorCode) {
|
|
@@ -7294,7 +7294,7 @@ exports.deserializeAws_restJson1GetVpcLinkCommand = deserializeAws_restJson1GetV
|
|
|
7294
7294
|
const deserializeAws_restJson1GetVpcLinkCommandError = async (output, context) => {
|
|
7295
7295
|
const parsedOutput = {
|
|
7296
7296
|
...output,
|
|
7297
|
-
body: await
|
|
7297
|
+
body: await parseErrorBody(output.body, context),
|
|
7298
7298
|
};
|
|
7299
7299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7300
7300
|
switch (errorCode) {
|
|
@@ -7340,7 +7340,7 @@ exports.deserializeAws_restJson1GetVpcLinksCommand = deserializeAws_restJson1Get
|
|
|
7340
7340
|
const deserializeAws_restJson1GetVpcLinksCommandError = async (output, context) => {
|
|
7341
7341
|
const parsedOutput = {
|
|
7342
7342
|
...output,
|
|
7343
|
-
body: await
|
|
7343
|
+
body: await parseErrorBody(output.body, context),
|
|
7344
7344
|
};
|
|
7345
7345
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7346
7346
|
switch (errorCode) {
|
|
@@ -7386,7 +7386,7 @@ exports.deserializeAws_restJson1ImportApiKeysCommand = deserializeAws_restJson1I
|
|
|
7386
7386
|
const deserializeAws_restJson1ImportApiKeysCommandError = async (output, context) => {
|
|
7387
7387
|
const parsedOutput = {
|
|
7388
7388
|
...output,
|
|
7389
|
-
body: await
|
|
7389
|
+
body: await parseErrorBody(output.body, context),
|
|
7390
7390
|
};
|
|
7391
7391
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7392
7392
|
switch (errorCode) {
|
|
@@ -7438,7 +7438,7 @@ exports.deserializeAws_restJson1ImportDocumentationPartsCommand = deserializeAws
|
|
|
7438
7438
|
const deserializeAws_restJson1ImportDocumentationPartsCommandError = async (output, context) => {
|
|
7439
7439
|
const parsedOutput = {
|
|
7440
7440
|
...output,
|
|
7441
|
-
body: await
|
|
7441
|
+
body: await parseErrorBody(output.body, context),
|
|
7442
7442
|
};
|
|
7443
7443
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7444
7444
|
switch (errorCode) {
|
|
@@ -7523,7 +7523,7 @@ exports.deserializeAws_restJson1ImportRestApiCommand = deserializeAws_restJson1I
|
|
|
7523
7523
|
const deserializeAws_restJson1ImportRestApiCommandError = async (output, context) => {
|
|
7524
7524
|
const parsedOutput = {
|
|
7525
7525
|
...output,
|
|
7526
|
-
body: await
|
|
7526
|
+
body: await parseErrorBody(output.body, context),
|
|
7527
7527
|
};
|
|
7528
7528
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7529
7529
|
switch (errorCode) {
|
|
@@ -7584,7 +7584,7 @@ exports.deserializeAws_restJson1PutGatewayResponseCommand = deserializeAws_restJ
|
|
|
7584
7584
|
const deserializeAws_restJson1PutGatewayResponseCommandError = async (output, context) => {
|
|
7585
7585
|
const parsedOutput = {
|
|
7586
7586
|
...output,
|
|
7587
|
-
body: await
|
|
7587
|
+
body: await parseErrorBody(output.body, context),
|
|
7588
7588
|
};
|
|
7589
7589
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7590
7590
|
switch (errorCode) {
|
|
@@ -7675,7 +7675,7 @@ exports.deserializeAws_restJson1PutIntegrationCommand = deserializeAws_restJson1
|
|
|
7675
7675
|
const deserializeAws_restJson1PutIntegrationCommandError = async (output, context) => {
|
|
7676
7676
|
const parsedOutput = {
|
|
7677
7677
|
...output,
|
|
7678
|
-
body: await
|
|
7678
|
+
body: await parseErrorBody(output.body, context),
|
|
7679
7679
|
};
|
|
7680
7680
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7681
7681
|
switch (errorCode) {
|
|
@@ -7736,7 +7736,7 @@ exports.deserializeAws_restJson1PutIntegrationResponseCommand = deserializeAws_r
|
|
|
7736
7736
|
const deserializeAws_restJson1PutIntegrationResponseCommandError = async (output, context) => {
|
|
7737
7737
|
const parsedOutput = {
|
|
7738
7738
|
...output,
|
|
7739
|
-
body: await
|
|
7739
|
+
body: await parseErrorBody(output.body, context),
|
|
7740
7740
|
};
|
|
7741
7741
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7742
7742
|
switch (errorCode) {
|
|
@@ -7815,7 +7815,7 @@ exports.deserializeAws_restJson1PutMethodCommand = deserializeAws_restJson1PutMe
|
|
|
7815
7815
|
const deserializeAws_restJson1PutMethodCommandError = async (output, context) => {
|
|
7816
7816
|
const parsedOutput = {
|
|
7817
7817
|
...output,
|
|
7818
|
-
body: await
|
|
7818
|
+
body: await parseErrorBody(output.body, context),
|
|
7819
7819
|
};
|
|
7820
7820
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7821
7821
|
switch (errorCode) {
|
|
@@ -7870,7 +7870,7 @@ exports.deserializeAws_restJson1PutMethodResponseCommand = deserializeAws_restJs
|
|
|
7870
7870
|
const deserializeAws_restJson1PutMethodResponseCommandError = async (output, context) => {
|
|
7871
7871
|
const parsedOutput = {
|
|
7872
7872
|
...output,
|
|
7873
|
-
body: await
|
|
7873
|
+
body: await parseErrorBody(output.body, context),
|
|
7874
7874
|
};
|
|
7875
7875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7876
7876
|
switch (errorCode) {
|
|
@@ -7955,7 +7955,7 @@ exports.deserializeAws_restJson1PutRestApiCommand = deserializeAws_restJson1PutR
|
|
|
7955
7955
|
const deserializeAws_restJson1PutRestApiCommandError = async (output, context) => {
|
|
7956
7956
|
const parsedOutput = {
|
|
7957
7957
|
...output,
|
|
7958
|
-
body: await
|
|
7958
|
+
body: await parseErrorBody(output.body, context),
|
|
7959
7959
|
};
|
|
7960
7960
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7961
7961
|
switch (errorCode) {
|
|
@@ -8001,7 +8001,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
8001
8001
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
8002
8002
|
const parsedOutput = {
|
|
8003
8003
|
...output,
|
|
8004
|
-
body: await
|
|
8004
|
+
body: await parseErrorBody(output.body, context),
|
|
8005
8005
|
};
|
|
8006
8006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8007
8007
|
switch (errorCode) {
|
|
@@ -8068,7 +8068,7 @@ exports.deserializeAws_restJson1TestInvokeAuthorizerCommand = deserializeAws_res
|
|
|
8068
8068
|
const deserializeAws_restJson1TestInvokeAuthorizerCommandError = async (output, context) => {
|
|
8069
8069
|
const parsedOutput = {
|
|
8070
8070
|
...output,
|
|
8071
|
-
body: await
|
|
8071
|
+
body: await parseErrorBody(output.body, context),
|
|
8072
8072
|
};
|
|
8073
8073
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8074
8074
|
switch (errorCode) {
|
|
@@ -8126,7 +8126,7 @@ exports.deserializeAws_restJson1TestInvokeMethodCommand = deserializeAws_restJso
|
|
|
8126
8126
|
const deserializeAws_restJson1TestInvokeMethodCommandError = async (output, context) => {
|
|
8127
8127
|
const parsedOutput = {
|
|
8128
8128
|
...output,
|
|
8129
|
-
body: await
|
|
8129
|
+
body: await parseErrorBody(output.body, context),
|
|
8130
8130
|
};
|
|
8131
8131
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8132
8132
|
switch (errorCode) {
|
|
@@ -8166,7 +8166,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
8166
8166
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
8167
8167
|
const parsedOutput = {
|
|
8168
8168
|
...output,
|
|
8169
|
-
body: await
|
|
8169
|
+
body: await parseErrorBody(output.body, context),
|
|
8170
8170
|
};
|
|
8171
8171
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8172
8172
|
switch (errorCode) {
|
|
@@ -8224,7 +8224,7 @@ exports.deserializeAws_restJson1UpdateAccountCommand = deserializeAws_restJson1U
|
|
|
8224
8224
|
const deserializeAws_restJson1UpdateAccountCommandError = async (output, context) => {
|
|
8225
8225
|
const parsedOutput = {
|
|
8226
8226
|
...output,
|
|
8227
|
-
body: await
|
|
8227
|
+
body: await parseErrorBody(output.body, context),
|
|
8228
8228
|
};
|
|
8229
8229
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8230
8230
|
switch (errorCode) {
|
|
@@ -8300,7 +8300,7 @@ exports.deserializeAws_restJson1UpdateApiKeyCommand = deserializeAws_restJson1Up
|
|
|
8300
8300
|
const deserializeAws_restJson1UpdateApiKeyCommandError = async (output, context) => {
|
|
8301
8301
|
const parsedOutput = {
|
|
8302
8302
|
...output,
|
|
8303
|
-
body: await
|
|
8303
|
+
body: await parseErrorBody(output.body, context),
|
|
8304
8304
|
};
|
|
8305
8305
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8306
8306
|
switch (errorCode) {
|
|
@@ -8376,7 +8376,7 @@ exports.deserializeAws_restJson1UpdateAuthorizerCommand = deserializeAws_restJso
|
|
|
8376
8376
|
const deserializeAws_restJson1UpdateAuthorizerCommandError = async (output, context) => {
|
|
8377
8377
|
const parsedOutput = {
|
|
8378
8378
|
...output,
|
|
8379
|
-
body: await
|
|
8379
|
+
body: await parseErrorBody(output.body, context),
|
|
8380
8380
|
};
|
|
8381
8381
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8382
8382
|
switch (errorCode) {
|
|
@@ -8431,7 +8431,7 @@ exports.deserializeAws_restJson1UpdateBasePathMappingCommand = deserializeAws_re
|
|
|
8431
8431
|
const deserializeAws_restJson1UpdateBasePathMappingCommandError = async (output, context) => {
|
|
8432
8432
|
const parsedOutput = {
|
|
8433
8433
|
...output,
|
|
8434
|
-
body: await
|
|
8434
|
+
body: await parseErrorBody(output.body, context),
|
|
8435
8435
|
};
|
|
8436
8436
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8437
8437
|
switch (errorCode) {
|
|
@@ -8495,7 +8495,7 @@ exports.deserializeAws_restJson1UpdateClientCertificateCommand = deserializeAws_
|
|
|
8495
8495
|
const deserializeAws_restJson1UpdateClientCertificateCommandError = async (output, context) => {
|
|
8496
8496
|
const parsedOutput = {
|
|
8497
8497
|
...output,
|
|
8498
|
-
body: await
|
|
8498
|
+
body: await parseErrorBody(output.body, context),
|
|
8499
8499
|
};
|
|
8500
8500
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8501
8501
|
switch (errorCode) {
|
|
@@ -8553,7 +8553,7 @@ exports.deserializeAws_restJson1UpdateDeploymentCommand = deserializeAws_restJso
|
|
|
8553
8553
|
const deserializeAws_restJson1UpdateDeploymentCommandError = async (output, context) => {
|
|
8554
8554
|
const parsedOutput = {
|
|
8555
8555
|
...output,
|
|
8556
|
-
body: await
|
|
8556
|
+
body: await parseErrorBody(output.body, context),
|
|
8557
8557
|
};
|
|
8558
8558
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8559
8559
|
switch (errorCode) {
|
|
@@ -8611,7 +8611,7 @@ exports.deserializeAws_restJson1UpdateDocumentationPartCommand = deserializeAws_
|
|
|
8611
8611
|
const deserializeAws_restJson1UpdateDocumentationPartCommandError = async (output, context) => {
|
|
8612
8612
|
const parsedOutput = {
|
|
8613
8613
|
...output,
|
|
8614
|
-
body: await
|
|
8614
|
+
body: await parseErrorBody(output.body, context),
|
|
8615
8615
|
};
|
|
8616
8616
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8617
8617
|
switch (errorCode) {
|
|
@@ -8666,7 +8666,7 @@ exports.deserializeAws_restJson1UpdateDocumentationVersionCommand = deserializeA
|
|
|
8666
8666
|
const deserializeAws_restJson1UpdateDocumentationVersionCommandError = async (output, context) => {
|
|
8667
8667
|
const parsedOutput = {
|
|
8668
8668
|
...output,
|
|
8669
|
-
body: await
|
|
8669
|
+
body: await parseErrorBody(output.body, context),
|
|
8670
8670
|
};
|
|
8671
8671
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8672
8672
|
switch (errorCode) {
|
|
@@ -8763,7 +8763,7 @@ exports.deserializeAws_restJson1UpdateDomainNameCommand = deserializeAws_restJso
|
|
|
8763
8763
|
const deserializeAws_restJson1UpdateDomainNameCommandError = async (output, context) => {
|
|
8764
8764
|
const parsedOutput = {
|
|
8765
8765
|
...output,
|
|
8766
|
-
body: await
|
|
8766
|
+
body: await parseErrorBody(output.body, context),
|
|
8767
8767
|
};
|
|
8768
8768
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8769
8769
|
switch (errorCode) {
|
|
@@ -8824,7 +8824,7 @@ exports.deserializeAws_restJson1UpdateGatewayResponseCommand = deserializeAws_re
|
|
|
8824
8824
|
const deserializeAws_restJson1UpdateGatewayResponseCommandError = async (output, context) => {
|
|
8825
8825
|
const parsedOutput = {
|
|
8826
8826
|
...output,
|
|
8827
|
-
body: await
|
|
8827
|
+
body: await parseErrorBody(output.body, context),
|
|
8828
8828
|
};
|
|
8829
8829
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8830
8830
|
switch (errorCode) {
|
|
@@ -8915,7 +8915,7 @@ exports.deserializeAws_restJson1UpdateIntegrationCommand = deserializeAws_restJs
|
|
|
8915
8915
|
const deserializeAws_restJson1UpdateIntegrationCommandError = async (output, context) => {
|
|
8916
8916
|
const parsedOutput = {
|
|
8917
8917
|
...output,
|
|
8918
|
-
body: await
|
|
8918
|
+
body: await parseErrorBody(output.body, context),
|
|
8919
8919
|
};
|
|
8920
8920
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8921
8921
|
switch (errorCode) {
|
|
@@ -8976,7 +8976,7 @@ exports.deserializeAws_restJson1UpdateIntegrationResponseCommand = deserializeAw
|
|
|
8976
8976
|
const deserializeAws_restJson1UpdateIntegrationResponseCommandError = async (output, context) => {
|
|
8977
8977
|
const parsedOutput = {
|
|
8978
8978
|
...output,
|
|
8979
|
-
body: await
|
|
8979
|
+
body: await parseErrorBody(output.body, context),
|
|
8980
8980
|
};
|
|
8981
8981
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8982
8982
|
switch (errorCode) {
|
|
@@ -9055,7 +9055,7 @@ exports.deserializeAws_restJson1UpdateMethodCommand = deserializeAws_restJson1Up
|
|
|
9055
9055
|
const deserializeAws_restJson1UpdateMethodCommandError = async (output, context) => {
|
|
9056
9056
|
const parsedOutput = {
|
|
9057
9057
|
...output,
|
|
9058
|
-
body: await
|
|
9058
|
+
body: await parseErrorBody(output.body, context),
|
|
9059
9059
|
};
|
|
9060
9060
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9061
9061
|
switch (errorCode) {
|
|
@@ -9107,7 +9107,7 @@ exports.deserializeAws_restJson1UpdateMethodResponseCommand = deserializeAws_res
|
|
|
9107
9107
|
const deserializeAws_restJson1UpdateMethodResponseCommandError = async (output, context) => {
|
|
9108
9108
|
const parsedOutput = {
|
|
9109
9109
|
...output,
|
|
9110
|
-
body: await
|
|
9110
|
+
body: await parseErrorBody(output.body, context),
|
|
9111
9111
|
};
|
|
9112
9112
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9113
9113
|
switch (errorCode) {
|
|
@@ -9168,7 +9168,7 @@ exports.deserializeAws_restJson1UpdateModelCommand = deserializeAws_restJson1Upd
|
|
|
9168
9168
|
const deserializeAws_restJson1UpdateModelCommandError = async (output, context) => {
|
|
9169
9169
|
const parsedOutput = {
|
|
9170
9170
|
...output,
|
|
9171
|
-
body: await
|
|
9171
|
+
body: await parseErrorBody(output.body, context),
|
|
9172
9172
|
};
|
|
9173
9173
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9174
9174
|
switch (errorCode) {
|
|
@@ -9226,7 +9226,7 @@ exports.deserializeAws_restJson1UpdateRequestValidatorCommand = deserializeAws_r
|
|
|
9226
9226
|
const deserializeAws_restJson1UpdateRequestValidatorCommandError = async (output, context) => {
|
|
9227
9227
|
const parsedOutput = {
|
|
9228
9228
|
...output,
|
|
9229
|
-
body: await
|
|
9229
|
+
body: await parseErrorBody(output.body, context),
|
|
9230
9230
|
};
|
|
9231
9231
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9232
9232
|
switch (errorCode) {
|
|
@@ -9287,7 +9287,7 @@ exports.deserializeAws_restJson1UpdateResourceCommand = deserializeAws_restJson1
|
|
|
9287
9287
|
const deserializeAws_restJson1UpdateResourceCommandError = async (output, context) => {
|
|
9288
9288
|
const parsedOutput = {
|
|
9289
9289
|
...output,
|
|
9290
|
-
body: await
|
|
9290
|
+
body: await parseErrorBody(output.body, context),
|
|
9291
9291
|
};
|
|
9292
9292
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9293
9293
|
switch (errorCode) {
|
|
@@ -9369,7 +9369,7 @@ exports.deserializeAws_restJson1UpdateRestApiCommand = deserializeAws_restJson1U
|
|
|
9369
9369
|
const deserializeAws_restJson1UpdateRestApiCommandError = async (output, context) => {
|
|
9370
9370
|
const parsedOutput = {
|
|
9371
9371
|
...output,
|
|
9372
|
-
body: await
|
|
9372
|
+
body: await parseErrorBody(output.body, context),
|
|
9373
9373
|
};
|
|
9374
9374
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9375
9375
|
switch (errorCode) {
|
|
@@ -9466,7 +9466,7 @@ exports.deserializeAws_restJson1UpdateStageCommand = deserializeAws_restJson1Upd
|
|
|
9466
9466
|
const deserializeAws_restJson1UpdateStageCommandError = async (output, context) => {
|
|
9467
9467
|
const parsedOutput = {
|
|
9468
9468
|
...output,
|
|
9469
|
-
body: await
|
|
9469
|
+
body: await parseErrorBody(output.body, context),
|
|
9470
9470
|
};
|
|
9471
9471
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9472
9472
|
switch (errorCode) {
|
|
@@ -9527,7 +9527,7 @@ exports.deserializeAws_restJson1UpdateUsageCommand = deserializeAws_restJson1Upd
|
|
|
9527
9527
|
const deserializeAws_restJson1UpdateUsageCommandError = async (output, context) => {
|
|
9528
9528
|
const parsedOutput = {
|
|
9529
9529
|
...output,
|
|
9530
|
-
body: await
|
|
9530
|
+
body: await parseErrorBody(output.body, context),
|
|
9531
9531
|
};
|
|
9532
9532
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9533
9533
|
switch (errorCode) {
|
|
@@ -9597,7 +9597,7 @@ exports.deserializeAws_restJson1UpdateUsagePlanCommand = deserializeAws_restJson
|
|
|
9597
9597
|
const deserializeAws_restJson1UpdateUsagePlanCommandError = async (output, context) => {
|
|
9598
9598
|
const parsedOutput = {
|
|
9599
9599
|
...output,
|
|
9600
|
-
body: await
|
|
9600
|
+
body: await parseErrorBody(output.body, context),
|
|
9601
9601
|
};
|
|
9602
9602
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9603
9603
|
switch (errorCode) {
|
|
@@ -9664,7 +9664,7 @@ exports.deserializeAws_restJson1UpdateVpcLinkCommand = deserializeAws_restJson1U
|
|
|
9664
9664
|
const deserializeAws_restJson1UpdateVpcLinkCommandError = async (output, context) => {
|
|
9665
9665
|
const parsedOutput = {
|
|
9666
9666
|
...output,
|
|
9667
|
-
body: await
|
|
9667
|
+
body: await parseErrorBody(output.body, context),
|
|
9668
9668
|
};
|
|
9669
9669
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9670
9670
|
switch (errorCode) {
|
|
@@ -10793,6 +10793,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
10793
10793
|
}
|
|
10794
10794
|
return {};
|
|
10795
10795
|
});
|
|
10796
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
10797
|
+
var _a;
|
|
10798
|
+
const value = await parseBody(errorBody, context);
|
|
10799
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
10800
|
+
return value;
|
|
10801
|
+
};
|
|
10796
10802
|
const loadRestJsonErrorCode = (output, data) => {
|
|
10797
10803
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
10798
10804
|
const sanitizeErrorCode = (rawValue) => {
|