@aws-sdk/client-lightsail 3.180.0 → 3.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_json1_1.js +161 -155
- package/dist-es/Lightsail.js +622 -629
- package/dist-es/LightsailClient.js +22 -28
- package/dist-es/commands/AllocateStaticIpCommand.js +21 -28
- package/dist-es/commands/AttachCertificateToDistributionCommand.js +21 -28
- package/dist-es/commands/AttachDiskCommand.js +21 -28
- package/dist-es/commands/AttachInstancesToLoadBalancerCommand.js +21 -28
- package/dist-es/commands/AttachLoadBalancerTlsCertificateCommand.js +21 -28
- package/dist-es/commands/AttachStaticIpCommand.js +21 -28
- package/dist-es/commands/CloseInstancePublicPortsCommand.js +21 -28
- package/dist-es/commands/CopySnapshotCommand.js +21 -28
- package/dist-es/commands/CreateBucketAccessKeyCommand.js +21 -28
- package/dist-es/commands/CreateBucketCommand.js +21 -28
- package/dist-es/commands/CreateCertificateCommand.js +21 -28
- package/dist-es/commands/CreateCloudFormationStackCommand.js +21 -28
- package/dist-es/commands/CreateContactMethodCommand.js +21 -28
- package/dist-es/commands/CreateContainerServiceCommand.js +21 -28
- package/dist-es/commands/CreateContainerServiceDeploymentCommand.js +21 -28
- package/dist-es/commands/CreateContainerServiceRegistryLoginCommand.js +21 -28
- package/dist-es/commands/CreateDiskCommand.js +21 -28
- package/dist-es/commands/CreateDiskFromSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateDiskSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateDistributionCommand.js +21 -28
- package/dist-es/commands/CreateDomainCommand.js +21 -28
- package/dist-es/commands/CreateDomainEntryCommand.js +21 -28
- package/dist-es/commands/CreateInstanceSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateInstancesCommand.js +21 -28
- package/dist-es/commands/CreateInstancesFromSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateKeyPairCommand.js +21 -28
- package/dist-es/commands/CreateLoadBalancerCommand.js +21 -28
- package/dist-es/commands/CreateLoadBalancerTlsCertificateCommand.js +21 -28
- package/dist-es/commands/CreateRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/CreateRelationalDatabaseFromSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateRelationalDatabaseSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteAlarmCommand.js +21 -28
- package/dist-es/commands/DeleteAutoSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteBucketAccessKeyCommand.js +21 -28
- package/dist-es/commands/DeleteBucketCommand.js +21 -28
- package/dist-es/commands/DeleteCertificateCommand.js +21 -28
- package/dist-es/commands/DeleteContactMethodCommand.js +21 -28
- package/dist-es/commands/DeleteContainerImageCommand.js +21 -28
- package/dist-es/commands/DeleteContainerServiceCommand.js +21 -28
- package/dist-es/commands/DeleteDiskCommand.js +21 -28
- package/dist-es/commands/DeleteDiskSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteDistributionCommand.js +21 -28
- package/dist-es/commands/DeleteDomainCommand.js +21 -28
- package/dist-es/commands/DeleteDomainEntryCommand.js +21 -28
- package/dist-es/commands/DeleteInstanceCommand.js +21 -28
- package/dist-es/commands/DeleteInstanceSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteKeyPairCommand.js +21 -28
- package/dist-es/commands/DeleteKnownHostKeysCommand.js +21 -28
- package/dist-es/commands/DeleteLoadBalancerCommand.js +21 -28
- package/dist-es/commands/DeleteLoadBalancerTlsCertificateCommand.js +21 -28
- package/dist-es/commands/DeleteRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/DeleteRelationalDatabaseSnapshotCommand.js +21 -28
- package/dist-es/commands/DetachCertificateFromDistributionCommand.js +21 -28
- package/dist-es/commands/DetachDiskCommand.js +21 -28
- package/dist-es/commands/DetachInstancesFromLoadBalancerCommand.js +21 -28
- package/dist-es/commands/DetachStaticIpCommand.js +21 -28
- package/dist-es/commands/DisableAddOnCommand.js +21 -28
- package/dist-es/commands/DownloadDefaultKeyPairCommand.js +21 -28
- package/dist-es/commands/EnableAddOnCommand.js +21 -28
- package/dist-es/commands/ExportSnapshotCommand.js +21 -28
- package/dist-es/commands/GetActiveNamesCommand.js +21 -28
- package/dist-es/commands/GetAlarmsCommand.js +21 -28
- package/dist-es/commands/GetAutoSnapshotsCommand.js +21 -28
- package/dist-es/commands/GetBlueprintsCommand.js +21 -28
- package/dist-es/commands/GetBucketAccessKeysCommand.js +21 -28
- package/dist-es/commands/GetBucketBundlesCommand.js +21 -28
- package/dist-es/commands/GetBucketMetricDataCommand.js +21 -28
- package/dist-es/commands/GetBucketsCommand.js +21 -28
- package/dist-es/commands/GetBundlesCommand.js +21 -28
- package/dist-es/commands/GetCertificatesCommand.js +21 -28
- package/dist-es/commands/GetCloudFormationStackRecordsCommand.js +21 -28
- package/dist-es/commands/GetContactMethodsCommand.js +21 -28
- package/dist-es/commands/GetContainerAPIMetadataCommand.js +21 -28
- package/dist-es/commands/GetContainerImagesCommand.js +21 -28
- package/dist-es/commands/GetContainerLogCommand.js +21 -28
- package/dist-es/commands/GetContainerServiceDeploymentsCommand.js +21 -28
- package/dist-es/commands/GetContainerServiceMetricDataCommand.js +21 -28
- package/dist-es/commands/GetContainerServicePowersCommand.js +21 -28
- package/dist-es/commands/GetContainerServicesCommand.js +21 -28
- package/dist-es/commands/GetDiskCommand.js +21 -28
- package/dist-es/commands/GetDiskSnapshotCommand.js +21 -28
- package/dist-es/commands/GetDiskSnapshotsCommand.js +21 -28
- package/dist-es/commands/GetDisksCommand.js +21 -28
- package/dist-es/commands/GetDistributionBundlesCommand.js +21 -28
- package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +21 -28
- package/dist-es/commands/GetDistributionMetricDataCommand.js +21 -28
- package/dist-es/commands/GetDistributionsCommand.js +21 -28
- package/dist-es/commands/GetDomainCommand.js +21 -28
- package/dist-es/commands/GetDomainsCommand.js +21 -28
- package/dist-es/commands/GetExportSnapshotRecordsCommand.js +21 -28
- package/dist-es/commands/GetInstanceAccessDetailsCommand.js +21 -28
- package/dist-es/commands/GetInstanceCommand.js +21 -28
- package/dist-es/commands/GetInstanceMetricDataCommand.js +21 -28
- package/dist-es/commands/GetInstancePortStatesCommand.js +21 -28
- package/dist-es/commands/GetInstanceSnapshotCommand.js +21 -28
- package/dist-es/commands/GetInstanceSnapshotsCommand.js +21 -28
- package/dist-es/commands/GetInstanceStateCommand.js +21 -28
- package/dist-es/commands/GetInstancesCommand.js +21 -28
- package/dist-es/commands/GetKeyPairCommand.js +21 -28
- package/dist-es/commands/GetKeyPairsCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancerCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancerMetricDataCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancerTlsCertificatesCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancerTlsPoliciesCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancersCommand.js +21 -28
- package/dist-es/commands/GetOperationCommand.js +21 -28
- package/dist-es/commands/GetOperationsCommand.js +21 -28
- package/dist-es/commands/GetOperationsForResourceCommand.js +21 -28
- package/dist-es/commands/GetRegionsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseBlueprintsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseBundlesCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseEventsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseLogEventsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseLogStreamsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseMasterUserPasswordCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseMetricDataCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseParametersCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseSnapshotCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseSnapshotsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabasesCommand.js +21 -28
- package/dist-es/commands/GetStaticIpCommand.js +21 -28
- package/dist-es/commands/GetStaticIpsCommand.js +21 -28
- package/dist-es/commands/ImportKeyPairCommand.js +21 -28
- package/dist-es/commands/IsVpcPeeredCommand.js +21 -28
- package/dist-es/commands/OpenInstancePublicPortsCommand.js +21 -28
- package/dist-es/commands/PeerVpcCommand.js +21 -28
- package/dist-es/commands/PutAlarmCommand.js +21 -28
- package/dist-es/commands/PutInstancePublicPortsCommand.js +21 -28
- package/dist-es/commands/RebootInstanceCommand.js +21 -28
- package/dist-es/commands/RebootRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/RegisterContainerImageCommand.js +21 -28
- package/dist-es/commands/ReleaseStaticIpCommand.js +21 -28
- package/dist-es/commands/ResetDistributionCacheCommand.js +21 -28
- package/dist-es/commands/SendContactMethodVerificationCommand.js +21 -28
- package/dist-es/commands/SetIpAddressTypeCommand.js +21 -28
- package/dist-es/commands/SetResourceAccessForBucketCommand.js +21 -28
- package/dist-es/commands/StartInstanceCommand.js +21 -28
- package/dist-es/commands/StartRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/StopInstanceCommand.js +21 -28
- package/dist-es/commands/StopRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/TestAlarmCommand.js +21 -28
- package/dist-es/commands/UnpeerVpcCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateBucketBundleCommand.js +21 -28
- package/dist-es/commands/UpdateBucketCommand.js +21 -28
- package/dist-es/commands/UpdateContainerServiceCommand.js +21 -28
- package/dist-es/commands/UpdateDistributionBundleCommand.js +21 -28
- package/dist-es/commands/UpdateDistributionCommand.js +21 -28
- package/dist-es/commands/UpdateDomainEntryCommand.js +21 -28
- package/dist-es/commands/UpdateInstanceMetadataOptionsCommand.js +21 -28
- package/dist-es/commands/UpdateLoadBalancerAttributeCommand.js +21 -28
- package/dist-es/commands/UpdateRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/UpdateRelationalDatabaseParametersCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LightsailServiceException.js +5 -10
- package/dist-es/models/models_0.js +849 -348
- package/dist-es/models/models_1.js +497 -166
- package/dist-es/protocols/Aws_json1_1.js +10880 -14188
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1578,7 +1578,7 @@ exports.deserializeAws_json1_1AllocateStaticIpCommand = deserializeAws_json1_1Al
|
|
|
1578
1578
|
const deserializeAws_json1_1AllocateStaticIpCommandError = async (output, context) => {
|
|
1579
1579
|
const parsedOutput = {
|
|
1580
1580
|
...output,
|
|
1581
|
-
body: await
|
|
1581
|
+
body: await parseErrorBody(output.body, context),
|
|
1582
1582
|
};
|
|
1583
1583
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1584
1584
|
switch (errorCode) {
|
|
@@ -1630,7 +1630,7 @@ exports.deserializeAws_json1_1AttachCertificateToDistributionCommand = deseriali
|
|
|
1630
1630
|
const deserializeAws_json1_1AttachCertificateToDistributionCommandError = async (output, context) => {
|
|
1631
1631
|
const parsedOutput = {
|
|
1632
1632
|
...output,
|
|
1633
|
-
body: await
|
|
1633
|
+
body: await parseErrorBody(output.body, context),
|
|
1634
1634
|
};
|
|
1635
1635
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1636
1636
|
switch (errorCode) {
|
|
@@ -1679,7 +1679,7 @@ exports.deserializeAws_json1_1AttachDiskCommand = deserializeAws_json1_1AttachDi
|
|
|
1679
1679
|
const deserializeAws_json1_1AttachDiskCommandError = async (output, context) => {
|
|
1680
1680
|
const parsedOutput = {
|
|
1681
1681
|
...output,
|
|
1682
|
-
body: await
|
|
1682
|
+
body: await parseErrorBody(output.body, context),
|
|
1683
1683
|
};
|
|
1684
1684
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1685
1685
|
switch (errorCode) {
|
|
@@ -1731,7 +1731,7 @@ exports.deserializeAws_json1_1AttachInstancesToLoadBalancerCommand = deserialize
|
|
|
1731
1731
|
const deserializeAws_json1_1AttachInstancesToLoadBalancerCommandError = async (output, context) => {
|
|
1732
1732
|
const parsedOutput = {
|
|
1733
1733
|
...output,
|
|
1734
|
-
body: await
|
|
1734
|
+
body: await parseErrorBody(output.body, context),
|
|
1735
1735
|
};
|
|
1736
1736
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1737
1737
|
switch (errorCode) {
|
|
@@ -1783,7 +1783,7 @@ exports.deserializeAws_json1_1AttachLoadBalancerTlsCertificateCommand = deserial
|
|
|
1783
1783
|
const deserializeAws_json1_1AttachLoadBalancerTlsCertificateCommandError = async (output, context) => {
|
|
1784
1784
|
const parsedOutput = {
|
|
1785
1785
|
...output,
|
|
1786
|
-
body: await
|
|
1786
|
+
body: await parseErrorBody(output.body, context),
|
|
1787
1787
|
};
|
|
1788
1788
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1789
1789
|
switch (errorCode) {
|
|
@@ -1835,7 +1835,7 @@ exports.deserializeAws_json1_1AttachStaticIpCommand = deserializeAws_json1_1Atta
|
|
|
1835
1835
|
const deserializeAws_json1_1AttachStaticIpCommandError = async (output, context) => {
|
|
1836
1836
|
const parsedOutput = {
|
|
1837
1837
|
...output,
|
|
1838
|
-
body: await
|
|
1838
|
+
body: await parseErrorBody(output.body, context),
|
|
1839
1839
|
};
|
|
1840
1840
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1841
1841
|
switch (errorCode) {
|
|
@@ -1887,7 +1887,7 @@ exports.deserializeAws_json1_1CloseInstancePublicPortsCommand = deserializeAws_j
|
|
|
1887
1887
|
const deserializeAws_json1_1CloseInstancePublicPortsCommandError = async (output, context) => {
|
|
1888
1888
|
const parsedOutput = {
|
|
1889
1889
|
...output,
|
|
1890
|
-
body: await
|
|
1890
|
+
body: await parseErrorBody(output.body, context),
|
|
1891
1891
|
};
|
|
1892
1892
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1893
1893
|
switch (errorCode) {
|
|
@@ -1939,7 +1939,7 @@ exports.deserializeAws_json1_1CopySnapshotCommand = deserializeAws_json1_1CopySn
|
|
|
1939
1939
|
const deserializeAws_json1_1CopySnapshotCommandError = async (output, context) => {
|
|
1940
1940
|
const parsedOutput = {
|
|
1941
1941
|
...output,
|
|
1942
|
-
body: await
|
|
1942
|
+
body: await parseErrorBody(output.body, context),
|
|
1943
1943
|
};
|
|
1944
1944
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1945
1945
|
switch (errorCode) {
|
|
@@ -1991,7 +1991,7 @@ exports.deserializeAws_json1_1CreateBucketCommand = deserializeAws_json1_1Create
|
|
|
1991
1991
|
const deserializeAws_json1_1CreateBucketCommandError = async (output, context) => {
|
|
1992
1992
|
const parsedOutput = {
|
|
1993
1993
|
...output,
|
|
1994
|
-
body: await
|
|
1994
|
+
body: await parseErrorBody(output.body, context),
|
|
1995
1995
|
};
|
|
1996
1996
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1997
1997
|
switch (errorCode) {
|
|
@@ -2034,7 +2034,7 @@ exports.deserializeAws_json1_1CreateBucketAccessKeyCommand = deserializeAws_json
|
|
|
2034
2034
|
const deserializeAws_json1_1CreateBucketAccessKeyCommandError = async (output, context) => {
|
|
2035
2035
|
const parsedOutput = {
|
|
2036
2036
|
...output,
|
|
2037
|
-
body: await
|
|
2037
|
+
body: await parseErrorBody(output.body, context),
|
|
2038
2038
|
};
|
|
2039
2039
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2040
2040
|
switch (errorCode) {
|
|
@@ -2080,7 +2080,7 @@ exports.deserializeAws_json1_1CreateCertificateCommand = deserializeAws_json1_1C
|
|
|
2080
2080
|
const deserializeAws_json1_1CreateCertificateCommandError = async (output, context) => {
|
|
2081
2081
|
const parsedOutput = {
|
|
2082
2082
|
...output,
|
|
2083
|
-
body: await
|
|
2083
|
+
body: await parseErrorBody(output.body, context),
|
|
2084
2084
|
};
|
|
2085
2085
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2086
2086
|
switch (errorCode) {
|
|
@@ -2126,7 +2126,7 @@ exports.deserializeAws_json1_1CreateCloudFormationStackCommand = deserializeAws_
|
|
|
2126
2126
|
const deserializeAws_json1_1CreateCloudFormationStackCommandError = async (output, context) => {
|
|
2127
2127
|
const parsedOutput = {
|
|
2128
2128
|
...output,
|
|
2129
|
-
body: await
|
|
2129
|
+
body: await parseErrorBody(output.body, context),
|
|
2130
2130
|
};
|
|
2131
2131
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2132
2132
|
switch (errorCode) {
|
|
@@ -2178,7 +2178,7 @@ exports.deserializeAws_json1_1CreateContactMethodCommand = deserializeAws_json1_
|
|
|
2178
2178
|
const deserializeAws_json1_1CreateContactMethodCommandError = async (output, context) => {
|
|
2179
2179
|
const parsedOutput = {
|
|
2180
2180
|
...output,
|
|
2181
|
-
body: await
|
|
2181
|
+
body: await parseErrorBody(output.body, context),
|
|
2182
2182
|
};
|
|
2183
2183
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2184
2184
|
switch (errorCode) {
|
|
@@ -2227,7 +2227,7 @@ exports.deserializeAws_json1_1CreateContainerServiceCommand = deserializeAws_jso
|
|
|
2227
2227
|
const deserializeAws_json1_1CreateContainerServiceCommandError = async (output, context) => {
|
|
2228
2228
|
const parsedOutput = {
|
|
2229
2229
|
...output,
|
|
2230
|
-
body: await
|
|
2230
|
+
body: await parseErrorBody(output.body, context),
|
|
2231
2231
|
};
|
|
2232
2232
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2233
2233
|
switch (errorCode) {
|
|
@@ -2273,7 +2273,7 @@ exports.deserializeAws_json1_1CreateContainerServiceDeploymentCommand = deserial
|
|
|
2273
2273
|
const deserializeAws_json1_1CreateContainerServiceDeploymentCommandError = async (output, context) => {
|
|
2274
2274
|
const parsedOutput = {
|
|
2275
2275
|
...output,
|
|
2276
|
-
body: await
|
|
2276
|
+
body: await parseErrorBody(output.body, context),
|
|
2277
2277
|
};
|
|
2278
2278
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2279
2279
|
switch (errorCode) {
|
|
@@ -2319,7 +2319,7 @@ exports.deserializeAws_json1_1CreateContainerServiceRegistryLoginCommand = deser
|
|
|
2319
2319
|
const deserializeAws_json1_1CreateContainerServiceRegistryLoginCommandError = async (output, context) => {
|
|
2320
2320
|
const parsedOutput = {
|
|
2321
2321
|
...output,
|
|
2322
|
-
body: await
|
|
2322
|
+
body: await parseErrorBody(output.body, context),
|
|
2323
2323
|
};
|
|
2324
2324
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2325
2325
|
switch (errorCode) {
|
|
@@ -2365,7 +2365,7 @@ exports.deserializeAws_json1_1CreateDiskCommand = deserializeAws_json1_1CreateDi
|
|
|
2365
2365
|
const deserializeAws_json1_1CreateDiskCommandError = async (output, context) => {
|
|
2366
2366
|
const parsedOutput = {
|
|
2367
2367
|
...output,
|
|
2368
|
-
body: await
|
|
2368
|
+
body: await parseErrorBody(output.body, context),
|
|
2369
2369
|
};
|
|
2370
2370
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2371
2371
|
switch (errorCode) {
|
|
@@ -2417,7 +2417,7 @@ exports.deserializeAws_json1_1CreateDiskFromSnapshotCommand = deserializeAws_jso
|
|
|
2417
2417
|
const deserializeAws_json1_1CreateDiskFromSnapshotCommandError = async (output, context) => {
|
|
2418
2418
|
const parsedOutput = {
|
|
2419
2419
|
...output,
|
|
2420
|
-
body: await
|
|
2420
|
+
body: await parseErrorBody(output.body, context),
|
|
2421
2421
|
};
|
|
2422
2422
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2423
2423
|
switch (errorCode) {
|
|
@@ -2469,7 +2469,7 @@ exports.deserializeAws_json1_1CreateDiskSnapshotCommand = deserializeAws_json1_1
|
|
|
2469
2469
|
const deserializeAws_json1_1CreateDiskSnapshotCommandError = async (output, context) => {
|
|
2470
2470
|
const parsedOutput = {
|
|
2471
2471
|
...output,
|
|
2472
|
-
body: await
|
|
2472
|
+
body: await parseErrorBody(output.body, context),
|
|
2473
2473
|
};
|
|
2474
2474
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2475
2475
|
switch (errorCode) {
|
|
@@ -2521,7 +2521,7 @@ exports.deserializeAws_json1_1CreateDistributionCommand = deserializeAws_json1_1
|
|
|
2521
2521
|
const deserializeAws_json1_1CreateDistributionCommandError = async (output, context) => {
|
|
2522
2522
|
const parsedOutput = {
|
|
2523
2523
|
...output,
|
|
2524
|
-
body: await
|
|
2524
|
+
body: await parseErrorBody(output.body, context),
|
|
2525
2525
|
};
|
|
2526
2526
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2527
2527
|
switch (errorCode) {
|
|
@@ -2570,7 +2570,7 @@ exports.deserializeAws_json1_1CreateDomainCommand = deserializeAws_json1_1Create
|
|
|
2570
2570
|
const deserializeAws_json1_1CreateDomainCommandError = async (output, context) => {
|
|
2571
2571
|
const parsedOutput = {
|
|
2572
2572
|
...output,
|
|
2573
|
-
body: await
|
|
2573
|
+
body: await parseErrorBody(output.body, context),
|
|
2574
2574
|
};
|
|
2575
2575
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2576
2576
|
switch (errorCode) {
|
|
@@ -2622,7 +2622,7 @@ exports.deserializeAws_json1_1CreateDomainEntryCommand = deserializeAws_json1_1C
|
|
|
2622
2622
|
const deserializeAws_json1_1CreateDomainEntryCommandError = async (output, context) => {
|
|
2623
2623
|
const parsedOutput = {
|
|
2624
2624
|
...output,
|
|
2625
|
-
body: await
|
|
2625
|
+
body: await parseErrorBody(output.body, context),
|
|
2626
2626
|
};
|
|
2627
2627
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2628
2628
|
switch (errorCode) {
|
|
@@ -2674,7 +2674,7 @@ exports.deserializeAws_json1_1CreateInstancesCommand = deserializeAws_json1_1Cre
|
|
|
2674
2674
|
const deserializeAws_json1_1CreateInstancesCommandError = async (output, context) => {
|
|
2675
2675
|
const parsedOutput = {
|
|
2676
2676
|
...output,
|
|
2677
|
-
body: await
|
|
2677
|
+
body: await parseErrorBody(output.body, context),
|
|
2678
2678
|
};
|
|
2679
2679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2680
2680
|
switch (errorCode) {
|
|
@@ -2726,7 +2726,7 @@ exports.deserializeAws_json1_1CreateInstancesFromSnapshotCommand = deserializeAw
|
|
|
2726
2726
|
const deserializeAws_json1_1CreateInstancesFromSnapshotCommandError = async (output, context) => {
|
|
2727
2727
|
const parsedOutput = {
|
|
2728
2728
|
...output,
|
|
2729
|
-
body: await
|
|
2729
|
+
body: await parseErrorBody(output.body, context),
|
|
2730
2730
|
};
|
|
2731
2731
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2732
2732
|
switch (errorCode) {
|
|
@@ -2778,7 +2778,7 @@ exports.deserializeAws_json1_1CreateInstanceSnapshotCommand = deserializeAws_jso
|
|
|
2778
2778
|
const deserializeAws_json1_1CreateInstanceSnapshotCommandError = async (output, context) => {
|
|
2779
2779
|
const parsedOutput = {
|
|
2780
2780
|
...output,
|
|
2781
|
-
body: await
|
|
2781
|
+
body: await parseErrorBody(output.body, context),
|
|
2782
2782
|
};
|
|
2783
2783
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2784
2784
|
switch (errorCode) {
|
|
@@ -2830,7 +2830,7 @@ exports.deserializeAws_json1_1CreateKeyPairCommand = deserializeAws_json1_1Creat
|
|
|
2830
2830
|
const deserializeAws_json1_1CreateKeyPairCommandError = async (output, context) => {
|
|
2831
2831
|
const parsedOutput = {
|
|
2832
2832
|
...output,
|
|
2833
|
-
body: await
|
|
2833
|
+
body: await parseErrorBody(output.body, context),
|
|
2834
2834
|
};
|
|
2835
2835
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2836
2836
|
switch (errorCode) {
|
|
@@ -2882,7 +2882,7 @@ exports.deserializeAws_json1_1CreateLoadBalancerCommand = deserializeAws_json1_1
|
|
|
2882
2882
|
const deserializeAws_json1_1CreateLoadBalancerCommandError = async (output, context) => {
|
|
2883
2883
|
const parsedOutput = {
|
|
2884
2884
|
...output,
|
|
2885
|
-
body: await
|
|
2885
|
+
body: await parseErrorBody(output.body, context),
|
|
2886
2886
|
};
|
|
2887
2887
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2888
2888
|
switch (errorCode) {
|
|
@@ -2934,7 +2934,7 @@ exports.deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand = deserial
|
|
|
2934
2934
|
const deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommandError = async (output, context) => {
|
|
2935
2935
|
const parsedOutput = {
|
|
2936
2936
|
...output,
|
|
2937
|
-
body: await
|
|
2937
|
+
body: await parseErrorBody(output.body, context),
|
|
2938
2938
|
};
|
|
2939
2939
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2940
2940
|
switch (errorCode) {
|
|
@@ -2986,7 +2986,7 @@ exports.deserializeAws_json1_1CreateRelationalDatabaseCommand = deserializeAws_j
|
|
|
2986
2986
|
const deserializeAws_json1_1CreateRelationalDatabaseCommandError = async (output, context) => {
|
|
2987
2987
|
const parsedOutput = {
|
|
2988
2988
|
...output,
|
|
2989
|
-
body: await
|
|
2989
|
+
body: await parseErrorBody(output.body, context),
|
|
2990
2990
|
};
|
|
2991
2991
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2992
2992
|
switch (errorCode) {
|
|
@@ -3038,7 +3038,7 @@ exports.deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommand = dese
|
|
|
3038
3038
|
const deserializeAws_json1_1CreateRelationalDatabaseFromSnapshotCommandError = async (output, context) => {
|
|
3039
3039
|
const parsedOutput = {
|
|
3040
3040
|
...output,
|
|
3041
|
-
body: await
|
|
3041
|
+
body: await parseErrorBody(output.body, context),
|
|
3042
3042
|
};
|
|
3043
3043
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3044
3044
|
switch (errorCode) {
|
|
@@ -3090,7 +3090,7 @@ exports.deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommand = deserial
|
|
|
3090
3090
|
const deserializeAws_json1_1CreateRelationalDatabaseSnapshotCommandError = async (output, context) => {
|
|
3091
3091
|
const parsedOutput = {
|
|
3092
3092
|
...output,
|
|
3093
|
-
body: await
|
|
3093
|
+
body: await parseErrorBody(output.body, context),
|
|
3094
3094
|
};
|
|
3095
3095
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3096
3096
|
switch (errorCode) {
|
|
@@ -3142,7 +3142,7 @@ exports.deserializeAws_json1_1DeleteAlarmCommand = deserializeAws_json1_1DeleteA
|
|
|
3142
3142
|
const deserializeAws_json1_1DeleteAlarmCommandError = async (output, context) => {
|
|
3143
3143
|
const parsedOutput = {
|
|
3144
3144
|
...output,
|
|
3145
|
-
body: await
|
|
3145
|
+
body: await parseErrorBody(output.body, context),
|
|
3146
3146
|
};
|
|
3147
3147
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3148
3148
|
switch (errorCode) {
|
|
@@ -3191,7 +3191,7 @@ exports.deserializeAws_json1_1DeleteAutoSnapshotCommand = deserializeAws_json1_1
|
|
|
3191
3191
|
const deserializeAws_json1_1DeleteAutoSnapshotCommandError = async (output, context) => {
|
|
3192
3192
|
const parsedOutput = {
|
|
3193
3193
|
...output,
|
|
3194
|
-
body: await
|
|
3194
|
+
body: await parseErrorBody(output.body, context),
|
|
3195
3195
|
};
|
|
3196
3196
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3197
3197
|
switch (errorCode) {
|
|
@@ -3240,7 +3240,7 @@ exports.deserializeAws_json1_1DeleteBucketCommand = deserializeAws_json1_1Delete
|
|
|
3240
3240
|
const deserializeAws_json1_1DeleteBucketCommandError = async (output, context) => {
|
|
3241
3241
|
const parsedOutput = {
|
|
3242
3242
|
...output,
|
|
3243
|
-
body: await
|
|
3243
|
+
body: await parseErrorBody(output.body, context),
|
|
3244
3244
|
};
|
|
3245
3245
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3246
3246
|
switch (errorCode) {
|
|
@@ -3286,7 +3286,7 @@ exports.deserializeAws_json1_1DeleteBucketAccessKeyCommand = deserializeAws_json
|
|
|
3286
3286
|
const deserializeAws_json1_1DeleteBucketAccessKeyCommandError = async (output, context) => {
|
|
3287
3287
|
const parsedOutput = {
|
|
3288
3288
|
...output,
|
|
3289
|
-
body: await
|
|
3289
|
+
body: await parseErrorBody(output.body, context),
|
|
3290
3290
|
};
|
|
3291
3291
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3292
3292
|
switch (errorCode) {
|
|
@@ -3332,7 +3332,7 @@ exports.deserializeAws_json1_1DeleteCertificateCommand = deserializeAws_json1_1D
|
|
|
3332
3332
|
const deserializeAws_json1_1DeleteCertificateCommandError = async (output, context) => {
|
|
3333
3333
|
const parsedOutput = {
|
|
3334
3334
|
...output,
|
|
3335
|
-
body: await
|
|
3335
|
+
body: await parseErrorBody(output.body, context),
|
|
3336
3336
|
};
|
|
3337
3337
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3338
3338
|
switch (errorCode) {
|
|
@@ -3378,7 +3378,7 @@ exports.deserializeAws_json1_1DeleteContactMethodCommand = deserializeAws_json1_
|
|
|
3378
3378
|
const deserializeAws_json1_1DeleteContactMethodCommandError = async (output, context) => {
|
|
3379
3379
|
const parsedOutput = {
|
|
3380
3380
|
...output,
|
|
3381
|
-
body: await
|
|
3381
|
+
body: await parseErrorBody(output.body, context),
|
|
3382
3382
|
};
|
|
3383
3383
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3384
3384
|
switch (errorCode) {
|
|
@@ -3427,7 +3427,7 @@ exports.deserializeAws_json1_1DeleteContainerImageCommand = deserializeAws_json1
|
|
|
3427
3427
|
const deserializeAws_json1_1DeleteContainerImageCommandError = async (output, context) => {
|
|
3428
3428
|
const parsedOutput = {
|
|
3429
3429
|
...output,
|
|
3430
|
-
body: await
|
|
3430
|
+
body: await parseErrorBody(output.body, context),
|
|
3431
3431
|
};
|
|
3432
3432
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3433
3433
|
switch (errorCode) {
|
|
@@ -3473,7 +3473,7 @@ exports.deserializeAws_json1_1DeleteContainerServiceCommand = deserializeAws_jso
|
|
|
3473
3473
|
const deserializeAws_json1_1DeleteContainerServiceCommandError = async (output, context) => {
|
|
3474
3474
|
const parsedOutput = {
|
|
3475
3475
|
...output,
|
|
3476
|
-
body: await
|
|
3476
|
+
body: await parseErrorBody(output.body, context),
|
|
3477
3477
|
};
|
|
3478
3478
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3479
3479
|
switch (errorCode) {
|
|
@@ -3519,7 +3519,7 @@ exports.deserializeAws_json1_1DeleteDiskCommand = deserializeAws_json1_1DeleteDi
|
|
|
3519
3519
|
const deserializeAws_json1_1DeleteDiskCommandError = async (output, context) => {
|
|
3520
3520
|
const parsedOutput = {
|
|
3521
3521
|
...output,
|
|
3522
|
-
body: await
|
|
3522
|
+
body: await parseErrorBody(output.body, context),
|
|
3523
3523
|
};
|
|
3524
3524
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3525
3525
|
switch (errorCode) {
|
|
@@ -3571,7 +3571,7 @@ exports.deserializeAws_json1_1DeleteDiskSnapshotCommand = deserializeAws_json1_1
|
|
|
3571
3571
|
const deserializeAws_json1_1DeleteDiskSnapshotCommandError = async (output, context) => {
|
|
3572
3572
|
const parsedOutput = {
|
|
3573
3573
|
...output,
|
|
3574
|
-
body: await
|
|
3574
|
+
body: await parseErrorBody(output.body, context),
|
|
3575
3575
|
};
|
|
3576
3576
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3577
3577
|
switch (errorCode) {
|
|
@@ -3623,7 +3623,7 @@ exports.deserializeAws_json1_1DeleteDistributionCommand = deserializeAws_json1_1
|
|
|
3623
3623
|
const deserializeAws_json1_1DeleteDistributionCommandError = async (output, context) => {
|
|
3624
3624
|
const parsedOutput = {
|
|
3625
3625
|
...output,
|
|
3626
|
-
body: await
|
|
3626
|
+
body: await parseErrorBody(output.body, context),
|
|
3627
3627
|
};
|
|
3628
3628
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3629
3629
|
switch (errorCode) {
|
|
@@ -3672,7 +3672,7 @@ exports.deserializeAws_json1_1DeleteDomainCommand = deserializeAws_json1_1Delete
|
|
|
3672
3672
|
const deserializeAws_json1_1DeleteDomainCommandError = async (output, context) => {
|
|
3673
3673
|
const parsedOutput = {
|
|
3674
3674
|
...output,
|
|
3675
|
-
body: await
|
|
3675
|
+
body: await parseErrorBody(output.body, context),
|
|
3676
3676
|
};
|
|
3677
3677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3678
3678
|
switch (errorCode) {
|
|
@@ -3724,7 +3724,7 @@ exports.deserializeAws_json1_1DeleteDomainEntryCommand = deserializeAws_json1_1D
|
|
|
3724
3724
|
const deserializeAws_json1_1DeleteDomainEntryCommandError = async (output, context) => {
|
|
3725
3725
|
const parsedOutput = {
|
|
3726
3726
|
...output,
|
|
3727
|
-
body: await
|
|
3727
|
+
body: await parseErrorBody(output.body, context),
|
|
3728
3728
|
};
|
|
3729
3729
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3730
3730
|
switch (errorCode) {
|
|
@@ -3776,7 +3776,7 @@ exports.deserializeAws_json1_1DeleteInstanceCommand = deserializeAws_json1_1Dele
|
|
|
3776
3776
|
const deserializeAws_json1_1DeleteInstanceCommandError = async (output, context) => {
|
|
3777
3777
|
const parsedOutput = {
|
|
3778
3778
|
...output,
|
|
3779
|
-
body: await
|
|
3779
|
+
body: await parseErrorBody(output.body, context),
|
|
3780
3780
|
};
|
|
3781
3781
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3782
3782
|
switch (errorCode) {
|
|
@@ -3828,7 +3828,7 @@ exports.deserializeAws_json1_1DeleteInstanceSnapshotCommand = deserializeAws_jso
|
|
|
3828
3828
|
const deserializeAws_json1_1DeleteInstanceSnapshotCommandError = async (output, context) => {
|
|
3829
3829
|
const parsedOutput = {
|
|
3830
3830
|
...output,
|
|
3831
|
-
body: await
|
|
3831
|
+
body: await parseErrorBody(output.body, context),
|
|
3832
3832
|
};
|
|
3833
3833
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3834
3834
|
switch (errorCode) {
|
|
@@ -3880,7 +3880,7 @@ exports.deserializeAws_json1_1DeleteKeyPairCommand = deserializeAws_json1_1Delet
|
|
|
3880
3880
|
const deserializeAws_json1_1DeleteKeyPairCommandError = async (output, context) => {
|
|
3881
3881
|
const parsedOutput = {
|
|
3882
3882
|
...output,
|
|
3883
|
-
body: await
|
|
3883
|
+
body: await parseErrorBody(output.body, context),
|
|
3884
3884
|
};
|
|
3885
3885
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3886
3886
|
switch (errorCode) {
|
|
@@ -3932,7 +3932,7 @@ exports.deserializeAws_json1_1DeleteKnownHostKeysCommand = deserializeAws_json1_
|
|
|
3932
3932
|
const deserializeAws_json1_1DeleteKnownHostKeysCommandError = async (output, context) => {
|
|
3933
3933
|
const parsedOutput = {
|
|
3934
3934
|
...output,
|
|
3935
|
-
body: await
|
|
3935
|
+
body: await parseErrorBody(output.body, context),
|
|
3936
3936
|
};
|
|
3937
3937
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3938
3938
|
switch (errorCode) {
|
|
@@ -3984,7 +3984,7 @@ exports.deserializeAws_json1_1DeleteLoadBalancerCommand = deserializeAws_json1_1
|
|
|
3984
3984
|
const deserializeAws_json1_1DeleteLoadBalancerCommandError = async (output, context) => {
|
|
3985
3985
|
const parsedOutput = {
|
|
3986
3986
|
...output,
|
|
3987
|
-
body: await
|
|
3987
|
+
body: await parseErrorBody(output.body, context),
|
|
3988
3988
|
};
|
|
3989
3989
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3990
3990
|
switch (errorCode) {
|
|
@@ -4036,7 +4036,7 @@ exports.deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommand = deserial
|
|
|
4036
4036
|
const deserializeAws_json1_1DeleteLoadBalancerTlsCertificateCommandError = async (output, context) => {
|
|
4037
4037
|
const parsedOutput = {
|
|
4038
4038
|
...output,
|
|
4039
|
-
body: await
|
|
4039
|
+
body: await parseErrorBody(output.body, context),
|
|
4040
4040
|
};
|
|
4041
4041
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4042
4042
|
switch (errorCode) {
|
|
@@ -4088,7 +4088,7 @@ exports.deserializeAws_json1_1DeleteRelationalDatabaseCommand = deserializeAws_j
|
|
|
4088
4088
|
const deserializeAws_json1_1DeleteRelationalDatabaseCommandError = async (output, context) => {
|
|
4089
4089
|
const parsedOutput = {
|
|
4090
4090
|
...output,
|
|
4091
|
-
body: await
|
|
4091
|
+
body: await parseErrorBody(output.body, context),
|
|
4092
4092
|
};
|
|
4093
4093
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4094
4094
|
switch (errorCode) {
|
|
@@ -4140,7 +4140,7 @@ exports.deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommand = deserial
|
|
|
4140
4140
|
const deserializeAws_json1_1DeleteRelationalDatabaseSnapshotCommandError = async (output, context) => {
|
|
4141
4141
|
const parsedOutput = {
|
|
4142
4142
|
...output,
|
|
4143
|
-
body: await
|
|
4143
|
+
body: await parseErrorBody(output.body, context),
|
|
4144
4144
|
};
|
|
4145
4145
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4146
4146
|
switch (errorCode) {
|
|
@@ -4192,7 +4192,7 @@ exports.deserializeAws_json1_1DetachCertificateFromDistributionCommand = deseria
|
|
|
4192
4192
|
const deserializeAws_json1_1DetachCertificateFromDistributionCommandError = async (output, context) => {
|
|
4193
4193
|
const parsedOutput = {
|
|
4194
4194
|
...output,
|
|
4195
|
-
body: await
|
|
4195
|
+
body: await parseErrorBody(output.body, context),
|
|
4196
4196
|
};
|
|
4197
4197
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4198
4198
|
switch (errorCode) {
|
|
@@ -4241,7 +4241,7 @@ exports.deserializeAws_json1_1DetachDiskCommand = deserializeAws_json1_1DetachDi
|
|
|
4241
4241
|
const deserializeAws_json1_1DetachDiskCommandError = async (output, context) => {
|
|
4242
4242
|
const parsedOutput = {
|
|
4243
4243
|
...output,
|
|
4244
|
-
body: await
|
|
4244
|
+
body: await parseErrorBody(output.body, context),
|
|
4245
4245
|
};
|
|
4246
4246
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4247
4247
|
switch (errorCode) {
|
|
@@ -4293,7 +4293,7 @@ exports.deserializeAws_json1_1DetachInstancesFromLoadBalancerCommand = deseriali
|
|
|
4293
4293
|
const deserializeAws_json1_1DetachInstancesFromLoadBalancerCommandError = async (output, context) => {
|
|
4294
4294
|
const parsedOutput = {
|
|
4295
4295
|
...output,
|
|
4296
|
-
body: await
|
|
4296
|
+
body: await parseErrorBody(output.body, context),
|
|
4297
4297
|
};
|
|
4298
4298
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4299
4299
|
switch (errorCode) {
|
|
@@ -4345,7 +4345,7 @@ exports.deserializeAws_json1_1DetachStaticIpCommand = deserializeAws_json1_1Deta
|
|
|
4345
4345
|
const deserializeAws_json1_1DetachStaticIpCommandError = async (output, context) => {
|
|
4346
4346
|
const parsedOutput = {
|
|
4347
4347
|
...output,
|
|
4348
|
-
body: await
|
|
4348
|
+
body: await parseErrorBody(output.body, context),
|
|
4349
4349
|
};
|
|
4350
4350
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4351
4351
|
switch (errorCode) {
|
|
@@ -4397,7 +4397,7 @@ exports.deserializeAws_json1_1DisableAddOnCommand = deserializeAws_json1_1Disabl
|
|
|
4397
4397
|
const deserializeAws_json1_1DisableAddOnCommandError = async (output, context) => {
|
|
4398
4398
|
const parsedOutput = {
|
|
4399
4399
|
...output,
|
|
4400
|
-
body: await
|
|
4400
|
+
body: await parseErrorBody(output.body, context),
|
|
4401
4401
|
};
|
|
4402
4402
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4403
4403
|
switch (errorCode) {
|
|
@@ -4446,7 +4446,7 @@ exports.deserializeAws_json1_1DownloadDefaultKeyPairCommand = deserializeAws_jso
|
|
|
4446
4446
|
const deserializeAws_json1_1DownloadDefaultKeyPairCommandError = async (output, context) => {
|
|
4447
4447
|
const parsedOutput = {
|
|
4448
4448
|
...output,
|
|
4449
|
-
body: await
|
|
4449
|
+
body: await parseErrorBody(output.body, context),
|
|
4450
4450
|
};
|
|
4451
4451
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4452
4452
|
switch (errorCode) {
|
|
@@ -4498,7 +4498,7 @@ exports.deserializeAws_json1_1EnableAddOnCommand = deserializeAws_json1_1EnableA
|
|
|
4498
4498
|
const deserializeAws_json1_1EnableAddOnCommandError = async (output, context) => {
|
|
4499
4499
|
const parsedOutput = {
|
|
4500
4500
|
...output,
|
|
4501
|
-
body: await
|
|
4501
|
+
body: await parseErrorBody(output.body, context),
|
|
4502
4502
|
};
|
|
4503
4503
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4504
4504
|
switch (errorCode) {
|
|
@@ -4547,7 +4547,7 @@ exports.deserializeAws_json1_1ExportSnapshotCommand = deserializeAws_json1_1Expo
|
|
|
4547
4547
|
const deserializeAws_json1_1ExportSnapshotCommandError = async (output, context) => {
|
|
4548
4548
|
const parsedOutput = {
|
|
4549
4549
|
...output,
|
|
4550
|
-
body: await
|
|
4550
|
+
body: await parseErrorBody(output.body, context),
|
|
4551
4551
|
};
|
|
4552
4552
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4553
4553
|
switch (errorCode) {
|
|
@@ -4599,7 +4599,7 @@ exports.deserializeAws_json1_1GetActiveNamesCommand = deserializeAws_json1_1GetA
|
|
|
4599
4599
|
const deserializeAws_json1_1GetActiveNamesCommandError = async (output, context) => {
|
|
4600
4600
|
const parsedOutput = {
|
|
4601
4601
|
...output,
|
|
4602
|
-
body: await
|
|
4602
|
+
body: await parseErrorBody(output.body, context),
|
|
4603
4603
|
};
|
|
4604
4604
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4605
4605
|
switch (errorCode) {
|
|
@@ -4651,7 +4651,7 @@ exports.deserializeAws_json1_1GetAlarmsCommand = deserializeAws_json1_1GetAlarms
|
|
|
4651
4651
|
const deserializeAws_json1_1GetAlarmsCommandError = async (output, context) => {
|
|
4652
4652
|
const parsedOutput = {
|
|
4653
4653
|
...output,
|
|
4654
|
-
body: await
|
|
4654
|
+
body: await parseErrorBody(output.body, context),
|
|
4655
4655
|
};
|
|
4656
4656
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4657
4657
|
switch (errorCode) {
|
|
@@ -4700,7 +4700,7 @@ exports.deserializeAws_json1_1GetAutoSnapshotsCommand = deserializeAws_json1_1Ge
|
|
|
4700
4700
|
const deserializeAws_json1_1GetAutoSnapshotsCommandError = async (output, context) => {
|
|
4701
4701
|
const parsedOutput = {
|
|
4702
4702
|
...output,
|
|
4703
|
-
body: await
|
|
4703
|
+
body: await parseErrorBody(output.body, context),
|
|
4704
4704
|
};
|
|
4705
4705
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4706
4706
|
switch (errorCode) {
|
|
@@ -4749,7 +4749,7 @@ exports.deserializeAws_json1_1GetBlueprintsCommand = deserializeAws_json1_1GetBl
|
|
|
4749
4749
|
const deserializeAws_json1_1GetBlueprintsCommandError = async (output, context) => {
|
|
4750
4750
|
const parsedOutput = {
|
|
4751
4751
|
...output,
|
|
4752
|
-
body: await
|
|
4752
|
+
body: await parseErrorBody(output.body, context),
|
|
4753
4753
|
};
|
|
4754
4754
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4755
4755
|
switch (errorCode) {
|
|
@@ -4801,7 +4801,7 @@ exports.deserializeAws_json1_1GetBucketAccessKeysCommand = deserializeAws_json1_
|
|
|
4801
4801
|
const deserializeAws_json1_1GetBucketAccessKeysCommandError = async (output, context) => {
|
|
4802
4802
|
const parsedOutput = {
|
|
4803
4803
|
...output,
|
|
4804
|
-
body: await
|
|
4804
|
+
body: await parseErrorBody(output.body, context),
|
|
4805
4805
|
};
|
|
4806
4806
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4807
4807
|
switch (errorCode) {
|
|
@@ -4847,7 +4847,7 @@ exports.deserializeAws_json1_1GetBucketBundlesCommand = deserializeAws_json1_1Ge
|
|
|
4847
4847
|
const deserializeAws_json1_1GetBucketBundlesCommandError = async (output, context) => {
|
|
4848
4848
|
const parsedOutput = {
|
|
4849
4849
|
...output,
|
|
4850
|
-
body: await
|
|
4850
|
+
body: await parseErrorBody(output.body, context),
|
|
4851
4851
|
};
|
|
4852
4852
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4853
4853
|
switch (errorCode) {
|
|
@@ -4890,7 +4890,7 @@ exports.deserializeAws_json1_1GetBucketMetricDataCommand = deserializeAws_json1_
|
|
|
4890
4890
|
const deserializeAws_json1_1GetBucketMetricDataCommandError = async (output, context) => {
|
|
4891
4891
|
const parsedOutput = {
|
|
4892
4892
|
...output,
|
|
4893
|
-
body: await
|
|
4893
|
+
body: await parseErrorBody(output.body, context),
|
|
4894
4894
|
};
|
|
4895
4895
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4896
4896
|
switch (errorCode) {
|
|
@@ -4936,7 +4936,7 @@ exports.deserializeAws_json1_1GetBucketsCommand = deserializeAws_json1_1GetBucke
|
|
|
4936
4936
|
const deserializeAws_json1_1GetBucketsCommandError = async (output, context) => {
|
|
4937
4937
|
const parsedOutput = {
|
|
4938
4938
|
...output,
|
|
4939
|
-
body: await
|
|
4939
|
+
body: await parseErrorBody(output.body, context),
|
|
4940
4940
|
};
|
|
4941
4941
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4942
4942
|
switch (errorCode) {
|
|
@@ -4982,7 +4982,7 @@ exports.deserializeAws_json1_1GetBundlesCommand = deserializeAws_json1_1GetBundl
|
|
|
4982
4982
|
const deserializeAws_json1_1GetBundlesCommandError = async (output, context) => {
|
|
4983
4983
|
const parsedOutput = {
|
|
4984
4984
|
...output,
|
|
4985
|
-
body: await
|
|
4985
|
+
body: await parseErrorBody(output.body, context),
|
|
4986
4986
|
};
|
|
4987
4987
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4988
4988
|
switch (errorCode) {
|
|
@@ -5034,7 +5034,7 @@ exports.deserializeAws_json1_1GetCertificatesCommand = deserializeAws_json1_1Get
|
|
|
5034
5034
|
const deserializeAws_json1_1GetCertificatesCommandError = async (output, context) => {
|
|
5035
5035
|
const parsedOutput = {
|
|
5036
5036
|
...output,
|
|
5037
|
-
body: await
|
|
5037
|
+
body: await parseErrorBody(output.body, context),
|
|
5038
5038
|
};
|
|
5039
5039
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5040
5040
|
switch (errorCode) {
|
|
@@ -5080,7 +5080,7 @@ exports.deserializeAws_json1_1GetCloudFormationStackRecordsCommand = deserialize
|
|
|
5080
5080
|
const deserializeAws_json1_1GetCloudFormationStackRecordsCommandError = async (output, context) => {
|
|
5081
5081
|
const parsedOutput = {
|
|
5082
5082
|
...output,
|
|
5083
|
-
body: await
|
|
5083
|
+
body: await parseErrorBody(output.body, context),
|
|
5084
5084
|
};
|
|
5085
5085
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5086
5086
|
switch (errorCode) {
|
|
@@ -5132,7 +5132,7 @@ exports.deserializeAws_json1_1GetContactMethodsCommand = deserializeAws_json1_1G
|
|
|
5132
5132
|
const deserializeAws_json1_1GetContactMethodsCommandError = async (output, context) => {
|
|
5133
5133
|
const parsedOutput = {
|
|
5134
5134
|
...output,
|
|
5135
|
-
body: await
|
|
5135
|
+
body: await parseErrorBody(output.body, context),
|
|
5136
5136
|
};
|
|
5137
5137
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5138
5138
|
switch (errorCode) {
|
|
@@ -5181,7 +5181,7 @@ exports.deserializeAws_json1_1GetContainerAPIMetadataCommand = deserializeAws_js
|
|
|
5181
5181
|
const deserializeAws_json1_1GetContainerAPIMetadataCommandError = async (output, context) => {
|
|
5182
5182
|
const parsedOutput = {
|
|
5183
5183
|
...output,
|
|
5184
|
-
body: await
|
|
5184
|
+
body: await parseErrorBody(output.body, context),
|
|
5185
5185
|
};
|
|
5186
5186
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5187
5187
|
switch (errorCode) {
|
|
@@ -5221,7 +5221,7 @@ exports.deserializeAws_json1_1GetContainerImagesCommand = deserializeAws_json1_1
|
|
|
5221
5221
|
const deserializeAws_json1_1GetContainerImagesCommandError = async (output, context) => {
|
|
5222
5222
|
const parsedOutput = {
|
|
5223
5223
|
...output,
|
|
5224
|
-
body: await
|
|
5224
|
+
body: await parseErrorBody(output.body, context),
|
|
5225
5225
|
};
|
|
5226
5226
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5227
5227
|
switch (errorCode) {
|
|
@@ -5267,7 +5267,7 @@ exports.deserializeAws_json1_1GetContainerLogCommand = deserializeAws_json1_1Get
|
|
|
5267
5267
|
const deserializeAws_json1_1GetContainerLogCommandError = async (output, context) => {
|
|
5268
5268
|
const parsedOutput = {
|
|
5269
5269
|
...output,
|
|
5270
|
-
body: await
|
|
5270
|
+
body: await parseErrorBody(output.body, context),
|
|
5271
5271
|
};
|
|
5272
5272
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5273
5273
|
switch (errorCode) {
|
|
@@ -5313,7 +5313,7 @@ exports.deserializeAws_json1_1GetContainerServiceDeploymentsCommand = deserializ
|
|
|
5313
5313
|
const deserializeAws_json1_1GetContainerServiceDeploymentsCommandError = async (output, context) => {
|
|
5314
5314
|
const parsedOutput = {
|
|
5315
5315
|
...output,
|
|
5316
|
-
body: await
|
|
5316
|
+
body: await parseErrorBody(output.body, context),
|
|
5317
5317
|
};
|
|
5318
5318
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5319
5319
|
switch (errorCode) {
|
|
@@ -5359,7 +5359,7 @@ exports.deserializeAws_json1_1GetContainerServiceMetricDataCommand = deserialize
|
|
|
5359
5359
|
const deserializeAws_json1_1GetContainerServiceMetricDataCommandError = async (output, context) => {
|
|
5360
5360
|
const parsedOutput = {
|
|
5361
5361
|
...output,
|
|
5362
|
-
body: await
|
|
5362
|
+
body: await parseErrorBody(output.body, context),
|
|
5363
5363
|
};
|
|
5364
5364
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5365
5365
|
switch (errorCode) {
|
|
@@ -5405,7 +5405,7 @@ exports.deserializeAws_json1_1GetContainerServicePowersCommand = deserializeAws_
|
|
|
5405
5405
|
const deserializeAws_json1_1GetContainerServicePowersCommandError = async (output, context) => {
|
|
5406
5406
|
const parsedOutput = {
|
|
5407
5407
|
...output,
|
|
5408
|
-
body: await
|
|
5408
|
+
body: await parseErrorBody(output.body, context),
|
|
5409
5409
|
};
|
|
5410
5410
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5411
5411
|
switch (errorCode) {
|
|
@@ -5451,7 +5451,7 @@ exports.deserializeAws_json1_1GetContainerServicesCommand = deserializeAws_json1
|
|
|
5451
5451
|
const deserializeAws_json1_1GetContainerServicesCommandError = async (output, context) => {
|
|
5452
5452
|
const parsedOutput = {
|
|
5453
5453
|
...output,
|
|
5454
|
-
body: await
|
|
5454
|
+
body: await parseErrorBody(output.body, context),
|
|
5455
5455
|
};
|
|
5456
5456
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5457
5457
|
switch (errorCode) {
|
|
@@ -5497,7 +5497,7 @@ exports.deserializeAws_json1_1GetDiskCommand = deserializeAws_json1_1GetDiskComm
|
|
|
5497
5497
|
const deserializeAws_json1_1GetDiskCommandError = async (output, context) => {
|
|
5498
5498
|
const parsedOutput = {
|
|
5499
5499
|
...output,
|
|
5500
|
-
body: await
|
|
5500
|
+
body: await parseErrorBody(output.body, context),
|
|
5501
5501
|
};
|
|
5502
5502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5503
5503
|
switch (errorCode) {
|
|
@@ -5549,7 +5549,7 @@ exports.deserializeAws_json1_1GetDisksCommand = deserializeAws_json1_1GetDisksCo
|
|
|
5549
5549
|
const deserializeAws_json1_1GetDisksCommandError = async (output, context) => {
|
|
5550
5550
|
const parsedOutput = {
|
|
5551
5551
|
...output,
|
|
5552
|
-
body: await
|
|
5552
|
+
body: await parseErrorBody(output.body, context),
|
|
5553
5553
|
};
|
|
5554
5554
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5555
5555
|
switch (errorCode) {
|
|
@@ -5601,7 +5601,7 @@ exports.deserializeAws_json1_1GetDiskSnapshotCommand = deserializeAws_json1_1Get
|
|
|
5601
5601
|
const deserializeAws_json1_1GetDiskSnapshotCommandError = async (output, context) => {
|
|
5602
5602
|
const parsedOutput = {
|
|
5603
5603
|
...output,
|
|
5604
|
-
body: await
|
|
5604
|
+
body: await parseErrorBody(output.body, context),
|
|
5605
5605
|
};
|
|
5606
5606
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5607
5607
|
switch (errorCode) {
|
|
@@ -5653,7 +5653,7 @@ exports.deserializeAws_json1_1GetDiskSnapshotsCommand = deserializeAws_json1_1Ge
|
|
|
5653
5653
|
const deserializeAws_json1_1GetDiskSnapshotsCommandError = async (output, context) => {
|
|
5654
5654
|
const parsedOutput = {
|
|
5655
5655
|
...output,
|
|
5656
|
-
body: await
|
|
5656
|
+
body: await parseErrorBody(output.body, context),
|
|
5657
5657
|
};
|
|
5658
5658
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5659
5659
|
switch (errorCode) {
|
|
@@ -5705,7 +5705,7 @@ exports.deserializeAws_json1_1GetDistributionBundlesCommand = deserializeAws_jso
|
|
|
5705
5705
|
const deserializeAws_json1_1GetDistributionBundlesCommandError = async (output, context) => {
|
|
5706
5706
|
const parsedOutput = {
|
|
5707
5707
|
...output,
|
|
5708
|
-
body: await
|
|
5708
|
+
body: await parseErrorBody(output.body, context),
|
|
5709
5709
|
};
|
|
5710
5710
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5711
5711
|
switch (errorCode) {
|
|
@@ -5754,7 +5754,7 @@ exports.deserializeAws_json1_1GetDistributionLatestCacheResetCommand = deseriali
|
|
|
5754
5754
|
const deserializeAws_json1_1GetDistributionLatestCacheResetCommandError = async (output, context) => {
|
|
5755
5755
|
const parsedOutput = {
|
|
5756
5756
|
...output,
|
|
5757
|
-
body: await
|
|
5757
|
+
body: await parseErrorBody(output.body, context),
|
|
5758
5758
|
};
|
|
5759
5759
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5760
5760
|
switch (errorCode) {
|
|
@@ -5803,7 +5803,7 @@ exports.deserializeAws_json1_1GetDistributionMetricDataCommand = deserializeAws_
|
|
|
5803
5803
|
const deserializeAws_json1_1GetDistributionMetricDataCommandError = async (output, context) => {
|
|
5804
5804
|
const parsedOutput = {
|
|
5805
5805
|
...output,
|
|
5806
|
-
body: await
|
|
5806
|
+
body: await parseErrorBody(output.body, context),
|
|
5807
5807
|
};
|
|
5808
5808
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5809
5809
|
switch (errorCode) {
|
|
@@ -5852,7 +5852,7 @@ exports.deserializeAws_json1_1GetDistributionsCommand = deserializeAws_json1_1Ge
|
|
|
5852
5852
|
const deserializeAws_json1_1GetDistributionsCommandError = async (output, context) => {
|
|
5853
5853
|
const parsedOutput = {
|
|
5854
5854
|
...output,
|
|
5855
|
-
body: await
|
|
5855
|
+
body: await parseErrorBody(output.body, context),
|
|
5856
5856
|
};
|
|
5857
5857
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5858
5858
|
switch (errorCode) {
|
|
@@ -5901,7 +5901,7 @@ exports.deserializeAws_json1_1GetDomainCommand = deserializeAws_json1_1GetDomain
|
|
|
5901
5901
|
const deserializeAws_json1_1GetDomainCommandError = async (output, context) => {
|
|
5902
5902
|
const parsedOutput = {
|
|
5903
5903
|
...output,
|
|
5904
|
-
body: await
|
|
5904
|
+
body: await parseErrorBody(output.body, context),
|
|
5905
5905
|
};
|
|
5906
5906
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5907
5907
|
switch (errorCode) {
|
|
@@ -5953,7 +5953,7 @@ exports.deserializeAws_json1_1GetDomainsCommand = deserializeAws_json1_1GetDomai
|
|
|
5953
5953
|
const deserializeAws_json1_1GetDomainsCommandError = async (output, context) => {
|
|
5954
5954
|
const parsedOutput = {
|
|
5955
5955
|
...output,
|
|
5956
|
-
body: await
|
|
5956
|
+
body: await parseErrorBody(output.body, context),
|
|
5957
5957
|
};
|
|
5958
5958
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5959
5959
|
switch (errorCode) {
|
|
@@ -6005,7 +6005,7 @@ exports.deserializeAws_json1_1GetExportSnapshotRecordsCommand = deserializeAws_j
|
|
|
6005
6005
|
const deserializeAws_json1_1GetExportSnapshotRecordsCommandError = async (output, context) => {
|
|
6006
6006
|
const parsedOutput = {
|
|
6007
6007
|
...output,
|
|
6008
|
-
body: await
|
|
6008
|
+
body: await parseErrorBody(output.body, context),
|
|
6009
6009
|
};
|
|
6010
6010
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6011
6011
|
switch (errorCode) {
|
|
@@ -6057,7 +6057,7 @@ exports.deserializeAws_json1_1GetInstanceCommand = deserializeAws_json1_1GetInst
|
|
|
6057
6057
|
const deserializeAws_json1_1GetInstanceCommandError = async (output, context) => {
|
|
6058
6058
|
const parsedOutput = {
|
|
6059
6059
|
...output,
|
|
6060
|
-
body: await
|
|
6060
|
+
body: await parseErrorBody(output.body, context),
|
|
6061
6061
|
};
|
|
6062
6062
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6063
6063
|
switch (errorCode) {
|
|
@@ -6109,7 +6109,7 @@ exports.deserializeAws_json1_1GetInstanceAccessDetailsCommand = deserializeAws_j
|
|
|
6109
6109
|
const deserializeAws_json1_1GetInstanceAccessDetailsCommandError = async (output, context) => {
|
|
6110
6110
|
const parsedOutput = {
|
|
6111
6111
|
...output,
|
|
6112
|
-
body: await
|
|
6112
|
+
body: await parseErrorBody(output.body, context),
|
|
6113
6113
|
};
|
|
6114
6114
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6115
6115
|
switch (errorCode) {
|
|
@@ -6161,7 +6161,7 @@ exports.deserializeAws_json1_1GetInstanceMetricDataCommand = deserializeAws_json
|
|
|
6161
6161
|
const deserializeAws_json1_1GetInstanceMetricDataCommandError = async (output, context) => {
|
|
6162
6162
|
const parsedOutput = {
|
|
6163
6163
|
...output,
|
|
6164
|
-
body: await
|
|
6164
|
+
body: await parseErrorBody(output.body, context),
|
|
6165
6165
|
};
|
|
6166
6166
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6167
6167
|
switch (errorCode) {
|
|
@@ -6213,7 +6213,7 @@ exports.deserializeAws_json1_1GetInstancePortStatesCommand = deserializeAws_json
|
|
|
6213
6213
|
const deserializeAws_json1_1GetInstancePortStatesCommandError = async (output, context) => {
|
|
6214
6214
|
const parsedOutput = {
|
|
6215
6215
|
...output,
|
|
6216
|
-
body: await
|
|
6216
|
+
body: await parseErrorBody(output.body, context),
|
|
6217
6217
|
};
|
|
6218
6218
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6219
6219
|
switch (errorCode) {
|
|
@@ -6265,7 +6265,7 @@ exports.deserializeAws_json1_1GetInstancesCommand = deserializeAws_json1_1GetIns
|
|
|
6265
6265
|
const deserializeAws_json1_1GetInstancesCommandError = async (output, context) => {
|
|
6266
6266
|
const parsedOutput = {
|
|
6267
6267
|
...output,
|
|
6268
|
-
body: await
|
|
6268
|
+
body: await parseErrorBody(output.body, context),
|
|
6269
6269
|
};
|
|
6270
6270
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6271
6271
|
switch (errorCode) {
|
|
@@ -6317,7 +6317,7 @@ exports.deserializeAws_json1_1GetInstanceSnapshotCommand = deserializeAws_json1_
|
|
|
6317
6317
|
const deserializeAws_json1_1GetInstanceSnapshotCommandError = async (output, context) => {
|
|
6318
6318
|
const parsedOutput = {
|
|
6319
6319
|
...output,
|
|
6320
|
-
body: await
|
|
6320
|
+
body: await parseErrorBody(output.body, context),
|
|
6321
6321
|
};
|
|
6322
6322
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6323
6323
|
switch (errorCode) {
|
|
@@ -6369,7 +6369,7 @@ exports.deserializeAws_json1_1GetInstanceSnapshotsCommand = deserializeAws_json1
|
|
|
6369
6369
|
const deserializeAws_json1_1GetInstanceSnapshotsCommandError = async (output, context) => {
|
|
6370
6370
|
const parsedOutput = {
|
|
6371
6371
|
...output,
|
|
6372
|
-
body: await
|
|
6372
|
+
body: await parseErrorBody(output.body, context),
|
|
6373
6373
|
};
|
|
6374
6374
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6375
6375
|
switch (errorCode) {
|
|
@@ -6421,7 +6421,7 @@ exports.deserializeAws_json1_1GetInstanceStateCommand = deserializeAws_json1_1Ge
|
|
|
6421
6421
|
const deserializeAws_json1_1GetInstanceStateCommandError = async (output, context) => {
|
|
6422
6422
|
const parsedOutput = {
|
|
6423
6423
|
...output,
|
|
6424
|
-
body: await
|
|
6424
|
+
body: await parseErrorBody(output.body, context),
|
|
6425
6425
|
};
|
|
6426
6426
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6427
6427
|
switch (errorCode) {
|
|
@@ -6473,7 +6473,7 @@ exports.deserializeAws_json1_1GetKeyPairCommand = deserializeAws_json1_1GetKeyPa
|
|
|
6473
6473
|
const deserializeAws_json1_1GetKeyPairCommandError = async (output, context) => {
|
|
6474
6474
|
const parsedOutput = {
|
|
6475
6475
|
...output,
|
|
6476
|
-
body: await
|
|
6476
|
+
body: await parseErrorBody(output.body, context),
|
|
6477
6477
|
};
|
|
6478
6478
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6479
6479
|
switch (errorCode) {
|
|
@@ -6525,7 +6525,7 @@ exports.deserializeAws_json1_1GetKeyPairsCommand = deserializeAws_json1_1GetKeyP
|
|
|
6525
6525
|
const deserializeAws_json1_1GetKeyPairsCommandError = async (output, context) => {
|
|
6526
6526
|
const parsedOutput = {
|
|
6527
6527
|
...output,
|
|
6528
|
-
body: await
|
|
6528
|
+
body: await parseErrorBody(output.body, context),
|
|
6529
6529
|
};
|
|
6530
6530
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6531
6531
|
switch (errorCode) {
|
|
@@ -6577,7 +6577,7 @@ exports.deserializeAws_json1_1GetLoadBalancerCommand = deserializeAws_json1_1Get
|
|
|
6577
6577
|
const deserializeAws_json1_1GetLoadBalancerCommandError = async (output, context) => {
|
|
6578
6578
|
const parsedOutput = {
|
|
6579
6579
|
...output,
|
|
6580
|
-
body: await
|
|
6580
|
+
body: await parseErrorBody(output.body, context),
|
|
6581
6581
|
};
|
|
6582
6582
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6583
6583
|
switch (errorCode) {
|
|
@@ -6629,7 +6629,7 @@ exports.deserializeAws_json1_1GetLoadBalancerMetricDataCommand = deserializeAws_
|
|
|
6629
6629
|
const deserializeAws_json1_1GetLoadBalancerMetricDataCommandError = async (output, context) => {
|
|
6630
6630
|
const parsedOutput = {
|
|
6631
6631
|
...output,
|
|
6632
|
-
body: await
|
|
6632
|
+
body: await parseErrorBody(output.body, context),
|
|
6633
6633
|
};
|
|
6634
6634
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6635
6635
|
switch (errorCode) {
|
|
@@ -6681,7 +6681,7 @@ exports.deserializeAws_json1_1GetLoadBalancersCommand = deserializeAws_json1_1Ge
|
|
|
6681
6681
|
const deserializeAws_json1_1GetLoadBalancersCommandError = async (output, context) => {
|
|
6682
6682
|
const parsedOutput = {
|
|
6683
6683
|
...output,
|
|
6684
|
-
body: await
|
|
6684
|
+
body: await parseErrorBody(output.body, context),
|
|
6685
6685
|
};
|
|
6686
6686
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6687
6687
|
switch (errorCode) {
|
|
@@ -6733,7 +6733,7 @@ exports.deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand = deserializ
|
|
|
6733
6733
|
const deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommandError = async (output, context) => {
|
|
6734
6734
|
const parsedOutput = {
|
|
6735
6735
|
...output,
|
|
6736
|
-
body: await
|
|
6736
|
+
body: await parseErrorBody(output.body, context),
|
|
6737
6737
|
};
|
|
6738
6738
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6739
6739
|
switch (errorCode) {
|
|
@@ -6785,7 +6785,7 @@ exports.deserializeAws_json1_1GetLoadBalancerTlsPoliciesCommand = deserializeAws
|
|
|
6785
6785
|
const deserializeAws_json1_1GetLoadBalancerTlsPoliciesCommandError = async (output, context) => {
|
|
6786
6786
|
const parsedOutput = {
|
|
6787
6787
|
...output,
|
|
6788
|
-
body: await
|
|
6788
|
+
body: await parseErrorBody(output.body, context),
|
|
6789
6789
|
};
|
|
6790
6790
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6791
6791
|
switch (errorCode) {
|
|
@@ -6831,7 +6831,7 @@ exports.deserializeAws_json1_1GetOperationCommand = deserializeAws_json1_1GetOpe
|
|
|
6831
6831
|
const deserializeAws_json1_1GetOperationCommandError = async (output, context) => {
|
|
6832
6832
|
const parsedOutput = {
|
|
6833
6833
|
...output,
|
|
6834
|
-
body: await
|
|
6834
|
+
body: await parseErrorBody(output.body, context),
|
|
6835
6835
|
};
|
|
6836
6836
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6837
6837
|
switch (errorCode) {
|
|
@@ -6883,7 +6883,7 @@ exports.deserializeAws_json1_1GetOperationsCommand = deserializeAws_json1_1GetOp
|
|
|
6883
6883
|
const deserializeAws_json1_1GetOperationsCommandError = async (output, context) => {
|
|
6884
6884
|
const parsedOutput = {
|
|
6885
6885
|
...output,
|
|
6886
|
-
body: await
|
|
6886
|
+
body: await parseErrorBody(output.body, context),
|
|
6887
6887
|
};
|
|
6888
6888
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6889
6889
|
switch (errorCode) {
|
|
@@ -6935,7 +6935,7 @@ exports.deserializeAws_json1_1GetOperationsForResourceCommand = deserializeAws_j
|
|
|
6935
6935
|
const deserializeAws_json1_1GetOperationsForResourceCommandError = async (output, context) => {
|
|
6936
6936
|
const parsedOutput = {
|
|
6937
6937
|
...output,
|
|
6938
|
-
body: await
|
|
6938
|
+
body: await parseErrorBody(output.body, context),
|
|
6939
6939
|
};
|
|
6940
6940
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6941
6941
|
switch (errorCode) {
|
|
@@ -6987,7 +6987,7 @@ exports.deserializeAws_json1_1GetRegionsCommand = deserializeAws_json1_1GetRegio
|
|
|
6987
6987
|
const deserializeAws_json1_1GetRegionsCommandError = async (output, context) => {
|
|
6988
6988
|
const parsedOutput = {
|
|
6989
6989
|
...output,
|
|
6990
|
-
body: await
|
|
6990
|
+
body: await parseErrorBody(output.body, context),
|
|
6991
6991
|
};
|
|
6992
6992
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6993
6993
|
switch (errorCode) {
|
|
@@ -7039,7 +7039,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseCommand = deserializeAws_json
|
|
|
7039
7039
|
const deserializeAws_json1_1GetRelationalDatabaseCommandError = async (output, context) => {
|
|
7040
7040
|
const parsedOutput = {
|
|
7041
7041
|
...output,
|
|
7042
|
-
body: await
|
|
7042
|
+
body: await parseErrorBody(output.body, context),
|
|
7043
7043
|
};
|
|
7044
7044
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7045
7045
|
switch (errorCode) {
|
|
@@ -7091,7 +7091,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommand = deseriali
|
|
|
7091
7091
|
const deserializeAws_json1_1GetRelationalDatabaseBlueprintsCommandError = async (output, context) => {
|
|
7092
7092
|
const parsedOutput = {
|
|
7093
7093
|
...output,
|
|
7094
|
-
body: await
|
|
7094
|
+
body: await parseErrorBody(output.body, context),
|
|
7095
7095
|
};
|
|
7096
7096
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7097
7097
|
switch (errorCode) {
|
|
@@ -7143,7 +7143,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseBundlesCommand = deserializeA
|
|
|
7143
7143
|
const deserializeAws_json1_1GetRelationalDatabaseBundlesCommandError = async (output, context) => {
|
|
7144
7144
|
const parsedOutput = {
|
|
7145
7145
|
...output,
|
|
7146
|
-
body: await
|
|
7146
|
+
body: await parseErrorBody(output.body, context),
|
|
7147
7147
|
};
|
|
7148
7148
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7149
7149
|
switch (errorCode) {
|
|
@@ -7195,7 +7195,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseEventsCommand = deserializeAw
|
|
|
7195
7195
|
const deserializeAws_json1_1GetRelationalDatabaseEventsCommandError = async (output, context) => {
|
|
7196
7196
|
const parsedOutput = {
|
|
7197
7197
|
...output,
|
|
7198
|
-
body: await
|
|
7198
|
+
body: await parseErrorBody(output.body, context),
|
|
7199
7199
|
};
|
|
7200
7200
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7201
7201
|
switch (errorCode) {
|
|
@@ -7247,7 +7247,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseLogEventsCommand = deserializ
|
|
|
7247
7247
|
const deserializeAws_json1_1GetRelationalDatabaseLogEventsCommandError = async (output, context) => {
|
|
7248
7248
|
const parsedOutput = {
|
|
7249
7249
|
...output,
|
|
7250
|
-
body: await
|
|
7250
|
+
body: await parseErrorBody(output.body, context),
|
|
7251
7251
|
};
|
|
7252
7252
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7253
7253
|
switch (errorCode) {
|
|
@@ -7299,7 +7299,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommand = deseriali
|
|
|
7299
7299
|
const deserializeAws_json1_1GetRelationalDatabaseLogStreamsCommandError = async (output, context) => {
|
|
7300
7300
|
const parsedOutput = {
|
|
7301
7301
|
...output,
|
|
7302
|
-
body: await
|
|
7302
|
+
body: await parseErrorBody(output.body, context),
|
|
7303
7303
|
};
|
|
7304
7304
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7305
7305
|
switch (errorCode) {
|
|
@@ -7351,7 +7351,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommand = d
|
|
|
7351
7351
|
const deserializeAws_json1_1GetRelationalDatabaseMasterUserPasswordCommandError = async (output, context) => {
|
|
7352
7352
|
const parsedOutput = {
|
|
7353
7353
|
...output,
|
|
7354
|
-
body: await
|
|
7354
|
+
body: await parseErrorBody(output.body, context),
|
|
7355
7355
|
};
|
|
7356
7356
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7357
7357
|
switch (errorCode) {
|
|
@@ -7403,7 +7403,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseMetricDataCommand = deseriali
|
|
|
7403
7403
|
const deserializeAws_json1_1GetRelationalDatabaseMetricDataCommandError = async (output, context) => {
|
|
7404
7404
|
const parsedOutput = {
|
|
7405
7405
|
...output,
|
|
7406
|
-
body: await
|
|
7406
|
+
body: await parseErrorBody(output.body, context),
|
|
7407
7407
|
};
|
|
7408
7408
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7409
7409
|
switch (errorCode) {
|
|
@@ -7455,7 +7455,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseParametersCommand = deseriali
|
|
|
7455
7455
|
const deserializeAws_json1_1GetRelationalDatabaseParametersCommandError = async (output, context) => {
|
|
7456
7456
|
const parsedOutput = {
|
|
7457
7457
|
...output,
|
|
7458
|
-
body: await
|
|
7458
|
+
body: await parseErrorBody(output.body, context),
|
|
7459
7459
|
};
|
|
7460
7460
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7461
7461
|
switch (errorCode) {
|
|
@@ -7507,7 +7507,7 @@ exports.deserializeAws_json1_1GetRelationalDatabasesCommand = deserializeAws_jso
|
|
|
7507
7507
|
const deserializeAws_json1_1GetRelationalDatabasesCommandError = async (output, context) => {
|
|
7508
7508
|
const parsedOutput = {
|
|
7509
7509
|
...output,
|
|
7510
|
-
body: await
|
|
7510
|
+
body: await parseErrorBody(output.body, context),
|
|
7511
7511
|
};
|
|
7512
7512
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7513
7513
|
switch (errorCode) {
|
|
@@ -7559,7 +7559,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseSnapshotCommand = deserialize
|
|
|
7559
7559
|
const deserializeAws_json1_1GetRelationalDatabaseSnapshotCommandError = async (output, context) => {
|
|
7560
7560
|
const parsedOutput = {
|
|
7561
7561
|
...output,
|
|
7562
|
-
body: await
|
|
7562
|
+
body: await parseErrorBody(output.body, context),
|
|
7563
7563
|
};
|
|
7564
7564
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7565
7565
|
switch (errorCode) {
|
|
@@ -7611,7 +7611,7 @@ exports.deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommand = deserializ
|
|
|
7611
7611
|
const deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommandError = async (output, context) => {
|
|
7612
7612
|
const parsedOutput = {
|
|
7613
7613
|
...output,
|
|
7614
|
-
body: await
|
|
7614
|
+
body: await parseErrorBody(output.body, context),
|
|
7615
7615
|
};
|
|
7616
7616
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7617
7617
|
switch (errorCode) {
|
|
@@ -7663,7 +7663,7 @@ exports.deserializeAws_json1_1GetStaticIpCommand = deserializeAws_json1_1GetStat
|
|
|
7663
7663
|
const deserializeAws_json1_1GetStaticIpCommandError = async (output, context) => {
|
|
7664
7664
|
const parsedOutput = {
|
|
7665
7665
|
...output,
|
|
7666
|
-
body: await
|
|
7666
|
+
body: await parseErrorBody(output.body, context),
|
|
7667
7667
|
};
|
|
7668
7668
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7669
7669
|
switch (errorCode) {
|
|
@@ -7715,7 +7715,7 @@ exports.deserializeAws_json1_1GetStaticIpsCommand = deserializeAws_json1_1GetSta
|
|
|
7715
7715
|
const deserializeAws_json1_1GetStaticIpsCommandError = async (output, context) => {
|
|
7716
7716
|
const parsedOutput = {
|
|
7717
7717
|
...output,
|
|
7718
|
-
body: await
|
|
7718
|
+
body: await parseErrorBody(output.body, context),
|
|
7719
7719
|
};
|
|
7720
7720
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7721
7721
|
switch (errorCode) {
|
|
@@ -7767,7 +7767,7 @@ exports.deserializeAws_json1_1ImportKeyPairCommand = deserializeAws_json1_1Impor
|
|
|
7767
7767
|
const deserializeAws_json1_1ImportKeyPairCommandError = async (output, context) => {
|
|
7768
7768
|
const parsedOutput = {
|
|
7769
7769
|
...output,
|
|
7770
|
-
body: await
|
|
7770
|
+
body: await parseErrorBody(output.body, context),
|
|
7771
7771
|
};
|
|
7772
7772
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7773
7773
|
switch (errorCode) {
|
|
@@ -7819,7 +7819,7 @@ exports.deserializeAws_json1_1IsVpcPeeredCommand = deserializeAws_json1_1IsVpcPe
|
|
|
7819
7819
|
const deserializeAws_json1_1IsVpcPeeredCommandError = async (output, context) => {
|
|
7820
7820
|
const parsedOutput = {
|
|
7821
7821
|
...output,
|
|
7822
|
-
body: await
|
|
7822
|
+
body: await parseErrorBody(output.body, context),
|
|
7823
7823
|
};
|
|
7824
7824
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7825
7825
|
switch (errorCode) {
|
|
@@ -7871,7 +7871,7 @@ exports.deserializeAws_json1_1OpenInstancePublicPortsCommand = deserializeAws_js
|
|
|
7871
7871
|
const deserializeAws_json1_1OpenInstancePublicPortsCommandError = async (output, context) => {
|
|
7872
7872
|
const parsedOutput = {
|
|
7873
7873
|
...output,
|
|
7874
|
-
body: await
|
|
7874
|
+
body: await parseErrorBody(output.body, context),
|
|
7875
7875
|
};
|
|
7876
7876
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7877
7877
|
switch (errorCode) {
|
|
@@ -7923,7 +7923,7 @@ exports.deserializeAws_json1_1PeerVpcCommand = deserializeAws_json1_1PeerVpcComm
|
|
|
7923
7923
|
const deserializeAws_json1_1PeerVpcCommandError = async (output, context) => {
|
|
7924
7924
|
const parsedOutput = {
|
|
7925
7925
|
...output,
|
|
7926
|
-
body: await
|
|
7926
|
+
body: await parseErrorBody(output.body, context),
|
|
7927
7927
|
};
|
|
7928
7928
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7929
7929
|
switch (errorCode) {
|
|
@@ -7975,7 +7975,7 @@ exports.deserializeAws_json1_1PutAlarmCommand = deserializeAws_json1_1PutAlarmCo
|
|
|
7975
7975
|
const deserializeAws_json1_1PutAlarmCommandError = async (output, context) => {
|
|
7976
7976
|
const parsedOutput = {
|
|
7977
7977
|
...output,
|
|
7978
|
-
body: await
|
|
7978
|
+
body: await parseErrorBody(output.body, context),
|
|
7979
7979
|
};
|
|
7980
7980
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7981
7981
|
switch (errorCode) {
|
|
@@ -8024,7 +8024,7 @@ exports.deserializeAws_json1_1PutInstancePublicPortsCommand = deserializeAws_jso
|
|
|
8024
8024
|
const deserializeAws_json1_1PutInstancePublicPortsCommandError = async (output, context) => {
|
|
8025
8025
|
const parsedOutput = {
|
|
8026
8026
|
...output,
|
|
8027
|
-
body: await
|
|
8027
|
+
body: await parseErrorBody(output.body, context),
|
|
8028
8028
|
};
|
|
8029
8029
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8030
8030
|
switch (errorCode) {
|
|
@@ -8076,7 +8076,7 @@ exports.deserializeAws_json1_1RebootInstanceCommand = deserializeAws_json1_1Rebo
|
|
|
8076
8076
|
const deserializeAws_json1_1RebootInstanceCommandError = async (output, context) => {
|
|
8077
8077
|
const parsedOutput = {
|
|
8078
8078
|
...output,
|
|
8079
|
-
body: await
|
|
8079
|
+
body: await parseErrorBody(output.body, context),
|
|
8080
8080
|
};
|
|
8081
8081
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8082
8082
|
switch (errorCode) {
|
|
@@ -8128,7 +8128,7 @@ exports.deserializeAws_json1_1RebootRelationalDatabaseCommand = deserializeAws_j
|
|
|
8128
8128
|
const deserializeAws_json1_1RebootRelationalDatabaseCommandError = async (output, context) => {
|
|
8129
8129
|
const parsedOutput = {
|
|
8130
8130
|
...output,
|
|
8131
|
-
body: await
|
|
8131
|
+
body: await parseErrorBody(output.body, context),
|
|
8132
8132
|
};
|
|
8133
8133
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8134
8134
|
switch (errorCode) {
|
|
@@ -8180,7 +8180,7 @@ exports.deserializeAws_json1_1RegisterContainerImageCommand = deserializeAws_jso
|
|
|
8180
8180
|
const deserializeAws_json1_1RegisterContainerImageCommandError = async (output, context) => {
|
|
8181
8181
|
const parsedOutput = {
|
|
8182
8182
|
...output,
|
|
8183
|
-
body: await
|
|
8183
|
+
body: await parseErrorBody(output.body, context),
|
|
8184
8184
|
};
|
|
8185
8185
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8186
8186
|
switch (errorCode) {
|
|
@@ -8226,7 +8226,7 @@ exports.deserializeAws_json1_1ReleaseStaticIpCommand = deserializeAws_json1_1Rel
|
|
|
8226
8226
|
const deserializeAws_json1_1ReleaseStaticIpCommandError = async (output, context) => {
|
|
8227
8227
|
const parsedOutput = {
|
|
8228
8228
|
...output,
|
|
8229
|
-
body: await
|
|
8229
|
+
body: await parseErrorBody(output.body, context),
|
|
8230
8230
|
};
|
|
8231
8231
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8232
8232
|
switch (errorCode) {
|
|
@@ -8278,7 +8278,7 @@ exports.deserializeAws_json1_1ResetDistributionCacheCommand = deserializeAws_jso
|
|
|
8278
8278
|
const deserializeAws_json1_1ResetDistributionCacheCommandError = async (output, context) => {
|
|
8279
8279
|
const parsedOutput = {
|
|
8280
8280
|
...output,
|
|
8281
|
-
body: await
|
|
8281
|
+
body: await parseErrorBody(output.body, context),
|
|
8282
8282
|
};
|
|
8283
8283
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8284
8284
|
switch (errorCode) {
|
|
@@ -8327,7 +8327,7 @@ exports.deserializeAws_json1_1SendContactMethodVerificationCommand = deserialize
|
|
|
8327
8327
|
const deserializeAws_json1_1SendContactMethodVerificationCommandError = async (output, context) => {
|
|
8328
8328
|
const parsedOutput = {
|
|
8329
8329
|
...output,
|
|
8330
|
-
body: await
|
|
8330
|
+
body: await parseErrorBody(output.body, context),
|
|
8331
8331
|
};
|
|
8332
8332
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8333
8333
|
switch (errorCode) {
|
|
@@ -8376,7 +8376,7 @@ exports.deserializeAws_json1_1SetIpAddressTypeCommand = deserializeAws_json1_1Se
|
|
|
8376
8376
|
const deserializeAws_json1_1SetIpAddressTypeCommandError = async (output, context) => {
|
|
8377
8377
|
const parsedOutput = {
|
|
8378
8378
|
...output,
|
|
8379
|
-
body: await
|
|
8379
|
+
body: await parseErrorBody(output.body, context),
|
|
8380
8380
|
};
|
|
8381
8381
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8382
8382
|
switch (errorCode) {
|
|
@@ -8428,7 +8428,7 @@ exports.deserializeAws_json1_1SetResourceAccessForBucketCommand = deserializeAws
|
|
|
8428
8428
|
const deserializeAws_json1_1SetResourceAccessForBucketCommandError = async (output, context) => {
|
|
8429
8429
|
const parsedOutput = {
|
|
8430
8430
|
...output,
|
|
8431
|
-
body: await
|
|
8431
|
+
body: await parseErrorBody(output.body, context),
|
|
8432
8432
|
};
|
|
8433
8433
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8434
8434
|
switch (errorCode) {
|
|
@@ -8474,7 +8474,7 @@ exports.deserializeAws_json1_1StartInstanceCommand = deserializeAws_json1_1Start
|
|
|
8474
8474
|
const deserializeAws_json1_1StartInstanceCommandError = async (output, context) => {
|
|
8475
8475
|
const parsedOutput = {
|
|
8476
8476
|
...output,
|
|
8477
|
-
body: await
|
|
8477
|
+
body: await parseErrorBody(output.body, context),
|
|
8478
8478
|
};
|
|
8479
8479
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8480
8480
|
switch (errorCode) {
|
|
@@ -8526,7 +8526,7 @@ exports.deserializeAws_json1_1StartRelationalDatabaseCommand = deserializeAws_js
|
|
|
8526
8526
|
const deserializeAws_json1_1StartRelationalDatabaseCommandError = async (output, context) => {
|
|
8527
8527
|
const parsedOutput = {
|
|
8528
8528
|
...output,
|
|
8529
|
-
body: await
|
|
8529
|
+
body: await parseErrorBody(output.body, context),
|
|
8530
8530
|
};
|
|
8531
8531
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8532
8532
|
switch (errorCode) {
|
|
@@ -8578,7 +8578,7 @@ exports.deserializeAws_json1_1StopInstanceCommand = deserializeAws_json1_1StopIn
|
|
|
8578
8578
|
const deserializeAws_json1_1StopInstanceCommandError = async (output, context) => {
|
|
8579
8579
|
const parsedOutput = {
|
|
8580
8580
|
...output,
|
|
8581
|
-
body: await
|
|
8581
|
+
body: await parseErrorBody(output.body, context),
|
|
8582
8582
|
};
|
|
8583
8583
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8584
8584
|
switch (errorCode) {
|
|
@@ -8630,7 +8630,7 @@ exports.deserializeAws_json1_1StopRelationalDatabaseCommand = deserializeAws_jso
|
|
|
8630
8630
|
const deserializeAws_json1_1StopRelationalDatabaseCommandError = async (output, context) => {
|
|
8631
8631
|
const parsedOutput = {
|
|
8632
8632
|
...output,
|
|
8633
|
-
body: await
|
|
8633
|
+
body: await parseErrorBody(output.body, context),
|
|
8634
8634
|
};
|
|
8635
8635
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8636
8636
|
switch (errorCode) {
|
|
@@ -8682,7 +8682,7 @@ exports.deserializeAws_json1_1TagResourceCommand = deserializeAws_json1_1TagReso
|
|
|
8682
8682
|
const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
|
|
8683
8683
|
const parsedOutput = {
|
|
8684
8684
|
...output,
|
|
8685
|
-
body: await
|
|
8685
|
+
body: await parseErrorBody(output.body, context),
|
|
8686
8686
|
};
|
|
8687
8687
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8688
8688
|
switch (errorCode) {
|
|
@@ -8734,7 +8734,7 @@ exports.deserializeAws_json1_1TestAlarmCommand = deserializeAws_json1_1TestAlarm
|
|
|
8734
8734
|
const deserializeAws_json1_1TestAlarmCommandError = async (output, context) => {
|
|
8735
8735
|
const parsedOutput = {
|
|
8736
8736
|
...output,
|
|
8737
|
-
body: await
|
|
8737
|
+
body: await parseErrorBody(output.body, context),
|
|
8738
8738
|
};
|
|
8739
8739
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8740
8740
|
switch (errorCode) {
|
|
@@ -8783,7 +8783,7 @@ exports.deserializeAws_json1_1UnpeerVpcCommand = deserializeAws_json1_1UnpeerVpc
|
|
|
8783
8783
|
const deserializeAws_json1_1UnpeerVpcCommandError = async (output, context) => {
|
|
8784
8784
|
const parsedOutput = {
|
|
8785
8785
|
...output,
|
|
8786
|
-
body: await
|
|
8786
|
+
body: await parseErrorBody(output.body, context),
|
|
8787
8787
|
};
|
|
8788
8788
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8789
8789
|
switch (errorCode) {
|
|
@@ -8835,7 +8835,7 @@ exports.deserializeAws_json1_1UntagResourceCommand = deserializeAws_json1_1Untag
|
|
|
8835
8835
|
const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
|
|
8836
8836
|
const parsedOutput = {
|
|
8837
8837
|
...output,
|
|
8838
|
-
body: await
|
|
8838
|
+
body: await parseErrorBody(output.body, context),
|
|
8839
8839
|
};
|
|
8840
8840
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8841
8841
|
switch (errorCode) {
|
|
@@ -8887,7 +8887,7 @@ exports.deserializeAws_json1_1UpdateBucketCommand = deserializeAws_json1_1Update
|
|
|
8887
8887
|
const deserializeAws_json1_1UpdateBucketCommandError = async (output, context) => {
|
|
8888
8888
|
const parsedOutput = {
|
|
8889
8889
|
...output,
|
|
8890
|
-
body: await
|
|
8890
|
+
body: await parseErrorBody(output.body, context),
|
|
8891
8891
|
};
|
|
8892
8892
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8893
8893
|
switch (errorCode) {
|
|
@@ -8933,7 +8933,7 @@ exports.deserializeAws_json1_1UpdateBucketBundleCommand = deserializeAws_json1_1
|
|
|
8933
8933
|
const deserializeAws_json1_1UpdateBucketBundleCommandError = async (output, context) => {
|
|
8934
8934
|
const parsedOutput = {
|
|
8935
8935
|
...output,
|
|
8936
|
-
body: await
|
|
8936
|
+
body: await parseErrorBody(output.body, context),
|
|
8937
8937
|
};
|
|
8938
8938
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8939
8939
|
switch (errorCode) {
|
|
@@ -8979,7 +8979,7 @@ exports.deserializeAws_json1_1UpdateContainerServiceCommand = deserializeAws_jso
|
|
|
8979
8979
|
const deserializeAws_json1_1UpdateContainerServiceCommandError = async (output, context) => {
|
|
8980
8980
|
const parsedOutput = {
|
|
8981
8981
|
...output,
|
|
8982
|
-
body: await
|
|
8982
|
+
body: await parseErrorBody(output.body, context),
|
|
8983
8983
|
};
|
|
8984
8984
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8985
8985
|
switch (errorCode) {
|
|
@@ -9025,7 +9025,7 @@ exports.deserializeAws_json1_1UpdateDistributionCommand = deserializeAws_json1_1
|
|
|
9025
9025
|
const deserializeAws_json1_1UpdateDistributionCommandError = async (output, context) => {
|
|
9026
9026
|
const parsedOutput = {
|
|
9027
9027
|
...output,
|
|
9028
|
-
body: await
|
|
9028
|
+
body: await parseErrorBody(output.body, context),
|
|
9029
9029
|
};
|
|
9030
9030
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9031
9031
|
switch (errorCode) {
|
|
@@ -9074,7 +9074,7 @@ exports.deserializeAws_json1_1UpdateDistributionBundleCommand = deserializeAws_j
|
|
|
9074
9074
|
const deserializeAws_json1_1UpdateDistributionBundleCommandError = async (output, context) => {
|
|
9075
9075
|
const parsedOutput = {
|
|
9076
9076
|
...output,
|
|
9077
|
-
body: await
|
|
9077
|
+
body: await parseErrorBody(output.body, context),
|
|
9078
9078
|
};
|
|
9079
9079
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9080
9080
|
switch (errorCode) {
|
|
@@ -9123,7 +9123,7 @@ exports.deserializeAws_json1_1UpdateDomainEntryCommand = deserializeAws_json1_1U
|
|
|
9123
9123
|
const deserializeAws_json1_1UpdateDomainEntryCommandError = async (output, context) => {
|
|
9124
9124
|
const parsedOutput = {
|
|
9125
9125
|
...output,
|
|
9126
|
-
body: await
|
|
9126
|
+
body: await parseErrorBody(output.body, context),
|
|
9127
9127
|
};
|
|
9128
9128
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9129
9129
|
switch (errorCode) {
|
|
@@ -9175,7 +9175,7 @@ exports.deserializeAws_json1_1UpdateInstanceMetadataOptionsCommand = deserialize
|
|
|
9175
9175
|
const deserializeAws_json1_1UpdateInstanceMetadataOptionsCommandError = async (output, context) => {
|
|
9176
9176
|
const parsedOutput = {
|
|
9177
9177
|
...output,
|
|
9178
|
-
body: await
|
|
9178
|
+
body: await parseErrorBody(output.body, context),
|
|
9179
9179
|
};
|
|
9180
9180
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9181
9181
|
switch (errorCode) {
|
|
@@ -9227,7 +9227,7 @@ exports.deserializeAws_json1_1UpdateLoadBalancerAttributeCommand = deserializeAw
|
|
|
9227
9227
|
const deserializeAws_json1_1UpdateLoadBalancerAttributeCommandError = async (output, context) => {
|
|
9228
9228
|
const parsedOutput = {
|
|
9229
9229
|
...output,
|
|
9230
|
-
body: await
|
|
9230
|
+
body: await parseErrorBody(output.body, context),
|
|
9231
9231
|
};
|
|
9232
9232
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9233
9233
|
switch (errorCode) {
|
|
@@ -9279,7 +9279,7 @@ exports.deserializeAws_json1_1UpdateRelationalDatabaseCommand = deserializeAws_j
|
|
|
9279
9279
|
const deserializeAws_json1_1UpdateRelationalDatabaseCommandError = async (output, context) => {
|
|
9280
9280
|
const parsedOutput = {
|
|
9281
9281
|
...output,
|
|
9282
|
-
body: await
|
|
9282
|
+
body: await parseErrorBody(output.body, context),
|
|
9283
9283
|
};
|
|
9284
9284
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9285
9285
|
switch (errorCode) {
|
|
@@ -9331,7 +9331,7 @@ exports.deserializeAws_json1_1UpdateRelationalDatabaseParametersCommand = deseri
|
|
|
9331
9331
|
const deserializeAws_json1_1UpdateRelationalDatabaseParametersCommandError = async (output, context) => {
|
|
9332
9332
|
const parsedOutput = {
|
|
9333
9333
|
...output,
|
|
9334
|
-
body: await
|
|
9334
|
+
body: await parseErrorBody(output.body, context),
|
|
9335
9335
|
};
|
|
9336
9336
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9337
9337
|
switch (errorCode) {
|
|
@@ -13780,6 +13780,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
13780
13780
|
}
|
|
13781
13781
|
return {};
|
|
13782
13782
|
});
|
|
13783
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
13784
|
+
var _a;
|
|
13785
|
+
const value = await parseBody(errorBody, context);
|
|
13786
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
13787
|
+
return value;
|
|
13788
|
+
};
|
|
13783
13789
|
const loadRestJsonErrorCode = (output, data) => {
|
|
13784
13790
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
13785
13791
|
const sanitizeErrorCode = (rawValue) => {
|