@aws-sdk/client-inspector-scan 3.533.0 → 3.535.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.
@@ -10,8 +10,8 @@ export interface InspectorScan {
10
10
  scanSbom(args: ScanSbomCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScanSbomCommandOutput) => void): void;
11
11
  }
12
12
  /**
13
- * @public
14
13
  * <p>Amazon Inspector Scan is a vulnerability discovery service that scans a provided Software Bill of Materials (SBOM) for security vulnerabilities.</p>
14
+ * @public
15
15
  */
16
16
  export declare class InspectorScan extends InspectorScanClient implements InspectorScan {
17
17
  }
@@ -152,8 +152,8 @@ export type InspectorScanClientResolvedConfigType = __SmithyResolvedConfiguratio
152
152
  export interface InspectorScanClientResolvedConfig extends InspectorScanClientResolvedConfigType {
153
153
  }
154
154
  /**
155
- * @public
156
155
  * <p>Amazon Inspector Scan is a vulnerability discovery service that scans a provided Software Bill of Materials (SBOM) for security vulnerabilities.</p>
156
+ * @public
157
157
  */
158
158
  export declare class InspectorScanClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, InspectorScanClientResolvedConfig> {
159
159
  /**
@@ -22,10 +22,10 @@ export interface ScanSbomCommandOutput extends ScanSbomResponse, __MetadataBeare
22
22
  }
23
23
  declare const ScanSbomCommand_base: {
24
24
  new (input: ScanSbomCommandInput): import("@smithy/smithy-client").CommandImpl<ScanSbomCommandInput, ScanSbomCommandOutput, InspectorScanClientResolvedConfig, ScanSbomCommandInput, ScanSbomCommandOutput>;
25
+ new (__0_0: ScanSbomCommandInput): import("@smithy/smithy-client").CommandImpl<ScanSbomCommandInput, ScanSbomCommandOutput, InspectorScanClientResolvedConfig, ScanSbomCommandInput, ScanSbomCommandOutput>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <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
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -71,6 +71,7 @@ declare const ScanSbomCommand_base: {
71
71
  * @throws {@link InspectorScanServiceException}
72
72
  * <p>Base exception class for all service exceptions from InspectorScan service.</p>
73
73
  *
74
+ * @public
74
75
  * @example Sample ScanSbom Call
75
76
  * ```javascript
76
77
  * //
@@ -2,9 +2,9 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { DocumentType as __DocumentType } from "@smithy/types";
3
3
  import { InspectorScanServiceException as __BaseException } from "./InspectorScanServiceException";
4
4
  /**
5
- * @public
6
5
  * <p>You do not have sufficient access to perform this action.
7
6
  * </p>
7
+ * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
10
  readonly name: "AccessDeniedException";
@@ -27,23 +27,23 @@ export declare const InternalServerExceptionReason: {
27
27
  */
28
28
  export type InternalServerExceptionReason = (typeof InternalServerExceptionReason)[keyof typeof InternalServerExceptionReason];
29
29
  /**
30
- * @public
31
30
  * <p>The request processing has failed because of an unknown error, exception or failure.
32
31
  *
33
32
  * </p>
33
+ * @public
34
34
  */
35
35
  export declare class InternalServerException extends __BaseException {
36
36
  readonly name: "InternalServerException";
37
37
  readonly $fault: "server";
38
38
  $retryable: {};
39
39
  /**
40
- * @public
41
40
  * <p>The reason for the validation failure.</p>
41
+ * @public
42
42
  */
43
43
  reason: InternalServerExceptionReason | undefined;
44
44
  /**
45
- * @public
46
45
  * <p>The number of seconds to wait before retrying the request.</p>
46
+ * @public
47
47
  */
48
48
  retryAfterSeconds?: number;
49
49
  /**
@@ -68,13 +68,13 @@ export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
68
68
  */
69
69
  export interface ScanSbomRequest {
70
70
  /**
71
- * @public
72
71
  * <p>The JSON file for the SBOM you want to scan. The SBOM must be in CycloneDX 1.5 format.</p>
72
+ * @public
73
73
  */
74
74
  sbom: __DocumentType | undefined;
75
75
  /**
76
- * @public
77
76
  * <p>The output format for the vulnerability report.</p>
77
+ * @public
78
78
  */
79
79
  outputFormat?: OutputFormat;
80
80
  }
@@ -83,16 +83,16 @@ export interface ScanSbomRequest {
83
83
  */
84
84
  export interface ScanSbomResponse {
85
85
  /**
86
- * @public
87
86
  * <p>The vulnerability report for the scanned SBOM.</p>
87
+ * @public
88
88
  */
89
89
  sbom?: __DocumentType;
90
90
  }
91
91
  /**
92
- * @public
93
92
  * <p>The request was denied due to request throttling.
94
93
  *
95
94
  * </p>
95
+ * @public
96
96
  */
97
97
  export declare class ThrottlingException extends __BaseException {
98
98
  readonly name: "ThrottlingException";
@@ -101,8 +101,8 @@ export declare class ThrottlingException extends __BaseException {
101
101
  throttling: boolean;
102
102
  };
103
103
  /**
104
- * @public
105
104
  * <p>The number of seconds to wait before retrying the request.</p>
105
+ * @public
106
106
  */
107
107
  retryAfterSeconds?: number;
108
108
  /**
@@ -111,22 +111,22 @@ export declare class ThrottlingException extends __BaseException {
111
111
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
112
112
  }
113
113
  /**
114
- * @public
115
114
  * <p>The request has failed validation due to missing required fields or having invalid inputs.
116
115
  * </p>
116
+ * @public
117
117
  */
118
118
  export interface ValidationExceptionField {
119
119
  /**
120
- * @public
121
120
  * <p>The name of the validation exception.
122
121
  *
123
122
  * </p>
123
+ * @public
124
124
  */
125
125
  name: string | undefined;
126
126
  /**
127
- * @public
128
127
  * <p>The validation exception message.
129
128
  * </p>
129
+ * @public
130
130
  */
131
131
  message: string | undefined;
132
132
  }
@@ -146,20 +146,20 @@ export declare const ValidationExceptionReason: {
146
146
  */
147
147
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
148
148
  /**
149
- * @public
150
149
  * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
150
+ * @public
151
151
  */
152
152
  export declare class ValidationException extends __BaseException {
153
153
  readonly name: "ValidationException";
154
154
  readonly $fault: "client";
155
155
  /**
156
- * @public
157
156
  * <p>The reason for the validation failure.</p>
157
+ * @public
158
158
  */
159
159
  reason: ValidationExceptionReason | undefined;
160
160
  /**
161
- * @public
162
161
  * <p>The fields that failed validation.</p>
162
+ * @public
163
163
  */
164
164
  fields?: ValidationExceptionField[];
165
165
  /**
@@ -17,6 +17,15 @@ declare const ScanSbomCommand_base: {
17
17
  ScanSbomCommandInput,
18
18
  ScanSbomCommandOutput
19
19
  >;
20
+ new (
21
+ __0_0: ScanSbomCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ScanSbomCommandInput,
24
+ ScanSbomCommandOutput,
25
+ InspectorScanClientResolvedConfig,
26
+ ScanSbomCommandInput,
27
+ ScanSbomCommandOutput
28
+ >;
20
29
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
21
30
  };
22
31
  export declare class ScanSbomCommand extends ScanSbomCommand_base {}
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.533.0",
4
+ "version": "3.535.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-inspector-scan",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",