@aws-sdk/client-codeguru-reviewer 3.1037.0 → 3.1039.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-es/waiters/waitForCodeReviewCompleted.js +1 -1
- package/dist-types/CodeGuruReviewer.d.ts +2 -2
- package/dist-types/ts3.4/CodeGuruReviewer.d.ts +2 -2
- package/dist-types/ts3.4/waiters/waitForCodeReviewCompleted.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForRepositoryAssociationSucceeded.d.ts +12 -3
- package/dist-types/waiters/waitForCodeReviewCompleted.d.ts +4 -3
- package/dist-types/waiters/waitForRepositoryAssociationSucceeded.d.ts +4 -3
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeCodeReviewCommand } from "../commands/DescribeCodeReviewCommand";
|
|
2
|
+
import { DescribeCodeReviewCommand, } from "../commands/DescribeCodeReviewCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -134,13 +134,13 @@ export interface CodeGuruReviewer {
|
|
|
134
134
|
* @param args - command input.
|
|
135
135
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
136
136
|
*/
|
|
137
|
-
waitUntilCodeReviewCompleted(args: DescribeCodeReviewCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeGuruReviewer>, "client">): Promise<WaiterResult
|
|
137
|
+
waitUntilCodeReviewCompleted(args: DescribeCodeReviewCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeGuruReviewer>, "client">): Promise<WaiterResult<DescribeCodeReviewCommandOutput>>;
|
|
138
138
|
/**
|
|
139
139
|
* @see {@link DescribeRepositoryAssociationCommand}
|
|
140
140
|
* @param args - command input.
|
|
141
141
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
142
142
|
*/
|
|
143
|
-
waitUntilRepositoryAssociationSucceeded(args: DescribeRepositoryAssociationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeGuruReviewer>, "client">): Promise<WaiterResult
|
|
143
|
+
waitUntilRepositoryAssociationSucceeded(args: DescribeRepositoryAssociationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeGuruReviewer>, "client">): Promise<WaiterResult<DescribeRepositoryAssociationCommandOutput>>;
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
|
|
@@ -282,7 +282,7 @@ export interface CodeGuruReviewer {
|
|
|
282
282
|
WaiterConfiguration<CodeGuruReviewer>,
|
|
283
283
|
Exclude<keyof WaiterConfiguration<CodeGuruReviewer>, "client">
|
|
284
284
|
>
|
|
285
|
-
): Promise<WaiterResult
|
|
285
|
+
): Promise<WaiterResult<DescribeCodeReviewCommandOutput>>;
|
|
286
286
|
waitUntilRepositoryAssociationSucceeded(
|
|
287
287
|
args: DescribeRepositoryAssociationCommandInput,
|
|
288
288
|
waiterConfig:
|
|
@@ -291,7 +291,7 @@ export interface CodeGuruReviewer {
|
|
|
291
291
|
WaiterConfiguration<CodeGuruReviewer>,
|
|
292
292
|
Exclude<keyof WaiterConfiguration<CodeGuruReviewer>, "client">
|
|
293
293
|
>
|
|
294
|
-
): Promise<WaiterResult
|
|
294
|
+
): Promise<WaiterResult<DescribeRepositoryAssociationCommandOutput>>;
|
|
295
295
|
}
|
|
296
296
|
export declare class CodeGuruReviewer
|
|
297
297
|
extends CodeGuruReviewerClient
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeCodeReviewCommandInput,
|
|
5
|
+
DescribeCodeReviewCommandOutput,
|
|
6
|
+
} from "../commands/DescribeCodeReviewCommand";
|
|
7
|
+
import { CodeGuruReviewerServiceException } from "../models/CodeGuruReviewerServiceException";
|
|
4
8
|
export declare const waitForCodeReviewCompleted: (
|
|
5
9
|
params: WaiterConfiguration<CodeGuruReviewerClient>,
|
|
6
10
|
input: DescribeCodeReviewCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeCodeReviewCommandOutput | CodeGuruReviewerServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilCodeReviewCompleted: (
|
|
9
17
|
params: WaiterConfiguration<CodeGuruReviewerClient>,
|
|
10
18
|
input: DescribeCodeReviewCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeCodeReviewCommandOutput>>;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DescribeRepositoryAssociationCommandInput,
|
|
5
|
+
DescribeRepositoryAssociationCommandOutput,
|
|
6
|
+
} from "../commands/DescribeRepositoryAssociationCommand";
|
|
7
|
+
import { CodeGuruReviewerServiceException } from "../models/CodeGuruReviewerServiceException";
|
|
4
8
|
export declare const waitForRepositoryAssociationSucceeded: (
|
|
5
9
|
params: WaiterConfiguration<CodeGuruReviewerClient>,
|
|
6
10
|
input: DescribeRepositoryAssociationCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
| DescribeRepositoryAssociationCommandOutput
|
|
14
|
+
| CodeGuruReviewerServiceException
|
|
15
|
+
>
|
|
16
|
+
>;
|
|
8
17
|
export declare const waitUntilRepositoryAssociationSucceeded: (
|
|
9
18
|
params: WaiterConfiguration<CodeGuruReviewerClient>,
|
|
10
19
|
input: DescribeRepositoryAssociationCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
20
|
+
) => Promise<WaiterResult<DescribeRepositoryAssociationCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
3
|
-
import { type DescribeCodeReviewCommandInput } from "../commands/DescribeCodeReviewCommand";
|
|
3
|
+
import { type DescribeCodeReviewCommandInput, type DescribeCodeReviewCommandOutput } from "../commands/DescribeCodeReviewCommand";
|
|
4
|
+
import type { CodeGuruReviewerServiceException } from "../models/CodeGuruReviewerServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until a code review is complete.
|
|
6
7
|
* @deprecated Use waitUntilCodeReviewCompleted instead. waitForCodeReviewCompleted does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForCodeReviewCompleted: (params: WaiterConfiguration<CodeGuruReviewerClient>, input: DescribeCodeReviewCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForCodeReviewCompleted: (params: WaiterConfiguration<CodeGuruReviewerClient>, input: DescribeCodeReviewCommandInput) => Promise<WaiterResult<DescribeCodeReviewCommandOutput | CodeGuruReviewerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until a code review is complete.
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeCodeReviewCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilCodeReviewCompleted: (params: WaiterConfiguration<CodeGuruReviewerClient>, input: DescribeCodeReviewCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilCodeReviewCompleted: (params: WaiterConfiguration<CodeGuruReviewerClient>, input: DescribeCodeReviewCommandInput) => Promise<WaiterResult<DescribeCodeReviewCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
2
|
import type { CodeGuruReviewerClient } from "../CodeGuruReviewerClient";
|
|
3
|
-
import { type DescribeRepositoryAssociationCommandInput } from "../commands/DescribeRepositoryAssociationCommand";
|
|
3
|
+
import { type DescribeRepositoryAssociationCommandInput, type DescribeRepositoryAssociationCommandOutput } from "../commands/DescribeRepositoryAssociationCommand";
|
|
4
|
+
import type { CodeGuruReviewerServiceException } from "../models/CodeGuruReviewerServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until a repository association is complete.
|
|
6
7
|
* @deprecated Use waitUntilRepositoryAssociationSucceeded instead. waitForRepositoryAssociationSucceeded does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForRepositoryAssociationSucceeded: (params: WaiterConfiguration<CodeGuruReviewerClient>, input: DescribeRepositoryAssociationCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForRepositoryAssociationSucceeded: (params: WaiterConfiguration<CodeGuruReviewerClient>, input: DescribeRepositoryAssociationCommandInput) => Promise<WaiterResult<DescribeRepositoryAssociationCommandOutput | CodeGuruReviewerServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until a repository association is complete.
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeRepositoryAssociationCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilRepositoryAssociationSucceeded: (params: WaiterConfiguration<CodeGuruReviewerClient>, input: DescribeRepositoryAssociationCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilRepositoryAssociationSucceeded: (params: WaiterConfiguration<CodeGuruReviewerClient>, input: DescribeRepositoryAssociationCommandInput) => Promise<WaiterResult<DescribeRepositoryAssociationCommandOutput>>;
|
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.1039.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",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.7",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.38",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.37",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.23",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.17",
|
|
36
36
|
"@smithy/core": "^3.23.17",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
41
41
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
42
|
-
"@smithy/middleware-retry": "^4.5.
|
|
42
|
+
"@smithy/middleware-retry": "^4.5.7",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.20",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.14",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
56
56
|
"@smithy/util-endpoints": "^3.4.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.14",
|
|
58
|
-
"@smithy/util-retry": "^4.3.
|
|
58
|
+
"@smithy/util-retry": "^4.3.6",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
|
-
"@smithy/util-waiter": "^4.
|
|
60
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|