@aws-sdk/client-inspector-scan 3.1148.0 → 3.1150.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 +6 -1
- package/dist-es/models/InspectorScanServiceException.js +1 -0
- package/dist-es/models/errors.js +4 -0
- package/dist-types/models/InspectorScanServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +4 -0
- package/dist-types/ts3.4/models/InspectorScanServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +4 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class InspectorScanServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.inspectorscan#InspectorScanServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, InspectorScanServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class InspectorScanServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends InspectorScanServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.inspectorscan#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccessDeniedException extends InspectorScanServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class InternalServerException extends InspectorScanServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.inspectorscan#InternalServerException";
|
|
154
157
|
name = "InternalServerException";
|
|
155
158
|
$fault = "server";
|
|
156
159
|
$retryable = {};
|
|
@@ -168,6 +171,7 @@ class InternalServerException extends InspectorScanServiceException {
|
|
|
168
171
|
}
|
|
169
172
|
}
|
|
170
173
|
class ThrottlingException extends InspectorScanServiceException {
|
|
174
|
+
static shapeId = "com.amazonaws.inspectorscan#ThrottlingException";
|
|
171
175
|
name = "ThrottlingException";
|
|
172
176
|
$fault = "client";
|
|
173
177
|
$retryable = {
|
|
@@ -185,6 +189,7 @@ class ThrottlingException extends InspectorScanServiceException {
|
|
|
185
189
|
}
|
|
186
190
|
}
|
|
187
191
|
class ValidationException extends InspectorScanServiceException {
|
|
192
|
+
static shapeId = "com.amazonaws.inspectorscan#ValidationException";
|
|
188
193
|
name = "ValidationException";
|
|
189
194
|
$fault = "client";
|
|
190
195
|
reason;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class InspectorScanServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.inspectorscan#InspectorScanServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, InspectorScanServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InspectorScanServiceException as __BaseException } from "./InspectorScanServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.inspectorscan#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class InternalServerException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.inspectorscan#InternalServerException";
|
|
15
17
|
name = "InternalServerException";
|
|
16
18
|
$fault = "server";
|
|
17
19
|
$retryable = {};
|
|
@@ -29,6 +31,7 @@ export class InternalServerException extends __BaseException {
|
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
export class ThrottlingException extends __BaseException {
|
|
34
|
+
static shapeId = "com.amazonaws.inspectorscan#ThrottlingException";
|
|
32
35
|
name = "ThrottlingException";
|
|
33
36
|
$fault = "client";
|
|
34
37
|
$retryable = {
|
|
@@ -46,6 +49,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
46
49
|
}
|
|
47
50
|
}
|
|
48
51
|
export class ValidationException extends __BaseException {
|
|
52
|
+
static shapeId = "com.amazonaws.inspectorscan#ValidationException";
|
|
49
53
|
name = "ValidationException";
|
|
50
54
|
$fault = "client";
|
|
51
55
|
reason;
|
|
@@ -7,6 +7,7 @@ import type { ValidationExceptionField } from "./models_0";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
/**
|
|
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class InternalServerException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "InternalServerException";
|
|
23
25
|
readonly $fault: "server";
|
|
24
26
|
$retryable: {};
|
|
@@ -42,6 +44,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
42
44
|
* @public
|
|
43
45
|
*/
|
|
44
46
|
export declare class ThrottlingException extends __BaseException {
|
|
47
|
+
static readonly shapeId: string;
|
|
45
48
|
readonly name: "ThrottlingException";
|
|
46
49
|
readonly $fault: "client";
|
|
47
50
|
$retryable: {
|
|
@@ -62,6 +65,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
62
65
|
* @public
|
|
63
66
|
*/
|
|
64
67
|
export declare class ValidationException extends __BaseException {
|
|
68
|
+
static readonly shapeId: string;
|
|
65
69
|
readonly name: "ValidationException";
|
|
66
70
|
readonly $fault: "client";
|
|
67
71
|
/**
|
|
@@ -3,11 +3,13 @@ import { InternalServerExceptionReason, ValidationExceptionReason } from "./enum
|
|
|
3
3
|
import { InspectorScanServiceException as __BaseException } from "./InspectorScanServiceException";
|
|
4
4
|
import { ValidationExceptionField } from "./models_0";
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
6
7
|
readonly name: "AccessDeniedException";
|
|
7
8
|
readonly $fault: "client";
|
|
8
9
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class InternalServerException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "InternalServerException";
|
|
12
14
|
readonly $fault: "server";
|
|
13
15
|
$retryable: {};
|
|
@@ -16,6 +18,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
16
18
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
17
19
|
}
|
|
18
20
|
export declare class ThrottlingException extends __BaseException {
|
|
21
|
+
static readonly shapeId: string;
|
|
19
22
|
readonly name: "ThrottlingException";
|
|
20
23
|
readonly $fault: "client";
|
|
21
24
|
$retryable: {
|
|
@@ -25,6 +28,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
25
28
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
26
29
|
}
|
|
27
30
|
export declare class ValidationException extends __BaseException {
|
|
31
|
+
static readonly shapeId: string;
|
|
28
32
|
readonly name: "ValidationException";
|
|
29
33
|
readonly $fault: "client";
|
|
30
34
|
reason: ValidationExceptionReason | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector-scan",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Inspector Scan Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector-scan",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|