@aws-sdk/client-neptune-graph 3.958.0 → 3.962.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 +38 -38
- package/dist-es/waiters/waitForExportTaskCancelled.js +3 -3
- package/dist-es/waiters/waitForExportTaskSuccessful.js +5 -5
- package/dist-es/waiters/waitForGraphAvailable.js +4 -4
- package/dist-es/waiters/waitForGraphDeleted.js +2 -2
- package/dist-es/waiters/waitForGraphSnapshotAvailable.js +4 -4
- package/dist-es/waiters/waitForGraphSnapshotDeleted.js +2 -2
- package/dist-es/waiters/waitForGraphStopped.js +3 -3
- package/dist-es/waiters/waitForImportTaskCancelled.js +3 -3
- package/dist-es/waiters/waitForImportTaskSuccessful.js +6 -6
- package/dist-es/waiters/waitForPrivateGraphEndpointAvailable.js +4 -4
- package/dist-es/waiters/waitForPrivateGraphEndpointDeleted.js +2 -2
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -1664,10 +1664,10 @@ const paginateListPrivateGraphEndpoints = core.createPaginator(NeptuneGraphClien
|
|
|
1664
1664
|
const checkState$a = async (client, input) => {
|
|
1665
1665
|
let reason;
|
|
1666
1666
|
try {
|
|
1667
|
-
|
|
1667
|
+
let result = await client.send(new GetExportTaskCommand(input));
|
|
1668
1668
|
reason = result;
|
|
1669
1669
|
try {
|
|
1670
|
-
|
|
1670
|
+
const returnComparator = () => {
|
|
1671
1671
|
return result.status;
|
|
1672
1672
|
};
|
|
1673
1673
|
if (returnComparator() === "CANCELLING") {
|
|
@@ -1676,7 +1676,7 @@ const checkState$a = async (client, input) => {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
catch (e) { }
|
|
1678
1678
|
try {
|
|
1679
|
-
|
|
1679
|
+
const returnComparator = () => {
|
|
1680
1680
|
return result.status;
|
|
1681
1681
|
};
|
|
1682
1682
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -1685,7 +1685,7 @@ const checkState$a = async (client, input) => {
|
|
|
1685
1685
|
}
|
|
1686
1686
|
catch (e) { }
|
|
1687
1687
|
try {
|
|
1688
|
-
|
|
1688
|
+
const returnComparator = () => {
|
|
1689
1689
|
return result.status;
|
|
1690
1690
|
};
|
|
1691
1691
|
if (returnComparator() === "FAILED") {
|
|
@@ -1694,7 +1694,7 @@ const checkState$a = async (client, input) => {
|
|
|
1694
1694
|
}
|
|
1695
1695
|
catch (e) { }
|
|
1696
1696
|
try {
|
|
1697
|
-
|
|
1697
|
+
const returnComparator = () => {
|
|
1698
1698
|
return result.status;
|
|
1699
1699
|
};
|
|
1700
1700
|
if (returnComparator() === "SUCCEEDED") {
|
|
@@ -1721,10 +1721,10 @@ const waitUntilExportTaskSuccessful = async (params, input) => {
|
|
|
1721
1721
|
const checkState$9 = async (client, input) => {
|
|
1722
1722
|
let reason;
|
|
1723
1723
|
try {
|
|
1724
|
-
|
|
1724
|
+
let result = await client.send(new GetExportTaskCommand(input));
|
|
1725
1725
|
reason = result;
|
|
1726
1726
|
try {
|
|
1727
|
-
|
|
1727
|
+
const returnComparator = () => {
|
|
1728
1728
|
return ((result.status != "CANCELLING") && (result.status != "CANCELLED"));
|
|
1729
1729
|
};
|
|
1730
1730
|
if (returnComparator() == true) {
|
|
@@ -1733,7 +1733,7 @@ const checkState$9 = async (client, input) => {
|
|
|
1733
1733
|
}
|
|
1734
1734
|
catch (e) { }
|
|
1735
1735
|
try {
|
|
1736
|
-
|
|
1736
|
+
const returnComparator = () => {
|
|
1737
1737
|
return result.status;
|
|
1738
1738
|
};
|
|
1739
1739
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -1760,10 +1760,10 @@ const waitUntilExportTaskCancelled = async (params, input) => {
|
|
|
1760
1760
|
const checkState$8 = async (client, input) => {
|
|
1761
1761
|
let reason;
|
|
1762
1762
|
try {
|
|
1763
|
-
|
|
1763
|
+
let result = await client.send(new GetGraphCommand(input));
|
|
1764
1764
|
reason = result;
|
|
1765
1765
|
try {
|
|
1766
|
-
|
|
1766
|
+
const returnComparator = () => {
|
|
1767
1767
|
return result.status;
|
|
1768
1768
|
};
|
|
1769
1769
|
if (returnComparator() === "DELETING") {
|
|
@@ -1772,7 +1772,7 @@ const checkState$8 = async (client, input) => {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
catch (e) { }
|
|
1774
1774
|
try {
|
|
1775
|
-
|
|
1775
|
+
const returnComparator = () => {
|
|
1776
1776
|
return result.status;
|
|
1777
1777
|
};
|
|
1778
1778
|
if (returnComparator() === "FAILED") {
|
|
@@ -1781,7 +1781,7 @@ const checkState$8 = async (client, input) => {
|
|
|
1781
1781
|
}
|
|
1782
1782
|
catch (e) { }
|
|
1783
1783
|
try {
|
|
1784
|
-
|
|
1784
|
+
const returnComparator = () => {
|
|
1785
1785
|
return result.status;
|
|
1786
1786
|
};
|
|
1787
1787
|
if (returnComparator() === "AVAILABLE") {
|
|
@@ -1808,10 +1808,10 @@ const waitUntilGraphAvailable = async (params, input) => {
|
|
|
1808
1808
|
const checkState$7 = async (client, input) => {
|
|
1809
1809
|
let reason;
|
|
1810
1810
|
try {
|
|
1811
|
-
|
|
1811
|
+
let result = await client.send(new GetGraphCommand(input));
|
|
1812
1812
|
reason = result;
|
|
1813
1813
|
try {
|
|
1814
|
-
|
|
1814
|
+
const returnComparator = () => {
|
|
1815
1815
|
return (result.status != "DELETING");
|
|
1816
1816
|
};
|
|
1817
1817
|
if (returnComparator() == true) {
|
|
@@ -1841,10 +1841,10 @@ const waitUntilGraphDeleted = async (params, input) => {
|
|
|
1841
1841
|
const checkState$6 = async (client, input) => {
|
|
1842
1842
|
let reason;
|
|
1843
1843
|
try {
|
|
1844
|
-
|
|
1844
|
+
let result = await client.send(new GetGraphCommand(input));
|
|
1845
1845
|
reason = result;
|
|
1846
1846
|
try {
|
|
1847
|
-
|
|
1847
|
+
const returnComparator = () => {
|
|
1848
1848
|
return result.status;
|
|
1849
1849
|
};
|
|
1850
1850
|
if (returnComparator() === "STOPPED") {
|
|
@@ -1853,7 +1853,7 @@ const checkState$6 = async (client, input) => {
|
|
|
1853
1853
|
}
|
|
1854
1854
|
catch (e) { }
|
|
1855
1855
|
try {
|
|
1856
|
-
|
|
1856
|
+
const returnComparator = () => {
|
|
1857
1857
|
return (result.status != "STOPPING");
|
|
1858
1858
|
};
|
|
1859
1859
|
if (returnComparator() == true) {
|
|
@@ -1880,10 +1880,10 @@ const waitUntilGraphStopped = async (params, input) => {
|
|
|
1880
1880
|
const checkState$5 = async (client, input) => {
|
|
1881
1881
|
let reason;
|
|
1882
1882
|
try {
|
|
1883
|
-
|
|
1883
|
+
let result = await client.send(new GetGraphSnapshotCommand(input));
|
|
1884
1884
|
reason = result;
|
|
1885
1885
|
try {
|
|
1886
|
-
|
|
1886
|
+
const returnComparator = () => {
|
|
1887
1887
|
return result.status;
|
|
1888
1888
|
};
|
|
1889
1889
|
if (returnComparator() === "DELETING") {
|
|
@@ -1892,7 +1892,7 @@ const checkState$5 = async (client, input) => {
|
|
|
1892
1892
|
}
|
|
1893
1893
|
catch (e) { }
|
|
1894
1894
|
try {
|
|
1895
|
-
|
|
1895
|
+
const returnComparator = () => {
|
|
1896
1896
|
return result.status;
|
|
1897
1897
|
};
|
|
1898
1898
|
if (returnComparator() === "FAILED") {
|
|
@@ -1901,7 +1901,7 @@ const checkState$5 = async (client, input) => {
|
|
|
1901
1901
|
}
|
|
1902
1902
|
catch (e) { }
|
|
1903
1903
|
try {
|
|
1904
|
-
|
|
1904
|
+
const returnComparator = () => {
|
|
1905
1905
|
return result.status;
|
|
1906
1906
|
};
|
|
1907
1907
|
if (returnComparator() === "AVAILABLE") {
|
|
@@ -1928,10 +1928,10 @@ const waitUntilGraphSnapshotAvailable = async (params, input) => {
|
|
|
1928
1928
|
const checkState$4 = async (client, input) => {
|
|
1929
1929
|
let reason;
|
|
1930
1930
|
try {
|
|
1931
|
-
|
|
1931
|
+
let result = await client.send(new GetGraphSnapshotCommand(input));
|
|
1932
1932
|
reason = result;
|
|
1933
1933
|
try {
|
|
1934
|
-
|
|
1934
|
+
const returnComparator = () => {
|
|
1935
1935
|
return (result.status != "DELETING");
|
|
1936
1936
|
};
|
|
1937
1937
|
if (returnComparator() == true) {
|
|
@@ -1961,10 +1961,10 @@ const waitUntilGraphSnapshotDeleted = async (params, input) => {
|
|
|
1961
1961
|
const checkState$3 = async (client, input) => {
|
|
1962
1962
|
let reason;
|
|
1963
1963
|
try {
|
|
1964
|
-
|
|
1964
|
+
let result = await client.send(new GetImportTaskCommand(input));
|
|
1965
1965
|
reason = result;
|
|
1966
1966
|
try {
|
|
1967
|
-
|
|
1967
|
+
const returnComparator = () => {
|
|
1968
1968
|
return result.status;
|
|
1969
1969
|
};
|
|
1970
1970
|
if (returnComparator() === "CANCELLING") {
|
|
@@ -1973,7 +1973,7 @@ const checkState$3 = async (client, input) => {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
catch (e) { }
|
|
1975
1975
|
try {
|
|
1976
|
-
|
|
1976
|
+
const returnComparator = () => {
|
|
1977
1977
|
return result.status;
|
|
1978
1978
|
};
|
|
1979
1979
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -1982,7 +1982,7 @@ const checkState$3 = async (client, input) => {
|
|
|
1982
1982
|
}
|
|
1983
1983
|
catch (e) { }
|
|
1984
1984
|
try {
|
|
1985
|
-
|
|
1985
|
+
const returnComparator = () => {
|
|
1986
1986
|
return result.status;
|
|
1987
1987
|
};
|
|
1988
1988
|
if (returnComparator() === "ROLLING_BACK") {
|
|
@@ -1991,7 +1991,7 @@ const checkState$3 = async (client, input) => {
|
|
|
1991
1991
|
}
|
|
1992
1992
|
catch (e) { }
|
|
1993
1993
|
try {
|
|
1994
|
-
|
|
1994
|
+
const returnComparator = () => {
|
|
1995
1995
|
return result.status;
|
|
1996
1996
|
};
|
|
1997
1997
|
if (returnComparator() === "FAILED") {
|
|
@@ -2000,7 +2000,7 @@ const checkState$3 = async (client, input) => {
|
|
|
2000
2000
|
}
|
|
2001
2001
|
catch (e) { }
|
|
2002
2002
|
try {
|
|
2003
|
-
|
|
2003
|
+
const returnComparator = () => {
|
|
2004
2004
|
return result.status;
|
|
2005
2005
|
};
|
|
2006
2006
|
if (returnComparator() === "SUCCEEDED") {
|
|
@@ -2027,10 +2027,10 @@ const waitUntilImportTaskSuccessful = async (params, input) => {
|
|
|
2027
2027
|
const checkState$2 = async (client, input) => {
|
|
2028
2028
|
let reason;
|
|
2029
2029
|
try {
|
|
2030
|
-
|
|
2030
|
+
let result = await client.send(new GetImportTaskCommand(input));
|
|
2031
2031
|
reason = result;
|
|
2032
2032
|
try {
|
|
2033
|
-
|
|
2033
|
+
const returnComparator = () => {
|
|
2034
2034
|
return ((result.status != "CANCELLING") && (result.status != "CANCELLED"));
|
|
2035
2035
|
};
|
|
2036
2036
|
if (returnComparator() == true) {
|
|
@@ -2039,7 +2039,7 @@ const checkState$2 = async (client, input) => {
|
|
|
2039
2039
|
}
|
|
2040
2040
|
catch (e) { }
|
|
2041
2041
|
try {
|
|
2042
|
-
|
|
2042
|
+
const returnComparator = () => {
|
|
2043
2043
|
return result.status;
|
|
2044
2044
|
};
|
|
2045
2045
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -2066,10 +2066,10 @@ const waitUntilImportTaskCancelled = async (params, input) => {
|
|
|
2066
2066
|
const checkState$1 = async (client, input) => {
|
|
2067
2067
|
let reason;
|
|
2068
2068
|
try {
|
|
2069
|
-
|
|
2069
|
+
let result = await client.send(new GetPrivateGraphEndpointCommand(input));
|
|
2070
2070
|
reason = result;
|
|
2071
2071
|
try {
|
|
2072
|
-
|
|
2072
|
+
const returnComparator = () => {
|
|
2073
2073
|
return result.status;
|
|
2074
2074
|
};
|
|
2075
2075
|
if (returnComparator() === "DELETING") {
|
|
@@ -2078,7 +2078,7 @@ const checkState$1 = async (client, input) => {
|
|
|
2078
2078
|
}
|
|
2079
2079
|
catch (e) { }
|
|
2080
2080
|
try {
|
|
2081
|
-
|
|
2081
|
+
const returnComparator = () => {
|
|
2082
2082
|
return result.status;
|
|
2083
2083
|
};
|
|
2084
2084
|
if (returnComparator() === "FAILED") {
|
|
@@ -2087,7 +2087,7 @@ const checkState$1 = async (client, input) => {
|
|
|
2087
2087
|
}
|
|
2088
2088
|
catch (e) { }
|
|
2089
2089
|
try {
|
|
2090
|
-
|
|
2090
|
+
const returnComparator = () => {
|
|
2091
2091
|
return result.status;
|
|
2092
2092
|
};
|
|
2093
2093
|
if (returnComparator() === "AVAILABLE") {
|
|
@@ -2114,10 +2114,10 @@ const waitUntilPrivateGraphEndpointAvailable = async (params, input) => {
|
|
|
2114
2114
|
const checkState = async (client, input) => {
|
|
2115
2115
|
let reason;
|
|
2116
2116
|
try {
|
|
2117
|
-
|
|
2117
|
+
let result = await client.send(new GetPrivateGraphEndpointCommand(input));
|
|
2118
2118
|
reason = result;
|
|
2119
2119
|
try {
|
|
2120
|
-
|
|
2120
|
+
const returnComparator = () => {
|
|
2121
2121
|
return (result.status != "DELETING");
|
|
2122
2122
|
};
|
|
2123
2123
|
if (returnComparator() == true) {
|
|
@@ -3,10 +3,10 @@ import { GetExportTaskCommand } from "../commands/GetExportTaskCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetExportTaskCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return ((result.status != "CANCELLING") && (result.status != "CANCELLED"));
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() == true) {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -3,10 +3,10 @@ import { GetExportTaskCommand } from "../commands/GetExportTaskCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetExportTaskCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "CANCELLING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "FAILED") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
const returnComparator = () => {
|
|
37
37
|
return result.status;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "SUCCEEDED") {
|
|
@@ -3,10 +3,10 @@ import { GetGraphCommand } from "../commands/GetGraphCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetGraphCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DELETING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "AVAILABLE") {
|
|
@@ -3,10 +3,10 @@ import { GetGraphCommand } from "../commands/GetGraphCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetGraphCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return (result.status != "DELETING");
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() == true) {
|
|
@@ -3,10 +3,10 @@ import { GetGraphSnapshotCommand } from "../commands/GetGraphSnapshotCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetGraphSnapshotCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DELETING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "AVAILABLE") {
|
|
@@ -3,10 +3,10 @@ import { GetGraphSnapshotCommand } from "../commands/GetGraphSnapshotCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetGraphSnapshotCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return (result.status != "DELETING");
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() == true) {
|
|
@@ -3,10 +3,10 @@ import { GetGraphCommand } from "../commands/GetGraphCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetGraphCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "STOPPED") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return (result.status != "STOPPING");
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() == true) {
|
|
@@ -3,10 +3,10 @@ import { GetImportTaskCommand } from "../commands/GetImportTaskCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetImportTaskCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return ((result.status != "CANCELLING") && (result.status != "CANCELLED"));
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() == true) {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -3,10 +3,10 @@ import { GetImportTaskCommand } from "../commands/GetImportTaskCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetImportTaskCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "CANCELLING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "ROLLING_BACK") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
const returnComparator = () => {
|
|
37
37
|
return result.status;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "FAILED") {
|
|
@@ -42,7 +42,7 @@ const checkState = async (client, input) => {
|
|
|
42
42
|
}
|
|
43
43
|
catch (e) { }
|
|
44
44
|
try {
|
|
45
|
-
|
|
45
|
+
const returnComparator = () => {
|
|
46
46
|
return result.status;
|
|
47
47
|
};
|
|
48
48
|
if (returnComparator() === "SUCCEEDED") {
|
|
@@ -3,10 +3,10 @@ import { GetPrivateGraphEndpointCommand, } from "../commands/GetPrivateGraphEndp
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetPrivateGraphEndpointCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DELETING") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "AVAILABLE") {
|
|
@@ -3,10 +3,10 @@ import { GetPrivateGraphEndpointCommand, } from "../commands/GetPrivateGraphEndp
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetPrivateGraphEndpointCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return (result.status != "DELETING");
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() == true) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-neptune-graph",
|
|
3
3
|
"description": "AWS SDK for JavaScript Neptune Graph Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.962.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-neptune-graph",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.962.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|