@aws-sdk/client-codepipeline 3.503.1 → 3.507.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +164 -1090
- package/dist-es/protocols/Aws_json1_1.js +145 -1071
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1254,7 +1254,7 @@ var se_UpdatePipelineCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1254
1254
|
}, "se_UpdatePipelineCommand");
|
|
1255
1255
|
var de_AcknowledgeJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1256
1256
|
if (output.statusCode >= 300) {
|
|
1257
|
-
return
|
|
1257
|
+
return de_CommandError(output, context);
|
|
1258
1258
|
}
|
|
1259
1259
|
const data = await parseBody(output.body, context);
|
|
1260
1260
|
let contents = {};
|
|
@@ -1265,34 +1265,9 @@ var de_AcknowledgeJobCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1265
1265
|
};
|
|
1266
1266
|
return response;
|
|
1267
1267
|
}, "de_AcknowledgeJobCommand");
|
|
1268
|
-
var de_AcknowledgeJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1269
|
-
const parsedOutput = {
|
|
1270
|
-
...output,
|
|
1271
|
-
body: await parseErrorBody(output.body, context)
|
|
1272
|
-
};
|
|
1273
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1274
|
-
switch (errorCode) {
|
|
1275
|
-
case "InvalidNonceException":
|
|
1276
|
-
case "com.amazonaws.codepipeline#InvalidNonceException":
|
|
1277
|
-
throw await de_InvalidNonceExceptionRes(parsedOutput, context);
|
|
1278
|
-
case "JobNotFoundException":
|
|
1279
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
1280
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
1281
|
-
case "ValidationException":
|
|
1282
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1283
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1284
|
-
default:
|
|
1285
|
-
const parsedBody = parsedOutput.body;
|
|
1286
|
-
return throwDefaultError({
|
|
1287
|
-
output,
|
|
1288
|
-
parsedBody,
|
|
1289
|
-
errorCode
|
|
1290
|
-
});
|
|
1291
|
-
}
|
|
1292
|
-
}, "de_AcknowledgeJobCommandError");
|
|
1293
1268
|
var de_AcknowledgeThirdPartyJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1294
1269
|
if (output.statusCode >= 300) {
|
|
1295
|
-
return
|
|
1270
|
+
return de_CommandError(output, context);
|
|
1296
1271
|
}
|
|
1297
1272
|
const data = await parseBody(output.body, context);
|
|
1298
1273
|
let contents = {};
|
|
@@ -1303,37 +1278,9 @@ var de_AcknowledgeThirdPartyJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1303
1278
|
};
|
|
1304
1279
|
return response;
|
|
1305
1280
|
}, "de_AcknowledgeThirdPartyJobCommand");
|
|
1306
|
-
var de_AcknowledgeThirdPartyJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1307
|
-
const parsedOutput = {
|
|
1308
|
-
...output,
|
|
1309
|
-
body: await parseErrorBody(output.body, context)
|
|
1310
|
-
};
|
|
1311
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1312
|
-
switch (errorCode) {
|
|
1313
|
-
case "InvalidClientTokenException":
|
|
1314
|
-
case "com.amazonaws.codepipeline#InvalidClientTokenException":
|
|
1315
|
-
throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
|
|
1316
|
-
case "InvalidNonceException":
|
|
1317
|
-
case "com.amazonaws.codepipeline#InvalidNonceException":
|
|
1318
|
-
throw await de_InvalidNonceExceptionRes(parsedOutput, context);
|
|
1319
|
-
case "JobNotFoundException":
|
|
1320
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
1321
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
1322
|
-
case "ValidationException":
|
|
1323
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1324
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1325
|
-
default:
|
|
1326
|
-
const parsedBody = parsedOutput.body;
|
|
1327
|
-
return throwDefaultError({
|
|
1328
|
-
output,
|
|
1329
|
-
parsedBody,
|
|
1330
|
-
errorCode
|
|
1331
|
-
});
|
|
1332
|
-
}
|
|
1333
|
-
}, "de_AcknowledgeThirdPartyJobCommandError");
|
|
1334
1281
|
var de_CreateCustomActionTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1335
1282
|
if (output.statusCode >= 300) {
|
|
1336
|
-
return
|
|
1283
|
+
return de_CommandError(output, context);
|
|
1337
1284
|
}
|
|
1338
1285
|
const data = await parseBody(output.body, context);
|
|
1339
1286
|
let contents = {};
|
|
@@ -1344,40 +1291,9 @@ var de_CreateCustomActionTypeCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1344
1291
|
};
|
|
1345
1292
|
return response;
|
|
1346
1293
|
}, "de_CreateCustomActionTypeCommand");
|
|
1347
|
-
var de_CreateCustomActionTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1348
|
-
const parsedOutput = {
|
|
1349
|
-
...output,
|
|
1350
|
-
body: await parseErrorBody(output.body, context)
|
|
1351
|
-
};
|
|
1352
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1353
|
-
switch (errorCode) {
|
|
1354
|
-
case "ConcurrentModificationException":
|
|
1355
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
1356
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1357
|
-
case "InvalidTagsException":
|
|
1358
|
-
case "com.amazonaws.codepipeline#InvalidTagsException":
|
|
1359
|
-
throw await de_InvalidTagsExceptionRes(parsedOutput, context);
|
|
1360
|
-
case "LimitExceededException":
|
|
1361
|
-
case "com.amazonaws.codepipeline#LimitExceededException":
|
|
1362
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1363
|
-
case "TooManyTagsException":
|
|
1364
|
-
case "com.amazonaws.codepipeline#TooManyTagsException":
|
|
1365
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1366
|
-
case "ValidationException":
|
|
1367
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1368
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1369
|
-
default:
|
|
1370
|
-
const parsedBody = parsedOutput.body;
|
|
1371
|
-
return throwDefaultError({
|
|
1372
|
-
output,
|
|
1373
|
-
parsedBody,
|
|
1374
|
-
errorCode
|
|
1375
|
-
});
|
|
1376
|
-
}
|
|
1377
|
-
}, "de_CreateCustomActionTypeCommandError");
|
|
1378
1294
|
var de_CreatePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1379
1295
|
if (output.statusCode >= 300) {
|
|
1380
|
-
return
|
|
1296
|
+
return de_CommandError(output, context);
|
|
1381
1297
|
}
|
|
1382
1298
|
const data = await parseBody(output.body, context);
|
|
1383
1299
|
let contents = {};
|
|
@@ -1388,55 +1304,9 @@ var de_CreatePipelineCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1388
1304
|
};
|
|
1389
1305
|
return response;
|
|
1390
1306
|
}, "de_CreatePipelineCommand");
|
|
1391
|
-
var de_CreatePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1392
|
-
const parsedOutput = {
|
|
1393
|
-
...output,
|
|
1394
|
-
body: await parseErrorBody(output.body, context)
|
|
1395
|
-
};
|
|
1396
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1397
|
-
switch (errorCode) {
|
|
1398
|
-
case "ConcurrentModificationException":
|
|
1399
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
1400
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1401
|
-
case "InvalidActionDeclarationException":
|
|
1402
|
-
case "com.amazonaws.codepipeline#InvalidActionDeclarationException":
|
|
1403
|
-
throw await de_InvalidActionDeclarationExceptionRes(parsedOutput, context);
|
|
1404
|
-
case "InvalidBlockerDeclarationException":
|
|
1405
|
-
case "com.amazonaws.codepipeline#InvalidBlockerDeclarationException":
|
|
1406
|
-
throw await de_InvalidBlockerDeclarationExceptionRes(parsedOutput, context);
|
|
1407
|
-
case "InvalidStageDeclarationException":
|
|
1408
|
-
case "com.amazonaws.codepipeline#InvalidStageDeclarationException":
|
|
1409
|
-
throw await de_InvalidStageDeclarationExceptionRes(parsedOutput, context);
|
|
1410
|
-
case "InvalidStructureException":
|
|
1411
|
-
case "com.amazonaws.codepipeline#InvalidStructureException":
|
|
1412
|
-
throw await de_InvalidStructureExceptionRes(parsedOutput, context);
|
|
1413
|
-
case "InvalidTagsException":
|
|
1414
|
-
case "com.amazonaws.codepipeline#InvalidTagsException":
|
|
1415
|
-
throw await de_InvalidTagsExceptionRes(parsedOutput, context);
|
|
1416
|
-
case "LimitExceededException":
|
|
1417
|
-
case "com.amazonaws.codepipeline#LimitExceededException":
|
|
1418
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1419
|
-
case "PipelineNameInUseException":
|
|
1420
|
-
case "com.amazonaws.codepipeline#PipelineNameInUseException":
|
|
1421
|
-
throw await de_PipelineNameInUseExceptionRes(parsedOutput, context);
|
|
1422
|
-
case "TooManyTagsException":
|
|
1423
|
-
case "com.amazonaws.codepipeline#TooManyTagsException":
|
|
1424
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1425
|
-
case "ValidationException":
|
|
1426
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1427
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1428
|
-
default:
|
|
1429
|
-
const parsedBody = parsedOutput.body;
|
|
1430
|
-
return throwDefaultError({
|
|
1431
|
-
output,
|
|
1432
|
-
parsedBody,
|
|
1433
|
-
errorCode
|
|
1434
|
-
});
|
|
1435
|
-
}
|
|
1436
|
-
}, "de_CreatePipelineCommandError");
|
|
1437
1307
|
var de_DeleteCustomActionTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1438
1308
|
if (output.statusCode >= 300) {
|
|
1439
|
-
return
|
|
1309
|
+
return de_CommandError(output, context);
|
|
1440
1310
|
}
|
|
1441
1311
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1442
1312
|
const response = {
|
|
@@ -1444,31 +1314,9 @@ var de_DeleteCustomActionTypeCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1444
1314
|
};
|
|
1445
1315
|
return response;
|
|
1446
1316
|
}, "de_DeleteCustomActionTypeCommand");
|
|
1447
|
-
var de_DeleteCustomActionTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1448
|
-
const parsedOutput = {
|
|
1449
|
-
...output,
|
|
1450
|
-
body: await parseErrorBody(output.body, context)
|
|
1451
|
-
};
|
|
1452
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1453
|
-
switch (errorCode) {
|
|
1454
|
-
case "ConcurrentModificationException":
|
|
1455
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
1456
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1457
|
-
case "ValidationException":
|
|
1458
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1459
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1460
|
-
default:
|
|
1461
|
-
const parsedBody = parsedOutput.body;
|
|
1462
|
-
return throwDefaultError({
|
|
1463
|
-
output,
|
|
1464
|
-
parsedBody,
|
|
1465
|
-
errorCode
|
|
1466
|
-
});
|
|
1467
|
-
}
|
|
1468
|
-
}, "de_DeleteCustomActionTypeCommandError");
|
|
1469
1317
|
var de_DeletePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1470
1318
|
if (output.statusCode >= 300) {
|
|
1471
|
-
return
|
|
1319
|
+
return de_CommandError(output, context);
|
|
1472
1320
|
}
|
|
1473
1321
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1474
1322
|
const response = {
|
|
@@ -1476,31 +1324,9 @@ var de_DeletePipelineCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1476
1324
|
};
|
|
1477
1325
|
return response;
|
|
1478
1326
|
}, "de_DeletePipelineCommand");
|
|
1479
|
-
var de_DeletePipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1480
|
-
const parsedOutput = {
|
|
1481
|
-
...output,
|
|
1482
|
-
body: await parseErrorBody(output.body, context)
|
|
1483
|
-
};
|
|
1484
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1485
|
-
switch (errorCode) {
|
|
1486
|
-
case "ConcurrentModificationException":
|
|
1487
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
1488
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1489
|
-
case "ValidationException":
|
|
1490
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1491
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1492
|
-
default:
|
|
1493
|
-
const parsedBody = parsedOutput.body;
|
|
1494
|
-
return throwDefaultError({
|
|
1495
|
-
output,
|
|
1496
|
-
parsedBody,
|
|
1497
|
-
errorCode
|
|
1498
|
-
});
|
|
1499
|
-
}
|
|
1500
|
-
}, "de_DeletePipelineCommandError");
|
|
1501
1327
|
var de_DeleteWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1502
1328
|
if (output.statusCode >= 300) {
|
|
1503
|
-
return
|
|
1329
|
+
return de_CommandError(output, context);
|
|
1504
1330
|
}
|
|
1505
1331
|
const data = await parseBody(output.body, context);
|
|
1506
1332
|
let contents = {};
|
|
@@ -1511,31 +1337,9 @@ var de_DeleteWebhookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1511
1337
|
};
|
|
1512
1338
|
return response;
|
|
1513
1339
|
}, "de_DeleteWebhookCommand");
|
|
1514
|
-
var de_DeleteWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1515
|
-
const parsedOutput = {
|
|
1516
|
-
...output,
|
|
1517
|
-
body: await parseErrorBody(output.body, context)
|
|
1518
|
-
};
|
|
1519
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1520
|
-
switch (errorCode) {
|
|
1521
|
-
case "ConcurrentModificationException":
|
|
1522
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
1523
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1524
|
-
case "ValidationException":
|
|
1525
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1526
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1527
|
-
default:
|
|
1528
|
-
const parsedBody = parsedOutput.body;
|
|
1529
|
-
return throwDefaultError({
|
|
1530
|
-
output,
|
|
1531
|
-
parsedBody,
|
|
1532
|
-
errorCode
|
|
1533
|
-
});
|
|
1534
|
-
}
|
|
1535
|
-
}, "de_DeleteWebhookCommandError");
|
|
1536
1340
|
var de_DeregisterWebhookWithThirdPartyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1537
1341
|
if (output.statusCode >= 300) {
|
|
1538
|
-
return
|
|
1342
|
+
return de_CommandError(output, context);
|
|
1539
1343
|
}
|
|
1540
1344
|
const data = await parseBody(output.body, context);
|
|
1541
1345
|
let contents = {};
|
|
@@ -1546,31 +1350,9 @@ var de_DeregisterWebhookWithThirdPartyCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1546
1350
|
};
|
|
1547
1351
|
return response;
|
|
1548
1352
|
}, "de_DeregisterWebhookWithThirdPartyCommand");
|
|
1549
|
-
var de_DeregisterWebhookWithThirdPartyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1550
|
-
const parsedOutput = {
|
|
1551
|
-
...output,
|
|
1552
|
-
body: await parseErrorBody(output.body, context)
|
|
1553
|
-
};
|
|
1554
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1555
|
-
switch (errorCode) {
|
|
1556
|
-
case "ValidationException":
|
|
1557
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1558
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1559
|
-
case "WebhookNotFoundException":
|
|
1560
|
-
case "com.amazonaws.codepipeline#WebhookNotFoundException":
|
|
1561
|
-
throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
|
|
1562
|
-
default:
|
|
1563
|
-
const parsedBody = parsedOutput.body;
|
|
1564
|
-
return throwDefaultError({
|
|
1565
|
-
output,
|
|
1566
|
-
parsedBody,
|
|
1567
|
-
errorCode
|
|
1568
|
-
});
|
|
1569
|
-
}
|
|
1570
|
-
}, "de_DeregisterWebhookWithThirdPartyCommandError");
|
|
1571
1353
|
var de_DisableStageTransitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1572
1354
|
if (output.statusCode >= 300) {
|
|
1573
|
-
return
|
|
1355
|
+
return de_CommandError(output, context);
|
|
1574
1356
|
}
|
|
1575
1357
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1576
1358
|
const response = {
|
|
@@ -1578,34 +1360,9 @@ var de_DisableStageTransitionCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1578
1360
|
};
|
|
1579
1361
|
return response;
|
|
1580
1362
|
}, "de_DisableStageTransitionCommand");
|
|
1581
|
-
var de_DisableStageTransitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1582
|
-
const parsedOutput = {
|
|
1583
|
-
...output,
|
|
1584
|
-
body: await parseErrorBody(output.body, context)
|
|
1585
|
-
};
|
|
1586
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1587
|
-
switch (errorCode) {
|
|
1588
|
-
case "PipelineNotFoundException":
|
|
1589
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
1590
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1591
|
-
case "StageNotFoundException":
|
|
1592
|
-
case "com.amazonaws.codepipeline#StageNotFoundException":
|
|
1593
|
-
throw await de_StageNotFoundExceptionRes(parsedOutput, context);
|
|
1594
|
-
case "ValidationException":
|
|
1595
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1596
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1597
|
-
default:
|
|
1598
|
-
const parsedBody = parsedOutput.body;
|
|
1599
|
-
return throwDefaultError({
|
|
1600
|
-
output,
|
|
1601
|
-
parsedBody,
|
|
1602
|
-
errorCode
|
|
1603
|
-
});
|
|
1604
|
-
}
|
|
1605
|
-
}, "de_DisableStageTransitionCommandError");
|
|
1606
1363
|
var de_EnableStageTransitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1607
1364
|
if (output.statusCode >= 300) {
|
|
1608
|
-
return
|
|
1365
|
+
return de_CommandError(output, context);
|
|
1609
1366
|
}
|
|
1610
1367
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1611
1368
|
const response = {
|
|
@@ -1613,34 +1370,9 @@ var de_EnableStageTransitionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1613
1370
|
};
|
|
1614
1371
|
return response;
|
|
1615
1372
|
}, "de_EnableStageTransitionCommand");
|
|
1616
|
-
var de_EnableStageTransitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1617
|
-
const parsedOutput = {
|
|
1618
|
-
...output,
|
|
1619
|
-
body: await parseErrorBody(output.body, context)
|
|
1620
|
-
};
|
|
1621
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1622
|
-
switch (errorCode) {
|
|
1623
|
-
case "PipelineNotFoundException":
|
|
1624
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
1625
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1626
|
-
case "StageNotFoundException":
|
|
1627
|
-
case "com.amazonaws.codepipeline#StageNotFoundException":
|
|
1628
|
-
throw await de_StageNotFoundExceptionRes(parsedOutput, context);
|
|
1629
|
-
case "ValidationException":
|
|
1630
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1631
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1632
|
-
default:
|
|
1633
|
-
const parsedBody = parsedOutput.body;
|
|
1634
|
-
return throwDefaultError({
|
|
1635
|
-
output,
|
|
1636
|
-
parsedBody,
|
|
1637
|
-
errorCode
|
|
1638
|
-
});
|
|
1639
|
-
}
|
|
1640
|
-
}, "de_EnableStageTransitionCommandError");
|
|
1641
1373
|
var de_GetActionTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1642
1374
|
if (output.statusCode >= 300) {
|
|
1643
|
-
return
|
|
1375
|
+
return de_CommandError(output, context);
|
|
1644
1376
|
}
|
|
1645
1377
|
const data = await parseBody(output.body, context);
|
|
1646
1378
|
let contents = {};
|
|
@@ -1651,31 +1383,9 @@ var de_GetActionTypeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1651
1383
|
};
|
|
1652
1384
|
return response;
|
|
1653
1385
|
}, "de_GetActionTypeCommand");
|
|
1654
|
-
var de_GetActionTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1655
|
-
const parsedOutput = {
|
|
1656
|
-
...output,
|
|
1657
|
-
body: await parseErrorBody(output.body, context)
|
|
1658
|
-
};
|
|
1659
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1660
|
-
switch (errorCode) {
|
|
1661
|
-
case "ActionTypeNotFoundException":
|
|
1662
|
-
case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
|
|
1663
|
-
throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1664
|
-
case "ValidationException":
|
|
1665
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1666
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1667
|
-
default:
|
|
1668
|
-
const parsedBody = parsedOutput.body;
|
|
1669
|
-
return throwDefaultError({
|
|
1670
|
-
output,
|
|
1671
|
-
parsedBody,
|
|
1672
|
-
errorCode
|
|
1673
|
-
});
|
|
1674
|
-
}
|
|
1675
|
-
}, "de_GetActionTypeCommandError");
|
|
1676
1386
|
var de_GetJobDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1677
1387
|
if (output.statusCode >= 300) {
|
|
1678
|
-
return
|
|
1388
|
+
return de_CommandError(output, context);
|
|
1679
1389
|
}
|
|
1680
1390
|
const data = await parseBody(output.body, context);
|
|
1681
1391
|
let contents = {};
|
|
@@ -1686,31 +1396,9 @@ var de_GetJobDetailsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1686
1396
|
};
|
|
1687
1397
|
return response;
|
|
1688
1398
|
}, "de_GetJobDetailsCommand");
|
|
1689
|
-
var de_GetJobDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1690
|
-
const parsedOutput = {
|
|
1691
|
-
...output,
|
|
1692
|
-
body: await parseErrorBody(output.body, context)
|
|
1693
|
-
};
|
|
1694
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1695
|
-
switch (errorCode) {
|
|
1696
|
-
case "JobNotFoundException":
|
|
1697
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
1698
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
1699
|
-
case "ValidationException":
|
|
1700
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1701
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1702
|
-
default:
|
|
1703
|
-
const parsedBody = parsedOutput.body;
|
|
1704
|
-
return throwDefaultError({
|
|
1705
|
-
output,
|
|
1706
|
-
parsedBody,
|
|
1707
|
-
errorCode
|
|
1708
|
-
});
|
|
1709
|
-
}
|
|
1710
|
-
}, "de_GetJobDetailsCommandError");
|
|
1711
1399
|
var de_GetPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1712
1400
|
if (output.statusCode >= 300) {
|
|
1713
|
-
return
|
|
1401
|
+
return de_CommandError(output, context);
|
|
1714
1402
|
}
|
|
1715
1403
|
const data = await parseBody(output.body, context);
|
|
1716
1404
|
let contents = {};
|
|
@@ -1721,34 +1409,9 @@ var de_GetPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1721
1409
|
};
|
|
1722
1410
|
return response;
|
|
1723
1411
|
}, "de_GetPipelineCommand");
|
|
1724
|
-
var de_GetPipelineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1725
|
-
const parsedOutput = {
|
|
1726
|
-
...output,
|
|
1727
|
-
body: await parseErrorBody(output.body, context)
|
|
1728
|
-
};
|
|
1729
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1730
|
-
switch (errorCode) {
|
|
1731
|
-
case "PipelineNotFoundException":
|
|
1732
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
1733
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1734
|
-
case "PipelineVersionNotFoundException":
|
|
1735
|
-
case "com.amazonaws.codepipeline#PipelineVersionNotFoundException":
|
|
1736
|
-
throw await de_PipelineVersionNotFoundExceptionRes(parsedOutput, context);
|
|
1737
|
-
case "ValidationException":
|
|
1738
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1739
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1740
|
-
default:
|
|
1741
|
-
const parsedBody = parsedOutput.body;
|
|
1742
|
-
return throwDefaultError({
|
|
1743
|
-
output,
|
|
1744
|
-
parsedBody,
|
|
1745
|
-
errorCode
|
|
1746
|
-
});
|
|
1747
|
-
}
|
|
1748
|
-
}, "de_GetPipelineCommandError");
|
|
1749
1412
|
var de_GetPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1750
1413
|
if (output.statusCode >= 300) {
|
|
1751
|
-
return
|
|
1414
|
+
return de_CommandError(output, context);
|
|
1752
1415
|
}
|
|
1753
1416
|
const data = await parseBody(output.body, context);
|
|
1754
1417
|
let contents = {};
|
|
@@ -1759,34 +1422,9 @@ var de_GetPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1759
1422
|
};
|
|
1760
1423
|
return response;
|
|
1761
1424
|
}, "de_GetPipelineExecutionCommand");
|
|
1762
|
-
var de_GetPipelineExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1763
|
-
const parsedOutput = {
|
|
1764
|
-
...output,
|
|
1765
|
-
body: await parseErrorBody(output.body, context)
|
|
1766
|
-
};
|
|
1767
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1768
|
-
switch (errorCode) {
|
|
1769
|
-
case "PipelineExecutionNotFoundException":
|
|
1770
|
-
case "com.amazonaws.codepipeline#PipelineExecutionNotFoundException":
|
|
1771
|
-
throw await de_PipelineExecutionNotFoundExceptionRes(parsedOutput, context);
|
|
1772
|
-
case "PipelineNotFoundException":
|
|
1773
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
1774
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1775
|
-
case "ValidationException":
|
|
1776
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1777
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1778
|
-
default:
|
|
1779
|
-
const parsedBody = parsedOutput.body;
|
|
1780
|
-
return throwDefaultError({
|
|
1781
|
-
output,
|
|
1782
|
-
parsedBody,
|
|
1783
|
-
errorCode
|
|
1784
|
-
});
|
|
1785
|
-
}
|
|
1786
|
-
}, "de_GetPipelineExecutionCommandError");
|
|
1787
1425
|
var de_GetPipelineStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1788
1426
|
if (output.statusCode >= 300) {
|
|
1789
|
-
return
|
|
1427
|
+
return de_CommandError(output, context);
|
|
1790
1428
|
}
|
|
1791
1429
|
const data = await parseBody(output.body, context);
|
|
1792
1430
|
let contents = {};
|
|
@@ -1797,31 +1435,9 @@ var de_GetPipelineStateCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1797
1435
|
};
|
|
1798
1436
|
return response;
|
|
1799
1437
|
}, "de_GetPipelineStateCommand");
|
|
1800
|
-
var de_GetPipelineStateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1801
|
-
const parsedOutput = {
|
|
1802
|
-
...output,
|
|
1803
|
-
body: await parseErrorBody(output.body, context)
|
|
1804
|
-
};
|
|
1805
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1806
|
-
switch (errorCode) {
|
|
1807
|
-
case "PipelineNotFoundException":
|
|
1808
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
1809
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1810
|
-
case "ValidationException":
|
|
1811
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1812
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1813
|
-
default:
|
|
1814
|
-
const parsedBody = parsedOutput.body;
|
|
1815
|
-
return throwDefaultError({
|
|
1816
|
-
output,
|
|
1817
|
-
parsedBody,
|
|
1818
|
-
errorCode
|
|
1819
|
-
});
|
|
1820
|
-
}
|
|
1821
|
-
}, "de_GetPipelineStateCommandError");
|
|
1822
1438
|
var de_GetThirdPartyJobDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1823
1439
|
if (output.statusCode >= 300) {
|
|
1824
|
-
return
|
|
1440
|
+
return de_CommandError(output, context);
|
|
1825
1441
|
}
|
|
1826
1442
|
const data = await parseBody(output.body, context);
|
|
1827
1443
|
let contents = {};
|
|
@@ -1832,37 +1448,9 @@ var de_GetThirdPartyJobDetailsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1832
1448
|
};
|
|
1833
1449
|
return response;
|
|
1834
1450
|
}, "de_GetThirdPartyJobDetailsCommand");
|
|
1835
|
-
var de_GetThirdPartyJobDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1836
|
-
const parsedOutput = {
|
|
1837
|
-
...output,
|
|
1838
|
-
body: await parseErrorBody(output.body, context)
|
|
1839
|
-
};
|
|
1840
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1841
|
-
switch (errorCode) {
|
|
1842
|
-
case "InvalidClientTokenException":
|
|
1843
|
-
case "com.amazonaws.codepipeline#InvalidClientTokenException":
|
|
1844
|
-
throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
|
|
1845
|
-
case "InvalidJobException":
|
|
1846
|
-
case "com.amazonaws.codepipeline#InvalidJobException":
|
|
1847
|
-
throw await de_InvalidJobExceptionRes(parsedOutput, context);
|
|
1848
|
-
case "JobNotFoundException":
|
|
1849
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
1850
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
1851
|
-
case "ValidationException":
|
|
1852
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1853
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1854
|
-
default:
|
|
1855
|
-
const parsedBody = parsedOutput.body;
|
|
1856
|
-
return throwDefaultError({
|
|
1857
|
-
output,
|
|
1858
|
-
parsedBody,
|
|
1859
|
-
errorCode
|
|
1860
|
-
});
|
|
1861
|
-
}
|
|
1862
|
-
}, "de_GetThirdPartyJobDetailsCommandError");
|
|
1863
1451
|
var de_ListActionExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1864
1452
|
if (output.statusCode >= 300) {
|
|
1865
|
-
return
|
|
1453
|
+
return de_CommandError(output, context);
|
|
1866
1454
|
}
|
|
1867
1455
|
const data = await parseBody(output.body, context);
|
|
1868
1456
|
let contents = {};
|
|
@@ -1873,37 +1461,9 @@ var de_ListActionExecutionsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1873
1461
|
};
|
|
1874
1462
|
return response;
|
|
1875
1463
|
}, "de_ListActionExecutionsCommand");
|
|
1876
|
-
var de_ListActionExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1877
|
-
const parsedOutput = {
|
|
1878
|
-
...output,
|
|
1879
|
-
body: await parseErrorBody(output.body, context)
|
|
1880
|
-
};
|
|
1881
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1882
|
-
switch (errorCode) {
|
|
1883
|
-
case "InvalidNextTokenException":
|
|
1884
|
-
case "com.amazonaws.codepipeline#InvalidNextTokenException":
|
|
1885
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1886
|
-
case "PipelineExecutionNotFoundException":
|
|
1887
|
-
case "com.amazonaws.codepipeline#PipelineExecutionNotFoundException":
|
|
1888
|
-
throw await de_PipelineExecutionNotFoundExceptionRes(parsedOutput, context);
|
|
1889
|
-
case "PipelineNotFoundException":
|
|
1890
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
1891
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1892
|
-
case "ValidationException":
|
|
1893
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1894
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1895
|
-
default:
|
|
1896
|
-
const parsedBody = parsedOutput.body;
|
|
1897
|
-
return throwDefaultError({
|
|
1898
|
-
output,
|
|
1899
|
-
parsedBody,
|
|
1900
|
-
errorCode
|
|
1901
|
-
});
|
|
1902
|
-
}
|
|
1903
|
-
}, "de_ListActionExecutionsCommandError");
|
|
1904
1464
|
var de_ListActionTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1905
1465
|
if (output.statusCode >= 300) {
|
|
1906
|
-
return
|
|
1466
|
+
return de_CommandError(output, context);
|
|
1907
1467
|
}
|
|
1908
1468
|
const data = await parseBody(output.body, context);
|
|
1909
1469
|
let contents = {};
|
|
@@ -1914,31 +1474,9 @@ var de_ListActionTypesCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1914
1474
|
};
|
|
1915
1475
|
return response;
|
|
1916
1476
|
}, "de_ListActionTypesCommand");
|
|
1917
|
-
var de_ListActionTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1918
|
-
const parsedOutput = {
|
|
1919
|
-
...output,
|
|
1920
|
-
body: await parseErrorBody(output.body, context)
|
|
1921
|
-
};
|
|
1922
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1923
|
-
switch (errorCode) {
|
|
1924
|
-
case "InvalidNextTokenException":
|
|
1925
|
-
case "com.amazonaws.codepipeline#InvalidNextTokenException":
|
|
1926
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1927
|
-
case "ValidationException":
|
|
1928
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1929
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1930
|
-
default:
|
|
1931
|
-
const parsedBody = parsedOutput.body;
|
|
1932
|
-
return throwDefaultError({
|
|
1933
|
-
output,
|
|
1934
|
-
parsedBody,
|
|
1935
|
-
errorCode
|
|
1936
|
-
});
|
|
1937
|
-
}
|
|
1938
|
-
}, "de_ListActionTypesCommandError");
|
|
1939
1477
|
var de_ListPipelineExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1940
1478
|
if (output.statusCode >= 300) {
|
|
1941
|
-
return
|
|
1479
|
+
return de_CommandError(output, context);
|
|
1942
1480
|
}
|
|
1943
1481
|
const data = await parseBody(output.body, context);
|
|
1944
1482
|
let contents = {};
|
|
@@ -1949,34 +1487,9 @@ var de_ListPipelineExecutionsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1949
1487
|
};
|
|
1950
1488
|
return response;
|
|
1951
1489
|
}, "de_ListPipelineExecutionsCommand");
|
|
1952
|
-
var de_ListPipelineExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1953
|
-
const parsedOutput = {
|
|
1954
|
-
...output,
|
|
1955
|
-
body: await parseErrorBody(output.body, context)
|
|
1956
|
-
};
|
|
1957
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1958
|
-
switch (errorCode) {
|
|
1959
|
-
case "InvalidNextTokenException":
|
|
1960
|
-
case "com.amazonaws.codepipeline#InvalidNextTokenException":
|
|
1961
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1962
|
-
case "PipelineNotFoundException":
|
|
1963
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
1964
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1965
|
-
case "ValidationException":
|
|
1966
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
1967
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1968
|
-
default:
|
|
1969
|
-
const parsedBody = parsedOutput.body;
|
|
1970
|
-
return throwDefaultError({
|
|
1971
|
-
output,
|
|
1972
|
-
parsedBody,
|
|
1973
|
-
errorCode
|
|
1974
|
-
});
|
|
1975
|
-
}
|
|
1976
|
-
}, "de_ListPipelineExecutionsCommandError");
|
|
1977
1490
|
var de_ListPipelinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1978
1491
|
if (output.statusCode >= 300) {
|
|
1979
|
-
return
|
|
1492
|
+
return de_CommandError(output, context);
|
|
1980
1493
|
}
|
|
1981
1494
|
const data = await parseBody(output.body, context);
|
|
1982
1495
|
let contents = {};
|
|
@@ -1987,31 +1500,9 @@ var de_ListPipelinesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1987
1500
|
};
|
|
1988
1501
|
return response;
|
|
1989
1502
|
}, "de_ListPipelinesCommand");
|
|
1990
|
-
var de_ListPipelinesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1991
|
-
const parsedOutput = {
|
|
1992
|
-
...output,
|
|
1993
|
-
body: await parseErrorBody(output.body, context)
|
|
1994
|
-
};
|
|
1995
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1996
|
-
switch (errorCode) {
|
|
1997
|
-
case "InvalidNextTokenException":
|
|
1998
|
-
case "com.amazonaws.codepipeline#InvalidNextTokenException":
|
|
1999
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2000
|
-
case "ValidationException":
|
|
2001
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2002
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2003
|
-
default:
|
|
2004
|
-
const parsedBody = parsedOutput.body;
|
|
2005
|
-
return throwDefaultError({
|
|
2006
|
-
output,
|
|
2007
|
-
parsedBody,
|
|
2008
|
-
errorCode
|
|
2009
|
-
});
|
|
2010
|
-
}
|
|
2011
|
-
}, "de_ListPipelinesCommandError");
|
|
2012
1503
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2013
1504
|
if (output.statusCode >= 300) {
|
|
2014
|
-
return
|
|
1505
|
+
return de_CommandError(output, context);
|
|
2015
1506
|
}
|
|
2016
1507
|
const data = await parseBody(output.body, context);
|
|
2017
1508
|
let contents = {};
|
|
@@ -2022,37 +1513,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2022
1513
|
};
|
|
2023
1514
|
return response;
|
|
2024
1515
|
}, "de_ListTagsForResourceCommand");
|
|
2025
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2026
|
-
const parsedOutput = {
|
|
2027
|
-
...output,
|
|
2028
|
-
body: await parseErrorBody(output.body, context)
|
|
2029
|
-
};
|
|
2030
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2031
|
-
switch (errorCode) {
|
|
2032
|
-
case "InvalidArnException":
|
|
2033
|
-
case "com.amazonaws.codepipeline#InvalidArnException":
|
|
2034
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
2035
|
-
case "InvalidNextTokenException":
|
|
2036
|
-
case "com.amazonaws.codepipeline#InvalidNextTokenException":
|
|
2037
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2038
|
-
case "ResourceNotFoundException":
|
|
2039
|
-
case "com.amazonaws.codepipeline#ResourceNotFoundException":
|
|
2040
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2041
|
-
case "ValidationException":
|
|
2042
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2043
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2044
|
-
default:
|
|
2045
|
-
const parsedBody = parsedOutput.body;
|
|
2046
|
-
return throwDefaultError({
|
|
2047
|
-
output,
|
|
2048
|
-
parsedBody,
|
|
2049
|
-
errorCode
|
|
2050
|
-
});
|
|
2051
|
-
}
|
|
2052
|
-
}, "de_ListTagsForResourceCommandError");
|
|
2053
1516
|
var de_ListWebhooksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2054
1517
|
if (output.statusCode >= 300) {
|
|
2055
|
-
return
|
|
1518
|
+
return de_CommandError(output, context);
|
|
2056
1519
|
}
|
|
2057
1520
|
const data = await parseBody(output.body, context);
|
|
2058
1521
|
let contents = {};
|
|
@@ -2063,66 +1526,22 @@ var de_ListWebhooksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2063
1526
|
};
|
|
2064
1527
|
return response;
|
|
2065
1528
|
}, "de_ListWebhooksCommand");
|
|
2066
|
-
var
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
case "ValidationException":
|
|
2077
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2078
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2079
|
-
default:
|
|
2080
|
-
const parsedBody = parsedOutput.body;
|
|
2081
|
-
return throwDefaultError({
|
|
2082
|
-
output,
|
|
2083
|
-
parsedBody,
|
|
2084
|
-
errorCode
|
|
2085
|
-
});
|
|
2086
|
-
}
|
|
2087
|
-
}, "de_ListWebhooksCommandError");
|
|
2088
|
-
var de_PollForJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2089
|
-
if (output.statusCode >= 300) {
|
|
2090
|
-
return de_PollForJobsCommandError(output, context);
|
|
2091
|
-
}
|
|
2092
|
-
const data = await parseBody(output.body, context);
|
|
2093
|
-
let contents = {};
|
|
2094
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2095
|
-
const response = {
|
|
2096
|
-
$metadata: deserializeMetadata(output),
|
|
2097
|
-
...contents
|
|
1529
|
+
var de_PollForJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1530
|
+
if (output.statusCode >= 300) {
|
|
1531
|
+
return de_CommandError(output, context);
|
|
1532
|
+
}
|
|
1533
|
+
const data = await parseBody(output.body, context);
|
|
1534
|
+
let contents = {};
|
|
1535
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1536
|
+
const response = {
|
|
1537
|
+
$metadata: deserializeMetadata(output),
|
|
1538
|
+
...contents
|
|
2098
1539
|
};
|
|
2099
1540
|
return response;
|
|
2100
1541
|
}, "de_PollForJobsCommand");
|
|
2101
|
-
var de_PollForJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2102
|
-
const parsedOutput = {
|
|
2103
|
-
...output,
|
|
2104
|
-
body: await parseErrorBody(output.body, context)
|
|
2105
|
-
};
|
|
2106
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2107
|
-
switch (errorCode) {
|
|
2108
|
-
case "ActionTypeNotFoundException":
|
|
2109
|
-
case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
|
|
2110
|
-
throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
|
|
2111
|
-
case "ValidationException":
|
|
2112
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2113
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2114
|
-
default:
|
|
2115
|
-
const parsedBody = parsedOutput.body;
|
|
2116
|
-
return throwDefaultError({
|
|
2117
|
-
output,
|
|
2118
|
-
parsedBody,
|
|
2119
|
-
errorCode
|
|
2120
|
-
});
|
|
2121
|
-
}
|
|
2122
|
-
}, "de_PollForJobsCommandError");
|
|
2123
1542
|
var de_PollForThirdPartyJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2124
1543
|
if (output.statusCode >= 300) {
|
|
2125
|
-
return
|
|
1544
|
+
return de_CommandError(output, context);
|
|
2126
1545
|
}
|
|
2127
1546
|
const data = await parseBody(output.body, context);
|
|
2128
1547
|
let contents = {};
|
|
@@ -2133,31 +1552,9 @@ var de_PollForThirdPartyJobsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2133
1552
|
};
|
|
2134
1553
|
return response;
|
|
2135
1554
|
}, "de_PollForThirdPartyJobsCommand");
|
|
2136
|
-
var de_PollForThirdPartyJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2137
|
-
const parsedOutput = {
|
|
2138
|
-
...output,
|
|
2139
|
-
body: await parseErrorBody(output.body, context)
|
|
2140
|
-
};
|
|
2141
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2142
|
-
switch (errorCode) {
|
|
2143
|
-
case "ActionTypeNotFoundException":
|
|
2144
|
-
case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
|
|
2145
|
-
throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
|
|
2146
|
-
case "ValidationException":
|
|
2147
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2148
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2149
|
-
default:
|
|
2150
|
-
const parsedBody = parsedOutput.body;
|
|
2151
|
-
return throwDefaultError({
|
|
2152
|
-
output,
|
|
2153
|
-
parsedBody,
|
|
2154
|
-
errorCode
|
|
2155
|
-
});
|
|
2156
|
-
}
|
|
2157
|
-
}, "de_PollForThirdPartyJobsCommandError");
|
|
2158
1555
|
var de_PutActionRevisionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2159
1556
|
if (output.statusCode >= 300) {
|
|
2160
|
-
return
|
|
1557
|
+
return de_CommandError(output, context);
|
|
2161
1558
|
}
|
|
2162
1559
|
const data = await parseBody(output.body, context);
|
|
2163
1560
|
let contents = {};
|
|
@@ -2168,37 +1565,9 @@ var de_PutActionRevisionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2168
1565
|
};
|
|
2169
1566
|
return response;
|
|
2170
1567
|
}, "de_PutActionRevisionCommand");
|
|
2171
|
-
var de_PutActionRevisionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2172
|
-
const parsedOutput = {
|
|
2173
|
-
...output,
|
|
2174
|
-
body: await parseErrorBody(output.body, context)
|
|
2175
|
-
};
|
|
2176
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2177
|
-
switch (errorCode) {
|
|
2178
|
-
case "ActionNotFoundException":
|
|
2179
|
-
case "com.amazonaws.codepipeline#ActionNotFoundException":
|
|
2180
|
-
throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
|
|
2181
|
-
case "PipelineNotFoundException":
|
|
2182
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
2183
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
2184
|
-
case "StageNotFoundException":
|
|
2185
|
-
case "com.amazonaws.codepipeline#StageNotFoundException":
|
|
2186
|
-
throw await de_StageNotFoundExceptionRes(parsedOutput, context);
|
|
2187
|
-
case "ValidationException":
|
|
2188
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2189
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2190
|
-
default:
|
|
2191
|
-
const parsedBody = parsedOutput.body;
|
|
2192
|
-
return throwDefaultError({
|
|
2193
|
-
output,
|
|
2194
|
-
parsedBody,
|
|
2195
|
-
errorCode
|
|
2196
|
-
});
|
|
2197
|
-
}
|
|
2198
|
-
}, "de_PutActionRevisionCommandError");
|
|
2199
1568
|
var de_PutApprovalResultCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2200
1569
|
if (output.statusCode >= 300) {
|
|
2201
|
-
return
|
|
1570
|
+
return de_CommandError(output, context);
|
|
2202
1571
|
}
|
|
2203
1572
|
const data = await parseBody(output.body, context);
|
|
2204
1573
|
let contents = {};
|
|
@@ -2209,43 +1578,9 @@ var de_PutApprovalResultCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2209
1578
|
};
|
|
2210
1579
|
return response;
|
|
2211
1580
|
}, "de_PutApprovalResultCommand");
|
|
2212
|
-
var de_PutApprovalResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2213
|
-
const parsedOutput = {
|
|
2214
|
-
...output,
|
|
2215
|
-
body: await parseErrorBody(output.body, context)
|
|
2216
|
-
};
|
|
2217
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2218
|
-
switch (errorCode) {
|
|
2219
|
-
case "ActionNotFoundException":
|
|
2220
|
-
case "com.amazonaws.codepipeline#ActionNotFoundException":
|
|
2221
|
-
throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
|
|
2222
|
-
case "ApprovalAlreadyCompletedException":
|
|
2223
|
-
case "com.amazonaws.codepipeline#ApprovalAlreadyCompletedException":
|
|
2224
|
-
throw await de_ApprovalAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
2225
|
-
case "InvalidApprovalTokenException":
|
|
2226
|
-
case "com.amazonaws.codepipeline#InvalidApprovalTokenException":
|
|
2227
|
-
throw await de_InvalidApprovalTokenExceptionRes(parsedOutput, context);
|
|
2228
|
-
case "PipelineNotFoundException":
|
|
2229
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
2230
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
2231
|
-
case "StageNotFoundException":
|
|
2232
|
-
case "com.amazonaws.codepipeline#StageNotFoundException":
|
|
2233
|
-
throw await de_StageNotFoundExceptionRes(parsedOutput, context);
|
|
2234
|
-
case "ValidationException":
|
|
2235
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2236
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2237
|
-
default:
|
|
2238
|
-
const parsedBody = parsedOutput.body;
|
|
2239
|
-
return throwDefaultError({
|
|
2240
|
-
output,
|
|
2241
|
-
parsedBody,
|
|
2242
|
-
errorCode
|
|
2243
|
-
});
|
|
2244
|
-
}
|
|
2245
|
-
}, "de_PutApprovalResultCommandError");
|
|
2246
1581
|
var de_PutJobFailureResultCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2247
1582
|
if (output.statusCode >= 300) {
|
|
2248
|
-
return
|
|
1583
|
+
return de_CommandError(output, context);
|
|
2249
1584
|
}
|
|
2250
1585
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2251
1586
|
const response = {
|
|
@@ -2253,34 +1588,9 @@ var de_PutJobFailureResultCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2253
1588
|
};
|
|
2254
1589
|
return response;
|
|
2255
1590
|
}, "de_PutJobFailureResultCommand");
|
|
2256
|
-
var de_PutJobFailureResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2257
|
-
const parsedOutput = {
|
|
2258
|
-
...output,
|
|
2259
|
-
body: await parseErrorBody(output.body, context)
|
|
2260
|
-
};
|
|
2261
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2262
|
-
switch (errorCode) {
|
|
2263
|
-
case "InvalidJobStateException":
|
|
2264
|
-
case "com.amazonaws.codepipeline#InvalidJobStateException":
|
|
2265
|
-
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
2266
|
-
case "JobNotFoundException":
|
|
2267
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
2268
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
2269
|
-
case "ValidationException":
|
|
2270
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2271
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2272
|
-
default:
|
|
2273
|
-
const parsedBody = parsedOutput.body;
|
|
2274
|
-
return throwDefaultError({
|
|
2275
|
-
output,
|
|
2276
|
-
parsedBody,
|
|
2277
|
-
errorCode
|
|
2278
|
-
});
|
|
2279
|
-
}
|
|
2280
|
-
}, "de_PutJobFailureResultCommandError");
|
|
2281
1591
|
var de_PutJobSuccessResultCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2282
1592
|
if (output.statusCode >= 300) {
|
|
2283
|
-
return
|
|
1593
|
+
return de_CommandError(output, context);
|
|
2284
1594
|
}
|
|
2285
1595
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2286
1596
|
const response = {
|
|
@@ -2288,37 +1598,9 @@ var de_PutJobSuccessResultCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2288
1598
|
};
|
|
2289
1599
|
return response;
|
|
2290
1600
|
}, "de_PutJobSuccessResultCommand");
|
|
2291
|
-
var de_PutJobSuccessResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2292
|
-
const parsedOutput = {
|
|
2293
|
-
...output,
|
|
2294
|
-
body: await parseErrorBody(output.body, context)
|
|
2295
|
-
};
|
|
2296
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2297
|
-
switch (errorCode) {
|
|
2298
|
-
case "InvalidJobStateException":
|
|
2299
|
-
case "com.amazonaws.codepipeline#InvalidJobStateException":
|
|
2300
|
-
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
2301
|
-
case "JobNotFoundException":
|
|
2302
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
2303
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
2304
|
-
case "OutputVariablesSizeExceededException":
|
|
2305
|
-
case "com.amazonaws.codepipeline#OutputVariablesSizeExceededException":
|
|
2306
|
-
throw await de_OutputVariablesSizeExceededExceptionRes(parsedOutput, context);
|
|
2307
|
-
case "ValidationException":
|
|
2308
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2309
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2310
|
-
default:
|
|
2311
|
-
const parsedBody = parsedOutput.body;
|
|
2312
|
-
return throwDefaultError({
|
|
2313
|
-
output,
|
|
2314
|
-
parsedBody,
|
|
2315
|
-
errorCode
|
|
2316
|
-
});
|
|
2317
|
-
}
|
|
2318
|
-
}, "de_PutJobSuccessResultCommandError");
|
|
2319
1601
|
var de_PutThirdPartyJobFailureResultCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2320
1602
|
if (output.statusCode >= 300) {
|
|
2321
|
-
return
|
|
1603
|
+
return de_CommandError(output, context);
|
|
2322
1604
|
}
|
|
2323
1605
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2324
1606
|
const response = {
|
|
@@ -2326,37 +1608,9 @@ var de_PutThirdPartyJobFailureResultCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2326
1608
|
};
|
|
2327
1609
|
return response;
|
|
2328
1610
|
}, "de_PutThirdPartyJobFailureResultCommand");
|
|
2329
|
-
var de_PutThirdPartyJobFailureResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2330
|
-
const parsedOutput = {
|
|
2331
|
-
...output,
|
|
2332
|
-
body: await parseErrorBody(output.body, context)
|
|
2333
|
-
};
|
|
2334
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2335
|
-
switch (errorCode) {
|
|
2336
|
-
case "InvalidClientTokenException":
|
|
2337
|
-
case "com.amazonaws.codepipeline#InvalidClientTokenException":
|
|
2338
|
-
throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
|
|
2339
|
-
case "InvalidJobStateException":
|
|
2340
|
-
case "com.amazonaws.codepipeline#InvalidJobStateException":
|
|
2341
|
-
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
2342
|
-
case "JobNotFoundException":
|
|
2343
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
2344
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
2345
|
-
case "ValidationException":
|
|
2346
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2347
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2348
|
-
default:
|
|
2349
|
-
const parsedBody = parsedOutput.body;
|
|
2350
|
-
return throwDefaultError({
|
|
2351
|
-
output,
|
|
2352
|
-
parsedBody,
|
|
2353
|
-
errorCode
|
|
2354
|
-
});
|
|
2355
|
-
}
|
|
2356
|
-
}, "de_PutThirdPartyJobFailureResultCommandError");
|
|
2357
1611
|
var de_PutThirdPartyJobSuccessResultCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2358
1612
|
if (output.statusCode >= 300) {
|
|
2359
|
-
return
|
|
1613
|
+
return de_CommandError(output, context);
|
|
2360
1614
|
}
|
|
2361
1615
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2362
1616
|
const response = {
|
|
@@ -2364,37 +1618,9 @@ var de_PutThirdPartyJobSuccessResultCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2364
1618
|
};
|
|
2365
1619
|
return response;
|
|
2366
1620
|
}, "de_PutThirdPartyJobSuccessResultCommand");
|
|
2367
|
-
var de_PutThirdPartyJobSuccessResultCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2368
|
-
const parsedOutput = {
|
|
2369
|
-
...output,
|
|
2370
|
-
body: await parseErrorBody(output.body, context)
|
|
2371
|
-
};
|
|
2372
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2373
|
-
switch (errorCode) {
|
|
2374
|
-
case "InvalidClientTokenException":
|
|
2375
|
-
case "com.amazonaws.codepipeline#InvalidClientTokenException":
|
|
2376
|
-
throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
|
|
2377
|
-
case "InvalidJobStateException":
|
|
2378
|
-
case "com.amazonaws.codepipeline#InvalidJobStateException":
|
|
2379
|
-
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
2380
|
-
case "JobNotFoundException":
|
|
2381
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
2382
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
2383
|
-
case "ValidationException":
|
|
2384
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2385
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2386
|
-
default:
|
|
2387
|
-
const parsedBody = parsedOutput.body;
|
|
2388
|
-
return throwDefaultError({
|
|
2389
|
-
output,
|
|
2390
|
-
parsedBody,
|
|
2391
|
-
errorCode
|
|
2392
|
-
});
|
|
2393
|
-
}
|
|
2394
|
-
}, "de_PutThirdPartyJobSuccessResultCommandError");
|
|
2395
1621
|
var de_PutWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2396
1622
|
if (output.statusCode >= 300) {
|
|
2397
|
-
return
|
|
1623
|
+
return de_CommandError(output, context);
|
|
2398
1624
|
}
|
|
2399
1625
|
const data = await parseBody(output.body, context);
|
|
2400
1626
|
let contents = {};
|
|
@@ -2405,131 +1631,35 @@ var de_PutWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2405
1631
|
};
|
|
2406
1632
|
return response;
|
|
2407
1633
|
}, "de_PutWebhookCommand");
|
|
2408
|
-
var de_PutWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2409
|
-
const parsedOutput = {
|
|
2410
|
-
...output,
|
|
2411
|
-
body: await parseErrorBody(output.body, context)
|
|
2412
|
-
};
|
|
2413
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2414
|
-
switch (errorCode) {
|
|
2415
|
-
case "ConcurrentModificationException":
|
|
2416
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
2417
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2418
|
-
case "InvalidTagsException":
|
|
2419
|
-
case "com.amazonaws.codepipeline#InvalidTagsException":
|
|
2420
|
-
throw await de_InvalidTagsExceptionRes(parsedOutput, context);
|
|
2421
|
-
case "InvalidWebhookAuthenticationParametersException":
|
|
2422
|
-
case "com.amazonaws.codepipeline#InvalidWebhookAuthenticationParametersException":
|
|
2423
|
-
throw await de_InvalidWebhookAuthenticationParametersExceptionRes(parsedOutput, context);
|
|
2424
|
-
case "InvalidWebhookFilterPatternException":
|
|
2425
|
-
case "com.amazonaws.codepipeline#InvalidWebhookFilterPatternException":
|
|
2426
|
-
throw await de_InvalidWebhookFilterPatternExceptionRes(parsedOutput, context);
|
|
2427
|
-
case "LimitExceededException":
|
|
2428
|
-
case "com.amazonaws.codepipeline#LimitExceededException":
|
|
2429
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2430
|
-
case "PipelineNotFoundException":
|
|
2431
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
2432
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
2433
|
-
case "TooManyTagsException":
|
|
2434
|
-
case "com.amazonaws.codepipeline#TooManyTagsException":
|
|
2435
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2436
|
-
case "ValidationException":
|
|
2437
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2438
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2439
|
-
default:
|
|
2440
|
-
const parsedBody = parsedOutput.body;
|
|
2441
|
-
return throwDefaultError({
|
|
2442
|
-
output,
|
|
2443
|
-
parsedBody,
|
|
2444
|
-
errorCode
|
|
2445
|
-
});
|
|
2446
|
-
}
|
|
2447
|
-
}, "de_PutWebhookCommandError");
|
|
2448
1634
|
var de_RegisterWebhookWithThirdPartyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2449
1635
|
if (output.statusCode >= 300) {
|
|
2450
|
-
return
|
|
2451
|
-
}
|
|
2452
|
-
const data = await parseBody(output.body, context);
|
|
2453
|
-
let contents = {};
|
|
2454
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2455
|
-
const response = {
|
|
2456
|
-
$metadata: deserializeMetadata(output),
|
|
2457
|
-
...contents
|
|
2458
|
-
};
|
|
2459
|
-
return response;
|
|
2460
|
-
}, "de_RegisterWebhookWithThirdPartyCommand");
|
|
2461
|
-
var de_RegisterWebhookWithThirdPartyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2462
|
-
const parsedOutput = {
|
|
2463
|
-
...output,
|
|
2464
|
-
body: await parseErrorBody(output.body, context)
|
|
2465
|
-
};
|
|
2466
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2467
|
-
switch (errorCode) {
|
|
2468
|
-
case "ValidationException":
|
|
2469
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2470
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2471
|
-
case "WebhookNotFoundException":
|
|
2472
|
-
case "com.amazonaws.codepipeline#WebhookNotFoundException":
|
|
2473
|
-
throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
|
|
2474
|
-
default:
|
|
2475
|
-
const parsedBody = parsedOutput.body;
|
|
2476
|
-
return throwDefaultError({
|
|
2477
|
-
output,
|
|
2478
|
-
parsedBody,
|
|
2479
|
-
errorCode
|
|
2480
|
-
});
|
|
2481
|
-
}
|
|
2482
|
-
}, "de_RegisterWebhookWithThirdPartyCommandError");
|
|
2483
|
-
var de_RetryStageExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2484
|
-
if (output.statusCode >= 300) {
|
|
2485
|
-
return de_RetryStageExecutionCommandError(output, context);
|
|
1636
|
+
return de_CommandError(output, context);
|
|
2486
1637
|
}
|
|
2487
1638
|
const data = await parseBody(output.body, context);
|
|
2488
1639
|
let contents = {};
|
|
2489
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2490
|
-
const response = {
|
|
2491
|
-
$metadata: deserializeMetadata(output),
|
|
2492
|
-
...contents
|
|
2493
|
-
};
|
|
2494
|
-
return response;
|
|
2495
|
-
}, "
|
|
2496
|
-
var
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
body: await parseErrorBody(output.body, context)
|
|
2500
|
-
};
|
|
2501
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2502
|
-
switch (errorCode) {
|
|
2503
|
-
case "ConflictException":
|
|
2504
|
-
case "com.amazonaws.codepipeline#ConflictException":
|
|
2505
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2506
|
-
case "NotLatestPipelineExecutionException":
|
|
2507
|
-
case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
|
|
2508
|
-
throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
|
|
2509
|
-
case "PipelineNotFoundException":
|
|
2510
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
2511
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
2512
|
-
case "StageNotFoundException":
|
|
2513
|
-
case "com.amazonaws.codepipeline#StageNotFoundException":
|
|
2514
|
-
throw await de_StageNotFoundExceptionRes(parsedOutput, context);
|
|
2515
|
-
case "StageNotRetryableException":
|
|
2516
|
-
case "com.amazonaws.codepipeline#StageNotRetryableException":
|
|
2517
|
-
throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
|
|
2518
|
-
case "ValidationException":
|
|
2519
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2520
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2521
|
-
default:
|
|
2522
|
-
const parsedBody = parsedOutput.body;
|
|
2523
|
-
return throwDefaultError({
|
|
2524
|
-
output,
|
|
2525
|
-
parsedBody,
|
|
2526
|
-
errorCode
|
|
2527
|
-
});
|
|
1640
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1641
|
+
const response = {
|
|
1642
|
+
$metadata: deserializeMetadata(output),
|
|
1643
|
+
...contents
|
|
1644
|
+
};
|
|
1645
|
+
return response;
|
|
1646
|
+
}, "de_RegisterWebhookWithThirdPartyCommand");
|
|
1647
|
+
var de_RetryStageExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1648
|
+
if (output.statusCode >= 300) {
|
|
1649
|
+
return de_CommandError(output, context);
|
|
2528
1650
|
}
|
|
2529
|
-
|
|
1651
|
+
const data = await parseBody(output.body, context);
|
|
1652
|
+
let contents = {};
|
|
1653
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1654
|
+
const response = {
|
|
1655
|
+
$metadata: deserializeMetadata(output),
|
|
1656
|
+
...contents
|
|
1657
|
+
};
|
|
1658
|
+
return response;
|
|
1659
|
+
}, "de_RetryStageExecutionCommand");
|
|
2530
1660
|
var de_StartPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2531
1661
|
if (output.statusCode >= 300) {
|
|
2532
|
-
return
|
|
1662
|
+
return de_CommandError(output, context);
|
|
2533
1663
|
}
|
|
2534
1664
|
const data = await parseBody(output.body, context);
|
|
2535
1665
|
let contents = {};
|
|
@@ -2540,34 +1670,9 @@ var de_StartPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2540
1670
|
};
|
|
2541
1671
|
return response;
|
|
2542
1672
|
}, "de_StartPipelineExecutionCommand");
|
|
2543
|
-
var de_StartPipelineExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2544
|
-
const parsedOutput = {
|
|
2545
|
-
...output,
|
|
2546
|
-
body: await parseErrorBody(output.body, context)
|
|
2547
|
-
};
|
|
2548
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2549
|
-
switch (errorCode) {
|
|
2550
|
-
case "ConflictException":
|
|
2551
|
-
case "com.amazonaws.codepipeline#ConflictException":
|
|
2552
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2553
|
-
case "PipelineNotFoundException":
|
|
2554
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
2555
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
2556
|
-
case "ValidationException":
|
|
2557
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2558
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2559
|
-
default:
|
|
2560
|
-
const parsedBody = parsedOutput.body;
|
|
2561
|
-
return throwDefaultError({
|
|
2562
|
-
output,
|
|
2563
|
-
parsedBody,
|
|
2564
|
-
errorCode
|
|
2565
|
-
});
|
|
2566
|
-
}
|
|
2567
|
-
}, "de_StartPipelineExecutionCommandError");
|
|
2568
1673
|
var de_StopPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2569
1674
|
if (output.statusCode >= 300) {
|
|
2570
|
-
return
|
|
1675
|
+
return de_CommandError(output, context);
|
|
2571
1676
|
}
|
|
2572
1677
|
const data = await parseBody(output.body, context);
|
|
2573
1678
|
let contents = {};
|
|
@@ -2578,40 +1683,9 @@ var de_StopPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2578
1683
|
};
|
|
2579
1684
|
return response;
|
|
2580
1685
|
}, "de_StopPipelineExecutionCommand");
|
|
2581
|
-
var de_StopPipelineExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2582
|
-
const parsedOutput = {
|
|
2583
|
-
...output,
|
|
2584
|
-
body: await parseErrorBody(output.body, context)
|
|
2585
|
-
};
|
|
2586
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2587
|
-
switch (errorCode) {
|
|
2588
|
-
case "ConflictException":
|
|
2589
|
-
case "com.amazonaws.codepipeline#ConflictException":
|
|
2590
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2591
|
-
case "DuplicatedStopRequestException":
|
|
2592
|
-
case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
|
|
2593
|
-
throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
|
|
2594
|
-
case "PipelineExecutionNotStoppableException":
|
|
2595
|
-
case "com.amazonaws.codepipeline#PipelineExecutionNotStoppableException":
|
|
2596
|
-
throw await de_PipelineExecutionNotStoppableExceptionRes(parsedOutput, context);
|
|
2597
|
-
case "PipelineNotFoundException":
|
|
2598
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
2599
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
2600
|
-
case "ValidationException":
|
|
2601
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2602
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2603
|
-
default:
|
|
2604
|
-
const parsedBody = parsedOutput.body;
|
|
2605
|
-
return throwDefaultError({
|
|
2606
|
-
output,
|
|
2607
|
-
parsedBody,
|
|
2608
|
-
errorCode
|
|
2609
|
-
});
|
|
2610
|
-
}
|
|
2611
|
-
}, "de_StopPipelineExecutionCommandError");
|
|
2612
1686
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2613
1687
|
if (output.statusCode >= 300) {
|
|
2614
|
-
return
|
|
1688
|
+
return de_CommandError(output, context);
|
|
2615
1689
|
}
|
|
2616
1690
|
const data = await parseBody(output.body, context);
|
|
2617
1691
|
let contents = {};
|
|
@@ -2622,43 +1696,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2622
1696
|
};
|
|
2623
1697
|
return response;
|
|
2624
1698
|
}, "de_TagResourceCommand");
|
|
2625
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2626
|
-
const parsedOutput = {
|
|
2627
|
-
...output,
|
|
2628
|
-
body: await parseErrorBody(output.body, context)
|
|
2629
|
-
};
|
|
2630
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2631
|
-
switch (errorCode) {
|
|
2632
|
-
case "ConcurrentModificationException":
|
|
2633
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
2634
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2635
|
-
case "InvalidArnException":
|
|
2636
|
-
case "com.amazonaws.codepipeline#InvalidArnException":
|
|
2637
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
2638
|
-
case "InvalidTagsException":
|
|
2639
|
-
case "com.amazonaws.codepipeline#InvalidTagsException":
|
|
2640
|
-
throw await de_InvalidTagsExceptionRes(parsedOutput, context);
|
|
2641
|
-
case "ResourceNotFoundException":
|
|
2642
|
-
case "com.amazonaws.codepipeline#ResourceNotFoundException":
|
|
2643
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2644
|
-
case "TooManyTagsException":
|
|
2645
|
-
case "com.amazonaws.codepipeline#TooManyTagsException":
|
|
2646
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2647
|
-
case "ValidationException":
|
|
2648
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2649
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2650
|
-
default:
|
|
2651
|
-
const parsedBody = parsedOutput.body;
|
|
2652
|
-
return throwDefaultError({
|
|
2653
|
-
output,
|
|
2654
|
-
parsedBody,
|
|
2655
|
-
errorCode
|
|
2656
|
-
});
|
|
2657
|
-
}
|
|
2658
|
-
}, "de_TagResourceCommandError");
|
|
2659
1699
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2660
1700
|
if (output.statusCode >= 300) {
|
|
2661
|
-
return
|
|
1701
|
+
return de_CommandError(output, context);
|
|
2662
1702
|
}
|
|
2663
1703
|
const data = await parseBody(output.body, context);
|
|
2664
1704
|
let contents = {};
|
|
@@ -2669,40 +1709,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2669
1709
|
};
|
|
2670
1710
|
return response;
|
|
2671
1711
|
}, "de_UntagResourceCommand");
|
|
2672
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2673
|
-
const parsedOutput = {
|
|
2674
|
-
...output,
|
|
2675
|
-
body: await parseErrorBody(output.body, context)
|
|
2676
|
-
};
|
|
2677
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2678
|
-
switch (errorCode) {
|
|
2679
|
-
case "ConcurrentModificationException":
|
|
2680
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
2681
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2682
|
-
case "InvalidArnException":
|
|
2683
|
-
case "com.amazonaws.codepipeline#InvalidArnException":
|
|
2684
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
2685
|
-
case "InvalidTagsException":
|
|
2686
|
-
case "com.amazonaws.codepipeline#InvalidTagsException":
|
|
2687
|
-
throw await de_InvalidTagsExceptionRes(parsedOutput, context);
|
|
2688
|
-
case "ResourceNotFoundException":
|
|
2689
|
-
case "com.amazonaws.codepipeline#ResourceNotFoundException":
|
|
2690
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2691
|
-
case "ValidationException":
|
|
2692
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2693
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2694
|
-
default:
|
|
2695
|
-
const parsedBody = parsedOutput.body;
|
|
2696
|
-
return throwDefaultError({
|
|
2697
|
-
output,
|
|
2698
|
-
parsedBody,
|
|
2699
|
-
errorCode
|
|
2700
|
-
});
|
|
2701
|
-
}
|
|
2702
|
-
}, "de_UntagResourceCommandError");
|
|
2703
1712
|
var de_UpdateActionTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2704
1713
|
if (output.statusCode >= 300) {
|
|
2705
|
-
return
|
|
1714
|
+
return de_CommandError(output, context);
|
|
2706
1715
|
}
|
|
2707
1716
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2708
1717
|
const response = {
|
|
@@ -2710,34 +1719,9 @@ var de_UpdateActionTypeCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2710
1719
|
};
|
|
2711
1720
|
return response;
|
|
2712
1721
|
}, "de_UpdateActionTypeCommand");
|
|
2713
|
-
var de_UpdateActionTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2714
|
-
const parsedOutput = {
|
|
2715
|
-
...output,
|
|
2716
|
-
body: await parseErrorBody(output.body, context)
|
|
2717
|
-
};
|
|
2718
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2719
|
-
switch (errorCode) {
|
|
2720
|
-
case "ActionTypeNotFoundException":
|
|
2721
|
-
case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
|
|
2722
|
-
throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
|
|
2723
|
-
case "RequestFailedException":
|
|
2724
|
-
case "com.amazonaws.codepipeline#RequestFailedException":
|
|
2725
|
-
throw await de_RequestFailedExceptionRes(parsedOutput, context);
|
|
2726
|
-
case "ValidationException":
|
|
2727
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
2728
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2729
|
-
default:
|
|
2730
|
-
const parsedBody = parsedOutput.body;
|
|
2731
|
-
return throwDefaultError({
|
|
2732
|
-
output,
|
|
2733
|
-
parsedBody,
|
|
2734
|
-
errorCode
|
|
2735
|
-
});
|
|
2736
|
-
}
|
|
2737
|
-
}, "de_UpdateActionTypeCommandError");
|
|
2738
1722
|
var de_UpdatePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2739
1723
|
if (output.statusCode >= 300) {
|
|
2740
|
-
return
|
|
1724
|
+
return de_CommandError(output, context);
|
|
2741
1725
|
}
|
|
2742
1726
|
const data = await parseBody(output.body, context);
|
|
2743
1727
|
let contents = {};
|
|
@@ -2748,13 +1732,37 @@ var de_UpdatePipelineCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2748
1732
|
};
|
|
2749
1733
|
return response;
|
|
2750
1734
|
}, "de_UpdatePipelineCommand");
|
|
2751
|
-
var
|
|
1735
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2752
1736
|
const parsedOutput = {
|
|
2753
1737
|
...output,
|
|
2754
1738
|
body: await parseErrorBody(output.body, context)
|
|
2755
1739
|
};
|
|
2756
1740
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2757
1741
|
switch (errorCode) {
|
|
1742
|
+
case "InvalidNonceException":
|
|
1743
|
+
case "com.amazonaws.codepipeline#InvalidNonceException":
|
|
1744
|
+
throw await de_InvalidNonceExceptionRes(parsedOutput, context);
|
|
1745
|
+
case "JobNotFoundException":
|
|
1746
|
+
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
1747
|
+
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
1748
|
+
case "ValidationException":
|
|
1749
|
+
case "com.amazonaws.codepipeline#ValidationException":
|
|
1750
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1751
|
+
case "InvalidClientTokenException":
|
|
1752
|
+
case "com.amazonaws.codepipeline#InvalidClientTokenException":
|
|
1753
|
+
throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
|
|
1754
|
+
case "ConcurrentModificationException":
|
|
1755
|
+
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
1756
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1757
|
+
case "InvalidTagsException":
|
|
1758
|
+
case "com.amazonaws.codepipeline#InvalidTagsException":
|
|
1759
|
+
throw await de_InvalidTagsExceptionRes(parsedOutput, context);
|
|
1760
|
+
case "LimitExceededException":
|
|
1761
|
+
case "com.amazonaws.codepipeline#LimitExceededException":
|
|
1762
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1763
|
+
case "TooManyTagsException":
|
|
1764
|
+
case "com.amazonaws.codepipeline#TooManyTagsException":
|
|
1765
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2758
1766
|
case "InvalidActionDeclarationException":
|
|
2759
1767
|
case "com.amazonaws.codepipeline#InvalidActionDeclarationException":
|
|
2760
1768
|
throw await de_InvalidActionDeclarationExceptionRes(parsedOutput, context);
|
|
@@ -2767,12 +1775,78 @@ var de_UpdatePipelineCommandError = /* @__PURE__ */ __name(async (output, contex
|
|
|
2767
1775
|
case "InvalidStructureException":
|
|
2768
1776
|
case "com.amazonaws.codepipeline#InvalidStructureException":
|
|
2769
1777
|
throw await de_InvalidStructureExceptionRes(parsedOutput, context);
|
|
2770
|
-
case "
|
|
2771
|
-
case "com.amazonaws.codepipeline#
|
|
2772
|
-
throw await
|
|
2773
|
-
case "
|
|
2774
|
-
case "com.amazonaws.codepipeline#
|
|
2775
|
-
throw await
|
|
1778
|
+
case "PipelineNameInUseException":
|
|
1779
|
+
case "com.amazonaws.codepipeline#PipelineNameInUseException":
|
|
1780
|
+
throw await de_PipelineNameInUseExceptionRes(parsedOutput, context);
|
|
1781
|
+
case "WebhookNotFoundException":
|
|
1782
|
+
case "com.amazonaws.codepipeline#WebhookNotFoundException":
|
|
1783
|
+
throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
|
|
1784
|
+
case "PipelineNotFoundException":
|
|
1785
|
+
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
1786
|
+
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
1787
|
+
case "StageNotFoundException":
|
|
1788
|
+
case "com.amazonaws.codepipeline#StageNotFoundException":
|
|
1789
|
+
throw await de_StageNotFoundExceptionRes(parsedOutput, context);
|
|
1790
|
+
case "ActionTypeNotFoundException":
|
|
1791
|
+
case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
|
|
1792
|
+
throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1793
|
+
case "PipelineVersionNotFoundException":
|
|
1794
|
+
case "com.amazonaws.codepipeline#PipelineVersionNotFoundException":
|
|
1795
|
+
throw await de_PipelineVersionNotFoundExceptionRes(parsedOutput, context);
|
|
1796
|
+
case "PipelineExecutionNotFoundException":
|
|
1797
|
+
case "com.amazonaws.codepipeline#PipelineExecutionNotFoundException":
|
|
1798
|
+
throw await de_PipelineExecutionNotFoundExceptionRes(parsedOutput, context);
|
|
1799
|
+
case "InvalidJobException":
|
|
1800
|
+
case "com.amazonaws.codepipeline#InvalidJobException":
|
|
1801
|
+
throw await de_InvalidJobExceptionRes(parsedOutput, context);
|
|
1802
|
+
case "InvalidNextTokenException":
|
|
1803
|
+
case "com.amazonaws.codepipeline#InvalidNextTokenException":
|
|
1804
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1805
|
+
case "InvalidArnException":
|
|
1806
|
+
case "com.amazonaws.codepipeline#InvalidArnException":
|
|
1807
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
1808
|
+
case "ResourceNotFoundException":
|
|
1809
|
+
case "com.amazonaws.codepipeline#ResourceNotFoundException":
|
|
1810
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1811
|
+
case "ActionNotFoundException":
|
|
1812
|
+
case "com.amazonaws.codepipeline#ActionNotFoundException":
|
|
1813
|
+
throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
|
|
1814
|
+
case "ApprovalAlreadyCompletedException":
|
|
1815
|
+
case "com.amazonaws.codepipeline#ApprovalAlreadyCompletedException":
|
|
1816
|
+
throw await de_ApprovalAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
1817
|
+
case "InvalidApprovalTokenException":
|
|
1818
|
+
case "com.amazonaws.codepipeline#InvalidApprovalTokenException":
|
|
1819
|
+
throw await de_InvalidApprovalTokenExceptionRes(parsedOutput, context);
|
|
1820
|
+
case "InvalidJobStateException":
|
|
1821
|
+
case "com.amazonaws.codepipeline#InvalidJobStateException":
|
|
1822
|
+
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
1823
|
+
case "OutputVariablesSizeExceededException":
|
|
1824
|
+
case "com.amazonaws.codepipeline#OutputVariablesSizeExceededException":
|
|
1825
|
+
throw await de_OutputVariablesSizeExceededExceptionRes(parsedOutput, context);
|
|
1826
|
+
case "InvalidWebhookAuthenticationParametersException":
|
|
1827
|
+
case "com.amazonaws.codepipeline#InvalidWebhookAuthenticationParametersException":
|
|
1828
|
+
throw await de_InvalidWebhookAuthenticationParametersExceptionRes(parsedOutput, context);
|
|
1829
|
+
case "InvalidWebhookFilterPatternException":
|
|
1830
|
+
case "com.amazonaws.codepipeline#InvalidWebhookFilterPatternException":
|
|
1831
|
+
throw await de_InvalidWebhookFilterPatternExceptionRes(parsedOutput, context);
|
|
1832
|
+
case "ConflictException":
|
|
1833
|
+
case "com.amazonaws.codepipeline#ConflictException":
|
|
1834
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1835
|
+
case "NotLatestPipelineExecutionException":
|
|
1836
|
+
case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
|
|
1837
|
+
throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
|
|
1838
|
+
case "StageNotRetryableException":
|
|
1839
|
+
case "com.amazonaws.codepipeline#StageNotRetryableException":
|
|
1840
|
+
throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
|
|
1841
|
+
case "DuplicatedStopRequestException":
|
|
1842
|
+
case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
|
|
1843
|
+
throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
|
|
1844
|
+
case "PipelineExecutionNotStoppableException":
|
|
1845
|
+
case "com.amazonaws.codepipeline#PipelineExecutionNotStoppableException":
|
|
1846
|
+
throw await de_PipelineExecutionNotStoppableExceptionRes(parsedOutput, context);
|
|
1847
|
+
case "RequestFailedException":
|
|
1848
|
+
case "com.amazonaws.codepipeline#RequestFailedException":
|
|
1849
|
+
throw await de_RequestFailedExceptionRes(parsedOutput, context);
|
|
2776
1850
|
default:
|
|
2777
1851
|
const parsedBody = parsedOutput.body;
|
|
2778
1852
|
return throwDefaultError({
|
|
@@ -2781,7 +1855,7 @@ var de_UpdatePipelineCommandError = /* @__PURE__ */ __name(async (output, contex
|
|
|
2781
1855
|
errorCode
|
|
2782
1856
|
});
|
|
2783
1857
|
}
|
|
2784
|
-
}, "
|
|
1858
|
+
}, "de_CommandError");
|
|
2785
1859
|
var de_ActionNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2786
1860
|
const body = parsedOutput.body;
|
|
2787
1861
|
const deserialized = (0, import_smithy_client._json)(body);
|