@aws-sdk/client-mediapackagev2 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
CHANGED
|
@@ -1648,10 +1648,10 @@ const paginateListOriginEndpoints = core.createPaginator(MediaPackageV2Client, L
|
|
|
1648
1648
|
const checkState = async (client, input) => {
|
|
1649
1649
|
let reason;
|
|
1650
1650
|
try {
|
|
1651
|
-
|
|
1651
|
+
let result = await client.send(new GetHarvestJobCommand(input));
|
|
1652
1652
|
reason = result;
|
|
1653
1653
|
try {
|
|
1654
|
-
|
|
1654
|
+
const returnComparator = () => {
|
|
1655
1655
|
return result.Status;
|
|
1656
1656
|
};
|
|
1657
1657
|
if (returnComparator() === "COMPLETED") {
|
|
@@ -1660,7 +1660,7 @@ const checkState = async (client, input) => {
|
|
|
1660
1660
|
}
|
|
1661
1661
|
catch (e) { }
|
|
1662
1662
|
try {
|
|
1663
|
-
|
|
1663
|
+
const returnComparator = () => {
|
|
1664
1664
|
return result.Status;
|
|
1665
1665
|
};
|
|
1666
1666
|
if (returnComparator() === "CANCELLED") {
|
|
@@ -1669,7 +1669,7 @@ const checkState = async (client, input) => {
|
|
|
1669
1669
|
}
|
|
1670
1670
|
catch (e) { }
|
|
1671
1671
|
try {
|
|
1672
|
-
|
|
1672
|
+
const returnComparator = () => {
|
|
1673
1673
|
return result.Status;
|
|
1674
1674
|
};
|
|
1675
1675
|
if (returnComparator() === "FAILED") {
|
|
@@ -1678,7 +1678,7 @@ const checkState = async (client, input) => {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
catch (e) { }
|
|
1680
1680
|
try {
|
|
1681
|
-
|
|
1681
|
+
const returnComparator = () => {
|
|
1682
1682
|
return result.Status;
|
|
1683
1683
|
};
|
|
1684
1684
|
if (returnComparator() === "QUEUED") {
|
|
@@ -1687,7 +1687,7 @@ const checkState = async (client, input) => {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
catch (e) { }
|
|
1689
1689
|
try {
|
|
1690
|
-
|
|
1690
|
+
const returnComparator = () => {
|
|
1691
1691
|
return result.Status;
|
|
1692
1692
|
};
|
|
1693
1693
|
if (returnComparator() === "IN_PROGRESS") {
|
|
@@ -3,10 +3,10 @@ import { GetHarvestJobCommand } from "../commands/GetHarvestJobCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetHarvestJobCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "COMPLETED") {
|
|
@@ -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() === "QUEUED") {
|
|
@@ -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() === "IN_PROGRESS") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackagev2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackagev2 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-mediapackagev2",
|
|
@@ -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",
|