@aws-sdk/client-sfn 3.504.0 → 3.509.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 +110 -994
- package/dist-es/protocols/Aws_json1_0.js +118 -1002
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1425,7 +1425,7 @@ var se_UpdateStateMachineAliasCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1425
1425
|
}, "se_UpdateStateMachineAliasCommand");
|
|
1426
1426
|
var de_CreateActivityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1427
1427
|
if (output.statusCode >= 300) {
|
|
1428
|
-
return
|
|
1428
|
+
return de_CommandError(output, context);
|
|
1429
1429
|
}
|
|
1430
1430
|
const data = await parseBody(output.body, context);
|
|
1431
1431
|
let contents = {};
|
|
@@ -1436,34 +1436,9 @@ var de_CreateActivityCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1436
1436
|
};
|
|
1437
1437
|
return response;
|
|
1438
1438
|
}, "de_CreateActivityCommand");
|
|
1439
|
-
var de_CreateActivityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1440
|
-
const parsedOutput = {
|
|
1441
|
-
...output,
|
|
1442
|
-
body: await parseErrorBody(output.body, context)
|
|
1443
|
-
};
|
|
1444
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1445
|
-
switch (errorCode) {
|
|
1446
|
-
case "ActivityLimitExceeded":
|
|
1447
|
-
case "com.amazonaws.sfn#ActivityLimitExceeded":
|
|
1448
|
-
throw await de_ActivityLimitExceededRes(parsedOutput, context);
|
|
1449
|
-
case "InvalidName":
|
|
1450
|
-
case "com.amazonaws.sfn#InvalidName":
|
|
1451
|
-
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1452
|
-
case "TooManyTags":
|
|
1453
|
-
case "com.amazonaws.sfn#TooManyTags":
|
|
1454
|
-
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
1455
|
-
default:
|
|
1456
|
-
const parsedBody = parsedOutput.body;
|
|
1457
|
-
return throwDefaultError({
|
|
1458
|
-
output,
|
|
1459
|
-
parsedBody,
|
|
1460
|
-
errorCode
|
|
1461
|
-
});
|
|
1462
|
-
}
|
|
1463
|
-
}, "de_CreateActivityCommandError");
|
|
1464
1439
|
var de_CreateStateMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1465
1440
|
if (output.statusCode >= 300) {
|
|
1466
|
-
return
|
|
1441
|
+
return de_CommandError(output, context);
|
|
1467
1442
|
}
|
|
1468
1443
|
const data = await parseBody(output.body, context);
|
|
1469
1444
|
let contents = {};
|
|
@@ -1474,61 +1449,9 @@ var de_CreateStateMachineCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1474
1449
|
};
|
|
1475
1450
|
return response;
|
|
1476
1451
|
}, "de_CreateStateMachineCommand");
|
|
1477
|
-
var de_CreateStateMachineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1478
|
-
const parsedOutput = {
|
|
1479
|
-
...output,
|
|
1480
|
-
body: await parseErrorBody(output.body, context)
|
|
1481
|
-
};
|
|
1482
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1483
|
-
switch (errorCode) {
|
|
1484
|
-
case "ConflictException":
|
|
1485
|
-
case "com.amazonaws.sfn#ConflictException":
|
|
1486
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1487
|
-
case "InvalidArn":
|
|
1488
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1489
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1490
|
-
case "InvalidDefinition":
|
|
1491
|
-
case "com.amazonaws.sfn#InvalidDefinition":
|
|
1492
|
-
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
1493
|
-
case "InvalidLoggingConfiguration":
|
|
1494
|
-
case "com.amazonaws.sfn#InvalidLoggingConfiguration":
|
|
1495
|
-
throw await de_InvalidLoggingConfigurationRes(parsedOutput, context);
|
|
1496
|
-
case "InvalidName":
|
|
1497
|
-
case "com.amazonaws.sfn#InvalidName":
|
|
1498
|
-
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1499
|
-
case "InvalidTracingConfiguration":
|
|
1500
|
-
case "com.amazonaws.sfn#InvalidTracingConfiguration":
|
|
1501
|
-
throw await de_InvalidTracingConfigurationRes(parsedOutput, context);
|
|
1502
|
-
case "StateMachineAlreadyExists":
|
|
1503
|
-
case "com.amazonaws.sfn#StateMachineAlreadyExists":
|
|
1504
|
-
throw await de_StateMachineAlreadyExistsRes(parsedOutput, context);
|
|
1505
|
-
case "StateMachineDeleting":
|
|
1506
|
-
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1507
|
-
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1508
|
-
case "StateMachineLimitExceeded":
|
|
1509
|
-
case "com.amazonaws.sfn#StateMachineLimitExceeded":
|
|
1510
|
-
throw await de_StateMachineLimitExceededRes(parsedOutput, context);
|
|
1511
|
-
case "StateMachineTypeNotSupported":
|
|
1512
|
-
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
1513
|
-
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
1514
|
-
case "TooManyTags":
|
|
1515
|
-
case "com.amazonaws.sfn#TooManyTags":
|
|
1516
|
-
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
1517
|
-
case "ValidationException":
|
|
1518
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
1519
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1520
|
-
default:
|
|
1521
|
-
const parsedBody = parsedOutput.body;
|
|
1522
|
-
return throwDefaultError({
|
|
1523
|
-
output,
|
|
1524
|
-
parsedBody,
|
|
1525
|
-
errorCode
|
|
1526
|
-
});
|
|
1527
|
-
}
|
|
1528
|
-
}, "de_CreateStateMachineCommandError");
|
|
1529
1452
|
var de_CreateStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1530
1453
|
if (output.statusCode >= 300) {
|
|
1531
|
-
return
|
|
1454
|
+
return de_CommandError(output, context);
|
|
1532
1455
|
}
|
|
1533
1456
|
const data = await parseBody(output.body, context);
|
|
1534
1457
|
let contents = {};
|
|
@@ -1539,46 +1462,9 @@ var de_CreateStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1539
1462
|
};
|
|
1540
1463
|
return response;
|
|
1541
1464
|
}, "de_CreateStateMachineAliasCommand");
|
|
1542
|
-
var de_CreateStateMachineAliasCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1543
|
-
const parsedOutput = {
|
|
1544
|
-
...output,
|
|
1545
|
-
body: await parseErrorBody(output.body, context)
|
|
1546
|
-
};
|
|
1547
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1548
|
-
switch (errorCode) {
|
|
1549
|
-
case "ConflictException":
|
|
1550
|
-
case "com.amazonaws.sfn#ConflictException":
|
|
1551
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1552
|
-
case "InvalidArn":
|
|
1553
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1554
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1555
|
-
case "InvalidName":
|
|
1556
|
-
case "com.amazonaws.sfn#InvalidName":
|
|
1557
|
-
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1558
|
-
case "ResourceNotFound":
|
|
1559
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1560
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1561
|
-
case "ServiceQuotaExceededException":
|
|
1562
|
-
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
1563
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1564
|
-
case "StateMachineDeleting":
|
|
1565
|
-
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1566
|
-
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1567
|
-
case "ValidationException":
|
|
1568
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
1569
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1570
|
-
default:
|
|
1571
|
-
const parsedBody = parsedOutput.body;
|
|
1572
|
-
return throwDefaultError({
|
|
1573
|
-
output,
|
|
1574
|
-
parsedBody,
|
|
1575
|
-
errorCode
|
|
1576
|
-
});
|
|
1577
|
-
}
|
|
1578
|
-
}, "de_CreateStateMachineAliasCommandError");
|
|
1579
1465
|
var de_DeleteActivityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1580
1466
|
if (output.statusCode >= 300) {
|
|
1581
|
-
return
|
|
1467
|
+
return de_CommandError(output, context);
|
|
1582
1468
|
}
|
|
1583
1469
|
const data = await parseBody(output.body, context);
|
|
1584
1470
|
let contents = {};
|
|
@@ -1589,28 +1475,9 @@ var de_DeleteActivityCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1589
1475
|
};
|
|
1590
1476
|
return response;
|
|
1591
1477
|
}, "de_DeleteActivityCommand");
|
|
1592
|
-
var de_DeleteActivityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1593
|
-
const parsedOutput = {
|
|
1594
|
-
...output,
|
|
1595
|
-
body: await parseErrorBody(output.body, context)
|
|
1596
|
-
};
|
|
1597
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1598
|
-
switch (errorCode) {
|
|
1599
|
-
case "InvalidArn":
|
|
1600
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1601
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1602
|
-
default:
|
|
1603
|
-
const parsedBody = parsedOutput.body;
|
|
1604
|
-
return throwDefaultError({
|
|
1605
|
-
output,
|
|
1606
|
-
parsedBody,
|
|
1607
|
-
errorCode
|
|
1608
|
-
});
|
|
1609
|
-
}
|
|
1610
|
-
}, "de_DeleteActivityCommandError");
|
|
1611
1478
|
var de_DeleteStateMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1612
1479
|
if (output.statusCode >= 300) {
|
|
1613
|
-
return
|
|
1480
|
+
return de_CommandError(output, context);
|
|
1614
1481
|
}
|
|
1615
1482
|
const data = await parseBody(output.body, context);
|
|
1616
1483
|
let contents = {};
|
|
@@ -1621,31 +1488,9 @@ var de_DeleteStateMachineCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1621
1488
|
};
|
|
1622
1489
|
return response;
|
|
1623
1490
|
}, "de_DeleteStateMachineCommand");
|
|
1624
|
-
var de_DeleteStateMachineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1625
|
-
const parsedOutput = {
|
|
1626
|
-
...output,
|
|
1627
|
-
body: await parseErrorBody(output.body, context)
|
|
1628
|
-
};
|
|
1629
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
|
-
switch (errorCode) {
|
|
1631
|
-
case "InvalidArn":
|
|
1632
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1633
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1634
|
-
case "ValidationException":
|
|
1635
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
1636
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1637
|
-
default:
|
|
1638
|
-
const parsedBody = parsedOutput.body;
|
|
1639
|
-
return throwDefaultError({
|
|
1640
|
-
output,
|
|
1641
|
-
parsedBody,
|
|
1642
|
-
errorCode
|
|
1643
|
-
});
|
|
1644
|
-
}
|
|
1645
|
-
}, "de_DeleteStateMachineCommandError");
|
|
1646
1491
|
var de_DeleteStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1647
1492
|
if (output.statusCode >= 300) {
|
|
1648
|
-
return
|
|
1493
|
+
return de_CommandError(output, context);
|
|
1649
1494
|
}
|
|
1650
1495
|
const data = await parseBody(output.body, context);
|
|
1651
1496
|
let contents = {};
|
|
@@ -1656,37 +1501,9 @@ var de_DeleteStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1656
1501
|
};
|
|
1657
1502
|
return response;
|
|
1658
1503
|
}, "de_DeleteStateMachineAliasCommand");
|
|
1659
|
-
var de_DeleteStateMachineAliasCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1660
|
-
const parsedOutput = {
|
|
1661
|
-
...output,
|
|
1662
|
-
body: await parseErrorBody(output.body, context)
|
|
1663
|
-
};
|
|
1664
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1665
|
-
switch (errorCode) {
|
|
1666
|
-
case "ConflictException":
|
|
1667
|
-
case "com.amazonaws.sfn#ConflictException":
|
|
1668
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1669
|
-
case "InvalidArn":
|
|
1670
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1671
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1672
|
-
case "ResourceNotFound":
|
|
1673
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1674
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1675
|
-
case "ValidationException":
|
|
1676
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
1677
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1678
|
-
default:
|
|
1679
|
-
const parsedBody = parsedOutput.body;
|
|
1680
|
-
return throwDefaultError({
|
|
1681
|
-
output,
|
|
1682
|
-
parsedBody,
|
|
1683
|
-
errorCode
|
|
1684
|
-
});
|
|
1685
|
-
}
|
|
1686
|
-
}, "de_DeleteStateMachineAliasCommandError");
|
|
1687
1504
|
var de_DeleteStateMachineVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1688
1505
|
if (output.statusCode >= 300) {
|
|
1689
|
-
return
|
|
1506
|
+
return de_CommandError(output, context);
|
|
1690
1507
|
}
|
|
1691
1508
|
const data = await parseBody(output.body, context);
|
|
1692
1509
|
let contents = {};
|
|
@@ -1697,34 +1514,9 @@ var de_DeleteStateMachineVersionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1697
1514
|
};
|
|
1698
1515
|
return response;
|
|
1699
1516
|
}, "de_DeleteStateMachineVersionCommand");
|
|
1700
|
-
var de_DeleteStateMachineVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1701
|
-
const parsedOutput = {
|
|
1702
|
-
...output,
|
|
1703
|
-
body: await parseErrorBody(output.body, context)
|
|
1704
|
-
};
|
|
1705
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1706
|
-
switch (errorCode) {
|
|
1707
|
-
case "ConflictException":
|
|
1708
|
-
case "com.amazonaws.sfn#ConflictException":
|
|
1709
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1710
|
-
case "InvalidArn":
|
|
1711
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1712
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1713
|
-
case "ValidationException":
|
|
1714
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
1715
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1716
|
-
default:
|
|
1717
|
-
const parsedBody = parsedOutput.body;
|
|
1718
|
-
return throwDefaultError({
|
|
1719
|
-
output,
|
|
1720
|
-
parsedBody,
|
|
1721
|
-
errorCode
|
|
1722
|
-
});
|
|
1723
|
-
}
|
|
1724
|
-
}, "de_DeleteStateMachineVersionCommandError");
|
|
1725
1517
|
var de_DescribeActivityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1726
1518
|
if (output.statusCode >= 300) {
|
|
1727
|
-
return
|
|
1519
|
+
return de_CommandError(output, context);
|
|
1728
1520
|
}
|
|
1729
1521
|
const data = await parseBody(output.body, context);
|
|
1730
1522
|
let contents = {};
|
|
@@ -1735,31 +1527,9 @@ var de_DescribeActivityCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1735
1527
|
};
|
|
1736
1528
|
return response;
|
|
1737
1529
|
}, "de_DescribeActivityCommand");
|
|
1738
|
-
var de_DescribeActivityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1739
|
-
const parsedOutput = {
|
|
1740
|
-
...output,
|
|
1741
|
-
body: await parseErrorBody(output.body, context)
|
|
1742
|
-
};
|
|
1743
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1744
|
-
switch (errorCode) {
|
|
1745
|
-
case "ActivityDoesNotExist":
|
|
1746
|
-
case "com.amazonaws.sfn#ActivityDoesNotExist":
|
|
1747
|
-
throw await de_ActivityDoesNotExistRes(parsedOutput, context);
|
|
1748
|
-
case "InvalidArn":
|
|
1749
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1750
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1751
|
-
default:
|
|
1752
|
-
const parsedBody = parsedOutput.body;
|
|
1753
|
-
return throwDefaultError({
|
|
1754
|
-
output,
|
|
1755
|
-
parsedBody,
|
|
1756
|
-
errorCode
|
|
1757
|
-
});
|
|
1758
|
-
}
|
|
1759
|
-
}, "de_DescribeActivityCommandError");
|
|
1760
1530
|
var de_DescribeExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1761
1531
|
if (output.statusCode >= 300) {
|
|
1762
|
-
return
|
|
1532
|
+
return de_CommandError(output, context);
|
|
1763
1533
|
}
|
|
1764
1534
|
const data = await parseBody(output.body, context);
|
|
1765
1535
|
let contents = {};
|
|
@@ -1770,31 +1540,9 @@ var de_DescribeExecutionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1770
1540
|
};
|
|
1771
1541
|
return response;
|
|
1772
1542
|
}, "de_DescribeExecutionCommand");
|
|
1773
|
-
var de_DescribeExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1774
|
-
const parsedOutput = {
|
|
1775
|
-
...output,
|
|
1776
|
-
body: await parseErrorBody(output.body, context)
|
|
1777
|
-
};
|
|
1778
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1779
|
-
switch (errorCode) {
|
|
1780
|
-
case "ExecutionDoesNotExist":
|
|
1781
|
-
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1782
|
-
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1783
|
-
case "InvalidArn":
|
|
1784
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1785
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1786
|
-
default:
|
|
1787
|
-
const parsedBody = parsedOutput.body;
|
|
1788
|
-
return throwDefaultError({
|
|
1789
|
-
output,
|
|
1790
|
-
parsedBody,
|
|
1791
|
-
errorCode
|
|
1792
|
-
});
|
|
1793
|
-
}
|
|
1794
|
-
}, "de_DescribeExecutionCommandError");
|
|
1795
1543
|
var de_DescribeMapRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1796
1544
|
if (output.statusCode >= 300) {
|
|
1797
|
-
return
|
|
1545
|
+
return de_CommandError(output, context);
|
|
1798
1546
|
}
|
|
1799
1547
|
const data = await parseBody(output.body, context);
|
|
1800
1548
|
let contents = {};
|
|
@@ -1805,31 +1553,9 @@ var de_DescribeMapRunCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1805
1553
|
};
|
|
1806
1554
|
return response;
|
|
1807
1555
|
}, "de_DescribeMapRunCommand");
|
|
1808
|
-
var de_DescribeMapRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1809
|
-
const parsedOutput = {
|
|
1810
|
-
...output,
|
|
1811
|
-
body: await parseErrorBody(output.body, context)
|
|
1812
|
-
};
|
|
1813
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1814
|
-
switch (errorCode) {
|
|
1815
|
-
case "InvalidArn":
|
|
1816
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1817
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1818
|
-
case "ResourceNotFound":
|
|
1819
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1820
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1821
|
-
default:
|
|
1822
|
-
const parsedBody = parsedOutput.body;
|
|
1823
|
-
return throwDefaultError({
|
|
1824
|
-
output,
|
|
1825
|
-
parsedBody,
|
|
1826
|
-
errorCode
|
|
1827
|
-
});
|
|
1828
|
-
}
|
|
1829
|
-
}, "de_DescribeMapRunCommandError");
|
|
1830
1556
|
var de_DescribeStateMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1831
1557
|
if (output.statusCode >= 300) {
|
|
1832
|
-
return
|
|
1558
|
+
return de_CommandError(output, context);
|
|
1833
1559
|
}
|
|
1834
1560
|
const data = await parseBody(output.body, context);
|
|
1835
1561
|
let contents = {};
|
|
@@ -1840,31 +1566,9 @@ var de_DescribeStateMachineCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1840
1566
|
};
|
|
1841
1567
|
return response;
|
|
1842
1568
|
}, "de_DescribeStateMachineCommand");
|
|
1843
|
-
var de_DescribeStateMachineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1844
|
-
const parsedOutput = {
|
|
1845
|
-
...output,
|
|
1846
|
-
body: await parseErrorBody(output.body, context)
|
|
1847
|
-
};
|
|
1848
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1849
|
-
switch (errorCode) {
|
|
1850
|
-
case "InvalidArn":
|
|
1851
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1852
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1853
|
-
case "StateMachineDoesNotExist":
|
|
1854
|
-
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
1855
|
-
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
1856
|
-
default:
|
|
1857
|
-
const parsedBody = parsedOutput.body;
|
|
1858
|
-
return throwDefaultError({
|
|
1859
|
-
output,
|
|
1860
|
-
parsedBody,
|
|
1861
|
-
errorCode
|
|
1862
|
-
});
|
|
1863
|
-
}
|
|
1864
|
-
}, "de_DescribeStateMachineCommandError");
|
|
1865
1569
|
var de_DescribeStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1866
1570
|
if (output.statusCode >= 300) {
|
|
1867
|
-
return
|
|
1571
|
+
return de_CommandError(output, context);
|
|
1868
1572
|
}
|
|
1869
1573
|
const data = await parseBody(output.body, context);
|
|
1870
1574
|
let contents = {};
|
|
@@ -1875,34 +1579,9 @@ var de_DescribeStateMachineAliasCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1875
1579
|
};
|
|
1876
1580
|
return response;
|
|
1877
1581
|
}, "de_DescribeStateMachineAliasCommand");
|
|
1878
|
-
var de_DescribeStateMachineAliasCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1879
|
-
const parsedOutput = {
|
|
1880
|
-
...output,
|
|
1881
|
-
body: await parseErrorBody(output.body, context)
|
|
1882
|
-
};
|
|
1883
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1884
|
-
switch (errorCode) {
|
|
1885
|
-
case "InvalidArn":
|
|
1886
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1887
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1888
|
-
case "ResourceNotFound":
|
|
1889
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1890
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1891
|
-
case "ValidationException":
|
|
1892
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
1893
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1894
|
-
default:
|
|
1895
|
-
const parsedBody = parsedOutput.body;
|
|
1896
|
-
return throwDefaultError({
|
|
1897
|
-
output,
|
|
1898
|
-
parsedBody,
|
|
1899
|
-
errorCode
|
|
1900
|
-
});
|
|
1901
|
-
}
|
|
1902
|
-
}, "de_DescribeStateMachineAliasCommandError");
|
|
1903
1582
|
var de_DescribeStateMachineForExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1904
1583
|
if (output.statusCode >= 300) {
|
|
1905
|
-
return
|
|
1584
|
+
return de_CommandError(output, context);
|
|
1906
1585
|
}
|
|
1907
1586
|
const data = await parseBody(output.body, context);
|
|
1908
1587
|
let contents = {};
|
|
@@ -1913,31 +1592,9 @@ var de_DescribeStateMachineForExecutionCommand = /* @__PURE__ */ __name(async (o
|
|
|
1913
1592
|
};
|
|
1914
1593
|
return response;
|
|
1915
1594
|
}, "de_DescribeStateMachineForExecutionCommand");
|
|
1916
|
-
var de_DescribeStateMachineForExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1917
|
-
const parsedOutput = {
|
|
1918
|
-
...output,
|
|
1919
|
-
body: await parseErrorBody(output.body, context)
|
|
1920
|
-
};
|
|
1921
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1922
|
-
switch (errorCode) {
|
|
1923
|
-
case "ExecutionDoesNotExist":
|
|
1924
|
-
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1925
|
-
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1926
|
-
case "InvalidArn":
|
|
1927
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1928
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1929
|
-
default:
|
|
1930
|
-
const parsedBody = parsedOutput.body;
|
|
1931
|
-
return throwDefaultError({
|
|
1932
|
-
output,
|
|
1933
|
-
parsedBody,
|
|
1934
|
-
errorCode
|
|
1935
|
-
});
|
|
1936
|
-
}
|
|
1937
|
-
}, "de_DescribeStateMachineForExecutionCommandError");
|
|
1938
1595
|
var de_GetActivityTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1939
1596
|
if (output.statusCode >= 300) {
|
|
1940
|
-
return
|
|
1597
|
+
return de_CommandError(output, context);
|
|
1941
1598
|
}
|
|
1942
1599
|
const data = await parseBody(output.body, context);
|
|
1943
1600
|
let contents = {};
|
|
@@ -1948,34 +1605,9 @@ var de_GetActivityTaskCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1948
1605
|
};
|
|
1949
1606
|
return response;
|
|
1950
1607
|
}, "de_GetActivityTaskCommand");
|
|
1951
|
-
var de_GetActivityTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1952
|
-
const parsedOutput = {
|
|
1953
|
-
...output,
|
|
1954
|
-
body: await parseErrorBody(output.body, context)
|
|
1955
|
-
};
|
|
1956
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1957
|
-
switch (errorCode) {
|
|
1958
|
-
case "ActivityDoesNotExist":
|
|
1959
|
-
case "com.amazonaws.sfn#ActivityDoesNotExist":
|
|
1960
|
-
throw await de_ActivityDoesNotExistRes(parsedOutput, context);
|
|
1961
|
-
case "ActivityWorkerLimitExceeded":
|
|
1962
|
-
case "com.amazonaws.sfn#ActivityWorkerLimitExceeded":
|
|
1963
|
-
throw await de_ActivityWorkerLimitExceededRes(parsedOutput, context);
|
|
1964
|
-
case "InvalidArn":
|
|
1965
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
1966
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1967
|
-
default:
|
|
1968
|
-
const parsedBody = parsedOutput.body;
|
|
1969
|
-
return throwDefaultError({
|
|
1970
|
-
output,
|
|
1971
|
-
parsedBody,
|
|
1972
|
-
errorCode
|
|
1973
|
-
});
|
|
1974
|
-
}
|
|
1975
|
-
}, "de_GetActivityTaskCommandError");
|
|
1976
1608
|
var de_GetExecutionHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1977
1609
|
if (output.statusCode >= 300) {
|
|
1978
|
-
return
|
|
1610
|
+
return de_CommandError(output, context);
|
|
1979
1611
|
}
|
|
1980
1612
|
const data = await parseBody(output.body, context);
|
|
1981
1613
|
let contents = {};
|
|
@@ -1986,34 +1618,9 @@ var de_GetExecutionHistoryCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1986
1618
|
};
|
|
1987
1619
|
return response;
|
|
1988
1620
|
}, "de_GetExecutionHistoryCommand");
|
|
1989
|
-
var de_GetExecutionHistoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1990
|
-
const parsedOutput = {
|
|
1991
|
-
...output,
|
|
1992
|
-
body: await parseErrorBody(output.body, context)
|
|
1993
|
-
};
|
|
1994
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1995
|
-
switch (errorCode) {
|
|
1996
|
-
case "ExecutionDoesNotExist":
|
|
1997
|
-
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1998
|
-
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1999
|
-
case "InvalidArn":
|
|
2000
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2001
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2002
|
-
case "InvalidToken":
|
|
2003
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2004
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2005
|
-
default:
|
|
2006
|
-
const parsedBody = parsedOutput.body;
|
|
2007
|
-
return throwDefaultError({
|
|
2008
|
-
output,
|
|
2009
|
-
parsedBody,
|
|
2010
|
-
errorCode
|
|
2011
|
-
});
|
|
2012
|
-
}
|
|
2013
|
-
}, "de_GetExecutionHistoryCommandError");
|
|
2014
1621
|
var de_ListActivitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2015
1622
|
if (output.statusCode >= 300) {
|
|
2016
|
-
return
|
|
1623
|
+
return de_CommandError(output, context);
|
|
2017
1624
|
}
|
|
2018
1625
|
const data = await parseBody(output.body, context);
|
|
2019
1626
|
let contents = {};
|
|
@@ -2024,28 +1631,9 @@ var de_ListActivitiesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2024
1631
|
};
|
|
2025
1632
|
return response;
|
|
2026
1633
|
}, "de_ListActivitiesCommand");
|
|
2027
|
-
var de_ListActivitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2028
|
-
const parsedOutput = {
|
|
2029
|
-
...output,
|
|
2030
|
-
body: await parseErrorBody(output.body, context)
|
|
2031
|
-
};
|
|
2032
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2033
|
-
switch (errorCode) {
|
|
2034
|
-
case "InvalidToken":
|
|
2035
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2036
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2037
|
-
default:
|
|
2038
|
-
const parsedBody = parsedOutput.body;
|
|
2039
|
-
return throwDefaultError({
|
|
2040
|
-
output,
|
|
2041
|
-
parsedBody,
|
|
2042
|
-
errorCode
|
|
2043
|
-
});
|
|
2044
|
-
}
|
|
2045
|
-
}, "de_ListActivitiesCommandError");
|
|
2046
1634
|
var de_ListExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2047
1635
|
if (output.statusCode >= 300) {
|
|
2048
|
-
return
|
|
1636
|
+
return de_CommandError(output, context);
|
|
2049
1637
|
}
|
|
2050
1638
|
const data = await parseBody(output.body, context);
|
|
2051
1639
|
let contents = {};
|
|
@@ -2056,43 +1644,9 @@ var de_ListExecutionsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2056
1644
|
};
|
|
2057
1645
|
return response;
|
|
2058
1646
|
}, "de_ListExecutionsCommand");
|
|
2059
|
-
var de_ListExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2060
|
-
const parsedOutput = {
|
|
2061
|
-
...output,
|
|
2062
|
-
body: await parseErrorBody(output.body, context)
|
|
2063
|
-
};
|
|
2064
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2065
|
-
switch (errorCode) {
|
|
2066
|
-
case "InvalidArn":
|
|
2067
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2068
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2069
|
-
case "InvalidToken":
|
|
2070
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2071
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2072
|
-
case "ResourceNotFound":
|
|
2073
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2074
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2075
|
-
case "StateMachineDoesNotExist":
|
|
2076
|
-
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2077
|
-
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2078
|
-
case "StateMachineTypeNotSupported":
|
|
2079
|
-
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
2080
|
-
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
2081
|
-
case "ValidationException":
|
|
2082
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
2083
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2084
|
-
default:
|
|
2085
|
-
const parsedBody = parsedOutput.body;
|
|
2086
|
-
return throwDefaultError({
|
|
2087
|
-
output,
|
|
2088
|
-
parsedBody,
|
|
2089
|
-
errorCode
|
|
2090
|
-
});
|
|
2091
|
-
}
|
|
2092
|
-
}, "de_ListExecutionsCommandError");
|
|
2093
1647
|
var de_ListMapRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2094
1648
|
if (output.statusCode >= 300) {
|
|
2095
|
-
return
|
|
1649
|
+
return de_CommandError(output, context);
|
|
2096
1650
|
}
|
|
2097
1651
|
const data = await parseBody(output.body, context);
|
|
2098
1652
|
let contents = {};
|
|
@@ -2103,34 +1657,9 @@ var de_ListMapRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2103
1657
|
};
|
|
2104
1658
|
return response;
|
|
2105
1659
|
}, "de_ListMapRunsCommand");
|
|
2106
|
-
var de_ListMapRunsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2107
|
-
const parsedOutput = {
|
|
2108
|
-
...output,
|
|
2109
|
-
body: await parseErrorBody(output.body, context)
|
|
2110
|
-
};
|
|
2111
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2112
|
-
switch (errorCode) {
|
|
2113
|
-
case "ExecutionDoesNotExist":
|
|
2114
|
-
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
2115
|
-
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
2116
|
-
case "InvalidArn":
|
|
2117
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2118
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2119
|
-
case "InvalidToken":
|
|
2120
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2121
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2122
|
-
default:
|
|
2123
|
-
const parsedBody = parsedOutput.body;
|
|
2124
|
-
return throwDefaultError({
|
|
2125
|
-
output,
|
|
2126
|
-
parsedBody,
|
|
2127
|
-
errorCode
|
|
2128
|
-
});
|
|
2129
|
-
}
|
|
2130
|
-
}, "de_ListMapRunsCommandError");
|
|
2131
1660
|
var de_ListStateMachineAliasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2132
1661
|
if (output.statusCode >= 300) {
|
|
2133
|
-
return
|
|
1662
|
+
return de_CommandError(output, context);
|
|
2134
1663
|
}
|
|
2135
1664
|
const data = await parseBody(output.body, context);
|
|
2136
1665
|
let contents = {};
|
|
@@ -2141,40 +1670,9 @@ var de_ListStateMachineAliasesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2141
1670
|
};
|
|
2142
1671
|
return response;
|
|
2143
1672
|
}, "de_ListStateMachineAliasesCommand");
|
|
2144
|
-
var de_ListStateMachineAliasesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2145
|
-
const parsedOutput = {
|
|
2146
|
-
...output,
|
|
2147
|
-
body: await parseErrorBody(output.body, context)
|
|
2148
|
-
};
|
|
2149
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2150
|
-
switch (errorCode) {
|
|
2151
|
-
case "InvalidArn":
|
|
2152
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2153
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2154
|
-
case "InvalidToken":
|
|
2155
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2156
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2157
|
-
case "ResourceNotFound":
|
|
2158
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2159
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2160
|
-
case "StateMachineDeleting":
|
|
2161
|
-
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2162
|
-
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2163
|
-
case "StateMachineDoesNotExist":
|
|
2164
|
-
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2165
|
-
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2166
|
-
default:
|
|
2167
|
-
const parsedBody = parsedOutput.body;
|
|
2168
|
-
return throwDefaultError({
|
|
2169
|
-
output,
|
|
2170
|
-
parsedBody,
|
|
2171
|
-
errorCode
|
|
2172
|
-
});
|
|
2173
|
-
}
|
|
2174
|
-
}, "de_ListStateMachineAliasesCommandError");
|
|
2175
1673
|
var de_ListStateMachinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2176
1674
|
if (output.statusCode >= 300) {
|
|
2177
|
-
return
|
|
1675
|
+
return de_CommandError(output, context);
|
|
2178
1676
|
}
|
|
2179
1677
|
const data = await parseBody(output.body, context);
|
|
2180
1678
|
let contents = {};
|
|
@@ -2185,28 +1683,9 @@ var de_ListStateMachinesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2185
1683
|
};
|
|
2186
1684
|
return response;
|
|
2187
1685
|
}, "de_ListStateMachinesCommand");
|
|
2188
|
-
var de_ListStateMachinesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2189
|
-
const parsedOutput = {
|
|
2190
|
-
...output,
|
|
2191
|
-
body: await parseErrorBody(output.body, context)
|
|
2192
|
-
};
|
|
2193
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2194
|
-
switch (errorCode) {
|
|
2195
|
-
case "InvalidToken":
|
|
2196
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2197
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2198
|
-
default:
|
|
2199
|
-
const parsedBody = parsedOutput.body;
|
|
2200
|
-
return throwDefaultError({
|
|
2201
|
-
output,
|
|
2202
|
-
parsedBody,
|
|
2203
|
-
errorCode
|
|
2204
|
-
});
|
|
2205
|
-
}
|
|
2206
|
-
}, "de_ListStateMachinesCommandError");
|
|
2207
1686
|
var de_ListStateMachineVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2208
1687
|
if (output.statusCode >= 300) {
|
|
2209
|
-
return
|
|
1688
|
+
return de_CommandError(output, context);
|
|
2210
1689
|
}
|
|
2211
1690
|
const data = await parseBody(output.body, context);
|
|
2212
1691
|
let contents = {};
|
|
@@ -2217,34 +1696,9 @@ var de_ListStateMachineVersionsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2217
1696
|
};
|
|
2218
1697
|
return response;
|
|
2219
1698
|
}, "de_ListStateMachineVersionsCommand");
|
|
2220
|
-
var de_ListStateMachineVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2221
|
-
const parsedOutput = {
|
|
2222
|
-
...output,
|
|
2223
|
-
body: await parseErrorBody(output.body, context)
|
|
2224
|
-
};
|
|
2225
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2226
|
-
switch (errorCode) {
|
|
2227
|
-
case "InvalidArn":
|
|
2228
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2229
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2230
|
-
case "InvalidToken":
|
|
2231
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2232
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2233
|
-
case "ValidationException":
|
|
2234
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
2235
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2236
|
-
default:
|
|
2237
|
-
const parsedBody = parsedOutput.body;
|
|
2238
|
-
return throwDefaultError({
|
|
2239
|
-
output,
|
|
2240
|
-
parsedBody,
|
|
2241
|
-
errorCode
|
|
2242
|
-
});
|
|
2243
|
-
}
|
|
2244
|
-
}, "de_ListStateMachineVersionsCommandError");
|
|
2245
1699
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2246
1700
|
if (output.statusCode >= 300) {
|
|
2247
|
-
return
|
|
1701
|
+
return de_CommandError(output, context);
|
|
2248
1702
|
}
|
|
2249
1703
|
const data = await parseBody(output.body, context);
|
|
2250
1704
|
let contents = {};
|
|
@@ -2255,31 +1709,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2255
1709
|
};
|
|
2256
1710
|
return response;
|
|
2257
1711
|
}, "de_ListTagsForResourceCommand");
|
|
2258
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2259
|
-
const parsedOutput = {
|
|
2260
|
-
...output,
|
|
2261
|
-
body: await parseErrorBody(output.body, context)
|
|
2262
|
-
};
|
|
2263
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2264
|
-
switch (errorCode) {
|
|
2265
|
-
case "InvalidArn":
|
|
2266
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2267
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2268
|
-
case "ResourceNotFound":
|
|
2269
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2270
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2271
|
-
default:
|
|
2272
|
-
const parsedBody = parsedOutput.body;
|
|
2273
|
-
return throwDefaultError({
|
|
2274
|
-
output,
|
|
2275
|
-
parsedBody,
|
|
2276
|
-
errorCode
|
|
2277
|
-
});
|
|
2278
|
-
}
|
|
2279
|
-
}, "de_ListTagsForResourceCommandError");
|
|
2280
1712
|
var de_PublishStateMachineVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2281
1713
|
if (output.statusCode >= 300) {
|
|
2282
|
-
return
|
|
1714
|
+
return de_CommandError(output, context);
|
|
2283
1715
|
}
|
|
2284
1716
|
const data = await parseBody(output.body, context);
|
|
2285
1717
|
let contents = {};
|
|
@@ -2290,43 +1722,9 @@ var de_PublishStateMachineVersionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2290
1722
|
};
|
|
2291
1723
|
return response;
|
|
2292
1724
|
}, "de_PublishStateMachineVersionCommand");
|
|
2293
|
-
var de_PublishStateMachineVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2294
|
-
const parsedOutput = {
|
|
2295
|
-
...output,
|
|
2296
|
-
body: await parseErrorBody(output.body, context)
|
|
2297
|
-
};
|
|
2298
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2299
|
-
switch (errorCode) {
|
|
2300
|
-
case "ConflictException":
|
|
2301
|
-
case "com.amazonaws.sfn#ConflictException":
|
|
2302
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2303
|
-
case "InvalidArn":
|
|
2304
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2305
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2306
|
-
case "ServiceQuotaExceededException":
|
|
2307
|
-
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
2308
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2309
|
-
case "StateMachineDeleting":
|
|
2310
|
-
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2311
|
-
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2312
|
-
case "StateMachineDoesNotExist":
|
|
2313
|
-
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2314
|
-
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2315
|
-
case "ValidationException":
|
|
2316
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
2317
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2318
|
-
default:
|
|
2319
|
-
const parsedBody = parsedOutput.body;
|
|
2320
|
-
return throwDefaultError({
|
|
2321
|
-
output,
|
|
2322
|
-
parsedBody,
|
|
2323
|
-
errorCode
|
|
2324
|
-
});
|
|
2325
|
-
}
|
|
2326
|
-
}, "de_PublishStateMachineVersionCommandError");
|
|
2327
1725
|
var de_RedriveExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2328
1726
|
if (output.statusCode >= 300) {
|
|
2329
|
-
return
|
|
1727
|
+
return de_CommandError(output, context);
|
|
2330
1728
|
}
|
|
2331
1729
|
const data = await parseBody(output.body, context);
|
|
2332
1730
|
let contents = {};
|
|
@@ -2337,37 +1735,9 @@ var de_RedriveExecutionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2337
1735
|
};
|
|
2338
1736
|
return response;
|
|
2339
1737
|
}, "de_RedriveExecutionCommand");
|
|
2340
|
-
var de_RedriveExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2341
|
-
const parsedOutput = {
|
|
2342
|
-
...output,
|
|
2343
|
-
body: await parseErrorBody(output.body, context)
|
|
2344
|
-
};
|
|
2345
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2346
|
-
switch (errorCode) {
|
|
2347
|
-
case "ExecutionDoesNotExist":
|
|
2348
|
-
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
2349
|
-
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
2350
|
-
case "ExecutionLimitExceeded":
|
|
2351
|
-
case "com.amazonaws.sfn#ExecutionLimitExceeded":
|
|
2352
|
-
throw await de_ExecutionLimitExceededRes(parsedOutput, context);
|
|
2353
|
-
case "ExecutionNotRedrivable":
|
|
2354
|
-
case "com.amazonaws.sfn#ExecutionNotRedrivable":
|
|
2355
|
-
throw await de_ExecutionNotRedrivableRes(parsedOutput, context);
|
|
2356
|
-
case "InvalidArn":
|
|
2357
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2358
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2359
|
-
default:
|
|
2360
|
-
const parsedBody = parsedOutput.body;
|
|
2361
|
-
return throwDefaultError({
|
|
2362
|
-
output,
|
|
2363
|
-
parsedBody,
|
|
2364
|
-
errorCode
|
|
2365
|
-
});
|
|
2366
|
-
}
|
|
2367
|
-
}, "de_RedriveExecutionCommandError");
|
|
2368
1738
|
var de_SendTaskFailureCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2369
1739
|
if (output.statusCode >= 300) {
|
|
2370
|
-
return
|
|
1740
|
+
return de_CommandError(output, context);
|
|
2371
1741
|
}
|
|
2372
1742
|
const data = await parseBody(output.body, context);
|
|
2373
1743
|
let contents = {};
|
|
@@ -2378,34 +1748,9 @@ var de_SendTaskFailureCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2378
1748
|
};
|
|
2379
1749
|
return response;
|
|
2380
1750
|
}, "de_SendTaskFailureCommand");
|
|
2381
|
-
var de_SendTaskFailureCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2382
|
-
const parsedOutput = {
|
|
2383
|
-
...output,
|
|
2384
|
-
body: await parseErrorBody(output.body, context)
|
|
2385
|
-
};
|
|
2386
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2387
|
-
switch (errorCode) {
|
|
2388
|
-
case "InvalidToken":
|
|
2389
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2390
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2391
|
-
case "TaskDoesNotExist":
|
|
2392
|
-
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
2393
|
-
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
2394
|
-
case "TaskTimedOut":
|
|
2395
|
-
case "com.amazonaws.sfn#TaskTimedOut":
|
|
2396
|
-
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
2397
|
-
default:
|
|
2398
|
-
const parsedBody = parsedOutput.body;
|
|
2399
|
-
return throwDefaultError({
|
|
2400
|
-
output,
|
|
2401
|
-
parsedBody,
|
|
2402
|
-
errorCode
|
|
2403
|
-
});
|
|
2404
|
-
}
|
|
2405
|
-
}, "de_SendTaskFailureCommandError");
|
|
2406
1751
|
var de_SendTaskHeartbeatCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2407
1752
|
if (output.statusCode >= 300) {
|
|
2408
|
-
return
|
|
1753
|
+
return de_CommandError(output, context);
|
|
2409
1754
|
}
|
|
2410
1755
|
const data = await parseBody(output.body, context);
|
|
2411
1756
|
let contents = {};
|
|
@@ -2416,34 +1761,9 @@ var de_SendTaskHeartbeatCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2416
1761
|
};
|
|
2417
1762
|
return response;
|
|
2418
1763
|
}, "de_SendTaskHeartbeatCommand");
|
|
2419
|
-
var de_SendTaskHeartbeatCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2420
|
-
const parsedOutput = {
|
|
2421
|
-
...output,
|
|
2422
|
-
body: await parseErrorBody(output.body, context)
|
|
2423
|
-
};
|
|
2424
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2425
|
-
switch (errorCode) {
|
|
2426
|
-
case "InvalidToken":
|
|
2427
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2428
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2429
|
-
case "TaskDoesNotExist":
|
|
2430
|
-
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
2431
|
-
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
2432
|
-
case "TaskTimedOut":
|
|
2433
|
-
case "com.amazonaws.sfn#TaskTimedOut":
|
|
2434
|
-
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
2435
|
-
default:
|
|
2436
|
-
const parsedBody = parsedOutput.body;
|
|
2437
|
-
return throwDefaultError({
|
|
2438
|
-
output,
|
|
2439
|
-
parsedBody,
|
|
2440
|
-
errorCode
|
|
2441
|
-
});
|
|
2442
|
-
}
|
|
2443
|
-
}, "de_SendTaskHeartbeatCommandError");
|
|
2444
1764
|
var de_SendTaskSuccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2445
1765
|
if (output.statusCode >= 300) {
|
|
2446
|
-
return
|
|
1766
|
+
return de_CommandError(output, context);
|
|
2447
1767
|
}
|
|
2448
1768
|
const data = await parseBody(output.body, context);
|
|
2449
1769
|
let contents = {};
|
|
@@ -2454,37 +1774,9 @@ var de_SendTaskSuccessCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2454
1774
|
};
|
|
2455
1775
|
return response;
|
|
2456
1776
|
}, "de_SendTaskSuccessCommand");
|
|
2457
|
-
var de_SendTaskSuccessCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2458
|
-
const parsedOutput = {
|
|
2459
|
-
...output,
|
|
2460
|
-
body: await parseErrorBody(output.body, context)
|
|
2461
|
-
};
|
|
2462
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2463
|
-
switch (errorCode) {
|
|
2464
|
-
case "InvalidOutput":
|
|
2465
|
-
case "com.amazonaws.sfn#InvalidOutput":
|
|
2466
|
-
throw await de_InvalidOutputRes(parsedOutput, context);
|
|
2467
|
-
case "InvalidToken":
|
|
2468
|
-
case "com.amazonaws.sfn#InvalidToken":
|
|
2469
|
-
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2470
|
-
case "TaskDoesNotExist":
|
|
2471
|
-
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
2472
|
-
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
2473
|
-
case "TaskTimedOut":
|
|
2474
|
-
case "com.amazonaws.sfn#TaskTimedOut":
|
|
2475
|
-
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
2476
|
-
default:
|
|
2477
|
-
const parsedBody = parsedOutput.body;
|
|
2478
|
-
return throwDefaultError({
|
|
2479
|
-
output,
|
|
2480
|
-
parsedBody,
|
|
2481
|
-
errorCode
|
|
2482
|
-
});
|
|
2483
|
-
}
|
|
2484
|
-
}, "de_SendTaskSuccessCommandError");
|
|
2485
1777
|
var de_StartExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2486
1778
|
if (output.statusCode >= 300) {
|
|
2487
|
-
return
|
|
1779
|
+
return de_CommandError(output, context);
|
|
2488
1780
|
}
|
|
2489
1781
|
const data = await parseBody(output.body, context);
|
|
2490
1782
|
let contents = {};
|
|
@@ -2495,49 +1787,9 @@ var de_StartExecutionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2495
1787
|
};
|
|
2496
1788
|
return response;
|
|
2497
1789
|
}, "de_StartExecutionCommand");
|
|
2498
|
-
var de_StartExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2499
|
-
const parsedOutput = {
|
|
2500
|
-
...output,
|
|
2501
|
-
body: await parseErrorBody(output.body, context)
|
|
2502
|
-
};
|
|
2503
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2504
|
-
switch (errorCode) {
|
|
2505
|
-
case "ExecutionAlreadyExists":
|
|
2506
|
-
case "com.amazonaws.sfn#ExecutionAlreadyExists":
|
|
2507
|
-
throw await de_ExecutionAlreadyExistsRes(parsedOutput, context);
|
|
2508
|
-
case "ExecutionLimitExceeded":
|
|
2509
|
-
case "com.amazonaws.sfn#ExecutionLimitExceeded":
|
|
2510
|
-
throw await de_ExecutionLimitExceededRes(parsedOutput, context);
|
|
2511
|
-
case "InvalidArn":
|
|
2512
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2513
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2514
|
-
case "InvalidExecutionInput":
|
|
2515
|
-
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
2516
|
-
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
2517
|
-
case "InvalidName":
|
|
2518
|
-
case "com.amazonaws.sfn#InvalidName":
|
|
2519
|
-
throw await de_InvalidNameRes(parsedOutput, context);
|
|
2520
|
-
case "StateMachineDeleting":
|
|
2521
|
-
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2522
|
-
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2523
|
-
case "StateMachineDoesNotExist":
|
|
2524
|
-
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2525
|
-
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2526
|
-
case "ValidationException":
|
|
2527
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
2528
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2529
|
-
default:
|
|
2530
|
-
const parsedBody = parsedOutput.body;
|
|
2531
|
-
return throwDefaultError({
|
|
2532
|
-
output,
|
|
2533
|
-
parsedBody,
|
|
2534
|
-
errorCode
|
|
2535
|
-
});
|
|
2536
|
-
}
|
|
2537
|
-
}, "de_StartExecutionCommandError");
|
|
2538
1790
|
var de_StartSyncExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2539
1791
|
if (output.statusCode >= 300) {
|
|
2540
|
-
return
|
|
1792
|
+
return de_CommandError(output, context);
|
|
2541
1793
|
}
|
|
2542
1794
|
const data = await parseBody(output.body, context);
|
|
2543
1795
|
let contents = {};
|
|
@@ -2548,43 +1800,9 @@ var de_StartSyncExecutionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2548
1800
|
};
|
|
2549
1801
|
return response;
|
|
2550
1802
|
}, "de_StartSyncExecutionCommand");
|
|
2551
|
-
var de_StartSyncExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2552
|
-
const parsedOutput = {
|
|
2553
|
-
...output,
|
|
2554
|
-
body: await parseErrorBody(output.body, context)
|
|
2555
|
-
};
|
|
2556
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2557
|
-
switch (errorCode) {
|
|
2558
|
-
case "InvalidArn":
|
|
2559
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2560
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2561
|
-
case "InvalidExecutionInput":
|
|
2562
|
-
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
2563
|
-
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
2564
|
-
case "InvalidName":
|
|
2565
|
-
case "com.amazonaws.sfn#InvalidName":
|
|
2566
|
-
throw await de_InvalidNameRes(parsedOutput, context);
|
|
2567
|
-
case "StateMachineDeleting":
|
|
2568
|
-
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2569
|
-
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2570
|
-
case "StateMachineDoesNotExist":
|
|
2571
|
-
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2572
|
-
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2573
|
-
case "StateMachineTypeNotSupported":
|
|
2574
|
-
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
2575
|
-
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
2576
|
-
default:
|
|
2577
|
-
const parsedBody = parsedOutput.body;
|
|
2578
|
-
return throwDefaultError({
|
|
2579
|
-
output,
|
|
2580
|
-
parsedBody,
|
|
2581
|
-
errorCode
|
|
2582
|
-
});
|
|
2583
|
-
}
|
|
2584
|
-
}, "de_StartSyncExecutionCommandError");
|
|
2585
1803
|
var de_StopExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2586
1804
|
if (output.statusCode >= 300) {
|
|
2587
|
-
return
|
|
1805
|
+
return de_CommandError(output, context);
|
|
2588
1806
|
}
|
|
2589
1807
|
const data = await parseBody(output.body, context);
|
|
2590
1808
|
let contents = {};
|
|
@@ -2595,34 +1813,9 @@ var de_StopExecutionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2595
1813
|
};
|
|
2596
1814
|
return response;
|
|
2597
1815
|
}, "de_StopExecutionCommand");
|
|
2598
|
-
var de_StopExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2599
|
-
const parsedOutput = {
|
|
2600
|
-
...output,
|
|
2601
|
-
body: await parseErrorBody(output.body, context)
|
|
2602
|
-
};
|
|
2603
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2604
|
-
switch (errorCode) {
|
|
2605
|
-
case "ExecutionDoesNotExist":
|
|
2606
|
-
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
2607
|
-
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
2608
|
-
case "InvalidArn":
|
|
2609
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2610
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2611
|
-
case "ValidationException":
|
|
2612
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
2613
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2614
|
-
default:
|
|
2615
|
-
const parsedBody = parsedOutput.body;
|
|
2616
|
-
return throwDefaultError({
|
|
2617
|
-
output,
|
|
2618
|
-
parsedBody,
|
|
2619
|
-
errorCode
|
|
2620
|
-
});
|
|
2621
|
-
}
|
|
2622
|
-
}, "de_StopExecutionCommandError");
|
|
2623
1816
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2624
1817
|
if (output.statusCode >= 300) {
|
|
2625
|
-
return
|
|
1818
|
+
return de_CommandError(output, context);
|
|
2626
1819
|
}
|
|
2627
1820
|
const data = await parseBody(output.body, context);
|
|
2628
1821
|
let contents = {};
|
|
@@ -2633,34 +1826,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2633
1826
|
};
|
|
2634
1827
|
return response;
|
|
2635
1828
|
}, "de_TagResourceCommand");
|
|
2636
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2637
|
-
const parsedOutput = {
|
|
2638
|
-
...output,
|
|
2639
|
-
body: await parseErrorBody(output.body, context)
|
|
2640
|
-
};
|
|
2641
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2642
|
-
switch (errorCode) {
|
|
2643
|
-
case "InvalidArn":
|
|
2644
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2645
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2646
|
-
case "ResourceNotFound":
|
|
2647
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2648
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2649
|
-
case "TooManyTags":
|
|
2650
|
-
case "com.amazonaws.sfn#TooManyTags":
|
|
2651
|
-
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
2652
|
-
default:
|
|
2653
|
-
const parsedBody = parsedOutput.body;
|
|
2654
|
-
return throwDefaultError({
|
|
2655
|
-
output,
|
|
2656
|
-
parsedBody,
|
|
2657
|
-
errorCode
|
|
2658
|
-
});
|
|
2659
|
-
}
|
|
2660
|
-
}, "de_TagResourceCommandError");
|
|
2661
1829
|
var de_TestStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2662
1830
|
if (output.statusCode >= 300) {
|
|
2663
|
-
return
|
|
1831
|
+
return de_CommandError(output, context);
|
|
2664
1832
|
}
|
|
2665
1833
|
const data = await parseBody(output.body, context);
|
|
2666
1834
|
let contents = {};
|
|
@@ -2671,37 +1839,9 @@ var de_TestStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2671
1839
|
};
|
|
2672
1840
|
return response;
|
|
2673
1841
|
}, "de_TestStateCommand");
|
|
2674
|
-
var de_TestStateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2675
|
-
const parsedOutput = {
|
|
2676
|
-
...output,
|
|
2677
|
-
body: await parseErrorBody(output.body, context)
|
|
2678
|
-
};
|
|
2679
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2680
|
-
switch (errorCode) {
|
|
2681
|
-
case "InvalidArn":
|
|
2682
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2683
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2684
|
-
case "InvalidDefinition":
|
|
2685
|
-
case "com.amazonaws.sfn#InvalidDefinition":
|
|
2686
|
-
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
2687
|
-
case "InvalidExecutionInput":
|
|
2688
|
-
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
2689
|
-
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
2690
|
-
case "ValidationException":
|
|
2691
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
2692
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2693
|
-
default:
|
|
2694
|
-
const parsedBody = parsedOutput.body;
|
|
2695
|
-
return throwDefaultError({
|
|
2696
|
-
output,
|
|
2697
|
-
parsedBody,
|
|
2698
|
-
errorCode
|
|
2699
|
-
});
|
|
2700
|
-
}
|
|
2701
|
-
}, "de_TestStateCommandError");
|
|
2702
1842
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2703
1843
|
if (output.statusCode >= 300) {
|
|
2704
|
-
return
|
|
1844
|
+
return de_CommandError(output, context);
|
|
2705
1845
|
}
|
|
2706
1846
|
const data = await parseBody(output.body, context);
|
|
2707
1847
|
let contents = {};
|
|
@@ -2712,31 +1852,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2712
1852
|
};
|
|
2713
1853
|
return response;
|
|
2714
1854
|
}, "de_UntagResourceCommand");
|
|
2715
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2716
|
-
const parsedOutput = {
|
|
2717
|
-
...output,
|
|
2718
|
-
body: await parseErrorBody(output.body, context)
|
|
2719
|
-
};
|
|
2720
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2721
|
-
switch (errorCode) {
|
|
2722
|
-
case "InvalidArn":
|
|
2723
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2724
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2725
|
-
case "ResourceNotFound":
|
|
2726
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2727
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2728
|
-
default:
|
|
2729
|
-
const parsedBody = parsedOutput.body;
|
|
2730
|
-
return throwDefaultError({
|
|
2731
|
-
output,
|
|
2732
|
-
parsedBody,
|
|
2733
|
-
errorCode
|
|
2734
|
-
});
|
|
2735
|
-
}
|
|
2736
|
-
}, "de_UntagResourceCommandError");
|
|
2737
1855
|
var de_UpdateMapRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2738
1856
|
if (output.statusCode >= 300) {
|
|
2739
|
-
return
|
|
1857
|
+
return de_CommandError(output, context);
|
|
2740
1858
|
}
|
|
2741
1859
|
const data = await parseBody(output.body, context);
|
|
2742
1860
|
let contents = {};
|
|
@@ -2747,34 +1865,9 @@ var de_UpdateMapRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2747
1865
|
};
|
|
2748
1866
|
return response;
|
|
2749
1867
|
}, "de_UpdateMapRunCommand");
|
|
2750
|
-
var de_UpdateMapRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2751
|
-
const parsedOutput = {
|
|
2752
|
-
...output,
|
|
2753
|
-
body: await parseErrorBody(output.body, context)
|
|
2754
|
-
};
|
|
2755
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2756
|
-
switch (errorCode) {
|
|
2757
|
-
case "InvalidArn":
|
|
2758
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2759
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2760
|
-
case "ResourceNotFound":
|
|
2761
|
-
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2762
|
-
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2763
|
-
case "ValidationException":
|
|
2764
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
2765
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2766
|
-
default:
|
|
2767
|
-
const parsedBody = parsedOutput.body;
|
|
2768
|
-
return throwDefaultError({
|
|
2769
|
-
output,
|
|
2770
|
-
parsedBody,
|
|
2771
|
-
errorCode
|
|
2772
|
-
});
|
|
2773
|
-
}
|
|
2774
|
-
}, "de_UpdateMapRunCommandError");
|
|
2775
1868
|
var de_UpdateStateMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2776
1869
|
if (output.statusCode >= 300) {
|
|
2777
|
-
return
|
|
1870
|
+
return de_CommandError(output, context);
|
|
2778
1871
|
}
|
|
2779
1872
|
const data = await parseBody(output.body, context);
|
|
2780
1873
|
let contents = {};
|
|
@@ -2785,55 +1878,9 @@ var de_UpdateStateMachineCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2785
1878
|
};
|
|
2786
1879
|
return response;
|
|
2787
1880
|
}, "de_UpdateStateMachineCommand");
|
|
2788
|
-
var de_UpdateStateMachineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2789
|
-
const parsedOutput = {
|
|
2790
|
-
...output,
|
|
2791
|
-
body: await parseErrorBody(output.body, context)
|
|
2792
|
-
};
|
|
2793
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2794
|
-
switch (errorCode) {
|
|
2795
|
-
case "ConflictException":
|
|
2796
|
-
case "com.amazonaws.sfn#ConflictException":
|
|
2797
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2798
|
-
case "InvalidArn":
|
|
2799
|
-
case "com.amazonaws.sfn#InvalidArn":
|
|
2800
|
-
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2801
|
-
case "InvalidDefinition":
|
|
2802
|
-
case "com.amazonaws.sfn#InvalidDefinition":
|
|
2803
|
-
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
2804
|
-
case "InvalidLoggingConfiguration":
|
|
2805
|
-
case "com.amazonaws.sfn#InvalidLoggingConfiguration":
|
|
2806
|
-
throw await de_InvalidLoggingConfigurationRes(parsedOutput, context);
|
|
2807
|
-
case "InvalidTracingConfiguration":
|
|
2808
|
-
case "com.amazonaws.sfn#InvalidTracingConfiguration":
|
|
2809
|
-
throw await de_InvalidTracingConfigurationRes(parsedOutput, context);
|
|
2810
|
-
case "MissingRequiredParameter":
|
|
2811
|
-
case "com.amazonaws.sfn#MissingRequiredParameter":
|
|
2812
|
-
throw await de_MissingRequiredParameterRes(parsedOutput, context);
|
|
2813
|
-
case "ServiceQuotaExceededException":
|
|
2814
|
-
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
2815
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2816
|
-
case "StateMachineDeleting":
|
|
2817
|
-
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2818
|
-
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2819
|
-
case "StateMachineDoesNotExist":
|
|
2820
|
-
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2821
|
-
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2822
|
-
case "ValidationException":
|
|
2823
|
-
case "com.amazonaws.sfn#ValidationException":
|
|
2824
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2825
|
-
default:
|
|
2826
|
-
const parsedBody = parsedOutput.body;
|
|
2827
|
-
return throwDefaultError({
|
|
2828
|
-
output,
|
|
2829
|
-
parsedBody,
|
|
2830
|
-
errorCode
|
|
2831
|
-
});
|
|
2832
|
-
}
|
|
2833
|
-
}, "de_UpdateStateMachineCommandError");
|
|
2834
1881
|
var de_UpdateStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2835
1882
|
if (output.statusCode >= 300) {
|
|
2836
|
-
return
|
|
1883
|
+
return de_CommandError(output, context);
|
|
2837
1884
|
}
|
|
2838
1885
|
const data = await parseBody(output.body, context);
|
|
2839
1886
|
let contents = {};
|
|
@@ -2844,28 +1891,97 @@ var de_UpdateStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2844
1891
|
};
|
|
2845
1892
|
return response;
|
|
2846
1893
|
}, "de_UpdateStateMachineAliasCommand");
|
|
2847
|
-
var
|
|
1894
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2848
1895
|
const parsedOutput = {
|
|
2849
1896
|
...output,
|
|
2850
1897
|
body: await parseErrorBody(output.body, context)
|
|
2851
1898
|
};
|
|
2852
1899
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2853
1900
|
switch (errorCode) {
|
|
1901
|
+
case "ActivityLimitExceeded":
|
|
1902
|
+
case "com.amazonaws.sfn#ActivityLimitExceeded":
|
|
1903
|
+
throw await de_ActivityLimitExceededRes(parsedOutput, context);
|
|
1904
|
+
case "InvalidName":
|
|
1905
|
+
case "com.amazonaws.sfn#InvalidName":
|
|
1906
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1907
|
+
case "TooManyTags":
|
|
1908
|
+
case "com.amazonaws.sfn#TooManyTags":
|
|
1909
|
+
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
2854
1910
|
case "ConflictException":
|
|
2855
1911
|
case "com.amazonaws.sfn#ConflictException":
|
|
2856
1912
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2857
1913
|
case "InvalidArn":
|
|
2858
1914
|
case "com.amazonaws.sfn#InvalidArn":
|
|
2859
1915
|
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2860
|
-
case "
|
|
2861
|
-
case "com.amazonaws.sfn#
|
|
2862
|
-
throw await
|
|
1916
|
+
case "InvalidDefinition":
|
|
1917
|
+
case "com.amazonaws.sfn#InvalidDefinition":
|
|
1918
|
+
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
1919
|
+
case "InvalidLoggingConfiguration":
|
|
1920
|
+
case "com.amazonaws.sfn#InvalidLoggingConfiguration":
|
|
1921
|
+
throw await de_InvalidLoggingConfigurationRes(parsedOutput, context);
|
|
1922
|
+
case "InvalidTracingConfiguration":
|
|
1923
|
+
case "com.amazonaws.sfn#InvalidTracingConfiguration":
|
|
1924
|
+
throw await de_InvalidTracingConfigurationRes(parsedOutput, context);
|
|
1925
|
+
case "StateMachineAlreadyExists":
|
|
1926
|
+
case "com.amazonaws.sfn#StateMachineAlreadyExists":
|
|
1927
|
+
throw await de_StateMachineAlreadyExistsRes(parsedOutput, context);
|
|
2863
1928
|
case "StateMachineDeleting":
|
|
2864
1929
|
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2865
1930
|
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1931
|
+
case "StateMachineLimitExceeded":
|
|
1932
|
+
case "com.amazonaws.sfn#StateMachineLimitExceeded":
|
|
1933
|
+
throw await de_StateMachineLimitExceededRes(parsedOutput, context);
|
|
1934
|
+
case "StateMachineTypeNotSupported":
|
|
1935
|
+
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
1936
|
+
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
2866
1937
|
case "ValidationException":
|
|
2867
1938
|
case "com.amazonaws.sfn#ValidationException":
|
|
2868
1939
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1940
|
+
case "ResourceNotFound":
|
|
1941
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1942
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1943
|
+
case "ServiceQuotaExceededException":
|
|
1944
|
+
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
1945
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1946
|
+
case "ActivityDoesNotExist":
|
|
1947
|
+
case "com.amazonaws.sfn#ActivityDoesNotExist":
|
|
1948
|
+
throw await de_ActivityDoesNotExistRes(parsedOutput, context);
|
|
1949
|
+
case "ExecutionDoesNotExist":
|
|
1950
|
+
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1951
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1952
|
+
case "StateMachineDoesNotExist":
|
|
1953
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
1954
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
1955
|
+
case "ActivityWorkerLimitExceeded":
|
|
1956
|
+
case "com.amazonaws.sfn#ActivityWorkerLimitExceeded":
|
|
1957
|
+
throw await de_ActivityWorkerLimitExceededRes(parsedOutput, context);
|
|
1958
|
+
case "InvalidToken":
|
|
1959
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
1960
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
1961
|
+
case "ExecutionLimitExceeded":
|
|
1962
|
+
case "com.amazonaws.sfn#ExecutionLimitExceeded":
|
|
1963
|
+
throw await de_ExecutionLimitExceededRes(parsedOutput, context);
|
|
1964
|
+
case "ExecutionNotRedrivable":
|
|
1965
|
+
case "com.amazonaws.sfn#ExecutionNotRedrivable":
|
|
1966
|
+
throw await de_ExecutionNotRedrivableRes(parsedOutput, context);
|
|
1967
|
+
case "TaskDoesNotExist":
|
|
1968
|
+
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
1969
|
+
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
1970
|
+
case "TaskTimedOut":
|
|
1971
|
+
case "com.amazonaws.sfn#TaskTimedOut":
|
|
1972
|
+
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
1973
|
+
case "InvalidOutput":
|
|
1974
|
+
case "com.amazonaws.sfn#InvalidOutput":
|
|
1975
|
+
throw await de_InvalidOutputRes(parsedOutput, context);
|
|
1976
|
+
case "ExecutionAlreadyExists":
|
|
1977
|
+
case "com.amazonaws.sfn#ExecutionAlreadyExists":
|
|
1978
|
+
throw await de_ExecutionAlreadyExistsRes(parsedOutput, context);
|
|
1979
|
+
case "InvalidExecutionInput":
|
|
1980
|
+
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
1981
|
+
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
1982
|
+
case "MissingRequiredParameter":
|
|
1983
|
+
case "com.amazonaws.sfn#MissingRequiredParameter":
|
|
1984
|
+
throw await de_MissingRequiredParameterRes(parsedOutput, context);
|
|
2869
1985
|
default:
|
|
2870
1986
|
const parsedBody = parsedOutput.body;
|
|
2871
1987
|
return throwDefaultError({
|
|
@@ -2874,7 +1990,7 @@ var de_UpdateStateMachineAliasCommandError = /* @__PURE__ */ __name(async (outpu
|
|
|
2874
1990
|
errorCode
|
|
2875
1991
|
});
|
|
2876
1992
|
}
|
|
2877
|
-
}, "
|
|
1993
|
+
}, "de_CommandError");
|
|
2878
1994
|
var de_ActivityDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2879
1995
|
const body = parsedOutput.body;
|
|
2880
1996
|
const deserialized = (0, import_smithy_client._json)(body);
|