@aws-sdk/client-route-53 3.310.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 +229 -299
- package/dist-es/protocols/Aws_restXml.js +72 -142
- 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 { CidrBlockInUseException, CidrCollectionAlreadyExistsException, CidrCollectionInUseException, CidrCollectionVersionMismatchException, ConcurrentModification, ConflictingDomainExists, ConflictingTypes, DelegationSetAlreadyCreated, DelegationSetAlreadyReusable, DelegationSetInUse, DelegationSetNotAvailable, DelegationSetNotReusable, DNSSECNotFound, HealthCheckAlreadyExists, HealthCheckInUse, HealthCheckVersionMismatch, HostedZoneAlreadyExists, HostedZoneNotEmpty, HostedZoneNotFound, HostedZoneNotPrivate, HostedZonePartiallyDelegated, IncompatibleVersion, InsufficientCloudWatchLogsResourcePolicy, InvalidArgument, InvalidChangeBatch, InvalidDomainName, InvalidInput, InvalidKeySigningKeyName, InvalidKeySigningKeyStatus, InvalidKMSArn, InvalidPaginationToken, InvalidSigningStatus, InvalidTrafficPolicyDocument, InvalidVPCId, KeySigningKeyAlreadyExists, KeySigningKeyInParentDSRecord, KeySigningKeyInUse, KeySigningKeyWithActiveStatusNotFound, LastVPCAssociation, LimitsExceeded, NoSuchChange, NoSuchCidrCollectionException, NoSuchCidrLocationException, NoSuchCloudWatchLogsLogGroup, NoSuchDelegationSet, NoSuchGeoLocation, NoSuchHealthCheck, NoSuchHostedZone, NoSuchKeySigningKey, NoSuchQueryLoggingConfig, NoSuchTrafficPolicy, NoSuchTrafficPolicyInstance, NotAuthorizedException, PriorRequestNotComplete, PublicZoneVPCAssociation, QueryLoggingConfigAlreadyExists, ThrottlingException, TooManyHealthChecks, TooManyHostedZones, TooManyKeySigningKeys, TooManyTrafficPolicies, TooManyTrafficPolicyInstances, TooManyTrafficPolicyVersionsForCurrentPolicy, TooManyVPCAssociationAuthorizations, TrafficPolicyAlreadyExists, TrafficPolicyInstanceAlreadyExists, TrafficPolicyInUse, VPCAssociationAuthorizationNotFound, VPCAssociationNotFound, } from "../models/models_0";
|
|
@@ -1711,10 +1711,9 @@ const de_ActivateKeySigningKeyCommandError = async (output, context) => {
|
|
|
1711
1711
|
throw await de_NoSuchKeySigningKeyRes(parsedOutput, context);
|
|
1712
1712
|
default:
|
|
1713
1713
|
const parsedBody = parsedOutput.body;
|
|
1714
|
-
throwDefaultError({
|
|
1714
|
+
return throwDefaultError({
|
|
1715
1715
|
output,
|
|
1716
1716
|
parsedBody: parsedBody.Error,
|
|
1717
|
-
exceptionCtor: __BaseException,
|
|
1718
1717
|
errorCode,
|
|
1719
1718
|
});
|
|
1720
1719
|
}
|
|
@@ -1765,10 +1764,9 @@ const de_AssociateVPCWithHostedZoneCommandError = async (output, context) => {
|
|
|
1765
1764
|
throw await de_PublicZoneVPCAssociationRes(parsedOutput, context);
|
|
1766
1765
|
default:
|
|
1767
1766
|
const parsedBody = parsedOutput.body;
|
|
1768
|
-
throwDefaultError({
|
|
1767
|
+
return throwDefaultError({
|
|
1769
1768
|
output,
|
|
1770
1769
|
parsedBody: parsedBody.Error,
|
|
1771
|
-
exceptionCtor: __BaseException,
|
|
1772
1770
|
errorCode,
|
|
1773
1771
|
});
|
|
1774
1772
|
}
|
|
@@ -1813,10 +1811,9 @@ const de_ChangeCidrCollectionCommandError = async (output, context) => {
|
|
|
1813
1811
|
throw await de_NoSuchCidrCollectionExceptionRes(parsedOutput, context);
|
|
1814
1812
|
default:
|
|
1815
1813
|
const parsedBody = parsedOutput.body;
|
|
1816
|
-
throwDefaultError({
|
|
1814
|
+
return throwDefaultError({
|
|
1817
1815
|
output,
|
|
1818
1816
|
parsedBody: parsedBody.Error,
|
|
1819
|
-
exceptionCtor: __BaseException,
|
|
1820
1817
|
errorCode,
|
|
1821
1818
|
});
|
|
1822
1819
|
}
|
|
@@ -1858,10 +1855,9 @@ const de_ChangeResourceRecordSetsCommandError = async (output, context) => {
|
|
|
1858
1855
|
throw await de_PriorRequestNotCompleteRes(parsedOutput, context);
|
|
1859
1856
|
default:
|
|
1860
1857
|
const parsedBody = parsedOutput.body;
|
|
1861
|
-
throwDefaultError({
|
|
1858
|
+
return throwDefaultError({
|
|
1862
1859
|
output,
|
|
1863
1860
|
parsedBody: parsedBody.Error,
|
|
1864
|
-
exceptionCtor: __BaseException,
|
|
1865
1861
|
errorCode,
|
|
1866
1862
|
});
|
|
1867
1863
|
}
|
|
@@ -1900,10 +1896,9 @@ const de_ChangeTagsForResourceCommandError = async (output, context) => {
|
|
|
1900
1896
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1901
1897
|
default:
|
|
1902
1898
|
const parsedBody = parsedOutput.body;
|
|
1903
|
-
throwDefaultError({
|
|
1899
|
+
return throwDefaultError({
|
|
1904
1900
|
output,
|
|
1905
1901
|
parsedBody: parsedBody.Error,
|
|
1906
|
-
exceptionCtor: __BaseException,
|
|
1907
1902
|
errorCode,
|
|
1908
1903
|
});
|
|
1909
1904
|
}
|
|
@@ -1943,10 +1938,9 @@ const de_CreateCidrCollectionCommandError = async (output, context) => {
|
|
|
1943
1938
|
throw await de_LimitsExceededRes(parsedOutput, context);
|
|
1944
1939
|
default:
|
|
1945
1940
|
const parsedBody = parsedOutput.body;
|
|
1946
|
-
throwDefaultError({
|
|
1941
|
+
return throwDefaultError({
|
|
1947
1942
|
output,
|
|
1948
1943
|
parsedBody: parsedBody.Error,
|
|
1949
|
-
exceptionCtor: __BaseException,
|
|
1950
1944
|
errorCode,
|
|
1951
1945
|
});
|
|
1952
1946
|
}
|
|
@@ -1983,10 +1977,9 @@ const de_CreateHealthCheckCommandError = async (output, context) => {
|
|
|
1983
1977
|
throw await de_TooManyHealthChecksRes(parsedOutput, context);
|
|
1984
1978
|
default:
|
|
1985
1979
|
const parsedBody = parsedOutput.body;
|
|
1986
|
-
throwDefaultError({
|
|
1980
|
+
return throwDefaultError({
|
|
1987
1981
|
output,
|
|
1988
1982
|
parsedBody: parsedBody.Error,
|
|
1989
|
-
exceptionCtor: __BaseException,
|
|
1990
1983
|
errorCode,
|
|
1991
1984
|
});
|
|
1992
1985
|
}
|
|
@@ -2050,10 +2043,9 @@ const de_CreateHostedZoneCommandError = async (output, context) => {
|
|
|
2050
2043
|
throw await de_TooManyHostedZonesRes(parsedOutput, context);
|
|
2051
2044
|
default:
|
|
2052
2045
|
const parsedBody = parsedOutput.body;
|
|
2053
|
-
throwDefaultError({
|
|
2046
|
+
return throwDefaultError({
|
|
2054
2047
|
output,
|
|
2055
2048
|
parsedBody: parsedBody.Error,
|
|
2056
|
-
exceptionCtor: __BaseException,
|
|
2057
2049
|
errorCode,
|
|
2058
2050
|
});
|
|
2059
2051
|
}
|
|
@@ -2114,10 +2106,9 @@ const de_CreateKeySigningKeyCommandError = async (output, context) => {
|
|
|
2114
2106
|
throw await de_TooManyKeySigningKeysRes(parsedOutput, context);
|
|
2115
2107
|
default:
|
|
2116
2108
|
const parsedBody = parsedOutput.body;
|
|
2117
|
-
throwDefaultError({
|
|
2109
|
+
return throwDefaultError({
|
|
2118
2110
|
output,
|
|
2119
2111
|
parsedBody: parsedBody.Error,
|
|
2120
|
-
exceptionCtor: __BaseException,
|
|
2121
2112
|
errorCode,
|
|
2122
2113
|
});
|
|
2123
2114
|
}
|
|
@@ -2163,10 +2154,9 @@ const de_CreateQueryLoggingConfigCommandError = async (output, context) => {
|
|
|
2163
2154
|
throw await de_QueryLoggingConfigAlreadyExistsRes(parsedOutput, context);
|
|
2164
2155
|
default:
|
|
2165
2156
|
const parsedBody = parsedOutput.body;
|
|
2166
|
-
throwDefaultError({
|
|
2157
|
+
return throwDefaultError({
|
|
2167
2158
|
output,
|
|
2168
2159
|
parsedBody: parsedBody.Error,
|
|
2169
|
-
exceptionCtor: __BaseException,
|
|
2170
2160
|
errorCode,
|
|
2171
2161
|
});
|
|
2172
2162
|
}
|
|
@@ -2215,10 +2205,9 @@ const de_CreateReusableDelegationSetCommandError = async (output, context) => {
|
|
|
2215
2205
|
throw await de_LimitsExceededRes(parsedOutput, context);
|
|
2216
2206
|
default:
|
|
2217
2207
|
const parsedBody = parsedOutput.body;
|
|
2218
|
-
throwDefaultError({
|
|
2208
|
+
return throwDefaultError({
|
|
2219
2209
|
output,
|
|
2220
2210
|
parsedBody: parsedBody.Error,
|
|
2221
|
-
exceptionCtor: __BaseException,
|
|
2222
2211
|
errorCode,
|
|
2223
2212
|
});
|
|
2224
2213
|
}
|
|
@@ -2258,10 +2247,9 @@ const de_CreateTrafficPolicyCommandError = async (output, context) => {
|
|
|
2258
2247
|
throw await de_TrafficPolicyAlreadyExistsRes(parsedOutput, context);
|
|
2259
2248
|
default:
|
|
2260
2249
|
const parsedBody = parsedOutput.body;
|
|
2261
|
-
throwDefaultError({
|
|
2250
|
+
return throwDefaultError({
|
|
2262
2251
|
output,
|
|
2263
2252
|
parsedBody: parsedBody.Error,
|
|
2264
|
-
exceptionCtor: __BaseException,
|
|
2265
2253
|
errorCode,
|
|
2266
2254
|
});
|
|
2267
2255
|
}
|
|
@@ -2304,10 +2292,9 @@ const de_CreateTrafficPolicyInstanceCommandError = async (output, context) => {
|
|
|
2304
2292
|
throw await de_TrafficPolicyInstanceAlreadyExistsRes(parsedOutput, context);
|
|
2305
2293
|
default:
|
|
2306
2294
|
const parsedBody = parsedOutput.body;
|
|
2307
|
-
throwDefaultError({
|
|
2295
|
+
return throwDefaultError({
|
|
2308
2296
|
output,
|
|
2309
2297
|
parsedBody: parsedBody.Error,
|
|
2310
|
-
exceptionCtor: __BaseException,
|
|
2311
2298
|
errorCode,
|
|
2312
2299
|
});
|
|
2313
2300
|
}
|
|
@@ -2350,10 +2337,9 @@ const de_CreateTrafficPolicyVersionCommandError = async (output, context) => {
|
|
|
2350
2337
|
throw await de_TooManyTrafficPolicyVersionsForCurrentPolicyRes(parsedOutput, context);
|
|
2351
2338
|
default:
|
|
2352
2339
|
const parsedBody = parsedOutput.body;
|
|
2353
|
-
throwDefaultError({
|
|
2340
|
+
return throwDefaultError({
|
|
2354
2341
|
output,
|
|
2355
2342
|
parsedBody: parsedBody.Error,
|
|
2356
|
-
exceptionCtor: __BaseException,
|
|
2357
2343
|
errorCode,
|
|
2358
2344
|
});
|
|
2359
2345
|
}
|
|
@@ -2398,10 +2384,9 @@ const de_CreateVPCAssociationAuthorizationCommandError = async (output, context)
|
|
|
2398
2384
|
throw await de_TooManyVPCAssociationAuthorizationsRes(parsedOutput, context);
|
|
2399
2385
|
default:
|
|
2400
2386
|
const parsedBody = parsedOutput.body;
|
|
2401
|
-
throwDefaultError({
|
|
2387
|
+
return throwDefaultError({
|
|
2402
2388
|
output,
|
|
2403
2389
|
parsedBody: parsedBody.Error,
|
|
2404
|
-
exceptionCtor: __BaseException,
|
|
2405
2390
|
errorCode,
|
|
2406
2391
|
});
|
|
2407
2392
|
}
|
|
@@ -2449,10 +2434,9 @@ const de_DeactivateKeySigningKeyCommandError = async (output, context) => {
|
|
|
2449
2434
|
throw await de_NoSuchKeySigningKeyRes(parsedOutput, context);
|
|
2450
2435
|
default:
|
|
2451
2436
|
const parsedBody = parsedOutput.body;
|
|
2452
|
-
throwDefaultError({
|
|
2437
|
+
return throwDefaultError({
|
|
2453
2438
|
output,
|
|
2454
2439
|
parsedBody: parsedBody.Error,
|
|
2455
|
-
exceptionCtor: __BaseException,
|
|
2456
2440
|
errorCode,
|
|
2457
2441
|
});
|
|
2458
2442
|
}
|
|
@@ -2488,10 +2472,9 @@ const de_DeleteCidrCollectionCommandError = async (output, context) => {
|
|
|
2488
2472
|
throw await de_NoSuchCidrCollectionExceptionRes(parsedOutput, context);
|
|
2489
2473
|
default:
|
|
2490
2474
|
const parsedBody = parsedOutput.body;
|
|
2491
|
-
throwDefaultError({
|
|
2475
|
+
return throwDefaultError({
|
|
2492
2476
|
output,
|
|
2493
2477
|
parsedBody: parsedBody.Error,
|
|
2494
|
-
exceptionCtor: __BaseException,
|
|
2495
2478
|
errorCode,
|
|
2496
2479
|
});
|
|
2497
2480
|
}
|
|
@@ -2524,10 +2507,9 @@ const de_DeleteHealthCheckCommandError = async (output, context) => {
|
|
|
2524
2507
|
throw await de_NoSuchHealthCheckRes(parsedOutput, context);
|
|
2525
2508
|
default:
|
|
2526
2509
|
const parsedBody = parsedOutput.body;
|
|
2527
|
-
throwDefaultError({
|
|
2510
|
+
return throwDefaultError({
|
|
2528
2511
|
output,
|
|
2529
2512
|
parsedBody: parsedBody.Error,
|
|
2530
|
-
exceptionCtor: __BaseException,
|
|
2531
2513
|
errorCode,
|
|
2532
2514
|
});
|
|
2533
2515
|
}
|
|
@@ -2569,10 +2551,9 @@ const de_DeleteHostedZoneCommandError = async (output, context) => {
|
|
|
2569
2551
|
throw await de_PriorRequestNotCompleteRes(parsedOutput, context);
|
|
2570
2552
|
default:
|
|
2571
2553
|
const parsedBody = parsedOutput.body;
|
|
2572
|
-
throwDefaultError({
|
|
2554
|
+
return throwDefaultError({
|
|
2573
2555
|
output,
|
|
2574
2556
|
parsedBody: parsedBody.Error,
|
|
2575
|
-
exceptionCtor: __BaseException,
|
|
2576
2557
|
errorCode,
|
|
2577
2558
|
});
|
|
2578
2559
|
}
|
|
@@ -2617,10 +2598,9 @@ const de_DeleteKeySigningKeyCommandError = async (output, context) => {
|
|
|
2617
2598
|
throw await de_NoSuchKeySigningKeyRes(parsedOutput, context);
|
|
2618
2599
|
default:
|
|
2619
2600
|
const parsedBody = parsedOutput.body;
|
|
2620
|
-
throwDefaultError({
|
|
2601
|
+
return throwDefaultError({
|
|
2621
2602
|
output,
|
|
2622
2603
|
parsedBody: parsedBody.Error,
|
|
2623
|
-
exceptionCtor: __BaseException,
|
|
2624
2604
|
errorCode,
|
|
2625
2605
|
});
|
|
2626
2606
|
}
|
|
@@ -2653,10 +2633,9 @@ const de_DeleteQueryLoggingConfigCommandError = async (output, context) => {
|
|
|
2653
2633
|
throw await de_NoSuchQueryLoggingConfigRes(parsedOutput, context);
|
|
2654
2634
|
default:
|
|
2655
2635
|
const parsedBody = parsedOutput.body;
|
|
2656
|
-
throwDefaultError({
|
|
2636
|
+
return throwDefaultError({
|
|
2657
2637
|
output,
|
|
2658
2638
|
parsedBody: parsedBody.Error,
|
|
2659
|
-
exceptionCtor: __BaseException,
|
|
2660
2639
|
errorCode,
|
|
2661
2640
|
});
|
|
2662
2641
|
}
|
|
@@ -2692,10 +2671,9 @@ const de_DeleteReusableDelegationSetCommandError = async (output, context) => {
|
|
|
2692
2671
|
throw await de_NoSuchDelegationSetRes(parsedOutput, context);
|
|
2693
2672
|
default:
|
|
2694
2673
|
const parsedBody = parsedOutput.body;
|
|
2695
|
-
throwDefaultError({
|
|
2674
|
+
return throwDefaultError({
|
|
2696
2675
|
output,
|
|
2697
2676
|
parsedBody: parsedBody.Error,
|
|
2698
|
-
exceptionCtor: __BaseException,
|
|
2699
2677
|
errorCode,
|
|
2700
2678
|
});
|
|
2701
2679
|
}
|
|
@@ -2731,10 +2709,9 @@ const de_DeleteTrafficPolicyCommandError = async (output, context) => {
|
|
|
2731
2709
|
throw await de_TrafficPolicyInUseRes(parsedOutput, context);
|
|
2732
2710
|
default:
|
|
2733
2711
|
const parsedBody = parsedOutput.body;
|
|
2734
|
-
throwDefaultError({
|
|
2712
|
+
return throwDefaultError({
|
|
2735
2713
|
output,
|
|
2736
2714
|
parsedBody: parsedBody.Error,
|
|
2737
|
-
exceptionCtor: __BaseException,
|
|
2738
2715
|
errorCode,
|
|
2739
2716
|
});
|
|
2740
2717
|
}
|
|
@@ -2767,10 +2744,9 @@ const de_DeleteTrafficPolicyInstanceCommandError = async (output, context) => {
|
|
|
2767
2744
|
throw await de_PriorRequestNotCompleteRes(parsedOutput, context);
|
|
2768
2745
|
default:
|
|
2769
2746
|
const parsedBody = parsedOutput.body;
|
|
2770
|
-
throwDefaultError({
|
|
2747
|
+
return throwDefaultError({
|
|
2771
2748
|
output,
|
|
2772
2749
|
parsedBody: parsedBody.Error,
|
|
2773
|
-
exceptionCtor: __BaseException,
|
|
2774
2750
|
errorCode,
|
|
2775
2751
|
});
|
|
2776
2752
|
}
|
|
@@ -2809,10 +2785,9 @@ const de_DeleteVPCAssociationAuthorizationCommandError = async (output, context)
|
|
|
2809
2785
|
throw await de_VPCAssociationAuthorizationNotFoundRes(parsedOutput, context);
|
|
2810
2786
|
default:
|
|
2811
2787
|
const parsedBody = parsedOutput.body;
|
|
2812
|
-
throwDefaultError({
|
|
2788
|
+
return throwDefaultError({
|
|
2813
2789
|
output,
|
|
2814
2790
|
parsedBody: parsedBody.Error,
|
|
2815
|
-
exceptionCtor: __BaseException,
|
|
2816
2791
|
errorCode,
|
|
2817
2792
|
});
|
|
2818
2793
|
}
|
|
@@ -2863,10 +2838,9 @@ const de_DisableHostedZoneDNSSECCommandError = async (output, context) => {
|
|
|
2863
2838
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
2864
2839
|
default:
|
|
2865
2840
|
const parsedBody = parsedOutput.body;
|
|
2866
|
-
throwDefaultError({
|
|
2841
|
+
return throwDefaultError({
|
|
2867
2842
|
output,
|
|
2868
2843
|
parsedBody: parsedBody.Error,
|
|
2869
|
-
exceptionCtor: __BaseException,
|
|
2870
2844
|
errorCode,
|
|
2871
2845
|
});
|
|
2872
2846
|
}
|
|
@@ -2908,10 +2882,9 @@ const de_DisassociateVPCFromHostedZoneCommandError = async (output, context) =>
|
|
|
2908
2882
|
throw await de_VPCAssociationNotFoundRes(parsedOutput, context);
|
|
2909
2883
|
default:
|
|
2910
2884
|
const parsedBody = parsedOutput.body;
|
|
2911
|
-
throwDefaultError({
|
|
2885
|
+
return throwDefaultError({
|
|
2912
2886
|
output,
|
|
2913
2887
|
parsedBody: parsedBody.Error,
|
|
2914
|
-
exceptionCtor: __BaseException,
|
|
2915
2888
|
errorCode,
|
|
2916
2889
|
});
|
|
2917
2890
|
}
|
|
@@ -2965,10 +2938,9 @@ const de_EnableHostedZoneDNSSECCommandError = async (output, context) => {
|
|
|
2965
2938
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
2966
2939
|
default:
|
|
2967
2940
|
const parsedBody = parsedOutput.body;
|
|
2968
|
-
throwDefaultError({
|
|
2941
|
+
return throwDefaultError({
|
|
2969
2942
|
output,
|
|
2970
2943
|
parsedBody: parsedBody.Error,
|
|
2971
|
-
exceptionCtor: __BaseException,
|
|
2972
2944
|
errorCode,
|
|
2973
2945
|
});
|
|
2974
2946
|
}
|
|
@@ -3001,10 +2973,9 @@ const de_GetAccountLimitCommandError = async (output, context) => {
|
|
|
3001
2973
|
throw await de_InvalidInputRes(parsedOutput, context);
|
|
3002
2974
|
default:
|
|
3003
2975
|
const parsedBody = parsedOutput.body;
|
|
3004
|
-
throwDefaultError({
|
|
2976
|
+
return throwDefaultError({
|
|
3005
2977
|
output,
|
|
3006
2978
|
parsedBody: parsedBody.Error,
|
|
3007
|
-
exceptionCtor: __BaseException,
|
|
3008
2979
|
errorCode,
|
|
3009
2980
|
});
|
|
3010
2981
|
}
|
|
@@ -3037,10 +3008,9 @@ const de_GetChangeCommandError = async (output, context) => {
|
|
|
3037
3008
|
throw await de_NoSuchChangeRes(parsedOutput, context);
|
|
3038
3009
|
default:
|
|
3039
3010
|
const parsedBody = parsedOutput.body;
|
|
3040
|
-
throwDefaultError({
|
|
3011
|
+
return throwDefaultError({
|
|
3041
3012
|
output,
|
|
3042
3013
|
parsedBody: parsedBody.Error,
|
|
3043
|
-
exceptionCtor: __BaseException,
|
|
3044
3014
|
errorCode,
|
|
3045
3015
|
});
|
|
3046
3016
|
}
|
|
@@ -3068,10 +3038,9 @@ const de_GetCheckerIpRangesCommandError = async (output, context) => {
|
|
|
3068
3038
|
};
|
|
3069
3039
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3070
3040
|
const parsedBody = parsedOutput.body;
|
|
3071
|
-
throwDefaultError({
|
|
3041
|
+
return throwDefaultError({
|
|
3072
3042
|
output,
|
|
3073
3043
|
parsedBody: parsedBody.Error,
|
|
3074
|
-
exceptionCtor: __BaseException,
|
|
3075
3044
|
errorCode,
|
|
3076
3045
|
});
|
|
3077
3046
|
};
|
|
@@ -3112,10 +3081,9 @@ const de_GetDNSSECCommandError = async (output, context) => {
|
|
|
3112
3081
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
3113
3082
|
default:
|
|
3114
3083
|
const parsedBody = parsedOutput.body;
|
|
3115
|
-
throwDefaultError({
|
|
3084
|
+
return throwDefaultError({
|
|
3116
3085
|
output,
|
|
3117
3086
|
parsedBody: parsedBody.Error,
|
|
3118
|
-
exceptionCtor: __BaseException,
|
|
3119
3087
|
errorCode,
|
|
3120
3088
|
});
|
|
3121
3089
|
}
|
|
@@ -3148,10 +3116,9 @@ const de_GetGeoLocationCommandError = async (output, context) => {
|
|
|
3148
3116
|
throw await de_NoSuchGeoLocationRes(parsedOutput, context);
|
|
3149
3117
|
default:
|
|
3150
3118
|
const parsedBody = parsedOutput.body;
|
|
3151
|
-
throwDefaultError({
|
|
3119
|
+
return throwDefaultError({
|
|
3152
3120
|
output,
|
|
3153
3121
|
parsedBody: parsedBody.Error,
|
|
3154
|
-
exceptionCtor: __BaseException,
|
|
3155
3122
|
errorCode,
|
|
3156
3123
|
});
|
|
3157
3124
|
}
|
|
@@ -3187,10 +3154,9 @@ const de_GetHealthCheckCommandError = async (output, context) => {
|
|
|
3187
3154
|
throw await de_NoSuchHealthCheckRes(parsedOutput, context);
|
|
3188
3155
|
default:
|
|
3189
3156
|
const parsedBody = parsedOutput.body;
|
|
3190
|
-
throwDefaultError({
|
|
3157
|
+
return throwDefaultError({
|
|
3191
3158
|
output,
|
|
3192
3159
|
parsedBody: parsedBody.Error,
|
|
3193
|
-
exceptionCtor: __BaseException,
|
|
3194
3160
|
errorCode,
|
|
3195
3161
|
});
|
|
3196
3162
|
}
|
|
@@ -3215,10 +3181,9 @@ const de_GetHealthCheckCountCommandError = async (output, context) => {
|
|
|
3215
3181
|
};
|
|
3216
3182
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3217
3183
|
const parsedBody = parsedOutput.body;
|
|
3218
|
-
throwDefaultError({
|
|
3184
|
+
return throwDefaultError({
|
|
3219
3185
|
output,
|
|
3220
3186
|
parsedBody: parsedBody.Error,
|
|
3221
|
-
exceptionCtor: __BaseException,
|
|
3222
3187
|
errorCode,
|
|
3223
3188
|
});
|
|
3224
3189
|
};
|
|
@@ -3254,10 +3219,9 @@ const de_GetHealthCheckLastFailureReasonCommandError = async (output, context) =
|
|
|
3254
3219
|
throw await de_NoSuchHealthCheckRes(parsedOutput, context);
|
|
3255
3220
|
default:
|
|
3256
3221
|
const parsedBody = parsedOutput.body;
|
|
3257
|
-
throwDefaultError({
|
|
3222
|
+
return throwDefaultError({
|
|
3258
3223
|
output,
|
|
3259
3224
|
parsedBody: parsedBody.Error,
|
|
3260
|
-
exceptionCtor: __BaseException,
|
|
3261
3225
|
errorCode,
|
|
3262
3226
|
});
|
|
3263
3227
|
}
|
|
@@ -3294,10 +3258,9 @@ const de_GetHealthCheckStatusCommandError = async (output, context) => {
|
|
|
3294
3258
|
throw await de_NoSuchHealthCheckRes(parsedOutput, context);
|
|
3295
3259
|
default:
|
|
3296
3260
|
const parsedBody = parsedOutput.body;
|
|
3297
|
-
throwDefaultError({
|
|
3261
|
+
return throwDefaultError({
|
|
3298
3262
|
output,
|
|
3299
3263
|
parsedBody: parsedBody.Error,
|
|
3300
|
-
exceptionCtor: __BaseException,
|
|
3301
3264
|
errorCode,
|
|
3302
3265
|
});
|
|
3303
3266
|
}
|
|
@@ -3339,10 +3302,9 @@ const de_GetHostedZoneCommandError = async (output, context) => {
|
|
|
3339
3302
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
3340
3303
|
default:
|
|
3341
3304
|
const parsedBody = parsedOutput.body;
|
|
3342
|
-
throwDefaultError({
|
|
3305
|
+
return throwDefaultError({
|
|
3343
3306
|
output,
|
|
3344
3307
|
parsedBody: parsedBody.Error,
|
|
3345
|
-
exceptionCtor: __BaseException,
|
|
3346
3308
|
errorCode,
|
|
3347
3309
|
});
|
|
3348
3310
|
}
|
|
@@ -3372,10 +3334,9 @@ const de_GetHostedZoneCountCommandError = async (output, context) => {
|
|
|
3372
3334
|
throw await de_InvalidInputRes(parsedOutput, context);
|
|
3373
3335
|
default:
|
|
3374
3336
|
const parsedBody = parsedOutput.body;
|
|
3375
|
-
throwDefaultError({
|
|
3337
|
+
return throwDefaultError({
|
|
3376
3338
|
output,
|
|
3377
3339
|
parsedBody: parsedBody.Error,
|
|
3378
|
-
exceptionCtor: __BaseException,
|
|
3379
3340
|
errorCode,
|
|
3380
3341
|
});
|
|
3381
3342
|
}
|
|
@@ -3414,10 +3375,9 @@ const de_GetHostedZoneLimitCommandError = async (output, context) => {
|
|
|
3414
3375
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
3415
3376
|
default:
|
|
3416
3377
|
const parsedBody = parsedOutput.body;
|
|
3417
|
-
throwDefaultError({
|
|
3378
|
+
return throwDefaultError({
|
|
3418
3379
|
output,
|
|
3419
3380
|
parsedBody: parsedBody.Error,
|
|
3420
|
-
exceptionCtor: __BaseException,
|
|
3421
3381
|
errorCode,
|
|
3422
3382
|
});
|
|
3423
3383
|
}
|
|
@@ -3450,10 +3410,9 @@ const de_GetQueryLoggingConfigCommandError = async (output, context) => {
|
|
|
3450
3410
|
throw await de_NoSuchQueryLoggingConfigRes(parsedOutput, context);
|
|
3451
3411
|
default:
|
|
3452
3412
|
const parsedBody = parsedOutput.body;
|
|
3453
|
-
throwDefaultError({
|
|
3413
|
+
return throwDefaultError({
|
|
3454
3414
|
output,
|
|
3455
3415
|
parsedBody: parsedBody.Error,
|
|
3456
|
-
exceptionCtor: __BaseException,
|
|
3457
3416
|
errorCode,
|
|
3458
3417
|
});
|
|
3459
3418
|
}
|
|
@@ -3489,10 +3448,9 @@ const de_GetReusableDelegationSetCommandError = async (output, context) => {
|
|
|
3489
3448
|
throw await de_NoSuchDelegationSetRes(parsedOutput, context);
|
|
3490
3449
|
default:
|
|
3491
3450
|
const parsedBody = parsedOutput.body;
|
|
3492
|
-
throwDefaultError({
|
|
3451
|
+
return throwDefaultError({
|
|
3493
3452
|
output,
|
|
3494
3453
|
parsedBody: parsedBody.Error,
|
|
3495
|
-
exceptionCtor: __BaseException,
|
|
3496
3454
|
errorCode,
|
|
3497
3455
|
});
|
|
3498
3456
|
}
|
|
@@ -3528,10 +3486,9 @@ const de_GetReusableDelegationSetLimitCommandError = async (output, context) =>
|
|
|
3528
3486
|
throw await de_NoSuchDelegationSetRes(parsedOutput, context);
|
|
3529
3487
|
default:
|
|
3530
3488
|
const parsedBody = parsedOutput.body;
|
|
3531
|
-
throwDefaultError({
|
|
3489
|
+
return throwDefaultError({
|
|
3532
3490
|
output,
|
|
3533
3491
|
parsedBody: parsedBody.Error,
|
|
3534
|
-
exceptionCtor: __BaseException,
|
|
3535
3492
|
errorCode,
|
|
3536
3493
|
});
|
|
3537
3494
|
}
|
|
@@ -3564,10 +3521,9 @@ const de_GetTrafficPolicyCommandError = async (output, context) => {
|
|
|
3564
3521
|
throw await de_NoSuchTrafficPolicyRes(parsedOutput, context);
|
|
3565
3522
|
default:
|
|
3566
3523
|
const parsedBody = parsedOutput.body;
|
|
3567
|
-
throwDefaultError({
|
|
3524
|
+
return throwDefaultError({
|
|
3568
3525
|
output,
|
|
3569
3526
|
parsedBody: parsedBody.Error,
|
|
3570
|
-
exceptionCtor: __BaseException,
|
|
3571
3527
|
errorCode,
|
|
3572
3528
|
});
|
|
3573
3529
|
}
|
|
@@ -3600,10 +3556,9 @@ const de_GetTrafficPolicyInstanceCommandError = async (output, context) => {
|
|
|
3600
3556
|
throw await de_NoSuchTrafficPolicyInstanceRes(parsedOutput, context);
|
|
3601
3557
|
default:
|
|
3602
3558
|
const parsedBody = parsedOutput.body;
|
|
3603
|
-
throwDefaultError({
|
|
3559
|
+
return throwDefaultError({
|
|
3604
3560
|
output,
|
|
3605
3561
|
parsedBody: parsedBody.Error,
|
|
3606
|
-
exceptionCtor: __BaseException,
|
|
3607
3562
|
errorCode,
|
|
3608
3563
|
});
|
|
3609
3564
|
}
|
|
@@ -3628,10 +3583,9 @@ const de_GetTrafficPolicyInstanceCountCommandError = async (output, context) =>
|
|
|
3628
3583
|
};
|
|
3629
3584
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3630
3585
|
const parsedBody = parsedOutput.body;
|
|
3631
|
-
throwDefaultError({
|
|
3586
|
+
return throwDefaultError({
|
|
3632
3587
|
output,
|
|
3633
3588
|
parsedBody: parsedBody.Error,
|
|
3634
|
-
exceptionCtor: __BaseException,
|
|
3635
3589
|
errorCode,
|
|
3636
3590
|
});
|
|
3637
3591
|
};
|
|
@@ -3672,10 +3626,9 @@ const de_ListCidrBlocksCommandError = async (output, context) => {
|
|
|
3672
3626
|
throw await de_NoSuchCidrLocationExceptionRes(parsedOutput, context);
|
|
3673
3627
|
default:
|
|
3674
3628
|
const parsedBody = parsedOutput.body;
|
|
3675
|
-
throwDefaultError({
|
|
3629
|
+
return throwDefaultError({
|
|
3676
3630
|
output,
|
|
3677
3631
|
parsedBody: parsedBody.Error,
|
|
3678
|
-
exceptionCtor: __BaseException,
|
|
3679
3632
|
errorCode,
|
|
3680
3633
|
});
|
|
3681
3634
|
}
|
|
@@ -3711,10 +3664,9 @@ const de_ListCidrCollectionsCommandError = async (output, context) => {
|
|
|
3711
3664
|
throw await de_InvalidInputRes(parsedOutput, context);
|
|
3712
3665
|
default:
|
|
3713
3666
|
const parsedBody = parsedOutput.body;
|
|
3714
|
-
throwDefaultError({
|
|
3667
|
+
return throwDefaultError({
|
|
3715
3668
|
output,
|
|
3716
3669
|
parsedBody: parsedBody.Error,
|
|
3717
|
-
exceptionCtor: __BaseException,
|
|
3718
3670
|
errorCode,
|
|
3719
3671
|
});
|
|
3720
3672
|
}
|
|
@@ -3753,10 +3705,9 @@ const de_ListCidrLocationsCommandError = async (output, context) => {
|
|
|
3753
3705
|
throw await de_NoSuchCidrCollectionExceptionRes(parsedOutput, context);
|
|
3754
3706
|
default:
|
|
3755
3707
|
const parsedBody = parsedOutput.body;
|
|
3756
|
-
throwDefaultError({
|
|
3708
|
+
return throwDefaultError({
|
|
3757
3709
|
output,
|
|
3758
3710
|
parsedBody: parsedBody.Error,
|
|
3759
|
-
exceptionCtor: __BaseException,
|
|
3760
3711
|
errorCode,
|
|
3761
3712
|
});
|
|
3762
3713
|
}
|
|
@@ -3805,10 +3756,9 @@ const de_ListGeoLocationsCommandError = async (output, context) => {
|
|
|
3805
3756
|
throw await de_InvalidInputRes(parsedOutput, context);
|
|
3806
3757
|
default:
|
|
3807
3758
|
const parsedBody = parsedOutput.body;
|
|
3808
|
-
throwDefaultError({
|
|
3759
|
+
return throwDefaultError({
|
|
3809
3760
|
output,
|
|
3810
3761
|
parsedBody: parsedBody.Error,
|
|
3811
|
-
exceptionCtor: __BaseException,
|
|
3812
3762
|
errorCode,
|
|
3813
3763
|
});
|
|
3814
3764
|
}
|
|
@@ -3856,10 +3806,9 @@ const de_ListHealthChecksCommandError = async (output, context) => {
|
|
|
3856
3806
|
throw await de_InvalidInputRes(parsedOutput, context);
|
|
3857
3807
|
default:
|
|
3858
3808
|
const parsedBody = parsedOutput.body;
|
|
3859
|
-
throwDefaultError({
|
|
3809
|
+
return throwDefaultError({
|
|
3860
3810
|
output,
|
|
3861
3811
|
parsedBody: parsedBody.Error,
|
|
3862
|
-
exceptionCtor: __BaseException,
|
|
3863
3812
|
errorCode,
|
|
3864
3813
|
});
|
|
3865
3814
|
}
|
|
@@ -3910,10 +3859,9 @@ const de_ListHostedZonesCommandError = async (output, context) => {
|
|
|
3910
3859
|
throw await de_NoSuchDelegationSetRes(parsedOutput, context);
|
|
3911
3860
|
default:
|
|
3912
3861
|
const parsedBody = parsedOutput.body;
|
|
3913
|
-
throwDefaultError({
|
|
3862
|
+
return throwDefaultError({
|
|
3914
3863
|
output,
|
|
3915
3864
|
parsedBody: parsedBody.Error,
|
|
3916
|
-
exceptionCtor: __BaseException,
|
|
3917
3865
|
errorCode,
|
|
3918
3866
|
});
|
|
3919
3867
|
}
|
|
@@ -3967,10 +3915,9 @@ const de_ListHostedZonesByNameCommandError = async (output, context) => {
|
|
|
3967
3915
|
throw await de_InvalidInputRes(parsedOutput, context);
|
|
3968
3916
|
default:
|
|
3969
3917
|
const parsedBody = parsedOutput.body;
|
|
3970
|
-
throwDefaultError({
|
|
3918
|
+
return throwDefaultError({
|
|
3971
3919
|
output,
|
|
3972
3920
|
parsedBody: parsedBody.Error,
|
|
3973
|
-
exceptionCtor: __BaseException,
|
|
3974
3921
|
errorCode,
|
|
3975
3922
|
});
|
|
3976
3923
|
}
|
|
@@ -4013,10 +3960,9 @@ const de_ListHostedZonesByVPCCommandError = async (output, context) => {
|
|
|
4013
3960
|
throw await de_InvalidPaginationTokenRes(parsedOutput, context);
|
|
4014
3961
|
default:
|
|
4015
3962
|
const parsedBody = parsedOutput.body;
|
|
4016
|
-
throwDefaultError({
|
|
3963
|
+
return throwDefaultError({
|
|
4017
3964
|
output,
|
|
4018
3965
|
parsedBody: parsedBody.Error,
|
|
4019
|
-
exceptionCtor: __BaseException,
|
|
4020
3966
|
errorCode,
|
|
4021
3967
|
});
|
|
4022
3968
|
}
|
|
@@ -4059,10 +4005,9 @@ const de_ListQueryLoggingConfigsCommandError = async (output, context) => {
|
|
|
4059
4005
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
4060
4006
|
default:
|
|
4061
4007
|
const parsedBody = parsedOutput.body;
|
|
4062
|
-
throwDefaultError({
|
|
4008
|
+
return throwDefaultError({
|
|
4063
4009
|
output,
|
|
4064
4010
|
parsedBody: parsedBody.Error,
|
|
4065
|
-
exceptionCtor: __BaseException,
|
|
4066
4011
|
errorCode,
|
|
4067
4012
|
});
|
|
4068
4013
|
}
|
|
@@ -4114,10 +4059,9 @@ const de_ListResourceRecordSetsCommandError = async (output, context) => {
|
|
|
4114
4059
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
4115
4060
|
default:
|
|
4116
4061
|
const parsedBody = parsedOutput.body;
|
|
4117
|
-
throwDefaultError({
|
|
4062
|
+
return throwDefaultError({
|
|
4118
4063
|
output,
|
|
4119
4064
|
parsedBody: parsedBody.Error,
|
|
4120
|
-
exceptionCtor: __BaseException,
|
|
4121
4065
|
errorCode,
|
|
4122
4066
|
});
|
|
4123
4067
|
}
|
|
@@ -4162,10 +4106,9 @@ const de_ListReusableDelegationSetsCommandError = async (output, context) => {
|
|
|
4162
4106
|
throw await de_InvalidInputRes(parsedOutput, context);
|
|
4163
4107
|
default:
|
|
4164
4108
|
const parsedBody = parsedOutput.body;
|
|
4165
|
-
throwDefaultError({
|
|
4109
|
+
return throwDefaultError({
|
|
4166
4110
|
output,
|
|
4167
4111
|
parsedBody: parsedBody.Error,
|
|
4168
|
-
exceptionCtor: __BaseException,
|
|
4169
4112
|
errorCode,
|
|
4170
4113
|
});
|
|
4171
4114
|
}
|
|
@@ -4207,10 +4150,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
4207
4150
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4208
4151
|
default:
|
|
4209
4152
|
const parsedBody = parsedOutput.body;
|
|
4210
|
-
throwDefaultError({
|
|
4153
|
+
return throwDefaultError({
|
|
4211
4154
|
output,
|
|
4212
4155
|
parsedBody: parsedBody.Error,
|
|
4213
|
-
exceptionCtor: __BaseException,
|
|
4214
4156
|
errorCode,
|
|
4215
4157
|
});
|
|
4216
4158
|
}
|
|
@@ -4255,10 +4197,9 @@ const de_ListTagsForResourcesCommandError = async (output, context) => {
|
|
|
4255
4197
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4256
4198
|
default:
|
|
4257
4199
|
const parsedBody = parsedOutput.body;
|
|
4258
|
-
throwDefaultError({
|
|
4200
|
+
return throwDefaultError({
|
|
4259
4201
|
output,
|
|
4260
4202
|
parsedBody: parsedBody.Error,
|
|
4261
|
-
exceptionCtor: __BaseException,
|
|
4262
4203
|
errorCode,
|
|
4263
4204
|
});
|
|
4264
4205
|
}
|
|
@@ -4301,10 +4242,9 @@ const de_ListTrafficPoliciesCommandError = async (output, context) => {
|
|
|
4301
4242
|
throw await de_InvalidInputRes(parsedOutput, context);
|
|
4302
4243
|
default:
|
|
4303
4244
|
const parsedBody = parsedOutput.body;
|
|
4304
|
-
throwDefaultError({
|
|
4245
|
+
return throwDefaultError({
|
|
4305
4246
|
output,
|
|
4306
4247
|
parsedBody: parsedBody.Error,
|
|
4307
|
-
exceptionCtor: __BaseException,
|
|
4308
4248
|
errorCode,
|
|
4309
4249
|
});
|
|
4310
4250
|
}
|
|
@@ -4356,10 +4296,9 @@ const de_ListTrafficPolicyInstancesCommandError = async (output, context) => {
|
|
|
4356
4296
|
throw await de_NoSuchTrafficPolicyInstanceRes(parsedOutput, context);
|
|
4357
4297
|
default:
|
|
4358
4298
|
const parsedBody = parsedOutput.body;
|
|
4359
|
-
throwDefaultError({
|
|
4299
|
+
return throwDefaultError({
|
|
4360
4300
|
output,
|
|
4361
4301
|
parsedBody: parsedBody.Error,
|
|
4362
|
-
exceptionCtor: __BaseException,
|
|
4363
4302
|
errorCode,
|
|
4364
4303
|
});
|
|
4365
4304
|
}
|
|
@@ -4411,10 +4350,9 @@ const de_ListTrafficPolicyInstancesByHostedZoneCommandError = async (output, con
|
|
|
4411
4350
|
throw await de_NoSuchTrafficPolicyInstanceRes(parsedOutput, context);
|
|
4412
4351
|
default:
|
|
4413
4352
|
const parsedBody = parsedOutput.body;
|
|
4414
|
-
throwDefaultError({
|
|
4353
|
+
return throwDefaultError({
|
|
4415
4354
|
output,
|
|
4416
4355
|
parsedBody: parsedBody.Error,
|
|
4417
|
-
exceptionCtor: __BaseException,
|
|
4418
4356
|
errorCode,
|
|
4419
4357
|
});
|
|
4420
4358
|
}
|
|
@@ -4469,10 +4407,9 @@ const de_ListTrafficPolicyInstancesByPolicyCommandError = async (output, context
|
|
|
4469
4407
|
throw await de_NoSuchTrafficPolicyInstanceRes(parsedOutput, context);
|
|
4470
4408
|
default:
|
|
4471
4409
|
const parsedBody = parsedOutput.body;
|
|
4472
|
-
throwDefaultError({
|
|
4410
|
+
return throwDefaultError({
|
|
4473
4411
|
output,
|
|
4474
4412
|
parsedBody: parsedBody.Error,
|
|
4475
|
-
exceptionCtor: __BaseException,
|
|
4476
4413
|
errorCode,
|
|
4477
4414
|
});
|
|
4478
4415
|
}
|
|
@@ -4517,10 +4454,9 @@ const de_ListTrafficPolicyVersionsCommandError = async (output, context) => {
|
|
|
4517
4454
|
throw await de_NoSuchTrafficPolicyRes(parsedOutput, context);
|
|
4518
4455
|
default:
|
|
4519
4456
|
const parsedBody = parsedOutput.body;
|
|
4520
|
-
throwDefaultError({
|
|
4457
|
+
return throwDefaultError({
|
|
4521
4458
|
output,
|
|
4522
4459
|
parsedBody: parsedBody.Error,
|
|
4523
|
-
exceptionCtor: __BaseException,
|
|
4524
4460
|
errorCode,
|
|
4525
4461
|
});
|
|
4526
4462
|
}
|
|
@@ -4565,10 +4501,9 @@ const de_ListVPCAssociationAuthorizationsCommandError = async (output, context)
|
|
|
4565
4501
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
4566
4502
|
default:
|
|
4567
4503
|
const parsedBody = parsedOutput.body;
|
|
4568
|
-
throwDefaultError({
|
|
4504
|
+
return throwDefaultError({
|
|
4569
4505
|
output,
|
|
4570
4506
|
parsedBody: parsedBody.Error,
|
|
4571
|
-
exceptionCtor: __BaseException,
|
|
4572
4507
|
errorCode,
|
|
4573
4508
|
});
|
|
4574
4509
|
}
|
|
@@ -4619,10 +4554,9 @@ const de_TestDNSAnswerCommandError = async (output, context) => {
|
|
|
4619
4554
|
throw await de_NoSuchHostedZoneRes(parsedOutput, context);
|
|
4620
4555
|
default:
|
|
4621
4556
|
const parsedBody = parsedOutput.body;
|
|
4622
|
-
throwDefaultError({
|
|
4557
|
+
return throwDefaultError({
|
|
4623
4558
|
output,
|
|
4624
4559
|
parsedBody: parsedBody.Error,
|
|
4625
|
-
exceptionCtor: __BaseException,
|
|
4626
4560
|
errorCode,
|
|
4627
4561
|
});
|
|
4628
4562
|
}
|
|
@@ -4658,10 +4592,9 @@ const de_UpdateHealthCheckCommandError = async (output, context) => {
|
|
|
4658
4592
|
throw await de_NoSuchHealthCheckRes(parsedOutput, context);
|
|
4659
4593
|
default:
|
|
4660
4594
|
const parsedBody = parsedOutput.body;
|
|
4661
|
-
throwDefaultError({
|
|
4595
|
+
return throwDefaultError({
|
|
4662
4596
|
output,
|
|
4663
4597
|
parsedBody: parsedBody.Error,
|
|
4664
|
-
exceptionCtor: __BaseException,
|
|
4665
4598
|
errorCode,
|
|
4666
4599
|
});
|
|
4667
4600
|
}
|
|
@@ -4697,10 +4630,9 @@ const de_UpdateHostedZoneCommentCommandError = async (output, context) => {
|
|
|
4697
4630
|
throw await de_PriorRequestNotCompleteRes(parsedOutput, context);
|
|
4698
4631
|
default:
|
|
4699
4632
|
const parsedBody = parsedOutput.body;
|
|
4700
|
-
throwDefaultError({
|
|
4633
|
+
return throwDefaultError({
|
|
4701
4634
|
output,
|
|
4702
4635
|
parsedBody: parsedBody.Error,
|
|
4703
|
-
exceptionCtor: __BaseException,
|
|
4704
4636
|
errorCode,
|
|
4705
4637
|
});
|
|
4706
4638
|
}
|
|
@@ -4736,10 +4668,9 @@ const de_UpdateTrafficPolicyCommentCommandError = async (output, context) => {
|
|
|
4736
4668
|
throw await de_NoSuchTrafficPolicyRes(parsedOutput, context);
|
|
4737
4669
|
default:
|
|
4738
4670
|
const parsedBody = parsedOutput.body;
|
|
4739
|
-
throwDefaultError({
|
|
4671
|
+
return throwDefaultError({
|
|
4740
4672
|
output,
|
|
4741
4673
|
parsedBody: parsedBody.Error,
|
|
4742
|
-
exceptionCtor: __BaseException,
|
|
4743
4674
|
errorCode,
|
|
4744
4675
|
});
|
|
4745
4676
|
}
|
|
@@ -4781,15 +4712,14 @@ const de_UpdateTrafficPolicyInstanceCommandError = async (output, context) => {
|
|
|
4781
4712
|
throw await de_PriorRequestNotCompleteRes(parsedOutput, context);
|
|
4782
4713
|
default:
|
|
4783
4714
|
const parsedBody = parsedOutput.body;
|
|
4784
|
-
throwDefaultError({
|
|
4715
|
+
return throwDefaultError({
|
|
4785
4716
|
output,
|
|
4786
4717
|
parsedBody: parsedBody.Error,
|
|
4787
|
-
exceptionCtor: __BaseException,
|
|
4788
4718
|
errorCode,
|
|
4789
4719
|
});
|
|
4790
4720
|
}
|
|
4791
4721
|
};
|
|
4792
|
-
const
|
|
4722
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
4793
4723
|
const de_CidrBlockInUseExceptionRes = async (parsedOutput, context) => {
|
|
4794
4724
|
const contents = map({});
|
|
4795
4725
|
const data = parsedOutput.body.Error;
|