@aws-sdk/client-codeguru-reviewer 3.975.0 → 3.978.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
|
@@ -912,26 +912,6 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
912
912
|
.build() {
|
|
913
913
|
}
|
|
914
914
|
|
|
915
|
-
const commands = {
|
|
916
|
-
AssociateRepositoryCommand,
|
|
917
|
-
CreateCodeReviewCommand,
|
|
918
|
-
DescribeCodeReviewCommand,
|
|
919
|
-
DescribeRecommendationFeedbackCommand,
|
|
920
|
-
DescribeRepositoryAssociationCommand,
|
|
921
|
-
DisassociateRepositoryCommand,
|
|
922
|
-
ListCodeReviewsCommand,
|
|
923
|
-
ListRecommendationFeedbackCommand,
|
|
924
|
-
ListRecommendationsCommand,
|
|
925
|
-
ListRepositoryAssociationsCommand,
|
|
926
|
-
ListTagsForResourceCommand,
|
|
927
|
-
PutRecommendationFeedbackCommand,
|
|
928
|
-
TagResourceCommand,
|
|
929
|
-
UntagResourceCommand,
|
|
930
|
-
};
|
|
931
|
-
class CodeGuruReviewer extends CodeGuruReviewerClient {
|
|
932
|
-
}
|
|
933
|
-
smithyClient.createAggregatedClient(commands, CodeGuruReviewer);
|
|
934
|
-
|
|
935
915
|
const paginateListCodeReviews = core.createPaginator(CodeGuruReviewerClient, ListCodeReviewsCommand, "NextToken", "NextToken", "MaxResults");
|
|
936
916
|
|
|
937
917
|
const paginateListRecommendationFeedback = core.createPaginator(CodeGuruReviewerClient, ListRecommendationFeedbackCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1036,6 +1016,36 @@ const waitUntilRepositoryAssociationSucceeded = async (params, input) => {
|
|
|
1036
1016
|
return utilWaiter.checkExceptions(result);
|
|
1037
1017
|
};
|
|
1038
1018
|
|
|
1019
|
+
const commands = {
|
|
1020
|
+
AssociateRepositoryCommand,
|
|
1021
|
+
CreateCodeReviewCommand,
|
|
1022
|
+
DescribeCodeReviewCommand,
|
|
1023
|
+
DescribeRecommendationFeedbackCommand,
|
|
1024
|
+
DescribeRepositoryAssociationCommand,
|
|
1025
|
+
DisassociateRepositoryCommand,
|
|
1026
|
+
ListCodeReviewsCommand,
|
|
1027
|
+
ListRecommendationFeedbackCommand,
|
|
1028
|
+
ListRecommendationsCommand,
|
|
1029
|
+
ListRepositoryAssociationsCommand,
|
|
1030
|
+
ListTagsForResourceCommand,
|
|
1031
|
+
PutRecommendationFeedbackCommand,
|
|
1032
|
+
TagResourceCommand,
|
|
1033
|
+
UntagResourceCommand,
|
|
1034
|
+
};
|
|
1035
|
+
const paginators = {
|
|
1036
|
+
paginateListCodeReviews,
|
|
1037
|
+
paginateListRecommendationFeedback,
|
|
1038
|
+
paginateListRecommendations,
|
|
1039
|
+
paginateListRepositoryAssociations,
|
|
1040
|
+
};
|
|
1041
|
+
const waiters = {
|
|
1042
|
+
waitUntilCodeReviewCompleted,
|
|
1043
|
+
waitUntilRepositoryAssociationSucceeded,
|
|
1044
|
+
};
|
|
1045
|
+
class CodeGuruReviewer extends CodeGuruReviewerClient {
|
|
1046
|
+
}
|
|
1047
|
+
smithyClient.createAggregatedClient(commands, CodeGuruReviewer, { paginators, waiters });
|
|
1048
|
+
|
|
1039
1049
|
const AnalysisType = {
|
|
1040
1050
|
CODE_QUALITY: "CodeQuality",
|
|
1041
1051
|
SECURITY: "Security",
|
|
@@ -14,6 +14,12 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
14
14
|
import { PutRecommendationFeedbackCommand, } from "./commands/PutRecommendationFeedbackCommand";
|
|
15
15
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
16
16
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
17
|
+
import { paginateListCodeReviews } from "./pagination/ListCodeReviewsPaginator";
|
|
18
|
+
import { paginateListRecommendationFeedback } from "./pagination/ListRecommendationFeedbackPaginator";
|
|
19
|
+
import { paginateListRecommendations } from "./pagination/ListRecommendationsPaginator";
|
|
20
|
+
import { paginateListRepositoryAssociations } from "./pagination/ListRepositoryAssociationsPaginator";
|
|
21
|
+
import { waitUntilCodeReviewCompleted } from "./waiters/waitForCodeReviewCompleted";
|
|
22
|
+
import { waitUntilRepositoryAssociationSucceeded } from "./waiters/waitForRepositoryAssociationSucceeded";
|
|
17
23
|
const commands = {
|
|
18
24
|
AssociateRepositoryCommand,
|
|
19
25
|
CreateCodeReviewCommand,
|
|
@@ -30,6 +36,16 @@ const commands = {
|
|
|
30
36
|
TagResourceCommand,
|
|
31
37
|
UntagResourceCommand,
|
|
32
38
|
};
|
|
39
|
+
const paginators = {
|
|
40
|
+
paginateListCodeReviews,
|
|
41
|
+
paginateListRecommendationFeedback,
|
|
42
|
+
paginateListRecommendations,
|
|
43
|
+
paginateListRepositoryAssociations,
|
|
44
|
+
};
|
|
45
|
+
const waiters = {
|
|
46
|
+
waitUntilCodeReviewCompleted,
|
|
47
|
+
waitUntilRepositoryAssociationSucceeded,
|
|
48
|
+
};
|
|
33
49
|
export class CodeGuruReviewer extends CodeGuruReviewerClient {
|
|
34
50
|
}
|
|
35
|
-
createAggregatedClient(commands, CodeGuruReviewer);
|
|
51
|
+
createAggregatedClient(commands, CodeGuruReviewer, { paginators, waiters });
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { CodeGuruReviewerClient } from "./CodeGuruReviewerClient";
|
|
3
4
|
import { AssociateRepositoryCommandInput, AssociateRepositoryCommandOutput } from "./commands/AssociateRepositoryCommand";
|
|
4
5
|
import { CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput } from "./commands/CreateCodeReviewCommand";
|
|
@@ -100,6 +101,46 @@ export interface CodeGuruReviewer {
|
|
|
100
101
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
101
102
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
102
103
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link ListCodeReviewsCommand}
|
|
106
|
+
* @param args - command input.
|
|
107
|
+
* @param paginationConfig - optional pagination config.
|
|
108
|
+
* @returns AsyncIterable of {@link ListCodeReviewsCommandOutput}.
|
|
109
|
+
*/
|
|
110
|
+
paginateListCodeReviews(args: ListCodeReviewsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCodeReviewsCommandOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link ListRecommendationFeedbackCommand}
|
|
113
|
+
* @param args - command input.
|
|
114
|
+
* @param paginationConfig - optional pagination config.
|
|
115
|
+
* @returns AsyncIterable of {@link ListRecommendationFeedbackCommandOutput}.
|
|
116
|
+
*/
|
|
117
|
+
paginateListRecommendationFeedback(args: ListRecommendationFeedbackCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRecommendationFeedbackCommandOutput>;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link ListRecommendationsCommand}
|
|
120
|
+
* @param args - command input.
|
|
121
|
+
* @param paginationConfig - optional pagination config.
|
|
122
|
+
* @returns AsyncIterable of {@link ListRecommendationsCommandOutput}.
|
|
123
|
+
*/
|
|
124
|
+
paginateListRecommendations(args: ListRecommendationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRecommendationsCommandOutput>;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link ListRepositoryAssociationsCommand}
|
|
127
|
+
* @param args - command input.
|
|
128
|
+
* @param paginationConfig - optional pagination config.
|
|
129
|
+
* @returns AsyncIterable of {@link ListRepositoryAssociationsCommandOutput}.
|
|
130
|
+
*/
|
|
131
|
+
paginateListRepositoryAssociations(args?: ListRepositoryAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRepositoryAssociationsCommandOutput>;
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link DescribeCodeReviewCommand}
|
|
134
|
+
* @param args - command input.
|
|
135
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
136
|
+
*/
|
|
137
|
+
waitUntilCodeReviewCompleted(args: DescribeCodeReviewCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeGuruReviewer>, "client">): Promise<WaiterResult>;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link DescribeRepositoryAssociationCommand}
|
|
140
|
+
* @param args - command input.
|
|
141
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
142
|
+
*/
|
|
143
|
+
waitUntilRepositoryAssociationSucceeded(args: DescribeRepositoryAssociationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeGuruReviewer>, "client">): Promise<WaiterResult>;
|
|
103
144
|
}
|
|
104
145
|
/**
|
|
105
146
|
* <p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import { CodeGuruReviewerClient } from "./CodeGuruReviewerClient";
|
|
3
9
|
import {
|
|
4
10
|
AssociateRepositoryCommandInput,
|
|
@@ -240,6 +246,52 @@ export interface CodeGuruReviewer {
|
|
|
240
246
|
options: __HttpHandlerOptions,
|
|
241
247
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
242
248
|
): void;
|
|
249
|
+
paginateListCodeReviews(
|
|
250
|
+
args: ListCodeReviewsCommandInput,
|
|
251
|
+
paginationConfig?: Pick<
|
|
252
|
+
PaginationConfiguration,
|
|
253
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
254
|
+
>
|
|
255
|
+
): Paginator<ListCodeReviewsCommandOutput>;
|
|
256
|
+
paginateListRecommendationFeedback(
|
|
257
|
+
args: ListRecommendationFeedbackCommandInput,
|
|
258
|
+
paginationConfig?: Pick<
|
|
259
|
+
PaginationConfiguration,
|
|
260
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
261
|
+
>
|
|
262
|
+
): Paginator<ListRecommendationFeedbackCommandOutput>;
|
|
263
|
+
paginateListRecommendations(
|
|
264
|
+
args: ListRecommendationsCommandInput,
|
|
265
|
+
paginationConfig?: Pick<
|
|
266
|
+
PaginationConfiguration,
|
|
267
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
268
|
+
>
|
|
269
|
+
): Paginator<ListRecommendationsCommandOutput>;
|
|
270
|
+
paginateListRepositoryAssociations(
|
|
271
|
+
args?: ListRepositoryAssociationsCommandInput,
|
|
272
|
+
paginationConfig?: Pick<
|
|
273
|
+
PaginationConfiguration,
|
|
274
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
275
|
+
>
|
|
276
|
+
): Paginator<ListRepositoryAssociationsCommandOutput>;
|
|
277
|
+
waitUntilCodeReviewCompleted(
|
|
278
|
+
args: DescribeCodeReviewCommandInput,
|
|
279
|
+
waiterConfig:
|
|
280
|
+
| number
|
|
281
|
+
| Pick<
|
|
282
|
+
WaiterConfiguration<CodeGuruReviewer>,
|
|
283
|
+
Exclude<keyof WaiterConfiguration<CodeGuruReviewer>, "client">
|
|
284
|
+
>
|
|
285
|
+
): Promise<WaiterResult>;
|
|
286
|
+
waitUntilRepositoryAssociationSucceeded(
|
|
287
|
+
args: DescribeRepositoryAssociationCommandInput,
|
|
288
|
+
waiterConfig:
|
|
289
|
+
| number
|
|
290
|
+
| Pick<
|
|
291
|
+
WaiterConfiguration<CodeGuruReviewer>,
|
|
292
|
+
Exclude<keyof WaiterConfiguration<CodeGuruReviewer>, "client">
|
|
293
|
+
>
|
|
294
|
+
): Promise<WaiterResult>;
|
|
243
295
|
}
|
|
244
296
|
export declare class CodeGuruReviewer
|
|
245
297
|
extends CodeGuruReviewerClient
|
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.978.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,38 +21,38 @@
|
|
|
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.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|