@aws-sdk/client-rds 3.314.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_query.js +283 -423
- package/dist-es/protocols/Aws_query.js +284 -424
- 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, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, BlueGreenDeploymentAlreadyExistsFault, BlueGreenDeploymentNotFoundFault, CertificateNotFoundFault, CreateCustomDBEngineVersionFault, CustomAvailabilityZoneNotFoundFault, CustomDBEngineVersionAlreadyExistsFault, CustomDBEngineVersionNotFoundFault, CustomDBEngineVersionQuotaExceededFault, DBClusterAlreadyExistsFault, DBClusterBacktrackNotFoundFault, DBClusterEndpointAlreadyExistsFault, DBClusterEndpointNotFoundFault, DBClusterEndpointQuotaExceededFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterRoleAlreadyExistsFault, DBClusterRoleQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceAutomatedBackupNotFoundFault, DBInstanceAutomatedBackupQuotaExceededFault, DBInstanceNotFoundFault, DBInstanceRoleAlreadyExistsFault, DBInstanceRoleQuotaExceededFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBProxyAlreadyExistsFault, DBProxyEndpointAlreadyExistsFault, DBProxyEndpointNotFoundFault, DBProxyEndpointQuotaExceededFault, DBProxyNotFoundFault, DBProxyQuotaExceededFault, DBProxyTargetGroupNotFoundFault, DBProxyTargetNotFoundFault, DBSecurityGroupAlreadyExistsFault, DBSecurityGroupNotFoundFault, DBSecurityGroupNotSupportedFault, DBSecurityGroupQuotaExceededFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotAllowedFault, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DomainNotFoundFault, Ec2ImagePropertiesNotSupportedFault, EventSubscriptionQuotaExceededFault, ExportTaskNotFoundFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidBlueGreenDeploymentStateFault, InvalidCustomDBEngineVersionStateFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceAutomatedBackupStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBProxyEndpointStateFault, InvalidDBProxyStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidExportTaskStateFault, InvalidGlobalClusterStateFault, InvalidOptionGroupStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, NetworkTypeNotSupported, OptionGroupAlreadyExistsFault, OptionGroupNotFoundFault, OptionGroupQuotaExceededFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceClusterNotSupportedFault, SourceDatabaseNotSupportedFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
|
|
5
5
|
import { DBClusterRoleNotFoundFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, SubnetAlreadyInUse, } from "../models/models_1";
|
|
@@ -1422,7 +1422,7 @@ export const de_AddRoleToDBClusterCommand = async (output, context) => {
|
|
|
1422
1422
|
const response = {
|
|
1423
1423
|
$metadata: deserializeMetadata(output),
|
|
1424
1424
|
};
|
|
1425
|
-
return
|
|
1425
|
+
return response;
|
|
1426
1426
|
};
|
|
1427
1427
|
const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
1428
1428
|
const parsedOutput = {
|
|
@@ -1445,10 +1445,9 @@ const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
|
1445
1445
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1446
1446
|
default:
|
|
1447
1447
|
const parsedBody = parsedOutput.body;
|
|
1448
|
-
throwDefaultError({
|
|
1448
|
+
return throwDefaultError({
|
|
1449
1449
|
output,
|
|
1450
1450
|
parsedBody: parsedBody.Error,
|
|
1451
|
-
exceptionCtor: __BaseException,
|
|
1452
1451
|
errorCode,
|
|
1453
1452
|
});
|
|
1454
1453
|
}
|
|
@@ -1461,7 +1460,7 @@ export const de_AddRoleToDBInstanceCommand = async (output, context) => {
|
|
|
1461
1460
|
const response = {
|
|
1462
1461
|
$metadata: deserializeMetadata(output),
|
|
1463
1462
|
};
|
|
1464
|
-
return
|
|
1463
|
+
return response;
|
|
1465
1464
|
};
|
|
1466
1465
|
const de_AddRoleToDBInstanceCommandError = async (output, context) => {
|
|
1467
1466
|
const parsedOutput = {
|
|
@@ -1484,10 +1483,9 @@ const de_AddRoleToDBInstanceCommandError = async (output, context) => {
|
|
|
1484
1483
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
1485
1484
|
default:
|
|
1486
1485
|
const parsedBody = parsedOutput.body;
|
|
1487
|
-
throwDefaultError({
|
|
1486
|
+
return throwDefaultError({
|
|
1488
1487
|
output,
|
|
1489
1488
|
parsedBody: parsedBody.Error,
|
|
1490
|
-
exceptionCtor: __BaseException,
|
|
1491
1489
|
errorCode,
|
|
1492
1490
|
});
|
|
1493
1491
|
}
|
|
@@ -1503,7 +1501,7 @@ export const de_AddSourceIdentifierToSubscriptionCommand = async (output, contex
|
|
|
1503
1501
|
$metadata: deserializeMetadata(output),
|
|
1504
1502
|
...contents,
|
|
1505
1503
|
};
|
|
1506
|
-
return
|
|
1504
|
+
return response;
|
|
1507
1505
|
};
|
|
1508
1506
|
const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context) => {
|
|
1509
1507
|
const parsedOutput = {
|
|
@@ -1520,10 +1518,9 @@ const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context)
|
|
|
1520
1518
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
1521
1519
|
default:
|
|
1522
1520
|
const parsedBody = parsedOutput.body;
|
|
1523
|
-
throwDefaultError({
|
|
1521
|
+
return throwDefaultError({
|
|
1524
1522
|
output,
|
|
1525
1523
|
parsedBody: parsedBody.Error,
|
|
1526
|
-
exceptionCtor: __BaseException,
|
|
1527
1524
|
errorCode,
|
|
1528
1525
|
});
|
|
1529
1526
|
}
|
|
@@ -1536,7 +1533,7 @@ export const de_AddTagsToResourceCommand = async (output, context) => {
|
|
|
1536
1533
|
const response = {
|
|
1537
1534
|
$metadata: deserializeMetadata(output),
|
|
1538
1535
|
};
|
|
1539
|
-
return
|
|
1536
|
+
return response;
|
|
1540
1537
|
};
|
|
1541
1538
|
const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
1542
1539
|
const parsedOutput = {
|
|
@@ -1565,10 +1562,9 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
1565
1562
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1566
1563
|
default:
|
|
1567
1564
|
const parsedBody = parsedOutput.body;
|
|
1568
|
-
throwDefaultError({
|
|
1565
|
+
return throwDefaultError({
|
|
1569
1566
|
output,
|
|
1570
1567
|
parsedBody: parsedBody.Error,
|
|
1571
|
-
exceptionCtor: __BaseException,
|
|
1572
1568
|
errorCode,
|
|
1573
1569
|
});
|
|
1574
1570
|
}
|
|
@@ -1584,7 +1580,7 @@ export const de_ApplyPendingMaintenanceActionCommand = async (output, context) =
|
|
|
1584
1580
|
$metadata: deserializeMetadata(output),
|
|
1585
1581
|
...contents,
|
|
1586
1582
|
};
|
|
1587
|
-
return
|
|
1583
|
+
return response;
|
|
1588
1584
|
};
|
|
1589
1585
|
const de_ApplyPendingMaintenanceActionCommandError = async (output, context) => {
|
|
1590
1586
|
const parsedOutput = {
|
|
@@ -1604,10 +1600,9 @@ const de_ApplyPendingMaintenanceActionCommandError = async (output, context) =>
|
|
|
1604
1600
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1605
1601
|
default:
|
|
1606
1602
|
const parsedBody = parsedOutput.body;
|
|
1607
|
-
throwDefaultError({
|
|
1603
|
+
return throwDefaultError({
|
|
1608
1604
|
output,
|
|
1609
1605
|
parsedBody: parsedBody.Error,
|
|
1610
|
-
exceptionCtor: __BaseException,
|
|
1611
1606
|
errorCode,
|
|
1612
1607
|
});
|
|
1613
1608
|
}
|
|
@@ -1623,7 +1618,7 @@ export const de_AuthorizeDBSecurityGroupIngressCommand = async (output, context)
|
|
|
1623
1618
|
$metadata: deserializeMetadata(output),
|
|
1624
1619
|
...contents,
|
|
1625
1620
|
};
|
|
1626
|
-
return
|
|
1621
|
+
return response;
|
|
1627
1622
|
};
|
|
1628
1623
|
const de_AuthorizeDBSecurityGroupIngressCommandError = async (output, context) => {
|
|
1629
1624
|
const parsedOutput = {
|
|
@@ -1646,10 +1641,9 @@ const de_AuthorizeDBSecurityGroupIngressCommandError = async (output, context) =
|
|
|
1646
1641
|
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
1647
1642
|
default:
|
|
1648
1643
|
const parsedBody = parsedOutput.body;
|
|
1649
|
-
throwDefaultError({
|
|
1644
|
+
return throwDefaultError({
|
|
1650
1645
|
output,
|
|
1651
1646
|
parsedBody: parsedBody.Error,
|
|
1652
|
-
exceptionCtor: __BaseException,
|
|
1653
1647
|
errorCode,
|
|
1654
1648
|
});
|
|
1655
1649
|
}
|
|
@@ -1665,7 +1659,7 @@ export const de_BacktrackDBClusterCommand = async (output, context) => {
|
|
|
1665
1659
|
$metadata: deserializeMetadata(output),
|
|
1666
1660
|
...contents,
|
|
1667
1661
|
};
|
|
1668
|
-
return
|
|
1662
|
+
return response;
|
|
1669
1663
|
};
|
|
1670
1664
|
const de_BacktrackDBClusterCommandError = async (output, context) => {
|
|
1671
1665
|
const parsedOutput = {
|
|
@@ -1682,10 +1676,9 @@ const de_BacktrackDBClusterCommandError = async (output, context) => {
|
|
|
1682
1676
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1683
1677
|
default:
|
|
1684
1678
|
const parsedBody = parsedOutput.body;
|
|
1685
|
-
throwDefaultError({
|
|
1679
|
+
return throwDefaultError({
|
|
1686
1680
|
output,
|
|
1687
1681
|
parsedBody: parsedBody.Error,
|
|
1688
|
-
exceptionCtor: __BaseException,
|
|
1689
1682
|
errorCode,
|
|
1690
1683
|
});
|
|
1691
1684
|
}
|
|
@@ -1701,7 +1694,7 @@ export const de_CancelExportTaskCommand = async (output, context) => {
|
|
|
1701
1694
|
$metadata: deserializeMetadata(output),
|
|
1702
1695
|
...contents,
|
|
1703
1696
|
};
|
|
1704
|
-
return
|
|
1697
|
+
return response;
|
|
1705
1698
|
};
|
|
1706
1699
|
const de_CancelExportTaskCommandError = async (output, context) => {
|
|
1707
1700
|
const parsedOutput = {
|
|
@@ -1718,10 +1711,9 @@ const de_CancelExportTaskCommandError = async (output, context) => {
|
|
|
1718
1711
|
throw await de_InvalidExportTaskStateFaultRes(parsedOutput, context);
|
|
1719
1712
|
default:
|
|
1720
1713
|
const parsedBody = parsedOutput.body;
|
|
1721
|
-
throwDefaultError({
|
|
1714
|
+
return throwDefaultError({
|
|
1722
1715
|
output,
|
|
1723
1716
|
parsedBody: parsedBody.Error,
|
|
1724
|
-
exceptionCtor: __BaseException,
|
|
1725
1717
|
errorCode,
|
|
1726
1718
|
});
|
|
1727
1719
|
}
|
|
@@ -1737,7 +1729,7 @@ export const de_CopyDBClusterParameterGroupCommand = async (output, context) =>
|
|
|
1737
1729
|
$metadata: deserializeMetadata(output),
|
|
1738
1730
|
...contents,
|
|
1739
1731
|
};
|
|
1740
|
-
return
|
|
1732
|
+
return response;
|
|
1741
1733
|
};
|
|
1742
1734
|
const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1743
1735
|
const parsedOutput = {
|
|
@@ -1757,10 +1749,9 @@ const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
1757
1749
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1758
1750
|
default:
|
|
1759
1751
|
const parsedBody = parsedOutput.body;
|
|
1760
|
-
throwDefaultError({
|
|
1752
|
+
return throwDefaultError({
|
|
1761
1753
|
output,
|
|
1762
1754
|
parsedBody: parsedBody.Error,
|
|
1763
|
-
exceptionCtor: __BaseException,
|
|
1764
1755
|
errorCode,
|
|
1765
1756
|
});
|
|
1766
1757
|
}
|
|
@@ -1776,7 +1767,7 @@ export const de_CopyDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1776
1767
|
$metadata: deserializeMetadata(output),
|
|
1777
1768
|
...contents,
|
|
1778
1769
|
};
|
|
1779
|
-
return
|
|
1770
|
+
return response;
|
|
1780
1771
|
};
|
|
1781
1772
|
const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
1782
1773
|
const parsedOutput = {
|
|
@@ -1805,10 +1796,9 @@ const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1805
1796
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1806
1797
|
default:
|
|
1807
1798
|
const parsedBody = parsedOutput.body;
|
|
1808
|
-
throwDefaultError({
|
|
1799
|
+
return throwDefaultError({
|
|
1809
1800
|
output,
|
|
1810
1801
|
parsedBody: parsedBody.Error,
|
|
1811
|
-
exceptionCtor: __BaseException,
|
|
1812
1802
|
errorCode,
|
|
1813
1803
|
});
|
|
1814
1804
|
}
|
|
@@ -1824,7 +1814,7 @@ export const de_CopyDBParameterGroupCommand = async (output, context) => {
|
|
|
1824
1814
|
$metadata: deserializeMetadata(output),
|
|
1825
1815
|
...contents,
|
|
1826
1816
|
};
|
|
1827
|
-
return
|
|
1817
|
+
return response;
|
|
1828
1818
|
};
|
|
1829
1819
|
const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
1830
1820
|
const parsedOutput = {
|
|
@@ -1844,10 +1834,9 @@ const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
|
1844
1834
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1845
1835
|
default:
|
|
1846
1836
|
const parsedBody = parsedOutput.body;
|
|
1847
|
-
throwDefaultError({
|
|
1837
|
+
return throwDefaultError({
|
|
1848
1838
|
output,
|
|
1849
1839
|
parsedBody: parsedBody.Error,
|
|
1850
|
-
exceptionCtor: __BaseException,
|
|
1851
1840
|
errorCode,
|
|
1852
1841
|
});
|
|
1853
1842
|
}
|
|
@@ -1863,7 +1852,7 @@ export const de_CopyDBSnapshotCommand = async (output, context) => {
|
|
|
1863
1852
|
$metadata: deserializeMetadata(output),
|
|
1864
1853
|
...contents,
|
|
1865
1854
|
};
|
|
1866
|
-
return
|
|
1855
|
+
return response;
|
|
1867
1856
|
};
|
|
1868
1857
|
const de_CopyDBSnapshotCommandError = async (output, context) => {
|
|
1869
1858
|
const parsedOutput = {
|
|
@@ -1892,10 +1881,9 @@ const de_CopyDBSnapshotCommandError = async (output, context) => {
|
|
|
1892
1881
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1893
1882
|
default:
|
|
1894
1883
|
const parsedBody = parsedOutput.body;
|
|
1895
|
-
throwDefaultError({
|
|
1884
|
+
return throwDefaultError({
|
|
1896
1885
|
output,
|
|
1897
1886
|
parsedBody: parsedBody.Error,
|
|
1898
|
-
exceptionCtor: __BaseException,
|
|
1899
1887
|
errorCode,
|
|
1900
1888
|
});
|
|
1901
1889
|
}
|
|
@@ -1911,7 +1899,7 @@ export const de_CopyOptionGroupCommand = async (output, context) => {
|
|
|
1911
1899
|
$metadata: deserializeMetadata(output),
|
|
1912
1900
|
...contents,
|
|
1913
1901
|
};
|
|
1914
|
-
return
|
|
1902
|
+
return response;
|
|
1915
1903
|
};
|
|
1916
1904
|
const de_CopyOptionGroupCommandError = async (output, context) => {
|
|
1917
1905
|
const parsedOutput = {
|
|
@@ -1931,10 +1919,9 @@ const de_CopyOptionGroupCommandError = async (output, context) => {
|
|
|
1931
1919
|
throw await de_OptionGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1932
1920
|
default:
|
|
1933
1921
|
const parsedBody = parsedOutput.body;
|
|
1934
|
-
throwDefaultError({
|
|
1922
|
+
return throwDefaultError({
|
|
1935
1923
|
output,
|
|
1936
1924
|
parsedBody: parsedBody.Error,
|
|
1937
|
-
exceptionCtor: __BaseException,
|
|
1938
1925
|
errorCode,
|
|
1939
1926
|
});
|
|
1940
1927
|
}
|
|
@@ -1950,7 +1937,7 @@ export const de_CreateBlueGreenDeploymentCommand = async (output, context) => {
|
|
|
1950
1937
|
$metadata: deserializeMetadata(output),
|
|
1951
1938
|
...contents,
|
|
1952
1939
|
};
|
|
1953
|
-
return
|
|
1940
|
+
return response;
|
|
1954
1941
|
};
|
|
1955
1942
|
const de_CreateBlueGreenDeploymentCommandError = async (output, context) => {
|
|
1956
1943
|
const parsedOutput = {
|
|
@@ -1994,10 +1981,9 @@ const de_CreateBlueGreenDeploymentCommandError = async (output, context) => {
|
|
|
1994
1981
|
throw await de_SourceDatabaseNotSupportedFaultRes(parsedOutput, context);
|
|
1995
1982
|
default:
|
|
1996
1983
|
const parsedBody = parsedOutput.body;
|
|
1997
|
-
throwDefaultError({
|
|
1984
|
+
return throwDefaultError({
|
|
1998
1985
|
output,
|
|
1999
1986
|
parsedBody: parsedBody.Error,
|
|
2000
|
-
exceptionCtor: __BaseException,
|
|
2001
1987
|
errorCode,
|
|
2002
1988
|
});
|
|
2003
1989
|
}
|
|
@@ -2013,7 +1999,7 @@ export const de_CreateCustomDBEngineVersionCommand = async (output, context) =>
|
|
|
2013
1999
|
$metadata: deserializeMetadata(output),
|
|
2014
2000
|
...contents,
|
|
2015
2001
|
};
|
|
2016
|
-
return
|
|
2002
|
+
return response;
|
|
2017
2003
|
};
|
|
2018
2004
|
const de_CreateCustomDBEngineVersionCommandError = async (output, context) => {
|
|
2019
2005
|
const parsedOutput = {
|
|
@@ -2039,10 +2025,9 @@ const de_CreateCustomDBEngineVersionCommandError = async (output, context) => {
|
|
|
2039
2025
|
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
2040
2026
|
default:
|
|
2041
2027
|
const parsedBody = parsedOutput.body;
|
|
2042
|
-
throwDefaultError({
|
|
2028
|
+
return throwDefaultError({
|
|
2043
2029
|
output,
|
|
2044
2030
|
parsedBody: parsedBody.Error,
|
|
2045
|
-
exceptionCtor: __BaseException,
|
|
2046
2031
|
errorCode,
|
|
2047
2032
|
});
|
|
2048
2033
|
}
|
|
@@ -2058,7 +2043,7 @@ export const de_CreateDBClusterCommand = async (output, context) => {
|
|
|
2058
2043
|
$metadata: deserializeMetadata(output),
|
|
2059
2044
|
...contents,
|
|
2060
2045
|
};
|
|
2061
|
-
return
|
|
2046
|
+
return response;
|
|
2062
2047
|
};
|
|
2063
2048
|
const de_CreateDBClusterCommandError = async (output, context) => {
|
|
2064
2049
|
const parsedOutput = {
|
|
@@ -2123,10 +2108,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
|
|
|
2123
2108
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2124
2109
|
default:
|
|
2125
2110
|
const parsedBody = parsedOutput.body;
|
|
2126
|
-
throwDefaultError({
|
|
2111
|
+
return throwDefaultError({
|
|
2127
2112
|
output,
|
|
2128
2113
|
parsedBody: parsedBody.Error,
|
|
2129
|
-
exceptionCtor: __BaseException,
|
|
2130
2114
|
errorCode,
|
|
2131
2115
|
});
|
|
2132
2116
|
}
|
|
@@ -2142,7 +2126,7 @@ export const de_CreateDBClusterEndpointCommand = async (output, context) => {
|
|
|
2142
2126
|
$metadata: deserializeMetadata(output),
|
|
2143
2127
|
...contents,
|
|
2144
2128
|
};
|
|
2145
|
-
return
|
|
2129
|
+
return response;
|
|
2146
2130
|
};
|
|
2147
2131
|
const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
2148
2132
|
const parsedOutput = {
|
|
@@ -2171,10 +2155,9 @@ const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
|
2171
2155
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2172
2156
|
default:
|
|
2173
2157
|
const parsedBody = parsedOutput.body;
|
|
2174
|
-
throwDefaultError({
|
|
2158
|
+
return throwDefaultError({
|
|
2175
2159
|
output,
|
|
2176
2160
|
parsedBody: parsedBody.Error,
|
|
2177
|
-
exceptionCtor: __BaseException,
|
|
2178
2161
|
errorCode,
|
|
2179
2162
|
});
|
|
2180
2163
|
}
|
|
@@ -2190,7 +2173,7 @@ export const de_CreateDBClusterParameterGroupCommand = async (output, context) =
|
|
|
2190
2173
|
$metadata: deserializeMetadata(output),
|
|
2191
2174
|
...contents,
|
|
2192
2175
|
};
|
|
2193
|
-
return
|
|
2176
|
+
return response;
|
|
2194
2177
|
};
|
|
2195
2178
|
const de_CreateDBClusterParameterGroupCommandError = async (output, context) => {
|
|
2196
2179
|
const parsedOutput = {
|
|
@@ -2207,10 +2190,9 @@ const de_CreateDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
2207
2190
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2208
2191
|
default:
|
|
2209
2192
|
const parsedBody = parsedOutput.body;
|
|
2210
|
-
throwDefaultError({
|
|
2193
|
+
return throwDefaultError({
|
|
2211
2194
|
output,
|
|
2212
2195
|
parsedBody: parsedBody.Error,
|
|
2213
|
-
exceptionCtor: __BaseException,
|
|
2214
2196
|
errorCode,
|
|
2215
2197
|
});
|
|
2216
2198
|
}
|
|
@@ -2226,7 +2208,7 @@ export const de_CreateDBClusterSnapshotCommand = async (output, context) => {
|
|
|
2226
2208
|
$metadata: deserializeMetadata(output),
|
|
2227
2209
|
...contents,
|
|
2228
2210
|
};
|
|
2229
|
-
return
|
|
2211
|
+
return response;
|
|
2230
2212
|
};
|
|
2231
2213
|
const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
2232
2214
|
const parsedOutput = {
|
|
@@ -2252,10 +2234,9 @@ const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
2252
2234
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2253
2235
|
default:
|
|
2254
2236
|
const parsedBody = parsedOutput.body;
|
|
2255
|
-
throwDefaultError({
|
|
2237
|
+
return throwDefaultError({
|
|
2256
2238
|
output,
|
|
2257
2239
|
parsedBody: parsedBody.Error,
|
|
2258
|
-
exceptionCtor: __BaseException,
|
|
2259
2240
|
errorCode,
|
|
2260
2241
|
});
|
|
2261
2242
|
}
|
|
@@ -2271,7 +2252,7 @@ export const de_CreateDBInstanceCommand = async (output, context) => {
|
|
|
2271
2252
|
$metadata: deserializeMetadata(output),
|
|
2272
2253
|
...contents,
|
|
2273
2254
|
};
|
|
2274
|
-
return
|
|
2255
|
+
return response;
|
|
2275
2256
|
};
|
|
2276
2257
|
const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
2277
2258
|
const parsedOutput = {
|
|
@@ -2345,10 +2326,9 @@ const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
|
2345
2326
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2346
2327
|
default:
|
|
2347
2328
|
const parsedBody = parsedOutput.body;
|
|
2348
|
-
throwDefaultError({
|
|
2329
|
+
return throwDefaultError({
|
|
2349
2330
|
output,
|
|
2350
2331
|
parsedBody: parsedBody.Error,
|
|
2351
|
-
exceptionCtor: __BaseException,
|
|
2352
2332
|
errorCode,
|
|
2353
2333
|
});
|
|
2354
2334
|
}
|
|
@@ -2364,7 +2344,7 @@ export const de_CreateDBInstanceReadReplicaCommand = async (output, context) =>
|
|
|
2364
2344
|
$metadata: deserializeMetadata(output),
|
|
2365
2345
|
...contents,
|
|
2366
2346
|
};
|
|
2367
|
-
return
|
|
2347
|
+
return response;
|
|
2368
2348
|
};
|
|
2369
2349
|
const de_CreateDBInstanceReadReplicaCommandError = async (output, context) => {
|
|
2370
2350
|
const parsedOutput = {
|
|
@@ -2441,10 +2421,9 @@ const de_CreateDBInstanceReadReplicaCommandError = async (output, context) => {
|
|
|
2441
2421
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2442
2422
|
default:
|
|
2443
2423
|
const parsedBody = parsedOutput.body;
|
|
2444
|
-
throwDefaultError({
|
|
2424
|
+
return throwDefaultError({
|
|
2445
2425
|
output,
|
|
2446
2426
|
parsedBody: parsedBody.Error,
|
|
2447
|
-
exceptionCtor: __BaseException,
|
|
2448
2427
|
errorCode,
|
|
2449
2428
|
});
|
|
2450
2429
|
}
|
|
@@ -2460,7 +2439,7 @@ export const de_CreateDBParameterGroupCommand = async (output, context) => {
|
|
|
2460
2439
|
$metadata: deserializeMetadata(output),
|
|
2461
2440
|
...contents,
|
|
2462
2441
|
};
|
|
2463
|
-
return
|
|
2442
|
+
return response;
|
|
2464
2443
|
};
|
|
2465
2444
|
const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
2466
2445
|
const parsedOutput = {
|
|
@@ -2477,10 +2456,9 @@ const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
|
2477
2456
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2478
2457
|
default:
|
|
2479
2458
|
const parsedBody = parsedOutput.body;
|
|
2480
|
-
throwDefaultError({
|
|
2459
|
+
return throwDefaultError({
|
|
2481
2460
|
output,
|
|
2482
2461
|
parsedBody: parsedBody.Error,
|
|
2483
|
-
exceptionCtor: __BaseException,
|
|
2484
2462
|
errorCode,
|
|
2485
2463
|
});
|
|
2486
2464
|
}
|
|
@@ -2496,7 +2474,7 @@ export const de_CreateDBProxyCommand = async (output, context) => {
|
|
|
2496
2474
|
$metadata: deserializeMetadata(output),
|
|
2497
2475
|
...contents,
|
|
2498
2476
|
};
|
|
2499
|
-
return
|
|
2477
|
+
return response;
|
|
2500
2478
|
};
|
|
2501
2479
|
const de_CreateDBProxyCommandError = async (output, context) => {
|
|
2502
2480
|
const parsedOutput = {
|
|
@@ -2516,10 +2494,9 @@ const de_CreateDBProxyCommandError = async (output, context) => {
|
|
|
2516
2494
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2517
2495
|
default:
|
|
2518
2496
|
const parsedBody = parsedOutput.body;
|
|
2519
|
-
throwDefaultError({
|
|
2497
|
+
return throwDefaultError({
|
|
2520
2498
|
output,
|
|
2521
2499
|
parsedBody: parsedBody.Error,
|
|
2522
|
-
exceptionCtor: __BaseException,
|
|
2523
2500
|
errorCode,
|
|
2524
2501
|
});
|
|
2525
2502
|
}
|
|
@@ -2535,7 +2512,7 @@ export const de_CreateDBProxyEndpointCommand = async (output, context) => {
|
|
|
2535
2512
|
$metadata: deserializeMetadata(output),
|
|
2536
2513
|
...contents,
|
|
2537
2514
|
};
|
|
2538
|
-
return
|
|
2515
|
+
return response;
|
|
2539
2516
|
};
|
|
2540
2517
|
const de_CreateDBProxyEndpointCommandError = async (output, context) => {
|
|
2541
2518
|
const parsedOutput = {
|
|
@@ -2561,10 +2538,9 @@ const de_CreateDBProxyEndpointCommandError = async (output, context) => {
|
|
|
2561
2538
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2562
2539
|
default:
|
|
2563
2540
|
const parsedBody = parsedOutput.body;
|
|
2564
|
-
throwDefaultError({
|
|
2541
|
+
return throwDefaultError({
|
|
2565
2542
|
output,
|
|
2566
2543
|
parsedBody: parsedBody.Error,
|
|
2567
|
-
exceptionCtor: __BaseException,
|
|
2568
2544
|
errorCode,
|
|
2569
2545
|
});
|
|
2570
2546
|
}
|
|
@@ -2580,7 +2556,7 @@ export const de_CreateDBSecurityGroupCommand = async (output, context) => {
|
|
|
2580
2556
|
$metadata: deserializeMetadata(output),
|
|
2581
2557
|
...contents,
|
|
2582
2558
|
};
|
|
2583
|
-
return
|
|
2559
|
+
return response;
|
|
2584
2560
|
};
|
|
2585
2561
|
const de_CreateDBSecurityGroupCommandError = async (output, context) => {
|
|
2586
2562
|
const parsedOutput = {
|
|
@@ -2600,10 +2576,9 @@ const de_CreateDBSecurityGroupCommandError = async (output, context) => {
|
|
|
2600
2576
|
throw await de_DBSecurityGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2601
2577
|
default:
|
|
2602
2578
|
const parsedBody = parsedOutput.body;
|
|
2603
|
-
throwDefaultError({
|
|
2579
|
+
return throwDefaultError({
|
|
2604
2580
|
output,
|
|
2605
2581
|
parsedBody: parsedBody.Error,
|
|
2606
|
-
exceptionCtor: __BaseException,
|
|
2607
2582
|
errorCode,
|
|
2608
2583
|
});
|
|
2609
2584
|
}
|
|
@@ -2619,7 +2594,7 @@ export const de_CreateDBSnapshotCommand = async (output, context) => {
|
|
|
2619
2594
|
$metadata: deserializeMetadata(output),
|
|
2620
2595
|
...contents,
|
|
2621
2596
|
};
|
|
2622
|
-
return
|
|
2597
|
+
return response;
|
|
2623
2598
|
};
|
|
2624
2599
|
const de_CreateDBSnapshotCommandError = async (output, context) => {
|
|
2625
2600
|
const parsedOutput = {
|
|
@@ -2642,10 +2617,9 @@ const de_CreateDBSnapshotCommandError = async (output, context) => {
|
|
|
2642
2617
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2643
2618
|
default:
|
|
2644
2619
|
const parsedBody = parsedOutput.body;
|
|
2645
|
-
throwDefaultError({
|
|
2620
|
+
return throwDefaultError({
|
|
2646
2621
|
output,
|
|
2647
2622
|
parsedBody: parsedBody.Error,
|
|
2648
|
-
exceptionCtor: __BaseException,
|
|
2649
2623
|
errorCode,
|
|
2650
2624
|
});
|
|
2651
2625
|
}
|
|
@@ -2661,7 +2635,7 @@ export const de_CreateDBSubnetGroupCommand = async (output, context) => {
|
|
|
2661
2635
|
$metadata: deserializeMetadata(output),
|
|
2662
2636
|
...contents,
|
|
2663
2637
|
};
|
|
2664
|
-
return
|
|
2638
|
+
return response;
|
|
2665
2639
|
};
|
|
2666
2640
|
const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
2667
2641
|
const parsedOutput = {
|
|
@@ -2687,10 +2661,9 @@ const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
|
2687
2661
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
2688
2662
|
default:
|
|
2689
2663
|
const parsedBody = parsedOutput.body;
|
|
2690
|
-
throwDefaultError({
|
|
2664
|
+
return throwDefaultError({
|
|
2691
2665
|
output,
|
|
2692
2666
|
parsedBody: parsedBody.Error,
|
|
2693
|
-
exceptionCtor: __BaseException,
|
|
2694
2667
|
errorCode,
|
|
2695
2668
|
});
|
|
2696
2669
|
}
|
|
@@ -2706,7 +2679,7 @@ export const de_CreateEventSubscriptionCommand = async (output, context) => {
|
|
|
2706
2679
|
$metadata: deserializeMetadata(output),
|
|
2707
2680
|
...contents,
|
|
2708
2681
|
};
|
|
2709
|
-
return
|
|
2682
|
+
return response;
|
|
2710
2683
|
};
|
|
2711
2684
|
const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
2712
2685
|
const parsedOutput = {
|
|
@@ -2738,10 +2711,9 @@ const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
|
2738
2711
|
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
2739
2712
|
default:
|
|
2740
2713
|
const parsedBody = parsedOutput.body;
|
|
2741
|
-
throwDefaultError({
|
|
2714
|
+
return throwDefaultError({
|
|
2742
2715
|
output,
|
|
2743
2716
|
parsedBody: parsedBody.Error,
|
|
2744
|
-
exceptionCtor: __BaseException,
|
|
2745
2717
|
errorCode,
|
|
2746
2718
|
});
|
|
2747
2719
|
}
|
|
@@ -2757,7 +2729,7 @@ export const de_CreateGlobalClusterCommand = async (output, context) => {
|
|
|
2757
2729
|
$metadata: deserializeMetadata(output),
|
|
2758
2730
|
...contents,
|
|
2759
2731
|
};
|
|
2760
|
-
return
|
|
2732
|
+
return response;
|
|
2761
2733
|
};
|
|
2762
2734
|
const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
2763
2735
|
const parsedOutput = {
|
|
@@ -2780,10 +2752,9 @@ const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
|
2780
2752
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2781
2753
|
default:
|
|
2782
2754
|
const parsedBody = parsedOutput.body;
|
|
2783
|
-
throwDefaultError({
|
|
2755
|
+
return throwDefaultError({
|
|
2784
2756
|
output,
|
|
2785
2757
|
parsedBody: parsedBody.Error,
|
|
2786
|
-
exceptionCtor: __BaseException,
|
|
2787
2758
|
errorCode,
|
|
2788
2759
|
});
|
|
2789
2760
|
}
|
|
@@ -2799,7 +2770,7 @@ export const de_CreateOptionGroupCommand = async (output, context) => {
|
|
|
2799
2770
|
$metadata: deserializeMetadata(output),
|
|
2800
2771
|
...contents,
|
|
2801
2772
|
};
|
|
2802
|
-
return
|
|
2773
|
+
return response;
|
|
2803
2774
|
};
|
|
2804
2775
|
const de_CreateOptionGroupCommandError = async (output, context) => {
|
|
2805
2776
|
const parsedOutput = {
|
|
@@ -2816,10 +2787,9 @@ const de_CreateOptionGroupCommandError = async (output, context) => {
|
|
|
2816
2787
|
throw await de_OptionGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
2817
2788
|
default:
|
|
2818
2789
|
const parsedBody = parsedOutput.body;
|
|
2819
|
-
throwDefaultError({
|
|
2790
|
+
return throwDefaultError({
|
|
2820
2791
|
output,
|
|
2821
2792
|
parsedBody: parsedBody.Error,
|
|
2822
|
-
exceptionCtor: __BaseException,
|
|
2823
2793
|
errorCode,
|
|
2824
2794
|
});
|
|
2825
2795
|
}
|
|
@@ -2835,7 +2805,7 @@ export const de_DeleteBlueGreenDeploymentCommand = async (output, context) => {
|
|
|
2835
2805
|
$metadata: deserializeMetadata(output),
|
|
2836
2806
|
...contents,
|
|
2837
2807
|
};
|
|
2838
|
-
return
|
|
2808
|
+
return response;
|
|
2839
2809
|
};
|
|
2840
2810
|
const de_DeleteBlueGreenDeploymentCommandError = async (output, context) => {
|
|
2841
2811
|
const parsedOutput = {
|
|
@@ -2852,10 +2822,9 @@ const de_DeleteBlueGreenDeploymentCommandError = async (output, context) => {
|
|
|
2852
2822
|
throw await de_InvalidBlueGreenDeploymentStateFaultRes(parsedOutput, context);
|
|
2853
2823
|
default:
|
|
2854
2824
|
const parsedBody = parsedOutput.body;
|
|
2855
|
-
throwDefaultError({
|
|
2825
|
+
return throwDefaultError({
|
|
2856
2826
|
output,
|
|
2857
2827
|
parsedBody: parsedBody.Error,
|
|
2858
|
-
exceptionCtor: __BaseException,
|
|
2859
2828
|
errorCode,
|
|
2860
2829
|
});
|
|
2861
2830
|
}
|
|
@@ -2871,7 +2840,7 @@ export const de_DeleteCustomDBEngineVersionCommand = async (output, context) =>
|
|
|
2871
2840
|
$metadata: deserializeMetadata(output),
|
|
2872
2841
|
...contents,
|
|
2873
2842
|
};
|
|
2874
|
-
return
|
|
2843
|
+
return response;
|
|
2875
2844
|
};
|
|
2876
2845
|
const de_DeleteCustomDBEngineVersionCommandError = async (output, context) => {
|
|
2877
2846
|
const parsedOutput = {
|
|
@@ -2888,10 +2857,9 @@ const de_DeleteCustomDBEngineVersionCommandError = async (output, context) => {
|
|
|
2888
2857
|
throw await de_InvalidCustomDBEngineVersionStateFaultRes(parsedOutput, context);
|
|
2889
2858
|
default:
|
|
2890
2859
|
const parsedBody = parsedOutput.body;
|
|
2891
|
-
throwDefaultError({
|
|
2860
|
+
return throwDefaultError({
|
|
2892
2861
|
output,
|
|
2893
2862
|
parsedBody: parsedBody.Error,
|
|
2894
|
-
exceptionCtor: __BaseException,
|
|
2895
2863
|
errorCode,
|
|
2896
2864
|
});
|
|
2897
2865
|
}
|
|
@@ -2907,7 +2875,7 @@ export const de_DeleteDBClusterCommand = async (output, context) => {
|
|
|
2907
2875
|
$metadata: deserializeMetadata(output),
|
|
2908
2876
|
...contents,
|
|
2909
2877
|
};
|
|
2910
|
-
return
|
|
2878
|
+
return response;
|
|
2911
2879
|
};
|
|
2912
2880
|
const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
2913
2881
|
const parsedOutput = {
|
|
@@ -2933,10 +2901,9 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
|
2933
2901
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2934
2902
|
default:
|
|
2935
2903
|
const parsedBody = parsedOutput.body;
|
|
2936
|
-
throwDefaultError({
|
|
2904
|
+
return throwDefaultError({
|
|
2937
2905
|
output,
|
|
2938
2906
|
parsedBody: parsedBody.Error,
|
|
2939
|
-
exceptionCtor: __BaseException,
|
|
2940
2907
|
errorCode,
|
|
2941
2908
|
});
|
|
2942
2909
|
}
|
|
@@ -2952,7 +2919,7 @@ export const de_DeleteDBClusterEndpointCommand = async (output, context) => {
|
|
|
2952
2919
|
$metadata: deserializeMetadata(output),
|
|
2953
2920
|
...contents,
|
|
2954
2921
|
};
|
|
2955
|
-
return
|
|
2922
|
+
return response;
|
|
2956
2923
|
};
|
|
2957
2924
|
const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
2958
2925
|
const parsedOutput = {
|
|
@@ -2972,10 +2939,9 @@ const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
|
2972
2939
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2973
2940
|
default:
|
|
2974
2941
|
const parsedBody = parsedOutput.body;
|
|
2975
|
-
throwDefaultError({
|
|
2942
|
+
return throwDefaultError({
|
|
2976
2943
|
output,
|
|
2977
2944
|
parsedBody: parsedBody.Error,
|
|
2978
|
-
exceptionCtor: __BaseException,
|
|
2979
2945
|
errorCode,
|
|
2980
2946
|
});
|
|
2981
2947
|
}
|
|
@@ -2988,7 +2954,7 @@ export const de_DeleteDBClusterParameterGroupCommand = async (output, context) =
|
|
|
2988
2954
|
const response = {
|
|
2989
2955
|
$metadata: deserializeMetadata(output),
|
|
2990
2956
|
};
|
|
2991
|
-
return
|
|
2957
|
+
return response;
|
|
2992
2958
|
};
|
|
2993
2959
|
const de_DeleteDBClusterParameterGroupCommandError = async (output, context) => {
|
|
2994
2960
|
const parsedOutput = {
|
|
@@ -3005,10 +2971,9 @@ const de_DeleteDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
3005
2971
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3006
2972
|
default:
|
|
3007
2973
|
const parsedBody = parsedOutput.body;
|
|
3008
|
-
throwDefaultError({
|
|
2974
|
+
return throwDefaultError({
|
|
3009
2975
|
output,
|
|
3010
2976
|
parsedBody: parsedBody.Error,
|
|
3011
|
-
exceptionCtor: __BaseException,
|
|
3012
2977
|
errorCode,
|
|
3013
2978
|
});
|
|
3014
2979
|
}
|
|
@@ -3024,7 +2989,7 @@ export const de_DeleteDBClusterSnapshotCommand = async (output, context) => {
|
|
|
3024
2989
|
$metadata: deserializeMetadata(output),
|
|
3025
2990
|
...contents,
|
|
3026
2991
|
};
|
|
3027
|
-
return
|
|
2992
|
+
return response;
|
|
3028
2993
|
};
|
|
3029
2994
|
const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
3030
2995
|
const parsedOutput = {
|
|
@@ -3041,10 +3006,9 @@ const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
3041
3006
|
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
3042
3007
|
default:
|
|
3043
3008
|
const parsedBody = parsedOutput.body;
|
|
3044
|
-
throwDefaultError({
|
|
3009
|
+
return throwDefaultError({
|
|
3045
3010
|
output,
|
|
3046
3011
|
parsedBody: parsedBody.Error,
|
|
3047
|
-
exceptionCtor: __BaseException,
|
|
3048
3012
|
errorCode,
|
|
3049
3013
|
});
|
|
3050
3014
|
}
|
|
@@ -3060,7 +3024,7 @@ export const de_DeleteDBInstanceCommand = async (output, context) => {
|
|
|
3060
3024
|
$metadata: deserializeMetadata(output),
|
|
3061
3025
|
...contents,
|
|
3062
3026
|
};
|
|
3063
|
-
return
|
|
3027
|
+
return response;
|
|
3064
3028
|
};
|
|
3065
3029
|
const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
3066
3030
|
const parsedOutput = {
|
|
@@ -3089,10 +3053,9 @@ const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
|
3089
3053
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
3090
3054
|
default:
|
|
3091
3055
|
const parsedBody = parsedOutput.body;
|
|
3092
|
-
throwDefaultError({
|
|
3056
|
+
return throwDefaultError({
|
|
3093
3057
|
output,
|
|
3094
3058
|
parsedBody: parsedBody.Error,
|
|
3095
|
-
exceptionCtor: __BaseException,
|
|
3096
3059
|
errorCode,
|
|
3097
3060
|
});
|
|
3098
3061
|
}
|
|
@@ -3108,7 +3071,7 @@ export const de_DeleteDBInstanceAutomatedBackupCommand = async (output, context)
|
|
|
3108
3071
|
$metadata: deserializeMetadata(output),
|
|
3109
3072
|
...contents,
|
|
3110
3073
|
};
|
|
3111
|
-
return
|
|
3074
|
+
return response;
|
|
3112
3075
|
};
|
|
3113
3076
|
const de_DeleteDBInstanceAutomatedBackupCommandError = async (output, context) => {
|
|
3114
3077
|
const parsedOutput = {
|
|
@@ -3125,10 +3088,9 @@ const de_DeleteDBInstanceAutomatedBackupCommandError = async (output, context) =
|
|
|
3125
3088
|
throw await de_InvalidDBInstanceAutomatedBackupStateFaultRes(parsedOutput, context);
|
|
3126
3089
|
default:
|
|
3127
3090
|
const parsedBody = parsedOutput.body;
|
|
3128
|
-
throwDefaultError({
|
|
3091
|
+
return throwDefaultError({
|
|
3129
3092
|
output,
|
|
3130
3093
|
parsedBody: parsedBody.Error,
|
|
3131
|
-
exceptionCtor: __BaseException,
|
|
3132
3094
|
errorCode,
|
|
3133
3095
|
});
|
|
3134
3096
|
}
|
|
@@ -3141,7 +3103,7 @@ export const de_DeleteDBParameterGroupCommand = async (output, context) => {
|
|
|
3141
3103
|
const response = {
|
|
3142
3104
|
$metadata: deserializeMetadata(output),
|
|
3143
3105
|
};
|
|
3144
|
-
return
|
|
3106
|
+
return response;
|
|
3145
3107
|
};
|
|
3146
3108
|
const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
3147
3109
|
const parsedOutput = {
|
|
@@ -3158,10 +3120,9 @@ const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
|
3158
3120
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3159
3121
|
default:
|
|
3160
3122
|
const parsedBody = parsedOutput.body;
|
|
3161
|
-
throwDefaultError({
|
|
3123
|
+
return throwDefaultError({
|
|
3162
3124
|
output,
|
|
3163
3125
|
parsedBody: parsedBody.Error,
|
|
3164
|
-
exceptionCtor: __BaseException,
|
|
3165
3126
|
errorCode,
|
|
3166
3127
|
});
|
|
3167
3128
|
}
|
|
@@ -3177,7 +3138,7 @@ export const de_DeleteDBProxyCommand = async (output, context) => {
|
|
|
3177
3138
|
$metadata: deserializeMetadata(output),
|
|
3178
3139
|
...contents,
|
|
3179
3140
|
};
|
|
3180
|
-
return
|
|
3141
|
+
return response;
|
|
3181
3142
|
};
|
|
3182
3143
|
const de_DeleteDBProxyCommandError = async (output, context) => {
|
|
3183
3144
|
const parsedOutput = {
|
|
@@ -3194,10 +3155,9 @@ const de_DeleteDBProxyCommandError = async (output, context) => {
|
|
|
3194
3155
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
3195
3156
|
default:
|
|
3196
3157
|
const parsedBody = parsedOutput.body;
|
|
3197
|
-
throwDefaultError({
|
|
3158
|
+
return throwDefaultError({
|
|
3198
3159
|
output,
|
|
3199
3160
|
parsedBody: parsedBody.Error,
|
|
3200
|
-
exceptionCtor: __BaseException,
|
|
3201
3161
|
errorCode,
|
|
3202
3162
|
});
|
|
3203
3163
|
}
|
|
@@ -3213,7 +3173,7 @@ export const de_DeleteDBProxyEndpointCommand = async (output, context) => {
|
|
|
3213
3173
|
$metadata: deserializeMetadata(output),
|
|
3214
3174
|
...contents,
|
|
3215
3175
|
};
|
|
3216
|
-
return
|
|
3176
|
+
return response;
|
|
3217
3177
|
};
|
|
3218
3178
|
const de_DeleteDBProxyEndpointCommandError = async (output, context) => {
|
|
3219
3179
|
const parsedOutput = {
|
|
@@ -3230,10 +3190,9 @@ const de_DeleteDBProxyEndpointCommandError = async (output, context) => {
|
|
|
3230
3190
|
throw await de_InvalidDBProxyEndpointStateFaultRes(parsedOutput, context);
|
|
3231
3191
|
default:
|
|
3232
3192
|
const parsedBody = parsedOutput.body;
|
|
3233
|
-
throwDefaultError({
|
|
3193
|
+
return throwDefaultError({
|
|
3234
3194
|
output,
|
|
3235
3195
|
parsedBody: parsedBody.Error,
|
|
3236
|
-
exceptionCtor: __BaseException,
|
|
3237
3196
|
errorCode,
|
|
3238
3197
|
});
|
|
3239
3198
|
}
|
|
@@ -3246,7 +3205,7 @@ export const de_DeleteDBSecurityGroupCommand = async (output, context) => {
|
|
|
3246
3205
|
const response = {
|
|
3247
3206
|
$metadata: deserializeMetadata(output),
|
|
3248
3207
|
};
|
|
3249
|
-
return
|
|
3208
|
+
return response;
|
|
3250
3209
|
};
|
|
3251
3210
|
const de_DeleteDBSecurityGroupCommandError = async (output, context) => {
|
|
3252
3211
|
const parsedOutput = {
|
|
@@ -3263,10 +3222,9 @@ const de_DeleteDBSecurityGroupCommandError = async (output, context) => {
|
|
|
3263
3222
|
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
3264
3223
|
default:
|
|
3265
3224
|
const parsedBody = parsedOutput.body;
|
|
3266
|
-
throwDefaultError({
|
|
3225
|
+
return throwDefaultError({
|
|
3267
3226
|
output,
|
|
3268
3227
|
parsedBody: parsedBody.Error,
|
|
3269
|
-
exceptionCtor: __BaseException,
|
|
3270
3228
|
errorCode,
|
|
3271
3229
|
});
|
|
3272
3230
|
}
|
|
@@ -3282,7 +3240,7 @@ export const de_DeleteDBSnapshotCommand = async (output, context) => {
|
|
|
3282
3240
|
$metadata: deserializeMetadata(output),
|
|
3283
3241
|
...contents,
|
|
3284
3242
|
};
|
|
3285
|
-
return
|
|
3243
|
+
return response;
|
|
3286
3244
|
};
|
|
3287
3245
|
const de_DeleteDBSnapshotCommandError = async (output, context) => {
|
|
3288
3246
|
const parsedOutput = {
|
|
@@ -3299,10 +3257,9 @@ const de_DeleteDBSnapshotCommandError = async (output, context) => {
|
|
|
3299
3257
|
throw await de_InvalidDBSnapshotStateFaultRes(parsedOutput, context);
|
|
3300
3258
|
default:
|
|
3301
3259
|
const parsedBody = parsedOutput.body;
|
|
3302
|
-
throwDefaultError({
|
|
3260
|
+
return throwDefaultError({
|
|
3303
3261
|
output,
|
|
3304
3262
|
parsedBody: parsedBody.Error,
|
|
3305
|
-
exceptionCtor: __BaseException,
|
|
3306
3263
|
errorCode,
|
|
3307
3264
|
});
|
|
3308
3265
|
}
|
|
@@ -3315,7 +3272,7 @@ export const de_DeleteDBSubnetGroupCommand = async (output, context) => {
|
|
|
3315
3272
|
const response = {
|
|
3316
3273
|
$metadata: deserializeMetadata(output),
|
|
3317
3274
|
};
|
|
3318
|
-
return
|
|
3275
|
+
return response;
|
|
3319
3276
|
};
|
|
3320
3277
|
const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
3321
3278
|
const parsedOutput = {
|
|
@@ -3335,10 +3292,9 @@ const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
|
3335
3292
|
throw await de_InvalidDBSubnetStateFaultRes(parsedOutput, context);
|
|
3336
3293
|
default:
|
|
3337
3294
|
const parsedBody = parsedOutput.body;
|
|
3338
|
-
throwDefaultError({
|
|
3295
|
+
return throwDefaultError({
|
|
3339
3296
|
output,
|
|
3340
3297
|
parsedBody: parsedBody.Error,
|
|
3341
|
-
exceptionCtor: __BaseException,
|
|
3342
3298
|
errorCode,
|
|
3343
3299
|
});
|
|
3344
3300
|
}
|
|
@@ -3354,7 +3310,7 @@ export const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
|
3354
3310
|
$metadata: deserializeMetadata(output),
|
|
3355
3311
|
...contents,
|
|
3356
3312
|
};
|
|
3357
|
-
return
|
|
3313
|
+
return response;
|
|
3358
3314
|
};
|
|
3359
3315
|
const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
3360
3316
|
const parsedOutput = {
|
|
@@ -3371,10 +3327,9 @@ const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
|
3371
3327
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3372
3328
|
default:
|
|
3373
3329
|
const parsedBody = parsedOutput.body;
|
|
3374
|
-
throwDefaultError({
|
|
3330
|
+
return throwDefaultError({
|
|
3375
3331
|
output,
|
|
3376
3332
|
parsedBody: parsedBody.Error,
|
|
3377
|
-
exceptionCtor: __BaseException,
|
|
3378
3333
|
errorCode,
|
|
3379
3334
|
});
|
|
3380
3335
|
}
|
|
@@ -3390,7 +3345,7 @@ export const de_DeleteGlobalClusterCommand = async (output, context) => {
|
|
|
3390
3345
|
$metadata: deserializeMetadata(output),
|
|
3391
3346
|
...contents,
|
|
3392
3347
|
};
|
|
3393
|
-
return
|
|
3348
|
+
return response;
|
|
3394
3349
|
};
|
|
3395
3350
|
const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
3396
3351
|
const parsedOutput = {
|
|
@@ -3407,10 +3362,9 @@ const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
|
3407
3362
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3408
3363
|
default:
|
|
3409
3364
|
const parsedBody = parsedOutput.body;
|
|
3410
|
-
throwDefaultError({
|
|
3365
|
+
return throwDefaultError({
|
|
3411
3366
|
output,
|
|
3412
3367
|
parsedBody: parsedBody.Error,
|
|
3413
|
-
exceptionCtor: __BaseException,
|
|
3414
3368
|
errorCode,
|
|
3415
3369
|
});
|
|
3416
3370
|
}
|
|
@@ -3423,7 +3377,7 @@ export const de_DeleteOptionGroupCommand = async (output, context) => {
|
|
|
3423
3377
|
const response = {
|
|
3424
3378
|
$metadata: deserializeMetadata(output),
|
|
3425
3379
|
};
|
|
3426
|
-
return
|
|
3380
|
+
return response;
|
|
3427
3381
|
};
|
|
3428
3382
|
const de_DeleteOptionGroupCommandError = async (output, context) => {
|
|
3429
3383
|
const parsedOutput = {
|
|
@@ -3440,10 +3394,9 @@ const de_DeleteOptionGroupCommandError = async (output, context) => {
|
|
|
3440
3394
|
throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
|
|
3441
3395
|
default:
|
|
3442
3396
|
const parsedBody = parsedOutput.body;
|
|
3443
|
-
throwDefaultError({
|
|
3397
|
+
return throwDefaultError({
|
|
3444
3398
|
output,
|
|
3445
3399
|
parsedBody: parsedBody.Error,
|
|
3446
|
-
exceptionCtor: __BaseException,
|
|
3447
3400
|
errorCode,
|
|
3448
3401
|
});
|
|
3449
3402
|
}
|
|
@@ -3459,7 +3412,7 @@ export const de_DeregisterDBProxyTargetsCommand = async (output, context) => {
|
|
|
3459
3412
|
$metadata: deserializeMetadata(output),
|
|
3460
3413
|
...contents,
|
|
3461
3414
|
};
|
|
3462
|
-
return
|
|
3415
|
+
return response;
|
|
3463
3416
|
};
|
|
3464
3417
|
const de_DeregisterDBProxyTargetsCommandError = async (output, context) => {
|
|
3465
3418
|
const parsedOutput = {
|
|
@@ -3482,10 +3435,9 @@ const de_DeregisterDBProxyTargetsCommandError = async (output, context) => {
|
|
|
3482
3435
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
3483
3436
|
default:
|
|
3484
3437
|
const parsedBody = parsedOutput.body;
|
|
3485
|
-
throwDefaultError({
|
|
3438
|
+
return throwDefaultError({
|
|
3486
3439
|
output,
|
|
3487
3440
|
parsedBody: parsedBody.Error,
|
|
3488
|
-
exceptionCtor: __BaseException,
|
|
3489
3441
|
errorCode,
|
|
3490
3442
|
});
|
|
3491
3443
|
}
|
|
@@ -3501,7 +3453,7 @@ export const de_DescribeAccountAttributesCommand = async (output, context) => {
|
|
|
3501
3453
|
$metadata: deserializeMetadata(output),
|
|
3502
3454
|
...contents,
|
|
3503
3455
|
};
|
|
3504
|
-
return
|
|
3456
|
+
return response;
|
|
3505
3457
|
};
|
|
3506
3458
|
const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
3507
3459
|
const parsedOutput = {
|
|
@@ -3510,10 +3462,9 @@ const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
|
3510
3462
|
};
|
|
3511
3463
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3512
3464
|
const parsedBody = parsedOutput.body;
|
|
3513
|
-
throwDefaultError({
|
|
3465
|
+
return throwDefaultError({
|
|
3514
3466
|
output,
|
|
3515
3467
|
parsedBody: parsedBody.Error,
|
|
3516
|
-
exceptionCtor: __BaseException,
|
|
3517
3468
|
errorCode,
|
|
3518
3469
|
});
|
|
3519
3470
|
};
|
|
@@ -3528,7 +3479,7 @@ export const de_DescribeBlueGreenDeploymentsCommand = async (output, context) =>
|
|
|
3528
3479
|
$metadata: deserializeMetadata(output),
|
|
3529
3480
|
...contents,
|
|
3530
3481
|
};
|
|
3531
|
-
return
|
|
3482
|
+
return response;
|
|
3532
3483
|
};
|
|
3533
3484
|
const de_DescribeBlueGreenDeploymentsCommandError = async (output, context) => {
|
|
3534
3485
|
const parsedOutput = {
|
|
@@ -3542,10 +3493,9 @@ const de_DescribeBlueGreenDeploymentsCommandError = async (output, context) => {
|
|
|
3542
3493
|
throw await de_BlueGreenDeploymentNotFoundFaultRes(parsedOutput, context);
|
|
3543
3494
|
default:
|
|
3544
3495
|
const parsedBody = parsedOutput.body;
|
|
3545
|
-
throwDefaultError({
|
|
3496
|
+
return throwDefaultError({
|
|
3546
3497
|
output,
|
|
3547
3498
|
parsedBody: parsedBody.Error,
|
|
3548
|
-
exceptionCtor: __BaseException,
|
|
3549
3499
|
errorCode,
|
|
3550
3500
|
});
|
|
3551
3501
|
}
|
|
@@ -3561,7 +3511,7 @@ export const de_DescribeCertificatesCommand = async (output, context) => {
|
|
|
3561
3511
|
$metadata: deserializeMetadata(output),
|
|
3562
3512
|
...contents,
|
|
3563
3513
|
};
|
|
3564
|
-
return
|
|
3514
|
+
return response;
|
|
3565
3515
|
};
|
|
3566
3516
|
const de_DescribeCertificatesCommandError = async (output, context) => {
|
|
3567
3517
|
const parsedOutput = {
|
|
@@ -3575,10 +3525,9 @@ const de_DescribeCertificatesCommandError = async (output, context) => {
|
|
|
3575
3525
|
throw await de_CertificateNotFoundFaultRes(parsedOutput, context);
|
|
3576
3526
|
default:
|
|
3577
3527
|
const parsedBody = parsedOutput.body;
|
|
3578
|
-
throwDefaultError({
|
|
3528
|
+
return throwDefaultError({
|
|
3579
3529
|
output,
|
|
3580
3530
|
parsedBody: parsedBody.Error,
|
|
3581
|
-
exceptionCtor: __BaseException,
|
|
3582
3531
|
errorCode,
|
|
3583
3532
|
});
|
|
3584
3533
|
}
|
|
@@ -3594,7 +3543,7 @@ export const de_DescribeDBClusterBacktracksCommand = async (output, context) =>
|
|
|
3594
3543
|
$metadata: deserializeMetadata(output),
|
|
3595
3544
|
...contents,
|
|
3596
3545
|
};
|
|
3597
|
-
return
|
|
3546
|
+
return response;
|
|
3598
3547
|
};
|
|
3599
3548
|
const de_DescribeDBClusterBacktracksCommandError = async (output, context) => {
|
|
3600
3549
|
const parsedOutput = {
|
|
@@ -3611,10 +3560,9 @@ const de_DescribeDBClusterBacktracksCommandError = async (output, context) => {
|
|
|
3611
3560
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3612
3561
|
default:
|
|
3613
3562
|
const parsedBody = parsedOutput.body;
|
|
3614
|
-
throwDefaultError({
|
|
3563
|
+
return throwDefaultError({
|
|
3615
3564
|
output,
|
|
3616
3565
|
parsedBody: parsedBody.Error,
|
|
3617
|
-
exceptionCtor: __BaseException,
|
|
3618
3566
|
errorCode,
|
|
3619
3567
|
});
|
|
3620
3568
|
}
|
|
@@ -3630,7 +3578,7 @@ export const de_DescribeDBClusterEndpointsCommand = async (output, context) => {
|
|
|
3630
3578
|
$metadata: deserializeMetadata(output),
|
|
3631
3579
|
...contents,
|
|
3632
3580
|
};
|
|
3633
|
-
return
|
|
3581
|
+
return response;
|
|
3634
3582
|
};
|
|
3635
3583
|
const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
3636
3584
|
const parsedOutput = {
|
|
@@ -3644,10 +3592,9 @@ const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
|
3644
3592
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3645
3593
|
default:
|
|
3646
3594
|
const parsedBody = parsedOutput.body;
|
|
3647
|
-
throwDefaultError({
|
|
3595
|
+
return throwDefaultError({
|
|
3648
3596
|
output,
|
|
3649
3597
|
parsedBody: parsedBody.Error,
|
|
3650
|
-
exceptionCtor: __BaseException,
|
|
3651
3598
|
errorCode,
|
|
3652
3599
|
});
|
|
3653
3600
|
}
|
|
@@ -3663,7 +3610,7 @@ export const de_DescribeDBClusterParameterGroupsCommand = async (output, context
|
|
|
3663
3610
|
$metadata: deserializeMetadata(output),
|
|
3664
3611
|
...contents,
|
|
3665
3612
|
};
|
|
3666
|
-
return
|
|
3613
|
+
return response;
|
|
3667
3614
|
};
|
|
3668
3615
|
const de_DescribeDBClusterParameterGroupsCommandError = async (output, context) => {
|
|
3669
3616
|
const parsedOutput = {
|
|
@@ -3677,10 +3624,9 @@ const de_DescribeDBClusterParameterGroupsCommandError = async (output, context)
|
|
|
3677
3624
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3678
3625
|
default:
|
|
3679
3626
|
const parsedBody = parsedOutput.body;
|
|
3680
|
-
throwDefaultError({
|
|
3627
|
+
return throwDefaultError({
|
|
3681
3628
|
output,
|
|
3682
3629
|
parsedBody: parsedBody.Error,
|
|
3683
|
-
exceptionCtor: __BaseException,
|
|
3684
3630
|
errorCode,
|
|
3685
3631
|
});
|
|
3686
3632
|
}
|
|
@@ -3696,7 +3642,7 @@ export const de_DescribeDBClusterParametersCommand = async (output, context) =>
|
|
|
3696
3642
|
$metadata: deserializeMetadata(output),
|
|
3697
3643
|
...contents,
|
|
3698
3644
|
};
|
|
3699
|
-
return
|
|
3645
|
+
return response;
|
|
3700
3646
|
};
|
|
3701
3647
|
const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
3702
3648
|
const parsedOutput = {
|
|
@@ -3710,10 +3656,9 @@ const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
|
3710
3656
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3711
3657
|
default:
|
|
3712
3658
|
const parsedBody = parsedOutput.body;
|
|
3713
|
-
throwDefaultError({
|
|
3659
|
+
return throwDefaultError({
|
|
3714
3660
|
output,
|
|
3715
3661
|
parsedBody: parsedBody.Error,
|
|
3716
|
-
exceptionCtor: __BaseException,
|
|
3717
3662
|
errorCode,
|
|
3718
3663
|
});
|
|
3719
3664
|
}
|
|
@@ -3729,7 +3674,7 @@ export const de_DescribeDBClustersCommand = async (output, context) => {
|
|
|
3729
3674
|
$metadata: deserializeMetadata(output),
|
|
3730
3675
|
...contents,
|
|
3731
3676
|
};
|
|
3732
|
-
return
|
|
3677
|
+
return response;
|
|
3733
3678
|
};
|
|
3734
3679
|
const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
3735
3680
|
const parsedOutput = {
|
|
@@ -3743,10 +3688,9 @@ const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
|
3743
3688
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3744
3689
|
default:
|
|
3745
3690
|
const parsedBody = parsedOutput.body;
|
|
3746
|
-
throwDefaultError({
|
|
3691
|
+
return throwDefaultError({
|
|
3747
3692
|
output,
|
|
3748
3693
|
parsedBody: parsedBody.Error,
|
|
3749
|
-
exceptionCtor: __BaseException,
|
|
3750
3694
|
errorCode,
|
|
3751
3695
|
});
|
|
3752
3696
|
}
|
|
@@ -3762,7 +3706,7 @@ export const de_DescribeDBClusterSnapshotAttributesCommand = async (output, cont
|
|
|
3762
3706
|
$metadata: deserializeMetadata(output),
|
|
3763
3707
|
...contents,
|
|
3764
3708
|
};
|
|
3765
|
-
return
|
|
3709
|
+
return response;
|
|
3766
3710
|
};
|
|
3767
3711
|
const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, context) => {
|
|
3768
3712
|
const parsedOutput = {
|
|
@@ -3776,10 +3720,9 @@ const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, contex
|
|
|
3776
3720
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3777
3721
|
default:
|
|
3778
3722
|
const parsedBody = parsedOutput.body;
|
|
3779
|
-
throwDefaultError({
|
|
3723
|
+
return throwDefaultError({
|
|
3780
3724
|
output,
|
|
3781
3725
|
parsedBody: parsedBody.Error,
|
|
3782
|
-
exceptionCtor: __BaseException,
|
|
3783
3726
|
errorCode,
|
|
3784
3727
|
});
|
|
3785
3728
|
}
|
|
@@ -3795,7 +3738,7 @@ export const de_DescribeDBClusterSnapshotsCommand = async (output, context) => {
|
|
|
3795
3738
|
$metadata: deserializeMetadata(output),
|
|
3796
3739
|
...contents,
|
|
3797
3740
|
};
|
|
3798
|
-
return
|
|
3741
|
+
return response;
|
|
3799
3742
|
};
|
|
3800
3743
|
const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
3801
3744
|
const parsedOutput = {
|
|
@@ -3809,10 +3752,9 @@ const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
|
3809
3752
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3810
3753
|
default:
|
|
3811
3754
|
const parsedBody = parsedOutput.body;
|
|
3812
|
-
throwDefaultError({
|
|
3755
|
+
return throwDefaultError({
|
|
3813
3756
|
output,
|
|
3814
3757
|
parsedBody: parsedBody.Error,
|
|
3815
|
-
exceptionCtor: __BaseException,
|
|
3816
3758
|
errorCode,
|
|
3817
3759
|
});
|
|
3818
3760
|
}
|
|
@@ -3828,7 +3770,7 @@ export const de_DescribeDBEngineVersionsCommand = async (output, context) => {
|
|
|
3828
3770
|
$metadata: deserializeMetadata(output),
|
|
3829
3771
|
...contents,
|
|
3830
3772
|
};
|
|
3831
|
-
return
|
|
3773
|
+
return response;
|
|
3832
3774
|
};
|
|
3833
3775
|
const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
3834
3776
|
const parsedOutput = {
|
|
@@ -3837,10 +3779,9 @@ const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
|
3837
3779
|
};
|
|
3838
3780
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3839
3781
|
const parsedBody = parsedOutput.body;
|
|
3840
|
-
throwDefaultError({
|
|
3782
|
+
return throwDefaultError({
|
|
3841
3783
|
output,
|
|
3842
3784
|
parsedBody: parsedBody.Error,
|
|
3843
|
-
exceptionCtor: __BaseException,
|
|
3844
3785
|
errorCode,
|
|
3845
3786
|
});
|
|
3846
3787
|
};
|
|
@@ -3855,7 +3796,7 @@ export const de_DescribeDBInstanceAutomatedBackupsCommand = async (output, conte
|
|
|
3855
3796
|
$metadata: deserializeMetadata(output),
|
|
3856
3797
|
...contents,
|
|
3857
3798
|
};
|
|
3858
|
-
return
|
|
3799
|
+
return response;
|
|
3859
3800
|
};
|
|
3860
3801
|
const de_DescribeDBInstanceAutomatedBackupsCommandError = async (output, context) => {
|
|
3861
3802
|
const parsedOutput = {
|
|
@@ -3869,10 +3810,9 @@ const de_DescribeDBInstanceAutomatedBackupsCommandError = async (output, context
|
|
|
3869
3810
|
throw await de_DBInstanceAutomatedBackupNotFoundFaultRes(parsedOutput, context);
|
|
3870
3811
|
default:
|
|
3871
3812
|
const parsedBody = parsedOutput.body;
|
|
3872
|
-
throwDefaultError({
|
|
3813
|
+
return throwDefaultError({
|
|
3873
3814
|
output,
|
|
3874
3815
|
parsedBody: parsedBody.Error,
|
|
3875
|
-
exceptionCtor: __BaseException,
|
|
3876
3816
|
errorCode,
|
|
3877
3817
|
});
|
|
3878
3818
|
}
|
|
@@ -3888,7 +3828,7 @@ export const de_DescribeDBInstancesCommand = async (output, context) => {
|
|
|
3888
3828
|
$metadata: deserializeMetadata(output),
|
|
3889
3829
|
...contents,
|
|
3890
3830
|
};
|
|
3891
|
-
return
|
|
3831
|
+
return response;
|
|
3892
3832
|
};
|
|
3893
3833
|
const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
3894
3834
|
const parsedOutput = {
|
|
@@ -3902,10 +3842,9 @@ const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
|
3902
3842
|
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3903
3843
|
default:
|
|
3904
3844
|
const parsedBody = parsedOutput.body;
|
|
3905
|
-
throwDefaultError({
|
|
3845
|
+
return throwDefaultError({
|
|
3906
3846
|
output,
|
|
3907
3847
|
parsedBody: parsedBody.Error,
|
|
3908
|
-
exceptionCtor: __BaseException,
|
|
3909
3848
|
errorCode,
|
|
3910
3849
|
});
|
|
3911
3850
|
}
|
|
@@ -3921,7 +3860,7 @@ export const de_DescribeDBLogFilesCommand = async (output, context) => {
|
|
|
3921
3860
|
$metadata: deserializeMetadata(output),
|
|
3922
3861
|
...contents,
|
|
3923
3862
|
};
|
|
3924
|
-
return
|
|
3863
|
+
return response;
|
|
3925
3864
|
};
|
|
3926
3865
|
const de_DescribeDBLogFilesCommandError = async (output, context) => {
|
|
3927
3866
|
const parsedOutput = {
|
|
@@ -3935,10 +3874,9 @@ const de_DescribeDBLogFilesCommandError = async (output, context) => {
|
|
|
3935
3874
|
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3936
3875
|
default:
|
|
3937
3876
|
const parsedBody = parsedOutput.body;
|
|
3938
|
-
throwDefaultError({
|
|
3877
|
+
return throwDefaultError({
|
|
3939
3878
|
output,
|
|
3940
3879
|
parsedBody: parsedBody.Error,
|
|
3941
|
-
exceptionCtor: __BaseException,
|
|
3942
3880
|
errorCode,
|
|
3943
3881
|
});
|
|
3944
3882
|
}
|
|
@@ -3954,7 +3892,7 @@ export const de_DescribeDBParameterGroupsCommand = async (output, context) => {
|
|
|
3954
3892
|
$metadata: deserializeMetadata(output),
|
|
3955
3893
|
...contents,
|
|
3956
3894
|
};
|
|
3957
|
-
return
|
|
3895
|
+
return response;
|
|
3958
3896
|
};
|
|
3959
3897
|
const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
3960
3898
|
const parsedOutput = {
|
|
@@ -3968,10 +3906,9 @@ const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
|
3968
3906
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
3969
3907
|
default:
|
|
3970
3908
|
const parsedBody = parsedOutput.body;
|
|
3971
|
-
throwDefaultError({
|
|
3909
|
+
return throwDefaultError({
|
|
3972
3910
|
output,
|
|
3973
3911
|
parsedBody: parsedBody.Error,
|
|
3974
|
-
exceptionCtor: __BaseException,
|
|
3975
3912
|
errorCode,
|
|
3976
3913
|
});
|
|
3977
3914
|
}
|
|
@@ -3987,7 +3924,7 @@ export const de_DescribeDBParametersCommand = async (output, context) => {
|
|
|
3987
3924
|
$metadata: deserializeMetadata(output),
|
|
3988
3925
|
...contents,
|
|
3989
3926
|
};
|
|
3990
|
-
return
|
|
3927
|
+
return response;
|
|
3991
3928
|
};
|
|
3992
3929
|
const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
3993
3930
|
const parsedOutput = {
|
|
@@ -4001,10 +3938,9 @@ const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
|
4001
3938
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
4002
3939
|
default:
|
|
4003
3940
|
const parsedBody = parsedOutput.body;
|
|
4004
|
-
throwDefaultError({
|
|
3941
|
+
return throwDefaultError({
|
|
4005
3942
|
output,
|
|
4006
3943
|
parsedBody: parsedBody.Error,
|
|
4007
|
-
exceptionCtor: __BaseException,
|
|
4008
3944
|
errorCode,
|
|
4009
3945
|
});
|
|
4010
3946
|
}
|
|
@@ -4020,7 +3956,7 @@ export const de_DescribeDBProxiesCommand = async (output, context) => {
|
|
|
4020
3956
|
$metadata: deserializeMetadata(output),
|
|
4021
3957
|
...contents,
|
|
4022
3958
|
};
|
|
4023
|
-
return
|
|
3959
|
+
return response;
|
|
4024
3960
|
};
|
|
4025
3961
|
const de_DescribeDBProxiesCommandError = async (output, context) => {
|
|
4026
3962
|
const parsedOutput = {
|
|
@@ -4034,10 +3970,9 @@ const de_DescribeDBProxiesCommandError = async (output, context) => {
|
|
|
4034
3970
|
throw await de_DBProxyNotFoundFaultRes(parsedOutput, context);
|
|
4035
3971
|
default:
|
|
4036
3972
|
const parsedBody = parsedOutput.body;
|
|
4037
|
-
throwDefaultError({
|
|
3973
|
+
return throwDefaultError({
|
|
4038
3974
|
output,
|
|
4039
3975
|
parsedBody: parsedBody.Error,
|
|
4040
|
-
exceptionCtor: __BaseException,
|
|
4041
3976
|
errorCode,
|
|
4042
3977
|
});
|
|
4043
3978
|
}
|
|
@@ -4053,7 +3988,7 @@ export const de_DescribeDBProxyEndpointsCommand = async (output, context) => {
|
|
|
4053
3988
|
$metadata: deserializeMetadata(output),
|
|
4054
3989
|
...contents,
|
|
4055
3990
|
};
|
|
4056
|
-
return
|
|
3991
|
+
return response;
|
|
4057
3992
|
};
|
|
4058
3993
|
const de_DescribeDBProxyEndpointsCommandError = async (output, context) => {
|
|
4059
3994
|
const parsedOutput = {
|
|
@@ -4070,10 +4005,9 @@ const de_DescribeDBProxyEndpointsCommandError = async (output, context) => {
|
|
|
4070
4005
|
throw await de_DBProxyNotFoundFaultRes(parsedOutput, context);
|
|
4071
4006
|
default:
|
|
4072
4007
|
const parsedBody = parsedOutput.body;
|
|
4073
|
-
throwDefaultError({
|
|
4008
|
+
return throwDefaultError({
|
|
4074
4009
|
output,
|
|
4075
4010
|
parsedBody: parsedBody.Error,
|
|
4076
|
-
exceptionCtor: __BaseException,
|
|
4077
4011
|
errorCode,
|
|
4078
4012
|
});
|
|
4079
4013
|
}
|
|
@@ -4089,7 +4023,7 @@ export const de_DescribeDBProxyTargetGroupsCommand = async (output, context) =>
|
|
|
4089
4023
|
$metadata: deserializeMetadata(output),
|
|
4090
4024
|
...contents,
|
|
4091
4025
|
};
|
|
4092
|
-
return
|
|
4026
|
+
return response;
|
|
4093
4027
|
};
|
|
4094
4028
|
const de_DescribeDBProxyTargetGroupsCommandError = async (output, context) => {
|
|
4095
4029
|
const parsedOutput = {
|
|
@@ -4109,10 +4043,9 @@ const de_DescribeDBProxyTargetGroupsCommandError = async (output, context) => {
|
|
|
4109
4043
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
4110
4044
|
default:
|
|
4111
4045
|
const parsedBody = parsedOutput.body;
|
|
4112
|
-
throwDefaultError({
|
|
4046
|
+
return throwDefaultError({
|
|
4113
4047
|
output,
|
|
4114
4048
|
parsedBody: parsedBody.Error,
|
|
4115
|
-
exceptionCtor: __BaseException,
|
|
4116
4049
|
errorCode,
|
|
4117
4050
|
});
|
|
4118
4051
|
}
|
|
@@ -4128,7 +4061,7 @@ export const de_DescribeDBProxyTargetsCommand = async (output, context) => {
|
|
|
4128
4061
|
$metadata: deserializeMetadata(output),
|
|
4129
4062
|
...contents,
|
|
4130
4063
|
};
|
|
4131
|
-
return
|
|
4064
|
+
return response;
|
|
4132
4065
|
};
|
|
4133
4066
|
const de_DescribeDBProxyTargetsCommandError = async (output, context) => {
|
|
4134
4067
|
const parsedOutput = {
|
|
@@ -4151,10 +4084,9 @@ const de_DescribeDBProxyTargetsCommandError = async (output, context) => {
|
|
|
4151
4084
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
4152
4085
|
default:
|
|
4153
4086
|
const parsedBody = parsedOutput.body;
|
|
4154
|
-
throwDefaultError({
|
|
4087
|
+
return throwDefaultError({
|
|
4155
4088
|
output,
|
|
4156
4089
|
parsedBody: parsedBody.Error,
|
|
4157
|
-
exceptionCtor: __BaseException,
|
|
4158
4090
|
errorCode,
|
|
4159
4091
|
});
|
|
4160
4092
|
}
|
|
@@ -4170,7 +4102,7 @@ export const de_DescribeDBSecurityGroupsCommand = async (output, context) => {
|
|
|
4170
4102
|
$metadata: deserializeMetadata(output),
|
|
4171
4103
|
...contents,
|
|
4172
4104
|
};
|
|
4173
|
-
return
|
|
4105
|
+
return response;
|
|
4174
4106
|
};
|
|
4175
4107
|
const de_DescribeDBSecurityGroupsCommandError = async (output, context) => {
|
|
4176
4108
|
const parsedOutput = {
|
|
@@ -4184,10 +4116,9 @@ const de_DescribeDBSecurityGroupsCommandError = async (output, context) => {
|
|
|
4184
4116
|
throw await de_DBSecurityGroupNotFoundFaultRes(parsedOutput, context);
|
|
4185
4117
|
default:
|
|
4186
4118
|
const parsedBody = parsedOutput.body;
|
|
4187
|
-
throwDefaultError({
|
|
4119
|
+
return throwDefaultError({
|
|
4188
4120
|
output,
|
|
4189
4121
|
parsedBody: parsedBody.Error,
|
|
4190
|
-
exceptionCtor: __BaseException,
|
|
4191
4122
|
errorCode,
|
|
4192
4123
|
});
|
|
4193
4124
|
}
|
|
@@ -4203,7 +4134,7 @@ export const de_DescribeDBSnapshotAttributesCommand = async (output, context) =>
|
|
|
4203
4134
|
$metadata: deserializeMetadata(output),
|
|
4204
4135
|
...contents,
|
|
4205
4136
|
};
|
|
4206
|
-
return
|
|
4137
|
+
return response;
|
|
4207
4138
|
};
|
|
4208
4139
|
const de_DescribeDBSnapshotAttributesCommandError = async (output, context) => {
|
|
4209
4140
|
const parsedOutput = {
|
|
@@ -4217,10 +4148,9 @@ const de_DescribeDBSnapshotAttributesCommandError = async (output, context) => {
|
|
|
4217
4148
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
4218
4149
|
default:
|
|
4219
4150
|
const parsedBody = parsedOutput.body;
|
|
4220
|
-
throwDefaultError({
|
|
4151
|
+
return throwDefaultError({
|
|
4221
4152
|
output,
|
|
4222
4153
|
parsedBody: parsedBody.Error,
|
|
4223
|
-
exceptionCtor: __BaseException,
|
|
4224
4154
|
errorCode,
|
|
4225
4155
|
});
|
|
4226
4156
|
}
|
|
@@ -4236,7 +4166,7 @@ export const de_DescribeDBSnapshotsCommand = async (output, context) => {
|
|
|
4236
4166
|
$metadata: deserializeMetadata(output),
|
|
4237
4167
|
...contents,
|
|
4238
4168
|
};
|
|
4239
|
-
return
|
|
4169
|
+
return response;
|
|
4240
4170
|
};
|
|
4241
4171
|
const de_DescribeDBSnapshotsCommandError = async (output, context) => {
|
|
4242
4172
|
const parsedOutput = {
|
|
@@ -4250,10 +4180,9 @@ const de_DescribeDBSnapshotsCommandError = async (output, context) => {
|
|
|
4250
4180
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
4251
4181
|
default:
|
|
4252
4182
|
const parsedBody = parsedOutput.body;
|
|
4253
|
-
throwDefaultError({
|
|
4183
|
+
return throwDefaultError({
|
|
4254
4184
|
output,
|
|
4255
4185
|
parsedBody: parsedBody.Error,
|
|
4256
|
-
exceptionCtor: __BaseException,
|
|
4257
4186
|
errorCode,
|
|
4258
4187
|
});
|
|
4259
4188
|
}
|
|
@@ -4269,7 +4198,7 @@ export const de_DescribeDBSubnetGroupsCommand = async (output, context) => {
|
|
|
4269
4198
|
$metadata: deserializeMetadata(output),
|
|
4270
4199
|
...contents,
|
|
4271
4200
|
};
|
|
4272
|
-
return
|
|
4201
|
+
return response;
|
|
4273
4202
|
};
|
|
4274
4203
|
const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
4275
4204
|
const parsedOutput = {
|
|
@@ -4283,10 +4212,9 @@ const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
|
4283
4212
|
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
4284
4213
|
default:
|
|
4285
4214
|
const parsedBody = parsedOutput.body;
|
|
4286
|
-
throwDefaultError({
|
|
4215
|
+
return throwDefaultError({
|
|
4287
4216
|
output,
|
|
4288
4217
|
parsedBody: parsedBody.Error,
|
|
4289
|
-
exceptionCtor: __BaseException,
|
|
4290
4218
|
errorCode,
|
|
4291
4219
|
});
|
|
4292
4220
|
}
|
|
@@ -4302,7 +4230,7 @@ export const de_DescribeEngineDefaultClusterParametersCommand = async (output, c
|
|
|
4302
4230
|
$metadata: deserializeMetadata(output),
|
|
4303
4231
|
...contents,
|
|
4304
4232
|
};
|
|
4305
|
-
return
|
|
4233
|
+
return response;
|
|
4306
4234
|
};
|
|
4307
4235
|
const de_DescribeEngineDefaultClusterParametersCommandError = async (output, context) => {
|
|
4308
4236
|
const parsedOutput = {
|
|
@@ -4311,10 +4239,9 @@ const de_DescribeEngineDefaultClusterParametersCommandError = async (output, con
|
|
|
4311
4239
|
};
|
|
4312
4240
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4313
4241
|
const parsedBody = parsedOutput.body;
|
|
4314
|
-
throwDefaultError({
|
|
4242
|
+
return throwDefaultError({
|
|
4315
4243
|
output,
|
|
4316
4244
|
parsedBody: parsedBody.Error,
|
|
4317
|
-
exceptionCtor: __BaseException,
|
|
4318
4245
|
errorCode,
|
|
4319
4246
|
});
|
|
4320
4247
|
};
|
|
@@ -4329,7 +4256,7 @@ export const de_DescribeEngineDefaultParametersCommand = async (output, context)
|
|
|
4329
4256
|
$metadata: deserializeMetadata(output),
|
|
4330
4257
|
...contents,
|
|
4331
4258
|
};
|
|
4332
|
-
return
|
|
4259
|
+
return response;
|
|
4333
4260
|
};
|
|
4334
4261
|
const de_DescribeEngineDefaultParametersCommandError = async (output, context) => {
|
|
4335
4262
|
const parsedOutput = {
|
|
@@ -4338,10 +4265,9 @@ const de_DescribeEngineDefaultParametersCommandError = async (output, context) =
|
|
|
4338
4265
|
};
|
|
4339
4266
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4340
4267
|
const parsedBody = parsedOutput.body;
|
|
4341
|
-
throwDefaultError({
|
|
4268
|
+
return throwDefaultError({
|
|
4342
4269
|
output,
|
|
4343
4270
|
parsedBody: parsedBody.Error,
|
|
4344
|
-
exceptionCtor: __BaseException,
|
|
4345
4271
|
errorCode,
|
|
4346
4272
|
});
|
|
4347
4273
|
};
|
|
@@ -4356,7 +4282,7 @@ export const de_DescribeEventCategoriesCommand = async (output, context) => {
|
|
|
4356
4282
|
$metadata: deserializeMetadata(output),
|
|
4357
4283
|
...contents,
|
|
4358
4284
|
};
|
|
4359
|
-
return
|
|
4285
|
+
return response;
|
|
4360
4286
|
};
|
|
4361
4287
|
const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
4362
4288
|
const parsedOutput = {
|
|
@@ -4365,10 +4291,9 @@ const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
|
4365
4291
|
};
|
|
4366
4292
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4367
4293
|
const parsedBody = parsedOutput.body;
|
|
4368
|
-
throwDefaultError({
|
|
4294
|
+
return throwDefaultError({
|
|
4369
4295
|
output,
|
|
4370
4296
|
parsedBody: parsedBody.Error,
|
|
4371
|
-
exceptionCtor: __BaseException,
|
|
4372
4297
|
errorCode,
|
|
4373
4298
|
});
|
|
4374
4299
|
};
|
|
@@ -4383,7 +4308,7 @@ export const de_DescribeEventsCommand = async (output, context) => {
|
|
|
4383
4308
|
$metadata: deserializeMetadata(output),
|
|
4384
4309
|
...contents,
|
|
4385
4310
|
};
|
|
4386
|
-
return
|
|
4311
|
+
return response;
|
|
4387
4312
|
};
|
|
4388
4313
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
4389
4314
|
const parsedOutput = {
|
|
@@ -4392,10 +4317,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
4392
4317
|
};
|
|
4393
4318
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4394
4319
|
const parsedBody = parsedOutput.body;
|
|
4395
|
-
throwDefaultError({
|
|
4320
|
+
return throwDefaultError({
|
|
4396
4321
|
output,
|
|
4397
4322
|
parsedBody: parsedBody.Error,
|
|
4398
|
-
exceptionCtor: __BaseException,
|
|
4399
4323
|
errorCode,
|
|
4400
4324
|
});
|
|
4401
4325
|
};
|
|
@@ -4410,7 +4334,7 @@ export const de_DescribeEventSubscriptionsCommand = async (output, context) => {
|
|
|
4410
4334
|
$metadata: deserializeMetadata(output),
|
|
4411
4335
|
...contents,
|
|
4412
4336
|
};
|
|
4413
|
-
return
|
|
4337
|
+
return response;
|
|
4414
4338
|
};
|
|
4415
4339
|
const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
4416
4340
|
const parsedOutput = {
|
|
@@ -4424,10 +4348,9 @@ const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
|
4424
4348
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
4425
4349
|
default:
|
|
4426
4350
|
const parsedBody = parsedOutput.body;
|
|
4427
|
-
throwDefaultError({
|
|
4351
|
+
return throwDefaultError({
|
|
4428
4352
|
output,
|
|
4429
4353
|
parsedBody: parsedBody.Error,
|
|
4430
|
-
exceptionCtor: __BaseException,
|
|
4431
4354
|
errorCode,
|
|
4432
4355
|
});
|
|
4433
4356
|
}
|
|
@@ -4443,7 +4366,7 @@ export const de_DescribeExportTasksCommand = async (output, context) => {
|
|
|
4443
4366
|
$metadata: deserializeMetadata(output),
|
|
4444
4367
|
...contents,
|
|
4445
4368
|
};
|
|
4446
|
-
return
|
|
4369
|
+
return response;
|
|
4447
4370
|
};
|
|
4448
4371
|
const de_DescribeExportTasksCommandError = async (output, context) => {
|
|
4449
4372
|
const parsedOutput = {
|
|
@@ -4457,10 +4380,9 @@ const de_DescribeExportTasksCommandError = async (output, context) => {
|
|
|
4457
4380
|
throw await de_ExportTaskNotFoundFaultRes(parsedOutput, context);
|
|
4458
4381
|
default:
|
|
4459
4382
|
const parsedBody = parsedOutput.body;
|
|
4460
|
-
throwDefaultError({
|
|
4383
|
+
return throwDefaultError({
|
|
4461
4384
|
output,
|
|
4462
4385
|
parsedBody: parsedBody.Error,
|
|
4463
|
-
exceptionCtor: __BaseException,
|
|
4464
4386
|
errorCode,
|
|
4465
4387
|
});
|
|
4466
4388
|
}
|
|
@@ -4476,7 +4398,7 @@ export const de_DescribeGlobalClustersCommand = async (output, context) => {
|
|
|
4476
4398
|
$metadata: deserializeMetadata(output),
|
|
4477
4399
|
...contents,
|
|
4478
4400
|
};
|
|
4479
|
-
return
|
|
4401
|
+
return response;
|
|
4480
4402
|
};
|
|
4481
4403
|
const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
4482
4404
|
const parsedOutput = {
|
|
@@ -4490,10 +4412,9 @@ const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
|
4490
4412
|
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
4491
4413
|
default:
|
|
4492
4414
|
const parsedBody = parsedOutput.body;
|
|
4493
|
-
throwDefaultError({
|
|
4415
|
+
return throwDefaultError({
|
|
4494
4416
|
output,
|
|
4495
4417
|
parsedBody: parsedBody.Error,
|
|
4496
|
-
exceptionCtor: __BaseException,
|
|
4497
4418
|
errorCode,
|
|
4498
4419
|
});
|
|
4499
4420
|
}
|
|
@@ -4509,7 +4430,7 @@ export const de_DescribeOptionGroupOptionsCommand = async (output, context) => {
|
|
|
4509
4430
|
$metadata: deserializeMetadata(output),
|
|
4510
4431
|
...contents,
|
|
4511
4432
|
};
|
|
4512
|
-
return
|
|
4433
|
+
return response;
|
|
4513
4434
|
};
|
|
4514
4435
|
const de_DescribeOptionGroupOptionsCommandError = async (output, context) => {
|
|
4515
4436
|
const parsedOutput = {
|
|
@@ -4518,10 +4439,9 @@ const de_DescribeOptionGroupOptionsCommandError = async (output, context) => {
|
|
|
4518
4439
|
};
|
|
4519
4440
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4520
4441
|
const parsedBody = parsedOutput.body;
|
|
4521
|
-
throwDefaultError({
|
|
4442
|
+
return throwDefaultError({
|
|
4522
4443
|
output,
|
|
4523
4444
|
parsedBody: parsedBody.Error,
|
|
4524
|
-
exceptionCtor: __BaseException,
|
|
4525
4445
|
errorCode,
|
|
4526
4446
|
});
|
|
4527
4447
|
};
|
|
@@ -4536,7 +4456,7 @@ export const de_DescribeOptionGroupsCommand = async (output, context) => {
|
|
|
4536
4456
|
$metadata: deserializeMetadata(output),
|
|
4537
4457
|
...contents,
|
|
4538
4458
|
};
|
|
4539
|
-
return
|
|
4459
|
+
return response;
|
|
4540
4460
|
};
|
|
4541
4461
|
const de_DescribeOptionGroupsCommandError = async (output, context) => {
|
|
4542
4462
|
const parsedOutput = {
|
|
@@ -4550,10 +4470,9 @@ const de_DescribeOptionGroupsCommandError = async (output, context) => {
|
|
|
4550
4470
|
throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
|
|
4551
4471
|
default:
|
|
4552
4472
|
const parsedBody = parsedOutput.body;
|
|
4553
|
-
throwDefaultError({
|
|
4473
|
+
return throwDefaultError({
|
|
4554
4474
|
output,
|
|
4555
4475
|
parsedBody: parsedBody.Error,
|
|
4556
|
-
exceptionCtor: __BaseException,
|
|
4557
4476
|
errorCode,
|
|
4558
4477
|
});
|
|
4559
4478
|
}
|
|
@@ -4569,7 +4488,7 @@ export const de_DescribeOrderableDBInstanceOptionsCommand = async (output, conte
|
|
|
4569
4488
|
$metadata: deserializeMetadata(output),
|
|
4570
4489
|
...contents,
|
|
4571
4490
|
};
|
|
4572
|
-
return
|
|
4491
|
+
return response;
|
|
4573
4492
|
};
|
|
4574
4493
|
const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context) => {
|
|
4575
4494
|
const parsedOutput = {
|
|
@@ -4578,10 +4497,9 @@ const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context
|
|
|
4578
4497
|
};
|
|
4579
4498
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4580
4499
|
const parsedBody = parsedOutput.body;
|
|
4581
|
-
throwDefaultError({
|
|
4500
|
+
return throwDefaultError({
|
|
4582
4501
|
output,
|
|
4583
4502
|
parsedBody: parsedBody.Error,
|
|
4584
|
-
exceptionCtor: __BaseException,
|
|
4585
4503
|
errorCode,
|
|
4586
4504
|
});
|
|
4587
4505
|
};
|
|
@@ -4596,7 +4514,7 @@ export const de_DescribePendingMaintenanceActionsCommand = async (output, contex
|
|
|
4596
4514
|
$metadata: deserializeMetadata(output),
|
|
4597
4515
|
...contents,
|
|
4598
4516
|
};
|
|
4599
|
-
return
|
|
4517
|
+
return response;
|
|
4600
4518
|
};
|
|
4601
4519
|
const de_DescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
4602
4520
|
const parsedOutput = {
|
|
@@ -4610,10 +4528,9 @@ const de_DescribePendingMaintenanceActionsCommandError = async (output, context)
|
|
|
4610
4528
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4611
4529
|
default:
|
|
4612
4530
|
const parsedBody = parsedOutput.body;
|
|
4613
|
-
throwDefaultError({
|
|
4531
|
+
return throwDefaultError({
|
|
4614
4532
|
output,
|
|
4615
4533
|
parsedBody: parsedBody.Error,
|
|
4616
|
-
exceptionCtor: __BaseException,
|
|
4617
4534
|
errorCode,
|
|
4618
4535
|
});
|
|
4619
4536
|
}
|
|
@@ -4629,7 +4546,7 @@ export const de_DescribeReservedDBInstancesCommand = async (output, context) =>
|
|
|
4629
4546
|
$metadata: deserializeMetadata(output),
|
|
4630
4547
|
...contents,
|
|
4631
4548
|
};
|
|
4632
|
-
return
|
|
4549
|
+
return response;
|
|
4633
4550
|
};
|
|
4634
4551
|
const de_DescribeReservedDBInstancesCommandError = async (output, context) => {
|
|
4635
4552
|
const parsedOutput = {
|
|
@@ -4643,10 +4560,9 @@ const de_DescribeReservedDBInstancesCommandError = async (output, context) => {
|
|
|
4643
4560
|
throw await de_ReservedDBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
4644
4561
|
default:
|
|
4645
4562
|
const parsedBody = parsedOutput.body;
|
|
4646
|
-
throwDefaultError({
|
|
4563
|
+
return throwDefaultError({
|
|
4647
4564
|
output,
|
|
4648
4565
|
parsedBody: parsedBody.Error,
|
|
4649
|
-
exceptionCtor: __BaseException,
|
|
4650
4566
|
errorCode,
|
|
4651
4567
|
});
|
|
4652
4568
|
}
|
|
@@ -4662,7 +4578,7 @@ export const de_DescribeReservedDBInstancesOfferingsCommand = async (output, con
|
|
|
4662
4578
|
$metadata: deserializeMetadata(output),
|
|
4663
4579
|
...contents,
|
|
4664
4580
|
};
|
|
4665
|
-
return
|
|
4581
|
+
return response;
|
|
4666
4582
|
};
|
|
4667
4583
|
const de_DescribeReservedDBInstancesOfferingsCommandError = async (output, context) => {
|
|
4668
4584
|
const parsedOutput = {
|
|
@@ -4676,10 +4592,9 @@ const de_DescribeReservedDBInstancesOfferingsCommandError = async (output, conte
|
|
|
4676
4592
|
throw await de_ReservedDBInstancesOfferingNotFoundFaultRes(parsedOutput, context);
|
|
4677
4593
|
default:
|
|
4678
4594
|
const parsedBody = parsedOutput.body;
|
|
4679
|
-
throwDefaultError({
|
|
4595
|
+
return throwDefaultError({
|
|
4680
4596
|
output,
|
|
4681
4597
|
parsedBody: parsedBody.Error,
|
|
4682
|
-
exceptionCtor: __BaseException,
|
|
4683
4598
|
errorCode,
|
|
4684
4599
|
});
|
|
4685
4600
|
}
|
|
@@ -4695,7 +4610,7 @@ export const de_DescribeSourceRegionsCommand = async (output, context) => {
|
|
|
4695
4610
|
$metadata: deserializeMetadata(output),
|
|
4696
4611
|
...contents,
|
|
4697
4612
|
};
|
|
4698
|
-
return
|
|
4613
|
+
return response;
|
|
4699
4614
|
};
|
|
4700
4615
|
const de_DescribeSourceRegionsCommandError = async (output, context) => {
|
|
4701
4616
|
const parsedOutput = {
|
|
@@ -4704,10 +4619,9 @@ const de_DescribeSourceRegionsCommandError = async (output, context) => {
|
|
|
4704
4619
|
};
|
|
4705
4620
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4706
4621
|
const parsedBody = parsedOutput.body;
|
|
4707
|
-
throwDefaultError({
|
|
4622
|
+
return throwDefaultError({
|
|
4708
4623
|
output,
|
|
4709
4624
|
parsedBody: parsedBody.Error,
|
|
4710
|
-
exceptionCtor: __BaseException,
|
|
4711
4625
|
errorCode,
|
|
4712
4626
|
});
|
|
4713
4627
|
};
|
|
@@ -4722,7 +4636,7 @@ export const de_DescribeValidDBInstanceModificationsCommand = async (output, con
|
|
|
4722
4636
|
$metadata: deserializeMetadata(output),
|
|
4723
4637
|
...contents,
|
|
4724
4638
|
};
|
|
4725
|
-
return
|
|
4639
|
+
return response;
|
|
4726
4640
|
};
|
|
4727
4641
|
const de_DescribeValidDBInstanceModificationsCommandError = async (output, context) => {
|
|
4728
4642
|
const parsedOutput = {
|
|
@@ -4739,10 +4653,9 @@ const de_DescribeValidDBInstanceModificationsCommandError = async (output, conte
|
|
|
4739
4653
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
4740
4654
|
default:
|
|
4741
4655
|
const parsedBody = parsedOutput.body;
|
|
4742
|
-
throwDefaultError({
|
|
4656
|
+
return throwDefaultError({
|
|
4743
4657
|
output,
|
|
4744
4658
|
parsedBody: parsedBody.Error,
|
|
4745
|
-
exceptionCtor: __BaseException,
|
|
4746
4659
|
errorCode,
|
|
4747
4660
|
});
|
|
4748
4661
|
}
|
|
@@ -4758,7 +4671,7 @@ export const de_DownloadDBLogFilePortionCommand = async (output, context) => {
|
|
|
4758
4671
|
$metadata: deserializeMetadata(output),
|
|
4759
4672
|
...contents,
|
|
4760
4673
|
};
|
|
4761
|
-
return
|
|
4674
|
+
return response;
|
|
4762
4675
|
};
|
|
4763
4676
|
const de_DownloadDBLogFilePortionCommandError = async (output, context) => {
|
|
4764
4677
|
const parsedOutput = {
|
|
@@ -4775,10 +4688,9 @@ const de_DownloadDBLogFilePortionCommandError = async (output, context) => {
|
|
|
4775
4688
|
throw await de_DBLogFileNotFoundFaultRes(parsedOutput, context);
|
|
4776
4689
|
default:
|
|
4777
4690
|
const parsedBody = parsedOutput.body;
|
|
4778
|
-
throwDefaultError({
|
|
4691
|
+
return throwDefaultError({
|
|
4779
4692
|
output,
|
|
4780
4693
|
parsedBody: parsedBody.Error,
|
|
4781
|
-
exceptionCtor: __BaseException,
|
|
4782
4694
|
errorCode,
|
|
4783
4695
|
});
|
|
4784
4696
|
}
|
|
@@ -4794,7 +4706,7 @@ export const de_FailoverDBClusterCommand = async (output, context) => {
|
|
|
4794
4706
|
$metadata: deserializeMetadata(output),
|
|
4795
4707
|
...contents,
|
|
4796
4708
|
};
|
|
4797
|
-
return
|
|
4709
|
+
return response;
|
|
4798
4710
|
};
|
|
4799
4711
|
const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
4800
4712
|
const parsedOutput = {
|
|
@@ -4814,10 +4726,9 @@ const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
|
4814
4726
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
4815
4727
|
default:
|
|
4816
4728
|
const parsedBody = parsedOutput.body;
|
|
4817
|
-
throwDefaultError({
|
|
4729
|
+
return throwDefaultError({
|
|
4818
4730
|
output,
|
|
4819
4731
|
parsedBody: parsedBody.Error,
|
|
4820
|
-
exceptionCtor: __BaseException,
|
|
4821
4732
|
errorCode,
|
|
4822
4733
|
});
|
|
4823
4734
|
}
|
|
@@ -4833,7 +4744,7 @@ export const de_FailoverGlobalClusterCommand = async (output, context) => {
|
|
|
4833
4744
|
$metadata: deserializeMetadata(output),
|
|
4834
4745
|
...contents,
|
|
4835
4746
|
};
|
|
4836
|
-
return
|
|
4747
|
+
return response;
|
|
4837
4748
|
};
|
|
4838
4749
|
const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
4839
4750
|
const parsedOutput = {
|
|
@@ -4856,10 +4767,9 @@ const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
|
4856
4767
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
4857
4768
|
default:
|
|
4858
4769
|
const parsedBody = parsedOutput.body;
|
|
4859
|
-
throwDefaultError({
|
|
4770
|
+
return throwDefaultError({
|
|
4860
4771
|
output,
|
|
4861
4772
|
parsedBody: parsedBody.Error,
|
|
4862
|
-
exceptionCtor: __BaseException,
|
|
4863
4773
|
errorCode,
|
|
4864
4774
|
});
|
|
4865
4775
|
}
|
|
@@ -4875,7 +4785,7 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
4875
4785
|
$metadata: deserializeMetadata(output),
|
|
4876
4786
|
...contents,
|
|
4877
4787
|
};
|
|
4878
|
-
return
|
|
4788
|
+
return response;
|
|
4879
4789
|
};
|
|
4880
4790
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
4881
4791
|
const parsedOutput = {
|
|
@@ -4904,10 +4814,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
4904
4814
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
4905
4815
|
default:
|
|
4906
4816
|
const parsedBody = parsedOutput.body;
|
|
4907
|
-
throwDefaultError({
|
|
4817
|
+
return throwDefaultError({
|
|
4908
4818
|
output,
|
|
4909
4819
|
parsedBody: parsedBody.Error,
|
|
4910
|
-
exceptionCtor: __BaseException,
|
|
4911
4820
|
errorCode,
|
|
4912
4821
|
});
|
|
4913
4822
|
}
|
|
@@ -4923,7 +4832,7 @@ export const de_ModifyActivityStreamCommand = async (output, context) => {
|
|
|
4923
4832
|
$metadata: deserializeMetadata(output),
|
|
4924
4833
|
...contents,
|
|
4925
4834
|
};
|
|
4926
|
-
return
|
|
4835
|
+
return response;
|
|
4927
4836
|
};
|
|
4928
4837
|
const de_ModifyActivityStreamCommandError = async (output, context) => {
|
|
4929
4838
|
const parsedOutput = {
|
|
@@ -4943,10 +4852,9 @@ const de_ModifyActivityStreamCommandError = async (output, context) => {
|
|
|
4943
4852
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
4944
4853
|
default:
|
|
4945
4854
|
const parsedBody = parsedOutput.body;
|
|
4946
|
-
throwDefaultError({
|
|
4855
|
+
return throwDefaultError({
|
|
4947
4856
|
output,
|
|
4948
4857
|
parsedBody: parsedBody.Error,
|
|
4949
|
-
exceptionCtor: __BaseException,
|
|
4950
4858
|
errorCode,
|
|
4951
4859
|
});
|
|
4952
4860
|
}
|
|
@@ -4962,7 +4870,7 @@ export const de_ModifyCertificatesCommand = async (output, context) => {
|
|
|
4962
4870
|
$metadata: deserializeMetadata(output),
|
|
4963
4871
|
...contents,
|
|
4964
4872
|
};
|
|
4965
|
-
return
|
|
4873
|
+
return response;
|
|
4966
4874
|
};
|
|
4967
4875
|
const de_ModifyCertificatesCommandError = async (output, context) => {
|
|
4968
4876
|
const parsedOutput = {
|
|
@@ -4976,10 +4884,9 @@ const de_ModifyCertificatesCommandError = async (output, context) => {
|
|
|
4976
4884
|
throw await de_CertificateNotFoundFaultRes(parsedOutput, context);
|
|
4977
4885
|
default:
|
|
4978
4886
|
const parsedBody = parsedOutput.body;
|
|
4979
|
-
throwDefaultError({
|
|
4887
|
+
return throwDefaultError({
|
|
4980
4888
|
output,
|
|
4981
4889
|
parsedBody: parsedBody.Error,
|
|
4982
|
-
exceptionCtor: __BaseException,
|
|
4983
4890
|
errorCode,
|
|
4984
4891
|
});
|
|
4985
4892
|
}
|
|
@@ -4995,7 +4902,7 @@ export const de_ModifyCurrentDBClusterCapacityCommand = async (output, context)
|
|
|
4995
4902
|
$metadata: deserializeMetadata(output),
|
|
4996
4903
|
...contents,
|
|
4997
4904
|
};
|
|
4998
|
-
return
|
|
4905
|
+
return response;
|
|
4999
4906
|
};
|
|
5000
4907
|
const de_ModifyCurrentDBClusterCapacityCommandError = async (output, context) => {
|
|
5001
4908
|
const parsedOutput = {
|
|
@@ -5015,10 +4922,9 @@ const de_ModifyCurrentDBClusterCapacityCommandError = async (output, context) =>
|
|
|
5015
4922
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
5016
4923
|
default:
|
|
5017
4924
|
const parsedBody = parsedOutput.body;
|
|
5018
|
-
throwDefaultError({
|
|
4925
|
+
return throwDefaultError({
|
|
5019
4926
|
output,
|
|
5020
4927
|
parsedBody: parsedBody.Error,
|
|
5021
|
-
exceptionCtor: __BaseException,
|
|
5022
4928
|
errorCode,
|
|
5023
4929
|
});
|
|
5024
4930
|
}
|
|
@@ -5034,7 +4940,7 @@ export const de_ModifyCustomDBEngineVersionCommand = async (output, context) =>
|
|
|
5034
4940
|
$metadata: deserializeMetadata(output),
|
|
5035
4941
|
...contents,
|
|
5036
4942
|
};
|
|
5037
|
-
return
|
|
4943
|
+
return response;
|
|
5038
4944
|
};
|
|
5039
4945
|
const de_ModifyCustomDBEngineVersionCommandError = async (output, context) => {
|
|
5040
4946
|
const parsedOutput = {
|
|
@@ -5051,10 +4957,9 @@ const de_ModifyCustomDBEngineVersionCommandError = async (output, context) => {
|
|
|
5051
4957
|
throw await de_InvalidCustomDBEngineVersionStateFaultRes(parsedOutput, context);
|
|
5052
4958
|
default:
|
|
5053
4959
|
const parsedBody = parsedOutput.body;
|
|
5054
|
-
throwDefaultError({
|
|
4960
|
+
return throwDefaultError({
|
|
5055
4961
|
output,
|
|
5056
4962
|
parsedBody: parsedBody.Error,
|
|
5057
|
-
exceptionCtor: __BaseException,
|
|
5058
4963
|
errorCode,
|
|
5059
4964
|
});
|
|
5060
4965
|
}
|
|
@@ -5070,7 +4975,7 @@ export const de_ModifyDBClusterCommand = async (output, context) => {
|
|
|
5070
4975
|
$metadata: deserializeMetadata(output),
|
|
5071
4976
|
...contents,
|
|
5072
4977
|
};
|
|
5073
|
-
return
|
|
4978
|
+
return response;
|
|
5074
4979
|
};
|
|
5075
4980
|
const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
5076
4981
|
const parsedOutput = {
|
|
@@ -5120,10 +5025,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
|
5120
5025
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
5121
5026
|
default:
|
|
5122
5027
|
const parsedBody = parsedOutput.body;
|
|
5123
|
-
throwDefaultError({
|
|
5028
|
+
return throwDefaultError({
|
|
5124
5029
|
output,
|
|
5125
5030
|
parsedBody: parsedBody.Error,
|
|
5126
|
-
exceptionCtor: __BaseException,
|
|
5127
5031
|
errorCode,
|
|
5128
5032
|
});
|
|
5129
5033
|
}
|
|
@@ -5139,7 +5043,7 @@ export const de_ModifyDBClusterEndpointCommand = async (output, context) => {
|
|
|
5139
5043
|
$metadata: deserializeMetadata(output),
|
|
5140
5044
|
...contents,
|
|
5141
5045
|
};
|
|
5142
|
-
return
|
|
5046
|
+
return response;
|
|
5143
5047
|
};
|
|
5144
5048
|
const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
5145
5049
|
const parsedOutput = {
|
|
@@ -5165,10 +5069,9 @@ const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
|
5165
5069
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
5166
5070
|
default:
|
|
5167
5071
|
const parsedBody = parsedOutput.body;
|
|
5168
|
-
throwDefaultError({
|
|
5072
|
+
return throwDefaultError({
|
|
5169
5073
|
output,
|
|
5170
5074
|
parsedBody: parsedBody.Error,
|
|
5171
|
-
exceptionCtor: __BaseException,
|
|
5172
5075
|
errorCode,
|
|
5173
5076
|
});
|
|
5174
5077
|
}
|
|
@@ -5184,7 +5087,7 @@ export const de_ModifyDBClusterParameterGroupCommand = async (output, context) =
|
|
|
5184
5087
|
$metadata: deserializeMetadata(output),
|
|
5185
5088
|
...contents,
|
|
5186
5089
|
};
|
|
5187
|
-
return
|
|
5090
|
+
return response;
|
|
5188
5091
|
};
|
|
5189
5092
|
const de_ModifyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
5190
5093
|
const parsedOutput = {
|
|
@@ -5201,10 +5104,9 @@ const de_ModifyDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
5201
5104
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
5202
5105
|
default:
|
|
5203
5106
|
const parsedBody = parsedOutput.body;
|
|
5204
|
-
throwDefaultError({
|
|
5107
|
+
return throwDefaultError({
|
|
5205
5108
|
output,
|
|
5206
5109
|
parsedBody: parsedBody.Error,
|
|
5207
|
-
exceptionCtor: __BaseException,
|
|
5208
5110
|
errorCode,
|
|
5209
5111
|
});
|
|
5210
5112
|
}
|
|
@@ -5220,7 +5122,7 @@ export const de_ModifyDBClusterSnapshotAttributeCommand = async (output, context
|
|
|
5220
5122
|
$metadata: deserializeMetadata(output),
|
|
5221
5123
|
...contents,
|
|
5222
5124
|
};
|
|
5223
|
-
return
|
|
5125
|
+
return response;
|
|
5224
5126
|
};
|
|
5225
5127
|
const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context) => {
|
|
5226
5128
|
const parsedOutput = {
|
|
@@ -5240,10 +5142,9 @@ const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context)
|
|
|
5240
5142
|
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
5241
5143
|
default:
|
|
5242
5144
|
const parsedBody = parsedOutput.body;
|
|
5243
|
-
throwDefaultError({
|
|
5145
|
+
return throwDefaultError({
|
|
5244
5146
|
output,
|
|
5245
5147
|
parsedBody: parsedBody.Error,
|
|
5246
|
-
exceptionCtor: __BaseException,
|
|
5247
5148
|
errorCode,
|
|
5248
5149
|
});
|
|
5249
5150
|
}
|
|
@@ -5259,7 +5160,7 @@ export const de_ModifyDBInstanceCommand = async (output, context) => {
|
|
|
5259
5160
|
$metadata: deserializeMetadata(output),
|
|
5260
5161
|
...contents,
|
|
5261
5162
|
};
|
|
5262
|
-
return
|
|
5163
|
+
return response;
|
|
5263
5164
|
};
|
|
5264
5165
|
const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
5265
5166
|
const parsedOutput = {
|
|
@@ -5330,10 +5231,9 @@ const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
|
5330
5231
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
5331
5232
|
default:
|
|
5332
5233
|
const parsedBody = parsedOutput.body;
|
|
5333
|
-
throwDefaultError({
|
|
5234
|
+
return throwDefaultError({
|
|
5334
5235
|
output,
|
|
5335
5236
|
parsedBody: parsedBody.Error,
|
|
5336
|
-
exceptionCtor: __BaseException,
|
|
5337
5237
|
errorCode,
|
|
5338
5238
|
});
|
|
5339
5239
|
}
|
|
@@ -5349,7 +5249,7 @@ export const de_ModifyDBParameterGroupCommand = async (output, context) => {
|
|
|
5349
5249
|
$metadata: deserializeMetadata(output),
|
|
5350
5250
|
...contents,
|
|
5351
5251
|
};
|
|
5352
|
-
return
|
|
5252
|
+
return response;
|
|
5353
5253
|
};
|
|
5354
5254
|
const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
5355
5255
|
const parsedOutput = {
|
|
@@ -5366,10 +5266,9 @@ const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
|
5366
5266
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
5367
5267
|
default:
|
|
5368
5268
|
const parsedBody = parsedOutput.body;
|
|
5369
|
-
throwDefaultError({
|
|
5269
|
+
return throwDefaultError({
|
|
5370
5270
|
output,
|
|
5371
5271
|
parsedBody: parsedBody.Error,
|
|
5372
|
-
exceptionCtor: __BaseException,
|
|
5373
5272
|
errorCode,
|
|
5374
5273
|
});
|
|
5375
5274
|
}
|
|
@@ -5385,7 +5284,7 @@ export const de_ModifyDBProxyCommand = async (output, context) => {
|
|
|
5385
5284
|
$metadata: deserializeMetadata(output),
|
|
5386
5285
|
...contents,
|
|
5387
5286
|
};
|
|
5388
|
-
return
|
|
5287
|
+
return response;
|
|
5389
5288
|
};
|
|
5390
5289
|
const de_ModifyDBProxyCommandError = async (output, context) => {
|
|
5391
5290
|
const parsedOutput = {
|
|
@@ -5405,10 +5304,9 @@ const de_ModifyDBProxyCommandError = async (output, context) => {
|
|
|
5405
5304
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
5406
5305
|
default:
|
|
5407
5306
|
const parsedBody = parsedOutput.body;
|
|
5408
|
-
throwDefaultError({
|
|
5307
|
+
return throwDefaultError({
|
|
5409
5308
|
output,
|
|
5410
5309
|
parsedBody: parsedBody.Error,
|
|
5411
|
-
exceptionCtor: __BaseException,
|
|
5412
5310
|
errorCode,
|
|
5413
5311
|
});
|
|
5414
5312
|
}
|
|
@@ -5424,7 +5322,7 @@ export const de_ModifyDBProxyEndpointCommand = async (output, context) => {
|
|
|
5424
5322
|
$metadata: deserializeMetadata(output),
|
|
5425
5323
|
...contents,
|
|
5426
5324
|
};
|
|
5427
|
-
return
|
|
5325
|
+
return response;
|
|
5428
5326
|
};
|
|
5429
5327
|
const de_ModifyDBProxyEndpointCommandError = async (output, context) => {
|
|
5430
5328
|
const parsedOutput = {
|
|
@@ -5447,10 +5345,9 @@ const de_ModifyDBProxyEndpointCommandError = async (output, context) => {
|
|
|
5447
5345
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
5448
5346
|
default:
|
|
5449
5347
|
const parsedBody = parsedOutput.body;
|
|
5450
|
-
throwDefaultError({
|
|
5348
|
+
return throwDefaultError({
|
|
5451
5349
|
output,
|
|
5452
5350
|
parsedBody: parsedBody.Error,
|
|
5453
|
-
exceptionCtor: __BaseException,
|
|
5454
5351
|
errorCode,
|
|
5455
5352
|
});
|
|
5456
5353
|
}
|
|
@@ -5466,7 +5363,7 @@ export const de_ModifyDBProxyTargetGroupCommand = async (output, context) => {
|
|
|
5466
5363
|
$metadata: deserializeMetadata(output),
|
|
5467
5364
|
...contents,
|
|
5468
5365
|
};
|
|
5469
|
-
return
|
|
5366
|
+
return response;
|
|
5470
5367
|
};
|
|
5471
5368
|
const de_ModifyDBProxyTargetGroupCommandError = async (output, context) => {
|
|
5472
5369
|
const parsedOutput = {
|
|
@@ -5486,10 +5383,9 @@ const de_ModifyDBProxyTargetGroupCommandError = async (output, context) => {
|
|
|
5486
5383
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
5487
5384
|
default:
|
|
5488
5385
|
const parsedBody = parsedOutput.body;
|
|
5489
|
-
throwDefaultError({
|
|
5386
|
+
return throwDefaultError({
|
|
5490
5387
|
output,
|
|
5491
5388
|
parsedBody: parsedBody.Error,
|
|
5492
|
-
exceptionCtor: __BaseException,
|
|
5493
5389
|
errorCode,
|
|
5494
5390
|
});
|
|
5495
5391
|
}
|
|
@@ -5505,7 +5401,7 @@ export const de_ModifyDBSnapshotCommand = async (output, context) => {
|
|
|
5505
5401
|
$metadata: deserializeMetadata(output),
|
|
5506
5402
|
...contents,
|
|
5507
5403
|
};
|
|
5508
|
-
return
|
|
5404
|
+
return response;
|
|
5509
5405
|
};
|
|
5510
5406
|
const de_ModifyDBSnapshotCommandError = async (output, context) => {
|
|
5511
5407
|
const parsedOutput = {
|
|
@@ -5519,10 +5415,9 @@ const de_ModifyDBSnapshotCommandError = async (output, context) => {
|
|
|
5519
5415
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
5520
5416
|
default:
|
|
5521
5417
|
const parsedBody = parsedOutput.body;
|
|
5522
|
-
throwDefaultError({
|
|
5418
|
+
return throwDefaultError({
|
|
5523
5419
|
output,
|
|
5524
5420
|
parsedBody: parsedBody.Error,
|
|
5525
|
-
exceptionCtor: __BaseException,
|
|
5526
5421
|
errorCode,
|
|
5527
5422
|
});
|
|
5528
5423
|
}
|
|
@@ -5538,7 +5433,7 @@ export const de_ModifyDBSnapshotAttributeCommand = async (output, context) => {
|
|
|
5538
5433
|
$metadata: deserializeMetadata(output),
|
|
5539
5434
|
...contents,
|
|
5540
5435
|
};
|
|
5541
|
-
return
|
|
5436
|
+
return response;
|
|
5542
5437
|
};
|
|
5543
5438
|
const de_ModifyDBSnapshotAttributeCommandError = async (output, context) => {
|
|
5544
5439
|
const parsedOutput = {
|
|
@@ -5558,10 +5453,9 @@ const de_ModifyDBSnapshotAttributeCommandError = async (output, context) => {
|
|
|
5558
5453
|
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
5559
5454
|
default:
|
|
5560
5455
|
const parsedBody = parsedOutput.body;
|
|
5561
|
-
throwDefaultError({
|
|
5456
|
+
return throwDefaultError({
|
|
5562
5457
|
output,
|
|
5563
5458
|
parsedBody: parsedBody.Error,
|
|
5564
|
-
exceptionCtor: __BaseException,
|
|
5565
5459
|
errorCode,
|
|
5566
5460
|
});
|
|
5567
5461
|
}
|
|
@@ -5577,7 +5471,7 @@ export const de_ModifyDBSubnetGroupCommand = async (output, context) => {
|
|
|
5577
5471
|
$metadata: deserializeMetadata(output),
|
|
5578
5472
|
...contents,
|
|
5579
5473
|
};
|
|
5580
|
-
return
|
|
5474
|
+
return response;
|
|
5581
5475
|
};
|
|
5582
5476
|
const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
5583
5477
|
const parsedOutput = {
|
|
@@ -5603,10 +5497,9 @@ const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
|
5603
5497
|
throw await de_SubnetAlreadyInUseRes(parsedOutput, context);
|
|
5604
5498
|
default:
|
|
5605
5499
|
const parsedBody = parsedOutput.body;
|
|
5606
|
-
throwDefaultError({
|
|
5500
|
+
return throwDefaultError({
|
|
5607
5501
|
output,
|
|
5608
5502
|
parsedBody: parsedBody.Error,
|
|
5609
|
-
exceptionCtor: __BaseException,
|
|
5610
5503
|
errorCode,
|
|
5611
5504
|
});
|
|
5612
5505
|
}
|
|
@@ -5622,7 +5515,7 @@ export const de_ModifyEventSubscriptionCommand = async (output, context) => {
|
|
|
5622
5515
|
$metadata: deserializeMetadata(output),
|
|
5623
5516
|
...contents,
|
|
5624
5517
|
};
|
|
5625
|
-
return
|
|
5518
|
+
return response;
|
|
5626
5519
|
};
|
|
5627
5520
|
const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
5628
5521
|
const parsedOutput = {
|
|
@@ -5651,10 +5544,9 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
5651
5544
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
5652
5545
|
default:
|
|
5653
5546
|
const parsedBody = parsedOutput.body;
|
|
5654
|
-
throwDefaultError({
|
|
5547
|
+
return throwDefaultError({
|
|
5655
5548
|
output,
|
|
5656
5549
|
parsedBody: parsedBody.Error,
|
|
5657
|
-
exceptionCtor: __BaseException,
|
|
5658
5550
|
errorCode,
|
|
5659
5551
|
});
|
|
5660
5552
|
}
|
|
@@ -5670,7 +5562,7 @@ export const de_ModifyGlobalClusterCommand = async (output, context) => {
|
|
|
5670
5562
|
$metadata: deserializeMetadata(output),
|
|
5671
5563
|
...contents,
|
|
5672
5564
|
};
|
|
5673
|
-
return
|
|
5565
|
+
return response;
|
|
5674
5566
|
};
|
|
5675
5567
|
const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
5676
5568
|
const parsedOutput = {
|
|
@@ -5693,10 +5585,9 @@ const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
|
5693
5585
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
5694
5586
|
default:
|
|
5695
5587
|
const parsedBody = parsedOutput.body;
|
|
5696
|
-
throwDefaultError({
|
|
5588
|
+
return throwDefaultError({
|
|
5697
5589
|
output,
|
|
5698
5590
|
parsedBody: parsedBody.Error,
|
|
5699
|
-
exceptionCtor: __BaseException,
|
|
5700
5591
|
errorCode,
|
|
5701
5592
|
});
|
|
5702
5593
|
}
|
|
@@ -5712,7 +5603,7 @@ export const de_ModifyOptionGroupCommand = async (output, context) => {
|
|
|
5712
5603
|
$metadata: deserializeMetadata(output),
|
|
5713
5604
|
...contents,
|
|
5714
5605
|
};
|
|
5715
|
-
return
|
|
5606
|
+
return response;
|
|
5716
5607
|
};
|
|
5717
5608
|
const de_ModifyOptionGroupCommandError = async (output, context) => {
|
|
5718
5609
|
const parsedOutput = {
|
|
@@ -5729,10 +5620,9 @@ const de_ModifyOptionGroupCommandError = async (output, context) => {
|
|
|
5729
5620
|
throw await de_OptionGroupNotFoundFaultRes(parsedOutput, context);
|
|
5730
5621
|
default:
|
|
5731
5622
|
const parsedBody = parsedOutput.body;
|
|
5732
|
-
throwDefaultError({
|
|
5623
|
+
return throwDefaultError({
|
|
5733
5624
|
output,
|
|
5734
5625
|
parsedBody: parsedBody.Error,
|
|
5735
|
-
exceptionCtor: __BaseException,
|
|
5736
5626
|
errorCode,
|
|
5737
5627
|
});
|
|
5738
5628
|
}
|
|
@@ -5748,7 +5638,7 @@ export const de_PromoteReadReplicaCommand = async (output, context) => {
|
|
|
5748
5638
|
$metadata: deserializeMetadata(output),
|
|
5749
5639
|
...contents,
|
|
5750
5640
|
};
|
|
5751
|
-
return
|
|
5641
|
+
return response;
|
|
5752
5642
|
};
|
|
5753
5643
|
const de_PromoteReadReplicaCommandError = async (output, context) => {
|
|
5754
5644
|
const parsedOutput = {
|
|
@@ -5765,10 +5655,9 @@ const de_PromoteReadReplicaCommandError = async (output, context) => {
|
|
|
5765
5655
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
5766
5656
|
default:
|
|
5767
5657
|
const parsedBody = parsedOutput.body;
|
|
5768
|
-
throwDefaultError({
|
|
5658
|
+
return throwDefaultError({
|
|
5769
5659
|
output,
|
|
5770
5660
|
parsedBody: parsedBody.Error,
|
|
5771
|
-
exceptionCtor: __BaseException,
|
|
5772
5661
|
errorCode,
|
|
5773
5662
|
});
|
|
5774
5663
|
}
|
|
@@ -5784,7 +5673,7 @@ export const de_PromoteReadReplicaDBClusterCommand = async (output, context) =>
|
|
|
5784
5673
|
$metadata: deserializeMetadata(output),
|
|
5785
5674
|
...contents,
|
|
5786
5675
|
};
|
|
5787
|
-
return
|
|
5676
|
+
return response;
|
|
5788
5677
|
};
|
|
5789
5678
|
const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
5790
5679
|
const parsedOutput = {
|
|
@@ -5801,10 +5690,9 @@ const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
|
5801
5690
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
5802
5691
|
default:
|
|
5803
5692
|
const parsedBody = parsedOutput.body;
|
|
5804
|
-
throwDefaultError({
|
|
5693
|
+
return throwDefaultError({
|
|
5805
5694
|
output,
|
|
5806
5695
|
parsedBody: parsedBody.Error,
|
|
5807
|
-
exceptionCtor: __BaseException,
|
|
5808
5696
|
errorCode,
|
|
5809
5697
|
});
|
|
5810
5698
|
}
|
|
@@ -5820,7 +5708,7 @@ export const de_PurchaseReservedDBInstancesOfferingCommand = async (output, cont
|
|
|
5820
5708
|
$metadata: deserializeMetadata(output),
|
|
5821
5709
|
...contents,
|
|
5822
5710
|
};
|
|
5823
|
-
return
|
|
5711
|
+
return response;
|
|
5824
5712
|
};
|
|
5825
5713
|
const de_PurchaseReservedDBInstancesOfferingCommandError = async (output, context) => {
|
|
5826
5714
|
const parsedOutput = {
|
|
@@ -5840,10 +5728,9 @@ const de_PurchaseReservedDBInstancesOfferingCommandError = async (output, contex
|
|
|
5840
5728
|
throw await de_ReservedDBInstancesOfferingNotFoundFaultRes(parsedOutput, context);
|
|
5841
5729
|
default:
|
|
5842
5730
|
const parsedBody = parsedOutput.body;
|
|
5843
|
-
throwDefaultError({
|
|
5731
|
+
return throwDefaultError({
|
|
5844
5732
|
output,
|
|
5845
5733
|
parsedBody: parsedBody.Error,
|
|
5846
|
-
exceptionCtor: __BaseException,
|
|
5847
5734
|
errorCode,
|
|
5848
5735
|
});
|
|
5849
5736
|
}
|
|
@@ -5859,7 +5746,7 @@ export const de_RebootDBClusterCommand = async (output, context) => {
|
|
|
5859
5746
|
$metadata: deserializeMetadata(output),
|
|
5860
5747
|
...contents,
|
|
5861
5748
|
};
|
|
5862
|
-
return
|
|
5749
|
+
return response;
|
|
5863
5750
|
};
|
|
5864
5751
|
const de_RebootDBClusterCommandError = async (output, context) => {
|
|
5865
5752
|
const parsedOutput = {
|
|
@@ -5879,10 +5766,9 @@ const de_RebootDBClusterCommandError = async (output, context) => {
|
|
|
5879
5766
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
5880
5767
|
default:
|
|
5881
5768
|
const parsedBody = parsedOutput.body;
|
|
5882
|
-
throwDefaultError({
|
|
5769
|
+
return throwDefaultError({
|
|
5883
5770
|
output,
|
|
5884
5771
|
parsedBody: parsedBody.Error,
|
|
5885
|
-
exceptionCtor: __BaseException,
|
|
5886
5772
|
errorCode,
|
|
5887
5773
|
});
|
|
5888
5774
|
}
|
|
@@ -5898,7 +5784,7 @@ export const de_RebootDBInstanceCommand = async (output, context) => {
|
|
|
5898
5784
|
$metadata: deserializeMetadata(output),
|
|
5899
5785
|
...contents,
|
|
5900
5786
|
};
|
|
5901
|
-
return
|
|
5787
|
+
return response;
|
|
5902
5788
|
};
|
|
5903
5789
|
const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
5904
5790
|
const parsedOutput = {
|
|
@@ -5915,10 +5801,9 @@ const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
|
5915
5801
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
5916
5802
|
default:
|
|
5917
5803
|
const parsedBody = parsedOutput.body;
|
|
5918
|
-
throwDefaultError({
|
|
5804
|
+
return throwDefaultError({
|
|
5919
5805
|
output,
|
|
5920
5806
|
parsedBody: parsedBody.Error,
|
|
5921
|
-
exceptionCtor: __BaseException,
|
|
5922
5807
|
errorCode,
|
|
5923
5808
|
});
|
|
5924
5809
|
}
|
|
@@ -5934,7 +5819,7 @@ export const de_RegisterDBProxyTargetsCommand = async (output, context) => {
|
|
|
5934
5819
|
$metadata: deserializeMetadata(output),
|
|
5935
5820
|
...contents,
|
|
5936
5821
|
};
|
|
5937
|
-
return
|
|
5822
|
+
return response;
|
|
5938
5823
|
};
|
|
5939
5824
|
const de_RegisterDBProxyTargetsCommandError = async (output, context) => {
|
|
5940
5825
|
const parsedOutput = {
|
|
@@ -5972,10 +5857,9 @@ const de_RegisterDBProxyTargetsCommandError = async (output, context) => {
|
|
|
5972
5857
|
throw await de_InvalidDBProxyStateFaultRes(parsedOutput, context);
|
|
5973
5858
|
default:
|
|
5974
5859
|
const parsedBody = parsedOutput.body;
|
|
5975
|
-
throwDefaultError({
|
|
5860
|
+
return throwDefaultError({
|
|
5976
5861
|
output,
|
|
5977
5862
|
parsedBody: parsedBody.Error,
|
|
5978
|
-
exceptionCtor: __BaseException,
|
|
5979
5863
|
errorCode,
|
|
5980
5864
|
});
|
|
5981
5865
|
}
|
|
@@ -5991,7 +5875,7 @@ export const de_RemoveFromGlobalClusterCommand = async (output, context) => {
|
|
|
5991
5875
|
$metadata: deserializeMetadata(output),
|
|
5992
5876
|
...contents,
|
|
5993
5877
|
};
|
|
5994
|
-
return
|
|
5878
|
+
return response;
|
|
5995
5879
|
};
|
|
5996
5880
|
const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
5997
5881
|
const parsedOutput = {
|
|
@@ -6011,10 +5895,9 @@ const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
|
6011
5895
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
6012
5896
|
default:
|
|
6013
5897
|
const parsedBody = parsedOutput.body;
|
|
6014
|
-
throwDefaultError({
|
|
5898
|
+
return throwDefaultError({
|
|
6015
5899
|
output,
|
|
6016
5900
|
parsedBody: parsedBody.Error,
|
|
6017
|
-
exceptionCtor: __BaseException,
|
|
6018
5901
|
errorCode,
|
|
6019
5902
|
});
|
|
6020
5903
|
}
|
|
@@ -6027,7 +5910,7 @@ export const de_RemoveRoleFromDBClusterCommand = async (output, context) => {
|
|
|
6027
5910
|
const response = {
|
|
6028
5911
|
$metadata: deserializeMetadata(output),
|
|
6029
5912
|
};
|
|
6030
|
-
return
|
|
5913
|
+
return response;
|
|
6031
5914
|
};
|
|
6032
5915
|
const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
6033
5916
|
const parsedOutput = {
|
|
@@ -6047,10 +5930,9 @@ const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
|
6047
5930
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
6048
5931
|
default:
|
|
6049
5932
|
const parsedBody = parsedOutput.body;
|
|
6050
|
-
throwDefaultError({
|
|
5933
|
+
return throwDefaultError({
|
|
6051
5934
|
output,
|
|
6052
5935
|
parsedBody: parsedBody.Error,
|
|
6053
|
-
exceptionCtor: __BaseException,
|
|
6054
5936
|
errorCode,
|
|
6055
5937
|
});
|
|
6056
5938
|
}
|
|
@@ -6063,7 +5945,7 @@ export const de_RemoveRoleFromDBInstanceCommand = async (output, context) => {
|
|
|
6063
5945
|
const response = {
|
|
6064
5946
|
$metadata: deserializeMetadata(output),
|
|
6065
5947
|
};
|
|
6066
|
-
return
|
|
5948
|
+
return response;
|
|
6067
5949
|
};
|
|
6068
5950
|
const de_RemoveRoleFromDBInstanceCommandError = async (output, context) => {
|
|
6069
5951
|
const parsedOutput = {
|
|
@@ -6083,10 +5965,9 @@ const de_RemoveRoleFromDBInstanceCommandError = async (output, context) => {
|
|
|
6083
5965
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
6084
5966
|
default:
|
|
6085
5967
|
const parsedBody = parsedOutput.body;
|
|
6086
|
-
throwDefaultError({
|
|
5968
|
+
return throwDefaultError({
|
|
6087
5969
|
output,
|
|
6088
5970
|
parsedBody: parsedBody.Error,
|
|
6089
|
-
exceptionCtor: __BaseException,
|
|
6090
5971
|
errorCode,
|
|
6091
5972
|
});
|
|
6092
5973
|
}
|
|
@@ -6102,7 +5983,7 @@ export const de_RemoveSourceIdentifierFromSubscriptionCommand = async (output, c
|
|
|
6102
5983
|
$metadata: deserializeMetadata(output),
|
|
6103
5984
|
...contents,
|
|
6104
5985
|
};
|
|
6105
|
-
return
|
|
5986
|
+
return response;
|
|
6106
5987
|
};
|
|
6107
5988
|
const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, context) => {
|
|
6108
5989
|
const parsedOutput = {
|
|
@@ -6119,10 +6000,9 @@ const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, con
|
|
|
6119
6000
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
6120
6001
|
default:
|
|
6121
6002
|
const parsedBody = parsedOutput.body;
|
|
6122
|
-
throwDefaultError({
|
|
6003
|
+
return throwDefaultError({
|
|
6123
6004
|
output,
|
|
6124
6005
|
parsedBody: parsedBody.Error,
|
|
6125
|
-
exceptionCtor: __BaseException,
|
|
6126
6006
|
errorCode,
|
|
6127
6007
|
});
|
|
6128
6008
|
}
|
|
@@ -6135,7 +6015,7 @@ export const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
6135
6015
|
const response = {
|
|
6136
6016
|
$metadata: deserializeMetadata(output),
|
|
6137
6017
|
};
|
|
6138
|
-
return
|
|
6018
|
+
return response;
|
|
6139
6019
|
};
|
|
6140
6020
|
const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
6141
6021
|
const parsedOutput = {
|
|
@@ -6164,10 +6044,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
6164
6044
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
6165
6045
|
default:
|
|
6166
6046
|
const parsedBody = parsedOutput.body;
|
|
6167
|
-
throwDefaultError({
|
|
6047
|
+
return throwDefaultError({
|
|
6168
6048
|
output,
|
|
6169
6049
|
parsedBody: parsedBody.Error,
|
|
6170
|
-
exceptionCtor: __BaseException,
|
|
6171
6050
|
errorCode,
|
|
6172
6051
|
});
|
|
6173
6052
|
}
|
|
@@ -6183,7 +6062,7 @@ export const de_ResetDBClusterParameterGroupCommand = async (output, context) =>
|
|
|
6183
6062
|
$metadata: deserializeMetadata(output),
|
|
6184
6063
|
...contents,
|
|
6185
6064
|
};
|
|
6186
|
-
return
|
|
6065
|
+
return response;
|
|
6187
6066
|
};
|
|
6188
6067
|
const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
6189
6068
|
const parsedOutput = {
|
|
@@ -6200,10 +6079,9 @@ const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
6200
6079
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
6201
6080
|
default:
|
|
6202
6081
|
const parsedBody = parsedOutput.body;
|
|
6203
|
-
throwDefaultError({
|
|
6082
|
+
return throwDefaultError({
|
|
6204
6083
|
output,
|
|
6205
6084
|
parsedBody: parsedBody.Error,
|
|
6206
|
-
exceptionCtor: __BaseException,
|
|
6207
6085
|
errorCode,
|
|
6208
6086
|
});
|
|
6209
6087
|
}
|
|
@@ -6219,7 +6097,7 @@ export const de_ResetDBParameterGroupCommand = async (output, context) => {
|
|
|
6219
6097
|
$metadata: deserializeMetadata(output),
|
|
6220
6098
|
...contents,
|
|
6221
6099
|
};
|
|
6222
|
-
return
|
|
6100
|
+
return response;
|
|
6223
6101
|
};
|
|
6224
6102
|
const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
6225
6103
|
const parsedOutput = {
|
|
@@ -6236,10 +6114,9 @@ const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
|
6236
6114
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
6237
6115
|
default:
|
|
6238
6116
|
const parsedBody = parsedOutput.body;
|
|
6239
|
-
throwDefaultError({
|
|
6117
|
+
return throwDefaultError({
|
|
6240
6118
|
output,
|
|
6241
6119
|
parsedBody: parsedBody.Error,
|
|
6242
|
-
exceptionCtor: __BaseException,
|
|
6243
6120
|
errorCode,
|
|
6244
6121
|
});
|
|
6245
6122
|
}
|
|
@@ -6255,7 +6132,7 @@ export const de_RestoreDBClusterFromS3Command = async (output, context) => {
|
|
|
6255
6132
|
$metadata: deserializeMetadata(output),
|
|
6256
6133
|
...contents,
|
|
6257
6134
|
};
|
|
6258
|
-
return
|
|
6135
|
+
return response;
|
|
6259
6136
|
};
|
|
6260
6137
|
const de_RestoreDBClusterFromS3CommandError = async (output, context) => {
|
|
6261
6138
|
const parsedOutput = {
|
|
@@ -6308,10 +6185,9 @@ const de_RestoreDBClusterFromS3CommandError = async (output, context) => {
|
|
|
6308
6185
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
6309
6186
|
default:
|
|
6310
6187
|
const parsedBody = parsedOutput.body;
|
|
6311
|
-
throwDefaultError({
|
|
6188
|
+
return throwDefaultError({
|
|
6312
6189
|
output,
|
|
6313
6190
|
parsedBody: parsedBody.Error,
|
|
6314
|
-
exceptionCtor: __BaseException,
|
|
6315
6191
|
errorCode,
|
|
6316
6192
|
});
|
|
6317
6193
|
}
|
|
@@ -6327,7 +6203,7 @@ export const de_RestoreDBClusterFromSnapshotCommand = async (output, context) =>
|
|
|
6327
6203
|
$metadata: deserializeMetadata(output),
|
|
6328
6204
|
...contents,
|
|
6329
6205
|
};
|
|
6330
|
-
return
|
|
6206
|
+
return response;
|
|
6331
6207
|
};
|
|
6332
6208
|
const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
6333
6209
|
const parsedOutput = {
|
|
@@ -6392,10 +6268,9 @@ const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
|
6392
6268
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
6393
6269
|
default:
|
|
6394
6270
|
const parsedBody = parsedOutput.body;
|
|
6395
|
-
throwDefaultError({
|
|
6271
|
+
return throwDefaultError({
|
|
6396
6272
|
output,
|
|
6397
6273
|
parsedBody: parsedBody.Error,
|
|
6398
|
-
exceptionCtor: __BaseException,
|
|
6399
6274
|
errorCode,
|
|
6400
6275
|
});
|
|
6401
6276
|
}
|
|
@@ -6411,7 +6286,7 @@ export const de_RestoreDBClusterToPointInTimeCommand = async (output, context) =
|
|
|
6411
6286
|
$metadata: deserializeMetadata(output),
|
|
6412
6287
|
...contents,
|
|
6413
6288
|
};
|
|
6414
|
-
return
|
|
6289
|
+
return response;
|
|
6415
6290
|
};
|
|
6416
6291
|
const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) => {
|
|
6417
6292
|
const parsedOutput = {
|
|
@@ -6476,10 +6351,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) =>
|
|
|
6476
6351
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
6477
6352
|
default:
|
|
6478
6353
|
const parsedBody = parsedOutput.body;
|
|
6479
|
-
throwDefaultError({
|
|
6354
|
+
return throwDefaultError({
|
|
6480
6355
|
output,
|
|
6481
6356
|
parsedBody: parsedBody.Error,
|
|
6482
|
-
exceptionCtor: __BaseException,
|
|
6483
6357
|
errorCode,
|
|
6484
6358
|
});
|
|
6485
6359
|
}
|
|
@@ -6495,7 +6369,7 @@ export const de_RestoreDBInstanceFromDBSnapshotCommand = async (output, context)
|
|
|
6495
6369
|
$metadata: deserializeMetadata(output),
|
|
6496
6370
|
...contents,
|
|
6497
6371
|
};
|
|
6498
|
-
return
|
|
6372
|
+
return response;
|
|
6499
6373
|
};
|
|
6500
6374
|
const de_RestoreDBInstanceFromDBSnapshotCommandError = async (output, context) => {
|
|
6501
6375
|
const parsedOutput = {
|
|
@@ -6572,10 +6446,9 @@ const de_RestoreDBInstanceFromDBSnapshotCommandError = async (output, context) =
|
|
|
6572
6446
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
6573
6447
|
default:
|
|
6574
6448
|
const parsedBody = parsedOutput.body;
|
|
6575
|
-
throwDefaultError({
|
|
6449
|
+
return throwDefaultError({
|
|
6576
6450
|
output,
|
|
6577
6451
|
parsedBody: parsedBody.Error,
|
|
6578
|
-
exceptionCtor: __BaseException,
|
|
6579
6452
|
errorCode,
|
|
6580
6453
|
});
|
|
6581
6454
|
}
|
|
@@ -6591,7 +6464,7 @@ export const de_RestoreDBInstanceFromS3Command = async (output, context) => {
|
|
|
6591
6464
|
$metadata: deserializeMetadata(output),
|
|
6592
6465
|
...contents,
|
|
6593
6466
|
};
|
|
6594
|
-
return
|
|
6467
|
+
return response;
|
|
6595
6468
|
};
|
|
6596
6469
|
const de_RestoreDBInstanceFromS3CommandError = async (output, context) => {
|
|
6597
6470
|
const parsedOutput = {
|
|
@@ -6656,10 +6529,9 @@ const de_RestoreDBInstanceFromS3CommandError = async (output, context) => {
|
|
|
6656
6529
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
6657
6530
|
default:
|
|
6658
6531
|
const parsedBody = parsedOutput.body;
|
|
6659
|
-
throwDefaultError({
|
|
6532
|
+
return throwDefaultError({
|
|
6660
6533
|
output,
|
|
6661
6534
|
parsedBody: parsedBody.Error,
|
|
6662
|
-
exceptionCtor: __BaseException,
|
|
6663
6535
|
errorCode,
|
|
6664
6536
|
});
|
|
6665
6537
|
}
|
|
@@ -6675,7 +6547,7 @@ export const de_RestoreDBInstanceToPointInTimeCommand = async (output, context)
|
|
|
6675
6547
|
$metadata: deserializeMetadata(output),
|
|
6676
6548
|
...contents,
|
|
6677
6549
|
};
|
|
6678
|
-
return
|
|
6550
|
+
return response;
|
|
6679
6551
|
};
|
|
6680
6552
|
const de_RestoreDBInstanceToPointInTimeCommandError = async (output, context) => {
|
|
6681
6553
|
const parsedOutput = {
|
|
@@ -6755,10 +6627,9 @@ const de_RestoreDBInstanceToPointInTimeCommandError = async (output, context) =>
|
|
|
6755
6627
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
6756
6628
|
default:
|
|
6757
6629
|
const parsedBody = parsedOutput.body;
|
|
6758
|
-
throwDefaultError({
|
|
6630
|
+
return throwDefaultError({
|
|
6759
6631
|
output,
|
|
6760
6632
|
parsedBody: parsedBody.Error,
|
|
6761
|
-
exceptionCtor: __BaseException,
|
|
6762
6633
|
errorCode,
|
|
6763
6634
|
});
|
|
6764
6635
|
}
|
|
@@ -6774,7 +6645,7 @@ export const de_RevokeDBSecurityGroupIngressCommand = async (output, context) =>
|
|
|
6774
6645
|
$metadata: deserializeMetadata(output),
|
|
6775
6646
|
...contents,
|
|
6776
6647
|
};
|
|
6777
|
-
return
|
|
6648
|
+
return response;
|
|
6778
6649
|
};
|
|
6779
6650
|
const de_RevokeDBSecurityGroupIngressCommandError = async (output, context) => {
|
|
6780
6651
|
const parsedOutput = {
|
|
@@ -6794,10 +6665,9 @@ const de_RevokeDBSecurityGroupIngressCommandError = async (output, context) => {
|
|
|
6794
6665
|
throw await de_InvalidDBSecurityGroupStateFaultRes(parsedOutput, context);
|
|
6795
6666
|
default:
|
|
6796
6667
|
const parsedBody = parsedOutput.body;
|
|
6797
|
-
throwDefaultError({
|
|
6668
|
+
return throwDefaultError({
|
|
6798
6669
|
output,
|
|
6799
6670
|
parsedBody: parsedBody.Error,
|
|
6800
|
-
exceptionCtor: __BaseException,
|
|
6801
6671
|
errorCode,
|
|
6802
6672
|
});
|
|
6803
6673
|
}
|
|
@@ -6813,7 +6683,7 @@ export const de_StartActivityStreamCommand = async (output, context) => {
|
|
|
6813
6683
|
$metadata: deserializeMetadata(output),
|
|
6814
6684
|
...contents,
|
|
6815
6685
|
};
|
|
6816
|
-
return
|
|
6686
|
+
return response;
|
|
6817
6687
|
};
|
|
6818
6688
|
const de_StartActivityStreamCommandError = async (output, context) => {
|
|
6819
6689
|
const parsedOutput = {
|
|
@@ -6842,10 +6712,9 @@ const de_StartActivityStreamCommandError = async (output, context) => {
|
|
|
6842
6712
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
6843
6713
|
default:
|
|
6844
6714
|
const parsedBody = parsedOutput.body;
|
|
6845
|
-
throwDefaultError({
|
|
6715
|
+
return throwDefaultError({
|
|
6846
6716
|
output,
|
|
6847
6717
|
parsedBody: parsedBody.Error,
|
|
6848
|
-
exceptionCtor: __BaseException,
|
|
6849
6718
|
errorCode,
|
|
6850
6719
|
});
|
|
6851
6720
|
}
|
|
@@ -6861,7 +6730,7 @@ export const de_StartDBClusterCommand = async (output, context) => {
|
|
|
6861
6730
|
$metadata: deserializeMetadata(output),
|
|
6862
6731
|
...contents,
|
|
6863
6732
|
};
|
|
6864
|
-
return
|
|
6733
|
+
return response;
|
|
6865
6734
|
};
|
|
6866
6735
|
const de_StartDBClusterCommandError = async (output, context) => {
|
|
6867
6736
|
const parsedOutput = {
|
|
@@ -6881,10 +6750,9 @@ const de_StartDBClusterCommandError = async (output, context) => {
|
|
|
6881
6750
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
6882
6751
|
default:
|
|
6883
6752
|
const parsedBody = parsedOutput.body;
|
|
6884
|
-
throwDefaultError({
|
|
6753
|
+
return throwDefaultError({
|
|
6885
6754
|
output,
|
|
6886
6755
|
parsedBody: parsedBody.Error,
|
|
6887
|
-
exceptionCtor: __BaseException,
|
|
6888
6756
|
errorCode,
|
|
6889
6757
|
});
|
|
6890
6758
|
}
|
|
@@ -6900,7 +6768,7 @@ export const de_StartDBInstanceCommand = async (output, context) => {
|
|
|
6900
6768
|
$metadata: deserializeMetadata(output),
|
|
6901
6769
|
...contents,
|
|
6902
6770
|
};
|
|
6903
|
-
return
|
|
6771
|
+
return response;
|
|
6904
6772
|
};
|
|
6905
6773
|
const de_StartDBInstanceCommandError = async (output, context) => {
|
|
6906
6774
|
const parsedOutput = {
|
|
@@ -6944,10 +6812,9 @@ const de_StartDBInstanceCommandError = async (output, context) => {
|
|
|
6944
6812
|
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
6945
6813
|
default:
|
|
6946
6814
|
const parsedBody = parsedOutput.body;
|
|
6947
|
-
throwDefaultError({
|
|
6815
|
+
return throwDefaultError({
|
|
6948
6816
|
output,
|
|
6949
6817
|
parsedBody: parsedBody.Error,
|
|
6950
|
-
exceptionCtor: __BaseException,
|
|
6951
6818
|
errorCode,
|
|
6952
6819
|
});
|
|
6953
6820
|
}
|
|
@@ -6963,7 +6830,7 @@ export const de_StartDBInstanceAutomatedBackupsReplicationCommand = async (outpu
|
|
|
6963
6830
|
$metadata: deserializeMetadata(output),
|
|
6964
6831
|
...contents,
|
|
6965
6832
|
};
|
|
6966
|
-
return
|
|
6833
|
+
return response;
|
|
6967
6834
|
};
|
|
6968
6835
|
const de_StartDBInstanceAutomatedBackupsReplicationCommandError = async (output, context) => {
|
|
6969
6836
|
const parsedOutput = {
|
|
@@ -6989,10 +6856,9 @@ const de_StartDBInstanceAutomatedBackupsReplicationCommandError = async (output,
|
|
|
6989
6856
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
6990
6857
|
default:
|
|
6991
6858
|
const parsedBody = parsedOutput.body;
|
|
6992
|
-
throwDefaultError({
|
|
6859
|
+
return throwDefaultError({
|
|
6993
6860
|
output,
|
|
6994
6861
|
parsedBody: parsedBody.Error,
|
|
6995
|
-
exceptionCtor: __BaseException,
|
|
6996
6862
|
errorCode,
|
|
6997
6863
|
});
|
|
6998
6864
|
}
|
|
@@ -7008,7 +6874,7 @@ export const de_StartExportTaskCommand = async (output, context) => {
|
|
|
7008
6874
|
$metadata: deserializeMetadata(output),
|
|
7009
6875
|
...contents,
|
|
7010
6876
|
};
|
|
7011
|
-
return
|
|
6877
|
+
return response;
|
|
7012
6878
|
};
|
|
7013
6879
|
const de_StartExportTaskCommandError = async (output, context) => {
|
|
7014
6880
|
const parsedOutput = {
|
|
@@ -7049,10 +6915,9 @@ const de_StartExportTaskCommandError = async (output, context) => {
|
|
|
7049
6915
|
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
7050
6916
|
default:
|
|
7051
6917
|
const parsedBody = parsedOutput.body;
|
|
7052
|
-
throwDefaultError({
|
|
6918
|
+
return throwDefaultError({
|
|
7053
6919
|
output,
|
|
7054
6920
|
parsedBody: parsedBody.Error,
|
|
7055
|
-
exceptionCtor: __BaseException,
|
|
7056
6921
|
errorCode,
|
|
7057
6922
|
});
|
|
7058
6923
|
}
|
|
@@ -7068,7 +6933,7 @@ export const de_StopActivityStreamCommand = async (output, context) => {
|
|
|
7068
6933
|
$metadata: deserializeMetadata(output),
|
|
7069
6934
|
...contents,
|
|
7070
6935
|
};
|
|
7071
|
-
return
|
|
6936
|
+
return response;
|
|
7072
6937
|
};
|
|
7073
6938
|
const de_StopActivityStreamCommandError = async (output, context) => {
|
|
7074
6939
|
const parsedOutput = {
|
|
@@ -7094,10 +6959,9 @@ const de_StopActivityStreamCommandError = async (output, context) => {
|
|
|
7094
6959
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
7095
6960
|
default:
|
|
7096
6961
|
const parsedBody = parsedOutput.body;
|
|
7097
|
-
throwDefaultError({
|
|
6962
|
+
return throwDefaultError({
|
|
7098
6963
|
output,
|
|
7099
6964
|
parsedBody: parsedBody.Error,
|
|
7100
|
-
exceptionCtor: __BaseException,
|
|
7101
6965
|
errorCode,
|
|
7102
6966
|
});
|
|
7103
6967
|
}
|
|
@@ -7113,7 +6977,7 @@ export const de_StopDBClusterCommand = async (output, context) => {
|
|
|
7113
6977
|
$metadata: deserializeMetadata(output),
|
|
7114
6978
|
...contents,
|
|
7115
6979
|
};
|
|
7116
|
-
return
|
|
6980
|
+
return response;
|
|
7117
6981
|
};
|
|
7118
6982
|
const de_StopDBClusterCommandError = async (output, context) => {
|
|
7119
6983
|
const parsedOutput = {
|
|
@@ -7133,10 +6997,9 @@ const de_StopDBClusterCommandError = async (output, context) => {
|
|
|
7133
6997
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
7134
6998
|
default:
|
|
7135
6999
|
const parsedBody = parsedOutput.body;
|
|
7136
|
-
throwDefaultError({
|
|
7000
|
+
return throwDefaultError({
|
|
7137
7001
|
output,
|
|
7138
7002
|
parsedBody: parsedBody.Error,
|
|
7139
|
-
exceptionCtor: __BaseException,
|
|
7140
7003
|
errorCode,
|
|
7141
7004
|
});
|
|
7142
7005
|
}
|
|
@@ -7152,7 +7015,7 @@ export const de_StopDBInstanceCommand = async (output, context) => {
|
|
|
7152
7015
|
$metadata: deserializeMetadata(output),
|
|
7153
7016
|
...contents,
|
|
7154
7017
|
};
|
|
7155
|
-
return
|
|
7018
|
+
return response;
|
|
7156
7019
|
};
|
|
7157
7020
|
const de_StopDBInstanceCommandError = async (output, context) => {
|
|
7158
7021
|
const parsedOutput = {
|
|
@@ -7178,10 +7041,9 @@ const de_StopDBInstanceCommandError = async (output, context) => {
|
|
|
7178
7041
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
7179
7042
|
default:
|
|
7180
7043
|
const parsedBody = parsedOutput.body;
|
|
7181
|
-
throwDefaultError({
|
|
7044
|
+
return throwDefaultError({
|
|
7182
7045
|
output,
|
|
7183
7046
|
parsedBody: parsedBody.Error,
|
|
7184
|
-
exceptionCtor: __BaseException,
|
|
7185
7047
|
errorCode,
|
|
7186
7048
|
});
|
|
7187
7049
|
}
|
|
@@ -7197,7 +7059,7 @@ export const de_StopDBInstanceAutomatedBackupsReplicationCommand = async (output
|
|
|
7197
7059
|
$metadata: deserializeMetadata(output),
|
|
7198
7060
|
...contents,
|
|
7199
7061
|
};
|
|
7200
|
-
return
|
|
7062
|
+
return response;
|
|
7201
7063
|
};
|
|
7202
7064
|
const de_StopDBInstanceAutomatedBackupsReplicationCommandError = async (output, context) => {
|
|
7203
7065
|
const parsedOutput = {
|
|
@@ -7214,10 +7076,9 @@ const de_StopDBInstanceAutomatedBackupsReplicationCommandError = async (output,
|
|
|
7214
7076
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
7215
7077
|
default:
|
|
7216
7078
|
const parsedBody = parsedOutput.body;
|
|
7217
|
-
throwDefaultError({
|
|
7079
|
+
return throwDefaultError({
|
|
7218
7080
|
output,
|
|
7219
7081
|
parsedBody: parsedBody.Error,
|
|
7220
|
-
exceptionCtor: __BaseException,
|
|
7221
7082
|
errorCode,
|
|
7222
7083
|
});
|
|
7223
7084
|
}
|
|
@@ -7233,7 +7094,7 @@ export const de_SwitchoverBlueGreenDeploymentCommand = async (output, context) =
|
|
|
7233
7094
|
$metadata: deserializeMetadata(output),
|
|
7234
7095
|
...contents,
|
|
7235
7096
|
};
|
|
7236
|
-
return
|
|
7097
|
+
return response;
|
|
7237
7098
|
};
|
|
7238
7099
|
const de_SwitchoverBlueGreenDeploymentCommandError = async (output, context) => {
|
|
7239
7100
|
const parsedOutput = {
|
|
@@ -7250,10 +7111,9 @@ const de_SwitchoverBlueGreenDeploymentCommandError = async (output, context) =>
|
|
|
7250
7111
|
throw await de_InvalidBlueGreenDeploymentStateFaultRes(parsedOutput, context);
|
|
7251
7112
|
default:
|
|
7252
7113
|
const parsedBody = parsedOutput.body;
|
|
7253
|
-
throwDefaultError({
|
|
7114
|
+
return throwDefaultError({
|
|
7254
7115
|
output,
|
|
7255
7116
|
parsedBody: parsedBody.Error,
|
|
7256
|
-
exceptionCtor: __BaseException,
|
|
7257
7117
|
errorCode,
|
|
7258
7118
|
});
|
|
7259
7119
|
}
|
|
@@ -7269,7 +7129,7 @@ export const de_SwitchoverReadReplicaCommand = async (output, context) => {
|
|
|
7269
7129
|
$metadata: deserializeMetadata(output),
|
|
7270
7130
|
...contents,
|
|
7271
7131
|
};
|
|
7272
|
-
return
|
|
7132
|
+
return response;
|
|
7273
7133
|
};
|
|
7274
7134
|
const de_SwitchoverReadReplicaCommandError = async (output, context) => {
|
|
7275
7135
|
const parsedOutput = {
|
|
@@ -7286,10 +7146,9 @@ const de_SwitchoverReadReplicaCommandError = async (output, context) => {
|
|
|
7286
7146
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
7287
7147
|
default:
|
|
7288
7148
|
const parsedBody = parsedOutput.body;
|
|
7289
|
-
throwDefaultError({
|
|
7149
|
+
return throwDefaultError({
|
|
7290
7150
|
output,
|
|
7291
7151
|
parsedBody: parsedBody.Error,
|
|
7292
|
-
exceptionCtor: __BaseException,
|
|
7293
7152
|
errorCode,
|
|
7294
7153
|
});
|
|
7295
7154
|
}
|
|
@@ -18706,6 +18565,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
18706
18565
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
18707
18566
|
};
|
|
18708
18567
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
18568
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
18709
18569
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
18710
18570
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
18711
18571
|
const contents = {
|