@aws-sdk/client-codeguru-reviewer 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
|
@@ -943,10 +943,10 @@ const paginateListRepositoryAssociations = core.createPaginator(CodeGuruReviewer
|
|
|
943
943
|
const checkState$1 = async (client, input) => {
|
|
944
944
|
let reason;
|
|
945
945
|
try {
|
|
946
|
-
|
|
946
|
+
let result = await client.send(new DescribeCodeReviewCommand(input));
|
|
947
947
|
reason = result;
|
|
948
948
|
try {
|
|
949
|
-
|
|
949
|
+
const returnComparator = () => {
|
|
950
950
|
return result.CodeReview.State;
|
|
951
951
|
};
|
|
952
952
|
if (returnComparator() === "Completed") {
|
|
@@ -955,7 +955,7 @@ const checkState$1 = async (client, input) => {
|
|
|
955
955
|
}
|
|
956
956
|
catch (e) { }
|
|
957
957
|
try {
|
|
958
|
-
|
|
958
|
+
const returnComparator = () => {
|
|
959
959
|
return result.CodeReview.State;
|
|
960
960
|
};
|
|
961
961
|
if (returnComparator() === "Failed") {
|
|
@@ -964,7 +964,7 @@ const checkState$1 = async (client, input) => {
|
|
|
964
964
|
}
|
|
965
965
|
catch (e) { }
|
|
966
966
|
try {
|
|
967
|
-
|
|
967
|
+
const returnComparator = () => {
|
|
968
968
|
return result.CodeReview.State;
|
|
969
969
|
};
|
|
970
970
|
if (returnComparator() === "Pending") {
|
|
@@ -991,10 +991,10 @@ const waitUntilCodeReviewCompleted = async (params, input) => {
|
|
|
991
991
|
const checkState = async (client, input) => {
|
|
992
992
|
let reason;
|
|
993
993
|
try {
|
|
994
|
-
|
|
994
|
+
let result = await client.send(new DescribeRepositoryAssociationCommand(input));
|
|
995
995
|
reason = result;
|
|
996
996
|
try {
|
|
997
|
-
|
|
997
|
+
const returnComparator = () => {
|
|
998
998
|
return result.RepositoryAssociation.State;
|
|
999
999
|
};
|
|
1000
1000
|
if (returnComparator() === "Associated") {
|
|
@@ -1003,7 +1003,7 @@ const checkState = async (client, input) => {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
catch (e) { }
|
|
1005
1005
|
try {
|
|
1006
|
-
|
|
1006
|
+
const returnComparator = () => {
|
|
1007
1007
|
return result.RepositoryAssociation.State;
|
|
1008
1008
|
};
|
|
1009
1009
|
if (returnComparator() === "Failed") {
|
|
@@ -1012,7 +1012,7 @@ const checkState = async (client, input) => {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
catch (e) { }
|
|
1014
1014
|
try {
|
|
1015
|
-
|
|
1015
|
+
const returnComparator = () => {
|
|
1016
1016
|
return result.RepositoryAssociation.State;
|
|
1017
1017
|
};
|
|
1018
1018
|
if (returnComparator() === "Associating") {
|
|
@@ -3,10 +3,10 @@ import { DescribeCodeReviewCommand } from "../commands/DescribeCodeReviewCommand
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeCodeReviewCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.CodeReview.State;
|
|
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.CodeReview.State;
|
|
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.CodeReview.State;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Pending") {
|
|
@@ -3,10 +3,10 @@ import { DescribeRepositoryAssociationCommand, } from "../commands/DescribeRepos
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeRepositoryAssociationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.RepositoryAssociation.State;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Associated") {
|
|
@@ -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.RepositoryAssociation.State;
|
|
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.RepositoryAssociation.State;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Associating") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeguru-reviewer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeguru Reviewer 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-codeguru-reviewer",
|
|
@@ -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",
|