@aws-sdk/client-route-53 3.179.0 → 3.181.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist-cjs/protocols/Aws_restXml.js +93 -85
- package/dist-es/protocols/Aws_restXml.js +118 -103
- package/package.json +7 -7
|
@@ -1761,7 +1761,7 @@ exports.deserializeAws_restXmlActivateKeySigningKeyCommand = deserializeAws_rest
|
|
|
1761
1761
|
const deserializeAws_restXmlActivateKeySigningKeyCommandError = async (output, context) => {
|
|
1762
1762
|
const parsedOutput = {
|
|
1763
1763
|
...output,
|
|
1764
|
-
body: await
|
|
1764
|
+
body: await parseErrorBody(output.body, context),
|
|
1765
1765
|
};
|
|
1766
1766
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
1767
1767
|
switch (errorCode) {
|
|
@@ -1771,12 +1771,12 @@ const deserializeAws_restXmlActivateKeySigningKeyCommandError = async (output, c
|
|
|
1771
1771
|
case "InvalidInput":
|
|
1772
1772
|
case "com.amazonaws.route53#InvalidInput":
|
|
1773
1773
|
throw await deserializeAws_restXmlInvalidInputResponse(parsedOutput, context);
|
|
1774
|
-
case "InvalidKeySigningKeyStatus":
|
|
1775
|
-
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
1776
|
-
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
1777
1774
|
case "InvalidKMSArn":
|
|
1778
1775
|
case "com.amazonaws.route53#InvalidKMSArn":
|
|
1779
1776
|
throw await deserializeAws_restXmlInvalidKMSArnResponse(parsedOutput, context);
|
|
1777
|
+
case "InvalidKeySigningKeyStatus":
|
|
1778
|
+
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
1779
|
+
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
1780
1780
|
case "InvalidSigningStatus":
|
|
1781
1781
|
case "com.amazonaws.route53#InvalidSigningStatus":
|
|
1782
1782
|
throw await deserializeAws_restXmlInvalidSigningStatusResponse(parsedOutput, context);
|
|
@@ -1810,7 +1810,7 @@ exports.deserializeAws_restXmlAssociateVPCWithHostedZoneCommand = deserializeAws
|
|
|
1810
1810
|
const deserializeAws_restXmlAssociateVPCWithHostedZoneCommandError = async (output, context) => {
|
|
1811
1811
|
const parsedOutput = {
|
|
1812
1812
|
...output,
|
|
1813
|
-
body: await
|
|
1813
|
+
body: await parseErrorBody(output.body, context),
|
|
1814
1814
|
};
|
|
1815
1815
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
1816
1816
|
switch (errorCode) {
|
|
@@ -1865,7 +1865,7 @@ exports.deserializeAws_restXmlChangeCidrCollectionCommand = deserializeAws_restX
|
|
|
1865
1865
|
const deserializeAws_restXmlChangeCidrCollectionCommandError = async (output, context) => {
|
|
1866
1866
|
const parsedOutput = {
|
|
1867
1867
|
...output,
|
|
1868
|
-
body: await
|
|
1868
|
+
body: await parseErrorBody(output.body, context),
|
|
1869
1869
|
};
|
|
1870
1870
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
1871
1871
|
switch (errorCode) {
|
|
@@ -1914,7 +1914,7 @@ exports.deserializeAws_restXmlChangeResourceRecordSetsCommand = deserializeAws_r
|
|
|
1914
1914
|
const deserializeAws_restXmlChangeResourceRecordSetsCommandError = async (output, context) => {
|
|
1915
1915
|
const parsedOutput = {
|
|
1916
1916
|
...output,
|
|
1917
|
-
body: await
|
|
1917
|
+
body: await parseErrorBody(output.body, context),
|
|
1918
1918
|
};
|
|
1919
1919
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
1920
1920
|
switch (errorCode) {
|
|
@@ -1957,7 +1957,7 @@ exports.deserializeAws_restXmlChangeTagsForResourceCommand = deserializeAws_rest
|
|
|
1957
1957
|
const deserializeAws_restXmlChangeTagsForResourceCommandError = async (output, context) => {
|
|
1958
1958
|
const parsedOutput = {
|
|
1959
1959
|
...output,
|
|
1960
|
-
body: await
|
|
1960
|
+
body: await parseErrorBody(output.body, context),
|
|
1961
1961
|
};
|
|
1962
1962
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
1963
1963
|
switch (errorCode) {
|
|
@@ -2004,7 +2004,7 @@ exports.deserializeAws_restXmlCreateCidrCollectionCommand = deserializeAws_restX
|
|
|
2004
2004
|
const deserializeAws_restXmlCreateCidrCollectionCommandError = async (output, context) => {
|
|
2005
2005
|
const parsedOutput = {
|
|
2006
2006
|
...output,
|
|
2007
|
-
body: await
|
|
2007
|
+
body: await parseErrorBody(output.body, context),
|
|
2008
2008
|
};
|
|
2009
2009
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2010
2010
|
switch (errorCode) {
|
|
@@ -2048,7 +2048,7 @@ exports.deserializeAws_restXmlCreateHealthCheckCommand = deserializeAws_restXmlC
|
|
|
2048
2048
|
const deserializeAws_restXmlCreateHealthCheckCommandError = async (output, context) => {
|
|
2049
2049
|
const parsedOutput = {
|
|
2050
2050
|
...output,
|
|
2051
|
-
body: await
|
|
2051
|
+
body: await parseErrorBody(output.body, context),
|
|
2052
2052
|
};
|
|
2053
2053
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2054
2054
|
switch (errorCode) {
|
|
@@ -2098,7 +2098,7 @@ exports.deserializeAws_restXmlCreateHostedZoneCommand = deserializeAws_restXmlCr
|
|
|
2098
2098
|
const deserializeAws_restXmlCreateHostedZoneCommandError = async (output, context) => {
|
|
2099
2099
|
const parsedOutput = {
|
|
2100
2100
|
...output,
|
|
2101
|
-
body: await
|
|
2101
|
+
body: await parseErrorBody(output.body, context),
|
|
2102
2102
|
};
|
|
2103
2103
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2104
2104
|
switch (errorCode) {
|
|
@@ -2160,7 +2160,7 @@ exports.deserializeAws_restXmlCreateKeySigningKeyCommand = deserializeAws_restXm
|
|
|
2160
2160
|
const deserializeAws_restXmlCreateKeySigningKeyCommandError = async (output, context) => {
|
|
2161
2161
|
const parsedOutput = {
|
|
2162
2162
|
...output,
|
|
2163
|
-
body: await
|
|
2163
|
+
body: await parseErrorBody(output.body, context),
|
|
2164
2164
|
};
|
|
2165
2165
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2166
2166
|
switch (errorCode) {
|
|
@@ -2173,15 +2173,15 @@ const deserializeAws_restXmlCreateKeySigningKeyCommandError = async (output, con
|
|
|
2173
2173
|
case "InvalidInput":
|
|
2174
2174
|
case "com.amazonaws.route53#InvalidInput":
|
|
2175
2175
|
throw await deserializeAws_restXmlInvalidInputResponse(parsedOutput, context);
|
|
2176
|
+
case "InvalidKMSArn":
|
|
2177
|
+
case "com.amazonaws.route53#InvalidKMSArn":
|
|
2178
|
+
throw await deserializeAws_restXmlInvalidKMSArnResponse(parsedOutput, context);
|
|
2176
2179
|
case "InvalidKeySigningKeyName":
|
|
2177
2180
|
case "com.amazonaws.route53#InvalidKeySigningKeyName":
|
|
2178
2181
|
throw await deserializeAws_restXmlInvalidKeySigningKeyNameResponse(parsedOutput, context);
|
|
2179
2182
|
case "InvalidKeySigningKeyStatus":
|
|
2180
2183
|
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
2181
2184
|
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
2182
|
-
case "InvalidKMSArn":
|
|
2183
|
-
case "com.amazonaws.route53#InvalidKMSArn":
|
|
2184
|
-
throw await deserializeAws_restXmlInvalidKMSArnResponse(parsedOutput, context);
|
|
2185
2185
|
case "InvalidSigningStatus":
|
|
2186
2186
|
case "com.amazonaws.route53#InvalidSigningStatus":
|
|
2187
2187
|
throw await deserializeAws_restXmlInvalidSigningStatusResponse(parsedOutput, context);
|
|
@@ -2222,7 +2222,7 @@ exports.deserializeAws_restXmlCreateQueryLoggingConfigCommand = deserializeAws_r
|
|
|
2222
2222
|
const deserializeAws_restXmlCreateQueryLoggingConfigCommandError = async (output, context) => {
|
|
2223
2223
|
const parsedOutput = {
|
|
2224
2224
|
...output,
|
|
2225
|
-
body: await
|
|
2225
|
+
body: await parseErrorBody(output.body, context),
|
|
2226
2226
|
};
|
|
2227
2227
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2228
2228
|
switch (errorCode) {
|
|
@@ -2272,7 +2272,7 @@ exports.deserializeAws_restXmlCreateReusableDelegationSetCommand = deserializeAw
|
|
|
2272
2272
|
const deserializeAws_restXmlCreateReusableDelegationSetCommandError = async (output, context) => {
|
|
2273
2273
|
const parsedOutput = {
|
|
2274
2274
|
...output,
|
|
2275
|
-
body: await
|
|
2275
|
+
body: await parseErrorBody(output.body, context),
|
|
2276
2276
|
};
|
|
2277
2277
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2278
2278
|
switch (errorCode) {
|
|
@@ -2325,7 +2325,7 @@ exports.deserializeAws_restXmlCreateTrafficPolicyCommand = deserializeAws_restXm
|
|
|
2325
2325
|
const deserializeAws_restXmlCreateTrafficPolicyCommandError = async (output, context) => {
|
|
2326
2326
|
const parsedOutput = {
|
|
2327
2327
|
...output,
|
|
2328
|
-
body: await
|
|
2328
|
+
body: await parseErrorBody(output.body, context),
|
|
2329
2329
|
};
|
|
2330
2330
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2331
2331
|
switch (errorCode) {
|
|
@@ -2369,7 +2369,7 @@ exports.deserializeAws_restXmlCreateTrafficPolicyInstanceCommand = deserializeAw
|
|
|
2369
2369
|
const deserializeAws_restXmlCreateTrafficPolicyInstanceCommandError = async (output, context) => {
|
|
2370
2370
|
const parsedOutput = {
|
|
2371
2371
|
...output,
|
|
2372
|
-
body: await
|
|
2372
|
+
body: await parseErrorBody(output.body, context),
|
|
2373
2373
|
};
|
|
2374
2374
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2375
2375
|
switch (errorCode) {
|
|
@@ -2416,7 +2416,7 @@ exports.deserializeAws_restXmlCreateTrafficPolicyVersionCommand = deserializeAws
|
|
|
2416
2416
|
const deserializeAws_restXmlCreateTrafficPolicyVersionCommandError = async (output, context) => {
|
|
2417
2417
|
const parsedOutput = {
|
|
2418
2418
|
...output,
|
|
2419
|
-
body: await
|
|
2419
|
+
body: await parseErrorBody(output.body, context),
|
|
2420
2420
|
};
|
|
2421
2421
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2422
2422
|
switch (errorCode) {
|
|
@@ -2465,7 +2465,7 @@ exports.deserializeAws_restXmlCreateVPCAssociationAuthorizationCommand = deseria
|
|
|
2465
2465
|
const deserializeAws_restXmlCreateVPCAssociationAuthorizationCommandError = async (output, context) => {
|
|
2466
2466
|
const parsedOutput = {
|
|
2467
2467
|
...output,
|
|
2468
|
-
body: await
|
|
2468
|
+
body: await parseErrorBody(output.body, context),
|
|
2469
2469
|
};
|
|
2470
2470
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2471
2471
|
switch (errorCode) {
|
|
@@ -2511,7 +2511,7 @@ exports.deserializeAws_restXmlDeactivateKeySigningKeyCommand = deserializeAws_re
|
|
|
2511
2511
|
const deserializeAws_restXmlDeactivateKeySigningKeyCommandError = async (output, context) => {
|
|
2512
2512
|
const parsedOutput = {
|
|
2513
2513
|
...output,
|
|
2514
|
-
body: await
|
|
2514
|
+
body: await parseErrorBody(output.body, context),
|
|
2515
2515
|
};
|
|
2516
2516
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2517
2517
|
switch (errorCode) {
|
|
@@ -2560,7 +2560,7 @@ exports.deserializeAws_restXmlDeleteCidrCollectionCommand = deserializeAws_restX
|
|
|
2560
2560
|
const deserializeAws_restXmlDeleteCidrCollectionCommandError = async (output, context) => {
|
|
2561
2561
|
const parsedOutput = {
|
|
2562
2562
|
...output,
|
|
2563
|
-
body: await
|
|
2563
|
+
body: await parseErrorBody(output.body, context),
|
|
2564
2564
|
};
|
|
2565
2565
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2566
2566
|
switch (errorCode) {
|
|
@@ -2600,7 +2600,7 @@ exports.deserializeAws_restXmlDeleteHealthCheckCommand = deserializeAws_restXmlD
|
|
|
2600
2600
|
const deserializeAws_restXmlDeleteHealthCheckCommandError = async (output, context) => {
|
|
2601
2601
|
const parsedOutput = {
|
|
2602
2602
|
...output,
|
|
2603
|
-
body: await
|
|
2603
|
+
body: await parseErrorBody(output.body, context),
|
|
2604
2604
|
};
|
|
2605
2605
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2606
2606
|
switch (errorCode) {
|
|
@@ -2640,7 +2640,7 @@ exports.deserializeAws_restXmlDeleteHostedZoneCommand = deserializeAws_restXmlDe
|
|
|
2640
2640
|
const deserializeAws_restXmlDeleteHostedZoneCommandError = async (output, context) => {
|
|
2641
2641
|
const parsedOutput = {
|
|
2642
2642
|
...output,
|
|
2643
|
-
body: await
|
|
2643
|
+
body: await parseErrorBody(output.body, context),
|
|
2644
2644
|
};
|
|
2645
2645
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2646
2646
|
switch (errorCode) {
|
|
@@ -2686,7 +2686,7 @@ exports.deserializeAws_restXmlDeleteKeySigningKeyCommand = deserializeAws_restXm
|
|
|
2686
2686
|
const deserializeAws_restXmlDeleteKeySigningKeyCommandError = async (output, context) => {
|
|
2687
2687
|
const parsedOutput = {
|
|
2688
2688
|
...output,
|
|
2689
|
-
body: await
|
|
2689
|
+
body: await parseErrorBody(output.body, context),
|
|
2690
2690
|
};
|
|
2691
2691
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2692
2692
|
switch (errorCode) {
|
|
@@ -2696,12 +2696,12 @@ const deserializeAws_restXmlDeleteKeySigningKeyCommandError = async (output, con
|
|
|
2696
2696
|
case "InvalidInput":
|
|
2697
2697
|
case "com.amazonaws.route53#InvalidInput":
|
|
2698
2698
|
throw await deserializeAws_restXmlInvalidInputResponse(parsedOutput, context);
|
|
2699
|
-
case "InvalidKeySigningKeyStatus":
|
|
2700
|
-
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
2701
|
-
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
2702
2699
|
case "InvalidKMSArn":
|
|
2703
2700
|
case "com.amazonaws.route53#InvalidKMSArn":
|
|
2704
2701
|
throw await deserializeAws_restXmlInvalidKMSArnResponse(parsedOutput, context);
|
|
2702
|
+
case "InvalidKeySigningKeyStatus":
|
|
2703
|
+
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
2704
|
+
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
2705
2705
|
case "InvalidSigningStatus":
|
|
2706
2706
|
case "com.amazonaws.route53#InvalidSigningStatus":
|
|
2707
2707
|
throw await deserializeAws_restXmlInvalidSigningStatusResponse(parsedOutput, context);
|
|
@@ -2732,7 +2732,7 @@ exports.deserializeAws_restXmlDeleteQueryLoggingConfigCommand = deserializeAws_r
|
|
|
2732
2732
|
const deserializeAws_restXmlDeleteQueryLoggingConfigCommandError = async (output, context) => {
|
|
2733
2733
|
const parsedOutput = {
|
|
2734
2734
|
...output,
|
|
2735
|
-
body: await
|
|
2735
|
+
body: await parseErrorBody(output.body, context),
|
|
2736
2736
|
};
|
|
2737
2737
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2738
2738
|
switch (errorCode) {
|
|
@@ -2769,7 +2769,7 @@ exports.deserializeAws_restXmlDeleteReusableDelegationSetCommand = deserializeAw
|
|
|
2769
2769
|
const deserializeAws_restXmlDeleteReusableDelegationSetCommandError = async (output, context) => {
|
|
2770
2770
|
const parsedOutput = {
|
|
2771
2771
|
...output,
|
|
2772
|
-
body: await
|
|
2772
|
+
body: await parseErrorBody(output.body, context),
|
|
2773
2773
|
};
|
|
2774
2774
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2775
2775
|
switch (errorCode) {
|
|
@@ -2809,7 +2809,7 @@ exports.deserializeAws_restXmlDeleteTrafficPolicyCommand = deserializeAws_restXm
|
|
|
2809
2809
|
const deserializeAws_restXmlDeleteTrafficPolicyCommandError = async (output, context) => {
|
|
2810
2810
|
const parsedOutput = {
|
|
2811
2811
|
...output,
|
|
2812
|
-
body: await
|
|
2812
|
+
body: await parseErrorBody(output.body, context),
|
|
2813
2813
|
};
|
|
2814
2814
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2815
2815
|
switch (errorCode) {
|
|
@@ -2849,7 +2849,7 @@ exports.deserializeAws_restXmlDeleteTrafficPolicyInstanceCommand = deserializeAw
|
|
|
2849
2849
|
const deserializeAws_restXmlDeleteTrafficPolicyInstanceCommandError = async (output, context) => {
|
|
2850
2850
|
const parsedOutput = {
|
|
2851
2851
|
...output,
|
|
2852
|
-
body: await
|
|
2852
|
+
body: await parseErrorBody(output.body, context),
|
|
2853
2853
|
};
|
|
2854
2854
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2855
2855
|
switch (errorCode) {
|
|
@@ -2886,7 +2886,7 @@ exports.deserializeAws_restXmlDeleteVPCAssociationAuthorizationCommand = deseria
|
|
|
2886
2886
|
const deserializeAws_restXmlDeleteVPCAssociationAuthorizationCommandError = async (output, context) => {
|
|
2887
2887
|
const parsedOutput = {
|
|
2888
2888
|
...output,
|
|
2889
|
-
body: await
|
|
2889
|
+
body: await parseErrorBody(output.body, context),
|
|
2890
2890
|
};
|
|
2891
2891
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2892
2892
|
switch (errorCode) {
|
|
@@ -2932,7 +2932,7 @@ exports.deserializeAws_restXmlDisableHostedZoneDNSSECCommand = deserializeAws_re
|
|
|
2932
2932
|
const deserializeAws_restXmlDisableHostedZoneDNSSECCommandError = async (output, context) => {
|
|
2933
2933
|
const parsedOutput = {
|
|
2934
2934
|
...output,
|
|
2935
|
-
body: await
|
|
2935
|
+
body: await parseErrorBody(output.body, context),
|
|
2936
2936
|
};
|
|
2937
2937
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2938
2938
|
switch (errorCode) {
|
|
@@ -2948,12 +2948,12 @@ const deserializeAws_restXmlDisableHostedZoneDNSSECCommandError = async (output,
|
|
|
2948
2948
|
case "InvalidInput":
|
|
2949
2949
|
case "com.amazonaws.route53#InvalidInput":
|
|
2950
2950
|
throw await deserializeAws_restXmlInvalidInputResponse(parsedOutput, context);
|
|
2951
|
-
case "InvalidKeySigningKeyStatus":
|
|
2952
|
-
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
2953
|
-
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
2954
2951
|
case "InvalidKMSArn":
|
|
2955
2952
|
case "com.amazonaws.route53#InvalidKMSArn":
|
|
2956
2953
|
throw await deserializeAws_restXmlInvalidKMSArnResponse(parsedOutput, context);
|
|
2954
|
+
case "InvalidKeySigningKeyStatus":
|
|
2955
|
+
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
2956
|
+
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
2957
2957
|
case "KeySigningKeyInParentDSRecord":
|
|
2958
2958
|
case "com.amazonaws.route53#KeySigningKeyInParentDSRecord":
|
|
2959
2959
|
throw await deserializeAws_restXmlKeySigningKeyInParentDSRecordResponse(parsedOutput, context);
|
|
@@ -2987,7 +2987,7 @@ exports.deserializeAws_restXmlDisassociateVPCFromHostedZoneCommand = deserialize
|
|
|
2987
2987
|
const deserializeAws_restXmlDisassociateVPCFromHostedZoneCommandError = async (output, context) => {
|
|
2988
2988
|
const parsedOutput = {
|
|
2989
2989
|
...output,
|
|
2990
|
-
body: await
|
|
2990
|
+
body: await parseErrorBody(output.body, context),
|
|
2991
2991
|
};
|
|
2992
2992
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2993
2993
|
switch (errorCode) {
|
|
@@ -3033,7 +3033,7 @@ exports.deserializeAws_restXmlEnableHostedZoneDNSSECCommand = deserializeAws_res
|
|
|
3033
3033
|
const deserializeAws_restXmlEnableHostedZoneDNSSECCommandError = async (output, context) => {
|
|
3034
3034
|
const parsedOutput = {
|
|
3035
3035
|
...output,
|
|
3036
|
-
body: await
|
|
3036
|
+
body: await parseErrorBody(output.body, context),
|
|
3037
3037
|
};
|
|
3038
3038
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3039
3039
|
switch (errorCode) {
|
|
@@ -3052,12 +3052,12 @@ const deserializeAws_restXmlEnableHostedZoneDNSSECCommandError = async (output,
|
|
|
3052
3052
|
case "InvalidInput":
|
|
3053
3053
|
case "com.amazonaws.route53#InvalidInput":
|
|
3054
3054
|
throw await deserializeAws_restXmlInvalidInputResponse(parsedOutput, context);
|
|
3055
|
-
case "InvalidKeySigningKeyStatus":
|
|
3056
|
-
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
3057
|
-
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
3058
3055
|
case "InvalidKMSArn":
|
|
3059
3056
|
case "com.amazonaws.route53#InvalidKMSArn":
|
|
3060
3057
|
throw await deserializeAws_restXmlInvalidKMSArnResponse(parsedOutput, context);
|
|
3058
|
+
case "InvalidKeySigningKeyStatus":
|
|
3059
|
+
case "com.amazonaws.route53#InvalidKeySigningKeyStatus":
|
|
3060
|
+
throw await deserializeAws_restXmlInvalidKeySigningKeyStatusResponse(parsedOutput, context);
|
|
3061
3061
|
case "KeySigningKeyWithActiveStatusNotFound":
|
|
3062
3062
|
case "com.amazonaws.route53#KeySigningKeyWithActiveStatusNotFound":
|
|
3063
3063
|
throw await deserializeAws_restXmlKeySigningKeyWithActiveStatusNotFoundResponse(parsedOutput, context);
|
|
@@ -3094,7 +3094,7 @@ exports.deserializeAws_restXmlGetAccountLimitCommand = deserializeAws_restXmlGet
|
|
|
3094
3094
|
const deserializeAws_restXmlGetAccountLimitCommandError = async (output, context) => {
|
|
3095
3095
|
const parsedOutput = {
|
|
3096
3096
|
...output,
|
|
3097
|
-
body: await
|
|
3097
|
+
body: await parseErrorBody(output.body, context),
|
|
3098
3098
|
};
|
|
3099
3099
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3100
3100
|
switch (errorCode) {
|
|
@@ -3128,7 +3128,7 @@ exports.deserializeAws_restXmlGetChangeCommand = deserializeAws_restXmlGetChange
|
|
|
3128
3128
|
const deserializeAws_restXmlGetChangeCommandError = async (output, context) => {
|
|
3129
3129
|
const parsedOutput = {
|
|
3130
3130
|
...output,
|
|
3131
|
-
body: await
|
|
3131
|
+
body: await parseErrorBody(output.body, context),
|
|
3132
3132
|
};
|
|
3133
3133
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3134
3134
|
switch (errorCode) {
|
|
@@ -3168,7 +3168,7 @@ exports.deserializeAws_restXmlGetCheckerIpRangesCommand = deserializeAws_restXml
|
|
|
3168
3168
|
const deserializeAws_restXmlGetCheckerIpRangesCommandError = async (output, context) => {
|
|
3169
3169
|
const parsedOutput = {
|
|
3170
3170
|
...output,
|
|
3171
|
-
body: await
|
|
3171
|
+
body: await parseErrorBody(output.body, context),
|
|
3172
3172
|
};
|
|
3173
3173
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3174
3174
|
const parsedBody = parsedOutput.body;
|
|
@@ -3202,7 +3202,7 @@ exports.deserializeAws_restXmlGetDNSSECCommand = deserializeAws_restXmlGetDNSSEC
|
|
|
3202
3202
|
const deserializeAws_restXmlGetDNSSECCommandError = async (output, context) => {
|
|
3203
3203
|
const parsedOutput = {
|
|
3204
3204
|
...output,
|
|
3205
|
-
body: await
|
|
3205
|
+
body: await parseErrorBody(output.body, context),
|
|
3206
3206
|
};
|
|
3207
3207
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3208
3208
|
switch (errorCode) {
|
|
@@ -3242,7 +3242,7 @@ exports.deserializeAws_restXmlGetGeoLocationCommand = deserializeAws_restXmlGetG
|
|
|
3242
3242
|
const deserializeAws_restXmlGetGeoLocationCommandError = async (output, context) => {
|
|
3243
3243
|
const parsedOutput = {
|
|
3244
3244
|
...output,
|
|
3245
|
-
body: await
|
|
3245
|
+
body: await parseErrorBody(output.body, context),
|
|
3246
3246
|
};
|
|
3247
3247
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3248
3248
|
switch (errorCode) {
|
|
@@ -3279,7 +3279,7 @@ exports.deserializeAws_restXmlGetHealthCheckCommand = deserializeAws_restXmlGetH
|
|
|
3279
3279
|
const deserializeAws_restXmlGetHealthCheckCommandError = async (output, context) => {
|
|
3280
3280
|
const parsedOutput = {
|
|
3281
3281
|
...output,
|
|
3282
|
-
body: await
|
|
3282
|
+
body: await parseErrorBody(output.body, context),
|
|
3283
3283
|
};
|
|
3284
3284
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3285
3285
|
switch (errorCode) {
|
|
@@ -3319,7 +3319,7 @@ exports.deserializeAws_restXmlGetHealthCheckCountCommand = deserializeAws_restXm
|
|
|
3319
3319
|
const deserializeAws_restXmlGetHealthCheckCountCommandError = async (output, context) => {
|
|
3320
3320
|
const parsedOutput = {
|
|
3321
3321
|
...output,
|
|
3322
|
-
body: await
|
|
3322
|
+
body: await parseErrorBody(output.body, context),
|
|
3323
3323
|
};
|
|
3324
3324
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3325
3325
|
const parsedBody = parsedOutput.body;
|
|
@@ -3351,7 +3351,7 @@ exports.deserializeAws_restXmlGetHealthCheckLastFailureReasonCommand = deseriali
|
|
|
3351
3351
|
const deserializeAws_restXmlGetHealthCheckLastFailureReasonCommandError = async (output, context) => {
|
|
3352
3352
|
const parsedOutput = {
|
|
3353
3353
|
...output,
|
|
3354
|
-
body: await
|
|
3354
|
+
body: await parseErrorBody(output.body, context),
|
|
3355
3355
|
};
|
|
3356
3356
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3357
3357
|
switch (errorCode) {
|
|
@@ -3392,7 +3392,7 @@ exports.deserializeAws_restXmlGetHealthCheckStatusCommand = deserializeAws_restX
|
|
|
3392
3392
|
const deserializeAws_restXmlGetHealthCheckStatusCommandError = async (output, context) => {
|
|
3393
3393
|
const parsedOutput = {
|
|
3394
3394
|
...output,
|
|
3395
|
-
body: await
|
|
3395
|
+
body: await parseErrorBody(output.body, context),
|
|
3396
3396
|
};
|
|
3397
3397
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3398
3398
|
switch (errorCode) {
|
|
@@ -3438,7 +3438,7 @@ exports.deserializeAws_restXmlGetHostedZoneCommand = deserializeAws_restXmlGetHo
|
|
|
3438
3438
|
const deserializeAws_restXmlGetHostedZoneCommandError = async (output, context) => {
|
|
3439
3439
|
const parsedOutput = {
|
|
3440
3440
|
...output,
|
|
3441
|
-
body: await
|
|
3441
|
+
body: await parseErrorBody(output.body, context),
|
|
3442
3442
|
};
|
|
3443
3443
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3444
3444
|
switch (errorCode) {
|
|
@@ -3475,7 +3475,7 @@ exports.deserializeAws_restXmlGetHostedZoneCountCommand = deserializeAws_restXml
|
|
|
3475
3475
|
const deserializeAws_restXmlGetHostedZoneCountCommandError = async (output, context) => {
|
|
3476
3476
|
const parsedOutput = {
|
|
3477
3477
|
...output,
|
|
3478
|
-
body: await
|
|
3478
|
+
body: await parseErrorBody(output.body, context),
|
|
3479
3479
|
};
|
|
3480
3480
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3481
3481
|
switch (errorCode) {
|
|
@@ -3512,7 +3512,7 @@ exports.deserializeAws_restXmlGetHostedZoneLimitCommand = deserializeAws_restXml
|
|
|
3512
3512
|
const deserializeAws_restXmlGetHostedZoneLimitCommandError = async (output, context) => {
|
|
3513
3513
|
const parsedOutput = {
|
|
3514
3514
|
...output,
|
|
3515
|
-
body: await
|
|
3515
|
+
body: await parseErrorBody(output.body, context),
|
|
3516
3516
|
};
|
|
3517
3517
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3518
3518
|
switch (errorCode) {
|
|
@@ -3552,7 +3552,7 @@ exports.deserializeAws_restXmlGetQueryLoggingConfigCommand = deserializeAws_rest
|
|
|
3552
3552
|
const deserializeAws_restXmlGetQueryLoggingConfigCommandError = async (output, context) => {
|
|
3553
3553
|
const parsedOutput = {
|
|
3554
3554
|
...output,
|
|
3555
|
-
body: await
|
|
3555
|
+
body: await parseErrorBody(output.body, context),
|
|
3556
3556
|
};
|
|
3557
3557
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3558
3558
|
switch (errorCode) {
|
|
@@ -3589,7 +3589,7 @@ exports.deserializeAws_restXmlGetReusableDelegationSetCommand = deserializeAws_r
|
|
|
3589
3589
|
const deserializeAws_restXmlGetReusableDelegationSetCommandError = async (output, context) => {
|
|
3590
3590
|
const parsedOutput = {
|
|
3591
3591
|
...output,
|
|
3592
|
-
body: await
|
|
3592
|
+
body: await parseErrorBody(output.body, context),
|
|
3593
3593
|
};
|
|
3594
3594
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3595
3595
|
switch (errorCode) {
|
|
@@ -3632,7 +3632,7 @@ exports.deserializeAws_restXmlGetReusableDelegationSetLimitCommand = deserialize
|
|
|
3632
3632
|
const deserializeAws_restXmlGetReusableDelegationSetLimitCommandError = async (output, context) => {
|
|
3633
3633
|
const parsedOutput = {
|
|
3634
3634
|
...output,
|
|
3635
|
-
body: await
|
|
3635
|
+
body: await parseErrorBody(output.body, context),
|
|
3636
3636
|
};
|
|
3637
3637
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3638
3638
|
switch (errorCode) {
|
|
@@ -3669,7 +3669,7 @@ exports.deserializeAws_restXmlGetTrafficPolicyCommand = deserializeAws_restXmlGe
|
|
|
3669
3669
|
const deserializeAws_restXmlGetTrafficPolicyCommandError = async (output, context) => {
|
|
3670
3670
|
const parsedOutput = {
|
|
3671
3671
|
...output,
|
|
3672
|
-
body: await
|
|
3672
|
+
body: await parseErrorBody(output.body, context),
|
|
3673
3673
|
};
|
|
3674
3674
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3675
3675
|
switch (errorCode) {
|
|
@@ -3706,7 +3706,7 @@ exports.deserializeAws_restXmlGetTrafficPolicyInstanceCommand = deserializeAws_r
|
|
|
3706
3706
|
const deserializeAws_restXmlGetTrafficPolicyInstanceCommandError = async (output, context) => {
|
|
3707
3707
|
const parsedOutput = {
|
|
3708
3708
|
...output,
|
|
3709
|
-
body: await
|
|
3709
|
+
body: await parseErrorBody(output.body, context),
|
|
3710
3710
|
};
|
|
3711
3711
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3712
3712
|
switch (errorCode) {
|
|
@@ -3743,7 +3743,7 @@ exports.deserializeAws_restXmlGetTrafficPolicyInstanceCountCommand = deserialize
|
|
|
3743
3743
|
const deserializeAws_restXmlGetTrafficPolicyInstanceCountCommandError = async (output, context) => {
|
|
3744
3744
|
const parsedOutput = {
|
|
3745
3745
|
...output,
|
|
3746
|
-
body: await
|
|
3746
|
+
body: await parseErrorBody(output.body, context),
|
|
3747
3747
|
};
|
|
3748
3748
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3749
3749
|
const parsedBody = parsedOutput.body;
|
|
@@ -3777,7 +3777,7 @@ exports.deserializeAws_restXmlListCidrBlocksCommand = deserializeAws_restXmlList
|
|
|
3777
3777
|
const deserializeAws_restXmlListCidrBlocksCommandError = async (output, context) => {
|
|
3778
3778
|
const parsedOutput = {
|
|
3779
3779
|
...output,
|
|
3780
|
-
body: await
|
|
3780
|
+
body: await parseErrorBody(output.body, context),
|
|
3781
3781
|
};
|
|
3782
3782
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3783
3783
|
switch (errorCode) {
|
|
@@ -3823,7 +3823,7 @@ exports.deserializeAws_restXmlListCidrCollectionsCommand = deserializeAws_restXm
|
|
|
3823
3823
|
const deserializeAws_restXmlListCidrCollectionsCommandError = async (output, context) => {
|
|
3824
3824
|
const parsedOutput = {
|
|
3825
3825
|
...output,
|
|
3826
|
-
body: await
|
|
3826
|
+
body: await parseErrorBody(output.body, context),
|
|
3827
3827
|
};
|
|
3828
3828
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3829
3829
|
switch (errorCode) {
|
|
@@ -3863,7 +3863,7 @@ exports.deserializeAws_restXmlListCidrLocationsCommand = deserializeAws_restXmlL
|
|
|
3863
3863
|
const deserializeAws_restXmlListCidrLocationsCommandError = async (output, context) => {
|
|
3864
3864
|
const parsedOutput = {
|
|
3865
3865
|
...output,
|
|
3866
|
-
body: await
|
|
3866
|
+
body: await parseErrorBody(output.body, context),
|
|
3867
3867
|
};
|
|
3868
3868
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3869
3869
|
switch (errorCode) {
|
|
@@ -3919,7 +3919,7 @@ exports.deserializeAws_restXmlListGeoLocationsCommand = deserializeAws_restXmlLi
|
|
|
3919
3919
|
const deserializeAws_restXmlListGeoLocationsCommandError = async (output, context) => {
|
|
3920
3920
|
const parsedOutput = {
|
|
3921
3921
|
...output,
|
|
3922
|
-
body: await
|
|
3922
|
+
body: await parseErrorBody(output.body, context),
|
|
3923
3923
|
};
|
|
3924
3924
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3925
3925
|
switch (errorCode) {
|
|
@@ -3968,7 +3968,7 @@ exports.deserializeAws_restXmlListHealthChecksCommand = deserializeAws_restXmlLi
|
|
|
3968
3968
|
const deserializeAws_restXmlListHealthChecksCommandError = async (output, context) => {
|
|
3969
3969
|
const parsedOutput = {
|
|
3970
3970
|
...output,
|
|
3971
|
-
body: await
|
|
3971
|
+
body: await parseErrorBody(output.body, context),
|
|
3972
3972
|
};
|
|
3973
3973
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3974
3974
|
switch (errorCode) {
|
|
@@ -4020,7 +4020,7 @@ exports.deserializeAws_restXmlListHostedZonesCommand = deserializeAws_restXmlLis
|
|
|
4020
4020
|
const deserializeAws_restXmlListHostedZonesCommandError = async (output, context) => {
|
|
4021
4021
|
const parsedOutput = {
|
|
4022
4022
|
...output,
|
|
4023
|
-
body: await
|
|
4023
|
+
body: await parseErrorBody(output.body, context),
|
|
4024
4024
|
};
|
|
4025
4025
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4026
4026
|
switch (errorCode) {
|
|
@@ -4081,7 +4081,7 @@ exports.deserializeAws_restXmlListHostedZonesByNameCommand = deserializeAws_rest
|
|
|
4081
4081
|
const deserializeAws_restXmlListHostedZonesByNameCommandError = async (output, context) => {
|
|
4082
4082
|
const parsedOutput = {
|
|
4083
4083
|
...output,
|
|
4084
|
-
body: await
|
|
4084
|
+
body: await parseErrorBody(output.body, context),
|
|
4085
4085
|
};
|
|
4086
4086
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4087
4087
|
switch (errorCode) {
|
|
@@ -4128,7 +4128,7 @@ exports.deserializeAws_restXmlListHostedZonesByVPCCommand = deserializeAws_restX
|
|
|
4128
4128
|
const deserializeAws_restXmlListHostedZonesByVPCCommandError = async (output, context) => {
|
|
4129
4129
|
const parsedOutput = {
|
|
4130
4130
|
...output,
|
|
4131
|
-
body: await
|
|
4131
|
+
body: await parseErrorBody(output.body, context),
|
|
4132
4132
|
};
|
|
4133
4133
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4134
4134
|
switch (errorCode) {
|
|
@@ -4172,7 +4172,7 @@ exports.deserializeAws_restXmlListQueryLoggingConfigsCommand = deserializeAws_re
|
|
|
4172
4172
|
const deserializeAws_restXmlListQueryLoggingConfigsCommandError = async (output, context) => {
|
|
4173
4173
|
const parsedOutput = {
|
|
4174
4174
|
...output,
|
|
4175
|
-
body: await
|
|
4175
|
+
body: await parseErrorBody(output.body, context),
|
|
4176
4176
|
};
|
|
4177
4177
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4178
4178
|
switch (errorCode) {
|
|
@@ -4231,7 +4231,7 @@ exports.deserializeAws_restXmlListResourceRecordSetsCommand = deserializeAws_res
|
|
|
4231
4231
|
const deserializeAws_restXmlListResourceRecordSetsCommandError = async (output, context) => {
|
|
4232
4232
|
const parsedOutput = {
|
|
4233
4233
|
...output,
|
|
4234
|
-
body: await
|
|
4234
|
+
body: await parseErrorBody(output.body, context),
|
|
4235
4235
|
};
|
|
4236
4236
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4237
4237
|
switch (errorCode) {
|
|
@@ -4283,7 +4283,7 @@ exports.deserializeAws_restXmlListReusableDelegationSetsCommand = deserializeAws
|
|
|
4283
4283
|
const deserializeAws_restXmlListReusableDelegationSetsCommandError = async (output, context) => {
|
|
4284
4284
|
const parsedOutput = {
|
|
4285
4285
|
...output,
|
|
4286
|
-
body: await
|
|
4286
|
+
body: await parseErrorBody(output.body, context),
|
|
4287
4287
|
};
|
|
4288
4288
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4289
4289
|
switch (errorCode) {
|
|
@@ -4317,7 +4317,7 @@ exports.deserializeAws_restXmlListTagsForResourceCommand = deserializeAws_restXm
|
|
|
4317
4317
|
const deserializeAws_restXmlListTagsForResourceCommandError = async (output, context) => {
|
|
4318
4318
|
const parsedOutput = {
|
|
4319
4319
|
...output,
|
|
4320
|
-
body: await
|
|
4320
|
+
body: await parseErrorBody(output.body, context),
|
|
4321
4321
|
};
|
|
4322
4322
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4323
4323
|
switch (errorCode) {
|
|
@@ -4366,7 +4366,7 @@ exports.deserializeAws_restXmlListTagsForResourcesCommand = deserializeAws_restX
|
|
|
4366
4366
|
const deserializeAws_restXmlListTagsForResourcesCommandError = async (output, context) => {
|
|
4367
4367
|
const parsedOutput = {
|
|
4368
4368
|
...output,
|
|
4369
|
-
body: await
|
|
4369
|
+
body: await parseErrorBody(output.body, context),
|
|
4370
4370
|
};
|
|
4371
4371
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4372
4372
|
switch (errorCode) {
|
|
@@ -4425,7 +4425,7 @@ exports.deserializeAws_restXmlListTrafficPoliciesCommand = deserializeAws_restXm
|
|
|
4425
4425
|
const deserializeAws_restXmlListTrafficPoliciesCommandError = async (output, context) => {
|
|
4426
4426
|
const parsedOutput = {
|
|
4427
4427
|
...output,
|
|
4428
|
-
body: await
|
|
4428
|
+
body: await parseErrorBody(output.body, context),
|
|
4429
4429
|
};
|
|
4430
4430
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4431
4431
|
switch (errorCode) {
|
|
@@ -4478,7 +4478,7 @@ exports.deserializeAws_restXmlListTrafficPolicyInstancesCommand = deserializeAws
|
|
|
4478
4478
|
const deserializeAws_restXmlListTrafficPolicyInstancesCommandError = async (output, context) => {
|
|
4479
4479
|
const parsedOutput = {
|
|
4480
4480
|
...output,
|
|
4481
|
-
body: await
|
|
4481
|
+
body: await parseErrorBody(output.body, context),
|
|
4482
4482
|
};
|
|
4483
4483
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4484
4484
|
switch (errorCode) {
|
|
@@ -4531,7 +4531,7 @@ exports.deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommand = de
|
|
|
4531
4531
|
const deserializeAws_restXmlListTrafficPolicyInstancesByHostedZoneCommandError = async (output, context) => {
|
|
4532
4532
|
const parsedOutput = {
|
|
4533
4533
|
...output,
|
|
4534
|
-
body: await
|
|
4534
|
+
body: await parseErrorBody(output.body, context),
|
|
4535
4535
|
};
|
|
4536
4536
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4537
4537
|
switch (errorCode) {
|
|
@@ -4590,7 +4590,7 @@ exports.deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommand = deseri
|
|
|
4590
4590
|
const deserializeAws_restXmlListTrafficPolicyInstancesByPolicyCommandError = async (output, context) => {
|
|
4591
4591
|
const parsedOutput = {
|
|
4592
4592
|
...output,
|
|
4593
|
-
body: await
|
|
4593
|
+
body: await parseErrorBody(output.body, context),
|
|
4594
4594
|
};
|
|
4595
4595
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4596
4596
|
switch (errorCode) {
|
|
@@ -4642,7 +4642,7 @@ exports.deserializeAws_restXmlListTrafficPolicyVersionsCommand = deserializeAws_
|
|
|
4642
4642
|
const deserializeAws_restXmlListTrafficPolicyVersionsCommandError = async (output, context) => {
|
|
4643
4643
|
const parsedOutput = {
|
|
4644
4644
|
...output,
|
|
4645
|
-
body: await
|
|
4645
|
+
body: await parseErrorBody(output.body, context),
|
|
4646
4646
|
};
|
|
4647
4647
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4648
4648
|
switch (errorCode) {
|
|
@@ -4688,7 +4688,7 @@ exports.deserializeAws_restXmlListVPCAssociationAuthorizationsCommand = deserial
|
|
|
4688
4688
|
const deserializeAws_restXmlListVPCAssociationAuthorizationsCommandError = async (output, context) => {
|
|
4689
4689
|
const parsedOutput = {
|
|
4690
4690
|
...output,
|
|
4691
|
-
body: await
|
|
4691
|
+
body: await parseErrorBody(output.body, context),
|
|
4692
4692
|
};
|
|
4693
4693
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4694
4694
|
switch (errorCode) {
|
|
@@ -4746,7 +4746,7 @@ exports.deserializeAws_restXmlTestDNSAnswerCommand = deserializeAws_restXmlTestD
|
|
|
4746
4746
|
const deserializeAws_restXmlTestDNSAnswerCommandError = async (output, context) => {
|
|
4747
4747
|
const parsedOutput = {
|
|
4748
4748
|
...output,
|
|
4749
|
-
body: await
|
|
4749
|
+
body: await parseErrorBody(output.body, context),
|
|
4750
4750
|
};
|
|
4751
4751
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4752
4752
|
switch (errorCode) {
|
|
@@ -4783,7 +4783,7 @@ exports.deserializeAws_restXmlUpdateHealthCheckCommand = deserializeAws_restXmlU
|
|
|
4783
4783
|
const deserializeAws_restXmlUpdateHealthCheckCommandError = async (output, context) => {
|
|
4784
4784
|
const parsedOutput = {
|
|
4785
4785
|
...output,
|
|
4786
|
-
body: await
|
|
4786
|
+
body: await parseErrorBody(output.body, context),
|
|
4787
4787
|
};
|
|
4788
4788
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4789
4789
|
switch (errorCode) {
|
|
@@ -4823,7 +4823,7 @@ exports.deserializeAws_restXmlUpdateHostedZoneCommentCommand = deserializeAws_re
|
|
|
4823
4823
|
const deserializeAws_restXmlUpdateHostedZoneCommentCommandError = async (output, context) => {
|
|
4824
4824
|
const parsedOutput = {
|
|
4825
4825
|
...output,
|
|
4826
|
-
body: await
|
|
4826
|
+
body: await parseErrorBody(output.body, context),
|
|
4827
4827
|
};
|
|
4828
4828
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4829
4829
|
switch (errorCode) {
|
|
@@ -4863,7 +4863,7 @@ exports.deserializeAws_restXmlUpdateTrafficPolicyCommentCommand = deserializeAws
|
|
|
4863
4863
|
const deserializeAws_restXmlUpdateTrafficPolicyCommentCommandError = async (output, context) => {
|
|
4864
4864
|
const parsedOutput = {
|
|
4865
4865
|
...output,
|
|
4866
|
-
body: await
|
|
4866
|
+
body: await parseErrorBody(output.body, context),
|
|
4867
4867
|
};
|
|
4868
4868
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4869
4869
|
switch (errorCode) {
|
|
@@ -4903,7 +4903,7 @@ exports.deserializeAws_restXmlUpdateTrafficPolicyInstanceCommand = deserializeAw
|
|
|
4903
4903
|
const deserializeAws_restXmlUpdateTrafficPolicyInstanceCommandError = async (output, context) => {
|
|
4904
4904
|
const parsedOutput = {
|
|
4905
4905
|
...output,
|
|
4906
|
-
body: await
|
|
4906
|
+
body: await parseErrorBody(output.body, context),
|
|
4907
4907
|
};
|
|
4908
4908
|
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4909
4909
|
switch (errorCode) {
|
|
@@ -7203,6 +7203,14 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7203
7203
|
}
|
|
7204
7204
|
return {};
|
|
7205
7205
|
});
|
|
7206
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
7207
|
+
var _a;
|
|
7208
|
+
const value = await parseBody(errorBody, context);
|
|
7209
|
+
if (value.Error) {
|
|
7210
|
+
value.Error.message = (_a = value.Error.message) !== null && _a !== void 0 ? _a : value.Error.Message;
|
|
7211
|
+
}
|
|
7212
|
+
return value;
|
|
7213
|
+
};
|
|
7206
7214
|
const loadRestXmlErrorCode = (output, data) => {
|
|
7207
7215
|
if (data.Error.Code !== undefined) {
|
|
7208
7216
|
return data.Error.Code;
|