@aws-sdk/client-inspector-scan 3.953.0 → 3.955.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -275,6 +275,7 @@ const InternalServerExceptionReason = {
275
275
  const OutputFormat = {
276
276
  CYCLONE_DX_1_5: "CYCLONE_DX_1_5",
277
277
  INSPECTOR: "INSPECTOR",
278
+ INSPECTOR_ALT: "INSPECTOR_ALT",
278
279
  };
279
280
  const ValidationExceptionReason = {
280
281
  CANNOT_PARSE: "CANNOT_PARSE",
package/dist-es/index.js CHANGED
@@ -4,4 +4,5 @@ export * from "./commands";
4
4
  export * from "./schemas/schemas_0";
5
5
  export * from "./models/enums";
6
6
  export * from "./models/errors";
7
+ export * from "./models/models_0";
7
8
  export { InspectorScanServiceException } from "./models/InspectorScanServiceException";
@@ -5,6 +5,7 @@ export const InternalServerExceptionReason = {
5
5
  export const OutputFormat = {
6
6
  CYCLONE_DX_1_5: "CYCLONE_DX_1_5",
7
7
  INSPECTOR: "INSPECTOR",
8
+ INSPECTOR_ALT: "INSPECTOR_ALT",
8
9
  };
9
10
  export const ValidationExceptionReason = {
10
11
  CANNOT_PARSE: "CANNOT_PARSE",
@@ -27,7 +27,7 @@ declare const ScanSbomCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM. You can generate compatible SBOMs for your resources using the <a href="">Amazon Inspector SBOM generator</a>.</p>
30
+ * <p>Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM. You can generate compatible SBOMs for your resources using the <a href="https://docs.aws.amazon.com/inspector/latest/user/sbom-generator.html">Amazon Inspector SBOM generator</a>.</p> <note> <p> The output of this action reports NVD and CVSS scores when NVD and CVSS scores are available. Because the output reports both scores, you might notice a discrepency between them. However, you can triage the severity of either score depending on the vendor of your choosing. </p> </note>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -38,7 +38,7 @@ declare const ScanSbomCommand_base: {
38
38
  * const client = new InspectorScanClient(config);
39
39
  * const input = { // ScanSbomRequest
40
40
  * sbom: "DOCUMENT_VALUE", // required
41
- * outputFormat: "CYCLONE_DX_1_5" || "INSPECTOR",
41
+ * outputFormat: "CYCLONE_DX_1_5" || "INSPECTOR" || "INSPECTOR_ALT",
42
42
  * };
43
43
  * const command = new ScanSbomCommand(input);
44
44
  * const response = await client.send(command);
@@ -55,18 +55,13 @@ declare const ScanSbomCommand_base: {
55
55
  * @see {@link InspectorScanClientResolvedConfig | config} for InspectorScanClient's `config` shape.
56
56
  *
57
57
  * @throws {@link AccessDeniedException} (client fault)
58
- * <p>You do not have sufficient access to perform this action.
59
- * </p>
58
+ * <p>You do not have sufficient access to perform this action. </p>
60
59
  *
61
60
  * @throws {@link InternalServerException} (server fault)
62
- * <p>The request processing has failed because of an unknown error, exception or failure.
63
- *
64
- * </p>
61
+ * <p>The request processing has failed because of an unknown error, exception or failure. </p>
65
62
  *
66
63
  * @throws {@link ThrottlingException} (client fault)
67
- * <p>The request was denied due to request throttling.
68
- *
69
- * </p>
64
+ * <p>The request was denied due to request throttling. </p>
70
65
  *
71
66
  * @throws {@link ValidationException} (client fault)
72
67
  * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
@@ -12,5 +12,5 @@ export * from "./commands";
12
12
  export * from "./schemas/schemas_0";
13
13
  export * from "./models/enums";
14
14
  export * from "./models/errors";
15
- export type * from "./models/models_0";
15
+ export * from "./models/models_0";
16
16
  export { InspectorScanServiceException } from "./models/InspectorScanServiceException";
@@ -17,6 +17,7 @@ export type InternalServerExceptionReason = (typeof InternalServerExceptionReaso
17
17
  export declare const OutputFormat: {
18
18
  readonly CYCLONE_DX_1_5: "CYCLONE_DX_1_5";
19
19
  readonly INSPECTOR: "INSPECTOR";
20
+ readonly INSPECTOR_ALT: "INSPECTOR_ALT";
20
21
  };
21
22
  /**
22
23
  * @public
@@ -3,8 +3,7 @@ import { InternalServerExceptionReason, ValidationExceptionReason } from "./enum
3
3
  import { InspectorScanServiceException as __BaseException } from "./InspectorScanServiceException";
4
4
  import { ValidationExceptionField } from "./models_0";
5
5
  /**
6
- * <p>You do not have sufficient access to perform this action.
7
- * </p>
6
+ * <p>You do not have sufficient access to perform this action. </p>
8
7
  * @public
9
8
  */
10
9
  export declare class AccessDeniedException extends __BaseException {
@@ -16,9 +15,7 @@ export declare class AccessDeniedException extends __BaseException {
16
15
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
16
  }
18
17
  /**
19
- * <p>The request processing has failed because of an unknown error, exception or failure.
20
- *
21
- * </p>
18
+ * <p>The request processing has failed because of an unknown error, exception or failure. </p>
22
19
  * @public
23
20
  */
24
21
  export declare class InternalServerException extends __BaseException {
@@ -41,9 +38,7 @@ export declare class InternalServerException extends __BaseException {
41
38
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
42
39
  }
43
40
  /**
44
- * <p>The request was denied due to request throttling.
45
- *
46
- * </p>
41
+ * <p>The request was denied due to request throttling. </p>
47
42
  * @public
48
43
  */
49
44
  export declare class ThrottlingException extends __BaseException {
@@ -5,7 +5,7 @@ import { OutputFormat } from "./enums";
5
5
  */
6
6
  export interface ScanSbomRequest {
7
7
  /**
8
- * <p>The JSON file for the SBOM you want to scan. The SBOM must be in CycloneDX 1.5 format.</p>
8
+ * <p>The JSON file for the SBOM you want to scan. The SBOM must be in CycloneDX 1.5 format. This format limits you to passing 2000 components before throwing a <code>ValidException</code> error.</p>
9
9
  * @public
10
10
  */
11
11
  sbom: __DocumentType | undefined;
@@ -26,21 +26,17 @@ export interface ScanSbomResponse {
26
26
  sbom?: __DocumentType | undefined;
27
27
  }
28
28
  /**
29
- * <p>The request has failed validation due to missing required fields or having invalid inputs.
30
- * </p>
29
+ * <p>The request has failed validation due to missing required fields or having invalid inputs. </p>
31
30
  * @public
32
31
  */
33
32
  export interface ValidationExceptionField {
34
33
  /**
35
- * <p>The name of the validation exception.
36
- *
37
- * </p>
34
+ * <p>The name of the validation exception. </p>
38
35
  * @public
39
36
  */
40
37
  name: string | undefined;
41
38
  /**
42
- * <p>The validation exception message.
43
- * </p>
39
+ * <p>The validation exception message. </p>
44
40
  * @public
45
41
  */
46
42
  message: string | undefined;
@@ -7,6 +7,7 @@ export type InternalServerExceptionReason =
7
7
  export declare const OutputFormat: {
8
8
  readonly CYCLONE_DX_1_5: "CYCLONE_DX_1_5";
9
9
  readonly INSPECTOR: "INSPECTOR";
10
+ readonly INSPECTOR_ALT: "INSPECTOR_ALT";
10
11
  };
11
12
  export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
12
13
  export declare const ValidationExceptionReason: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector-scan",
3
3
  "description": "AWS SDK for JavaScript Inspector Scan Client for Node.js, Browser and React Native",
4
- "version": "3.953.0",
4
+ "version": "3.955.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-inspector-scan",
@@ -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.953.0",
25
- "@aws-sdk/credential-provider-node": "3.953.0",
24
+ "@aws-sdk/core": "3.954.0",
25
+ "@aws-sdk/credential-provider-node": "3.955.0",
26
26
  "@aws-sdk/middleware-host-header": "3.953.0",
27
27
  "@aws-sdk/middleware-logger": "3.953.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
- "@aws-sdk/middleware-user-agent": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.954.0",
30
30
  "@aws-sdk/region-config-resolver": "3.953.0",
31
31
  "@aws-sdk/types": "3.953.0",
32
32
  "@aws-sdk/util-endpoints": "3.953.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.953.0",
34
- "@aws-sdk/util-user-agent-node": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.954.0",
35
35
  "@smithy/config-resolver": "^4.4.4",
36
36
  "@smithy/core": "^3.19.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.7",
38
38
  "@smithy/hash-node": "^4.2.6",
39
39
  "@smithy/invalid-dependency": "^4.2.6",
40
40
  "@smithy/middleware-content-length": "^4.2.6",
41
- "@smithy/middleware-endpoint": "^4.3.15",
42
- "@smithy/middleware-retry": "^4.4.15",
41
+ "@smithy/middleware-endpoint": "^4.4.0",
42
+ "@smithy/middleware-retry": "^4.4.16",
43
43
  "@smithy/middleware-serde": "^4.2.7",
44
44
  "@smithy/middleware-stack": "^4.2.6",
45
45
  "@smithy/node-config-provider": "^4.3.6",
46
46
  "@smithy/node-http-handler": "^4.4.6",
47
47
  "@smithy/protocol-http": "^5.3.6",
48
- "@smithy/smithy-client": "^4.10.0",
48
+ "@smithy/smithy-client": "^4.10.1",
49
49
  "@smithy/types": "^4.10.0",
50
50
  "@smithy/url-parser": "^4.2.6",
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.14",
55
- "@smithy/util-defaults-mode-node": "^4.2.17",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.15",
55
+ "@smithy/util-defaults-mode-node": "^4.2.18",
56
56
  "@smithy/util-endpoints": "^3.2.6",
57
57
  "@smithy/util-middleware": "^4.2.6",
58
58
  "@smithy/util-retry": "^4.2.6",