@aws-sdk/client-cloudfront 3.312.0 → 3.315.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/protocols/Aws_restXml.js +417 -523
- package/dist-es/protocols/Aws_restXml.js +108 -214
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XmlNode as __XmlNode } from "@aws-sdk/xml-builder";
|
|
4
4
|
import { XMLParser } from "fast-xml-parser";
|
|
5
5
|
import { CloudFrontServiceException as __BaseException } from "../models/CloudFrontServiceException";
|
|
@@ -2462,10 +2462,9 @@ const de_AssociateAliasCommandError = async (output, context) => {
|
|
|
2462
2462
|
throw await de_TooManyDistributionCNAMEsRes(parsedOutput, context);
|
|
2463
2463
|
default:
|
|
2464
2464
|
const parsedBody = parsedOutput.body;
|
|
2465
|
-
throwDefaultError({
|
|
2465
|
+
return throwDefaultError({
|
|
2466
2466
|
output,
|
|
2467
2467
|
parsedBody: parsedBody.Error,
|
|
2468
|
-
exceptionCtor: __BaseException,
|
|
2469
2468
|
errorCode,
|
|
2470
2469
|
});
|
|
2471
2470
|
}
|
|
@@ -2681,10 +2680,9 @@ const de_CopyDistributionCommandError = async (output, context) => {
|
|
|
2681
2680
|
throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
|
|
2682
2681
|
default:
|
|
2683
2682
|
const parsedBody = parsedOutput.body;
|
|
2684
|
-
throwDefaultError({
|
|
2683
|
+
return throwDefaultError({
|
|
2685
2684
|
output,
|
|
2686
2685
|
parsedBody: parsedBody.Error,
|
|
2687
|
-
exceptionCtor: __BaseException,
|
|
2688
2686
|
errorCode,
|
|
2689
2687
|
});
|
|
2690
2688
|
}
|
|
@@ -2735,10 +2733,9 @@ const de_CreateCachePolicyCommandError = async (output, context) => {
|
|
|
2735
2733
|
throw await de_TooManyQueryStringsInCachePolicyRes(parsedOutput, context);
|
|
2736
2734
|
default:
|
|
2737
2735
|
const parsedBody = parsedOutput.body;
|
|
2738
|
-
throwDefaultError({
|
|
2736
|
+
return throwDefaultError({
|
|
2739
2737
|
output,
|
|
2740
2738
|
parsedBody: parsedBody.Error,
|
|
2741
|
-
exceptionCtor: __BaseException,
|
|
2742
2739
|
errorCode,
|
|
2743
2740
|
});
|
|
2744
2741
|
}
|
|
@@ -2780,10 +2777,9 @@ const de_CreateCloudFrontOriginAccessIdentityCommandError = async (output, conte
|
|
|
2780
2777
|
throw await de_TooManyCloudFrontOriginAccessIdentitiesRes(parsedOutput, context);
|
|
2781
2778
|
default:
|
|
2782
2779
|
const parsedBody = parsedOutput.body;
|
|
2783
|
-
throwDefaultError({
|
|
2780
|
+
return throwDefaultError({
|
|
2784
2781
|
output,
|
|
2785
2782
|
parsedBody: parsedBody.Error,
|
|
2786
|
-
exceptionCtor: __BaseException,
|
|
2787
2783
|
errorCode,
|
|
2788
2784
|
});
|
|
2789
2785
|
}
|
|
@@ -2828,10 +2824,9 @@ const de_CreateContinuousDeploymentPolicyCommandError = async (output, context)
|
|
|
2828
2824
|
throw await de_TooManyContinuousDeploymentPoliciesRes(parsedOutput, context);
|
|
2829
2825
|
default:
|
|
2830
2826
|
const parsedBody = parsedOutput.body;
|
|
2831
|
-
throwDefaultError({
|
|
2827
|
+
return throwDefaultError({
|
|
2832
2828
|
output,
|
|
2833
2829
|
parsedBody: parsedBody.Error,
|
|
2834
|
-
exceptionCtor: __BaseException,
|
|
2835
2830
|
errorCode,
|
|
2836
2831
|
});
|
|
2837
2832
|
}
|
|
@@ -3053,10 +3048,9 @@ const de_CreateDistributionCommandError = async (output, context) => {
|
|
|
3053
3048
|
throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
|
|
3054
3049
|
default:
|
|
3055
3050
|
const parsedBody = parsedOutput.body;
|
|
3056
|
-
throwDefaultError({
|
|
3051
|
+
return throwDefaultError({
|
|
3057
3052
|
output,
|
|
3058
3053
|
parsedBody: parsedBody.Error,
|
|
3059
|
-
exceptionCtor: __BaseException,
|
|
3060
3054
|
errorCode,
|
|
3061
3055
|
});
|
|
3062
3056
|
}
|
|
@@ -3275,10 +3269,9 @@ const de_CreateDistributionWithTagsCommandError = async (output, context) => {
|
|
|
3275
3269
|
throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
|
|
3276
3270
|
default:
|
|
3277
3271
|
const parsedBody = parsedOutput.body;
|
|
3278
|
-
throwDefaultError({
|
|
3272
|
+
return throwDefaultError({
|
|
3279
3273
|
output,
|
|
3280
3274
|
parsedBody: parsedBody.Error,
|
|
3281
|
-
exceptionCtor: __BaseException,
|
|
3282
3275
|
errorCode,
|
|
3283
3276
|
});
|
|
3284
3277
|
}
|
|
@@ -3329,10 +3322,9 @@ const de_CreateFieldLevelEncryptionConfigCommandError = async (output, context)
|
|
|
3329
3322
|
throw await de_TooManyFieldLevelEncryptionQueryArgProfilesRes(parsedOutput, context);
|
|
3330
3323
|
default:
|
|
3331
3324
|
const parsedBody = parsedOutput.body;
|
|
3332
|
-
throwDefaultError({
|
|
3325
|
+
return throwDefaultError({
|
|
3333
3326
|
output,
|
|
3334
3327
|
parsedBody: parsedBody.Error,
|
|
3335
|
-
exceptionCtor: __BaseException,
|
|
3336
3328
|
errorCode,
|
|
3337
3329
|
});
|
|
3338
3330
|
}
|
|
@@ -3383,10 +3375,9 @@ const de_CreateFieldLevelEncryptionProfileCommandError = async (output, context)
|
|
|
3383
3375
|
throw await de_TooManyFieldLevelEncryptionProfilesRes(parsedOutput, context);
|
|
3384
3376
|
default:
|
|
3385
3377
|
const parsedBody = parsedOutput.body;
|
|
3386
|
-
throwDefaultError({
|
|
3378
|
+
return throwDefaultError({
|
|
3387
3379
|
output,
|
|
3388
3380
|
parsedBody: parsedBody.Error,
|
|
3389
|
-
exceptionCtor: __BaseException,
|
|
3390
3381
|
errorCode,
|
|
3391
3382
|
});
|
|
3392
3383
|
}
|
|
@@ -3428,10 +3419,9 @@ const de_CreateFunctionCommandError = async (output, context) => {
|
|
|
3428
3419
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
3429
3420
|
default:
|
|
3430
3421
|
const parsedBody = parsedOutput.body;
|
|
3431
|
-
throwDefaultError({
|
|
3422
|
+
return throwDefaultError({
|
|
3432
3423
|
output,
|
|
3433
3424
|
parsedBody: parsedBody.Error,
|
|
3434
|
-
exceptionCtor: __BaseException,
|
|
3435
3425
|
errorCode,
|
|
3436
3426
|
});
|
|
3437
3427
|
}
|
|
@@ -3478,10 +3468,9 @@ const de_CreateInvalidationCommandError = async (output, context) => {
|
|
|
3478
3468
|
throw await de_TooManyInvalidationsInProgressRes(parsedOutput, context);
|
|
3479
3469
|
default:
|
|
3480
3470
|
const parsedBody = parsedOutput.body;
|
|
3481
|
-
throwDefaultError({
|
|
3471
|
+
return throwDefaultError({
|
|
3482
3472
|
output,
|
|
3483
3473
|
parsedBody: parsedBody.Error,
|
|
3484
|
-
exceptionCtor: __BaseException,
|
|
3485
3474
|
errorCode,
|
|
3486
3475
|
});
|
|
3487
3476
|
}
|
|
@@ -3520,10 +3509,9 @@ const de_CreateKeyGroupCommandError = async (output, context) => {
|
|
|
3520
3509
|
throw await de_TooManyPublicKeysInKeyGroupRes(parsedOutput, context);
|
|
3521
3510
|
default:
|
|
3522
3511
|
const parsedBody = parsedOutput.body;
|
|
3523
|
-
throwDefaultError({
|
|
3512
|
+
return throwDefaultError({
|
|
3524
3513
|
output,
|
|
3525
3514
|
parsedBody: parsedBody.Error,
|
|
3526
|
-
exceptionCtor: __BaseException,
|
|
3527
3515
|
errorCode,
|
|
3528
3516
|
});
|
|
3529
3517
|
}
|
|
@@ -3560,10 +3548,9 @@ const de_CreateMonitoringSubscriptionCommandError = async (output, context) => {
|
|
|
3560
3548
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
3561
3549
|
default:
|
|
3562
3550
|
const parsedBody = parsedOutput.body;
|
|
3563
|
-
throwDefaultError({
|
|
3551
|
+
return throwDefaultError({
|
|
3564
3552
|
output,
|
|
3565
3553
|
parsedBody: parsedBody.Error,
|
|
3566
|
-
exceptionCtor: __BaseException,
|
|
3567
3554
|
errorCode,
|
|
3568
3555
|
});
|
|
3569
3556
|
}
|
|
@@ -3599,10 +3586,9 @@ const de_CreateOriginAccessControlCommandError = async (output, context) => {
|
|
|
3599
3586
|
throw await de_TooManyOriginAccessControlsRes(parsedOutput, context);
|
|
3600
3587
|
default:
|
|
3601
3588
|
const parsedBody = parsedOutput.body;
|
|
3602
|
-
throwDefaultError({
|
|
3589
|
+
return throwDefaultError({
|
|
3603
3590
|
output,
|
|
3604
3591
|
parsedBody: parsedBody.Error,
|
|
3605
|
-
exceptionCtor: __BaseException,
|
|
3606
3592
|
errorCode,
|
|
3607
3593
|
});
|
|
3608
3594
|
}
|
|
@@ -3653,10 +3639,9 @@ const de_CreateOriginRequestPolicyCommandError = async (output, context) => {
|
|
|
3653
3639
|
throw await de_TooManyQueryStringsInOriginRequestPolicyRes(parsedOutput, context);
|
|
3654
3640
|
default:
|
|
3655
3641
|
const parsedBody = parsedOutput.body;
|
|
3656
|
-
throwDefaultError({
|
|
3642
|
+
return throwDefaultError({
|
|
3657
3643
|
output,
|
|
3658
3644
|
parsedBody: parsedBody.Error,
|
|
3659
|
-
exceptionCtor: __BaseException,
|
|
3660
3645
|
errorCode,
|
|
3661
3646
|
});
|
|
3662
3647
|
}
|
|
@@ -3692,10 +3677,9 @@ const de_CreatePublicKeyCommandError = async (output, context) => {
|
|
|
3692
3677
|
throw await de_TooManyPublicKeysRes(parsedOutput, context);
|
|
3693
3678
|
default:
|
|
3694
3679
|
const parsedBody = parsedOutput.body;
|
|
3695
|
-
throwDefaultError({
|
|
3680
|
+
return throwDefaultError({
|
|
3696
3681
|
output,
|
|
3697
3682
|
parsedBody: parsedBody.Error,
|
|
3698
|
-
exceptionCtor: __BaseException,
|
|
3699
3683
|
errorCode,
|
|
3700
3684
|
});
|
|
3701
3685
|
}
|
|
@@ -3734,10 +3718,9 @@ const de_CreateRealtimeLogConfigCommandError = async (output, context) => {
|
|
|
3734
3718
|
throw await de_TooManyRealtimeLogConfigsRes(parsedOutput, context);
|
|
3735
3719
|
default:
|
|
3736
3720
|
const parsedBody = parsedOutput.body;
|
|
3737
|
-
throwDefaultError({
|
|
3721
|
+
return throwDefaultError({
|
|
3738
3722
|
output,
|
|
3739
3723
|
parsedBody: parsedBody.Error,
|
|
3740
|
-
exceptionCtor: __BaseException,
|
|
3741
3724
|
errorCode,
|
|
3742
3725
|
});
|
|
3743
3726
|
}
|
|
@@ -3788,10 +3771,9 @@ const de_CreateResponseHeadersPolicyCommandError = async (output, context) => {
|
|
|
3788
3771
|
throw await de_TooManyResponseHeadersPoliciesRes(parsedOutput, context);
|
|
3789
3772
|
default:
|
|
3790
3773
|
const parsedBody = parsedOutput.body;
|
|
3791
|
-
throwDefaultError({
|
|
3774
|
+
return throwDefaultError({
|
|
3792
3775
|
output,
|
|
3793
3776
|
parsedBody: parsedBody.Error,
|
|
3794
|
-
exceptionCtor: __BaseException,
|
|
3795
3777
|
errorCode,
|
|
3796
3778
|
});
|
|
3797
3779
|
}
|
|
@@ -3857,10 +3839,9 @@ const de_CreateStreamingDistributionCommandError = async (output, context) => {
|
|
|
3857
3839
|
throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
|
|
3858
3840
|
default:
|
|
3859
3841
|
const parsedBody = parsedOutput.body;
|
|
3860
|
-
throwDefaultError({
|
|
3842
|
+
return throwDefaultError({
|
|
3861
3843
|
output,
|
|
3862
3844
|
parsedBody: parsedBody.Error,
|
|
3863
|
-
exceptionCtor: __BaseException,
|
|
3864
3845
|
errorCode,
|
|
3865
3846
|
});
|
|
3866
3847
|
}
|
|
@@ -3929,10 +3910,9 @@ const de_CreateStreamingDistributionWithTagsCommandError = async (output, contex
|
|
|
3929
3910
|
throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
|
|
3930
3911
|
default:
|
|
3931
3912
|
const parsedBody = parsedOutput.body;
|
|
3932
|
-
throwDefaultError({
|
|
3913
|
+
return throwDefaultError({
|
|
3933
3914
|
output,
|
|
3934
3915
|
parsedBody: parsedBody.Error,
|
|
3935
|
-
exceptionCtor: __BaseException,
|
|
3936
3916
|
errorCode,
|
|
3937
3917
|
});
|
|
3938
3918
|
}
|
|
@@ -3974,10 +3954,9 @@ const de_DeleteCachePolicyCommandError = async (output, context) => {
|
|
|
3974
3954
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
3975
3955
|
default:
|
|
3976
3956
|
const parsedBody = parsedOutput.body;
|
|
3977
|
-
throwDefaultError({
|
|
3957
|
+
return throwDefaultError({
|
|
3978
3958
|
output,
|
|
3979
3959
|
parsedBody: parsedBody.Error,
|
|
3980
|
-
exceptionCtor: __BaseException,
|
|
3981
3960
|
errorCode,
|
|
3982
3961
|
});
|
|
3983
3962
|
}
|
|
@@ -4016,10 +3995,9 @@ const de_DeleteCloudFrontOriginAccessIdentityCommandError = async (output, conte
|
|
|
4016
3995
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
4017
3996
|
default:
|
|
4018
3997
|
const parsedBody = parsedOutput.body;
|
|
4019
|
-
throwDefaultError({
|
|
3998
|
+
return throwDefaultError({
|
|
4020
3999
|
output,
|
|
4021
4000
|
parsedBody: parsedBody.Error,
|
|
4022
|
-
exceptionCtor: __BaseException,
|
|
4023
4001
|
errorCode,
|
|
4024
4002
|
});
|
|
4025
4003
|
}
|
|
@@ -4061,10 +4039,9 @@ const de_DeleteContinuousDeploymentPolicyCommandError = async (output, context)
|
|
|
4061
4039
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
4062
4040
|
default:
|
|
4063
4041
|
const parsedBody = parsedOutput.body;
|
|
4064
|
-
throwDefaultError({
|
|
4042
|
+
return throwDefaultError({
|
|
4065
4043
|
output,
|
|
4066
4044
|
parsedBody: parsedBody.Error,
|
|
4067
|
-
exceptionCtor: __BaseException,
|
|
4068
4045
|
errorCode,
|
|
4069
4046
|
});
|
|
4070
4047
|
}
|
|
@@ -4103,10 +4080,9 @@ const de_DeleteDistributionCommandError = async (output, context) => {
|
|
|
4103
4080
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
4104
4081
|
default:
|
|
4105
4082
|
const parsedBody = parsedOutput.body;
|
|
4106
|
-
throwDefaultError({
|
|
4083
|
+
return throwDefaultError({
|
|
4107
4084
|
output,
|
|
4108
4085
|
parsedBody: parsedBody.Error,
|
|
4109
|
-
exceptionCtor: __BaseException,
|
|
4110
4086
|
errorCode,
|
|
4111
4087
|
});
|
|
4112
4088
|
}
|
|
@@ -4145,10 +4121,9 @@ const de_DeleteFieldLevelEncryptionConfigCommandError = async (output, context)
|
|
|
4145
4121
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
4146
4122
|
default:
|
|
4147
4123
|
const parsedBody = parsedOutput.body;
|
|
4148
|
-
throwDefaultError({
|
|
4124
|
+
return throwDefaultError({
|
|
4149
4125
|
output,
|
|
4150
4126
|
parsedBody: parsedBody.Error,
|
|
4151
|
-
exceptionCtor: __BaseException,
|
|
4152
4127
|
errorCode,
|
|
4153
4128
|
});
|
|
4154
4129
|
}
|
|
@@ -4187,10 +4162,9 @@ const de_DeleteFieldLevelEncryptionProfileCommandError = async (output, context)
|
|
|
4187
4162
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
4188
4163
|
default:
|
|
4189
4164
|
const parsedBody = parsedOutput.body;
|
|
4190
|
-
throwDefaultError({
|
|
4165
|
+
return throwDefaultError({
|
|
4191
4166
|
output,
|
|
4192
4167
|
parsedBody: parsedBody.Error,
|
|
4193
|
-
exceptionCtor: __BaseException,
|
|
4194
4168
|
errorCode,
|
|
4195
4169
|
});
|
|
4196
4170
|
}
|
|
@@ -4229,10 +4203,9 @@ const de_DeleteFunctionCommandError = async (output, context) => {
|
|
|
4229
4203
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
4230
4204
|
default:
|
|
4231
4205
|
const parsedBody = parsedOutput.body;
|
|
4232
|
-
throwDefaultError({
|
|
4206
|
+
return throwDefaultError({
|
|
4233
4207
|
output,
|
|
4234
4208
|
parsedBody: parsedBody.Error,
|
|
4235
|
-
exceptionCtor: __BaseException,
|
|
4236
4209
|
errorCode,
|
|
4237
4210
|
});
|
|
4238
4211
|
}
|
|
@@ -4268,10 +4241,9 @@ const de_DeleteKeyGroupCommandError = async (output, context) => {
|
|
|
4268
4241
|
throw await de_ResourceInUseRes(parsedOutput, context);
|
|
4269
4242
|
default:
|
|
4270
4243
|
const parsedBody = parsedOutput.body;
|
|
4271
|
-
throwDefaultError({
|
|
4244
|
+
return throwDefaultError({
|
|
4272
4245
|
output,
|
|
4273
4246
|
parsedBody: parsedBody.Error,
|
|
4274
|
-
exceptionCtor: __BaseException,
|
|
4275
4247
|
errorCode,
|
|
4276
4248
|
});
|
|
4277
4249
|
}
|
|
@@ -4307,10 +4279,9 @@ const de_DeleteMonitoringSubscriptionCommandError = async (output, context) => {
|
|
|
4307
4279
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
4308
4280
|
default:
|
|
4309
4281
|
const parsedBody = parsedOutput.body;
|
|
4310
|
-
throwDefaultError({
|
|
4282
|
+
return throwDefaultError({
|
|
4311
4283
|
output,
|
|
4312
4284
|
parsedBody: parsedBody.Error,
|
|
4313
|
-
exceptionCtor: __BaseException,
|
|
4314
4285
|
errorCode,
|
|
4315
4286
|
});
|
|
4316
4287
|
}
|
|
@@ -4349,10 +4320,9 @@ const de_DeleteOriginAccessControlCommandError = async (output, context) => {
|
|
|
4349
4320
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
4350
4321
|
default:
|
|
4351
4322
|
const parsedBody = parsedOutput.body;
|
|
4352
|
-
throwDefaultError({
|
|
4323
|
+
return throwDefaultError({
|
|
4353
4324
|
output,
|
|
4354
4325
|
parsedBody: parsedBody.Error,
|
|
4355
|
-
exceptionCtor: __BaseException,
|
|
4356
4326
|
errorCode,
|
|
4357
4327
|
});
|
|
4358
4328
|
}
|
|
@@ -4394,10 +4364,9 @@ const de_DeleteOriginRequestPolicyCommandError = async (output, context) => {
|
|
|
4394
4364
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
4395
4365
|
default:
|
|
4396
4366
|
const parsedBody = parsedOutput.body;
|
|
4397
|
-
throwDefaultError({
|
|
4367
|
+
return throwDefaultError({
|
|
4398
4368
|
output,
|
|
4399
4369
|
parsedBody: parsedBody.Error,
|
|
4400
|
-
exceptionCtor: __BaseException,
|
|
4401
4370
|
errorCode,
|
|
4402
4371
|
});
|
|
4403
4372
|
}
|
|
@@ -4436,10 +4405,9 @@ const de_DeletePublicKeyCommandError = async (output, context) => {
|
|
|
4436
4405
|
throw await de_PublicKeyInUseRes(parsedOutput, context);
|
|
4437
4406
|
default:
|
|
4438
4407
|
const parsedBody = parsedOutput.body;
|
|
4439
|
-
throwDefaultError({
|
|
4408
|
+
return throwDefaultError({
|
|
4440
4409
|
output,
|
|
4441
4410
|
parsedBody: parsedBody.Error,
|
|
4442
|
-
exceptionCtor: __BaseException,
|
|
4443
4411
|
errorCode,
|
|
4444
4412
|
});
|
|
4445
4413
|
}
|
|
@@ -4475,10 +4443,9 @@ const de_DeleteRealtimeLogConfigCommandError = async (output, context) => {
|
|
|
4475
4443
|
throw await de_RealtimeLogConfigInUseRes(parsedOutput, context);
|
|
4476
4444
|
default:
|
|
4477
4445
|
const parsedBody = parsedOutput.body;
|
|
4478
|
-
throwDefaultError({
|
|
4446
|
+
return throwDefaultError({
|
|
4479
4447
|
output,
|
|
4480
4448
|
parsedBody: parsedBody.Error,
|
|
4481
|
-
exceptionCtor: __BaseException,
|
|
4482
4449
|
errorCode,
|
|
4483
4450
|
});
|
|
4484
4451
|
}
|
|
@@ -4520,10 +4487,9 @@ const de_DeleteResponseHeadersPolicyCommandError = async (output, context) => {
|
|
|
4520
4487
|
throw await de_ResponseHeadersPolicyInUseRes(parsedOutput, context);
|
|
4521
4488
|
default:
|
|
4522
4489
|
const parsedBody = parsedOutput.body;
|
|
4523
|
-
throwDefaultError({
|
|
4490
|
+
return throwDefaultError({
|
|
4524
4491
|
output,
|
|
4525
4492
|
parsedBody: parsedBody.Error,
|
|
4526
|
-
exceptionCtor: __BaseException,
|
|
4527
4493
|
errorCode,
|
|
4528
4494
|
});
|
|
4529
4495
|
}
|
|
@@ -4562,10 +4528,9 @@ const de_DeleteStreamingDistributionCommandError = async (output, context) => {
|
|
|
4562
4528
|
throw await de_StreamingDistributionNotDisabledRes(parsedOutput, context);
|
|
4563
4529
|
default:
|
|
4564
4530
|
const parsedBody = parsedOutput.body;
|
|
4565
|
-
throwDefaultError({
|
|
4531
|
+
return throwDefaultError({
|
|
4566
4532
|
output,
|
|
4567
4533
|
parsedBody: parsedBody.Error,
|
|
4568
|
-
exceptionCtor: __BaseException,
|
|
4569
4534
|
errorCode,
|
|
4570
4535
|
});
|
|
4571
4536
|
}
|
|
@@ -4597,10 +4562,9 @@ const de_DescribeFunctionCommandError = async (output, context) => {
|
|
|
4597
4562
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
4598
4563
|
default:
|
|
4599
4564
|
const parsedBody = parsedOutput.body;
|
|
4600
|
-
throwDefaultError({
|
|
4565
|
+
return throwDefaultError({
|
|
4601
4566
|
output,
|
|
4602
4567
|
parsedBody: parsedBody.Error,
|
|
4603
|
-
exceptionCtor: __BaseException,
|
|
4604
4568
|
errorCode,
|
|
4605
4569
|
});
|
|
4606
4570
|
}
|
|
@@ -4632,10 +4596,9 @@ const de_GetCachePolicyCommandError = async (output, context) => {
|
|
|
4632
4596
|
throw await de_NoSuchCachePolicyRes(parsedOutput, context);
|
|
4633
4597
|
default:
|
|
4634
4598
|
const parsedBody = parsedOutput.body;
|
|
4635
|
-
throwDefaultError({
|
|
4599
|
+
return throwDefaultError({
|
|
4636
4600
|
output,
|
|
4637
4601
|
parsedBody: parsedBody.Error,
|
|
4638
|
-
exceptionCtor: __BaseException,
|
|
4639
4602
|
errorCode,
|
|
4640
4603
|
});
|
|
4641
4604
|
}
|
|
@@ -4667,10 +4630,9 @@ const de_GetCachePolicyConfigCommandError = async (output, context) => {
|
|
|
4667
4630
|
throw await de_NoSuchCachePolicyRes(parsedOutput, context);
|
|
4668
4631
|
default:
|
|
4669
4632
|
const parsedBody = parsedOutput.body;
|
|
4670
|
-
throwDefaultError({
|
|
4633
|
+
return throwDefaultError({
|
|
4671
4634
|
output,
|
|
4672
4635
|
parsedBody: parsedBody.Error,
|
|
4673
|
-
exceptionCtor: __BaseException,
|
|
4674
4636
|
errorCode,
|
|
4675
4637
|
});
|
|
4676
4638
|
}
|
|
@@ -4702,10 +4664,9 @@ const de_GetCloudFrontOriginAccessIdentityCommandError = async (output, context)
|
|
|
4702
4664
|
throw await de_NoSuchCloudFrontOriginAccessIdentityRes(parsedOutput, context);
|
|
4703
4665
|
default:
|
|
4704
4666
|
const parsedBody = parsedOutput.body;
|
|
4705
|
-
throwDefaultError({
|
|
4667
|
+
return throwDefaultError({
|
|
4706
4668
|
output,
|
|
4707
4669
|
parsedBody: parsedBody.Error,
|
|
4708
|
-
exceptionCtor: __BaseException,
|
|
4709
4670
|
errorCode,
|
|
4710
4671
|
});
|
|
4711
4672
|
}
|
|
@@ -4737,10 +4698,9 @@ const de_GetCloudFrontOriginAccessIdentityConfigCommandError = async (output, co
|
|
|
4737
4698
|
throw await de_NoSuchCloudFrontOriginAccessIdentityRes(parsedOutput, context);
|
|
4738
4699
|
default:
|
|
4739
4700
|
const parsedBody = parsedOutput.body;
|
|
4740
|
-
throwDefaultError({
|
|
4701
|
+
return throwDefaultError({
|
|
4741
4702
|
output,
|
|
4742
4703
|
parsedBody: parsedBody.Error,
|
|
4743
|
-
exceptionCtor: __BaseException,
|
|
4744
4704
|
errorCode,
|
|
4745
4705
|
});
|
|
4746
4706
|
}
|
|
@@ -4772,10 +4732,9 @@ const de_GetContinuousDeploymentPolicyCommandError = async (output, context) =>
|
|
|
4772
4732
|
throw await de_NoSuchContinuousDeploymentPolicyRes(parsedOutput, context);
|
|
4773
4733
|
default:
|
|
4774
4734
|
const parsedBody = parsedOutput.body;
|
|
4775
|
-
throwDefaultError({
|
|
4735
|
+
return throwDefaultError({
|
|
4776
4736
|
output,
|
|
4777
4737
|
parsedBody: parsedBody.Error,
|
|
4778
|
-
exceptionCtor: __BaseException,
|
|
4779
4738
|
errorCode,
|
|
4780
4739
|
});
|
|
4781
4740
|
}
|
|
@@ -4807,10 +4766,9 @@ const de_GetContinuousDeploymentPolicyConfigCommandError = async (output, contex
|
|
|
4807
4766
|
throw await de_NoSuchContinuousDeploymentPolicyRes(parsedOutput, context);
|
|
4808
4767
|
default:
|
|
4809
4768
|
const parsedBody = parsedOutput.body;
|
|
4810
|
-
throwDefaultError({
|
|
4769
|
+
return throwDefaultError({
|
|
4811
4770
|
output,
|
|
4812
4771
|
parsedBody: parsedBody.Error,
|
|
4813
|
-
exceptionCtor: __BaseException,
|
|
4814
4772
|
errorCode,
|
|
4815
4773
|
});
|
|
4816
4774
|
}
|
|
@@ -4842,10 +4800,9 @@ const de_GetDistributionCommandError = async (output, context) => {
|
|
|
4842
4800
|
throw await de_NoSuchDistributionRes(parsedOutput, context);
|
|
4843
4801
|
default:
|
|
4844
4802
|
const parsedBody = parsedOutput.body;
|
|
4845
|
-
throwDefaultError({
|
|
4803
|
+
return throwDefaultError({
|
|
4846
4804
|
output,
|
|
4847
4805
|
parsedBody: parsedBody.Error,
|
|
4848
|
-
exceptionCtor: __BaseException,
|
|
4849
4806
|
errorCode,
|
|
4850
4807
|
});
|
|
4851
4808
|
}
|
|
@@ -4877,10 +4834,9 @@ const de_GetDistributionConfigCommandError = async (output, context) => {
|
|
|
4877
4834
|
throw await de_NoSuchDistributionRes(parsedOutput, context);
|
|
4878
4835
|
default:
|
|
4879
4836
|
const parsedBody = parsedOutput.body;
|
|
4880
|
-
throwDefaultError({
|
|
4837
|
+
return throwDefaultError({
|
|
4881
4838
|
output,
|
|
4882
4839
|
parsedBody: parsedBody.Error,
|
|
4883
|
-
exceptionCtor: __BaseException,
|
|
4884
4840
|
errorCode,
|
|
4885
4841
|
});
|
|
4886
4842
|
}
|
|
@@ -4912,10 +4868,9 @@ const de_GetFieldLevelEncryptionCommandError = async (output, context) => {
|
|
|
4912
4868
|
throw await de_NoSuchFieldLevelEncryptionConfigRes(parsedOutput, context);
|
|
4913
4869
|
default:
|
|
4914
4870
|
const parsedBody = parsedOutput.body;
|
|
4915
|
-
throwDefaultError({
|
|
4871
|
+
return throwDefaultError({
|
|
4916
4872
|
output,
|
|
4917
4873
|
parsedBody: parsedBody.Error,
|
|
4918
|
-
exceptionCtor: __BaseException,
|
|
4919
4874
|
errorCode,
|
|
4920
4875
|
});
|
|
4921
4876
|
}
|
|
@@ -4947,10 +4902,9 @@ const de_GetFieldLevelEncryptionConfigCommandError = async (output, context) =>
|
|
|
4947
4902
|
throw await de_NoSuchFieldLevelEncryptionConfigRes(parsedOutput, context);
|
|
4948
4903
|
default:
|
|
4949
4904
|
const parsedBody = parsedOutput.body;
|
|
4950
|
-
throwDefaultError({
|
|
4905
|
+
return throwDefaultError({
|
|
4951
4906
|
output,
|
|
4952
4907
|
parsedBody: parsedBody.Error,
|
|
4953
|
-
exceptionCtor: __BaseException,
|
|
4954
4908
|
errorCode,
|
|
4955
4909
|
});
|
|
4956
4910
|
}
|
|
@@ -4982,10 +4936,9 @@ const de_GetFieldLevelEncryptionProfileCommandError = async (output, context) =>
|
|
|
4982
4936
|
throw await de_NoSuchFieldLevelEncryptionProfileRes(parsedOutput, context);
|
|
4983
4937
|
default:
|
|
4984
4938
|
const parsedBody = parsedOutput.body;
|
|
4985
|
-
throwDefaultError({
|
|
4939
|
+
return throwDefaultError({
|
|
4986
4940
|
output,
|
|
4987
4941
|
parsedBody: parsedBody.Error,
|
|
4988
|
-
exceptionCtor: __BaseException,
|
|
4989
4942
|
errorCode,
|
|
4990
4943
|
});
|
|
4991
4944
|
}
|
|
@@ -5017,10 +4970,9 @@ const de_GetFieldLevelEncryptionProfileConfigCommandError = async (output, conte
|
|
|
5017
4970
|
throw await de_NoSuchFieldLevelEncryptionProfileRes(parsedOutput, context);
|
|
5018
4971
|
default:
|
|
5019
4972
|
const parsedBody = parsedOutput.body;
|
|
5020
|
-
throwDefaultError({
|
|
4973
|
+
return throwDefaultError({
|
|
5021
4974
|
output,
|
|
5022
4975
|
parsedBody: parsedBody.Error,
|
|
5023
|
-
exceptionCtor: __BaseException,
|
|
5024
4976
|
errorCode,
|
|
5025
4977
|
});
|
|
5026
4978
|
}
|
|
@@ -5053,10 +5005,9 @@ const de_GetFunctionCommandError = async (output, context) => {
|
|
|
5053
5005
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
5054
5006
|
default:
|
|
5055
5007
|
const parsedBody = parsedOutput.body;
|
|
5056
|
-
throwDefaultError({
|
|
5008
|
+
return throwDefaultError({
|
|
5057
5009
|
output,
|
|
5058
5010
|
parsedBody: parsedBody.Error,
|
|
5059
|
-
exceptionCtor: __BaseException,
|
|
5060
5011
|
errorCode,
|
|
5061
5012
|
});
|
|
5062
5013
|
}
|
|
@@ -5090,10 +5041,9 @@ const de_GetInvalidationCommandError = async (output, context) => {
|
|
|
5090
5041
|
throw await de_NoSuchInvalidationRes(parsedOutput, context);
|
|
5091
5042
|
default:
|
|
5092
5043
|
const parsedBody = parsedOutput.body;
|
|
5093
|
-
throwDefaultError({
|
|
5044
|
+
return throwDefaultError({
|
|
5094
5045
|
output,
|
|
5095
5046
|
parsedBody: parsedBody.Error,
|
|
5096
|
-
exceptionCtor: __BaseException,
|
|
5097
5047
|
errorCode,
|
|
5098
5048
|
});
|
|
5099
5049
|
}
|
|
@@ -5122,10 +5072,9 @@ const de_GetKeyGroupCommandError = async (output, context) => {
|
|
|
5122
5072
|
throw await de_NoSuchResourceRes(parsedOutput, context);
|
|
5123
5073
|
default:
|
|
5124
5074
|
const parsedBody = parsedOutput.body;
|
|
5125
|
-
throwDefaultError({
|
|
5075
|
+
return throwDefaultError({
|
|
5126
5076
|
output,
|
|
5127
5077
|
parsedBody: parsedBody.Error,
|
|
5128
|
-
exceptionCtor: __BaseException,
|
|
5129
5078
|
errorCode,
|
|
5130
5079
|
});
|
|
5131
5080
|
}
|
|
@@ -5154,10 +5103,9 @@ const de_GetKeyGroupConfigCommandError = async (output, context) => {
|
|
|
5154
5103
|
throw await de_NoSuchResourceRes(parsedOutput, context);
|
|
5155
5104
|
default:
|
|
5156
5105
|
const parsedBody = parsedOutput.body;
|
|
5157
|
-
throwDefaultError({
|
|
5106
|
+
return throwDefaultError({
|
|
5158
5107
|
output,
|
|
5159
5108
|
parsedBody: parsedBody.Error,
|
|
5160
|
-
exceptionCtor: __BaseException,
|
|
5161
5109
|
errorCode,
|
|
5162
5110
|
});
|
|
5163
5111
|
}
|
|
@@ -5194,10 +5142,9 @@ const de_GetMonitoringSubscriptionCommandError = async (output, context) => {
|
|
|
5194
5142
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
5195
5143
|
default:
|
|
5196
5144
|
const parsedBody = parsedOutput.body;
|
|
5197
|
-
throwDefaultError({
|
|
5145
|
+
return throwDefaultError({
|
|
5198
5146
|
output,
|
|
5199
5147
|
parsedBody: parsedBody.Error,
|
|
5200
|
-
exceptionCtor: __BaseException,
|
|
5201
5148
|
errorCode,
|
|
5202
5149
|
});
|
|
5203
5150
|
}
|
|
@@ -5229,10 +5176,9 @@ const de_GetOriginAccessControlCommandError = async (output, context) => {
|
|
|
5229
5176
|
throw await de_NoSuchOriginAccessControlRes(parsedOutput, context);
|
|
5230
5177
|
default:
|
|
5231
5178
|
const parsedBody = parsedOutput.body;
|
|
5232
|
-
throwDefaultError({
|
|
5179
|
+
return throwDefaultError({
|
|
5233
5180
|
output,
|
|
5234
5181
|
parsedBody: parsedBody.Error,
|
|
5235
|
-
exceptionCtor: __BaseException,
|
|
5236
5182
|
errorCode,
|
|
5237
5183
|
});
|
|
5238
5184
|
}
|
|
@@ -5264,10 +5210,9 @@ const de_GetOriginAccessControlConfigCommandError = async (output, context) => {
|
|
|
5264
5210
|
throw await de_NoSuchOriginAccessControlRes(parsedOutput, context);
|
|
5265
5211
|
default:
|
|
5266
5212
|
const parsedBody = parsedOutput.body;
|
|
5267
|
-
throwDefaultError({
|
|
5213
|
+
return throwDefaultError({
|
|
5268
5214
|
output,
|
|
5269
5215
|
parsedBody: parsedBody.Error,
|
|
5270
|
-
exceptionCtor: __BaseException,
|
|
5271
5216
|
errorCode,
|
|
5272
5217
|
});
|
|
5273
5218
|
}
|
|
@@ -5299,10 +5244,9 @@ const de_GetOriginRequestPolicyCommandError = async (output, context) => {
|
|
|
5299
5244
|
throw await de_NoSuchOriginRequestPolicyRes(parsedOutput, context);
|
|
5300
5245
|
default:
|
|
5301
5246
|
const parsedBody = parsedOutput.body;
|
|
5302
|
-
throwDefaultError({
|
|
5247
|
+
return throwDefaultError({
|
|
5303
5248
|
output,
|
|
5304
5249
|
parsedBody: parsedBody.Error,
|
|
5305
|
-
exceptionCtor: __BaseException,
|
|
5306
5250
|
errorCode,
|
|
5307
5251
|
});
|
|
5308
5252
|
}
|
|
@@ -5334,10 +5278,9 @@ const de_GetOriginRequestPolicyConfigCommandError = async (output, context) => {
|
|
|
5334
5278
|
throw await de_NoSuchOriginRequestPolicyRes(parsedOutput, context);
|
|
5335
5279
|
default:
|
|
5336
5280
|
const parsedBody = parsedOutput.body;
|
|
5337
|
-
throwDefaultError({
|
|
5281
|
+
return throwDefaultError({
|
|
5338
5282
|
output,
|
|
5339
5283
|
parsedBody: parsedBody.Error,
|
|
5340
|
-
exceptionCtor: __BaseException,
|
|
5341
5284
|
errorCode,
|
|
5342
5285
|
});
|
|
5343
5286
|
}
|
|
@@ -5369,10 +5312,9 @@ const de_GetPublicKeyCommandError = async (output, context) => {
|
|
|
5369
5312
|
throw await de_NoSuchPublicKeyRes(parsedOutput, context);
|
|
5370
5313
|
default:
|
|
5371
5314
|
const parsedBody = parsedOutput.body;
|
|
5372
|
-
throwDefaultError({
|
|
5315
|
+
return throwDefaultError({
|
|
5373
5316
|
output,
|
|
5374
5317
|
parsedBody: parsedBody.Error,
|
|
5375
|
-
exceptionCtor: __BaseException,
|
|
5376
5318
|
errorCode,
|
|
5377
5319
|
});
|
|
5378
5320
|
}
|
|
@@ -5404,10 +5346,9 @@ const de_GetPublicKeyConfigCommandError = async (output, context) => {
|
|
|
5404
5346
|
throw await de_NoSuchPublicKeyRes(parsedOutput, context);
|
|
5405
5347
|
default:
|
|
5406
5348
|
const parsedBody = parsedOutput.body;
|
|
5407
|
-
throwDefaultError({
|
|
5349
|
+
return throwDefaultError({
|
|
5408
5350
|
output,
|
|
5409
5351
|
parsedBody: parsedBody.Error,
|
|
5410
|
-
exceptionCtor: __BaseException,
|
|
5411
5352
|
errorCode,
|
|
5412
5353
|
});
|
|
5413
5354
|
}
|
|
@@ -5443,10 +5384,9 @@ const de_GetRealtimeLogConfigCommandError = async (output, context) => {
|
|
|
5443
5384
|
throw await de_NoSuchRealtimeLogConfigRes(parsedOutput, context);
|
|
5444
5385
|
default:
|
|
5445
5386
|
const parsedBody = parsedOutput.body;
|
|
5446
|
-
throwDefaultError({
|
|
5387
|
+
return throwDefaultError({
|
|
5447
5388
|
output,
|
|
5448
5389
|
parsedBody: parsedBody.Error,
|
|
5449
|
-
exceptionCtor: __BaseException,
|
|
5450
5390
|
errorCode,
|
|
5451
5391
|
});
|
|
5452
5392
|
}
|
|
@@ -5478,10 +5418,9 @@ const de_GetResponseHeadersPolicyCommandError = async (output, context) => {
|
|
|
5478
5418
|
throw await de_NoSuchResponseHeadersPolicyRes(parsedOutput, context);
|
|
5479
5419
|
default:
|
|
5480
5420
|
const parsedBody = parsedOutput.body;
|
|
5481
|
-
throwDefaultError({
|
|
5421
|
+
return throwDefaultError({
|
|
5482
5422
|
output,
|
|
5483
5423
|
parsedBody: parsedBody.Error,
|
|
5484
|
-
exceptionCtor: __BaseException,
|
|
5485
5424
|
errorCode,
|
|
5486
5425
|
});
|
|
5487
5426
|
}
|
|
@@ -5513,10 +5452,9 @@ const de_GetResponseHeadersPolicyConfigCommandError = async (output, context) =>
|
|
|
5513
5452
|
throw await de_NoSuchResponseHeadersPolicyRes(parsedOutput, context);
|
|
5514
5453
|
default:
|
|
5515
5454
|
const parsedBody = parsedOutput.body;
|
|
5516
|
-
throwDefaultError({
|
|
5455
|
+
return throwDefaultError({
|
|
5517
5456
|
output,
|
|
5518
5457
|
parsedBody: parsedBody.Error,
|
|
5519
|
-
exceptionCtor: __BaseException,
|
|
5520
5458
|
errorCode,
|
|
5521
5459
|
});
|
|
5522
5460
|
}
|
|
@@ -5548,10 +5486,9 @@ const de_GetStreamingDistributionCommandError = async (output, context) => {
|
|
|
5548
5486
|
throw await de_NoSuchStreamingDistributionRes(parsedOutput, context);
|
|
5549
5487
|
default:
|
|
5550
5488
|
const parsedBody = parsedOutput.body;
|
|
5551
|
-
throwDefaultError({
|
|
5489
|
+
return throwDefaultError({
|
|
5552
5490
|
output,
|
|
5553
5491
|
parsedBody: parsedBody.Error,
|
|
5554
|
-
exceptionCtor: __BaseException,
|
|
5555
5492
|
errorCode,
|
|
5556
5493
|
});
|
|
5557
5494
|
}
|
|
@@ -5583,10 +5520,9 @@ const de_GetStreamingDistributionConfigCommandError = async (output, context) =>
|
|
|
5583
5520
|
throw await de_NoSuchStreamingDistributionRes(parsedOutput, context);
|
|
5584
5521
|
default:
|
|
5585
5522
|
const parsedBody = parsedOutput.body;
|
|
5586
|
-
throwDefaultError({
|
|
5523
|
+
return throwDefaultError({
|
|
5587
5524
|
output,
|
|
5588
5525
|
parsedBody: parsedBody.Error,
|
|
5589
|
-
exceptionCtor: __BaseException,
|
|
5590
5526
|
errorCode,
|
|
5591
5527
|
});
|
|
5592
5528
|
}
|
|
@@ -5620,10 +5556,9 @@ const de_ListCachePoliciesCommandError = async (output, context) => {
|
|
|
5620
5556
|
throw await de_NoSuchCachePolicyRes(parsedOutput, context);
|
|
5621
5557
|
default:
|
|
5622
5558
|
const parsedBody = parsedOutput.body;
|
|
5623
|
-
throwDefaultError({
|
|
5559
|
+
return throwDefaultError({
|
|
5624
5560
|
output,
|
|
5625
5561
|
parsedBody: parsedBody.Error,
|
|
5626
|
-
exceptionCtor: __BaseException,
|
|
5627
5562
|
errorCode,
|
|
5628
5563
|
});
|
|
5629
5564
|
}
|
|
@@ -5651,10 +5586,9 @@ const de_ListCloudFrontOriginAccessIdentitiesCommandError = async (output, conte
|
|
|
5651
5586
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
5652
5587
|
default:
|
|
5653
5588
|
const parsedBody = parsedOutput.body;
|
|
5654
|
-
throwDefaultError({
|
|
5589
|
+
return throwDefaultError({
|
|
5655
5590
|
output,
|
|
5656
5591
|
parsedBody: parsedBody.Error,
|
|
5657
|
-
exceptionCtor: __BaseException,
|
|
5658
5592
|
errorCode,
|
|
5659
5593
|
});
|
|
5660
5594
|
}
|
|
@@ -5685,10 +5619,9 @@ const de_ListConflictingAliasesCommandError = async (output, context) => {
|
|
|
5685
5619
|
throw await de_NoSuchDistributionRes(parsedOutput, context);
|
|
5686
5620
|
default:
|
|
5687
5621
|
const parsedBody = parsedOutput.body;
|
|
5688
|
-
throwDefaultError({
|
|
5622
|
+
return throwDefaultError({
|
|
5689
5623
|
output,
|
|
5690
5624
|
parsedBody: parsedBody.Error,
|
|
5691
|
-
exceptionCtor: __BaseException,
|
|
5692
5625
|
errorCode,
|
|
5693
5626
|
});
|
|
5694
5627
|
}
|
|
@@ -5722,10 +5655,9 @@ const de_ListContinuousDeploymentPoliciesCommandError = async (output, context)
|
|
|
5722
5655
|
throw await de_NoSuchContinuousDeploymentPolicyRes(parsedOutput, context);
|
|
5723
5656
|
default:
|
|
5724
5657
|
const parsedBody = parsedOutput.body;
|
|
5725
|
-
throwDefaultError({
|
|
5658
|
+
return throwDefaultError({
|
|
5726
5659
|
output,
|
|
5727
5660
|
parsedBody: parsedBody.Error,
|
|
5728
|
-
exceptionCtor: __BaseException,
|
|
5729
5661
|
errorCode,
|
|
5730
5662
|
});
|
|
5731
5663
|
}
|
|
@@ -5753,10 +5685,9 @@ const de_ListDistributionsCommandError = async (output, context) => {
|
|
|
5753
5685
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
5754
5686
|
default:
|
|
5755
5687
|
const parsedBody = parsedOutput.body;
|
|
5756
|
-
throwDefaultError({
|
|
5688
|
+
return throwDefaultError({
|
|
5757
5689
|
output,
|
|
5758
5690
|
parsedBody: parsedBody.Error,
|
|
5759
|
-
exceptionCtor: __BaseException,
|
|
5760
5691
|
errorCode,
|
|
5761
5692
|
});
|
|
5762
5693
|
}
|
|
@@ -5790,10 +5721,9 @@ const de_ListDistributionsByCachePolicyIdCommandError = async (output, context)
|
|
|
5790
5721
|
throw await de_NoSuchCachePolicyRes(parsedOutput, context);
|
|
5791
5722
|
default:
|
|
5792
5723
|
const parsedBody = parsedOutput.body;
|
|
5793
|
-
throwDefaultError({
|
|
5724
|
+
return throwDefaultError({
|
|
5794
5725
|
output,
|
|
5795
5726
|
parsedBody: parsedBody.Error,
|
|
5796
|
-
exceptionCtor: __BaseException,
|
|
5797
5727
|
errorCode,
|
|
5798
5728
|
});
|
|
5799
5729
|
}
|
|
@@ -5824,10 +5754,9 @@ const de_ListDistributionsByKeyGroupCommandError = async (output, context) => {
|
|
|
5824
5754
|
throw await de_NoSuchResourceRes(parsedOutput, context);
|
|
5825
5755
|
default:
|
|
5826
5756
|
const parsedBody = parsedOutput.body;
|
|
5827
|
-
throwDefaultError({
|
|
5757
|
+
return throwDefaultError({
|
|
5828
5758
|
output,
|
|
5829
5759
|
parsedBody: parsedBody.Error,
|
|
5830
|
-
exceptionCtor: __BaseException,
|
|
5831
5760
|
errorCode,
|
|
5832
5761
|
});
|
|
5833
5762
|
}
|
|
@@ -5861,10 +5790,9 @@ const de_ListDistributionsByOriginRequestPolicyIdCommandError = async (output, c
|
|
|
5861
5790
|
throw await de_NoSuchOriginRequestPolicyRes(parsedOutput, context);
|
|
5862
5791
|
default:
|
|
5863
5792
|
const parsedBody = parsedOutput.body;
|
|
5864
|
-
throwDefaultError({
|
|
5793
|
+
return throwDefaultError({
|
|
5865
5794
|
output,
|
|
5866
5795
|
parsedBody: parsedBody.Error,
|
|
5867
|
-
exceptionCtor: __BaseException,
|
|
5868
5796
|
errorCode,
|
|
5869
5797
|
});
|
|
5870
5798
|
}
|
|
@@ -5892,10 +5820,9 @@ const de_ListDistributionsByRealtimeLogConfigCommandError = async (output, conte
|
|
|
5892
5820
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
5893
5821
|
default:
|
|
5894
5822
|
const parsedBody = parsedOutput.body;
|
|
5895
|
-
throwDefaultError({
|
|
5823
|
+
return throwDefaultError({
|
|
5896
5824
|
output,
|
|
5897
5825
|
parsedBody: parsedBody.Error,
|
|
5898
|
-
exceptionCtor: __BaseException,
|
|
5899
5826
|
errorCode,
|
|
5900
5827
|
});
|
|
5901
5828
|
}
|
|
@@ -5929,10 +5856,9 @@ const de_ListDistributionsByResponseHeadersPolicyIdCommandError = async (output,
|
|
|
5929
5856
|
throw await de_NoSuchResponseHeadersPolicyRes(parsedOutput, context);
|
|
5930
5857
|
default:
|
|
5931
5858
|
const parsedBody = parsedOutput.body;
|
|
5932
|
-
throwDefaultError({
|
|
5859
|
+
return throwDefaultError({
|
|
5933
5860
|
output,
|
|
5934
5861
|
parsedBody: parsedBody.Error,
|
|
5935
|
-
exceptionCtor: __BaseException,
|
|
5936
5862
|
errorCode,
|
|
5937
5863
|
});
|
|
5938
5864
|
}
|
|
@@ -5963,10 +5889,9 @@ const de_ListDistributionsByWebACLIdCommandError = async (output, context) => {
|
|
|
5963
5889
|
throw await de_InvalidWebACLIdRes(parsedOutput, context);
|
|
5964
5890
|
default:
|
|
5965
5891
|
const parsedBody = parsedOutput.body;
|
|
5966
|
-
throwDefaultError({
|
|
5892
|
+
return throwDefaultError({
|
|
5967
5893
|
output,
|
|
5968
5894
|
parsedBody: parsedBody.Error,
|
|
5969
|
-
exceptionCtor: __BaseException,
|
|
5970
5895
|
errorCode,
|
|
5971
5896
|
});
|
|
5972
5897
|
}
|
|
@@ -5994,10 +5919,9 @@ const de_ListFieldLevelEncryptionConfigsCommandError = async (output, context) =
|
|
|
5994
5919
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
5995
5920
|
default:
|
|
5996
5921
|
const parsedBody = parsedOutput.body;
|
|
5997
|
-
throwDefaultError({
|
|
5922
|
+
return throwDefaultError({
|
|
5998
5923
|
output,
|
|
5999
5924
|
parsedBody: parsedBody.Error,
|
|
6000
|
-
exceptionCtor: __BaseException,
|
|
6001
5925
|
errorCode,
|
|
6002
5926
|
});
|
|
6003
5927
|
}
|
|
@@ -6025,10 +5949,9 @@ const de_ListFieldLevelEncryptionProfilesCommandError = async (output, context)
|
|
|
6025
5949
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
6026
5950
|
default:
|
|
6027
5951
|
const parsedBody = parsedOutput.body;
|
|
6028
|
-
throwDefaultError({
|
|
5952
|
+
return throwDefaultError({
|
|
6029
5953
|
output,
|
|
6030
5954
|
parsedBody: parsedBody.Error,
|
|
6031
|
-
exceptionCtor: __BaseException,
|
|
6032
5955
|
errorCode,
|
|
6033
5956
|
});
|
|
6034
5957
|
}
|
|
@@ -6059,10 +5982,9 @@ const de_ListFunctionsCommandError = async (output, context) => {
|
|
|
6059
5982
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
6060
5983
|
default:
|
|
6061
5984
|
const parsedBody = parsedOutput.body;
|
|
6062
|
-
throwDefaultError({
|
|
5985
|
+
return throwDefaultError({
|
|
6063
5986
|
output,
|
|
6064
5987
|
parsedBody: parsedBody.Error,
|
|
6065
|
-
exceptionCtor: __BaseException,
|
|
6066
5988
|
errorCode,
|
|
6067
5989
|
});
|
|
6068
5990
|
}
|
|
@@ -6096,10 +6018,9 @@ const de_ListInvalidationsCommandError = async (output, context) => {
|
|
|
6096
6018
|
throw await de_NoSuchDistributionRes(parsedOutput, context);
|
|
6097
6019
|
default:
|
|
6098
6020
|
const parsedBody = parsedOutput.body;
|
|
6099
|
-
throwDefaultError({
|
|
6021
|
+
return throwDefaultError({
|
|
6100
6022
|
output,
|
|
6101
6023
|
parsedBody: parsedBody.Error,
|
|
6102
|
-
exceptionCtor: __BaseException,
|
|
6103
6024
|
errorCode,
|
|
6104
6025
|
});
|
|
6105
6026
|
}
|
|
@@ -6127,10 +6048,9 @@ const de_ListKeyGroupsCommandError = async (output, context) => {
|
|
|
6127
6048
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
6128
6049
|
default:
|
|
6129
6050
|
const parsedBody = parsedOutput.body;
|
|
6130
|
-
throwDefaultError({
|
|
6051
|
+
return throwDefaultError({
|
|
6131
6052
|
output,
|
|
6132
6053
|
parsedBody: parsedBody.Error,
|
|
6133
|
-
exceptionCtor: __BaseException,
|
|
6134
6054
|
errorCode,
|
|
6135
6055
|
});
|
|
6136
6056
|
}
|
|
@@ -6158,10 +6078,9 @@ const de_ListOriginAccessControlsCommandError = async (output, context) => {
|
|
|
6158
6078
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
6159
6079
|
default:
|
|
6160
6080
|
const parsedBody = parsedOutput.body;
|
|
6161
|
-
throwDefaultError({
|
|
6081
|
+
return throwDefaultError({
|
|
6162
6082
|
output,
|
|
6163
6083
|
parsedBody: parsedBody.Error,
|
|
6164
|
-
exceptionCtor: __BaseException,
|
|
6165
6084
|
errorCode,
|
|
6166
6085
|
});
|
|
6167
6086
|
}
|
|
@@ -6195,10 +6114,9 @@ const de_ListOriginRequestPoliciesCommandError = async (output, context) => {
|
|
|
6195
6114
|
throw await de_NoSuchOriginRequestPolicyRes(parsedOutput, context);
|
|
6196
6115
|
default:
|
|
6197
6116
|
const parsedBody = parsedOutput.body;
|
|
6198
|
-
throwDefaultError({
|
|
6117
|
+
return throwDefaultError({
|
|
6199
6118
|
output,
|
|
6200
6119
|
parsedBody: parsedBody.Error,
|
|
6201
|
-
exceptionCtor: __BaseException,
|
|
6202
6120
|
errorCode,
|
|
6203
6121
|
});
|
|
6204
6122
|
}
|
|
@@ -6226,10 +6144,9 @@ const de_ListPublicKeysCommandError = async (output, context) => {
|
|
|
6226
6144
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
6227
6145
|
default:
|
|
6228
6146
|
const parsedBody = parsedOutput.body;
|
|
6229
|
-
throwDefaultError({
|
|
6147
|
+
return throwDefaultError({
|
|
6230
6148
|
output,
|
|
6231
6149
|
parsedBody: parsedBody.Error,
|
|
6232
|
-
exceptionCtor: __BaseException,
|
|
6233
6150
|
errorCode,
|
|
6234
6151
|
});
|
|
6235
6152
|
}
|
|
@@ -6263,10 +6180,9 @@ const de_ListRealtimeLogConfigsCommandError = async (output, context) => {
|
|
|
6263
6180
|
throw await de_NoSuchRealtimeLogConfigRes(parsedOutput, context);
|
|
6264
6181
|
default:
|
|
6265
6182
|
const parsedBody = parsedOutput.body;
|
|
6266
|
-
throwDefaultError({
|
|
6183
|
+
return throwDefaultError({
|
|
6267
6184
|
output,
|
|
6268
6185
|
parsedBody: parsedBody.Error,
|
|
6269
|
-
exceptionCtor: __BaseException,
|
|
6270
6186
|
errorCode,
|
|
6271
6187
|
});
|
|
6272
6188
|
}
|
|
@@ -6300,10 +6216,9 @@ const de_ListResponseHeadersPoliciesCommandError = async (output, context) => {
|
|
|
6300
6216
|
throw await de_NoSuchResponseHeadersPolicyRes(parsedOutput, context);
|
|
6301
6217
|
default:
|
|
6302
6218
|
const parsedBody = parsedOutput.body;
|
|
6303
|
-
throwDefaultError({
|
|
6219
|
+
return throwDefaultError({
|
|
6304
6220
|
output,
|
|
6305
6221
|
parsedBody: parsedBody.Error,
|
|
6306
|
-
exceptionCtor: __BaseException,
|
|
6307
6222
|
errorCode,
|
|
6308
6223
|
});
|
|
6309
6224
|
}
|
|
@@ -6331,10 +6246,9 @@ const de_ListStreamingDistributionsCommandError = async (output, context) => {
|
|
|
6331
6246
|
throw await de_InvalidArgumentRes(parsedOutput, context);
|
|
6332
6247
|
default:
|
|
6333
6248
|
const parsedBody = parsedOutput.body;
|
|
6334
|
-
throwDefaultError({
|
|
6249
|
+
return throwDefaultError({
|
|
6335
6250
|
output,
|
|
6336
6251
|
parsedBody: parsedBody.Error,
|
|
6337
|
-
exceptionCtor: __BaseException,
|
|
6338
6252
|
errorCode,
|
|
6339
6253
|
});
|
|
6340
6254
|
}
|
|
@@ -6371,10 +6285,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
6371
6285
|
throw await de_NoSuchResourceRes(parsedOutput, context);
|
|
6372
6286
|
default:
|
|
6373
6287
|
const parsedBody = parsedOutput.body;
|
|
6374
|
-
throwDefaultError({
|
|
6288
|
+
return throwDefaultError({
|
|
6375
6289
|
output,
|
|
6376
6290
|
parsedBody: parsedBody.Error,
|
|
6377
|
-
exceptionCtor: __BaseException,
|
|
6378
6291
|
errorCode,
|
|
6379
6292
|
});
|
|
6380
6293
|
}
|
|
@@ -6414,10 +6327,9 @@ const de_PublishFunctionCommandError = async (output, context) => {
|
|
|
6414
6327
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
6415
6328
|
default:
|
|
6416
6329
|
const parsedBody = parsedOutput.body;
|
|
6417
|
-
throwDefaultError({
|
|
6330
|
+
return throwDefaultError({
|
|
6418
6331
|
output,
|
|
6419
6332
|
parsedBody: parsedBody.Error,
|
|
6420
|
-
exceptionCtor: __BaseException,
|
|
6421
6333
|
errorCode,
|
|
6422
6334
|
});
|
|
6423
6335
|
}
|
|
@@ -6453,10 +6365,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
6453
6365
|
throw await de_NoSuchResourceRes(parsedOutput, context);
|
|
6454
6366
|
default:
|
|
6455
6367
|
const parsedBody = parsedOutput.body;
|
|
6456
|
-
throwDefaultError({
|
|
6368
|
+
return throwDefaultError({
|
|
6457
6369
|
output,
|
|
6458
6370
|
parsedBody: parsedBody.Error,
|
|
6459
|
-
exceptionCtor: __BaseException,
|
|
6460
6371
|
errorCode,
|
|
6461
6372
|
});
|
|
6462
6373
|
}
|
|
@@ -6496,10 +6407,9 @@ const de_TestFunctionCommandError = async (output, context) => {
|
|
|
6496
6407
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
6497
6408
|
default:
|
|
6498
6409
|
const parsedBody = parsedOutput.body;
|
|
6499
|
-
throwDefaultError({
|
|
6410
|
+
return throwDefaultError({
|
|
6500
6411
|
output,
|
|
6501
6412
|
parsedBody: parsedBody.Error,
|
|
6502
|
-
exceptionCtor: __BaseException,
|
|
6503
6413
|
errorCode,
|
|
6504
6414
|
});
|
|
6505
6415
|
}
|
|
@@ -6535,10 +6445,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
6535
6445
|
throw await de_NoSuchResourceRes(parsedOutput, context);
|
|
6536
6446
|
default:
|
|
6537
6447
|
const parsedBody = parsedOutput.body;
|
|
6538
|
-
throwDefaultError({
|
|
6448
|
+
return throwDefaultError({
|
|
6539
6449
|
output,
|
|
6540
6450
|
parsedBody: parsedBody.Error,
|
|
6541
|
-
exceptionCtor: __BaseException,
|
|
6542
6451
|
errorCode,
|
|
6543
6452
|
});
|
|
6544
6453
|
}
|
|
@@ -6597,10 +6506,9 @@ const de_UpdateCachePolicyCommandError = async (output, context) => {
|
|
|
6597
6506
|
throw await de_TooManyQueryStringsInCachePolicyRes(parsedOutput, context);
|
|
6598
6507
|
default:
|
|
6599
6508
|
const parsedBody = parsedOutput.body;
|
|
6600
|
-
throwDefaultError({
|
|
6509
|
+
return throwDefaultError({
|
|
6601
6510
|
output,
|
|
6602
6511
|
parsedBody: parsedBody.Error,
|
|
6603
|
-
exceptionCtor: __BaseException,
|
|
6604
6512
|
errorCode,
|
|
6605
6513
|
});
|
|
6606
6514
|
}
|
|
@@ -6650,10 +6558,9 @@ const de_UpdateCloudFrontOriginAccessIdentityCommandError = async (output, conte
|
|
|
6650
6558
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
6651
6559
|
default:
|
|
6652
6560
|
const parsedBody = parsedOutput.body;
|
|
6653
|
-
throwDefaultError({
|
|
6561
|
+
return throwDefaultError({
|
|
6654
6562
|
output,
|
|
6655
6563
|
parsedBody: parsedBody.Error,
|
|
6656
|
-
exceptionCtor: __BaseException,
|
|
6657
6564
|
errorCode,
|
|
6658
6565
|
});
|
|
6659
6566
|
}
|
|
@@ -6700,10 +6607,9 @@ const de_UpdateContinuousDeploymentPolicyCommandError = async (output, context)
|
|
|
6700
6607
|
throw await de_StagingDistributionInUseRes(parsedOutput, context);
|
|
6701
6608
|
default:
|
|
6702
6609
|
const parsedBody = parsedOutput.body;
|
|
6703
|
-
throwDefaultError({
|
|
6610
|
+
return throwDefaultError({
|
|
6704
6611
|
output,
|
|
6705
6612
|
parsedBody: parsedBody.Error,
|
|
6706
|
-
exceptionCtor: __BaseException,
|
|
6707
6613
|
errorCode,
|
|
6708
6614
|
});
|
|
6709
6615
|
}
|
|
@@ -6924,10 +6830,9 @@ const de_UpdateDistributionCommandError = async (output, context) => {
|
|
|
6924
6830
|
throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
|
|
6925
6831
|
default:
|
|
6926
6832
|
const parsedBody = parsedOutput.body;
|
|
6927
|
-
throwDefaultError({
|
|
6833
|
+
return throwDefaultError({
|
|
6928
6834
|
output,
|
|
6929
6835
|
parsedBody: parsedBody.Error,
|
|
6930
|
-
exceptionCtor: __BaseException,
|
|
6931
6836
|
errorCode,
|
|
6932
6837
|
});
|
|
6933
6838
|
}
|
|
@@ -7133,10 +7038,9 @@ const de_UpdateDistributionWithStagingConfigCommandError = async (output, contex
|
|
|
7133
7038
|
throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
|
|
7134
7039
|
default:
|
|
7135
7040
|
const parsedBody = parsedOutput.body;
|
|
7136
|
-
throwDefaultError({
|
|
7041
|
+
return throwDefaultError({
|
|
7137
7042
|
output,
|
|
7138
7043
|
parsedBody: parsedBody.Error,
|
|
7139
|
-
exceptionCtor: __BaseException,
|
|
7140
7044
|
errorCode,
|
|
7141
7045
|
});
|
|
7142
7046
|
}
|
|
@@ -7195,10 +7099,9 @@ const de_UpdateFieldLevelEncryptionConfigCommandError = async (output, context)
|
|
|
7195
7099
|
throw await de_TooManyFieldLevelEncryptionQueryArgProfilesRes(parsedOutput, context);
|
|
7196
7100
|
default:
|
|
7197
7101
|
const parsedBody = parsedOutput.body;
|
|
7198
|
-
throwDefaultError({
|
|
7102
|
+
return throwDefaultError({
|
|
7199
7103
|
output,
|
|
7200
7104
|
parsedBody: parsedBody.Error,
|
|
7201
|
-
exceptionCtor: __BaseException,
|
|
7202
7105
|
errorCode,
|
|
7203
7106
|
});
|
|
7204
7107
|
}
|
|
@@ -7260,10 +7163,9 @@ const de_UpdateFieldLevelEncryptionProfileCommandError = async (output, context)
|
|
|
7260
7163
|
throw await de_TooManyFieldLevelEncryptionFieldPatternsRes(parsedOutput, context);
|
|
7261
7164
|
default:
|
|
7262
7165
|
const parsedBody = parsedOutput.body;
|
|
7263
|
-
throwDefaultError({
|
|
7166
|
+
return throwDefaultError({
|
|
7264
7167
|
output,
|
|
7265
7168
|
parsedBody: parsedBody.Error,
|
|
7266
|
-
exceptionCtor: __BaseException,
|
|
7267
7169
|
errorCode,
|
|
7268
7170
|
});
|
|
7269
7171
|
}
|
|
@@ -7307,10 +7209,9 @@ const de_UpdateFunctionCommandError = async (output, context) => {
|
|
|
7307
7209
|
throw await de_UnsupportedOperationRes(parsedOutput, context);
|
|
7308
7210
|
default:
|
|
7309
7211
|
const parsedBody = parsedOutput.body;
|
|
7310
|
-
throwDefaultError({
|
|
7212
|
+
return throwDefaultError({
|
|
7311
7213
|
output,
|
|
7312
7214
|
parsedBody: parsedBody.Error,
|
|
7313
|
-
exceptionCtor: __BaseException,
|
|
7314
7215
|
errorCode,
|
|
7315
7216
|
});
|
|
7316
7217
|
}
|
|
@@ -7354,10 +7255,9 @@ const de_UpdateKeyGroupCommandError = async (output, context) => {
|
|
|
7354
7255
|
throw await de_TooManyPublicKeysInKeyGroupRes(parsedOutput, context);
|
|
7355
7256
|
default:
|
|
7356
7257
|
const parsedBody = parsedOutput.body;
|
|
7357
|
-
throwDefaultError({
|
|
7258
|
+
return throwDefaultError({
|
|
7358
7259
|
output,
|
|
7359
7260
|
parsedBody: parsedBody.Error,
|
|
7360
|
-
exceptionCtor: __BaseException,
|
|
7361
7261
|
errorCode,
|
|
7362
7262
|
});
|
|
7363
7263
|
}
|
|
@@ -7404,10 +7304,9 @@ const de_UpdateOriginAccessControlCommandError = async (output, context) => {
|
|
|
7404
7304
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
7405
7305
|
default:
|
|
7406
7306
|
const parsedBody = parsedOutput.body;
|
|
7407
|
-
throwDefaultError({
|
|
7307
|
+
return throwDefaultError({
|
|
7408
7308
|
output,
|
|
7409
7309
|
parsedBody: parsedBody.Error,
|
|
7410
|
-
exceptionCtor: __BaseException,
|
|
7411
7310
|
errorCode,
|
|
7412
7311
|
});
|
|
7413
7312
|
}
|
|
@@ -7466,10 +7365,9 @@ const de_UpdateOriginRequestPolicyCommandError = async (output, context) => {
|
|
|
7466
7365
|
throw await de_TooManyQueryStringsInOriginRequestPolicyRes(parsedOutput, context);
|
|
7467
7366
|
default:
|
|
7468
7367
|
const parsedBody = parsedOutput.body;
|
|
7469
|
-
throwDefaultError({
|
|
7368
|
+
return throwDefaultError({
|
|
7470
7369
|
output,
|
|
7471
7370
|
parsedBody: parsedBody.Error,
|
|
7472
|
-
exceptionCtor: __BaseException,
|
|
7473
7371
|
errorCode,
|
|
7474
7372
|
});
|
|
7475
7373
|
}
|
|
@@ -7516,10 +7414,9 @@ const de_UpdatePublicKeyCommandError = async (output, context) => {
|
|
|
7516
7414
|
throw await de_PreconditionFailedRes(parsedOutput, context);
|
|
7517
7415
|
default:
|
|
7518
7416
|
const parsedBody = parsedOutput.body;
|
|
7519
|
-
throwDefaultError({
|
|
7417
|
+
return throwDefaultError({
|
|
7520
7418
|
output,
|
|
7521
7419
|
parsedBody: parsedBody.Error,
|
|
7522
|
-
exceptionCtor: __BaseException,
|
|
7523
7420
|
errorCode,
|
|
7524
7421
|
});
|
|
7525
7422
|
}
|
|
@@ -7555,10 +7452,9 @@ const de_UpdateRealtimeLogConfigCommandError = async (output, context) => {
|
|
|
7555
7452
|
throw await de_NoSuchRealtimeLogConfigRes(parsedOutput, context);
|
|
7556
7453
|
default:
|
|
7557
7454
|
const parsedBody = parsedOutput.body;
|
|
7558
|
-
throwDefaultError({
|
|
7455
|
+
return throwDefaultError({
|
|
7559
7456
|
output,
|
|
7560
7457
|
parsedBody: parsedBody.Error,
|
|
7561
|
-
exceptionCtor: __BaseException,
|
|
7562
7458
|
errorCode,
|
|
7563
7459
|
});
|
|
7564
7460
|
}
|
|
@@ -7617,10 +7513,9 @@ const de_UpdateResponseHeadersPolicyCommandError = async (output, context) => {
|
|
|
7617
7513
|
throw await de_TooManyRemoveHeadersInResponseHeadersPolicyRes(parsedOutput, context);
|
|
7618
7514
|
default:
|
|
7619
7515
|
const parsedBody = parsedOutput.body;
|
|
7620
|
-
throwDefaultError({
|
|
7516
|
+
return throwDefaultError({
|
|
7621
7517
|
output,
|
|
7622
7518
|
parsedBody: parsedBody.Error,
|
|
7623
|
-
exceptionCtor: __BaseException,
|
|
7624
7519
|
errorCode,
|
|
7625
7520
|
});
|
|
7626
7521
|
}
|
|
@@ -7688,15 +7583,14 @@ const de_UpdateStreamingDistributionCommandError = async (output, context) => {
|
|
|
7688
7583
|
throw await de_TrustedSignerDoesNotExistRes(parsedOutput, context);
|
|
7689
7584
|
default:
|
|
7690
7585
|
const parsedBody = parsedOutput.body;
|
|
7691
|
-
throwDefaultError({
|
|
7586
|
+
return throwDefaultError({
|
|
7692
7587
|
output,
|
|
7693
7588
|
parsedBody: parsedBody.Error,
|
|
7694
|
-
exceptionCtor: __BaseException,
|
|
7695
7589
|
errorCode,
|
|
7696
7590
|
});
|
|
7697
7591
|
}
|
|
7698
7592
|
};
|
|
7699
|
-
const
|
|
7593
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
7700
7594
|
const de_AccessDeniedRes = async (parsedOutput, context) => {
|
|
7701
7595
|
const contents = map({});
|
|
7702
7596
|
const data = parsedOutput.body.Error;
|