@aws-sdk/client-codeguru-reviewer 3.47.0 → 3.49.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/CHANGELOG.md +35 -0
- package/dist-cjs/waiters/waitForCodeReviewCompleted.js +9 -0
- package/dist-cjs/waiters/waitForRepositoryAssociationSucceeded.js +9 -0
- package/dist-es/waiters/waitForCodeReviewCompleted.js +10 -1
- package/dist-es/waiters/waitForRepositoryAssociationSucceeded.js +10 -1
- package/package.json +41 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 01/28/2022 ([#3263](https://github.com/aws/aws-sdk-js-v3/issues/3263)) ([c207cf4](https://github.com/aws/aws-sdk-js-v3/commit/c207cf4a70ba9ef14dc5b94da7883b0889d64918))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-codeguru-reviewer
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
42
|
|
|
8
43
|
|
|
@@ -17,6 +17,15 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
catch (e) { }
|
|
20
|
+
try {
|
|
21
|
+
const returnComparator = () => {
|
|
22
|
+
return result.CodeReview.State;
|
|
23
|
+
};
|
|
24
|
+
if (returnComparator() === "Failed") {
|
|
25
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (e) { }
|
|
20
29
|
try {
|
|
21
30
|
const returnComparator = () => {
|
|
22
31
|
return result.CodeReview.State;
|
|
@@ -17,6 +17,15 @@ const checkState = async (client, input) => {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
catch (e) { }
|
|
20
|
+
try {
|
|
21
|
+
const returnComparator = () => {
|
|
22
|
+
return result.RepositoryAssociation.State;
|
|
23
|
+
};
|
|
24
|
+
if (returnComparator() === "Failed") {
|
|
25
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (e) { }
|
|
20
29
|
try {
|
|
21
30
|
const returnComparator = () => {
|
|
22
31
|
return result.RepositoryAssociation.State;
|
|
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator } from "tslib";
|
|
|
2
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
3
3
|
import { DescribeCodeReviewCommand } from "../commands/DescribeCodeReviewCommand";
|
|
4
4
|
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
-
var reason, result_1, returnComparator, returnComparator, exception_1;
|
|
5
|
+
var reason, result_1, returnComparator, returnComparator, returnComparator, exception_1;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
7
7
|
switch (_a.label) {
|
|
8
8
|
case 0:
|
|
@@ -20,6 +20,15 @@ var checkState = function (client, input) { return __awaiter(void 0, void 0, voi
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
catch (e) { }
|
|
23
|
+
try {
|
|
24
|
+
returnComparator = function () {
|
|
25
|
+
return result_1.CodeReview.State;
|
|
26
|
+
};
|
|
27
|
+
if (returnComparator() === "Failed") {
|
|
28
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
catch (e) { }
|
|
23
32
|
try {
|
|
24
33
|
returnComparator = function () {
|
|
25
34
|
return result_1.CodeReview.State;
|
|
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator } from "tslib";
|
|
|
2
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
3
3
|
import { DescribeRepositoryAssociationCommand, } from "../commands/DescribeRepositoryAssociationCommand";
|
|
4
4
|
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
-
var reason, result_1, returnComparator, returnComparator, exception_1;
|
|
5
|
+
var reason, result_1, returnComparator, returnComparator, returnComparator, exception_1;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
7
7
|
switch (_a.label) {
|
|
8
8
|
case 0:
|
|
@@ -20,6 +20,15 @@ var checkState = function (client, input) { return __awaiter(void 0, void 0, voi
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
catch (e) { }
|
|
23
|
+
try {
|
|
24
|
+
returnComparator = function () {
|
|
25
|
+
return result_1.RepositoryAssociation.State;
|
|
26
|
+
};
|
|
27
|
+
if (returnComparator() === "Failed") {
|
|
28
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
catch (e) { }
|
|
23
32
|
try {
|
|
24
33
|
returnComparator = function () {
|
|
25
34
|
return result_1.RepositoryAssociation.State;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.49.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
@@ -18,44 +18,50 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.49.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.49.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.49.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.49.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.49.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.49.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.49.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.49.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.49.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.49.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.49.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.49.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.49.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.49.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.49.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.49.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.49.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.49.0",
|
|
39
|
+
"@aws-sdk/types": "3.49.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.49.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.49.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.49.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.49.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.49.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.49.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.49.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.49.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.49.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.49.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.49.0",
|
|
51
|
+
"@aws-sdk/util-waiter": "3.49.0",
|
|
52
52
|
"tslib": "^2.3.0",
|
|
53
53
|
"uuid": "^8.3.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.49.0",
|
|
57
|
+
"@tsconfig/recommended": "1.0.1",
|
|
57
58
|
"@types/node": "^12.7.5",
|
|
58
|
-
"@types/uuid": "^8.3.0"
|
|
59
|
+
"@types/uuid": "^8.3.0",
|
|
60
|
+
"concurrently": "7.0.0",
|
|
61
|
+
"downlevel-dts": "0.7.0",
|
|
62
|
+
"rimraf": "3.0.2",
|
|
63
|
+
"typedoc": "0.19.2",
|
|
64
|
+
"typescript": "~4.3.5"
|
|
59
65
|
},
|
|
60
66
|
"engines": {
|
|
61
67
|
"node": ">=12.0.0"
|