@aws-sdk/client-codeguru-security 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.
@@ -129,7 +129,7 @@ const _na = "name";
129
129
  const _oF = "openFindings";
130
130
  const _p = "path";
131
131
  const _qC = "quotaCode";
132
- const _r = "resource";
132
+ const _r = "reason";
133
133
  const _rA = "resourceArn";
134
134
  const _rH = "requestHeaders";
135
135
  const _rI = "resourceId";
@@ -138,10 +138,10 @@ const _rIul = "ruleId";
138
138
  const _rT = "resourceType";
139
139
  const _rU = "referenceUrls";
140
140
  const _rV = "relatedVulnerabilities";
141
- const _re = "remediation";
142
- const _rea = "reason";
141
+ const _re = "resource";
143
142
  const _rec = "recommendation";
144
- const _s = "status";
143
+ const _rem = "remediation";
144
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codegurusecurity";
145
145
  const _sC = "serviceCode";
146
146
  const _sD = "startDate";
147
147
  const _sF = "suggestedFixes";
@@ -154,9 +154,9 @@ const _sT = "scanType";
154
154
  const _sU = "s3Url";
155
155
  const _sWMOCF = "scansWithMostOpenCriticalFindings";
156
156
  const _sWMOF = "scansWithMostOpenFindings";
157
- const _se = "severity";
158
- const _ser = "server";
159
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.codegurusecurity";
157
+ const _se = "server";
158
+ const _sev = "severity";
159
+ const _st = "status";
160
160
  const _su = "summaries";
161
161
  const _t = "tags";
162
162
  const _tK = "tagKeys";
@@ -170,13 +170,51 @@ const n0 = "com.amazonaws.codegurusecurity";
170
170
  import { TypeRegistry } from "@smithy/core/schema";
171
171
  import { CodeGuruSecurityServiceException } from "../models/CodeGuruSecurityServiceException";
172
172
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
173
- var S3Url = [0, n0, _SU, 8, 0];
173
+ const _s_registry = TypeRegistry.for(_s);
174
+ export var CodeGuruSecurityServiceException$ = [-3, _s, "CodeGuruSecurityServiceException", 0, [], []];
175
+ _s_registry.registerError(CodeGuruSecurityServiceException$, CodeGuruSecurityServiceException);
176
+ const n0_registry = TypeRegistry.for(n0);
174
177
  export var AccessDeniedException$ = [-3, n0, _ADE,
175
178
  { [_e]: _c, [_hE]: 403 },
176
179
  [_eC, _m, _rI, _rT],
177
180
  [0, 0, 0, 0], 2
178
181
  ];
179
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
182
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
183
+ export var ConflictException$ = [-3, n0, _CE,
184
+ { [_e]: _c, [_hE]: 409 },
185
+ [_eC, _m, _rI, _rT],
186
+ [0, 0, 0, 0], 4
187
+ ];
188
+ n0_registry.registerError(ConflictException$, ConflictException);
189
+ export var InternalServerException$ = [-3, n0, _ISE,
190
+ { [_e]: _se, [_hE]: 500 },
191
+ [_e, _m],
192
+ [0, 0]
193
+ ];
194
+ n0_registry.registerError(InternalServerException$, InternalServerException);
195
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
196
+ { [_e]: _c, [_hE]: 404 },
197
+ [_eC, _m, _rI, _rT],
198
+ [0, 0, 0, 0], 4
199
+ ];
200
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
201
+ export var ThrottlingException$ = [-3, n0, _TE,
202
+ { [_e]: _c, [_hE]: 429 },
203
+ [_eC, _m, _sC, _qC],
204
+ [0, 0, 0, 0], 2
205
+ ];
206
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
207
+ export var ValidationException$ = [-3, n0, _VE,
208
+ { [_e]: _c, [_hE]: 400 },
209
+ [_eC, _m, _r, _fL],
210
+ [0, 0, 0, () => ValidationExceptionFieldList], 3
211
+ ];
212
+ n0_registry.registerError(ValidationException$, ValidationException);
213
+ export const errorTypeRegistries = [
214
+ _s_registry,
215
+ n0_registry,
216
+ ];
217
+ var S3Url = [0, n0, _SU, 8, 0];
180
218
  export var AccountFindingsMetric$ = [3, n0, _AFM,
181
219
  0,
182
220
  [_d, _nF, _cF, _oF, _mTTC],
@@ -207,12 +245,6 @@ export var CodeLine$ = [3, n0, _CL,
207
245
  [_n, _co],
208
246
  [1, 0]
209
247
  ];
210
- export var ConflictException$ = [-3, n0, _CE,
211
- { [_e]: _c, [_hE]: 409 },
212
- [_eC, _m, _rI, _rT],
213
- [0, 0, 0, 0], 4
214
- ];
215
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
216
248
  export var CreateScanRequest$ = [3, n0, _CSR,
217
249
  0,
218
250
  [_rI, _sN, _cT, _sT, _aT, _t],
@@ -245,7 +277,7 @@ export var FilePath$ = [3, n0, _FP,
245
277
  ];
246
278
  export var Finding$ = [3, n0, _F,
247
279
  0,
248
- [_cA, _de, _gI, _i, _uA, _ty, _s, _r, _v, _se, _re, _ti, _dT, _dI, _dN, _rIul],
280
+ [_cA, _de, _gI, _i, _uA, _ty, _st, _re, _v, _sev, _rem, _ti, _dT, _dI, _dN, _rIul],
249
281
  [4, 0, 0, 0, 4, 0, 0, () => Resource$, () => Vulnerability$, 0, () => Remediation$, 0, 64 | 0, 0, 0, 0]
250
282
  ];
251
283
  export var FindingIdentifier$ = [3, n0, _FI,
@@ -270,8 +302,8 @@ export var GetAccountConfigurationResponse$ = [3, n0, _GACRe,
270
302
  ];
271
303
  export var GetFindingsRequest$ = [3, n0, _GFR,
272
304
  0,
273
- [_sN, _nT, _mR, _s],
274
- [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _s }]], 1
305
+ [_sN, _nT, _mR, _st],
306
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _st }]], 1
275
307
  ];
276
308
  export var GetFindingsResponse$ = [3, n0, _GFRe,
277
309
  0,
@@ -298,12 +330,6 @@ export var GetScanResponse$ = [3, n0, _GSRe,
298
330
  [_sN, _rIu, _sS, _cA, _aT, _uA, _nOR, _sNA, _eM],
299
331
  [0, 0, 0, 4, 0, 4, 1, 0, 0], 5
300
332
  ];
301
- export var InternalServerException$ = [-3, n0, _ISE,
302
- { [_e]: _ser, [_hE]: 500 },
303
- [_e, _m],
304
- [0, 0]
305
- ];
306
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
307
333
  export var ListFindingsMetricsRequest$ = [3, n0, _LFMR,
308
334
  0,
309
335
  [_sD, _eD, _nT, _mR],
@@ -354,12 +380,6 @@ export var Resource$ = [3, n0, _Res,
354
380
  [_i, _sRI],
355
381
  [0, 0]
356
382
  ];
357
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
358
- { [_e]: _c, [_hE]: 404 },
359
- [_eC, _m, _rI, _rT],
360
- [0, 0, 0, 0], 4
361
- ];
362
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
363
383
  export var ScanNameWithFindingNum$ = [3, n0, _SNWFN,
364
384
  0,
365
385
  [_sN, _fN],
@@ -385,12 +405,6 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
385
405
  [],
386
406
  []
387
407
  ];
388
- export var ThrottlingException$ = [-3, n0, _TE,
389
- { [_e]: _c, [_hE]: 429 },
390
- [_eC, _m, _sC, _qC],
391
- [0, 0, 0, 0], 2
392
- ];
393
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
394
408
  export var UntagResourceRequest$ = [3, n0, _URR,
395
409
  0,
396
410
  [_rA, _tK],
@@ -411,12 +425,6 @@ export var UpdateAccountConfigurationResponse$ = [3, n0, _UACRp,
411
425
  [_eCn],
412
426
  [() => EncryptionConfig$], 1
413
427
  ];
414
- export var ValidationException$ = [-3, n0, _VE,
415
- { [_e]: _c, [_hE]: 400 },
416
- [_eC, _m, _rea, _fL],
417
- [0, 0, 0, () => ValidationExceptionFieldList], 3
418
- ];
419
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
420
428
  export var ValidationExceptionField$ = [3, n0, _VEF,
421
429
  0,
422
430
  [_na, _m],
@@ -427,8 +435,6 @@ export var Vulnerability$ = [3, n0, _V,
427
435
  [_rU, _rV, _i, _fP, _iC],
428
436
  [64 | 0, 64 | 0, 0, () => FilePath$, 1]
429
437
  ];
430
- export var CodeGuruSecurityServiceException$ = [-3, _sm, "CodeGuruSecurityServiceException", 0, [], []];
431
- TypeRegistry.for(_sm).registerError(CodeGuruSecurityServiceException$, CodeGuruSecurityServiceException);
432
438
  var BatchGetFindingsErrors = [1, n0, _BGFEa,
433
439
  0, () => BatchGetFindingsError$
434
440
  ];
@@ -1,12 +1,24 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var CodeGuruSecurityServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ThrottlingException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
3
16
  export declare var AccountFindingsMetric$: StaticStructureSchema;
4
17
  export declare var BatchGetFindingsError$: StaticStructureSchema;
5
18
  export declare var BatchGetFindingsRequest$: StaticStructureSchema;
6
19
  export declare var BatchGetFindingsResponse$: StaticStructureSchema;
7
20
  export declare var CategoryWithFindingNum$: StaticStructureSchema;
8
21
  export declare var CodeLine$: StaticStructureSchema;
9
- export declare var ConflictException$: StaticErrorSchema;
10
22
  export declare var CreateScanRequest$: StaticStructureSchema;
11
23
  export declare var CreateScanResponse$: StaticStructureSchema;
12
24
  export declare var CreateUploadUrlRequest$: StaticStructureSchema;
@@ -24,7 +36,6 @@ export declare var GetMetricsSummaryRequest$: StaticStructureSchema;
24
36
  export declare var GetMetricsSummaryResponse$: StaticStructureSchema;
25
37
  export declare var GetScanRequest$: StaticStructureSchema;
26
38
  export declare var GetScanResponse$: StaticStructureSchema;
27
- export declare var InternalServerException$: StaticErrorSchema;
28
39
  export declare var ListFindingsMetricsRequest$: StaticStructureSchema;
29
40
  export declare var ListFindingsMetricsResponse$: StaticStructureSchema;
30
41
  export declare var ListScansRequest$: StaticStructureSchema;
@@ -35,21 +46,17 @@ export declare var MetricsSummary$: StaticStructureSchema;
35
46
  export declare var Recommendation$: StaticStructureSchema;
36
47
  export declare var Remediation$: StaticStructureSchema;
37
48
  export declare var Resource$: StaticStructureSchema;
38
- export declare var ResourceNotFoundException$: StaticErrorSchema;
39
49
  export declare var ScanNameWithFindingNum$: StaticStructureSchema;
40
50
  export declare var ScanSummary$: StaticStructureSchema;
41
51
  export declare var SuggestedFix$: StaticStructureSchema;
42
52
  export declare var TagResourceRequest$: StaticStructureSchema;
43
53
  export declare var TagResourceResponse$: StaticStructureSchema;
44
- export declare var ThrottlingException$: StaticErrorSchema;
45
54
  export declare var UntagResourceRequest$: StaticStructureSchema;
46
55
  export declare var UntagResourceResponse$: StaticStructureSchema;
47
56
  export declare var UpdateAccountConfigurationRequest$: StaticStructureSchema;
48
57
  export declare var UpdateAccountConfigurationResponse$: StaticStructureSchema;
49
- export declare var ValidationException$: StaticErrorSchema;
50
58
  export declare var ValidationExceptionField$: StaticStructureSchema;
51
59
  export declare var Vulnerability$: StaticStructureSchema;
52
- export declare var CodeGuruSecurityServiceException$: StaticErrorSchema;
53
60
  export declare var ResourceId$: StaticUnionSchema;
54
61
  export declare var BatchGetFindings$: StaticOperationSchema;
55
62
  export declare var CreateScan$: StaticOperationSchema;
@@ -1,17 +1,24 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var CodeGuruSecurityServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ThrottlingException$: StaticErrorSchema;
14
+ export declare var ValidationException$: StaticErrorSchema;
15
+ export declare const errorTypeRegistries: TypeRegistry[];
8
16
  export declare var AccountFindingsMetric$: StaticStructureSchema;
9
17
  export declare var BatchGetFindingsError$: StaticStructureSchema;
10
18
  export declare var BatchGetFindingsRequest$: StaticStructureSchema;
11
19
  export declare var BatchGetFindingsResponse$: StaticStructureSchema;
12
20
  export declare var CategoryWithFindingNum$: StaticStructureSchema;
13
21
  export declare var CodeLine$: StaticStructureSchema;
14
- export declare var ConflictException$: StaticErrorSchema;
15
22
  export declare var CreateScanRequest$: StaticStructureSchema;
16
23
  export declare var CreateScanResponse$: StaticStructureSchema;
17
24
  export declare var CreateUploadUrlRequest$: StaticStructureSchema;
@@ -29,7 +36,6 @@ export declare var GetMetricsSummaryRequest$: StaticStructureSchema;
29
36
  export declare var GetMetricsSummaryResponse$: StaticStructureSchema;
30
37
  export declare var GetScanRequest$: StaticStructureSchema;
31
38
  export declare var GetScanResponse$: StaticStructureSchema;
32
- export declare var InternalServerException$: StaticErrorSchema;
33
39
  export declare var ListFindingsMetricsRequest$: StaticStructureSchema;
34
40
  export declare var ListFindingsMetricsResponse$: StaticStructureSchema;
35
41
  export declare var ListScansRequest$: StaticStructureSchema;
@@ -40,21 +46,17 @@ export declare var MetricsSummary$: StaticStructureSchema;
40
46
  export declare var Recommendation$: StaticStructureSchema;
41
47
  export declare var Remediation$: StaticStructureSchema;
42
48
  export declare var Resource$: StaticStructureSchema;
43
- export declare var ResourceNotFoundException$: StaticErrorSchema;
44
49
  export declare var ScanNameWithFindingNum$: StaticStructureSchema;
45
50
  export declare var ScanSummary$: StaticStructureSchema;
46
51
  export declare var SuggestedFix$: StaticStructureSchema;
47
52
  export declare var TagResourceRequest$: StaticStructureSchema;
48
53
  export declare var TagResourceResponse$: StaticStructureSchema;
49
- export declare var ThrottlingException$: StaticErrorSchema;
50
54
  export declare var UntagResourceRequest$: StaticStructureSchema;
51
55
  export declare var UntagResourceResponse$: StaticStructureSchema;
52
56
  export declare var UpdateAccountConfigurationRequest$: StaticStructureSchema;
53
57
  export declare var UpdateAccountConfigurationResponse$: StaticStructureSchema;
54
- export declare var ValidationException$: StaticErrorSchema;
55
58
  export declare var ValidationExceptionField$: StaticStructureSchema;
56
59
  export declare var Vulnerability$: StaticStructureSchema;
57
- export declare var CodeGuruSecurityServiceException$: StaticErrorSchema;
58
60
  export declare var ResourceId$: StaticUnionSchema;
59
61
  export declare var BatchGetFindings$: StaticOperationSchema;
60
62
  export declare var CreateScan$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguru-security",
3
3
  "description": "AWS SDK for JavaScript Codeguru Security Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codeguru-security",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",