@aws-sdk/client-appflow 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 +45 -714
- package/dist-es/protocols/Aws_restJson1.js +44 -713
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1501,7 +1501,7 @@ var se_UpdateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1501
1501
|
}, "se_UpdateFlowCommand");
|
|
1502
1502
|
var de_CancelFlowExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1503
1503
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1504
|
-
return
|
|
1504
|
+
return de_CommandError(output, context);
|
|
1505
1505
|
}
|
|
1506
1506
|
const contents = (0, import_smithy_client.map)({
|
|
1507
1507
|
$metadata: deserializeMetadata(output)
|
|
@@ -1513,40 +1513,9 @@ var de_CancelFlowExecutionsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1513
1513
|
Object.assign(contents, doc);
|
|
1514
1514
|
return contents;
|
|
1515
1515
|
}, "de_CancelFlowExecutionsCommand");
|
|
1516
|
-
var de_CancelFlowExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1517
|
-
const parsedOutput = {
|
|
1518
|
-
...output,
|
|
1519
|
-
body: await parseErrorBody(output.body, context)
|
|
1520
|
-
};
|
|
1521
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1522
|
-
switch (errorCode) {
|
|
1523
|
-
case "AccessDeniedException":
|
|
1524
|
-
case "com.amazonaws.appflow#AccessDeniedException":
|
|
1525
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1526
|
-
case "InternalServerException":
|
|
1527
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1528
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1529
|
-
case "ResourceNotFoundException":
|
|
1530
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1531
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1532
|
-
case "ThrottlingException":
|
|
1533
|
-
case "com.amazonaws.appflow#ThrottlingException":
|
|
1534
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1535
|
-
case "ValidationException":
|
|
1536
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
1537
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1538
|
-
default:
|
|
1539
|
-
const parsedBody = parsedOutput.body;
|
|
1540
|
-
return throwDefaultError({
|
|
1541
|
-
output,
|
|
1542
|
-
parsedBody,
|
|
1543
|
-
errorCode
|
|
1544
|
-
});
|
|
1545
|
-
}
|
|
1546
|
-
}, "de_CancelFlowExecutionsCommandError");
|
|
1547
1516
|
var de_CreateConnectorProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1548
1517
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1549
|
-
return
|
|
1518
|
+
return de_CommandError(output, context);
|
|
1550
1519
|
}
|
|
1551
1520
|
const contents = (0, import_smithy_client.map)({
|
|
1552
1521
|
$metadata: deserializeMetadata(output)
|
|
@@ -1558,40 +1527,9 @@ var de_CreateConnectorProfileCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1558
1527
|
Object.assign(contents, doc);
|
|
1559
1528
|
return contents;
|
|
1560
1529
|
}, "de_CreateConnectorProfileCommand");
|
|
1561
|
-
var de_CreateConnectorProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1562
|
-
const parsedOutput = {
|
|
1563
|
-
...output,
|
|
1564
|
-
body: await parseErrorBody(output.body, context)
|
|
1565
|
-
};
|
|
1566
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1567
|
-
switch (errorCode) {
|
|
1568
|
-
case "ConflictException":
|
|
1569
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
1570
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1571
|
-
case "ConnectorAuthenticationException":
|
|
1572
|
-
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1573
|
-
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1574
|
-
case "InternalServerException":
|
|
1575
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1576
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1577
|
-
case "ServiceQuotaExceededException":
|
|
1578
|
-
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1579
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1580
|
-
case "ValidationException":
|
|
1581
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
1582
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1583
|
-
default:
|
|
1584
|
-
const parsedBody = parsedOutput.body;
|
|
1585
|
-
return throwDefaultError({
|
|
1586
|
-
output,
|
|
1587
|
-
parsedBody,
|
|
1588
|
-
errorCode
|
|
1589
|
-
});
|
|
1590
|
-
}
|
|
1591
|
-
}, "de_CreateConnectorProfileCommandError");
|
|
1592
1530
|
var de_CreateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1593
1531
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1594
|
-
return
|
|
1532
|
+
return de_CommandError(output, context);
|
|
1595
1533
|
}
|
|
1596
1534
|
const contents = (0, import_smithy_client.map)({
|
|
1597
1535
|
$metadata: deserializeMetadata(output)
|
|
@@ -1604,49 +1542,9 @@ var de_CreateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1604
1542
|
Object.assign(contents, doc);
|
|
1605
1543
|
return contents;
|
|
1606
1544
|
}, "de_CreateFlowCommand");
|
|
1607
|
-
var de_CreateFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1608
|
-
const parsedOutput = {
|
|
1609
|
-
...output,
|
|
1610
|
-
body: await parseErrorBody(output.body, context)
|
|
1611
|
-
};
|
|
1612
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1613
|
-
switch (errorCode) {
|
|
1614
|
-
case "AccessDeniedException":
|
|
1615
|
-
case "com.amazonaws.appflow#AccessDeniedException":
|
|
1616
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1617
|
-
case "ConflictException":
|
|
1618
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
1619
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1620
|
-
case "ConnectorAuthenticationException":
|
|
1621
|
-
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1622
|
-
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1623
|
-
case "ConnectorServerException":
|
|
1624
|
-
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1625
|
-
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
1626
|
-
case "InternalServerException":
|
|
1627
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1628
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1629
|
-
case "ResourceNotFoundException":
|
|
1630
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1631
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1632
|
-
case "ServiceQuotaExceededException":
|
|
1633
|
-
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1634
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1635
|
-
case "ValidationException":
|
|
1636
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
1637
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1638
|
-
default:
|
|
1639
|
-
const parsedBody = parsedOutput.body;
|
|
1640
|
-
return throwDefaultError({
|
|
1641
|
-
output,
|
|
1642
|
-
parsedBody,
|
|
1643
|
-
errorCode
|
|
1644
|
-
});
|
|
1645
|
-
}
|
|
1646
|
-
}, "de_CreateFlowCommandError");
|
|
1647
1545
|
var de_DeleteConnectorProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1648
1546
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1649
|
-
return
|
|
1547
|
+
return de_CommandError(output, context);
|
|
1650
1548
|
}
|
|
1651
1549
|
const contents = (0, import_smithy_client.map)({
|
|
1652
1550
|
$metadata: deserializeMetadata(output)
|
|
@@ -1654,34 +1552,9 @@ var de_DeleteConnectorProfileCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1654
1552
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1655
1553
|
return contents;
|
|
1656
1554
|
}, "de_DeleteConnectorProfileCommand");
|
|
1657
|
-
var de_DeleteConnectorProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1658
|
-
const parsedOutput = {
|
|
1659
|
-
...output,
|
|
1660
|
-
body: await parseErrorBody(output.body, context)
|
|
1661
|
-
};
|
|
1662
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1663
|
-
switch (errorCode) {
|
|
1664
|
-
case "ConflictException":
|
|
1665
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
1666
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1667
|
-
case "InternalServerException":
|
|
1668
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1669
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1670
|
-
case "ResourceNotFoundException":
|
|
1671
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1672
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1673
|
-
default:
|
|
1674
|
-
const parsedBody = parsedOutput.body;
|
|
1675
|
-
return throwDefaultError({
|
|
1676
|
-
output,
|
|
1677
|
-
parsedBody,
|
|
1678
|
-
errorCode
|
|
1679
|
-
});
|
|
1680
|
-
}
|
|
1681
|
-
}, "de_DeleteConnectorProfileCommandError");
|
|
1682
1555
|
var de_DeleteFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1683
1556
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1684
|
-
return
|
|
1557
|
+
return de_CommandError(output, context);
|
|
1685
1558
|
}
|
|
1686
1559
|
const contents = (0, import_smithy_client.map)({
|
|
1687
1560
|
$metadata: deserializeMetadata(output)
|
|
@@ -1689,34 +1562,9 @@ var de_DeleteFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1689
1562
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1690
1563
|
return contents;
|
|
1691
1564
|
}, "de_DeleteFlowCommand");
|
|
1692
|
-
var de_DeleteFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1693
|
-
const parsedOutput = {
|
|
1694
|
-
...output,
|
|
1695
|
-
body: await parseErrorBody(output.body, context)
|
|
1696
|
-
};
|
|
1697
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1698
|
-
switch (errorCode) {
|
|
1699
|
-
case "ConflictException":
|
|
1700
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
1701
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1702
|
-
case "InternalServerException":
|
|
1703
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1704
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1705
|
-
case "ResourceNotFoundException":
|
|
1706
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1707
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1708
|
-
default:
|
|
1709
|
-
const parsedBody = parsedOutput.body;
|
|
1710
|
-
return throwDefaultError({
|
|
1711
|
-
output,
|
|
1712
|
-
parsedBody,
|
|
1713
|
-
errorCode
|
|
1714
|
-
});
|
|
1715
|
-
}
|
|
1716
|
-
}, "de_DeleteFlowCommandError");
|
|
1717
1565
|
var de_DescribeConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1718
1566
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1719
|
-
return
|
|
1567
|
+
return de_CommandError(output, context);
|
|
1720
1568
|
}
|
|
1721
1569
|
const contents = (0, import_smithy_client.map)({
|
|
1722
1570
|
$metadata: deserializeMetadata(output)
|
|
@@ -1728,34 +1576,9 @@ var de_DescribeConnectorCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1728
1576
|
Object.assign(contents, doc);
|
|
1729
1577
|
return contents;
|
|
1730
1578
|
}, "de_DescribeConnectorCommand");
|
|
1731
|
-
var de_DescribeConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1732
|
-
const parsedOutput = {
|
|
1733
|
-
...output,
|
|
1734
|
-
body: await parseErrorBody(output.body, context)
|
|
1735
|
-
};
|
|
1736
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1737
|
-
switch (errorCode) {
|
|
1738
|
-
case "InternalServerException":
|
|
1739
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1740
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1741
|
-
case "ResourceNotFoundException":
|
|
1742
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1743
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1744
|
-
case "ValidationException":
|
|
1745
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
1746
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1747
|
-
default:
|
|
1748
|
-
const parsedBody = parsedOutput.body;
|
|
1749
|
-
return throwDefaultError({
|
|
1750
|
-
output,
|
|
1751
|
-
parsedBody,
|
|
1752
|
-
errorCode
|
|
1753
|
-
});
|
|
1754
|
-
}
|
|
1755
|
-
}, "de_DescribeConnectorCommandError");
|
|
1756
1579
|
var de_DescribeConnectorEntityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1757
1580
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1758
|
-
return
|
|
1581
|
+
return de_CommandError(output, context);
|
|
1759
1582
|
}
|
|
1760
1583
|
const contents = (0, import_smithy_client.map)({
|
|
1761
1584
|
$metadata: deserializeMetadata(output)
|
|
@@ -1767,40 +1590,9 @@ var de_DescribeConnectorEntityCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1767
1590
|
Object.assign(contents, doc);
|
|
1768
1591
|
return contents;
|
|
1769
1592
|
}, "de_DescribeConnectorEntityCommand");
|
|
1770
|
-
var de_DescribeConnectorEntityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1771
|
-
const parsedOutput = {
|
|
1772
|
-
...output,
|
|
1773
|
-
body: await parseErrorBody(output.body, context)
|
|
1774
|
-
};
|
|
1775
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1776
|
-
switch (errorCode) {
|
|
1777
|
-
case "ConnectorAuthenticationException":
|
|
1778
|
-
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1779
|
-
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1780
|
-
case "ConnectorServerException":
|
|
1781
|
-
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1782
|
-
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
1783
|
-
case "InternalServerException":
|
|
1784
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1785
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1786
|
-
case "ResourceNotFoundException":
|
|
1787
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1788
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1789
|
-
case "ValidationException":
|
|
1790
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
1791
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1792
|
-
default:
|
|
1793
|
-
const parsedBody = parsedOutput.body;
|
|
1794
|
-
return throwDefaultError({
|
|
1795
|
-
output,
|
|
1796
|
-
parsedBody,
|
|
1797
|
-
errorCode
|
|
1798
|
-
});
|
|
1799
|
-
}
|
|
1800
|
-
}, "de_DescribeConnectorEntityCommandError");
|
|
1801
1593
|
var de_DescribeConnectorProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1802
1594
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1803
|
-
return
|
|
1595
|
+
return de_CommandError(output, context);
|
|
1804
1596
|
}
|
|
1805
1597
|
const contents = (0, import_smithy_client.map)({
|
|
1806
1598
|
$metadata: deserializeMetadata(output)
|
|
@@ -1813,31 +1605,9 @@ var de_DescribeConnectorProfilesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1813
1605
|
Object.assign(contents, doc);
|
|
1814
1606
|
return contents;
|
|
1815
1607
|
}, "de_DescribeConnectorProfilesCommand");
|
|
1816
|
-
var de_DescribeConnectorProfilesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1817
|
-
const parsedOutput = {
|
|
1818
|
-
...output,
|
|
1819
|
-
body: await parseErrorBody(output.body, context)
|
|
1820
|
-
};
|
|
1821
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1822
|
-
switch (errorCode) {
|
|
1823
|
-
case "InternalServerException":
|
|
1824
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1825
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1826
|
-
case "ValidationException":
|
|
1827
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
1828
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1829
|
-
default:
|
|
1830
|
-
const parsedBody = parsedOutput.body;
|
|
1831
|
-
return throwDefaultError({
|
|
1832
|
-
output,
|
|
1833
|
-
parsedBody,
|
|
1834
|
-
errorCode
|
|
1835
|
-
});
|
|
1836
|
-
}
|
|
1837
|
-
}, "de_DescribeConnectorProfilesCommandError");
|
|
1838
1608
|
var de_DescribeConnectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1839
1609
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1840
|
-
return
|
|
1610
|
+
return de_CommandError(output, context);
|
|
1841
1611
|
}
|
|
1842
1612
|
const contents = (0, import_smithy_client.map)({
|
|
1843
1613
|
$metadata: deserializeMetadata(output)
|
|
@@ -1851,31 +1621,9 @@ var de_DescribeConnectorsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1851
1621
|
Object.assign(contents, doc);
|
|
1852
1622
|
return contents;
|
|
1853
1623
|
}, "de_DescribeConnectorsCommand");
|
|
1854
|
-
var de_DescribeConnectorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1855
|
-
const parsedOutput = {
|
|
1856
|
-
...output,
|
|
1857
|
-
body: await parseErrorBody(output.body, context)
|
|
1858
|
-
};
|
|
1859
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1860
|
-
switch (errorCode) {
|
|
1861
|
-
case "InternalServerException":
|
|
1862
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1863
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1864
|
-
case "ValidationException":
|
|
1865
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
1866
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1867
|
-
default:
|
|
1868
|
-
const parsedBody = parsedOutput.body;
|
|
1869
|
-
return throwDefaultError({
|
|
1870
|
-
output,
|
|
1871
|
-
parsedBody,
|
|
1872
|
-
errorCode
|
|
1873
|
-
});
|
|
1874
|
-
}
|
|
1875
|
-
}, "de_DescribeConnectorsCommandError");
|
|
1876
1624
|
var de_DescribeFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1877
1625
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1878
|
-
return
|
|
1626
|
+
return de_CommandError(output, context);
|
|
1879
1627
|
}
|
|
1880
1628
|
const contents = (0, import_smithy_client.map)({
|
|
1881
1629
|
$metadata: deserializeMetadata(output)
|
|
@@ -1905,31 +1653,9 @@ var de_DescribeFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1905
1653
|
Object.assign(contents, doc);
|
|
1906
1654
|
return contents;
|
|
1907
1655
|
}, "de_DescribeFlowCommand");
|
|
1908
|
-
var de_DescribeFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1909
|
-
const parsedOutput = {
|
|
1910
|
-
...output,
|
|
1911
|
-
body: await parseErrorBody(output.body, context)
|
|
1912
|
-
};
|
|
1913
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1914
|
-
switch (errorCode) {
|
|
1915
|
-
case "InternalServerException":
|
|
1916
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1917
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1918
|
-
case "ResourceNotFoundException":
|
|
1919
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1920
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1921
|
-
default:
|
|
1922
|
-
const parsedBody = parsedOutput.body;
|
|
1923
|
-
return throwDefaultError({
|
|
1924
|
-
output,
|
|
1925
|
-
parsedBody,
|
|
1926
|
-
errorCode
|
|
1927
|
-
});
|
|
1928
|
-
}
|
|
1929
|
-
}, "de_DescribeFlowCommandError");
|
|
1930
1656
|
var de_DescribeFlowExecutionRecordsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1931
1657
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1932
|
-
return
|
|
1658
|
+
return de_CommandError(output, context);
|
|
1933
1659
|
}
|
|
1934
1660
|
const contents = (0, import_smithy_client.map)({
|
|
1935
1661
|
$metadata: deserializeMetadata(output)
|
|
@@ -1942,34 +1668,9 @@ var de_DescribeFlowExecutionRecordsCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1942
1668
|
Object.assign(contents, doc);
|
|
1943
1669
|
return contents;
|
|
1944
1670
|
}, "de_DescribeFlowExecutionRecordsCommand");
|
|
1945
|
-
var de_DescribeFlowExecutionRecordsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1946
|
-
const parsedOutput = {
|
|
1947
|
-
...output,
|
|
1948
|
-
body: await parseErrorBody(output.body, context)
|
|
1949
|
-
};
|
|
1950
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1951
|
-
switch (errorCode) {
|
|
1952
|
-
case "InternalServerException":
|
|
1953
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
1954
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1955
|
-
case "ResourceNotFoundException":
|
|
1956
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
1957
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1958
|
-
case "ValidationException":
|
|
1959
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
1960
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1961
|
-
default:
|
|
1962
|
-
const parsedBody = parsedOutput.body;
|
|
1963
|
-
return throwDefaultError({
|
|
1964
|
-
output,
|
|
1965
|
-
parsedBody,
|
|
1966
|
-
errorCode
|
|
1967
|
-
});
|
|
1968
|
-
}
|
|
1969
|
-
}, "de_DescribeFlowExecutionRecordsCommandError");
|
|
1970
1671
|
var de_ListConnectorEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1971
1672
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1972
|
-
return
|
|
1673
|
+
return de_CommandError(output, context);
|
|
1973
1674
|
}
|
|
1974
1675
|
const contents = (0, import_smithy_client.map)({
|
|
1975
1676
|
$metadata: deserializeMetadata(output)
|
|
@@ -1982,40 +1683,9 @@ var de_ListConnectorEntitiesCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1982
1683
|
Object.assign(contents, doc);
|
|
1983
1684
|
return contents;
|
|
1984
1685
|
}, "de_ListConnectorEntitiesCommand");
|
|
1985
|
-
var de_ListConnectorEntitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1986
|
-
const parsedOutput = {
|
|
1987
|
-
...output,
|
|
1988
|
-
body: await parseErrorBody(output.body, context)
|
|
1989
|
-
};
|
|
1990
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1991
|
-
switch (errorCode) {
|
|
1992
|
-
case "ConnectorAuthenticationException":
|
|
1993
|
-
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1994
|
-
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1995
|
-
case "ConnectorServerException":
|
|
1996
|
-
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1997
|
-
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
1998
|
-
case "InternalServerException":
|
|
1999
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2000
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2001
|
-
case "ResourceNotFoundException":
|
|
2002
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2003
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2004
|
-
case "ValidationException":
|
|
2005
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2006
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2007
|
-
default:
|
|
2008
|
-
const parsedBody = parsedOutput.body;
|
|
2009
|
-
return throwDefaultError({
|
|
2010
|
-
output,
|
|
2011
|
-
parsedBody,
|
|
2012
|
-
errorCode
|
|
2013
|
-
});
|
|
2014
|
-
}
|
|
2015
|
-
}, "de_ListConnectorEntitiesCommandError");
|
|
2016
1686
|
var de_ListConnectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2017
1687
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2018
|
-
return
|
|
1688
|
+
return de_CommandError(output, context);
|
|
2019
1689
|
}
|
|
2020
1690
|
const contents = (0, import_smithy_client.map)({
|
|
2021
1691
|
$metadata: deserializeMetadata(output)
|
|
@@ -2028,31 +1698,9 @@ var de_ListConnectorsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2028
1698
|
Object.assign(contents, doc);
|
|
2029
1699
|
return contents;
|
|
2030
1700
|
}, "de_ListConnectorsCommand");
|
|
2031
|
-
var de_ListConnectorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2032
|
-
const parsedOutput = {
|
|
2033
|
-
...output,
|
|
2034
|
-
body: await parseErrorBody(output.body, context)
|
|
2035
|
-
};
|
|
2036
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2037
|
-
switch (errorCode) {
|
|
2038
|
-
case "InternalServerException":
|
|
2039
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2040
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2041
|
-
case "ValidationException":
|
|
2042
|
-
case "com.amazonaws.appflow#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_ListConnectorsCommandError");
|
|
2053
1701
|
var de_ListFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2054
1702
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2055
|
-
return
|
|
1703
|
+
return de_CommandError(output, context);
|
|
2056
1704
|
}
|
|
2057
1705
|
const contents = (0, import_smithy_client.map)({
|
|
2058
1706
|
$metadata: deserializeMetadata(output)
|
|
@@ -2065,31 +1713,9 @@ var de_ListFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2065
1713
|
Object.assign(contents, doc);
|
|
2066
1714
|
return contents;
|
|
2067
1715
|
}, "de_ListFlowsCommand");
|
|
2068
|
-
var de_ListFlowsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2069
|
-
const parsedOutput = {
|
|
2070
|
-
...output,
|
|
2071
|
-
body: await parseErrorBody(output.body, context)
|
|
2072
|
-
};
|
|
2073
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2074
|
-
switch (errorCode) {
|
|
2075
|
-
case "InternalServerException":
|
|
2076
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2077
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2078
|
-
case "ValidationException":
|
|
2079
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2080
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2081
|
-
default:
|
|
2082
|
-
const parsedBody = parsedOutput.body;
|
|
2083
|
-
return throwDefaultError({
|
|
2084
|
-
output,
|
|
2085
|
-
parsedBody,
|
|
2086
|
-
errorCode
|
|
2087
|
-
});
|
|
2088
|
-
}
|
|
2089
|
-
}, "de_ListFlowsCommandError");
|
|
2090
1716
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2091
1717
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2092
|
-
return
|
|
1718
|
+
return de_CommandError(output, context);
|
|
2093
1719
|
}
|
|
2094
1720
|
const contents = (0, import_smithy_client.map)({
|
|
2095
1721
|
$metadata: deserializeMetadata(output)
|
|
@@ -2101,34 +1727,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2101
1727
|
Object.assign(contents, doc);
|
|
2102
1728
|
return contents;
|
|
2103
1729
|
}, "de_ListTagsForResourceCommand");
|
|
2104
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2105
|
-
const parsedOutput = {
|
|
2106
|
-
...output,
|
|
2107
|
-
body: await parseErrorBody(output.body, context)
|
|
2108
|
-
};
|
|
2109
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2110
|
-
switch (errorCode) {
|
|
2111
|
-
case "InternalServerException":
|
|
2112
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2113
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2114
|
-
case "ResourceNotFoundException":
|
|
2115
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2116
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2117
|
-
case "ValidationException":
|
|
2118
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2119
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2120
|
-
default:
|
|
2121
|
-
const parsedBody = parsedOutput.body;
|
|
2122
|
-
return throwDefaultError({
|
|
2123
|
-
output,
|
|
2124
|
-
parsedBody,
|
|
2125
|
-
errorCode
|
|
2126
|
-
});
|
|
2127
|
-
}
|
|
2128
|
-
}, "de_ListTagsForResourceCommandError");
|
|
2129
1730
|
var de_RegisterConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2130
1731
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2131
|
-
return
|
|
1732
|
+
return de_CommandError(output, context);
|
|
2132
1733
|
}
|
|
2133
1734
|
const contents = (0, import_smithy_client.map)({
|
|
2134
1735
|
$metadata: deserializeMetadata(output)
|
|
@@ -2140,52 +1741,9 @@ var de_RegisterConnectorCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2140
1741
|
Object.assign(contents, doc);
|
|
2141
1742
|
return contents;
|
|
2142
1743
|
}, "de_RegisterConnectorCommand");
|
|
2143
|
-
var de_RegisterConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2144
|
-
const parsedOutput = {
|
|
2145
|
-
...output,
|
|
2146
|
-
body: await parseErrorBody(output.body, context)
|
|
2147
|
-
};
|
|
2148
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2149
|
-
switch (errorCode) {
|
|
2150
|
-
case "AccessDeniedException":
|
|
2151
|
-
case "com.amazonaws.appflow#AccessDeniedException":
|
|
2152
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2153
|
-
case "ConflictException":
|
|
2154
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
2155
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2156
|
-
case "ConnectorAuthenticationException":
|
|
2157
|
-
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
2158
|
-
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
2159
|
-
case "ConnectorServerException":
|
|
2160
|
-
case "com.amazonaws.appflow#ConnectorServerException":
|
|
2161
|
-
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
2162
|
-
case "InternalServerException":
|
|
2163
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2164
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2165
|
-
case "ResourceNotFoundException":
|
|
2166
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2167
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2168
|
-
case "ServiceQuotaExceededException":
|
|
2169
|
-
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
2170
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2171
|
-
case "ThrottlingException":
|
|
2172
|
-
case "com.amazonaws.appflow#ThrottlingException":
|
|
2173
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2174
|
-
case "ValidationException":
|
|
2175
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2176
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2177
|
-
default:
|
|
2178
|
-
const parsedBody = parsedOutput.body;
|
|
2179
|
-
return throwDefaultError({
|
|
2180
|
-
output,
|
|
2181
|
-
parsedBody,
|
|
2182
|
-
errorCode
|
|
2183
|
-
});
|
|
2184
|
-
}
|
|
2185
|
-
}, "de_RegisterConnectorCommandError");
|
|
2186
1744
|
var de_ResetConnectorMetadataCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2187
1745
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2188
|
-
return
|
|
1746
|
+
return de_CommandError(output, context);
|
|
2189
1747
|
}
|
|
2190
1748
|
const contents = (0, import_smithy_client.map)({
|
|
2191
1749
|
$metadata: deserializeMetadata(output)
|
|
@@ -2193,37 +1751,9 @@ var de_ResetConnectorMetadataCacheCommand = /* @__PURE__ */ __name(async (output
|
|
|
2193
1751
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2194
1752
|
return contents;
|
|
2195
1753
|
}, "de_ResetConnectorMetadataCacheCommand");
|
|
2196
|
-
var de_ResetConnectorMetadataCacheCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2197
|
-
const parsedOutput = {
|
|
2198
|
-
...output,
|
|
2199
|
-
body: await parseErrorBody(output.body, context)
|
|
2200
|
-
};
|
|
2201
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2202
|
-
switch (errorCode) {
|
|
2203
|
-
case "ConflictException":
|
|
2204
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
2205
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2206
|
-
case "InternalServerException":
|
|
2207
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2208
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2209
|
-
case "ResourceNotFoundException":
|
|
2210
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2211
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2212
|
-
case "ValidationException":
|
|
2213
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2214
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2215
|
-
default:
|
|
2216
|
-
const parsedBody = parsedOutput.body;
|
|
2217
|
-
return throwDefaultError({
|
|
2218
|
-
output,
|
|
2219
|
-
parsedBody,
|
|
2220
|
-
errorCode
|
|
2221
|
-
});
|
|
2222
|
-
}
|
|
2223
|
-
}, "de_ResetConnectorMetadataCacheCommandError");
|
|
2224
1754
|
var de_StartFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2225
1755
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2226
|
-
return
|
|
1756
|
+
return de_CommandError(output, context);
|
|
2227
1757
|
}
|
|
2228
1758
|
const contents = (0, import_smithy_client.map)({
|
|
2229
1759
|
$metadata: deserializeMetadata(output)
|
|
@@ -2237,37 +1767,9 @@ var de_StartFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2237
1767
|
Object.assign(contents, doc);
|
|
2238
1768
|
return contents;
|
|
2239
1769
|
}, "de_StartFlowCommand");
|
|
2240
|
-
var de_StartFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2241
|
-
const parsedOutput = {
|
|
2242
|
-
...output,
|
|
2243
|
-
body: await parseErrorBody(output.body, context)
|
|
2244
|
-
};
|
|
2245
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2246
|
-
switch (errorCode) {
|
|
2247
|
-
case "ConflictException":
|
|
2248
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
2249
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2250
|
-
case "InternalServerException":
|
|
2251
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2252
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2253
|
-
case "ResourceNotFoundException":
|
|
2254
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2255
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2256
|
-
case "ServiceQuotaExceededException":
|
|
2257
|
-
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
2258
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2259
|
-
default:
|
|
2260
|
-
const parsedBody = parsedOutput.body;
|
|
2261
|
-
return throwDefaultError({
|
|
2262
|
-
output,
|
|
2263
|
-
parsedBody,
|
|
2264
|
-
errorCode
|
|
2265
|
-
});
|
|
2266
|
-
}
|
|
2267
|
-
}, "de_StartFlowCommandError");
|
|
2268
1770
|
var de_StopFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2269
1771
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2270
|
-
return
|
|
1772
|
+
return de_CommandError(output, context);
|
|
2271
1773
|
}
|
|
2272
1774
|
const contents = (0, import_smithy_client.map)({
|
|
2273
1775
|
$metadata: deserializeMetadata(output)
|
|
@@ -2280,37 +1782,9 @@ var de_StopFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2280
1782
|
Object.assign(contents, doc);
|
|
2281
1783
|
return contents;
|
|
2282
1784
|
}, "de_StopFlowCommand");
|
|
2283
|
-
var de_StopFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2284
|
-
const parsedOutput = {
|
|
2285
|
-
...output,
|
|
2286
|
-
body: await parseErrorBody(output.body, context)
|
|
2287
|
-
};
|
|
2288
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2289
|
-
switch (errorCode) {
|
|
2290
|
-
case "ConflictException":
|
|
2291
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
2292
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2293
|
-
case "InternalServerException":
|
|
2294
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2295
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2296
|
-
case "ResourceNotFoundException":
|
|
2297
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2298
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2299
|
-
case "UnsupportedOperationException":
|
|
2300
|
-
case "com.amazonaws.appflow#UnsupportedOperationException":
|
|
2301
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2302
|
-
default:
|
|
2303
|
-
const parsedBody = parsedOutput.body;
|
|
2304
|
-
return throwDefaultError({
|
|
2305
|
-
output,
|
|
2306
|
-
parsedBody,
|
|
2307
|
-
errorCode
|
|
2308
|
-
});
|
|
2309
|
-
}
|
|
2310
|
-
}, "de_StopFlowCommandError");
|
|
2311
1785
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2312
1786
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2313
|
-
return
|
|
1787
|
+
return de_CommandError(output, context);
|
|
2314
1788
|
}
|
|
2315
1789
|
const contents = (0, import_smithy_client.map)({
|
|
2316
1790
|
$metadata: deserializeMetadata(output)
|
|
@@ -2318,34 +1792,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2318
1792
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2319
1793
|
return contents;
|
|
2320
1794
|
}, "de_TagResourceCommand");
|
|
2321
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2322
|
-
const parsedOutput = {
|
|
2323
|
-
...output,
|
|
2324
|
-
body: await parseErrorBody(output.body, context)
|
|
2325
|
-
};
|
|
2326
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2327
|
-
switch (errorCode) {
|
|
2328
|
-
case "InternalServerException":
|
|
2329
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2330
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2331
|
-
case "ResourceNotFoundException":
|
|
2332
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2333
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2334
|
-
case "ValidationException":
|
|
2335
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2336
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2337
|
-
default:
|
|
2338
|
-
const parsedBody = parsedOutput.body;
|
|
2339
|
-
return throwDefaultError({
|
|
2340
|
-
output,
|
|
2341
|
-
parsedBody,
|
|
2342
|
-
errorCode
|
|
2343
|
-
});
|
|
2344
|
-
}
|
|
2345
|
-
}, "de_TagResourceCommandError");
|
|
2346
1795
|
var de_UnregisterConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2347
1796
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2348
|
-
return
|
|
1797
|
+
return de_CommandError(output, context);
|
|
2349
1798
|
}
|
|
2350
1799
|
const contents = (0, import_smithy_client.map)({
|
|
2351
1800
|
$metadata: deserializeMetadata(output)
|
|
@@ -2353,34 +1802,9 @@ var de_UnregisterConnectorCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2353
1802
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2354
1803
|
return contents;
|
|
2355
1804
|
}, "de_UnregisterConnectorCommand");
|
|
2356
|
-
var de_UnregisterConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2357
|
-
const parsedOutput = {
|
|
2358
|
-
...output,
|
|
2359
|
-
body: await parseErrorBody(output.body, context)
|
|
2360
|
-
};
|
|
2361
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2362
|
-
switch (errorCode) {
|
|
2363
|
-
case "ConflictException":
|
|
2364
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
2365
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2366
|
-
case "InternalServerException":
|
|
2367
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2368
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2369
|
-
case "ResourceNotFoundException":
|
|
2370
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2371
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2372
|
-
default:
|
|
2373
|
-
const parsedBody = parsedOutput.body;
|
|
2374
|
-
return throwDefaultError({
|
|
2375
|
-
output,
|
|
2376
|
-
parsedBody,
|
|
2377
|
-
errorCode
|
|
2378
|
-
});
|
|
2379
|
-
}
|
|
2380
|
-
}, "de_UnregisterConnectorCommandError");
|
|
2381
1805
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2382
1806
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2383
|
-
return
|
|
1807
|
+
return de_CommandError(output, context);
|
|
2384
1808
|
}
|
|
2385
1809
|
const contents = (0, import_smithy_client.map)({
|
|
2386
1810
|
$metadata: deserializeMetadata(output)
|
|
@@ -2388,34 +1812,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2388
1812
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2389
1813
|
return contents;
|
|
2390
1814
|
}, "de_UntagResourceCommand");
|
|
2391
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2392
|
-
const parsedOutput = {
|
|
2393
|
-
...output,
|
|
2394
|
-
body: await parseErrorBody(output.body, context)
|
|
2395
|
-
};
|
|
2396
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2397
|
-
switch (errorCode) {
|
|
2398
|
-
case "InternalServerException":
|
|
2399
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2400
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2401
|
-
case "ResourceNotFoundException":
|
|
2402
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2403
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2404
|
-
case "ValidationException":
|
|
2405
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2406
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2407
|
-
default:
|
|
2408
|
-
const parsedBody = parsedOutput.body;
|
|
2409
|
-
return throwDefaultError({
|
|
2410
|
-
output,
|
|
2411
|
-
parsedBody,
|
|
2412
|
-
errorCode
|
|
2413
|
-
});
|
|
2414
|
-
}
|
|
2415
|
-
}, "de_UntagResourceCommandError");
|
|
2416
1815
|
var de_UpdateConnectorProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2417
1816
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2418
|
-
return
|
|
1817
|
+
return de_CommandError(output, context);
|
|
2419
1818
|
}
|
|
2420
1819
|
const contents = (0, import_smithy_client.map)({
|
|
2421
1820
|
$metadata: deserializeMetadata(output)
|
|
@@ -2427,40 +1826,9 @@ var de_UpdateConnectorProfileCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2427
1826
|
Object.assign(contents, doc);
|
|
2428
1827
|
return contents;
|
|
2429
1828
|
}, "de_UpdateConnectorProfileCommand");
|
|
2430
|
-
var de_UpdateConnectorProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2431
|
-
const parsedOutput = {
|
|
2432
|
-
...output,
|
|
2433
|
-
body: await parseErrorBody(output.body, context)
|
|
2434
|
-
};
|
|
2435
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2436
|
-
switch (errorCode) {
|
|
2437
|
-
case "ConflictException":
|
|
2438
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
2439
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2440
|
-
case "ConnectorAuthenticationException":
|
|
2441
|
-
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
2442
|
-
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
2443
|
-
case "InternalServerException":
|
|
2444
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2445
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2446
|
-
case "ResourceNotFoundException":
|
|
2447
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2448
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2449
|
-
case "ValidationException":
|
|
2450
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2451
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2452
|
-
default:
|
|
2453
|
-
const parsedBody = parsedOutput.body;
|
|
2454
|
-
return throwDefaultError({
|
|
2455
|
-
output,
|
|
2456
|
-
parsedBody,
|
|
2457
|
-
errorCode
|
|
2458
|
-
});
|
|
2459
|
-
}
|
|
2460
|
-
}, "de_UpdateConnectorProfileCommandError");
|
|
2461
1829
|
var de_UpdateConnectorRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2462
1830
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2463
|
-
return
|
|
1831
|
+
return de_CommandError(output, context);
|
|
2464
1832
|
}
|
|
2465
1833
|
const contents = (0, import_smithy_client.map)({
|
|
2466
1834
|
$metadata: deserializeMetadata(output)
|
|
@@ -2472,52 +1840,9 @@ var de_UpdateConnectorRegistrationCommand = /* @__PURE__ */ __name(async (output
|
|
|
2472
1840
|
Object.assign(contents, doc);
|
|
2473
1841
|
return contents;
|
|
2474
1842
|
}, "de_UpdateConnectorRegistrationCommand");
|
|
2475
|
-
var de_UpdateConnectorRegistrationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2476
|
-
const parsedOutput = {
|
|
2477
|
-
...output,
|
|
2478
|
-
body: await parseErrorBody(output.body, context)
|
|
2479
|
-
};
|
|
2480
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2481
|
-
switch (errorCode) {
|
|
2482
|
-
case "AccessDeniedException":
|
|
2483
|
-
case "com.amazonaws.appflow#AccessDeniedException":
|
|
2484
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2485
|
-
case "ConflictException":
|
|
2486
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
2487
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2488
|
-
case "ConnectorAuthenticationException":
|
|
2489
|
-
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
2490
|
-
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
2491
|
-
case "ConnectorServerException":
|
|
2492
|
-
case "com.amazonaws.appflow#ConnectorServerException":
|
|
2493
|
-
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
2494
|
-
case "InternalServerException":
|
|
2495
|
-
case "com.amazonaws.appflow#InternalServerException":
|
|
2496
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2497
|
-
case "ResourceNotFoundException":
|
|
2498
|
-
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2499
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2500
|
-
case "ServiceQuotaExceededException":
|
|
2501
|
-
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
2502
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2503
|
-
case "ThrottlingException":
|
|
2504
|
-
case "com.amazonaws.appflow#ThrottlingException":
|
|
2505
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2506
|
-
case "ValidationException":
|
|
2507
|
-
case "com.amazonaws.appflow#ValidationException":
|
|
2508
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2509
|
-
default:
|
|
2510
|
-
const parsedBody = parsedOutput.body;
|
|
2511
|
-
return throwDefaultError({
|
|
2512
|
-
output,
|
|
2513
|
-
parsedBody,
|
|
2514
|
-
errorCode
|
|
2515
|
-
});
|
|
2516
|
-
}
|
|
2517
|
-
}, "de_UpdateConnectorRegistrationCommandError");
|
|
2518
1843
|
var de_UpdateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2519
1844
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2520
|
-
return
|
|
1845
|
+
return de_CommandError(output, context);
|
|
2521
1846
|
}
|
|
2522
1847
|
const contents = (0, import_smithy_client.map)({
|
|
2523
1848
|
$metadata: deserializeMetadata(output)
|
|
@@ -2529,7 +1854,7 @@ var de_UpdateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2529
1854
|
Object.assign(contents, doc);
|
|
2530
1855
|
return contents;
|
|
2531
1856
|
}, "de_UpdateFlowCommand");
|
|
2532
|
-
var
|
|
1857
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2533
1858
|
const parsedOutput = {
|
|
2534
1859
|
...output,
|
|
2535
1860
|
body: await parseErrorBody(output.body, context)
|
|
@@ -2539,27 +1864,33 @@ var de_UpdateFlowCommandError = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2539
1864
|
case "AccessDeniedException":
|
|
2540
1865
|
case "com.amazonaws.appflow#AccessDeniedException":
|
|
2541
1866
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2542
|
-
case "ConflictException":
|
|
2543
|
-
case "com.amazonaws.appflow#ConflictException":
|
|
2544
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2545
|
-
case "ConnectorAuthenticationException":
|
|
2546
|
-
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
2547
|
-
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
2548
|
-
case "ConnectorServerException":
|
|
2549
|
-
case "com.amazonaws.appflow#ConnectorServerException":
|
|
2550
|
-
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
2551
1867
|
case "InternalServerException":
|
|
2552
1868
|
case "com.amazonaws.appflow#InternalServerException":
|
|
2553
1869
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2554
1870
|
case "ResourceNotFoundException":
|
|
2555
1871
|
case "com.amazonaws.appflow#ResourceNotFoundException":
|
|
2556
1872
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2557
|
-
case "
|
|
2558
|
-
case "com.amazonaws.appflow#
|
|
2559
|
-
throw await
|
|
1873
|
+
case "ThrottlingException":
|
|
1874
|
+
case "com.amazonaws.appflow#ThrottlingException":
|
|
1875
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2560
1876
|
case "ValidationException":
|
|
2561
1877
|
case "com.amazonaws.appflow#ValidationException":
|
|
2562
1878
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1879
|
+
case "ConflictException":
|
|
1880
|
+
case "com.amazonaws.appflow#ConflictException":
|
|
1881
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1882
|
+
case "ConnectorAuthenticationException":
|
|
1883
|
+
case "com.amazonaws.appflow#ConnectorAuthenticationException":
|
|
1884
|
+
throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
|
|
1885
|
+
case "ServiceQuotaExceededException":
|
|
1886
|
+
case "com.amazonaws.appflow#ServiceQuotaExceededException":
|
|
1887
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1888
|
+
case "ConnectorServerException":
|
|
1889
|
+
case "com.amazonaws.appflow#ConnectorServerException":
|
|
1890
|
+
throw await de_ConnectorServerExceptionRes(parsedOutput, context);
|
|
1891
|
+
case "UnsupportedOperationException":
|
|
1892
|
+
case "com.amazonaws.appflow#UnsupportedOperationException":
|
|
1893
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
2563
1894
|
default:
|
|
2564
1895
|
const parsedBody = parsedOutput.body;
|
|
2565
1896
|
return throwDefaultError({
|
|
@@ -2568,7 +1899,7 @@ var de_UpdateFlowCommandError = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2568
1899
|
errorCode
|
|
2569
1900
|
});
|
|
2570
1901
|
}
|
|
2571
|
-
}, "
|
|
1902
|
+
}, "de_CommandError");
|
|
2572
1903
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(AppflowServiceException);
|
|
2573
1904
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2574
1905
|
const contents = (0, import_smithy_client.map)({});
|