@aws-sdk/client-codeguru-reviewer 3.987.0 → 3.988.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 +33 -731
- package/dist-cjs/models/CodeGuruReviewerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +109 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +552 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +47 -41
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CodeGuruReviewerServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class CodeGuruReviewerServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, CodeGuruReviewerServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.CodeGuruReviewerServiceException = CodeGuruReviewerServiceException;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotFoundException = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const CodeGuruReviewerServiceException_1 = require("./CodeGuruReviewerServiceException");
|
|
5
|
+
class AccessDeniedException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class ConflictException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
21
|
+
name = "ConflictException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ConflictException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class InternalServerException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
36
|
+
name = "InternalServerException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InternalServerException",
|
|
42
|
+
$fault: "server",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.InternalServerException = InternalServerException;
|
|
50
|
+
class ThrottlingException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
51
|
+
name = "ThrottlingException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ThrottlingException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ThrottlingException = ThrottlingException;
|
|
65
|
+
class ValidationException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
66
|
+
name = "ValidationException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ValidationException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ValidationException = ValidationException;
|
|
80
|
+
class ResourceNotFoundException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
81
|
+
name = "ResourceNotFoundException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ResourceNotFoundException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
95
|
+
class NotFoundException extends CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException {
|
|
96
|
+
name = "NotFoundException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "NotFoundException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
106
|
+
this.Message = opts.Message;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.NotFoundException = NotFoundException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2019-09-19",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.codegurureviewer",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2019-09-19",
|
|
33
35
|
serviceTarget: "AWSGuruFrontendService",
|
|
34
36
|
},
|
|
@@ -0,0 +1,552 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RepositoryAssociation$ = exports.RepositoryAnalysis$ = exports.Repository$ = exports.RecommendationSummary$ = exports.RecommendationFeedbackSummary$ = exports.RecommendationFeedback$ = exports.PutRecommendationFeedbackResponse$ = exports.PutRecommendationFeedbackRequest$ = exports.MetricsSummary$ = exports.Metrics$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListRepositoryAssociationsResponse$ = exports.ListRepositoryAssociationsRequest$ = exports.ListRecommendationsResponse$ = exports.ListRecommendationsRequest$ = exports.ListRecommendationFeedbackResponse$ = exports.ListRecommendationFeedbackRequest$ = exports.ListCodeReviewsResponse$ = exports.ListCodeReviewsRequest$ = exports.KMSKeyDetails$ = exports.EventInfo$ = exports.DisassociateRepositoryResponse$ = exports.DisassociateRepositoryRequest$ = exports.DescribeRepositoryAssociationResponse$ = exports.DescribeRepositoryAssociationRequest$ = exports.DescribeRecommendationFeedbackResponse$ = exports.DescribeRecommendationFeedbackRequest$ = exports.DescribeCodeReviewResponse$ = exports.DescribeCodeReviewRequest$ = exports.CreateCodeReviewResponse$ = exports.CreateCodeReviewRequest$ = exports.CommitDiffSourceCodeType$ = exports.CodeReviewType$ = exports.CodeReviewSummary$ = exports.CodeReview$ = exports.CodeCommitRepository$ = exports.CodeArtifacts$ = exports.BranchDiffSourceCodeType$ = exports.AssociateRepositoryResponse$ = exports.AssociateRepositoryRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.NotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.CodeGuruReviewerServiceException$ = void 0;
|
|
4
|
+
exports.UntagResource$ = exports.TagResource$ = exports.PutRecommendationFeedback$ = exports.ListTagsForResource$ = exports.ListRepositoryAssociations$ = exports.ListRecommendations$ = exports.ListRecommendationFeedback$ = exports.ListCodeReviews$ = exports.DisassociateRepository$ = exports.DescribeRepositoryAssociation$ = exports.DescribeRecommendationFeedback$ = exports.DescribeCodeReview$ = exports.CreateCodeReview$ = exports.AssociateRepository$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.ThirdPartySourceRepository$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SourceCodeType$ = exports.S3RepositoryDetails$ = exports.S3Repository$ = exports.S3BucketRepository$ = exports.RuleMetadata$ = exports.RequestMetadata$ = exports.RepositoryHeadSourceCodeType$ = exports.RepositoryAssociationSummary$ = void 0;
|
|
5
|
+
const _AA = "AssociationArn";
|
|
6
|
+
const _ADE = "AccessDeniedException";
|
|
7
|
+
const _AI = "AssociationId";
|
|
8
|
+
const _AR = "AssociateRepository";
|
|
9
|
+
const _ARR = "AssociateRepositoryRequest";
|
|
10
|
+
const _ARRs = "AssociateRepositoryResponse";
|
|
11
|
+
const _AT = "AnalysisTypes";
|
|
12
|
+
const _B = "Bitbucket";
|
|
13
|
+
const _BAOK = "BuildArtifactsObjectKey";
|
|
14
|
+
const _BD = "BranchDiff";
|
|
15
|
+
const _BDSCT = "BranchDiffSourceCodeType";
|
|
16
|
+
const _BN = "BranchName";
|
|
17
|
+
const _BNu = "BucketName";
|
|
18
|
+
const _CA = "CodeArtifacts";
|
|
19
|
+
const _CAo = "ConnectionArn";
|
|
20
|
+
const _CC = "CodeCommit";
|
|
21
|
+
const _CCR = "CodeCommitRepository";
|
|
22
|
+
const _CCRR = "CreateCodeReviewRequest";
|
|
23
|
+
const _CCRRr = "CreateCodeReviewResponse";
|
|
24
|
+
const _CCRr = "CreateCodeReview";
|
|
25
|
+
const _CD = "CommitDiff";
|
|
26
|
+
const _CDSCT = "CommitDiffSourceCodeType";
|
|
27
|
+
const _CE = "ConflictException";
|
|
28
|
+
const _CFS = "ConfigFileState";
|
|
29
|
+
const _CR = "CodeReview";
|
|
30
|
+
const _CRA = "CodeReviewArn";
|
|
31
|
+
const _CRS = "CodeReviewSummary";
|
|
32
|
+
const _CRSo = "CodeReviewSummaries";
|
|
33
|
+
const _CRT = "ClientRequestToken";
|
|
34
|
+
const _CRTo = "CodeReviewType";
|
|
35
|
+
const _CTS = "CreatedTimeStamp";
|
|
36
|
+
const _D = "Description";
|
|
37
|
+
const _DBN = "DestinationBranchName";
|
|
38
|
+
const _DC = "DestinationCommit";
|
|
39
|
+
const _DCR = "DescribeCodeReview";
|
|
40
|
+
const _DCRR = "DescribeCodeReviewRequest";
|
|
41
|
+
const _DCRRe = "DescribeCodeReviewResponse";
|
|
42
|
+
const _DR = "DisassociateRepository";
|
|
43
|
+
const _DRA = "DescribeRepositoryAssociation";
|
|
44
|
+
const _DRAR = "DescribeRepositoryAssociationRequest";
|
|
45
|
+
const _DRARe = "DescribeRepositoryAssociationResponse";
|
|
46
|
+
const _DRF = "DescribeRecommendationFeedback";
|
|
47
|
+
const _DRFR = "DescribeRecommendationFeedbackRequest";
|
|
48
|
+
const _DRFRe = "DescribeRecommendationFeedbackResponse";
|
|
49
|
+
const _DRR = "DisassociateRepositoryRequest";
|
|
50
|
+
const _DRRi = "DisassociateRepositoryResponse";
|
|
51
|
+
const _De = "Details";
|
|
52
|
+
const _EI = "EventInfo";
|
|
53
|
+
const _EL = "EndLine";
|
|
54
|
+
const _EO = "EncryptionOption";
|
|
55
|
+
const _FC = "FindingsCount";
|
|
56
|
+
const _FP = "FilePath";
|
|
57
|
+
const _GHES = "GitHubEnterpriseServer";
|
|
58
|
+
const _ISE = "InternalServerException";
|
|
59
|
+
const _KMSKD = "KMSKeyDetails";
|
|
60
|
+
const _KMSKI = "KMSKeyId";
|
|
61
|
+
const _LCR = "ListCodeReviews";
|
|
62
|
+
const _LCRR = "ListCodeReviewsRequest";
|
|
63
|
+
const _LCRRi = "ListCodeReviewsResponse";
|
|
64
|
+
const _LD = "LongDescription";
|
|
65
|
+
const _LR = "ListRecommendations";
|
|
66
|
+
const _LRA = "ListRepositoryAssociations";
|
|
67
|
+
const _LRAR = "ListRepositoryAssociationsRequest";
|
|
68
|
+
const _LRARi = "ListRepositoryAssociationsResponse";
|
|
69
|
+
const _LRF = "ListRecommendationFeedback";
|
|
70
|
+
const _LRFR = "ListRecommendationFeedbackRequest";
|
|
71
|
+
const _LRFRi = "ListRecommendationFeedbackResponse";
|
|
72
|
+
const _LRR = "ListRecommendationsRequest";
|
|
73
|
+
const _LRRi = "ListRecommendationsResponse";
|
|
74
|
+
const _LTFR = "ListTagsForResource";
|
|
75
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
76
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
77
|
+
const _LUTS = "LastUpdatedTimeStamp";
|
|
78
|
+
const _M = "Message";
|
|
79
|
+
const _MBC = "MergeBaseCommit";
|
|
80
|
+
const _MLOCC = "MeteredLinesOfCodeCount";
|
|
81
|
+
const _MR = "MaxResults";
|
|
82
|
+
const _MS = "MetricsSummary";
|
|
83
|
+
const _Me = "Metrics";
|
|
84
|
+
const _N = "Name";
|
|
85
|
+
const _NFE = "NotFoundException";
|
|
86
|
+
const _NT = "NextToken";
|
|
87
|
+
const _Na = "Names";
|
|
88
|
+
const _O = "Owner";
|
|
89
|
+
const _Ow = "Owners";
|
|
90
|
+
const _PRF = "PutRecommendationFeedback";
|
|
91
|
+
const _PRFR = "PutRecommendationFeedbackRequest";
|
|
92
|
+
const _PRFRu = "PutRecommendationFeedbackResponse";
|
|
93
|
+
const _PRI = "PullRequestId";
|
|
94
|
+
const _PT = "ProviderType";
|
|
95
|
+
const _PTr = "ProviderTypes";
|
|
96
|
+
const _R = "Repository";
|
|
97
|
+
const _RA = "RepositoryAssociation";
|
|
98
|
+
const _RAA = "RepositoryAssociationArn";
|
|
99
|
+
const _RAS = "RepositoryAssociationSummaries";
|
|
100
|
+
const _RASe = "RepositoryAssociationSummary";
|
|
101
|
+
const _RAe = "RepositoryAnalysis";
|
|
102
|
+
const _RC = "RecommendationCategory";
|
|
103
|
+
const _RF = "RecommendationFeedback";
|
|
104
|
+
const _RFS = "RecommendationFeedbackSummaries";
|
|
105
|
+
const _RFSe = "RecommendationFeedbackSummary";
|
|
106
|
+
const _RH = "RepositoryHead";
|
|
107
|
+
const _RHSCT = "RepositoryHeadSourceCodeType";
|
|
108
|
+
const _RI = "RecommendationId";
|
|
109
|
+
const _RIe = "RecommendationIds";
|
|
110
|
+
const _RIeq = "RequestId";
|
|
111
|
+
const _RIu = "RuleId";
|
|
112
|
+
const _RM = "RuleMetadata";
|
|
113
|
+
const _RMe = "RequestMetadata";
|
|
114
|
+
const _RN = "RepositoryName";
|
|
115
|
+
const _RNFE = "ResourceNotFoundException";
|
|
116
|
+
const _RNe = "RepositoryNames";
|
|
117
|
+
const _RNu = "RuleName";
|
|
118
|
+
const _RS = "RecommendationSummaries";
|
|
119
|
+
const _RSe = "RecommendationSummary";
|
|
120
|
+
const _RT = "RuleTags";
|
|
121
|
+
const _Re = "Reactions";
|
|
122
|
+
const _Req = "Requester";
|
|
123
|
+
const _S = "State";
|
|
124
|
+
const _SB = "S3Bucket";
|
|
125
|
+
const _SBN = "SourceBranchName";
|
|
126
|
+
const _SBR = "S3BucketRepository";
|
|
127
|
+
const _SC = "SourceCommit";
|
|
128
|
+
const _SCAOK = "SourceCodeArtifactsObjectKey";
|
|
129
|
+
const _SCT = "SourceCodeType";
|
|
130
|
+
const _SD = "ShortDescription";
|
|
131
|
+
const _SL = "StartLine";
|
|
132
|
+
const _SLOCC = "SuppressedLinesOfCodeCount";
|
|
133
|
+
const _SR = "StateReason";
|
|
134
|
+
const _SRD = "S3RepositoryDetails";
|
|
135
|
+
const _SRe = "S3Repository";
|
|
136
|
+
const _Se = "Severity";
|
|
137
|
+
const _St = "States";
|
|
138
|
+
const _T = "Tags";
|
|
139
|
+
const _TE = "ThrottlingException";
|
|
140
|
+
const _TK = "TagKeys";
|
|
141
|
+
const _TPSR = "ThirdPartySourceRepository";
|
|
142
|
+
const _TR = "TagResource";
|
|
143
|
+
const _TRR = "TagResourceRequest";
|
|
144
|
+
const _TRRa = "TagResourceResponse";
|
|
145
|
+
const _Ty = "Type";
|
|
146
|
+
const _UI = "UserId";
|
|
147
|
+
const _UIs = "UserIds";
|
|
148
|
+
const _UR = "UntagResource";
|
|
149
|
+
const _URR = "UntagResourceRequest";
|
|
150
|
+
const _URRn = "UntagResourceResponse";
|
|
151
|
+
const _VE = "ValidationException";
|
|
152
|
+
const _VN = "VendorName";
|
|
153
|
+
const _c = "client";
|
|
154
|
+
const _e = "error";
|
|
155
|
+
const _h = "http";
|
|
156
|
+
const _hE = "httpError";
|
|
157
|
+
const _hQ = "httpQuery";
|
|
158
|
+
const _rA = "resourceArn";
|
|
159
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codegurureviewer";
|
|
160
|
+
const _se = "server";
|
|
161
|
+
const _tK = "tagKeys";
|
|
162
|
+
const n0 = "com.amazonaws.codegurureviewer";
|
|
163
|
+
const schema_1 = require("@smithy/core/schema");
|
|
164
|
+
const CodeGuruReviewerServiceException_1 = require("../models/CodeGuruReviewerServiceException");
|
|
165
|
+
const errors_1 = require("../models/errors");
|
|
166
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
167
|
+
exports.CodeGuruReviewerServiceException$ = [-3, _s, "CodeGuruReviewerServiceException", 0, [], []];
|
|
168
|
+
_s_registry.registerError(exports.CodeGuruReviewerServiceException$, CodeGuruReviewerServiceException_1.CodeGuruReviewerServiceException);
|
|
169
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
170
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
171
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
172
|
+
[_M],
|
|
173
|
+
[0]
|
|
174
|
+
];
|
|
175
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
176
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
177
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
178
|
+
[_M],
|
|
179
|
+
[0]
|
|
180
|
+
];
|
|
181
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
182
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
183
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
184
|
+
[_M],
|
|
185
|
+
[0]
|
|
186
|
+
];
|
|
187
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
188
|
+
exports.NotFoundException$ = [-3, n0, _NFE,
|
|
189
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
190
|
+
[_M],
|
|
191
|
+
[0]
|
|
192
|
+
];
|
|
193
|
+
n0_registry.registerError(exports.NotFoundException$, errors_1.NotFoundException);
|
|
194
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
195
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
196
|
+
[_M],
|
|
197
|
+
[0]
|
|
198
|
+
];
|
|
199
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
200
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
201
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
202
|
+
[_M],
|
|
203
|
+
[0]
|
|
204
|
+
];
|
|
205
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
206
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
207
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
208
|
+
[_M],
|
|
209
|
+
[0]
|
|
210
|
+
];
|
|
211
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
212
|
+
exports.errorTypeRegistries = [
|
|
213
|
+
_s_registry,
|
|
214
|
+
n0_registry,
|
|
215
|
+
];
|
|
216
|
+
exports.AssociateRepositoryRequest$ = [3, n0, _ARR,
|
|
217
|
+
0,
|
|
218
|
+
[_R, _CRT, _T, _KMSKD],
|
|
219
|
+
[() => exports.Repository$, [0, 4], 128 | 0, () => exports.KMSKeyDetails$], 1
|
|
220
|
+
];
|
|
221
|
+
exports.AssociateRepositoryResponse$ = [3, n0, _ARRs,
|
|
222
|
+
0,
|
|
223
|
+
[_RA, _T],
|
|
224
|
+
[() => exports.RepositoryAssociation$, 128 | 0]
|
|
225
|
+
];
|
|
226
|
+
exports.BranchDiffSourceCodeType$ = [3, n0, _BDSCT,
|
|
227
|
+
0,
|
|
228
|
+
[_SBN, _DBN],
|
|
229
|
+
[0, 0], 2
|
|
230
|
+
];
|
|
231
|
+
exports.CodeArtifacts$ = [3, n0, _CA,
|
|
232
|
+
0,
|
|
233
|
+
[_SCAOK, _BAOK],
|
|
234
|
+
[0, 0], 1
|
|
235
|
+
];
|
|
236
|
+
exports.CodeCommitRepository$ = [3, n0, _CCR,
|
|
237
|
+
0,
|
|
238
|
+
[_N],
|
|
239
|
+
[0], 1
|
|
240
|
+
];
|
|
241
|
+
exports.CodeReview$ = [3, n0, _CR,
|
|
242
|
+
0,
|
|
243
|
+
[_N, _CRA, _RN, _O, _PT, _S, _SR, _CTS, _LUTS, _Ty, _PRI, _SCT, _AA, _Me, _AT, _CFS],
|
|
244
|
+
[0, 0, 0, 0, 0, 0, 0, 4, 4, 0, 0, () => exports.SourceCodeType$, 0, () => exports.Metrics$, 64 | 0, 0]
|
|
245
|
+
];
|
|
246
|
+
exports.CodeReviewSummary$ = [3, n0, _CRS,
|
|
247
|
+
0,
|
|
248
|
+
[_N, _CRA, _RN, _O, _PT, _S, _CTS, _LUTS, _Ty, _PRI, _MS, _SCT],
|
|
249
|
+
[0, 0, 0, 0, 0, 0, 4, 4, 0, 0, () => exports.MetricsSummary$, () => exports.SourceCodeType$]
|
|
250
|
+
];
|
|
251
|
+
exports.CodeReviewType$ = [3, n0, _CRTo,
|
|
252
|
+
0,
|
|
253
|
+
[_RAe, _AT],
|
|
254
|
+
[() => exports.RepositoryAnalysis$, 64 | 0], 1
|
|
255
|
+
];
|
|
256
|
+
exports.CommitDiffSourceCodeType$ = [3, n0, _CDSCT,
|
|
257
|
+
0,
|
|
258
|
+
[_SC, _DC, _MBC],
|
|
259
|
+
[0, 0, 0]
|
|
260
|
+
];
|
|
261
|
+
exports.CreateCodeReviewRequest$ = [3, n0, _CCRR,
|
|
262
|
+
0,
|
|
263
|
+
[_N, _RAA, _Ty, _CRT],
|
|
264
|
+
[0, 0, () => exports.CodeReviewType$, [0, 4]], 3
|
|
265
|
+
];
|
|
266
|
+
exports.CreateCodeReviewResponse$ = [3, n0, _CCRRr,
|
|
267
|
+
0,
|
|
268
|
+
[_CR],
|
|
269
|
+
[() => exports.CodeReview$]
|
|
270
|
+
];
|
|
271
|
+
exports.DescribeCodeReviewRequest$ = [3, n0, _DCRR,
|
|
272
|
+
0,
|
|
273
|
+
[_CRA],
|
|
274
|
+
[[0, 1]], 1
|
|
275
|
+
];
|
|
276
|
+
exports.DescribeCodeReviewResponse$ = [3, n0, _DCRRe,
|
|
277
|
+
0,
|
|
278
|
+
[_CR],
|
|
279
|
+
[() => exports.CodeReview$]
|
|
280
|
+
];
|
|
281
|
+
exports.DescribeRecommendationFeedbackRequest$ = [3, n0, _DRFR,
|
|
282
|
+
0,
|
|
283
|
+
[_CRA, _RI, _UI],
|
|
284
|
+
[[0, 1], [0, { [_hQ]: _RI }], [0, { [_hQ]: _UI }]], 2
|
|
285
|
+
];
|
|
286
|
+
exports.DescribeRecommendationFeedbackResponse$ = [3, n0, _DRFRe,
|
|
287
|
+
0,
|
|
288
|
+
[_RF],
|
|
289
|
+
[() => exports.RecommendationFeedback$]
|
|
290
|
+
];
|
|
291
|
+
exports.DescribeRepositoryAssociationRequest$ = [3, n0, _DRAR,
|
|
292
|
+
0,
|
|
293
|
+
[_AA],
|
|
294
|
+
[[0, 1]], 1
|
|
295
|
+
];
|
|
296
|
+
exports.DescribeRepositoryAssociationResponse$ = [3, n0, _DRARe,
|
|
297
|
+
0,
|
|
298
|
+
[_RA, _T],
|
|
299
|
+
[() => exports.RepositoryAssociation$, 128 | 0]
|
|
300
|
+
];
|
|
301
|
+
exports.DisassociateRepositoryRequest$ = [3, n0, _DRR,
|
|
302
|
+
0,
|
|
303
|
+
[_AA],
|
|
304
|
+
[[0, 1]], 1
|
|
305
|
+
];
|
|
306
|
+
exports.DisassociateRepositoryResponse$ = [3, n0, _DRRi,
|
|
307
|
+
0,
|
|
308
|
+
[_RA, _T],
|
|
309
|
+
[() => exports.RepositoryAssociation$, 128 | 0]
|
|
310
|
+
];
|
|
311
|
+
exports.EventInfo$ = [3, n0, _EI,
|
|
312
|
+
0,
|
|
313
|
+
[_N, _S],
|
|
314
|
+
[0, 0]
|
|
315
|
+
];
|
|
316
|
+
exports.KMSKeyDetails$ = [3, n0, _KMSKD,
|
|
317
|
+
0,
|
|
318
|
+
[_KMSKI, _EO],
|
|
319
|
+
[0, 0]
|
|
320
|
+
];
|
|
321
|
+
exports.ListCodeReviewsRequest$ = [3, n0, _LCRR,
|
|
322
|
+
0,
|
|
323
|
+
[_Ty, _PTr, _St, _RNe, _MR, _NT],
|
|
324
|
+
[[0, { [_hQ]: _Ty }], [64 | 0, { [_hQ]: _PTr }], [64 | 0, { [_hQ]: _St }], [64 | 0, { [_hQ]: _RNe }], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]], 1
|
|
325
|
+
];
|
|
326
|
+
exports.ListCodeReviewsResponse$ = [3, n0, _LCRRi,
|
|
327
|
+
0,
|
|
328
|
+
[_CRSo, _NT],
|
|
329
|
+
[() => CodeReviewSummaries, 0]
|
|
330
|
+
];
|
|
331
|
+
exports.ListRecommendationFeedbackRequest$ = [3, n0, _LRFR,
|
|
332
|
+
0,
|
|
333
|
+
[_CRA, _NT, _MR, _UIs, _RIe],
|
|
334
|
+
[[0, 1], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }], [64 | 0, { [_hQ]: _UIs }], [64 | 0, { [_hQ]: _RIe }]], 1
|
|
335
|
+
];
|
|
336
|
+
exports.ListRecommendationFeedbackResponse$ = [3, n0, _LRFRi,
|
|
337
|
+
0,
|
|
338
|
+
[_RFS, _NT],
|
|
339
|
+
[() => RecommendationFeedbackSummaries, 0]
|
|
340
|
+
];
|
|
341
|
+
exports.ListRecommendationsRequest$ = [3, n0, _LRR,
|
|
342
|
+
0,
|
|
343
|
+
[_CRA, _NT, _MR],
|
|
344
|
+
[[0, 1], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]], 1
|
|
345
|
+
];
|
|
346
|
+
exports.ListRecommendationsResponse$ = [3, n0, _LRRi,
|
|
347
|
+
0,
|
|
348
|
+
[_RS, _NT],
|
|
349
|
+
[() => RecommendationSummaries, 0]
|
|
350
|
+
];
|
|
351
|
+
exports.ListRepositoryAssociationsRequest$ = [3, n0, _LRAR,
|
|
352
|
+
0,
|
|
353
|
+
[_PTr, _St, _Na, _Ow, _MR, _NT],
|
|
354
|
+
[[64 | 0, { [_hQ]: _PT }], [64 | 0, { [_hQ]: _S }], [64 | 0, { [_hQ]: _N }], [64 | 0, { [_hQ]: _O }], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]]
|
|
355
|
+
];
|
|
356
|
+
exports.ListRepositoryAssociationsResponse$ = [3, n0, _LRARi,
|
|
357
|
+
0,
|
|
358
|
+
[_RAS, _NT],
|
|
359
|
+
[() => RepositoryAssociationSummaries, 0]
|
|
360
|
+
];
|
|
361
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
362
|
+
0,
|
|
363
|
+
[_rA],
|
|
364
|
+
[[0, 1]], 1
|
|
365
|
+
];
|
|
366
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
367
|
+
0,
|
|
368
|
+
[_T],
|
|
369
|
+
[128 | 0]
|
|
370
|
+
];
|
|
371
|
+
exports.Metrics$ = [3, n0, _Me,
|
|
372
|
+
0,
|
|
373
|
+
[_MLOCC, _SLOCC, _FC],
|
|
374
|
+
[1, 1, 1]
|
|
375
|
+
];
|
|
376
|
+
exports.MetricsSummary$ = [3, n0, _MS,
|
|
377
|
+
0,
|
|
378
|
+
[_MLOCC, _SLOCC, _FC],
|
|
379
|
+
[1, 1, 1]
|
|
380
|
+
];
|
|
381
|
+
exports.PutRecommendationFeedbackRequest$ = [3, n0, _PRFR,
|
|
382
|
+
0,
|
|
383
|
+
[_CRA, _RI, _Re],
|
|
384
|
+
[0, 0, 64 | 0], 3
|
|
385
|
+
];
|
|
386
|
+
exports.PutRecommendationFeedbackResponse$ = [3, n0, _PRFRu,
|
|
387
|
+
0,
|
|
388
|
+
[],
|
|
389
|
+
[]
|
|
390
|
+
];
|
|
391
|
+
exports.RecommendationFeedback$ = [3, n0, _RF,
|
|
392
|
+
0,
|
|
393
|
+
[_CRA, _RI, _Re, _UI, _CTS, _LUTS],
|
|
394
|
+
[0, 0, 64 | 0, 0, 4, 4]
|
|
395
|
+
];
|
|
396
|
+
exports.RecommendationFeedbackSummary$ = [3, n0, _RFSe,
|
|
397
|
+
0,
|
|
398
|
+
[_RI, _Re, _UI],
|
|
399
|
+
[0, 64 | 0, 0]
|
|
400
|
+
];
|
|
401
|
+
exports.RecommendationSummary$ = [3, n0, _RSe,
|
|
402
|
+
0,
|
|
403
|
+
[_FP, _RI, _SL, _EL, _D, _RC, _RM, _Se],
|
|
404
|
+
[0, 0, 1, 1, 0, 0, () => exports.RuleMetadata$, 0]
|
|
405
|
+
];
|
|
406
|
+
exports.Repository$ = [3, n0, _R,
|
|
407
|
+
0,
|
|
408
|
+
[_CC, _B, _GHES, _SB],
|
|
409
|
+
[() => exports.CodeCommitRepository$, () => exports.ThirdPartySourceRepository$, () => exports.ThirdPartySourceRepository$, () => exports.S3Repository$]
|
|
410
|
+
];
|
|
411
|
+
exports.RepositoryAnalysis$ = [3, n0, _RAe,
|
|
412
|
+
0,
|
|
413
|
+
[_RH, _SCT],
|
|
414
|
+
[() => exports.RepositoryHeadSourceCodeType$, () => exports.SourceCodeType$]
|
|
415
|
+
];
|
|
416
|
+
exports.RepositoryAssociation$ = [3, n0, _RA,
|
|
417
|
+
0,
|
|
418
|
+
[_AI, _AA, _CAo, _N, _O, _PT, _S, _SR, _LUTS, _CTS, _KMSKD, _SRD],
|
|
419
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 4, 4, () => exports.KMSKeyDetails$, () => exports.S3RepositoryDetails$]
|
|
420
|
+
];
|
|
421
|
+
exports.RepositoryAssociationSummary$ = [3, n0, _RASe,
|
|
422
|
+
0,
|
|
423
|
+
[_AA, _CAo, _LUTS, _AI, _N, _O, _PT, _S],
|
|
424
|
+
[0, 0, 4, 0, 0, 0, 0, 0]
|
|
425
|
+
];
|
|
426
|
+
exports.RepositoryHeadSourceCodeType$ = [3, n0, _RHSCT,
|
|
427
|
+
0,
|
|
428
|
+
[_BN],
|
|
429
|
+
[0], 1
|
|
430
|
+
];
|
|
431
|
+
exports.RequestMetadata$ = [3, n0, _RMe,
|
|
432
|
+
0,
|
|
433
|
+
[_RIeq, _Req, _EI, _VN],
|
|
434
|
+
[0, 0, () => exports.EventInfo$, 0]
|
|
435
|
+
];
|
|
436
|
+
exports.RuleMetadata$ = [3, n0, _RM,
|
|
437
|
+
0,
|
|
438
|
+
[_RIu, _RNu, _SD, _LD, _RT],
|
|
439
|
+
[0, 0, 0, 0, 64 | 0]
|
|
440
|
+
];
|
|
441
|
+
exports.S3BucketRepository$ = [3, n0, _SBR,
|
|
442
|
+
0,
|
|
443
|
+
[_N, _De],
|
|
444
|
+
[0, () => exports.S3RepositoryDetails$], 1
|
|
445
|
+
];
|
|
446
|
+
exports.S3Repository$ = [3, n0, _SRe,
|
|
447
|
+
0,
|
|
448
|
+
[_N, _BNu],
|
|
449
|
+
[0, 0], 2
|
|
450
|
+
];
|
|
451
|
+
exports.S3RepositoryDetails$ = [3, n0, _SRD,
|
|
452
|
+
0,
|
|
453
|
+
[_BNu, _CA],
|
|
454
|
+
[0, () => exports.CodeArtifacts$]
|
|
455
|
+
];
|
|
456
|
+
exports.SourceCodeType$ = [3, n0, _SCT,
|
|
457
|
+
0,
|
|
458
|
+
[_CD, _RH, _BD, _SBR, _RMe],
|
|
459
|
+
[() => exports.CommitDiffSourceCodeType$, () => exports.RepositoryHeadSourceCodeType$, () => exports.BranchDiffSourceCodeType$, () => exports.S3BucketRepository$, () => exports.RequestMetadata$]
|
|
460
|
+
];
|
|
461
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
462
|
+
0,
|
|
463
|
+
[_rA, _T],
|
|
464
|
+
[[0, 1], 128 | 0], 2
|
|
465
|
+
];
|
|
466
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
467
|
+
0,
|
|
468
|
+
[],
|
|
469
|
+
[]
|
|
470
|
+
];
|
|
471
|
+
exports.ThirdPartySourceRepository$ = [3, n0, _TPSR,
|
|
472
|
+
0,
|
|
473
|
+
[_N, _CAo, _O],
|
|
474
|
+
[0, 0, 0], 3
|
|
475
|
+
];
|
|
476
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
477
|
+
0,
|
|
478
|
+
[_rA, _TK],
|
|
479
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
480
|
+
];
|
|
481
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
482
|
+
0,
|
|
483
|
+
[],
|
|
484
|
+
[]
|
|
485
|
+
];
|
|
486
|
+
var AnalysisTypes = 64 | 0;
|
|
487
|
+
var CodeReviewSummaries = [1, n0, _CRSo,
|
|
488
|
+
0, () => exports.CodeReviewSummary$
|
|
489
|
+
];
|
|
490
|
+
var JobStates = 64 | 0;
|
|
491
|
+
var Names = 64 | 0;
|
|
492
|
+
var Owners = 64 | 0;
|
|
493
|
+
var ProviderTypes = 64 | 0;
|
|
494
|
+
var Reactions = 64 | 0;
|
|
495
|
+
var RecommendationFeedbackSummaries = [1, n0, _RFS,
|
|
496
|
+
0, () => exports.RecommendationFeedbackSummary$
|
|
497
|
+
];
|
|
498
|
+
var RecommendationIds = 64 | 0;
|
|
499
|
+
var RecommendationSummaries = [1, n0, _RS,
|
|
500
|
+
0, () => exports.RecommendationSummary$
|
|
501
|
+
];
|
|
502
|
+
var RepositoryAssociationStates = 64 | 0;
|
|
503
|
+
var RepositoryAssociationSummaries = [1, n0, _RAS,
|
|
504
|
+
0, () => exports.RepositoryAssociationSummary$
|
|
505
|
+
];
|
|
506
|
+
var RepositoryNames = 64 | 0;
|
|
507
|
+
var RuleTags = 64 | 0;
|
|
508
|
+
var TagKeyList = 64 | 0;
|
|
509
|
+
var UserIds = 64 | 0;
|
|
510
|
+
var TagMap = 128 | 0;
|
|
511
|
+
exports.AssociateRepository$ = [9, n0, _AR,
|
|
512
|
+
{ [_h]: ["POST", "/associations", 200] }, () => exports.AssociateRepositoryRequest$, () => exports.AssociateRepositoryResponse$
|
|
513
|
+
];
|
|
514
|
+
exports.CreateCodeReview$ = [9, n0, _CCRr,
|
|
515
|
+
{ [_h]: ["POST", "/codereviews", 200] }, () => exports.CreateCodeReviewRequest$, () => exports.CreateCodeReviewResponse$
|
|
516
|
+
];
|
|
517
|
+
exports.DescribeCodeReview$ = [9, n0, _DCR,
|
|
518
|
+
{ [_h]: ["GET", "/codereviews/{CodeReviewArn}", 200] }, () => exports.DescribeCodeReviewRequest$, () => exports.DescribeCodeReviewResponse$
|
|
519
|
+
];
|
|
520
|
+
exports.DescribeRecommendationFeedback$ = [9, n0, _DRF,
|
|
521
|
+
{ [_h]: ["GET", "/feedback/{CodeReviewArn}", 200] }, () => exports.DescribeRecommendationFeedbackRequest$, () => exports.DescribeRecommendationFeedbackResponse$
|
|
522
|
+
];
|
|
523
|
+
exports.DescribeRepositoryAssociation$ = [9, n0, _DRA,
|
|
524
|
+
{ [_h]: ["GET", "/associations/{AssociationArn}", 200] }, () => exports.DescribeRepositoryAssociationRequest$, () => exports.DescribeRepositoryAssociationResponse$
|
|
525
|
+
];
|
|
526
|
+
exports.DisassociateRepository$ = [9, n0, _DR,
|
|
527
|
+
{ [_h]: ["DELETE", "/associations/{AssociationArn}", 200] }, () => exports.DisassociateRepositoryRequest$, () => exports.DisassociateRepositoryResponse$
|
|
528
|
+
];
|
|
529
|
+
exports.ListCodeReviews$ = [9, n0, _LCR,
|
|
530
|
+
{ [_h]: ["GET", "/codereviews", 200] }, () => exports.ListCodeReviewsRequest$, () => exports.ListCodeReviewsResponse$
|
|
531
|
+
];
|
|
532
|
+
exports.ListRecommendationFeedback$ = [9, n0, _LRF,
|
|
533
|
+
{ [_h]: ["GET", "/feedback/{CodeReviewArn}/RecommendationFeedback", 200] }, () => exports.ListRecommendationFeedbackRequest$, () => exports.ListRecommendationFeedbackResponse$
|
|
534
|
+
];
|
|
535
|
+
exports.ListRecommendations$ = [9, n0, _LR,
|
|
536
|
+
{ [_h]: ["GET", "/codereviews/{CodeReviewArn}/Recommendations", 200] }, () => exports.ListRecommendationsRequest$, () => exports.ListRecommendationsResponse$
|
|
537
|
+
];
|
|
538
|
+
exports.ListRepositoryAssociations$ = [9, n0, _LRA,
|
|
539
|
+
{ [_h]: ["GET", "/associations", 200] }, () => exports.ListRepositoryAssociationsRequest$, () => exports.ListRepositoryAssociationsResponse$
|
|
540
|
+
];
|
|
541
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
542
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
543
|
+
];
|
|
544
|
+
exports.PutRecommendationFeedback$ = [9, n0, _PRF,
|
|
545
|
+
{ [_h]: ["PUT", "/feedback", 200] }, () => exports.PutRecommendationFeedbackRequest$, () => exports.PutRecommendationFeedbackResponse$
|
|
546
|
+
];
|
|
547
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
548
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
549
|
+
];
|
|
550
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
551
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
552
|
+
];
|