@aws-sdk/client-codeguru-reviewer 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/CodeGuruReviewer.js +0 -19
- package/dist-cjs/CodeGuruReviewerClient.js +35 -0
- package/dist-cjs/commands/AssociateRepositoryCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CreateCodeReviewCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/DescribeCodeReviewCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeRecommendationFeedbackCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeRepositoryAssociationCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/DisassociateRepositoryCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListCodeReviewsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/ListRecommendationFeedbackCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/ListRecommendationsCommand.js +2 -29
- package/dist-cjs/commands/ListRepositoryAssociationsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutRecommendationFeedbackCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -184
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListCodeReviewsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListRecommendationFeedbackPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListRecommendationsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListRepositoryAssociationsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +5 -11
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/cjs → dist-cjs}/waiters/waitForCodeReviewCompleted.js +4 -14
- package/{dist/cjs → dist-cjs}/waiters/waitForRepositoryAssociationSucceeded.js +4 -14
- package/{dist/es → dist-es}/CodeGuruReviewer.js +0 -1
- package/{dist/es → dist-es}/CodeGuruReviewerClient.js +1 -2
- package/{dist/es → dist-es}/commands/AssociateRepositoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateCodeReviewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeCodeReviewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRecommendationFeedbackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRepositoryAssociationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisassociateRepositoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListCodeReviewsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRecommendationFeedbackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRecommendationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRepositoryAssociationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutRecommendationFeedbackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListCodeReviewsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListRecommendationFeedbackPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListRecommendationsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListRepositoryAssociationsPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForCodeReviewCompleted.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForRepositoryAssociationSucceeded.js +1 -2
- package/{dist/types → dist-types}/CodeGuruReviewer.d.ts +1 -1
- package/{dist/types → dist-types}/CodeGuruReviewerClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AssociateRepositoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCodeReviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCodeReviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRecommendationFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRepositoryAssociationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisassociateRepositoryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCodeReviewsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRecommendationFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRecommendationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRepositoryAssociationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutRecommendationFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCodeReviewsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRecommendationFeedbackPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRepositoryAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CodeGuruReviewer.d.ts +16 -127
- package/{dist/types → dist-types}/ts3.4/CodeGuruReviewerClient.d.ts +32 -112
- package/dist-types/ts3.4/commands/AssociateRepositoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRecommendationFeedbackCommand.d.ts +4 -24
- package/dist-types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateRepositoryCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +838 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCodeReviewsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRecommendationFeedbackPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRepositoryAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/waiters/waitForCodeReviewCompleted.d.ts +3 -10
- package/{dist/types → dist-types}/ts3.4/waiters/waitForRepositoryAssociationSucceeded.d.ts +3 -10
- package/{dist/types → dist-types}/waiters/waitForCodeReviewCompleted.d.ts +1 -1
- package/{dist/types → dist-types}/waiters/waitForRepositoryAssociationSucceeded.d.ts +1 -1
- package/package.json +46 -43
- package/CodeGuruReviewer.ts +0 -596
- package/CodeGuruReviewerClient.ts +0 -319
- package/commands/AssociateRepositoryCommand.ts +0 -118
- package/commands/CreateCodeReviewCommand.ts +0 -100
- package/commands/DescribeCodeReviewCommand.ts +0 -94
- package/commands/DescribeRecommendationFeedbackCommand.ts +0 -104
- package/commands/DescribeRepositoryAssociationCommand.ts +0 -104
- package/commands/DisassociateRepositoryCommand.ts +0 -94
- package/commands/ListCodeReviewsCommand.ts +0 -96
- package/commands/ListRecommendationFeedbackCommand.ts +0 -103
- package/commands/ListRecommendationsCommand.ts +0 -96
- package/commands/ListRepositoryAssociationsCommand.ts +0 -114
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PutRecommendationFeedbackCommand.ts +0 -99
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/dist/cjs/CodeGuruReviewer.js.map +0 -1
- package/dist/cjs/CodeGuruReviewerClient.js +0 -59
- package/dist/cjs/CodeGuruReviewerClient.js.map +0 -1
- package/dist/cjs/commands/AssociateRepositoryCommand.js +0 -85
- package/dist/cjs/commands/AssociateRepositoryCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCodeReviewCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCodeReviewCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRecommendationFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRepositoryAssociationCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateRepositoryCommand.js.map +0 -1
- package/dist/cjs/commands/ListCodeReviewsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRecommendationFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/ListRecommendationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRepositoryAssociationsCommand.js +0 -78
- package/dist/cjs/commands/ListRepositoryAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutRecommendationFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -94
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListCodeReviewsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRecommendationFeedbackPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRecommendationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRepositoryAssociationsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForCodeReviewCompleted.js.map +0 -1
- package/dist/cjs/waiters/waitForRepositoryAssociationSucceeded.js.map +0 -1
- package/dist/es/CodeGuruReviewer.js.map +0 -1
- package/dist/es/CodeGuruReviewerClient.js.map +0 -1
- package/dist/es/commands/AssociateRepositoryCommand.js.map +0 -1
- package/dist/es/commands/CreateCodeReviewCommand.js.map +0 -1
- package/dist/es/commands/DescribeCodeReviewCommand.js.map +0 -1
- package/dist/es/commands/DescribeRecommendationFeedbackCommand.js.map +0 -1
- package/dist/es/commands/DescribeRepositoryAssociationCommand.js.map +0 -1
- package/dist/es/commands/DisassociateRepositoryCommand.js.map +0 -1
- package/dist/es/commands/ListCodeReviewsCommand.js.map +0 -1
- package/dist/es/commands/ListRecommendationFeedbackCommand.js.map +0 -1
- package/dist/es/commands/ListRecommendationsCommand.js.map +0 -1
- package/dist/es/commands/ListRepositoryAssociationsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutRecommendationFeedbackCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -25
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -94
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListCodeReviewsPaginator.js.map +0 -1
- package/dist/es/pagination/ListRecommendationFeedbackPaginator.js.map +0 -1
- package/dist/es/pagination/ListRecommendationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListRepositoryAssociationsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForCodeReviewCompleted.js.map +0 -1
- package/dist/es/waiters/waitForRepositoryAssociationSucceeded.js.map +0 -1
- package/dist/types/ts3.4/commands/AssociateRepositoryCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/CreateCodeReviewCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/ListCodeReviewsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListRecommendationsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2210
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2570
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListCodeReviewsPaginator.ts +0 -58
- package/pagination/ListRecommendationFeedbackPaginator.ts +0 -58
- package/pagination/ListRecommendationsPaginator.ts +0 -58
- package/pagination/ListRepositoryAssociationsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -2525
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
- package/waiters/waitForCodeReviewCompleted.ts +0 -57
- package/waiters/waitForRepositoryAssociationSucceeded.ts +0 -60
|
@@ -0,0 +1,838 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
4
|
+
name: "AccessDeniedException";
|
|
5
|
+
$fault: "client";
|
|
6
|
+
Message?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace AccessDeniedException {
|
|
9
|
+
|
|
10
|
+
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
+
}
|
|
12
|
+
export declare enum AnalysisType {
|
|
13
|
+
CODE_QUALITY = "CodeQuality",
|
|
14
|
+
SECURITY = "Security"
|
|
15
|
+
}
|
|
16
|
+
export declare enum EncryptionOption {
|
|
17
|
+
AoCmk = "AWS_OWNED_CMK",
|
|
18
|
+
CmCmk = "CUSTOMER_MANAGED_CMK"
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface KMSKeyDetails {
|
|
22
|
+
|
|
23
|
+
KMSKeyId?: string;
|
|
24
|
+
|
|
25
|
+
EncryptionOption?: EncryptionOption | string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace KMSKeyDetails {
|
|
28
|
+
|
|
29
|
+
const filterSensitiveLog: (obj: KMSKeyDetails) => any;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface ThirdPartySourceRepository {
|
|
33
|
+
|
|
34
|
+
Name: string | undefined;
|
|
35
|
+
|
|
36
|
+
ConnectionArn: string | undefined;
|
|
37
|
+
|
|
38
|
+
Owner: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace ThirdPartySourceRepository {
|
|
41
|
+
|
|
42
|
+
const filterSensitiveLog: (obj: ThirdPartySourceRepository) => any;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface CodeCommitRepository {
|
|
46
|
+
|
|
47
|
+
Name: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace CodeCommitRepository {
|
|
50
|
+
|
|
51
|
+
const filterSensitiveLog: (obj: CodeCommitRepository) => any;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface S3Repository {
|
|
55
|
+
|
|
56
|
+
Name: string | undefined;
|
|
57
|
+
|
|
58
|
+
BucketName: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace S3Repository {
|
|
61
|
+
|
|
62
|
+
const filterSensitiveLog: (obj: S3Repository) => any;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface Repository {
|
|
66
|
+
|
|
67
|
+
CodeCommit?: CodeCommitRepository;
|
|
68
|
+
|
|
69
|
+
Bitbucket?: ThirdPartySourceRepository;
|
|
70
|
+
|
|
71
|
+
GitHubEnterpriseServer?: ThirdPartySourceRepository;
|
|
72
|
+
|
|
73
|
+
S3Bucket?: S3Repository;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace Repository {
|
|
76
|
+
|
|
77
|
+
const filterSensitiveLog: (obj: Repository) => any;
|
|
78
|
+
}
|
|
79
|
+
export interface AssociateRepositoryRequest {
|
|
80
|
+
|
|
81
|
+
Repository: Repository | undefined;
|
|
82
|
+
|
|
83
|
+
ClientRequestToken?: string;
|
|
84
|
+
|
|
85
|
+
Tags?: {
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
KMSKeyDetails?: KMSKeyDetails;
|
|
90
|
+
}
|
|
91
|
+
export declare namespace AssociateRepositoryRequest {
|
|
92
|
+
|
|
93
|
+
const filterSensitiveLog: (obj: AssociateRepositoryRequest) => any;
|
|
94
|
+
}
|
|
95
|
+
export declare enum ProviderType {
|
|
96
|
+
BITBUCKET = "Bitbucket",
|
|
97
|
+
CODE_COMMIT = "CodeCommit",
|
|
98
|
+
GIT_HUB = "GitHub",
|
|
99
|
+
GIT_HUB_ENTERPRISE_SERVER = "GitHubEnterpriseServer",
|
|
100
|
+
S3_BUCKET = "S3Bucket"
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface CodeArtifacts {
|
|
104
|
+
|
|
105
|
+
SourceCodeArtifactsObjectKey: string | undefined;
|
|
106
|
+
|
|
107
|
+
BuildArtifactsObjectKey?: string;
|
|
108
|
+
}
|
|
109
|
+
export declare namespace CodeArtifacts {
|
|
110
|
+
|
|
111
|
+
const filterSensitiveLog: (obj: CodeArtifacts) => any;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface S3RepositoryDetails {
|
|
115
|
+
|
|
116
|
+
BucketName?: string;
|
|
117
|
+
|
|
118
|
+
CodeArtifacts?: CodeArtifacts;
|
|
119
|
+
}
|
|
120
|
+
export declare namespace S3RepositoryDetails {
|
|
121
|
+
|
|
122
|
+
const filterSensitiveLog: (obj: S3RepositoryDetails) => any;
|
|
123
|
+
}
|
|
124
|
+
export declare enum RepositoryAssociationState {
|
|
125
|
+
ASSOCIATED = "Associated",
|
|
126
|
+
ASSOCIATING = "Associating",
|
|
127
|
+
DISASSOCIATED = "Disassociated",
|
|
128
|
+
DISASSOCIATING = "Disassociating",
|
|
129
|
+
FAILED = "Failed"
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface RepositoryAssociation {
|
|
133
|
+
|
|
134
|
+
AssociationId?: string;
|
|
135
|
+
|
|
136
|
+
AssociationArn?: string;
|
|
137
|
+
|
|
138
|
+
ConnectionArn?: string;
|
|
139
|
+
|
|
140
|
+
Name?: string;
|
|
141
|
+
|
|
142
|
+
Owner?: string;
|
|
143
|
+
|
|
144
|
+
ProviderType?: ProviderType | string;
|
|
145
|
+
|
|
146
|
+
State?: RepositoryAssociationState | string;
|
|
147
|
+
|
|
148
|
+
StateReason?: string;
|
|
149
|
+
|
|
150
|
+
LastUpdatedTimeStamp?: Date;
|
|
151
|
+
|
|
152
|
+
CreatedTimeStamp?: Date;
|
|
153
|
+
|
|
154
|
+
KMSKeyDetails?: KMSKeyDetails;
|
|
155
|
+
|
|
156
|
+
S3RepositoryDetails?: S3RepositoryDetails;
|
|
157
|
+
}
|
|
158
|
+
export declare namespace RepositoryAssociation {
|
|
159
|
+
|
|
160
|
+
const filterSensitiveLog: (obj: RepositoryAssociation) => any;
|
|
161
|
+
}
|
|
162
|
+
export interface AssociateRepositoryResponse {
|
|
163
|
+
|
|
164
|
+
RepositoryAssociation?: RepositoryAssociation;
|
|
165
|
+
|
|
166
|
+
Tags?: {
|
|
167
|
+
[key: string]: string;
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
export declare namespace AssociateRepositoryResponse {
|
|
171
|
+
|
|
172
|
+
const filterSensitiveLog: (obj: AssociateRepositoryResponse) => any;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
176
|
+
name: "ConflictException";
|
|
177
|
+
$fault: "client";
|
|
178
|
+
Message?: string;
|
|
179
|
+
}
|
|
180
|
+
export declare namespace ConflictException {
|
|
181
|
+
|
|
182
|
+
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
186
|
+
name: "InternalServerException";
|
|
187
|
+
$fault: "server";
|
|
188
|
+
Message?: string;
|
|
189
|
+
}
|
|
190
|
+
export declare namespace InternalServerException {
|
|
191
|
+
|
|
192
|
+
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
196
|
+
name: "ThrottlingException";
|
|
197
|
+
$fault: "client";
|
|
198
|
+
Message?: string;
|
|
199
|
+
}
|
|
200
|
+
export declare namespace ThrottlingException {
|
|
201
|
+
|
|
202
|
+
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
206
|
+
name: "ValidationException";
|
|
207
|
+
$fault: "client";
|
|
208
|
+
Message?: string;
|
|
209
|
+
}
|
|
210
|
+
export declare namespace ValidationException {
|
|
211
|
+
|
|
212
|
+
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export interface RepositoryHeadSourceCodeType {
|
|
216
|
+
|
|
217
|
+
BranchName: string | undefined;
|
|
218
|
+
}
|
|
219
|
+
export declare namespace RepositoryHeadSourceCodeType {
|
|
220
|
+
|
|
221
|
+
const filterSensitiveLog: (obj: RepositoryHeadSourceCodeType) => any;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface BranchDiffSourceCodeType {
|
|
225
|
+
|
|
226
|
+
SourceBranchName: string | undefined;
|
|
227
|
+
|
|
228
|
+
DestinationBranchName: string | undefined;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace BranchDiffSourceCodeType {
|
|
231
|
+
|
|
232
|
+
const filterSensitiveLog: (obj: BranchDiffSourceCodeType) => any;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export interface CommitDiffSourceCodeType {
|
|
236
|
+
|
|
237
|
+
SourceCommit?: string;
|
|
238
|
+
|
|
239
|
+
DestinationCommit?: string;
|
|
240
|
+
|
|
241
|
+
MergeBaseCommit?: string;
|
|
242
|
+
}
|
|
243
|
+
export declare namespace CommitDiffSourceCodeType {
|
|
244
|
+
|
|
245
|
+
const filterSensitiveLog: (obj: CommitDiffSourceCodeType) => any;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export interface EventInfo {
|
|
249
|
+
|
|
250
|
+
Name?: string;
|
|
251
|
+
|
|
252
|
+
State?: string;
|
|
253
|
+
}
|
|
254
|
+
export declare namespace EventInfo {
|
|
255
|
+
|
|
256
|
+
const filterSensitiveLog: (obj: EventInfo) => any;
|
|
257
|
+
}
|
|
258
|
+
export declare enum VendorName {
|
|
259
|
+
GITHUB = "GitHub",
|
|
260
|
+
GITLAB = "GitLab",
|
|
261
|
+
NATIVE_S3 = "NativeS3"
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export interface RequestMetadata {
|
|
265
|
+
|
|
266
|
+
RequestId?: string;
|
|
267
|
+
|
|
268
|
+
Requester?: string;
|
|
269
|
+
|
|
270
|
+
EventInfo?: EventInfo;
|
|
271
|
+
|
|
272
|
+
VendorName?: VendorName | string;
|
|
273
|
+
}
|
|
274
|
+
export declare namespace RequestMetadata {
|
|
275
|
+
|
|
276
|
+
const filterSensitiveLog: (obj: RequestMetadata) => any;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export interface S3BucketRepository {
|
|
280
|
+
|
|
281
|
+
Name: string | undefined;
|
|
282
|
+
|
|
283
|
+
Details?: S3RepositoryDetails;
|
|
284
|
+
}
|
|
285
|
+
export declare namespace S3BucketRepository {
|
|
286
|
+
|
|
287
|
+
const filterSensitiveLog: (obj: S3BucketRepository) => any;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export interface SourceCodeType {
|
|
291
|
+
|
|
292
|
+
CommitDiff?: CommitDiffSourceCodeType;
|
|
293
|
+
|
|
294
|
+
RepositoryHead?: RepositoryHeadSourceCodeType;
|
|
295
|
+
|
|
296
|
+
BranchDiff?: BranchDiffSourceCodeType;
|
|
297
|
+
|
|
298
|
+
S3BucketRepository?: S3BucketRepository;
|
|
299
|
+
|
|
300
|
+
RequestMetadata?: RequestMetadata;
|
|
301
|
+
}
|
|
302
|
+
export declare namespace SourceCodeType {
|
|
303
|
+
|
|
304
|
+
const filterSensitiveLog: (obj: SourceCodeType) => any;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export interface RepositoryAnalysis {
|
|
308
|
+
|
|
309
|
+
RepositoryHead?: RepositoryHeadSourceCodeType;
|
|
310
|
+
|
|
311
|
+
SourceCodeType?: SourceCodeType;
|
|
312
|
+
}
|
|
313
|
+
export declare namespace RepositoryAnalysis {
|
|
314
|
+
|
|
315
|
+
const filterSensitiveLog: (obj: RepositoryAnalysis) => any;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface CodeReviewType {
|
|
319
|
+
|
|
320
|
+
RepositoryAnalysis: RepositoryAnalysis | undefined;
|
|
321
|
+
|
|
322
|
+
AnalysisTypes?: (AnalysisType | string)[];
|
|
323
|
+
}
|
|
324
|
+
export declare namespace CodeReviewType {
|
|
325
|
+
|
|
326
|
+
const filterSensitiveLog: (obj: CodeReviewType) => any;
|
|
327
|
+
}
|
|
328
|
+
export interface CreateCodeReviewRequest {
|
|
329
|
+
|
|
330
|
+
Name: string | undefined;
|
|
331
|
+
|
|
332
|
+
RepositoryAssociationArn: string | undefined;
|
|
333
|
+
|
|
334
|
+
Type: CodeReviewType | undefined;
|
|
335
|
+
|
|
336
|
+
ClientRequestToken?: string;
|
|
337
|
+
}
|
|
338
|
+
export declare namespace CreateCodeReviewRequest {
|
|
339
|
+
|
|
340
|
+
const filterSensitiveLog: (obj: CreateCodeReviewRequest) => any;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export interface Metrics {
|
|
344
|
+
|
|
345
|
+
MeteredLinesOfCodeCount?: number;
|
|
346
|
+
|
|
347
|
+
FindingsCount?: number;
|
|
348
|
+
}
|
|
349
|
+
export declare namespace Metrics {
|
|
350
|
+
|
|
351
|
+
const filterSensitiveLog: (obj: Metrics) => any;
|
|
352
|
+
}
|
|
353
|
+
export declare enum JobState {
|
|
354
|
+
COMPLETED = "Completed",
|
|
355
|
+
DELETING = "Deleting",
|
|
356
|
+
FAILED = "Failed",
|
|
357
|
+
PENDING = "Pending"
|
|
358
|
+
}
|
|
359
|
+
export declare enum Type {
|
|
360
|
+
PULL_REQUEST = "PullRequest",
|
|
361
|
+
REPOSITORY_ANALYSIS = "RepositoryAnalysis"
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export interface CodeReview {
|
|
365
|
+
|
|
366
|
+
Name?: string;
|
|
367
|
+
|
|
368
|
+
CodeReviewArn?: string;
|
|
369
|
+
|
|
370
|
+
RepositoryName?: string;
|
|
371
|
+
|
|
372
|
+
Owner?: string;
|
|
373
|
+
|
|
374
|
+
ProviderType?: ProviderType | string;
|
|
375
|
+
|
|
376
|
+
State?: JobState | string;
|
|
377
|
+
|
|
378
|
+
StateReason?: string;
|
|
379
|
+
|
|
380
|
+
CreatedTimeStamp?: Date;
|
|
381
|
+
|
|
382
|
+
LastUpdatedTimeStamp?: Date;
|
|
383
|
+
|
|
384
|
+
Type?: Type | string;
|
|
385
|
+
|
|
386
|
+
PullRequestId?: string;
|
|
387
|
+
|
|
388
|
+
SourceCodeType?: SourceCodeType;
|
|
389
|
+
|
|
390
|
+
AssociationArn?: string;
|
|
391
|
+
|
|
392
|
+
Metrics?: Metrics;
|
|
393
|
+
|
|
394
|
+
AnalysisTypes?: (AnalysisType | string)[];
|
|
395
|
+
}
|
|
396
|
+
export declare namespace CodeReview {
|
|
397
|
+
|
|
398
|
+
const filterSensitiveLog: (obj: CodeReview) => any;
|
|
399
|
+
}
|
|
400
|
+
export interface CreateCodeReviewResponse {
|
|
401
|
+
|
|
402
|
+
CodeReview?: CodeReview;
|
|
403
|
+
}
|
|
404
|
+
export declare namespace CreateCodeReviewResponse {
|
|
405
|
+
|
|
406
|
+
const filterSensitiveLog: (obj: CreateCodeReviewResponse) => any;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
410
|
+
name: "ResourceNotFoundException";
|
|
411
|
+
$fault: "client";
|
|
412
|
+
Message?: string;
|
|
413
|
+
}
|
|
414
|
+
export declare namespace ResourceNotFoundException {
|
|
415
|
+
|
|
416
|
+
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
417
|
+
}
|
|
418
|
+
export interface DescribeCodeReviewRequest {
|
|
419
|
+
|
|
420
|
+
CodeReviewArn: string | undefined;
|
|
421
|
+
}
|
|
422
|
+
export declare namespace DescribeCodeReviewRequest {
|
|
423
|
+
|
|
424
|
+
const filterSensitiveLog: (obj: DescribeCodeReviewRequest) => any;
|
|
425
|
+
}
|
|
426
|
+
export interface DescribeCodeReviewResponse {
|
|
427
|
+
|
|
428
|
+
CodeReview?: CodeReview;
|
|
429
|
+
}
|
|
430
|
+
export declare namespace DescribeCodeReviewResponse {
|
|
431
|
+
|
|
432
|
+
const filterSensitiveLog: (obj: DescribeCodeReviewResponse) => any;
|
|
433
|
+
}
|
|
434
|
+
export interface DescribeRecommendationFeedbackRequest {
|
|
435
|
+
|
|
436
|
+
CodeReviewArn: string | undefined;
|
|
437
|
+
|
|
438
|
+
RecommendationId: string | undefined;
|
|
439
|
+
|
|
440
|
+
UserId?: string;
|
|
441
|
+
}
|
|
442
|
+
export declare namespace DescribeRecommendationFeedbackRequest {
|
|
443
|
+
|
|
444
|
+
const filterSensitiveLog: (obj: DescribeRecommendationFeedbackRequest) => any;
|
|
445
|
+
}
|
|
446
|
+
export declare enum Reaction {
|
|
447
|
+
THUMBS_DOWN = "ThumbsDown",
|
|
448
|
+
THUMBS_UP = "ThumbsUp"
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export interface RecommendationFeedback {
|
|
452
|
+
|
|
453
|
+
CodeReviewArn?: string;
|
|
454
|
+
|
|
455
|
+
RecommendationId?: string;
|
|
456
|
+
|
|
457
|
+
Reactions?: (Reaction | string)[];
|
|
458
|
+
|
|
459
|
+
UserId?: string;
|
|
460
|
+
|
|
461
|
+
CreatedTimeStamp?: Date;
|
|
462
|
+
|
|
463
|
+
LastUpdatedTimeStamp?: Date;
|
|
464
|
+
}
|
|
465
|
+
export declare namespace RecommendationFeedback {
|
|
466
|
+
|
|
467
|
+
const filterSensitiveLog: (obj: RecommendationFeedback) => any;
|
|
468
|
+
}
|
|
469
|
+
export interface DescribeRecommendationFeedbackResponse {
|
|
470
|
+
|
|
471
|
+
RecommendationFeedback?: RecommendationFeedback;
|
|
472
|
+
}
|
|
473
|
+
export declare namespace DescribeRecommendationFeedbackResponse {
|
|
474
|
+
|
|
475
|
+
const filterSensitiveLog: (obj: DescribeRecommendationFeedbackResponse) => any;
|
|
476
|
+
}
|
|
477
|
+
export interface DescribeRepositoryAssociationRequest {
|
|
478
|
+
|
|
479
|
+
AssociationArn: string | undefined;
|
|
480
|
+
}
|
|
481
|
+
export declare namespace DescribeRepositoryAssociationRequest {
|
|
482
|
+
|
|
483
|
+
const filterSensitiveLog: (obj: DescribeRepositoryAssociationRequest) => any;
|
|
484
|
+
}
|
|
485
|
+
export interface DescribeRepositoryAssociationResponse {
|
|
486
|
+
|
|
487
|
+
RepositoryAssociation?: RepositoryAssociation;
|
|
488
|
+
|
|
489
|
+
Tags?: {
|
|
490
|
+
[key: string]: string;
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
export declare namespace DescribeRepositoryAssociationResponse {
|
|
494
|
+
|
|
495
|
+
const filterSensitiveLog: (obj: DescribeRepositoryAssociationResponse) => any;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
499
|
+
name: "NotFoundException";
|
|
500
|
+
$fault: "client";
|
|
501
|
+
Message?: string;
|
|
502
|
+
}
|
|
503
|
+
export declare namespace NotFoundException {
|
|
504
|
+
|
|
505
|
+
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
506
|
+
}
|
|
507
|
+
export interface DisassociateRepositoryRequest {
|
|
508
|
+
|
|
509
|
+
AssociationArn: string | undefined;
|
|
510
|
+
}
|
|
511
|
+
export declare namespace DisassociateRepositoryRequest {
|
|
512
|
+
|
|
513
|
+
const filterSensitiveLog: (obj: DisassociateRepositoryRequest) => any;
|
|
514
|
+
}
|
|
515
|
+
export interface DisassociateRepositoryResponse {
|
|
516
|
+
|
|
517
|
+
RepositoryAssociation?: RepositoryAssociation;
|
|
518
|
+
|
|
519
|
+
Tags?: {
|
|
520
|
+
[key: string]: string;
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
export declare namespace DisassociateRepositoryResponse {
|
|
524
|
+
|
|
525
|
+
const filterSensitiveLog: (obj: DisassociateRepositoryResponse) => any;
|
|
526
|
+
}
|
|
527
|
+
export interface ListCodeReviewsRequest {
|
|
528
|
+
|
|
529
|
+
ProviderTypes?: (ProviderType | string)[];
|
|
530
|
+
|
|
531
|
+
States?: (JobState | string)[];
|
|
532
|
+
|
|
533
|
+
RepositoryNames?: string[];
|
|
534
|
+
|
|
535
|
+
Type: Type | string | undefined;
|
|
536
|
+
|
|
537
|
+
MaxResults?: number;
|
|
538
|
+
|
|
539
|
+
NextToken?: string;
|
|
540
|
+
}
|
|
541
|
+
export declare namespace ListCodeReviewsRequest {
|
|
542
|
+
|
|
543
|
+
const filterSensitiveLog: (obj: ListCodeReviewsRequest) => any;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export interface MetricsSummary {
|
|
547
|
+
|
|
548
|
+
MeteredLinesOfCodeCount?: number;
|
|
549
|
+
|
|
550
|
+
FindingsCount?: number;
|
|
551
|
+
}
|
|
552
|
+
export declare namespace MetricsSummary {
|
|
553
|
+
|
|
554
|
+
const filterSensitiveLog: (obj: MetricsSummary) => any;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export interface CodeReviewSummary {
|
|
558
|
+
|
|
559
|
+
Name?: string;
|
|
560
|
+
|
|
561
|
+
CodeReviewArn?: string;
|
|
562
|
+
|
|
563
|
+
RepositoryName?: string;
|
|
564
|
+
|
|
565
|
+
Owner?: string;
|
|
566
|
+
|
|
567
|
+
ProviderType?: ProviderType | string;
|
|
568
|
+
|
|
569
|
+
State?: JobState | string;
|
|
570
|
+
|
|
571
|
+
CreatedTimeStamp?: Date;
|
|
572
|
+
|
|
573
|
+
LastUpdatedTimeStamp?: Date;
|
|
574
|
+
|
|
575
|
+
Type?: Type | string;
|
|
576
|
+
|
|
577
|
+
PullRequestId?: string;
|
|
578
|
+
|
|
579
|
+
MetricsSummary?: MetricsSummary;
|
|
580
|
+
|
|
581
|
+
SourceCodeType?: SourceCodeType;
|
|
582
|
+
}
|
|
583
|
+
export declare namespace CodeReviewSummary {
|
|
584
|
+
|
|
585
|
+
const filterSensitiveLog: (obj: CodeReviewSummary) => any;
|
|
586
|
+
}
|
|
587
|
+
export interface ListCodeReviewsResponse {
|
|
588
|
+
|
|
589
|
+
CodeReviewSummaries?: CodeReviewSummary[];
|
|
590
|
+
|
|
591
|
+
NextToken?: string;
|
|
592
|
+
}
|
|
593
|
+
export declare namespace ListCodeReviewsResponse {
|
|
594
|
+
|
|
595
|
+
const filterSensitiveLog: (obj: ListCodeReviewsResponse) => any;
|
|
596
|
+
}
|
|
597
|
+
export interface ListRecommendationFeedbackRequest {
|
|
598
|
+
|
|
599
|
+
NextToken?: string;
|
|
600
|
+
|
|
601
|
+
MaxResults?: number;
|
|
602
|
+
|
|
603
|
+
CodeReviewArn: string | undefined;
|
|
604
|
+
|
|
605
|
+
UserIds?: string[];
|
|
606
|
+
|
|
607
|
+
RecommendationIds?: string[];
|
|
608
|
+
}
|
|
609
|
+
export declare namespace ListRecommendationFeedbackRequest {
|
|
610
|
+
|
|
611
|
+
const filterSensitiveLog: (obj: ListRecommendationFeedbackRequest) => any;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export interface RecommendationFeedbackSummary {
|
|
615
|
+
|
|
616
|
+
RecommendationId?: string;
|
|
617
|
+
|
|
618
|
+
Reactions?: (Reaction | string)[];
|
|
619
|
+
|
|
620
|
+
UserId?: string;
|
|
621
|
+
}
|
|
622
|
+
export declare namespace RecommendationFeedbackSummary {
|
|
623
|
+
|
|
624
|
+
const filterSensitiveLog: (obj: RecommendationFeedbackSummary) => any;
|
|
625
|
+
}
|
|
626
|
+
export interface ListRecommendationFeedbackResponse {
|
|
627
|
+
|
|
628
|
+
RecommendationFeedbackSummaries?: RecommendationFeedbackSummary[];
|
|
629
|
+
|
|
630
|
+
NextToken?: string;
|
|
631
|
+
}
|
|
632
|
+
export declare namespace ListRecommendationFeedbackResponse {
|
|
633
|
+
|
|
634
|
+
const filterSensitiveLog: (obj: ListRecommendationFeedbackResponse) => any;
|
|
635
|
+
}
|
|
636
|
+
export interface ListRecommendationsRequest {
|
|
637
|
+
|
|
638
|
+
NextToken?: string;
|
|
639
|
+
|
|
640
|
+
MaxResults?: number;
|
|
641
|
+
|
|
642
|
+
CodeReviewArn: string | undefined;
|
|
643
|
+
}
|
|
644
|
+
export declare namespace ListRecommendationsRequest {
|
|
645
|
+
|
|
646
|
+
const filterSensitiveLog: (obj: ListRecommendationsRequest) => any;
|
|
647
|
+
}
|
|
648
|
+
export declare enum RecommendationCategory {
|
|
649
|
+
AWS_BEST_PRACTICES = "AWSBestPractices",
|
|
650
|
+
AWS_CLOUDFORMATION_ISSUES = "AWSCloudFormationIssues",
|
|
651
|
+
CODE_INCONSISTENCIES = "CodeInconsistencies",
|
|
652
|
+
CODE_MAINTENANCE_ISSUES = "CodeMaintenanceIssues",
|
|
653
|
+
CONCURRENCY_ISSUES = "ConcurrencyIssues",
|
|
654
|
+
DUPLICATE_CODE = "DuplicateCode",
|
|
655
|
+
INPUT_VALIDATIONS = "InputValidations",
|
|
656
|
+
JAVA_BEST_PRACTICES = "JavaBestPractices",
|
|
657
|
+
PYTHON_BEST_PRACTICES = "PythonBestPractices",
|
|
658
|
+
RESOURCE_LEAKS = "ResourceLeaks",
|
|
659
|
+
SECURITY_ISSUES = "SecurityIssues"
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export interface RuleMetadata {
|
|
663
|
+
|
|
664
|
+
RuleId?: string;
|
|
665
|
+
|
|
666
|
+
RuleName?: string;
|
|
667
|
+
|
|
668
|
+
ShortDescription?: string;
|
|
669
|
+
|
|
670
|
+
LongDescription?: string;
|
|
671
|
+
|
|
672
|
+
RuleTags?: string[];
|
|
673
|
+
}
|
|
674
|
+
export declare namespace RuleMetadata {
|
|
675
|
+
|
|
676
|
+
const filterSensitiveLog: (obj: RuleMetadata) => any;
|
|
677
|
+
}
|
|
678
|
+
export declare enum Severity {
|
|
679
|
+
CRITICAL = "Critical",
|
|
680
|
+
HIGH = "High",
|
|
681
|
+
INFO = "Info",
|
|
682
|
+
LOW = "Low",
|
|
683
|
+
MEDIUM = "Medium"
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export interface RecommendationSummary {
|
|
687
|
+
|
|
688
|
+
FilePath?: string;
|
|
689
|
+
|
|
690
|
+
RecommendationId?: string;
|
|
691
|
+
|
|
692
|
+
StartLine?: number;
|
|
693
|
+
|
|
694
|
+
EndLine?: number;
|
|
695
|
+
|
|
696
|
+
Description?: string;
|
|
697
|
+
|
|
698
|
+
RecommendationCategory?: RecommendationCategory | string;
|
|
699
|
+
|
|
700
|
+
RuleMetadata?: RuleMetadata;
|
|
701
|
+
|
|
702
|
+
Severity?: Severity | string;
|
|
703
|
+
}
|
|
704
|
+
export declare namespace RecommendationSummary {
|
|
705
|
+
|
|
706
|
+
const filterSensitiveLog: (obj: RecommendationSummary) => any;
|
|
707
|
+
}
|
|
708
|
+
export interface ListRecommendationsResponse {
|
|
709
|
+
|
|
710
|
+
RecommendationSummaries?: RecommendationSummary[];
|
|
711
|
+
|
|
712
|
+
NextToken?: string;
|
|
713
|
+
}
|
|
714
|
+
export declare namespace ListRecommendationsResponse {
|
|
715
|
+
|
|
716
|
+
const filterSensitiveLog: (obj: ListRecommendationsResponse) => any;
|
|
717
|
+
}
|
|
718
|
+
export interface ListRepositoryAssociationsRequest {
|
|
719
|
+
|
|
720
|
+
ProviderTypes?: (ProviderType | string)[];
|
|
721
|
+
|
|
722
|
+
States?: (RepositoryAssociationState | string)[];
|
|
723
|
+
|
|
724
|
+
Names?: string[];
|
|
725
|
+
|
|
726
|
+
Owners?: string[];
|
|
727
|
+
|
|
728
|
+
MaxResults?: number;
|
|
729
|
+
|
|
730
|
+
NextToken?: string;
|
|
731
|
+
}
|
|
732
|
+
export declare namespace ListRepositoryAssociationsRequest {
|
|
733
|
+
|
|
734
|
+
const filterSensitiveLog: (obj: ListRepositoryAssociationsRequest) => any;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
export interface RepositoryAssociationSummary {
|
|
738
|
+
|
|
739
|
+
AssociationArn?: string;
|
|
740
|
+
|
|
741
|
+
ConnectionArn?: string;
|
|
742
|
+
|
|
743
|
+
LastUpdatedTimeStamp?: Date;
|
|
744
|
+
|
|
745
|
+
AssociationId?: string;
|
|
746
|
+
|
|
747
|
+
Name?: string;
|
|
748
|
+
|
|
749
|
+
Owner?: string;
|
|
750
|
+
|
|
751
|
+
ProviderType?: ProviderType | string;
|
|
752
|
+
|
|
753
|
+
State?: RepositoryAssociationState | string;
|
|
754
|
+
}
|
|
755
|
+
export declare namespace RepositoryAssociationSummary {
|
|
756
|
+
|
|
757
|
+
const filterSensitiveLog: (obj: RepositoryAssociationSummary) => any;
|
|
758
|
+
}
|
|
759
|
+
export interface ListRepositoryAssociationsResponse {
|
|
760
|
+
|
|
761
|
+
RepositoryAssociationSummaries?: RepositoryAssociationSummary[];
|
|
762
|
+
|
|
763
|
+
NextToken?: string;
|
|
764
|
+
}
|
|
765
|
+
export declare namespace ListRepositoryAssociationsResponse {
|
|
766
|
+
|
|
767
|
+
const filterSensitiveLog: (obj: ListRepositoryAssociationsResponse) => any;
|
|
768
|
+
}
|
|
769
|
+
export interface ListTagsForResourceRequest {
|
|
770
|
+
|
|
771
|
+
resourceArn: string | undefined;
|
|
772
|
+
}
|
|
773
|
+
export declare namespace ListTagsForResourceRequest {
|
|
774
|
+
|
|
775
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
776
|
+
}
|
|
777
|
+
export interface ListTagsForResourceResponse {
|
|
778
|
+
|
|
779
|
+
Tags?: {
|
|
780
|
+
[key: string]: string;
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
export declare namespace ListTagsForResourceResponse {
|
|
784
|
+
|
|
785
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
786
|
+
}
|
|
787
|
+
export interface PutRecommendationFeedbackRequest {
|
|
788
|
+
|
|
789
|
+
CodeReviewArn: string | undefined;
|
|
790
|
+
|
|
791
|
+
RecommendationId: string | undefined;
|
|
792
|
+
|
|
793
|
+
Reactions: (Reaction | string)[] | undefined;
|
|
794
|
+
}
|
|
795
|
+
export declare namespace PutRecommendationFeedbackRequest {
|
|
796
|
+
|
|
797
|
+
const filterSensitiveLog: (obj: PutRecommendationFeedbackRequest) => any;
|
|
798
|
+
}
|
|
799
|
+
export interface PutRecommendationFeedbackResponse {
|
|
800
|
+
}
|
|
801
|
+
export declare namespace PutRecommendationFeedbackResponse {
|
|
802
|
+
|
|
803
|
+
const filterSensitiveLog: (obj: PutRecommendationFeedbackResponse) => any;
|
|
804
|
+
}
|
|
805
|
+
export interface TagResourceRequest {
|
|
806
|
+
|
|
807
|
+
resourceArn: string | undefined;
|
|
808
|
+
|
|
809
|
+
Tags: {
|
|
810
|
+
[key: string]: string;
|
|
811
|
+
} | undefined;
|
|
812
|
+
}
|
|
813
|
+
export declare namespace TagResourceRequest {
|
|
814
|
+
|
|
815
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
816
|
+
}
|
|
817
|
+
export interface TagResourceResponse {
|
|
818
|
+
}
|
|
819
|
+
export declare namespace TagResourceResponse {
|
|
820
|
+
|
|
821
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
822
|
+
}
|
|
823
|
+
export interface UntagResourceRequest {
|
|
824
|
+
|
|
825
|
+
resourceArn: string | undefined;
|
|
826
|
+
|
|
827
|
+
TagKeys: string[] | undefined;
|
|
828
|
+
}
|
|
829
|
+
export declare namespace UntagResourceRequest {
|
|
830
|
+
|
|
831
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
832
|
+
}
|
|
833
|
+
export interface UntagResourceResponse {
|
|
834
|
+
}
|
|
835
|
+
export declare namespace UntagResourceResponse {
|
|
836
|
+
|
|
837
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
838
|
+
}
|