@aws-sdk/client-codeguru-security 3.948.0 → 3.953.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 +228 -156
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/BatchGetFindingsCommand.js +2 -2
- package/dist-es/commands/CreateScanCommand.js +2 -2
- package/dist-es/commands/CreateUploadUrlCommand.js +2 -2
- package/dist-es/commands/GetAccountConfigurationCommand.js +2 -2
- package/dist-es/commands/GetFindingsCommand.js +2 -2
- package/dist-es/commands/GetMetricsSummaryCommand.js +2 -2
- package/dist-es/commands/GetScanCommand.js +2 -2
- package/dist-es/commands/ListFindingsMetricsCommand.js +2 -2
- package/dist-es/commands/ListScansCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAccountConfigurationCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +138 -131
- package/dist-types/CodeGuruSecurityClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +66 -84
- package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -86
- package/package.json +34 -34
|
@@ -168,10 +168,10 @@ const _uA = "updatedAt";
|
|
|
168
168
|
const _v = "vulnerability";
|
|
169
169
|
const n0 = "com.amazonaws.codegurusecurity";
|
|
170
170
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
171
|
-
import { CodeGuruSecurityServiceException
|
|
172
|
-
import { AccessDeniedException
|
|
173
|
-
|
|
174
|
-
export var AccessDeniedException = [
|
|
171
|
+
import { CodeGuruSecurityServiceException } from "../models/CodeGuruSecurityServiceException";
|
|
172
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
173
|
+
var S3Url = [0, n0, _SU, 8, 0];
|
|
174
|
+
export var AccessDeniedException$ = [
|
|
175
175
|
-3,
|
|
176
176
|
n0,
|
|
177
177
|
_ADE,
|
|
@@ -179,8 +179,8 @@ export var AccessDeniedException = [
|
|
|
179
179
|
[_eC, _m, _rI, _rT],
|
|
180
180
|
[0, 0, 0, 0],
|
|
181
181
|
];
|
|
182
|
-
TypeRegistry.for(n0).registerError(AccessDeniedException
|
|
183
|
-
export var AccountFindingsMetric = [
|
|
182
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
183
|
+
export var AccountFindingsMetric$ = [
|
|
184
184
|
3,
|
|
185
185
|
n0,
|
|
186
186
|
_AFM,
|
|
@@ -188,15 +188,15 @@ export var AccountFindingsMetric = [
|
|
|
188
188
|
[_d, _nF, _cF, _oF, _mTTC],
|
|
189
189
|
[
|
|
190
190
|
4,
|
|
191
|
-
() => FindingMetricsValuePerSeverity
|
|
192
|
-
() => FindingMetricsValuePerSeverity
|
|
193
|
-
() => FindingMetricsValuePerSeverity
|
|
194
|
-
() => FindingMetricsValuePerSeverity
|
|
191
|
+
() => FindingMetricsValuePerSeverity$,
|
|
192
|
+
() => FindingMetricsValuePerSeverity$,
|
|
193
|
+
() => FindingMetricsValuePerSeverity$,
|
|
194
|
+
() => FindingMetricsValuePerSeverity$,
|
|
195
195
|
],
|
|
196
196
|
];
|
|
197
|
-
export var BatchGetFindingsError = [3, n0, _BGFE, 0, [_sN, _fI, _eC, _m], [0, 0, 0, 0]];
|
|
198
|
-
export var BatchGetFindingsRequest = [3, n0, _BGFR, 0, [_fIi], [() => FindingIdentifiers]];
|
|
199
|
-
export var BatchGetFindingsResponse = [
|
|
197
|
+
export var BatchGetFindingsError$ = [3, n0, _BGFE, 0, [_sN, _fI, _eC, _m], [0, 0, 0, 0]];
|
|
198
|
+
export var BatchGetFindingsRequest$ = [3, n0, _BGFR, 0, [_fIi], [() => FindingIdentifiers]];
|
|
199
|
+
export var BatchGetFindingsResponse$ = [
|
|
200
200
|
3,
|
|
201
201
|
n0,
|
|
202
202
|
_BGFRa,
|
|
@@ -204,9 +204,9 @@ export var BatchGetFindingsResponse = [
|
|
|
204
204
|
[_f, _fF],
|
|
205
205
|
[() => Findings, () => BatchGetFindingsErrors],
|
|
206
206
|
];
|
|
207
|
-
export var CategoryWithFindingNum = [3, n0, _CWFN, 0, [_cN, _fN], [0, 1]];
|
|
208
|
-
export var CodeLine = [3, n0, _CL, 0, [_n, _co], [1, 0]];
|
|
209
|
-
export var ConflictException = [
|
|
207
|
+
export var CategoryWithFindingNum$ = [3, n0, _CWFN, 0, [_cN, _fN], [0, 1]];
|
|
208
|
+
export var CodeLine$ = [3, n0, _CL, 0, [_n, _co], [1, 0]];
|
|
209
|
+
export var ConflictException$ = [
|
|
210
210
|
-3,
|
|
211
211
|
n0,
|
|
212
212
|
_CE,
|
|
@@ -214,25 +214,25 @@ export var ConflictException = [
|
|
|
214
214
|
[_eC, _m, _rI, _rT],
|
|
215
215
|
[0, 0, 0, 0],
|
|
216
216
|
];
|
|
217
|
-
TypeRegistry.for(n0).registerError(ConflictException
|
|
218
|
-
export var CreateScanRequest = [
|
|
217
|
+
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
218
|
+
export var CreateScanRequest$ = [
|
|
219
219
|
3,
|
|
220
220
|
n0,
|
|
221
221
|
_CSR,
|
|
222
222
|
0,
|
|
223
223
|
[_cT, _rI, _sN, _sT, _aT, _t],
|
|
224
|
-
[[0, 4], () => ResourceId
|
|
224
|
+
[[0, 4], () => ResourceId$, 0, 0, 0, 128 | 0],
|
|
225
225
|
];
|
|
226
|
-
export var CreateScanResponse = [
|
|
226
|
+
export var CreateScanResponse$ = [
|
|
227
227
|
3,
|
|
228
228
|
n0,
|
|
229
229
|
_CSRr,
|
|
230
230
|
0,
|
|
231
231
|
[_sN, _rIu, _rI, _sS, _sNA],
|
|
232
|
-
[0, 0, () => ResourceId
|
|
232
|
+
[0, 0, () => ResourceId$, 0, 0],
|
|
233
233
|
];
|
|
234
|
-
export var CreateUploadUrlRequest = [3, n0, _CUUR, 0, [_sN], [0]];
|
|
235
|
-
export var CreateUploadUrlResponse = [
|
|
234
|
+
export var CreateUploadUrlRequest$ = [3, n0, _CUUR, 0, [_sN], [0]];
|
|
235
|
+
export var CreateUploadUrlResponse$ = [
|
|
236
236
|
3,
|
|
237
237
|
n0,
|
|
238
238
|
_CUURr,
|
|
@@ -240,18 +240,25 @@ export var CreateUploadUrlResponse = [
|
|
|
240
240
|
[_sU, _rH, _cAI],
|
|
241
241
|
[[() => S3Url, 0], [() => RequestHeaderMap, 0], 0],
|
|
242
242
|
];
|
|
243
|
-
export var EncryptionConfig = [3, n0, _EC, 0, [_kKA], [0]];
|
|
244
|
-
export var FilePath = [
|
|
245
|
-
|
|
243
|
+
export var EncryptionConfig$ = [3, n0, _EC, 0, [_kKA], [0]];
|
|
244
|
+
export var FilePath$ = [
|
|
245
|
+
3,
|
|
246
|
+
n0,
|
|
247
|
+
_FP,
|
|
248
|
+
0,
|
|
249
|
+
[_na, _p, _sL, _eL, _cS],
|
|
250
|
+
[0, 0, 1, 1, () => CodeSnippet],
|
|
251
|
+
];
|
|
252
|
+
export var Finding$ = [
|
|
246
253
|
3,
|
|
247
254
|
n0,
|
|
248
255
|
_F,
|
|
249
256
|
0,
|
|
250
257
|
[_cA, _de, _gI, _i, _uA, _ty, _s, _r, _v, _se, _re, _ti, _dT, _dI, _dN, _rIul],
|
|
251
|
-
[4, 0, 0, 0, 4, 0, 0, () => Resource
|
|
258
|
+
[4, 0, 0, 0, 4, 0, 0, () => Resource$, () => Vulnerability$, 0, () => Remediation$, 0, 64 | 0, 0, 0, 0],
|
|
252
259
|
];
|
|
253
|
-
export var FindingIdentifier = [3, n0, _FI, 0, [_sN, _fI], [0, 0]];
|
|
254
|
-
export var FindingMetricsValuePerSeverity = [
|
|
260
|
+
export var FindingIdentifier$ = [3, n0, _FI, 0, [_sN, _fI], [0, 0]];
|
|
261
|
+
export var FindingMetricsValuePerSeverity$ = [
|
|
255
262
|
3,
|
|
256
263
|
n0,
|
|
257
264
|
_FMVPS,
|
|
@@ -259,16 +266,16 @@ export var FindingMetricsValuePerSeverity = [
|
|
|
259
266
|
[_in, _l, _me, _h, _cr],
|
|
260
267
|
[1, 1, 1, 1, 1],
|
|
261
268
|
];
|
|
262
|
-
export var GetAccountConfigurationRequest = [3, n0, _GACR, 0, [], []];
|
|
263
|
-
export var GetAccountConfigurationResponse = [
|
|
269
|
+
export var GetAccountConfigurationRequest$ = [3, n0, _GACR, 0, [], []];
|
|
270
|
+
export var GetAccountConfigurationResponse$ = [
|
|
264
271
|
3,
|
|
265
272
|
n0,
|
|
266
273
|
_GACRe,
|
|
267
274
|
0,
|
|
268
275
|
[_eCn],
|
|
269
|
-
[() => EncryptionConfig],
|
|
276
|
+
[() => EncryptionConfig$],
|
|
270
277
|
];
|
|
271
|
-
export var GetFindingsRequest = [
|
|
278
|
+
export var GetFindingsRequest$ = [
|
|
272
279
|
3,
|
|
273
280
|
n0,
|
|
274
281
|
_GFR,
|
|
@@ -281,10 +288,10 @@ export var GetFindingsRequest = [
|
|
|
281
288
|
[0, { [_hQ]: _s }],
|
|
282
289
|
],
|
|
283
290
|
];
|
|
284
|
-
export var GetFindingsResponse = [3, n0, _GFRe, 0, [_f, _nT], [() => Findings, 0]];
|
|
285
|
-
export var GetMetricsSummaryRequest = [3, n0, _GMSR, 0, [_d], [[4, { [_hQ]: _d }]]];
|
|
286
|
-
export var GetMetricsSummaryResponse = [3, n0, _GMSRe, 0, [_mS], [() => MetricsSummary]];
|
|
287
|
-
export var GetScanRequest = [
|
|
291
|
+
export var GetFindingsResponse$ = [3, n0, _GFRe, 0, [_f, _nT], [() => Findings, 0]];
|
|
292
|
+
export var GetMetricsSummaryRequest$ = [3, n0, _GMSR, 0, [_d], [[4, { [_hQ]: _d }]]];
|
|
293
|
+
export var GetMetricsSummaryResponse$ = [3, n0, _GMSRe, 0, [_mS], [() => MetricsSummary$]];
|
|
294
|
+
export var GetScanRequest$ = [
|
|
288
295
|
3,
|
|
289
296
|
n0,
|
|
290
297
|
_GSR,
|
|
@@ -295,7 +302,7 @@ export var GetScanRequest = [
|
|
|
295
302
|
[0, { [_hQ]: _rIu }],
|
|
296
303
|
],
|
|
297
304
|
];
|
|
298
|
-
export var GetScanResponse = [
|
|
305
|
+
export var GetScanResponse$ = [
|
|
299
306
|
3,
|
|
300
307
|
n0,
|
|
301
308
|
_GSRe,
|
|
@@ -303,9 +310,9 @@ export var GetScanResponse = [
|
|
|
303
310
|
[_sN, _rIu, _sS, _cA, _aT, _uA, _nOR, _sNA, _eM],
|
|
304
311
|
[0, 0, 0, 4, 0, 4, 1, 0, 0],
|
|
305
312
|
];
|
|
306
|
-
export var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_e, _m], [0, 0]];
|
|
307
|
-
TypeRegistry.for(n0).registerError(InternalServerException
|
|
308
|
-
export var ListFindingsMetricsRequest = [
|
|
313
|
+
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_e, _m], [0, 0]];
|
|
314
|
+
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
315
|
+
export var ListFindingsMetricsRequest$ = [
|
|
309
316
|
3,
|
|
310
317
|
n0,
|
|
311
318
|
_LFMR,
|
|
@@ -318,7 +325,7 @@ export var ListFindingsMetricsRequest = [
|
|
|
318
325
|
[4, { [_hQ]: _eD }],
|
|
319
326
|
],
|
|
320
327
|
];
|
|
321
|
-
export var ListFindingsMetricsResponse = [
|
|
328
|
+
export var ListFindingsMetricsResponse$ = [
|
|
322
329
|
3,
|
|
323
330
|
n0,
|
|
324
331
|
_LFMRi,
|
|
@@ -326,7 +333,7 @@ export var ListFindingsMetricsResponse = [
|
|
|
326
333
|
[_fM, _nT],
|
|
327
334
|
[() => FindingsMetricList, 0],
|
|
328
335
|
];
|
|
329
|
-
export var ListScansRequest = [
|
|
336
|
+
export var ListScansRequest$ = [
|
|
330
337
|
3,
|
|
331
338
|
n0,
|
|
332
339
|
_LSR,
|
|
@@ -337,10 +344,10 @@ export var ListScansRequest = [
|
|
|
337
344
|
[1, { [_hQ]: _mR }],
|
|
338
345
|
],
|
|
339
346
|
];
|
|
340
|
-
export var ListScansResponse = [3, n0, _LSRi, 0, [_su, _nT], [() => ScanSummaries, 0]];
|
|
341
|
-
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
|
|
342
|
-
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
|
|
343
|
-
export var MetricsSummary = [
|
|
347
|
+
export var ListScansResponse$ = [3, n0, _LSRi, 0, [_su, _nT], [() => ScanSummaries, 0]];
|
|
348
|
+
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
|
|
349
|
+
export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
|
|
350
|
+
export var MetricsSummary$ = [
|
|
344
351
|
3,
|
|
345
352
|
n0,
|
|
346
353
|
_MS,
|
|
@@ -348,23 +355,23 @@ export var MetricsSummary = [
|
|
|
348
355
|
[_d, _oF, _cWMF, _sWMOF, _sWMOCF],
|
|
349
356
|
[
|
|
350
357
|
4,
|
|
351
|
-
() => FindingMetricsValuePerSeverity
|
|
358
|
+
() => FindingMetricsValuePerSeverity$,
|
|
352
359
|
() => CategoriesWithMostFindings,
|
|
353
360
|
() => ScansWithMostOpenFindings,
|
|
354
361
|
() => ScansWithMostOpenCriticalFindings,
|
|
355
362
|
],
|
|
356
363
|
];
|
|
357
|
-
export var Recommendation = [3, n0, _R, 0, [_te, _u], [0, 0]];
|
|
358
|
-
export var Remediation = [
|
|
364
|
+
export var Recommendation$ = [3, n0, _R, 0, [_te, _u], [0, 0]];
|
|
365
|
+
export var Remediation$ = [
|
|
359
366
|
3,
|
|
360
367
|
n0,
|
|
361
368
|
_Re,
|
|
362
369
|
0,
|
|
363
370
|
[_rec, _sF],
|
|
364
|
-
[() => Recommendation
|
|
371
|
+
[() => Recommendation$, () => SuggestedFixes],
|
|
365
372
|
];
|
|
366
|
-
export var Resource = [3, n0, _Res, 0, [_i, _sRI], [0, 0]];
|
|
367
|
-
export var ResourceNotFoundException = [
|
|
373
|
+
export var Resource$ = [3, n0, _Res, 0, [_i, _sRI], [0, 0]];
|
|
374
|
+
export var ResourceNotFoundException$ = [
|
|
368
375
|
-3,
|
|
369
376
|
n0,
|
|
370
377
|
_RNFE,
|
|
@@ -372,13 +379,13 @@ export var ResourceNotFoundException = [
|
|
|
372
379
|
[_eC, _m, _rI, _rT],
|
|
373
380
|
[0, 0, 0, 0],
|
|
374
381
|
];
|
|
375
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
376
|
-
export var ScanNameWithFindingNum = [3, n0, _SNWFN, 0, [_sN, _fN], [0, 1]];
|
|
377
|
-
export var ScanSummary = [3, n0, _SS, 0, [_sS, _cA, _uA, _sN, _rIu, _sNA], [0, 4, 4, 0, 0, 0]];
|
|
378
|
-
export var SuggestedFix = [3, n0, _SF, 0, [_de, _cod], [0, 0]];
|
|
379
|
-
export var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
380
|
-
export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
381
|
-
export var ThrottlingException = [
|
|
382
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
383
|
+
export var ScanNameWithFindingNum$ = [3, n0, _SNWFN, 0, [_sN, _fN], [0, 1]];
|
|
384
|
+
export var ScanSummary$ = [3, n0, _SS, 0, [_sS, _cA, _uA, _sN, _rIu, _sNA], [0, 4, 4, 0, 0, 0]];
|
|
385
|
+
export var SuggestedFix$ = [3, n0, _SF, 0, [_de, _cod], [0, 0]];
|
|
386
|
+
export var TagResourceRequest$ = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
387
|
+
export var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
|
|
388
|
+
export var ThrottlingException$ = [
|
|
382
389
|
-3,
|
|
383
390
|
n0,
|
|
384
391
|
_TE,
|
|
@@ -386,8 +393,8 @@ export var ThrottlingException = [
|
|
|
386
393
|
[_eC, _m, _sC, _qC],
|
|
387
394
|
[0, 0, 0, 0],
|
|
388
395
|
];
|
|
389
|
-
TypeRegistry.for(n0).registerError(ThrottlingException
|
|
390
|
-
export var UntagResourceRequest = [
|
|
396
|
+
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
397
|
+
export var UntagResourceRequest$ = [
|
|
391
398
|
3,
|
|
392
399
|
n0,
|
|
393
400
|
_URR,
|
|
@@ -398,24 +405,24 @@ export var UntagResourceRequest = [
|
|
|
398
405
|
[64 | 0, { [_hQ]: _tK }],
|
|
399
406
|
],
|
|
400
407
|
];
|
|
401
|
-
export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
402
|
-
export var UpdateAccountConfigurationRequest = [
|
|
408
|
+
export var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];
|
|
409
|
+
export var UpdateAccountConfigurationRequest$ = [
|
|
403
410
|
3,
|
|
404
411
|
n0,
|
|
405
412
|
_UACR,
|
|
406
413
|
0,
|
|
407
414
|
[_eCn],
|
|
408
|
-
[() => EncryptionConfig],
|
|
415
|
+
[() => EncryptionConfig$],
|
|
409
416
|
];
|
|
410
|
-
export var UpdateAccountConfigurationResponse = [
|
|
417
|
+
export var UpdateAccountConfigurationResponse$ = [
|
|
411
418
|
3,
|
|
412
419
|
n0,
|
|
413
420
|
_UACRp,
|
|
414
421
|
0,
|
|
415
422
|
[_eCn],
|
|
416
|
-
[() => EncryptionConfig],
|
|
423
|
+
[() => EncryptionConfig$],
|
|
417
424
|
];
|
|
418
|
-
export var ValidationException = [
|
|
425
|
+
export var ValidationException$ = [
|
|
419
426
|
-3,
|
|
420
427
|
n0,
|
|
421
428
|
_VE,
|
|
@@ -423,17 +430,17 @@ export var ValidationException = [
|
|
|
423
430
|
[_eC, _m, _rea, _fL],
|
|
424
431
|
[0, 0, 0, () => ValidationExceptionFieldList],
|
|
425
432
|
];
|
|
426
|
-
TypeRegistry.for(n0).registerError(ValidationException
|
|
427
|
-
export var ValidationExceptionField = [3, n0, _VEF, 0, [_na, _m], [0, 0]];
|
|
428
|
-
export var Vulnerability = [
|
|
433
|
+
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
434
|
+
export var ValidationExceptionField$ = [3, n0, _VEF, 0, [_na, _m], [0, 0]];
|
|
435
|
+
export var Vulnerability$ = [
|
|
429
436
|
3,
|
|
430
437
|
n0,
|
|
431
438
|
_V,
|
|
432
439
|
0,
|
|
433
440
|
[_rU, _rV, _i, _fP, _iC],
|
|
434
|
-
[64 | 0, 64 | 0, 0, () => FilePath
|
|
441
|
+
[64 | 0, 64 | 0, 0, () => FilePath$, 1],
|
|
435
442
|
];
|
|
436
|
-
export var CodeGuruSecurityServiceException = [
|
|
443
|
+
export var CodeGuruSecurityServiceException$ = [
|
|
437
444
|
-3,
|
|
438
445
|
_sm,
|
|
439
446
|
"CodeGuruSecurityServiceException",
|
|
@@ -441,126 +448,126 @@ export var CodeGuruSecurityServiceException = [
|
|
|
441
448
|
[],
|
|
442
449
|
[],
|
|
443
450
|
];
|
|
444
|
-
TypeRegistry.for(_sm).registerError(CodeGuruSecurityServiceException
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
export var ResourceId = [3, n0, _RI, 0, [_cAI], [0]];
|
|
463
|
-
export var BatchGetFindings = [
|
|
451
|
+
TypeRegistry.for(_sm).registerError(CodeGuruSecurityServiceException$, CodeGuruSecurityServiceException);
|
|
452
|
+
var BatchGetFindingsErrors = [1, n0, _BGFEa, 0, () => BatchGetFindingsError$];
|
|
453
|
+
var CategoriesWithMostFindings = [1, n0, _CWMF, 0, () => CategoryWithFindingNum$];
|
|
454
|
+
var CodeSnippet = [1, n0, _CS, 0, () => CodeLine$];
|
|
455
|
+
var DetectorTags = 64 | 0;
|
|
456
|
+
var FindingIdentifiers = [1, n0, _FIi, 0, () => FindingIdentifier$];
|
|
457
|
+
var Findings = [1, n0, _Fi, 0, () => Finding$];
|
|
458
|
+
var FindingsMetricList = [1, n0, _FML, 0, () => AccountFindingsMetric$];
|
|
459
|
+
var ReferenceUrls = 64 | 0;
|
|
460
|
+
var RelatedVulnerabilities = 64 | 0;
|
|
461
|
+
var ScanSummaries = [1, n0, _SSc, 0, () => ScanSummary$];
|
|
462
|
+
var ScansWithMostOpenCriticalFindings = [1, n0, _SWMOCF, 0, () => ScanNameWithFindingNum$];
|
|
463
|
+
var ScansWithMostOpenFindings = [1, n0, _SWMOF, 0, () => ScanNameWithFindingNum$];
|
|
464
|
+
var SuggestedFixes = [1, n0, _SFu, 0, () => SuggestedFix$];
|
|
465
|
+
var TagKeyList = 64 | 0;
|
|
466
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
|
|
467
|
+
var RequestHeaderMap = [2, n0, _RHM, 8, 0, 0];
|
|
468
|
+
var TagMap = 128 | 0;
|
|
469
|
+
export var ResourceId$ = [3, n0, _RI, 0, [_cAI], [0]];
|
|
470
|
+
export var BatchGetFindings$ = [
|
|
464
471
|
9,
|
|
465
472
|
n0,
|
|
466
473
|
_BGF,
|
|
467
474
|
{ [_ht]: ["POST", "/batchGetFindings", 200] },
|
|
468
|
-
() => BatchGetFindingsRequest
|
|
469
|
-
() => BatchGetFindingsResponse
|
|
475
|
+
() => BatchGetFindingsRequest$,
|
|
476
|
+
() => BatchGetFindingsResponse$,
|
|
470
477
|
];
|
|
471
|
-
export var CreateScan = [
|
|
478
|
+
export var CreateScan$ = [
|
|
472
479
|
9,
|
|
473
480
|
n0,
|
|
474
481
|
_CSr,
|
|
475
482
|
{ [_ht]: ["POST", "/scans", 200] },
|
|
476
|
-
() => CreateScanRequest
|
|
477
|
-
() => CreateScanResponse
|
|
483
|
+
() => CreateScanRequest$,
|
|
484
|
+
() => CreateScanResponse$,
|
|
478
485
|
];
|
|
479
|
-
export var CreateUploadUrl = [
|
|
486
|
+
export var CreateUploadUrl$ = [
|
|
480
487
|
9,
|
|
481
488
|
n0,
|
|
482
489
|
_CUU,
|
|
483
490
|
{ [_ht]: ["POST", "/uploadUrl", 200] },
|
|
484
|
-
() => CreateUploadUrlRequest
|
|
485
|
-
() => CreateUploadUrlResponse
|
|
491
|
+
() => CreateUploadUrlRequest$,
|
|
492
|
+
() => CreateUploadUrlResponse$,
|
|
486
493
|
];
|
|
487
|
-
export var GetAccountConfiguration = [
|
|
494
|
+
export var GetAccountConfiguration$ = [
|
|
488
495
|
9,
|
|
489
496
|
n0,
|
|
490
497
|
_GAC,
|
|
491
498
|
{ [_ht]: ["GET", "/accountConfiguration/get", 200] },
|
|
492
|
-
() => GetAccountConfigurationRequest
|
|
493
|
-
() => GetAccountConfigurationResponse
|
|
499
|
+
() => GetAccountConfigurationRequest$,
|
|
500
|
+
() => GetAccountConfigurationResponse$,
|
|
494
501
|
];
|
|
495
|
-
export var GetFindings = [
|
|
502
|
+
export var GetFindings$ = [
|
|
496
503
|
9,
|
|
497
504
|
n0,
|
|
498
505
|
_GF,
|
|
499
506
|
{ [_ht]: ["GET", "/findings/{scanName}", 200] },
|
|
500
|
-
() => GetFindingsRequest
|
|
501
|
-
() => GetFindingsResponse
|
|
507
|
+
() => GetFindingsRequest$,
|
|
508
|
+
() => GetFindingsResponse$,
|
|
502
509
|
];
|
|
503
|
-
export var GetMetricsSummary = [
|
|
510
|
+
export var GetMetricsSummary$ = [
|
|
504
511
|
9,
|
|
505
512
|
n0,
|
|
506
513
|
_GMS,
|
|
507
514
|
{ [_ht]: ["GET", "/metrics/summary", 200] },
|
|
508
|
-
() => GetMetricsSummaryRequest
|
|
509
|
-
() => GetMetricsSummaryResponse
|
|
515
|
+
() => GetMetricsSummaryRequest$,
|
|
516
|
+
() => GetMetricsSummaryResponse$,
|
|
510
517
|
];
|
|
511
|
-
export var GetScan = [
|
|
518
|
+
export var GetScan$ = [
|
|
512
519
|
9,
|
|
513
520
|
n0,
|
|
514
521
|
_GS,
|
|
515
522
|
{ [_ht]: ["GET", "/scans/{scanName}", 200] },
|
|
516
|
-
() => GetScanRequest
|
|
517
|
-
() => GetScanResponse
|
|
523
|
+
() => GetScanRequest$,
|
|
524
|
+
() => GetScanResponse$,
|
|
518
525
|
];
|
|
519
|
-
export var ListFindingsMetrics = [
|
|
526
|
+
export var ListFindingsMetrics$ = [
|
|
520
527
|
9,
|
|
521
528
|
n0,
|
|
522
529
|
_LFM,
|
|
523
530
|
{ [_ht]: ["GET", "/metrics/findings", 200] },
|
|
524
|
-
() => ListFindingsMetricsRequest
|
|
525
|
-
() => ListFindingsMetricsResponse
|
|
531
|
+
() => ListFindingsMetricsRequest$,
|
|
532
|
+
() => ListFindingsMetricsResponse$,
|
|
526
533
|
];
|
|
527
|
-
export var ListScans = [
|
|
534
|
+
export var ListScans$ = [
|
|
528
535
|
9,
|
|
529
536
|
n0,
|
|
530
537
|
_LS,
|
|
531
538
|
{ [_ht]: ["GET", "/scans", 200] },
|
|
532
|
-
() => ListScansRequest
|
|
533
|
-
() => ListScansResponse
|
|
539
|
+
() => ListScansRequest$,
|
|
540
|
+
() => ListScansResponse$,
|
|
534
541
|
];
|
|
535
|
-
export var ListTagsForResource = [
|
|
542
|
+
export var ListTagsForResource$ = [
|
|
536
543
|
9,
|
|
537
544
|
n0,
|
|
538
545
|
_LTFR,
|
|
539
546
|
{ [_ht]: ["GET", "/tags/{resourceArn}", 200] },
|
|
540
|
-
() => ListTagsForResourceRequest
|
|
541
|
-
() => ListTagsForResourceResponse
|
|
547
|
+
() => ListTagsForResourceRequest$,
|
|
548
|
+
() => ListTagsForResourceResponse$,
|
|
542
549
|
];
|
|
543
|
-
export var TagResource = [
|
|
550
|
+
export var TagResource$ = [
|
|
544
551
|
9,
|
|
545
552
|
n0,
|
|
546
553
|
_TR,
|
|
547
554
|
{ [_ht]: ["POST", "/tags/{resourceArn}", 204] },
|
|
548
|
-
() => TagResourceRequest
|
|
549
|
-
() => TagResourceResponse
|
|
555
|
+
() => TagResourceRequest$,
|
|
556
|
+
() => TagResourceResponse$,
|
|
550
557
|
];
|
|
551
|
-
export var UntagResource = [
|
|
558
|
+
export var UntagResource$ = [
|
|
552
559
|
9,
|
|
553
560
|
n0,
|
|
554
561
|
_UR,
|
|
555
562
|
{ [_ht]: ["DELETE", "/tags/{resourceArn}", 204] },
|
|
556
|
-
() => UntagResourceRequest
|
|
557
|
-
() => UntagResourceResponse
|
|
563
|
+
() => UntagResourceRequest$,
|
|
564
|
+
() => UntagResourceResponse$,
|
|
558
565
|
];
|
|
559
|
-
export var UpdateAccountConfiguration = [
|
|
566
|
+
export var UpdateAccountConfiguration$ = [
|
|
560
567
|
9,
|
|
561
568
|
n0,
|
|
562
569
|
_UAC,
|
|
563
570
|
{ [_ht]: ["PUT", "/updateAccountConfiguration", 200] },
|
|
564
|
-
() => UpdateAccountConfigurationRequest
|
|
565
|
-
() => UpdateAccountConfigurationResponse
|
|
571
|
+
() => UpdateAccountConfigurationRequest$,
|
|
572
|
+
() => UpdateAccountConfigurationResponse$,
|
|
566
573
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput } from "./commands/BatchGetFindingsCommand";
|
|
11
11
|
import { CreateScanCommandInput, CreateScanCommandOutput } from "./commands/CreateScanCommand";
|
|
@@ -154,15 +154,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
154
154
|
* Optional extensions
|
|
155
155
|
*/
|
|
156
156
|
extensions?: RuntimeExtension[];
|
|
157
|
-
/**
|
|
158
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
159
|
-
* may be overridden. A default will always be set by the client.
|
|
160
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
161
|
-
* the client.
|
|
162
|
-
* @alpha
|
|
163
|
-
*
|
|
164
|
-
*/
|
|
165
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
166
157
|
/**
|
|
167
158
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
168
159
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { CodeGuruSecurityExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
12
13
|
export * from "./pagination";
|
|
13
14
|
export * from "./models/enums";
|
|
14
15
|
export * from "./models/errors";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) =>
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeGuruSecurityHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|