@aws-sdk/client-inspector2 3.1148.0 → 3.1149.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1148.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 Inspector2ServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.inspector2#Inspector2ServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, Inspector2ServiceException.prototype);
@@ -139,6 +140,7 @@ class Inspector2ServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends Inspector2ServiceException {
143
+ static shapeId = "com.amazonaws.inspector2#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class AccessDeniedException extends Inspector2ServiceException {
151
153
  }
152
154
  }
153
155
  class InternalServerException extends Inspector2ServiceException {
156
+ static shapeId = "com.amazonaws.inspector2#InternalServerException";
154
157
  name = "InternalServerException";
155
158
  $fault = "server";
156
159
  $retryable = {};
@@ -166,6 +169,7 @@ class InternalServerException extends Inspector2ServiceException {
166
169
  }
167
170
  }
168
171
  class ServiceQuotaExceededException extends Inspector2ServiceException {
172
+ static shapeId = "com.amazonaws.inspector2#ServiceQuotaExceededException";
169
173
  name = "ServiceQuotaExceededException";
170
174
  $fault = "client";
171
175
  resourceId;
@@ -180,6 +184,7 @@ class ServiceQuotaExceededException extends Inspector2ServiceException {
180
184
  }
181
185
  }
182
186
  class ThrottlingException extends Inspector2ServiceException {
187
+ static shapeId = "com.amazonaws.inspector2#ThrottlingException";
183
188
  name = "ThrottlingException";
184
189
  $fault = "client";
185
190
  $retryable = {
@@ -197,6 +202,7 @@ class ThrottlingException extends Inspector2ServiceException {
197
202
  }
198
203
  }
199
204
  class ValidationException extends Inspector2ServiceException {
205
+ static shapeId = "com.amazonaws.inspector2#ValidationException";
200
206
  name = "ValidationException";
201
207
  $fault = "client";
202
208
  reason;
@@ -213,6 +219,7 @@ class ValidationException extends Inspector2ServiceException {
213
219
  }
214
220
  }
215
221
  class BadRequestException extends Inspector2ServiceException {
222
+ static shapeId = "com.amazonaws.inspector2#BadRequestException";
216
223
  name = "BadRequestException";
217
224
  $fault = "client";
218
225
  constructor(opts) {
@@ -225,6 +232,7 @@ class BadRequestException extends Inspector2ServiceException {
225
232
  }
226
233
  }
227
234
  class ConflictException extends Inspector2ServiceException {
235
+ static shapeId = "com.amazonaws.inspector2#ConflictException";
228
236
  name = "ConflictException";
229
237
  $fault = "client";
230
238
  resourceId;
@@ -241,6 +249,7 @@ class ConflictException extends Inspector2ServiceException {
241
249
  }
242
250
  }
243
251
  class ResourceNotFoundException extends Inspector2ServiceException {
252
+ static shapeId = "com.amazonaws.inspector2#ResourceNotFoundException";
244
253
  name = "ResourceNotFoundException";
245
254
  $fault = "client";
246
255
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class Inspector2ServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.inspector2#Inspector2ServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, Inspector2ServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.inspector2#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.inspector2#InternalServerException";
15
17
  name = "InternalServerException";
16
18
  $fault = "server";
17
19
  $retryable = {};
@@ -27,6 +29,7 @@ export class InternalServerException extends __BaseException {
27
29
  }
28
30
  }
29
31
  export class ServiceQuotaExceededException extends __BaseException {
32
+ static shapeId = "com.amazonaws.inspector2#ServiceQuotaExceededException";
30
33
  name = "ServiceQuotaExceededException";
31
34
  $fault = "client";
32
35
  resourceId;
@@ -41,6 +44,7 @@ export class ServiceQuotaExceededException extends __BaseException {
41
44
  }
42
45
  }
43
46
  export class ThrottlingException extends __BaseException {
47
+ static shapeId = "com.amazonaws.inspector2#ThrottlingException";
44
48
  name = "ThrottlingException";
45
49
  $fault = "client";
46
50
  $retryable = {
@@ -58,6 +62,7 @@ export class ThrottlingException extends __BaseException {
58
62
  }
59
63
  }
60
64
  export class ValidationException extends __BaseException {
65
+ static shapeId = "com.amazonaws.inspector2#ValidationException";
61
66
  name = "ValidationException";
62
67
  $fault = "client";
63
68
  reason;
@@ -74,6 +79,7 @@ export class ValidationException extends __BaseException {
74
79
  }
75
80
  }
76
81
  export class BadRequestException extends __BaseException {
82
+ static shapeId = "com.amazonaws.inspector2#BadRequestException";
77
83
  name = "BadRequestException";
78
84
  $fault = "client";
79
85
  constructor(opts) {
@@ -86,6 +92,7 @@ export class BadRequestException extends __BaseException {
86
92
  }
87
93
  }
88
94
  export class ConflictException extends __BaseException {
95
+ static shapeId = "com.amazonaws.inspector2#ConflictException";
89
96
  name = "ConflictException";
90
97
  $fault = "client";
91
98
  resourceId;
@@ -102,6 +109,7 @@ export class ConflictException extends __BaseException {
102
109
  }
103
110
  }
104
111
  export class ResourceNotFoundException extends __BaseException {
112
+ static shapeId = "com.amazonaws.inspector2#ResourceNotFoundException";
105
113
  name = "ResourceNotFoundException";
106
114
  $fault = "client";
107
115
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Inspector2 service.
8
8
  */
9
9
  export declare class Inspector2ServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -9,6 +9,7 @@ import type { ValidationExceptionField } from "./models_0";
9
9
  * @public
10
10
  */
11
11
  export declare class AccessDeniedException extends __BaseException {
12
+ static readonly shapeId: string;
12
13
  readonly name: "AccessDeniedException";
13
14
  readonly $fault: "client";
14
15
  /**
@@ -21,6 +22,7 @@ export declare class AccessDeniedException extends __BaseException {
21
22
  * @public
22
23
  */
23
24
  export declare class InternalServerException extends __BaseException {
25
+ static readonly shapeId: string;
24
26
  readonly name: "InternalServerException";
25
27
  readonly $fault: "server";
26
28
  $retryable: {};
@@ -40,6 +42,7 @@ export declare class InternalServerException extends __BaseException {
40
42
  * @public
41
43
  */
42
44
  export declare class ServiceQuotaExceededException extends __BaseException {
45
+ static readonly shapeId: string;
43
46
  readonly name: "ServiceQuotaExceededException";
44
47
  readonly $fault: "client";
45
48
  /**
@@ -57,6 +60,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
57
60
  * @public
58
61
  */
59
62
  export declare class ThrottlingException extends __BaseException {
63
+ static readonly shapeId: string;
60
64
  readonly name: "ThrottlingException";
61
65
  readonly $fault: "client";
62
66
  $retryable: {
@@ -78,6 +82,7 @@ export declare class ThrottlingException extends __BaseException {
78
82
  * @public
79
83
  */
80
84
  export declare class ValidationException extends __BaseException {
85
+ static readonly shapeId: string;
81
86
  readonly name: "ValidationException";
82
87
  readonly $fault: "client";
83
88
  /**
@@ -100,6 +105,7 @@ export declare class ValidationException extends __BaseException {
100
105
  * @public
101
106
  */
102
107
  export declare class BadRequestException extends __BaseException {
108
+ static readonly shapeId: string;
103
109
  readonly name: "BadRequestException";
104
110
  readonly $fault: "client";
105
111
  /**
@@ -113,6 +119,7 @@ export declare class BadRequestException extends __BaseException {
113
119
  * @public
114
120
  */
115
121
  export declare class ConflictException extends __BaseException {
122
+ static readonly shapeId: string;
116
123
  readonly name: "ConflictException";
117
124
  readonly $fault: "client";
118
125
  /**
@@ -136,6 +143,7 @@ export declare class ConflictException extends __BaseException {
136
143
  * @public
137
144
  */
138
145
  export declare class ResourceNotFoundException extends __BaseException {
146
+ static readonly shapeId: string;
139
147
  readonly name: "ResourceNotFoundException";
140
148
  readonly $fault: "client";
141
149
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class Inspector2ServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,11 +3,13 @@ import { ValidationExceptionReason } from "./enums";
3
3
  import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
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: {};
@@ -15,12 +17,14 @@ export declare class InternalServerException extends __BaseException {
15
17
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
16
18
  }
17
19
  export declare class ServiceQuotaExceededException extends __BaseException {
20
+ static readonly shapeId: string;
18
21
  readonly name: "ServiceQuotaExceededException";
19
22
  readonly $fault: "client";
20
23
  resourceId: string | undefined;
21
24
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
22
25
  }
23
26
  export declare class ThrottlingException extends __BaseException {
27
+ static readonly shapeId: string;
24
28
  readonly name: "ThrottlingException";
25
29
  readonly $fault: "client";
26
30
  $retryable: {
@@ -30,6 +34,7 @@ export declare class ThrottlingException extends __BaseException {
30
34
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
31
35
  }
32
36
  export declare class ValidationException extends __BaseException {
37
+ static readonly shapeId: string;
33
38
  readonly name: "ValidationException";
34
39
  readonly $fault: "client";
35
40
  reason: ValidationExceptionReason | undefined;
@@ -37,11 +42,13 @@ export declare class ValidationException extends __BaseException {
37
42
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
38
43
  }
39
44
  export declare class BadRequestException extends __BaseException {
45
+ static readonly shapeId: string;
40
46
  readonly name: "BadRequestException";
41
47
  readonly $fault: "client";
42
48
  constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
43
49
  }
44
50
  export declare class ConflictException extends __BaseException {
51
+ static readonly shapeId: string;
45
52
  readonly name: "ConflictException";
46
53
  readonly $fault: "client";
47
54
  resourceId: string | undefined;
@@ -49,6 +56,7 @@ export declare class ConflictException extends __BaseException {
49
56
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
50
57
  }
51
58
  export declare class ResourceNotFoundException extends __BaseException {
59
+ static readonly shapeId: string;
52
60
  readonly name: "ResourceNotFoundException";
53
61
  readonly $fault: "client";
54
62
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector2",
3
- "version": "3.1148.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector2",
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.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
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",