@aws-sdk/client-neptune 3.180.0 → 3.181.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist-cjs/protocols/Aws_query.js +192 -184
- package/dist-es/protocols/Aws_query.js +199 -184
- package/package.json +3 -3
|
@@ -920,17 +920,17 @@ exports.deserializeAws_queryAddRoleToDBClusterCommand = deserializeAws_queryAddR
|
|
|
920
920
|
const deserializeAws_queryAddRoleToDBClusterCommandError = async (output, context) => {
|
|
921
921
|
const parsedOutput = {
|
|
922
922
|
...output,
|
|
923
|
-
body: await
|
|
923
|
+
body: await parseErrorBody(output.body, context),
|
|
924
924
|
};
|
|
925
925
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
926
926
|
switch (errorCode) {
|
|
927
927
|
case "DBClusterNotFoundFault":
|
|
928
928
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
929
929
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
930
|
-
case "
|
|
930
|
+
case "DBClusterRoleAlreadyExists":
|
|
931
931
|
case "com.amazonaws.neptune#DBClusterRoleAlreadyExistsFault":
|
|
932
932
|
throw await deserializeAws_queryDBClusterRoleAlreadyExistsFaultResponse(parsedOutput, context);
|
|
933
|
-
case "
|
|
933
|
+
case "DBClusterRoleQuotaExceeded":
|
|
934
934
|
case "com.amazonaws.neptune#DBClusterRoleQuotaExceededFault":
|
|
935
935
|
throw await deserializeAws_queryDBClusterRoleQuotaExceededFaultResponse(parsedOutput, context);
|
|
936
936
|
case "InvalidDBClusterStateFault":
|
|
@@ -963,14 +963,14 @@ exports.deserializeAws_queryAddSourceIdentifierToSubscriptionCommand = deseriali
|
|
|
963
963
|
const deserializeAws_queryAddSourceIdentifierToSubscriptionCommandError = async (output, context) => {
|
|
964
964
|
const parsedOutput = {
|
|
965
965
|
...output,
|
|
966
|
-
body: await
|
|
966
|
+
body: await parseErrorBody(output.body, context),
|
|
967
967
|
};
|
|
968
968
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
969
969
|
switch (errorCode) {
|
|
970
|
-
case "
|
|
970
|
+
case "SourceNotFound":
|
|
971
971
|
case "com.amazonaws.neptune#SourceNotFoundFault":
|
|
972
972
|
throw await deserializeAws_querySourceNotFoundFaultResponse(parsedOutput, context);
|
|
973
|
-
case "
|
|
973
|
+
case "SubscriptionNotFound":
|
|
974
974
|
case "com.amazonaws.neptune#SubscriptionNotFoundFault":
|
|
975
975
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
976
976
|
default:
|
|
@@ -997,17 +997,17 @@ exports.deserializeAws_queryAddTagsToResourceCommand = deserializeAws_queryAddTa
|
|
|
997
997
|
const deserializeAws_queryAddTagsToResourceCommandError = async (output, context) => {
|
|
998
998
|
const parsedOutput = {
|
|
999
999
|
...output,
|
|
1000
|
-
body: await
|
|
1000
|
+
body: await parseErrorBody(output.body, context),
|
|
1001
1001
|
};
|
|
1002
1002
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1003
1003
|
switch (errorCode) {
|
|
1004
1004
|
case "DBClusterNotFoundFault":
|
|
1005
1005
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
1006
1006
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
1007
|
-
case "
|
|
1007
|
+
case "DBInstanceNotFound":
|
|
1008
1008
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
1009
1009
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
1010
|
-
case "
|
|
1010
|
+
case "DBSnapshotNotFound":
|
|
1011
1011
|
case "com.amazonaws.neptune#DBSnapshotNotFoundFault":
|
|
1012
1012
|
throw await deserializeAws_queryDBSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
1013
1013
|
default:
|
|
@@ -1037,7 +1037,7 @@ exports.deserializeAws_queryApplyPendingMaintenanceActionCommand = deserializeAw
|
|
|
1037
1037
|
const deserializeAws_queryApplyPendingMaintenanceActionCommandError = async (output, context) => {
|
|
1038
1038
|
const parsedOutput = {
|
|
1039
1039
|
...output,
|
|
1040
|
-
body: await
|
|
1040
|
+
body: await parseErrorBody(output.body, context),
|
|
1041
1041
|
};
|
|
1042
1042
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1043
1043
|
switch (errorCode) {
|
|
@@ -1071,17 +1071,17 @@ exports.deserializeAws_queryCopyDBClusterParameterGroupCommand = deserializeAws_
|
|
|
1071
1071
|
const deserializeAws_queryCopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1072
1072
|
const parsedOutput = {
|
|
1073
1073
|
...output,
|
|
1074
|
-
body: await
|
|
1074
|
+
body: await parseErrorBody(output.body, context),
|
|
1075
1075
|
};
|
|
1076
1076
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1077
1077
|
switch (errorCode) {
|
|
1078
|
-
case "
|
|
1078
|
+
case "DBParameterGroupAlreadyExists":
|
|
1079
1079
|
case "com.amazonaws.neptune#DBParameterGroupAlreadyExistsFault":
|
|
1080
1080
|
throw await deserializeAws_queryDBParameterGroupAlreadyExistsFaultResponse(parsedOutput, context);
|
|
1081
|
-
case "
|
|
1081
|
+
case "DBParameterGroupNotFound":
|
|
1082
1082
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
1083
1083
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1084
|
-
case "
|
|
1084
|
+
case "DBParameterGroupQuotaExceeded":
|
|
1085
1085
|
case "com.amazonaws.neptune#DBParameterGroupQuotaExceededFault":
|
|
1086
1086
|
throw await deserializeAws_queryDBParameterGroupQuotaExceededFaultResponse(parsedOutput, context);
|
|
1087
1087
|
default:
|
|
@@ -1111,7 +1111,7 @@ exports.deserializeAws_queryCopyDBClusterSnapshotCommand = deserializeAws_queryC
|
|
|
1111
1111
|
const deserializeAws_queryCopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
1112
1112
|
const parsedOutput = {
|
|
1113
1113
|
...output,
|
|
1114
|
-
body: await
|
|
1114
|
+
body: await parseErrorBody(output.body, context),
|
|
1115
1115
|
};
|
|
1116
1116
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1117
1117
|
switch (errorCode) {
|
|
@@ -1130,7 +1130,7 @@ const deserializeAws_queryCopyDBClusterSnapshotCommandError = async (output, con
|
|
|
1130
1130
|
case "KMSKeyNotAccessibleFault":
|
|
1131
1131
|
case "com.amazonaws.neptune#KMSKeyNotAccessibleFault":
|
|
1132
1132
|
throw await deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context);
|
|
1133
|
-
case "
|
|
1133
|
+
case "SnapshotQuotaExceeded":
|
|
1134
1134
|
case "com.amazonaws.neptune#SnapshotQuotaExceededFault":
|
|
1135
1135
|
throw await deserializeAws_querySnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
1136
1136
|
default:
|
|
@@ -1160,17 +1160,17 @@ exports.deserializeAws_queryCopyDBParameterGroupCommand = deserializeAws_queryCo
|
|
|
1160
1160
|
const deserializeAws_queryCopyDBParameterGroupCommandError = async (output, context) => {
|
|
1161
1161
|
const parsedOutput = {
|
|
1162
1162
|
...output,
|
|
1163
|
-
body: await
|
|
1163
|
+
body: await parseErrorBody(output.body, context),
|
|
1164
1164
|
};
|
|
1165
1165
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1166
1166
|
switch (errorCode) {
|
|
1167
|
-
case "
|
|
1167
|
+
case "DBParameterGroupAlreadyExists":
|
|
1168
1168
|
case "com.amazonaws.neptune#DBParameterGroupAlreadyExistsFault":
|
|
1169
1169
|
throw await deserializeAws_queryDBParameterGroupAlreadyExistsFaultResponse(parsedOutput, context);
|
|
1170
|
-
case "
|
|
1170
|
+
case "DBParameterGroupNotFound":
|
|
1171
1171
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
1172
1172
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1173
|
-
case "
|
|
1173
|
+
case "DBParameterGroupQuotaExceeded":
|
|
1174
1174
|
case "com.amazonaws.neptune#DBParameterGroupQuotaExceededFault":
|
|
1175
1175
|
throw await deserializeAws_queryDBParameterGroupQuotaExceededFaultResponse(parsedOutput, context);
|
|
1176
1176
|
default:
|
|
@@ -1200,7 +1200,7 @@ exports.deserializeAws_queryCreateDBClusterCommand = deserializeAws_queryCreateD
|
|
|
1200
1200
|
const deserializeAws_queryCreateDBClusterCommandError = async (output, context) => {
|
|
1201
1201
|
const parsedOutput = {
|
|
1202
1202
|
...output,
|
|
1203
|
-
body: await
|
|
1203
|
+
body: await parseErrorBody(output.body, context),
|
|
1204
1204
|
};
|
|
1205
1205
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1206
1206
|
switch (errorCode) {
|
|
@@ -1210,13 +1210,13 @@ const deserializeAws_queryCreateDBClusterCommandError = async (output, context)
|
|
|
1210
1210
|
case "DBClusterNotFoundFault":
|
|
1211
1211
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
1212
1212
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
1213
|
-
case "
|
|
1213
|
+
case "DBClusterParameterGroupNotFound":
|
|
1214
1214
|
case "com.amazonaws.neptune#DBClusterParameterGroupNotFoundFault":
|
|
1215
1215
|
throw await deserializeAws_queryDBClusterParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1216
1216
|
case "DBClusterQuotaExceededFault":
|
|
1217
1217
|
case "com.amazonaws.neptune#DBClusterQuotaExceededFault":
|
|
1218
1218
|
throw await deserializeAws_queryDBClusterQuotaExceededFaultResponse(parsedOutput, context);
|
|
1219
|
-
case "
|
|
1219
|
+
case "DBInstanceNotFound":
|
|
1220
1220
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
1221
1221
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
1222
1222
|
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
@@ -1228,13 +1228,13 @@ const deserializeAws_queryCreateDBClusterCommandError = async (output, context)
|
|
|
1228
1228
|
case "GlobalClusterNotFoundFault":
|
|
1229
1229
|
case "com.amazonaws.neptune#GlobalClusterNotFoundFault":
|
|
1230
1230
|
throw await deserializeAws_queryGlobalClusterNotFoundFaultResponse(parsedOutput, context);
|
|
1231
|
-
case "
|
|
1231
|
+
case "InsufficientStorageClusterCapacity":
|
|
1232
1232
|
case "com.amazonaws.neptune#InsufficientStorageClusterCapacityFault":
|
|
1233
1233
|
throw await deserializeAws_queryInsufficientStorageClusterCapacityFaultResponse(parsedOutput, context);
|
|
1234
1234
|
case "InvalidDBClusterStateFault":
|
|
1235
1235
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
1236
1236
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
1237
|
-
case "
|
|
1237
|
+
case "InvalidDBInstanceState":
|
|
1238
1238
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
1239
1239
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
1240
1240
|
case "InvalidDBSubnetGroupStateFault":
|
|
@@ -1252,7 +1252,7 @@ const deserializeAws_queryCreateDBClusterCommandError = async (output, context)
|
|
|
1252
1252
|
case "KMSKeyNotAccessibleFault":
|
|
1253
1253
|
case "com.amazonaws.neptune#KMSKeyNotAccessibleFault":
|
|
1254
1254
|
throw await deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context);
|
|
1255
|
-
case "
|
|
1255
|
+
case "StorageQuotaExceeded":
|
|
1256
1256
|
case "com.amazonaws.neptune#StorageQuotaExceededFault":
|
|
1257
1257
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
1258
1258
|
default:
|
|
@@ -1282,7 +1282,7 @@ exports.deserializeAws_queryCreateDBClusterEndpointCommand = deserializeAws_quer
|
|
|
1282
1282
|
const deserializeAws_queryCreateDBClusterEndpointCommandError = async (output, context) => {
|
|
1283
1283
|
const parsedOutput = {
|
|
1284
1284
|
...output,
|
|
1285
|
-
body: await
|
|
1285
|
+
body: await parseErrorBody(output.body, context),
|
|
1286
1286
|
};
|
|
1287
1287
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1288
1288
|
switch (errorCode) {
|
|
@@ -1295,13 +1295,13 @@ const deserializeAws_queryCreateDBClusterEndpointCommandError = async (output, c
|
|
|
1295
1295
|
case "DBClusterNotFoundFault":
|
|
1296
1296
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
1297
1297
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
1298
|
-
case "
|
|
1298
|
+
case "DBInstanceNotFound":
|
|
1299
1299
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
1300
1300
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
1301
1301
|
case "InvalidDBClusterStateFault":
|
|
1302
1302
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
1303
1303
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
1304
|
-
case "
|
|
1304
|
+
case "InvalidDBInstanceState":
|
|
1305
1305
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
1306
1306
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
1307
1307
|
default:
|
|
@@ -1331,14 +1331,14 @@ exports.deserializeAws_queryCreateDBClusterParameterGroupCommand = deserializeAw
|
|
|
1331
1331
|
const deserializeAws_queryCreateDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1332
1332
|
const parsedOutput = {
|
|
1333
1333
|
...output,
|
|
1334
|
-
body: await
|
|
1334
|
+
body: await parseErrorBody(output.body, context),
|
|
1335
1335
|
};
|
|
1336
1336
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1337
1337
|
switch (errorCode) {
|
|
1338
|
-
case "
|
|
1338
|
+
case "DBParameterGroupAlreadyExists":
|
|
1339
1339
|
case "com.amazonaws.neptune#DBParameterGroupAlreadyExistsFault":
|
|
1340
1340
|
throw await deserializeAws_queryDBParameterGroupAlreadyExistsFaultResponse(parsedOutput, context);
|
|
1341
|
-
case "
|
|
1341
|
+
case "DBParameterGroupQuotaExceeded":
|
|
1342
1342
|
case "com.amazonaws.neptune#DBParameterGroupQuotaExceededFault":
|
|
1343
1343
|
throw await deserializeAws_queryDBParameterGroupQuotaExceededFaultResponse(parsedOutput, context);
|
|
1344
1344
|
default:
|
|
@@ -1368,7 +1368,7 @@ exports.deserializeAws_queryCreateDBClusterSnapshotCommand = deserializeAws_quer
|
|
|
1368
1368
|
const deserializeAws_queryCreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
1369
1369
|
const parsedOutput = {
|
|
1370
1370
|
...output,
|
|
1371
|
-
body: await
|
|
1371
|
+
body: await parseErrorBody(output.body, context),
|
|
1372
1372
|
};
|
|
1373
1373
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1374
1374
|
switch (errorCode) {
|
|
@@ -1384,7 +1384,7 @@ const deserializeAws_queryCreateDBClusterSnapshotCommandError = async (output, c
|
|
|
1384
1384
|
case "InvalidDBClusterStateFault":
|
|
1385
1385
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
1386
1386
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
1387
|
-
case "
|
|
1387
|
+
case "SnapshotQuotaExceeded":
|
|
1388
1388
|
case "com.amazonaws.neptune#SnapshotQuotaExceededFault":
|
|
1389
1389
|
throw await deserializeAws_querySnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
1390
1390
|
default:
|
|
@@ -1414,23 +1414,23 @@ exports.deserializeAws_queryCreateDBInstanceCommand = deserializeAws_queryCreate
|
|
|
1414
1414
|
const deserializeAws_queryCreateDBInstanceCommandError = async (output, context) => {
|
|
1415
1415
|
const parsedOutput = {
|
|
1416
1416
|
...output,
|
|
1417
|
-
body: await
|
|
1417
|
+
body: await parseErrorBody(output.body, context),
|
|
1418
1418
|
};
|
|
1419
1419
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1420
1420
|
switch (errorCode) {
|
|
1421
|
-
case "
|
|
1421
|
+
case "AuthorizationNotFound":
|
|
1422
1422
|
case "com.amazonaws.neptune#AuthorizationNotFoundFault":
|
|
1423
1423
|
throw await deserializeAws_queryAuthorizationNotFoundFaultResponse(parsedOutput, context);
|
|
1424
1424
|
case "DBClusterNotFoundFault":
|
|
1425
1425
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
1426
1426
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
1427
|
-
case "
|
|
1427
|
+
case "DBInstanceAlreadyExists":
|
|
1428
1428
|
case "com.amazonaws.neptune#DBInstanceAlreadyExistsFault":
|
|
1429
1429
|
throw await deserializeAws_queryDBInstanceAlreadyExistsFaultResponse(parsedOutput, context);
|
|
1430
|
-
case "
|
|
1430
|
+
case "DBParameterGroupNotFound":
|
|
1431
1431
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
1432
1432
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1433
|
-
case "
|
|
1433
|
+
case "DBSecurityGroupNotFound":
|
|
1434
1434
|
case "com.amazonaws.neptune#DBSecurityGroupNotFoundFault":
|
|
1435
1435
|
throw await deserializeAws_queryDBSecurityGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1436
1436
|
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
@@ -1442,10 +1442,10 @@ const deserializeAws_queryCreateDBInstanceCommandError = async (output, context)
|
|
|
1442
1442
|
case "DomainNotFoundFault":
|
|
1443
1443
|
case "com.amazonaws.neptune#DomainNotFoundFault":
|
|
1444
1444
|
throw await deserializeAws_queryDomainNotFoundFaultResponse(parsedOutput, context);
|
|
1445
|
-
case "
|
|
1445
|
+
case "InstanceQuotaExceeded":
|
|
1446
1446
|
case "com.amazonaws.neptune#InstanceQuotaExceededFault":
|
|
1447
1447
|
throw await deserializeAws_queryInstanceQuotaExceededFaultResponse(parsedOutput, context);
|
|
1448
|
-
case "
|
|
1448
|
+
case "InsufficientDBInstanceCapacity":
|
|
1449
1449
|
case "com.amazonaws.neptune#InsufficientDBInstanceCapacityFault":
|
|
1450
1450
|
throw await deserializeAws_queryInsufficientDBInstanceCapacityFaultResponse(parsedOutput, context);
|
|
1451
1451
|
case "InvalidDBClusterStateFault":
|
|
@@ -1466,10 +1466,10 @@ const deserializeAws_queryCreateDBInstanceCommandError = async (output, context)
|
|
|
1466
1466
|
case "ProvisionedIopsNotAvailableInAZFault":
|
|
1467
1467
|
case "com.amazonaws.neptune#ProvisionedIopsNotAvailableInAZFault":
|
|
1468
1468
|
throw await deserializeAws_queryProvisionedIopsNotAvailableInAZFaultResponse(parsedOutput, context);
|
|
1469
|
-
case "
|
|
1469
|
+
case "StorageQuotaExceeded":
|
|
1470
1470
|
case "com.amazonaws.neptune#StorageQuotaExceededFault":
|
|
1471
1471
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
1472
|
-
case "
|
|
1472
|
+
case "StorageTypeNotSupported":
|
|
1473
1473
|
case "com.amazonaws.neptune#StorageTypeNotSupportedFault":
|
|
1474
1474
|
throw await deserializeAws_queryStorageTypeNotSupportedFaultResponse(parsedOutput, context);
|
|
1475
1475
|
default:
|
|
@@ -1499,14 +1499,14 @@ exports.deserializeAws_queryCreateDBParameterGroupCommand = deserializeAws_query
|
|
|
1499
1499
|
const deserializeAws_queryCreateDBParameterGroupCommandError = async (output, context) => {
|
|
1500
1500
|
const parsedOutput = {
|
|
1501
1501
|
...output,
|
|
1502
|
-
body: await
|
|
1502
|
+
body: await parseErrorBody(output.body, context),
|
|
1503
1503
|
};
|
|
1504
1504
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1505
1505
|
switch (errorCode) {
|
|
1506
|
-
case "
|
|
1506
|
+
case "DBParameterGroupAlreadyExists":
|
|
1507
1507
|
case "com.amazonaws.neptune#DBParameterGroupAlreadyExistsFault":
|
|
1508
1508
|
throw await deserializeAws_queryDBParameterGroupAlreadyExistsFaultResponse(parsedOutput, context);
|
|
1509
|
-
case "
|
|
1509
|
+
case "DBParameterGroupQuotaExceeded":
|
|
1510
1510
|
case "com.amazonaws.neptune#DBParameterGroupQuotaExceededFault":
|
|
1511
1511
|
throw await deserializeAws_queryDBParameterGroupQuotaExceededFaultResponse(parsedOutput, context);
|
|
1512
1512
|
default:
|
|
@@ -1536,17 +1536,17 @@ exports.deserializeAws_queryCreateDBSubnetGroupCommand = deserializeAws_queryCre
|
|
|
1536
1536
|
const deserializeAws_queryCreateDBSubnetGroupCommandError = async (output, context) => {
|
|
1537
1537
|
const parsedOutput = {
|
|
1538
1538
|
...output,
|
|
1539
|
-
body: await
|
|
1539
|
+
body: await parseErrorBody(output.body, context),
|
|
1540
1540
|
};
|
|
1541
1541
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1542
1542
|
switch (errorCode) {
|
|
1543
|
-
case "
|
|
1543
|
+
case "DBSubnetGroupAlreadyExists":
|
|
1544
1544
|
case "com.amazonaws.neptune#DBSubnetGroupAlreadyExistsFault":
|
|
1545
1545
|
throw await deserializeAws_queryDBSubnetGroupAlreadyExistsFaultResponse(parsedOutput, context);
|
|
1546
1546
|
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
1547
1547
|
case "com.amazonaws.neptune#DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
1548
1548
|
throw await deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZsResponse(parsedOutput, context);
|
|
1549
|
-
case "
|
|
1549
|
+
case "DBSubnetGroupQuotaExceeded":
|
|
1550
1550
|
case "com.amazonaws.neptune#DBSubnetGroupQuotaExceededFault":
|
|
1551
1551
|
throw await deserializeAws_queryDBSubnetGroupQuotaExceededFaultResponse(parsedOutput, context);
|
|
1552
1552
|
case "DBSubnetQuotaExceededFault":
|
|
@@ -1582,29 +1582,29 @@ exports.deserializeAws_queryCreateEventSubscriptionCommand = deserializeAws_quer
|
|
|
1582
1582
|
const deserializeAws_queryCreateEventSubscriptionCommandError = async (output, context) => {
|
|
1583
1583
|
const parsedOutput = {
|
|
1584
1584
|
...output,
|
|
1585
|
-
body: await
|
|
1585
|
+
body: await parseErrorBody(output.body, context),
|
|
1586
1586
|
};
|
|
1587
1587
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1588
1588
|
switch (errorCode) {
|
|
1589
|
-
case "
|
|
1589
|
+
case "EventSubscriptionQuotaExceeded":
|
|
1590
1590
|
case "com.amazonaws.neptune#EventSubscriptionQuotaExceededFault":
|
|
1591
1591
|
throw await deserializeAws_queryEventSubscriptionQuotaExceededFaultResponse(parsedOutput, context);
|
|
1592
|
-
case "
|
|
1592
|
+
case "SNSInvalidTopic":
|
|
1593
1593
|
case "com.amazonaws.neptune#SNSInvalidTopicFault":
|
|
1594
1594
|
throw await deserializeAws_querySNSInvalidTopicFaultResponse(parsedOutput, context);
|
|
1595
|
-
case "
|
|
1595
|
+
case "SNSNoAuthorization":
|
|
1596
1596
|
case "com.amazonaws.neptune#SNSNoAuthorizationFault":
|
|
1597
1597
|
throw await deserializeAws_querySNSNoAuthorizationFaultResponse(parsedOutput, context);
|
|
1598
|
-
case "
|
|
1598
|
+
case "SNSTopicArnNotFound":
|
|
1599
1599
|
case "com.amazonaws.neptune#SNSTopicArnNotFoundFault":
|
|
1600
1600
|
throw await deserializeAws_querySNSTopicArnNotFoundFaultResponse(parsedOutput, context);
|
|
1601
|
-
case "
|
|
1601
|
+
case "SourceNotFound":
|
|
1602
1602
|
case "com.amazonaws.neptune#SourceNotFoundFault":
|
|
1603
1603
|
throw await deserializeAws_querySourceNotFoundFaultResponse(parsedOutput, context);
|
|
1604
|
-
case "
|
|
1604
|
+
case "SubscriptionAlreadyExist":
|
|
1605
1605
|
case "com.amazonaws.neptune#SubscriptionAlreadyExistFault":
|
|
1606
1606
|
throw await deserializeAws_querySubscriptionAlreadyExistFaultResponse(parsedOutput, context);
|
|
1607
|
-
case "
|
|
1607
|
+
case "SubscriptionCategoryNotFound":
|
|
1608
1608
|
case "com.amazonaws.neptune#SubscriptionCategoryNotFoundFault":
|
|
1609
1609
|
throw await deserializeAws_querySubscriptionCategoryNotFoundFaultResponse(parsedOutput, context);
|
|
1610
1610
|
default:
|
|
@@ -1634,7 +1634,7 @@ exports.deserializeAws_queryCreateGlobalClusterCommand = deserializeAws_queryCre
|
|
|
1634
1634
|
const deserializeAws_queryCreateGlobalClusterCommandError = async (output, context) => {
|
|
1635
1635
|
const parsedOutput = {
|
|
1636
1636
|
...output,
|
|
1637
|
-
body: await
|
|
1637
|
+
body: await parseErrorBody(output.body, context),
|
|
1638
1638
|
};
|
|
1639
1639
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1640
1640
|
switch (errorCode) {
|
|
@@ -1677,7 +1677,7 @@ exports.deserializeAws_queryDeleteDBClusterCommand = deserializeAws_queryDeleteD
|
|
|
1677
1677
|
const deserializeAws_queryDeleteDBClusterCommandError = async (output, context) => {
|
|
1678
1678
|
const parsedOutput = {
|
|
1679
1679
|
...output,
|
|
1680
|
-
body: await
|
|
1680
|
+
body: await parseErrorBody(output.body, context),
|
|
1681
1681
|
};
|
|
1682
1682
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1683
1683
|
switch (errorCode) {
|
|
@@ -1693,7 +1693,7 @@ const deserializeAws_queryDeleteDBClusterCommandError = async (output, context)
|
|
|
1693
1693
|
case "InvalidDBClusterStateFault":
|
|
1694
1694
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
1695
1695
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
1696
|
-
case "
|
|
1696
|
+
case "SnapshotQuotaExceeded":
|
|
1697
1697
|
case "com.amazonaws.neptune#SnapshotQuotaExceededFault":
|
|
1698
1698
|
throw await deserializeAws_querySnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
1699
1699
|
default:
|
|
@@ -1723,7 +1723,7 @@ exports.deserializeAws_queryDeleteDBClusterEndpointCommand = deserializeAws_quer
|
|
|
1723
1723
|
const deserializeAws_queryDeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
1724
1724
|
const parsedOutput = {
|
|
1725
1725
|
...output,
|
|
1726
|
-
body: await
|
|
1726
|
+
body: await parseErrorBody(output.body, context),
|
|
1727
1727
|
};
|
|
1728
1728
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1729
1729
|
switch (errorCode) {
|
|
@@ -1760,14 +1760,14 @@ exports.deserializeAws_queryDeleteDBClusterParameterGroupCommand = deserializeAw
|
|
|
1760
1760
|
const deserializeAws_queryDeleteDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1761
1761
|
const parsedOutput = {
|
|
1762
1762
|
...output,
|
|
1763
|
-
body: await
|
|
1763
|
+
body: await parseErrorBody(output.body, context),
|
|
1764
1764
|
};
|
|
1765
1765
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1766
1766
|
switch (errorCode) {
|
|
1767
|
-
case "
|
|
1767
|
+
case "DBParameterGroupNotFound":
|
|
1768
1768
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
1769
1769
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1770
|
-
case "
|
|
1770
|
+
case "InvalidDBParameterGroupState":
|
|
1771
1771
|
case "com.amazonaws.neptune#InvalidDBParameterGroupStateFault":
|
|
1772
1772
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
1773
1773
|
default:
|
|
@@ -1797,7 +1797,7 @@ exports.deserializeAws_queryDeleteDBClusterSnapshotCommand = deserializeAws_quer
|
|
|
1797
1797
|
const deserializeAws_queryDeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
1798
1798
|
const parsedOutput = {
|
|
1799
1799
|
...output,
|
|
1800
|
-
body: await
|
|
1800
|
+
body: await parseErrorBody(output.body, context),
|
|
1801
1801
|
};
|
|
1802
1802
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1803
1803
|
switch (errorCode) {
|
|
@@ -1834,23 +1834,23 @@ exports.deserializeAws_queryDeleteDBInstanceCommand = deserializeAws_queryDelete
|
|
|
1834
1834
|
const deserializeAws_queryDeleteDBInstanceCommandError = async (output, context) => {
|
|
1835
1835
|
const parsedOutput = {
|
|
1836
1836
|
...output,
|
|
1837
|
-
body: await
|
|
1837
|
+
body: await parseErrorBody(output.body, context),
|
|
1838
1838
|
};
|
|
1839
1839
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1840
1840
|
switch (errorCode) {
|
|
1841
|
-
case "
|
|
1841
|
+
case "DBInstanceNotFound":
|
|
1842
1842
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
1843
1843
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
1844
|
-
case "
|
|
1844
|
+
case "DBSnapshotAlreadyExists":
|
|
1845
1845
|
case "com.amazonaws.neptune#DBSnapshotAlreadyExistsFault":
|
|
1846
1846
|
throw await deserializeAws_queryDBSnapshotAlreadyExistsFaultResponse(parsedOutput, context);
|
|
1847
1847
|
case "InvalidDBClusterStateFault":
|
|
1848
1848
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
1849
1849
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
1850
|
-
case "
|
|
1850
|
+
case "InvalidDBInstanceState":
|
|
1851
1851
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
1852
1852
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
1853
|
-
case "
|
|
1853
|
+
case "SnapshotQuotaExceeded":
|
|
1854
1854
|
case "com.amazonaws.neptune#SnapshotQuotaExceededFault":
|
|
1855
1855
|
throw await deserializeAws_querySnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
1856
1856
|
default:
|
|
@@ -1877,14 +1877,14 @@ exports.deserializeAws_queryDeleteDBParameterGroupCommand = deserializeAws_query
|
|
|
1877
1877
|
const deserializeAws_queryDeleteDBParameterGroupCommandError = async (output, context) => {
|
|
1878
1878
|
const parsedOutput = {
|
|
1879
1879
|
...output,
|
|
1880
|
-
body: await
|
|
1880
|
+
body: await parseErrorBody(output.body, context),
|
|
1881
1881
|
};
|
|
1882
1882
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1883
1883
|
switch (errorCode) {
|
|
1884
|
-
case "
|
|
1884
|
+
case "DBParameterGroupNotFound":
|
|
1885
1885
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
1886
1886
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1887
|
-
case "
|
|
1887
|
+
case "InvalidDBParameterGroupState":
|
|
1888
1888
|
case "com.amazonaws.neptune#InvalidDBParameterGroupStateFault":
|
|
1889
1889
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
1890
1890
|
default:
|
|
@@ -1911,7 +1911,7 @@ exports.deserializeAws_queryDeleteDBSubnetGroupCommand = deserializeAws_queryDel
|
|
|
1911
1911
|
const deserializeAws_queryDeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
1912
1912
|
const parsedOutput = {
|
|
1913
1913
|
...output,
|
|
1914
|
-
body: await
|
|
1914
|
+
body: await parseErrorBody(output.body, context),
|
|
1915
1915
|
};
|
|
1916
1916
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1917
1917
|
switch (errorCode) {
|
|
@@ -1951,14 +1951,14 @@ exports.deserializeAws_queryDeleteEventSubscriptionCommand = deserializeAws_quer
|
|
|
1951
1951
|
const deserializeAws_queryDeleteEventSubscriptionCommandError = async (output, context) => {
|
|
1952
1952
|
const parsedOutput = {
|
|
1953
1953
|
...output,
|
|
1954
|
-
body: await
|
|
1954
|
+
body: await parseErrorBody(output.body, context),
|
|
1955
1955
|
};
|
|
1956
1956
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1957
1957
|
switch (errorCode) {
|
|
1958
|
-
case "
|
|
1958
|
+
case "InvalidEventSubscriptionState":
|
|
1959
1959
|
case "com.amazonaws.neptune#InvalidEventSubscriptionStateFault":
|
|
1960
1960
|
throw await deserializeAws_queryInvalidEventSubscriptionStateFaultResponse(parsedOutput, context);
|
|
1961
|
-
case "
|
|
1961
|
+
case "SubscriptionNotFound":
|
|
1962
1962
|
case "com.amazonaws.neptune#SubscriptionNotFoundFault":
|
|
1963
1963
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
1964
1964
|
default:
|
|
@@ -1988,7 +1988,7 @@ exports.deserializeAws_queryDeleteGlobalClusterCommand = deserializeAws_queryDel
|
|
|
1988
1988
|
const deserializeAws_queryDeleteGlobalClusterCommandError = async (output, context) => {
|
|
1989
1989
|
const parsedOutput = {
|
|
1990
1990
|
...output,
|
|
1991
|
-
body: await
|
|
1991
|
+
body: await parseErrorBody(output.body, context),
|
|
1992
1992
|
};
|
|
1993
1993
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1994
1994
|
switch (errorCode) {
|
|
@@ -2025,7 +2025,7 @@ exports.deserializeAws_queryDescribeDBClusterEndpointsCommand = deserializeAws_q
|
|
|
2025
2025
|
const deserializeAws_queryDescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
2026
2026
|
const parsedOutput = {
|
|
2027
2027
|
...output,
|
|
2028
|
-
body: await
|
|
2028
|
+
body: await parseErrorBody(output.body, context),
|
|
2029
2029
|
};
|
|
2030
2030
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2031
2031
|
switch (errorCode) {
|
|
@@ -2059,11 +2059,11 @@ exports.deserializeAws_queryDescribeDBClusterParameterGroupsCommand = deserializ
|
|
|
2059
2059
|
const deserializeAws_queryDescribeDBClusterParameterGroupsCommandError = async (output, context) => {
|
|
2060
2060
|
const parsedOutput = {
|
|
2061
2061
|
...output,
|
|
2062
|
-
body: await
|
|
2062
|
+
body: await parseErrorBody(output.body, context),
|
|
2063
2063
|
};
|
|
2064
2064
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2065
2065
|
switch (errorCode) {
|
|
2066
|
-
case "
|
|
2066
|
+
case "DBParameterGroupNotFound":
|
|
2067
2067
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
2068
2068
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
2069
2069
|
default:
|
|
@@ -2093,11 +2093,11 @@ exports.deserializeAws_queryDescribeDBClusterParametersCommand = deserializeAws_
|
|
|
2093
2093
|
const deserializeAws_queryDescribeDBClusterParametersCommandError = async (output, context) => {
|
|
2094
2094
|
const parsedOutput = {
|
|
2095
2095
|
...output,
|
|
2096
|
-
body: await
|
|
2096
|
+
body: await parseErrorBody(output.body, context),
|
|
2097
2097
|
};
|
|
2098
2098
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2099
2099
|
switch (errorCode) {
|
|
2100
|
-
case "
|
|
2100
|
+
case "DBParameterGroupNotFound":
|
|
2101
2101
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
2102
2102
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
2103
2103
|
default:
|
|
@@ -2127,7 +2127,7 @@ exports.deserializeAws_queryDescribeDBClustersCommand = deserializeAws_queryDesc
|
|
|
2127
2127
|
const deserializeAws_queryDescribeDBClustersCommandError = async (output, context) => {
|
|
2128
2128
|
const parsedOutput = {
|
|
2129
2129
|
...output,
|
|
2130
|
-
body: await
|
|
2130
|
+
body: await parseErrorBody(output.body, context),
|
|
2131
2131
|
};
|
|
2132
2132
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2133
2133
|
switch (errorCode) {
|
|
@@ -2161,7 +2161,7 @@ exports.deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand = deseria
|
|
|
2161
2161
|
const deserializeAws_queryDescribeDBClusterSnapshotAttributesCommandError = async (output, context) => {
|
|
2162
2162
|
const parsedOutput = {
|
|
2163
2163
|
...output,
|
|
2164
|
-
body: await
|
|
2164
|
+
body: await parseErrorBody(output.body, context),
|
|
2165
2165
|
};
|
|
2166
2166
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2167
2167
|
switch (errorCode) {
|
|
@@ -2195,7 +2195,7 @@ exports.deserializeAws_queryDescribeDBClusterSnapshotsCommand = deserializeAws_q
|
|
|
2195
2195
|
const deserializeAws_queryDescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
2196
2196
|
const parsedOutput = {
|
|
2197
2197
|
...output,
|
|
2198
|
-
body: await
|
|
2198
|
+
body: await parseErrorBody(output.body, context),
|
|
2199
2199
|
};
|
|
2200
2200
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2201
2201
|
switch (errorCode) {
|
|
@@ -2229,7 +2229,7 @@ exports.deserializeAws_queryDescribeDBEngineVersionsCommand = deserializeAws_que
|
|
|
2229
2229
|
const deserializeAws_queryDescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
2230
2230
|
const parsedOutput = {
|
|
2231
2231
|
...output,
|
|
2232
|
-
body: await
|
|
2232
|
+
body: await parseErrorBody(output.body, context),
|
|
2233
2233
|
};
|
|
2234
2234
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2235
2235
|
const parsedBody = parsedOutput.body;
|
|
@@ -2257,11 +2257,11 @@ exports.deserializeAws_queryDescribeDBInstancesCommand = deserializeAws_queryDes
|
|
|
2257
2257
|
const deserializeAws_queryDescribeDBInstancesCommandError = async (output, context) => {
|
|
2258
2258
|
const parsedOutput = {
|
|
2259
2259
|
...output,
|
|
2260
|
-
body: await
|
|
2260
|
+
body: await parseErrorBody(output.body, context),
|
|
2261
2261
|
};
|
|
2262
2262
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2263
2263
|
switch (errorCode) {
|
|
2264
|
-
case "
|
|
2264
|
+
case "DBInstanceNotFound":
|
|
2265
2265
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
2266
2266
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
2267
2267
|
default:
|
|
@@ -2291,11 +2291,11 @@ exports.deserializeAws_queryDescribeDBParameterGroupsCommand = deserializeAws_qu
|
|
|
2291
2291
|
const deserializeAws_queryDescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
2292
2292
|
const parsedOutput = {
|
|
2293
2293
|
...output,
|
|
2294
|
-
body: await
|
|
2294
|
+
body: await parseErrorBody(output.body, context),
|
|
2295
2295
|
};
|
|
2296
2296
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2297
2297
|
switch (errorCode) {
|
|
2298
|
-
case "
|
|
2298
|
+
case "DBParameterGroupNotFound":
|
|
2299
2299
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
2300
2300
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
2301
2301
|
default:
|
|
@@ -2325,11 +2325,11 @@ exports.deserializeAws_queryDescribeDBParametersCommand = deserializeAws_queryDe
|
|
|
2325
2325
|
const deserializeAws_queryDescribeDBParametersCommandError = async (output, context) => {
|
|
2326
2326
|
const parsedOutput = {
|
|
2327
2327
|
...output,
|
|
2328
|
-
body: await
|
|
2328
|
+
body: await parseErrorBody(output.body, context),
|
|
2329
2329
|
};
|
|
2330
2330
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2331
2331
|
switch (errorCode) {
|
|
2332
|
-
case "
|
|
2332
|
+
case "DBParameterGroupNotFound":
|
|
2333
2333
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
2334
2334
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
2335
2335
|
default:
|
|
@@ -2359,7 +2359,7 @@ exports.deserializeAws_queryDescribeDBSubnetGroupsCommand = deserializeAws_query
|
|
|
2359
2359
|
const deserializeAws_queryDescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
2360
2360
|
const parsedOutput = {
|
|
2361
2361
|
...output,
|
|
2362
|
-
body: await
|
|
2362
|
+
body: await parseErrorBody(output.body, context),
|
|
2363
2363
|
};
|
|
2364
2364
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2365
2365
|
switch (errorCode) {
|
|
@@ -2393,7 +2393,7 @@ exports.deserializeAws_queryDescribeEngineDefaultClusterParametersCommand = dese
|
|
|
2393
2393
|
const deserializeAws_queryDescribeEngineDefaultClusterParametersCommandError = async (output, context) => {
|
|
2394
2394
|
const parsedOutput = {
|
|
2395
2395
|
...output,
|
|
2396
|
-
body: await
|
|
2396
|
+
body: await parseErrorBody(output.body, context),
|
|
2397
2397
|
};
|
|
2398
2398
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2399
2399
|
const parsedBody = parsedOutput.body;
|
|
@@ -2421,7 +2421,7 @@ exports.deserializeAws_queryDescribeEngineDefaultParametersCommand = deserialize
|
|
|
2421
2421
|
const deserializeAws_queryDescribeEngineDefaultParametersCommandError = async (output, context) => {
|
|
2422
2422
|
const parsedOutput = {
|
|
2423
2423
|
...output,
|
|
2424
|
-
body: await
|
|
2424
|
+
body: await parseErrorBody(output.body, context),
|
|
2425
2425
|
};
|
|
2426
2426
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2427
2427
|
const parsedBody = parsedOutput.body;
|
|
@@ -2449,7 +2449,7 @@ exports.deserializeAws_queryDescribeEventCategoriesCommand = deserializeAws_quer
|
|
|
2449
2449
|
const deserializeAws_queryDescribeEventCategoriesCommandError = async (output, context) => {
|
|
2450
2450
|
const parsedOutput = {
|
|
2451
2451
|
...output,
|
|
2452
|
-
body: await
|
|
2452
|
+
body: await parseErrorBody(output.body, context),
|
|
2453
2453
|
};
|
|
2454
2454
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2455
2455
|
const parsedBody = parsedOutput.body;
|
|
@@ -2477,7 +2477,7 @@ exports.deserializeAws_queryDescribeEventsCommand = deserializeAws_queryDescribe
|
|
|
2477
2477
|
const deserializeAws_queryDescribeEventsCommandError = async (output, context) => {
|
|
2478
2478
|
const parsedOutput = {
|
|
2479
2479
|
...output,
|
|
2480
|
-
body: await
|
|
2480
|
+
body: await parseErrorBody(output.body, context),
|
|
2481
2481
|
};
|
|
2482
2482
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2483
2483
|
const parsedBody = parsedOutput.body;
|
|
@@ -2505,11 +2505,11 @@ exports.deserializeAws_queryDescribeEventSubscriptionsCommand = deserializeAws_q
|
|
|
2505
2505
|
const deserializeAws_queryDescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
2506
2506
|
const parsedOutput = {
|
|
2507
2507
|
...output,
|
|
2508
|
-
body: await
|
|
2508
|
+
body: await parseErrorBody(output.body, context),
|
|
2509
2509
|
};
|
|
2510
2510
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2511
2511
|
switch (errorCode) {
|
|
2512
|
-
case "
|
|
2512
|
+
case "SubscriptionNotFound":
|
|
2513
2513
|
case "com.amazonaws.neptune#SubscriptionNotFoundFault":
|
|
2514
2514
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
2515
2515
|
default:
|
|
@@ -2539,7 +2539,7 @@ exports.deserializeAws_queryDescribeGlobalClustersCommand = deserializeAws_query
|
|
|
2539
2539
|
const deserializeAws_queryDescribeGlobalClustersCommandError = async (output, context) => {
|
|
2540
2540
|
const parsedOutput = {
|
|
2541
2541
|
...output,
|
|
2542
|
-
body: await
|
|
2542
|
+
body: await parseErrorBody(output.body, context),
|
|
2543
2543
|
};
|
|
2544
2544
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2545
2545
|
switch (errorCode) {
|
|
@@ -2573,7 +2573,7 @@ exports.deserializeAws_queryDescribeOrderableDBInstanceOptionsCommand = deserial
|
|
|
2573
2573
|
const deserializeAws_queryDescribeOrderableDBInstanceOptionsCommandError = async (output, context) => {
|
|
2574
2574
|
const parsedOutput = {
|
|
2575
2575
|
...output,
|
|
2576
|
-
body: await
|
|
2576
|
+
body: await parseErrorBody(output.body, context),
|
|
2577
2577
|
};
|
|
2578
2578
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2579
2579
|
const parsedBody = parsedOutput.body;
|
|
@@ -2601,7 +2601,7 @@ exports.deserializeAws_queryDescribePendingMaintenanceActionsCommand = deseriali
|
|
|
2601
2601
|
const deserializeAws_queryDescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
2602
2602
|
const parsedOutput = {
|
|
2603
2603
|
...output,
|
|
2604
|
-
body: await
|
|
2604
|
+
body: await parseErrorBody(output.body, context),
|
|
2605
2605
|
};
|
|
2606
2606
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2607
2607
|
switch (errorCode) {
|
|
@@ -2635,14 +2635,14 @@ exports.deserializeAws_queryDescribeValidDBInstanceModificationsCommand = deseri
|
|
|
2635
2635
|
const deserializeAws_queryDescribeValidDBInstanceModificationsCommandError = async (output, context) => {
|
|
2636
2636
|
const parsedOutput = {
|
|
2637
2637
|
...output,
|
|
2638
|
-
body: await
|
|
2638
|
+
body: await parseErrorBody(output.body, context),
|
|
2639
2639
|
};
|
|
2640
2640
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2641
2641
|
switch (errorCode) {
|
|
2642
|
-
case "
|
|
2642
|
+
case "DBInstanceNotFound":
|
|
2643
2643
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
2644
2644
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
2645
|
-
case "
|
|
2645
|
+
case "InvalidDBInstanceState":
|
|
2646
2646
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
2647
2647
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
2648
2648
|
default:
|
|
@@ -2672,7 +2672,7 @@ exports.deserializeAws_queryFailoverDBClusterCommand = deserializeAws_queryFailo
|
|
|
2672
2672
|
const deserializeAws_queryFailoverDBClusterCommandError = async (output, context) => {
|
|
2673
2673
|
const parsedOutput = {
|
|
2674
2674
|
...output,
|
|
2675
|
-
body: await
|
|
2675
|
+
body: await parseErrorBody(output.body, context),
|
|
2676
2676
|
};
|
|
2677
2677
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2678
2678
|
switch (errorCode) {
|
|
@@ -2682,7 +2682,7 @@ const deserializeAws_queryFailoverDBClusterCommandError = async (output, context
|
|
|
2682
2682
|
case "InvalidDBClusterStateFault":
|
|
2683
2683
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
2684
2684
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
2685
|
-
case "
|
|
2685
|
+
case "InvalidDBInstanceState":
|
|
2686
2686
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
2687
2687
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
2688
2688
|
default:
|
|
@@ -2712,7 +2712,7 @@ exports.deserializeAws_queryFailoverGlobalClusterCommand = deserializeAws_queryF
|
|
|
2712
2712
|
const deserializeAws_queryFailoverGlobalClusterCommandError = async (output, context) => {
|
|
2713
2713
|
const parsedOutput = {
|
|
2714
2714
|
...output,
|
|
2715
|
-
body: await
|
|
2715
|
+
body: await parseErrorBody(output.body, context),
|
|
2716
2716
|
};
|
|
2717
2717
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2718
2718
|
switch (errorCode) {
|
|
@@ -2755,17 +2755,17 @@ exports.deserializeAws_queryListTagsForResourceCommand = deserializeAws_queryLis
|
|
|
2755
2755
|
const deserializeAws_queryListTagsForResourceCommandError = async (output, context) => {
|
|
2756
2756
|
const parsedOutput = {
|
|
2757
2757
|
...output,
|
|
2758
|
-
body: await
|
|
2758
|
+
body: await parseErrorBody(output.body, context),
|
|
2759
2759
|
};
|
|
2760
2760
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2761
2761
|
switch (errorCode) {
|
|
2762
2762
|
case "DBClusterNotFoundFault":
|
|
2763
2763
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
2764
2764
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
2765
|
-
case "
|
|
2765
|
+
case "DBInstanceNotFound":
|
|
2766
2766
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
2767
2767
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
2768
|
-
case "
|
|
2768
|
+
case "DBSnapshotNotFound":
|
|
2769
2769
|
case "com.amazonaws.neptune#DBSnapshotNotFoundFault":
|
|
2770
2770
|
throw await deserializeAws_queryDBSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
2771
2771
|
default:
|
|
@@ -2795,7 +2795,7 @@ exports.deserializeAws_queryModifyDBClusterCommand = deserializeAws_queryModifyD
|
|
|
2795
2795
|
const deserializeAws_queryModifyDBClusterCommandError = async (output, context) => {
|
|
2796
2796
|
const parsedOutput = {
|
|
2797
2797
|
...output,
|
|
2798
|
-
body: await
|
|
2798
|
+
body: await parseErrorBody(output.body, context),
|
|
2799
2799
|
};
|
|
2800
2800
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2801
2801
|
switch (errorCode) {
|
|
@@ -2805,7 +2805,7 @@ const deserializeAws_queryModifyDBClusterCommandError = async (output, context)
|
|
|
2805
2805
|
case "DBClusterNotFoundFault":
|
|
2806
2806
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
2807
2807
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
2808
|
-
case "
|
|
2808
|
+
case "DBClusterParameterGroupNotFound":
|
|
2809
2809
|
case "com.amazonaws.neptune#DBClusterParameterGroupNotFoundFault":
|
|
2810
2810
|
throw await deserializeAws_queryDBClusterParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
2811
2811
|
case "DBSubnetGroupNotFoundFault":
|
|
@@ -2814,10 +2814,10 @@ const deserializeAws_queryModifyDBClusterCommandError = async (output, context)
|
|
|
2814
2814
|
case "InvalidDBClusterStateFault":
|
|
2815
2815
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
2816
2816
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
2817
|
-
case "
|
|
2817
|
+
case "InvalidDBInstanceState":
|
|
2818
2818
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
2819
2819
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
2820
|
-
case "
|
|
2820
|
+
case "InvalidDBSecurityGroupState":
|
|
2821
2821
|
case "com.amazonaws.neptune#InvalidDBSecurityGroupStateFault":
|
|
2822
2822
|
throw await deserializeAws_queryInvalidDBSecurityGroupStateFaultResponse(parsedOutput, context);
|
|
2823
2823
|
case "InvalidDBSubnetGroupStateFault":
|
|
@@ -2829,7 +2829,7 @@ const deserializeAws_queryModifyDBClusterCommandError = async (output, context)
|
|
|
2829
2829
|
case "InvalidVPCNetworkStateFault":
|
|
2830
2830
|
case "com.amazonaws.neptune#InvalidVPCNetworkStateFault":
|
|
2831
2831
|
throw await deserializeAws_queryInvalidVPCNetworkStateFaultResponse(parsedOutput, context);
|
|
2832
|
-
case "
|
|
2832
|
+
case "StorageQuotaExceeded":
|
|
2833
2833
|
case "com.amazonaws.neptune#StorageQuotaExceededFault":
|
|
2834
2834
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
2835
2835
|
default:
|
|
@@ -2859,14 +2859,14 @@ exports.deserializeAws_queryModifyDBClusterEndpointCommand = deserializeAws_quer
|
|
|
2859
2859
|
const deserializeAws_queryModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
2860
2860
|
const parsedOutput = {
|
|
2861
2861
|
...output,
|
|
2862
|
-
body: await
|
|
2862
|
+
body: await parseErrorBody(output.body, context),
|
|
2863
2863
|
};
|
|
2864
2864
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2865
2865
|
switch (errorCode) {
|
|
2866
2866
|
case "DBClusterEndpointNotFoundFault":
|
|
2867
2867
|
case "com.amazonaws.neptune#DBClusterEndpointNotFoundFault":
|
|
2868
2868
|
throw await deserializeAws_queryDBClusterEndpointNotFoundFaultResponse(parsedOutput, context);
|
|
2869
|
-
case "
|
|
2869
|
+
case "DBInstanceNotFound":
|
|
2870
2870
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
2871
2871
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
2872
2872
|
case "InvalidDBClusterEndpointStateFault":
|
|
@@ -2875,7 +2875,7 @@ const deserializeAws_queryModifyDBClusterEndpointCommandError = async (output, c
|
|
|
2875
2875
|
case "InvalidDBClusterStateFault":
|
|
2876
2876
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
2877
2877
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
2878
|
-
case "
|
|
2878
|
+
case "InvalidDBInstanceState":
|
|
2879
2879
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
2880
2880
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
2881
2881
|
default:
|
|
@@ -2905,14 +2905,14 @@ exports.deserializeAws_queryModifyDBClusterParameterGroupCommand = deserializeAw
|
|
|
2905
2905
|
const deserializeAws_queryModifyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
2906
2906
|
const parsedOutput = {
|
|
2907
2907
|
...output,
|
|
2908
|
-
body: await
|
|
2908
|
+
body: await parseErrorBody(output.body, context),
|
|
2909
2909
|
};
|
|
2910
2910
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2911
2911
|
switch (errorCode) {
|
|
2912
|
-
case "
|
|
2912
|
+
case "DBParameterGroupNotFound":
|
|
2913
2913
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
2914
2914
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
2915
|
-
case "
|
|
2915
|
+
case "InvalidDBParameterGroupState":
|
|
2916
2916
|
case "com.amazonaws.neptune#InvalidDBParameterGroupStateFault":
|
|
2917
2917
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
2918
2918
|
default:
|
|
@@ -2942,7 +2942,7 @@ exports.deserializeAws_queryModifyDBClusterSnapshotAttributeCommand = deserializ
|
|
|
2942
2942
|
const deserializeAws_queryModifyDBClusterSnapshotAttributeCommandError = async (output, context) => {
|
|
2943
2943
|
const parsedOutput = {
|
|
2944
2944
|
...output,
|
|
2945
|
-
body: await
|
|
2945
|
+
body: await parseErrorBody(output.body, context),
|
|
2946
2946
|
};
|
|
2947
2947
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2948
2948
|
switch (errorCode) {
|
|
@@ -2952,7 +2952,7 @@ const deserializeAws_queryModifyDBClusterSnapshotAttributeCommandError = async (
|
|
|
2952
2952
|
case "InvalidDBClusterSnapshotStateFault":
|
|
2953
2953
|
case "com.amazonaws.neptune#InvalidDBClusterSnapshotStateFault":
|
|
2954
2954
|
throw await deserializeAws_queryInvalidDBClusterSnapshotStateFaultResponse(parsedOutput, context);
|
|
2955
|
-
case "
|
|
2955
|
+
case "SharedSnapshotQuotaExceeded":
|
|
2956
2956
|
case "com.amazonaws.neptune#SharedSnapshotQuotaExceededFault":
|
|
2957
2957
|
throw await deserializeAws_querySharedSnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
2958
2958
|
default:
|
|
@@ -2982,41 +2982,41 @@ exports.deserializeAws_queryModifyDBInstanceCommand = deserializeAws_queryModify
|
|
|
2982
2982
|
const deserializeAws_queryModifyDBInstanceCommandError = async (output, context) => {
|
|
2983
2983
|
const parsedOutput = {
|
|
2984
2984
|
...output,
|
|
2985
|
-
body: await
|
|
2985
|
+
body: await parseErrorBody(output.body, context),
|
|
2986
2986
|
};
|
|
2987
2987
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2988
2988
|
switch (errorCode) {
|
|
2989
|
-
case "
|
|
2989
|
+
case "AuthorizationNotFound":
|
|
2990
2990
|
case "com.amazonaws.neptune#AuthorizationNotFoundFault":
|
|
2991
2991
|
throw await deserializeAws_queryAuthorizationNotFoundFaultResponse(parsedOutput, context);
|
|
2992
|
-
case "
|
|
2992
|
+
case "CertificateNotFound":
|
|
2993
2993
|
case "com.amazonaws.neptune#CertificateNotFoundFault":
|
|
2994
2994
|
throw await deserializeAws_queryCertificateNotFoundFaultResponse(parsedOutput, context);
|
|
2995
|
-
case "
|
|
2995
|
+
case "DBInstanceAlreadyExists":
|
|
2996
2996
|
case "com.amazonaws.neptune#DBInstanceAlreadyExistsFault":
|
|
2997
2997
|
throw await deserializeAws_queryDBInstanceAlreadyExistsFaultResponse(parsedOutput, context);
|
|
2998
|
-
case "
|
|
2998
|
+
case "DBInstanceNotFound":
|
|
2999
2999
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
3000
3000
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
3001
|
-
case "
|
|
3001
|
+
case "DBParameterGroupNotFound":
|
|
3002
3002
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
3003
3003
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3004
|
-
case "
|
|
3004
|
+
case "DBSecurityGroupNotFound":
|
|
3005
3005
|
case "com.amazonaws.neptune#DBSecurityGroupNotFoundFault":
|
|
3006
3006
|
throw await deserializeAws_queryDBSecurityGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3007
|
-
case "
|
|
3007
|
+
case "DBUpgradeDependencyFailure":
|
|
3008
3008
|
case "com.amazonaws.neptune#DBUpgradeDependencyFailureFault":
|
|
3009
3009
|
throw await deserializeAws_queryDBUpgradeDependencyFailureFaultResponse(parsedOutput, context);
|
|
3010
3010
|
case "DomainNotFoundFault":
|
|
3011
3011
|
case "com.amazonaws.neptune#DomainNotFoundFault":
|
|
3012
3012
|
throw await deserializeAws_queryDomainNotFoundFaultResponse(parsedOutput, context);
|
|
3013
|
-
case "
|
|
3013
|
+
case "InsufficientDBInstanceCapacity":
|
|
3014
3014
|
case "com.amazonaws.neptune#InsufficientDBInstanceCapacityFault":
|
|
3015
3015
|
throw await deserializeAws_queryInsufficientDBInstanceCapacityFaultResponse(parsedOutput, context);
|
|
3016
|
-
case "
|
|
3016
|
+
case "InvalidDBInstanceState":
|
|
3017
3017
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
3018
3018
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
3019
|
-
case "
|
|
3019
|
+
case "InvalidDBSecurityGroupState":
|
|
3020
3020
|
case "com.amazonaws.neptune#InvalidDBSecurityGroupStateFault":
|
|
3021
3021
|
throw await deserializeAws_queryInvalidDBSecurityGroupStateFaultResponse(parsedOutput, context);
|
|
3022
3022
|
case "InvalidVPCNetworkStateFault":
|
|
@@ -3028,10 +3028,10 @@ const deserializeAws_queryModifyDBInstanceCommandError = async (output, context)
|
|
|
3028
3028
|
case "ProvisionedIopsNotAvailableInAZFault":
|
|
3029
3029
|
case "com.amazonaws.neptune#ProvisionedIopsNotAvailableInAZFault":
|
|
3030
3030
|
throw await deserializeAws_queryProvisionedIopsNotAvailableInAZFaultResponse(parsedOutput, context);
|
|
3031
|
-
case "
|
|
3031
|
+
case "StorageQuotaExceeded":
|
|
3032
3032
|
case "com.amazonaws.neptune#StorageQuotaExceededFault":
|
|
3033
3033
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
3034
|
-
case "
|
|
3034
|
+
case "StorageTypeNotSupported":
|
|
3035
3035
|
case "com.amazonaws.neptune#StorageTypeNotSupportedFault":
|
|
3036
3036
|
throw await deserializeAws_queryStorageTypeNotSupportedFaultResponse(parsedOutput, context);
|
|
3037
3037
|
default:
|
|
@@ -3061,14 +3061,14 @@ exports.deserializeAws_queryModifyDBParameterGroupCommand = deserializeAws_query
|
|
|
3061
3061
|
const deserializeAws_queryModifyDBParameterGroupCommandError = async (output, context) => {
|
|
3062
3062
|
const parsedOutput = {
|
|
3063
3063
|
...output,
|
|
3064
|
-
body: await
|
|
3064
|
+
body: await parseErrorBody(output.body, context),
|
|
3065
3065
|
};
|
|
3066
3066
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3067
3067
|
switch (errorCode) {
|
|
3068
|
-
case "
|
|
3068
|
+
case "DBParameterGroupNotFound":
|
|
3069
3069
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
3070
3070
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3071
|
-
case "
|
|
3071
|
+
case "InvalidDBParameterGroupState":
|
|
3072
3072
|
case "com.amazonaws.neptune#InvalidDBParameterGroupStateFault":
|
|
3073
3073
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
3074
3074
|
default:
|
|
@@ -3098,7 +3098,7 @@ exports.deserializeAws_queryModifyDBSubnetGroupCommand = deserializeAws_queryMod
|
|
|
3098
3098
|
const deserializeAws_queryModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
3099
3099
|
const parsedOutput = {
|
|
3100
3100
|
...output,
|
|
3101
|
-
body: await
|
|
3101
|
+
body: await parseErrorBody(output.body, context),
|
|
3102
3102
|
};
|
|
3103
3103
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3104
3104
|
switch (errorCode) {
|
|
@@ -3144,26 +3144,26 @@ exports.deserializeAws_queryModifyEventSubscriptionCommand = deserializeAws_quer
|
|
|
3144
3144
|
const deserializeAws_queryModifyEventSubscriptionCommandError = async (output, context) => {
|
|
3145
3145
|
const parsedOutput = {
|
|
3146
3146
|
...output,
|
|
3147
|
-
body: await
|
|
3147
|
+
body: await parseErrorBody(output.body, context),
|
|
3148
3148
|
};
|
|
3149
3149
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3150
3150
|
switch (errorCode) {
|
|
3151
|
-
case "
|
|
3151
|
+
case "EventSubscriptionQuotaExceeded":
|
|
3152
3152
|
case "com.amazonaws.neptune#EventSubscriptionQuotaExceededFault":
|
|
3153
3153
|
throw await deserializeAws_queryEventSubscriptionQuotaExceededFaultResponse(parsedOutput, context);
|
|
3154
|
-
case "
|
|
3154
|
+
case "SNSInvalidTopic":
|
|
3155
3155
|
case "com.amazonaws.neptune#SNSInvalidTopicFault":
|
|
3156
3156
|
throw await deserializeAws_querySNSInvalidTopicFaultResponse(parsedOutput, context);
|
|
3157
|
-
case "
|
|
3157
|
+
case "SNSNoAuthorization":
|
|
3158
3158
|
case "com.amazonaws.neptune#SNSNoAuthorizationFault":
|
|
3159
3159
|
throw await deserializeAws_querySNSNoAuthorizationFaultResponse(parsedOutput, context);
|
|
3160
|
-
case "
|
|
3160
|
+
case "SNSTopicArnNotFound":
|
|
3161
3161
|
case "com.amazonaws.neptune#SNSTopicArnNotFoundFault":
|
|
3162
3162
|
throw await deserializeAws_querySNSTopicArnNotFoundFaultResponse(parsedOutput, context);
|
|
3163
|
-
case "
|
|
3163
|
+
case "SubscriptionCategoryNotFound":
|
|
3164
3164
|
case "com.amazonaws.neptune#SubscriptionCategoryNotFoundFault":
|
|
3165
3165
|
throw await deserializeAws_querySubscriptionCategoryNotFoundFaultResponse(parsedOutput, context);
|
|
3166
|
-
case "
|
|
3166
|
+
case "SubscriptionNotFound":
|
|
3167
3167
|
case "com.amazonaws.neptune#SubscriptionNotFoundFault":
|
|
3168
3168
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
3169
3169
|
default:
|
|
@@ -3193,7 +3193,7 @@ exports.deserializeAws_queryModifyGlobalClusterCommand = deserializeAws_queryMod
|
|
|
3193
3193
|
const deserializeAws_queryModifyGlobalClusterCommandError = async (output, context) => {
|
|
3194
3194
|
const parsedOutput = {
|
|
3195
3195
|
...output,
|
|
3196
|
-
body: await
|
|
3196
|
+
body: await parseErrorBody(output.body, context),
|
|
3197
3197
|
};
|
|
3198
3198
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3199
3199
|
switch (errorCode) {
|
|
@@ -3230,7 +3230,7 @@ exports.deserializeAws_queryPromoteReadReplicaDBClusterCommand = deserializeAws_
|
|
|
3230
3230
|
const deserializeAws_queryPromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
3231
3231
|
const parsedOutput = {
|
|
3232
3232
|
...output,
|
|
3233
|
-
body: await
|
|
3233
|
+
body: await parseErrorBody(output.body, context),
|
|
3234
3234
|
};
|
|
3235
3235
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3236
3236
|
switch (errorCode) {
|
|
@@ -3267,14 +3267,14 @@ exports.deserializeAws_queryRebootDBInstanceCommand = deserializeAws_queryReboot
|
|
|
3267
3267
|
const deserializeAws_queryRebootDBInstanceCommandError = async (output, context) => {
|
|
3268
3268
|
const parsedOutput = {
|
|
3269
3269
|
...output,
|
|
3270
|
-
body: await
|
|
3270
|
+
body: await parseErrorBody(output.body, context),
|
|
3271
3271
|
};
|
|
3272
3272
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3273
3273
|
switch (errorCode) {
|
|
3274
|
-
case "
|
|
3274
|
+
case "DBInstanceNotFound":
|
|
3275
3275
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
3276
3276
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
3277
|
-
case "
|
|
3277
|
+
case "InvalidDBInstanceState":
|
|
3278
3278
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
3279
3279
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
3280
3280
|
default:
|
|
@@ -3304,7 +3304,7 @@ exports.deserializeAws_queryRemoveFromGlobalClusterCommand = deserializeAws_quer
|
|
|
3304
3304
|
const deserializeAws_queryRemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
3305
3305
|
const parsedOutput = {
|
|
3306
3306
|
...output,
|
|
3307
|
-
body: await
|
|
3307
|
+
body: await parseErrorBody(output.body, context),
|
|
3308
3308
|
};
|
|
3309
3309
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3310
3310
|
switch (errorCode) {
|
|
@@ -3341,14 +3341,14 @@ exports.deserializeAws_queryRemoveRoleFromDBClusterCommand = deserializeAws_quer
|
|
|
3341
3341
|
const deserializeAws_queryRemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
3342
3342
|
const parsedOutput = {
|
|
3343
3343
|
...output,
|
|
3344
|
-
body: await
|
|
3344
|
+
body: await parseErrorBody(output.body, context),
|
|
3345
3345
|
};
|
|
3346
3346
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3347
3347
|
switch (errorCode) {
|
|
3348
3348
|
case "DBClusterNotFoundFault":
|
|
3349
3349
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
3350
3350
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
3351
|
-
case "
|
|
3351
|
+
case "DBClusterRoleNotFound":
|
|
3352
3352
|
case "com.amazonaws.neptune#DBClusterRoleNotFoundFault":
|
|
3353
3353
|
throw await deserializeAws_queryDBClusterRoleNotFoundFaultResponse(parsedOutput, context);
|
|
3354
3354
|
case "InvalidDBClusterStateFault":
|
|
@@ -3381,14 +3381,14 @@ exports.deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand = dese
|
|
|
3381
3381
|
const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommandError = async (output, context) => {
|
|
3382
3382
|
const parsedOutput = {
|
|
3383
3383
|
...output,
|
|
3384
|
-
body: await
|
|
3384
|
+
body: await parseErrorBody(output.body, context),
|
|
3385
3385
|
};
|
|
3386
3386
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3387
3387
|
switch (errorCode) {
|
|
3388
|
-
case "
|
|
3388
|
+
case "SourceNotFound":
|
|
3389
3389
|
case "com.amazonaws.neptune#SourceNotFoundFault":
|
|
3390
3390
|
throw await deserializeAws_querySourceNotFoundFaultResponse(parsedOutput, context);
|
|
3391
|
-
case "
|
|
3391
|
+
case "SubscriptionNotFound":
|
|
3392
3392
|
case "com.amazonaws.neptune#SubscriptionNotFoundFault":
|
|
3393
3393
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
3394
3394
|
default:
|
|
@@ -3415,17 +3415,17 @@ exports.deserializeAws_queryRemoveTagsFromResourceCommand = deserializeAws_query
|
|
|
3415
3415
|
const deserializeAws_queryRemoveTagsFromResourceCommandError = async (output, context) => {
|
|
3416
3416
|
const parsedOutput = {
|
|
3417
3417
|
...output,
|
|
3418
|
-
body: await
|
|
3418
|
+
body: await parseErrorBody(output.body, context),
|
|
3419
3419
|
};
|
|
3420
3420
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3421
3421
|
switch (errorCode) {
|
|
3422
3422
|
case "DBClusterNotFoundFault":
|
|
3423
3423
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
3424
3424
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
3425
|
-
case "
|
|
3425
|
+
case "DBInstanceNotFound":
|
|
3426
3426
|
case "com.amazonaws.neptune#DBInstanceNotFoundFault":
|
|
3427
3427
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
3428
|
-
case "
|
|
3428
|
+
case "DBSnapshotNotFound":
|
|
3429
3429
|
case "com.amazonaws.neptune#DBSnapshotNotFoundFault":
|
|
3430
3430
|
throw await deserializeAws_queryDBSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
3431
3431
|
default:
|
|
@@ -3455,14 +3455,14 @@ exports.deserializeAws_queryResetDBClusterParameterGroupCommand = deserializeAws
|
|
|
3455
3455
|
const deserializeAws_queryResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
3456
3456
|
const parsedOutput = {
|
|
3457
3457
|
...output,
|
|
3458
|
-
body: await
|
|
3458
|
+
body: await parseErrorBody(output.body, context),
|
|
3459
3459
|
};
|
|
3460
3460
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3461
3461
|
switch (errorCode) {
|
|
3462
|
-
case "
|
|
3462
|
+
case "DBParameterGroupNotFound":
|
|
3463
3463
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
3464
3464
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3465
|
-
case "
|
|
3465
|
+
case "InvalidDBParameterGroupState":
|
|
3466
3466
|
case "com.amazonaws.neptune#InvalidDBParameterGroupStateFault":
|
|
3467
3467
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
3468
3468
|
default:
|
|
@@ -3492,14 +3492,14 @@ exports.deserializeAws_queryResetDBParameterGroupCommand = deserializeAws_queryR
|
|
|
3492
3492
|
const deserializeAws_queryResetDBParameterGroupCommandError = async (output, context) => {
|
|
3493
3493
|
const parsedOutput = {
|
|
3494
3494
|
...output,
|
|
3495
|
-
body: await
|
|
3495
|
+
body: await parseErrorBody(output.body, context),
|
|
3496
3496
|
};
|
|
3497
3497
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3498
3498
|
switch (errorCode) {
|
|
3499
|
-
case "
|
|
3499
|
+
case "DBParameterGroupNotFound":
|
|
3500
3500
|
case "com.amazonaws.neptune#DBParameterGroupNotFoundFault":
|
|
3501
3501
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3502
|
-
case "
|
|
3502
|
+
case "InvalidDBParameterGroupState":
|
|
3503
3503
|
case "com.amazonaws.neptune#InvalidDBParameterGroupStateFault":
|
|
3504
3504
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
3505
3505
|
default:
|
|
@@ -3529,14 +3529,14 @@ exports.deserializeAws_queryRestoreDBClusterFromSnapshotCommand = deserializeAws
|
|
|
3529
3529
|
const deserializeAws_queryRestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
3530
3530
|
const parsedOutput = {
|
|
3531
3531
|
...output,
|
|
3532
|
-
body: await
|
|
3532
|
+
body: await parseErrorBody(output.body, context),
|
|
3533
3533
|
};
|
|
3534
3534
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3535
3535
|
switch (errorCode) {
|
|
3536
3536
|
case "DBClusterAlreadyExistsFault":
|
|
3537
3537
|
case "com.amazonaws.neptune#DBClusterAlreadyExistsFault":
|
|
3538
3538
|
throw await deserializeAws_queryDBClusterAlreadyExistsFaultResponse(parsedOutput, context);
|
|
3539
|
-
case "
|
|
3539
|
+
case "DBClusterParameterGroupNotFound":
|
|
3540
3540
|
case "com.amazonaws.neptune#DBClusterParameterGroupNotFoundFault":
|
|
3541
3541
|
throw await deserializeAws_queryDBClusterParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3542
3542
|
case "DBClusterQuotaExceededFault":
|
|
@@ -3545,7 +3545,7 @@ const deserializeAws_queryRestoreDBClusterFromSnapshotCommandError = async (outp
|
|
|
3545
3545
|
case "DBClusterSnapshotNotFoundFault":
|
|
3546
3546
|
case "com.amazonaws.neptune#DBClusterSnapshotNotFoundFault":
|
|
3547
3547
|
throw await deserializeAws_queryDBClusterSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
3548
|
-
case "
|
|
3548
|
+
case "DBSnapshotNotFound":
|
|
3549
3549
|
case "com.amazonaws.neptune#DBSnapshotNotFoundFault":
|
|
3550
3550
|
throw await deserializeAws_queryDBSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
3551
3551
|
case "DBSubnetGroupNotFoundFault":
|
|
@@ -3554,13 +3554,13 @@ const deserializeAws_queryRestoreDBClusterFromSnapshotCommandError = async (outp
|
|
|
3554
3554
|
case "InsufficientDBClusterCapacityFault":
|
|
3555
3555
|
case "com.amazonaws.neptune#InsufficientDBClusterCapacityFault":
|
|
3556
3556
|
throw await deserializeAws_queryInsufficientDBClusterCapacityFaultResponse(parsedOutput, context);
|
|
3557
|
-
case "
|
|
3557
|
+
case "InsufficientStorageClusterCapacity":
|
|
3558
3558
|
case "com.amazonaws.neptune#InsufficientStorageClusterCapacityFault":
|
|
3559
3559
|
throw await deserializeAws_queryInsufficientStorageClusterCapacityFaultResponse(parsedOutput, context);
|
|
3560
3560
|
case "InvalidDBClusterSnapshotStateFault":
|
|
3561
3561
|
case "com.amazonaws.neptune#InvalidDBClusterSnapshotStateFault":
|
|
3562
3562
|
throw await deserializeAws_queryInvalidDBClusterSnapshotStateFaultResponse(parsedOutput, context);
|
|
3563
|
-
case "
|
|
3563
|
+
case "InvalidDBSnapshotState":
|
|
3564
3564
|
case "com.amazonaws.neptune#InvalidDBSnapshotStateFault":
|
|
3565
3565
|
throw await deserializeAws_queryInvalidDBSnapshotStateFaultResponse(parsedOutput, context);
|
|
3566
3566
|
case "InvalidRestoreFault":
|
|
@@ -3578,7 +3578,7 @@ const deserializeAws_queryRestoreDBClusterFromSnapshotCommandError = async (outp
|
|
|
3578
3578
|
case "OptionGroupNotFoundFault":
|
|
3579
3579
|
case "com.amazonaws.neptune#OptionGroupNotFoundFault":
|
|
3580
3580
|
throw await deserializeAws_queryOptionGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3581
|
-
case "
|
|
3581
|
+
case "StorageQuotaExceeded":
|
|
3582
3582
|
case "com.amazonaws.neptune#StorageQuotaExceededFault":
|
|
3583
3583
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
3584
3584
|
default:
|
|
@@ -3608,7 +3608,7 @@ exports.deserializeAws_queryRestoreDBClusterToPointInTimeCommand = deserializeAw
|
|
|
3608
3608
|
const deserializeAws_queryRestoreDBClusterToPointInTimeCommandError = async (output, context) => {
|
|
3609
3609
|
const parsedOutput = {
|
|
3610
3610
|
...output,
|
|
3611
|
-
body: await
|
|
3611
|
+
body: await parseErrorBody(output.body, context),
|
|
3612
3612
|
};
|
|
3613
3613
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3614
3614
|
switch (errorCode) {
|
|
@@ -3618,7 +3618,7 @@ const deserializeAws_queryRestoreDBClusterToPointInTimeCommandError = async (out
|
|
|
3618
3618
|
case "DBClusterNotFoundFault":
|
|
3619
3619
|
case "com.amazonaws.neptune#DBClusterNotFoundFault":
|
|
3620
3620
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
3621
|
-
case "
|
|
3621
|
+
case "DBClusterParameterGroupNotFound":
|
|
3622
3622
|
case "com.amazonaws.neptune#DBClusterParameterGroupNotFoundFault":
|
|
3623
3623
|
throw await deserializeAws_queryDBClusterParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3624
3624
|
case "DBClusterQuotaExceededFault":
|
|
@@ -3633,7 +3633,7 @@ const deserializeAws_queryRestoreDBClusterToPointInTimeCommandError = async (out
|
|
|
3633
3633
|
case "InsufficientDBClusterCapacityFault":
|
|
3634
3634
|
case "com.amazonaws.neptune#InsufficientDBClusterCapacityFault":
|
|
3635
3635
|
throw await deserializeAws_queryInsufficientDBClusterCapacityFaultResponse(parsedOutput, context);
|
|
3636
|
-
case "
|
|
3636
|
+
case "InsufficientStorageClusterCapacity":
|
|
3637
3637
|
case "com.amazonaws.neptune#InsufficientStorageClusterCapacityFault":
|
|
3638
3638
|
throw await deserializeAws_queryInsufficientStorageClusterCapacityFaultResponse(parsedOutput, context);
|
|
3639
3639
|
case "InvalidDBClusterSnapshotStateFault":
|
|
@@ -3642,7 +3642,7 @@ const deserializeAws_queryRestoreDBClusterToPointInTimeCommandError = async (out
|
|
|
3642
3642
|
case "InvalidDBClusterStateFault":
|
|
3643
3643
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
3644
3644
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
3645
|
-
case "
|
|
3645
|
+
case "InvalidDBSnapshotState":
|
|
3646
3646
|
case "com.amazonaws.neptune#InvalidDBSnapshotStateFault":
|
|
3647
3647
|
throw await deserializeAws_queryInvalidDBSnapshotStateFaultResponse(parsedOutput, context);
|
|
3648
3648
|
case "InvalidRestoreFault":
|
|
@@ -3660,7 +3660,7 @@ const deserializeAws_queryRestoreDBClusterToPointInTimeCommandError = async (out
|
|
|
3660
3660
|
case "OptionGroupNotFoundFault":
|
|
3661
3661
|
case "com.amazonaws.neptune#OptionGroupNotFoundFault":
|
|
3662
3662
|
throw await deserializeAws_queryOptionGroupNotFoundFaultResponse(parsedOutput, context);
|
|
3663
|
-
case "
|
|
3663
|
+
case "StorageQuotaExceeded":
|
|
3664
3664
|
case "com.amazonaws.neptune#StorageQuotaExceededFault":
|
|
3665
3665
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
3666
3666
|
default:
|
|
@@ -3690,7 +3690,7 @@ exports.deserializeAws_queryStartDBClusterCommand = deserializeAws_queryStartDBC
|
|
|
3690
3690
|
const deserializeAws_queryStartDBClusterCommandError = async (output, context) => {
|
|
3691
3691
|
const parsedOutput = {
|
|
3692
3692
|
...output,
|
|
3693
|
-
body: await
|
|
3693
|
+
body: await parseErrorBody(output.body, context),
|
|
3694
3694
|
};
|
|
3695
3695
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3696
3696
|
switch (errorCode) {
|
|
@@ -3700,7 +3700,7 @@ const deserializeAws_queryStartDBClusterCommandError = async (output, context) =
|
|
|
3700
3700
|
case "InvalidDBClusterStateFault":
|
|
3701
3701
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
3702
3702
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
3703
|
-
case "
|
|
3703
|
+
case "InvalidDBInstanceState":
|
|
3704
3704
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
3705
3705
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
3706
3706
|
default:
|
|
@@ -3730,7 +3730,7 @@ exports.deserializeAws_queryStopDBClusterCommand = deserializeAws_queryStopDBClu
|
|
|
3730
3730
|
const deserializeAws_queryStopDBClusterCommandError = async (output, context) => {
|
|
3731
3731
|
const parsedOutput = {
|
|
3732
3732
|
...output,
|
|
3733
|
-
body: await
|
|
3733
|
+
body: await parseErrorBody(output.body, context),
|
|
3734
3734
|
};
|
|
3735
3735
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3736
3736
|
switch (errorCode) {
|
|
@@ -3740,7 +3740,7 @@ const deserializeAws_queryStopDBClusterCommandError = async (output, context) =>
|
|
|
3740
3740
|
case "InvalidDBClusterStateFault":
|
|
3741
3741
|
case "com.amazonaws.neptune#InvalidDBClusterStateFault":
|
|
3742
3742
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
3743
|
-
case "
|
|
3743
|
+
case "InvalidDBInstanceState":
|
|
3744
3744
|
case "com.amazonaws.neptune#InvalidDBInstanceStateFault":
|
|
3745
3745
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
3746
3746
|
default:
|
|
@@ -9552,6 +9552,14 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
9552
9552
|
}
|
|
9553
9553
|
return {};
|
|
9554
9554
|
});
|
|
9555
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
9556
|
+
var _a;
|
|
9557
|
+
const value = await parseBody(errorBody, context);
|
|
9558
|
+
if (value.Error) {
|
|
9559
|
+
value.Error.message = (_a = value.Error.message) !== null && _a !== void 0 ? _a : value.Error.Message;
|
|
9560
|
+
}
|
|
9561
|
+
return value;
|
|
9562
|
+
};
|
|
9555
9563
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
9556
9564
|
.map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
|
|
9557
9565
|
.join("&");
|