@aws-sdk/client-inspector 3.1147.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.1146.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 InspectorServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.inspector#InspectorServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, InspectorServiceException.prototype);
@@ -139,6 +140,7 @@ class InspectorServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends InspectorServiceException {
143
+ static shapeId = "com.amazonaws.inspector#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  errorCode;
@@ -155,6 +157,7 @@ class AccessDeniedException extends InspectorServiceException {
155
157
  }
156
158
  }
157
159
  class InternalException extends InspectorServiceException {
160
+ static shapeId = "com.amazonaws.inspector#InternalException";
158
161
  name = "InternalException";
159
162
  $fault = "server";
160
163
  canRetry;
@@ -169,6 +172,7 @@ class InternalException extends InspectorServiceException {
169
172
  }
170
173
  }
171
174
  class InvalidInputException extends InspectorServiceException {
175
+ static shapeId = "com.amazonaws.inspector#InvalidInputException";
172
176
  name = "InvalidInputException";
173
177
  $fault = "client";
174
178
  errorCode;
@@ -185,6 +189,7 @@ class InvalidInputException extends InspectorServiceException {
185
189
  }
186
190
  }
187
191
  class NoSuchEntityException extends InspectorServiceException {
192
+ static shapeId = "com.amazonaws.inspector#NoSuchEntityException";
188
193
  name = "NoSuchEntityException";
189
194
  $fault = "client";
190
195
  errorCode;
@@ -201,6 +206,7 @@ class NoSuchEntityException extends InspectorServiceException {
201
206
  }
202
207
  }
203
208
  class ServiceTemporarilyUnavailableException extends InspectorServiceException {
209
+ static shapeId = "com.amazonaws.inspector#ServiceTemporarilyUnavailableException";
204
210
  name = "ServiceTemporarilyUnavailableException";
205
211
  $fault = "server";
206
212
  canRetry;
@@ -215,6 +221,7 @@ class ServiceTemporarilyUnavailableException extends InspectorServiceException {
215
221
  }
216
222
  }
217
223
  class AgentsAlreadyRunningAssessmentException extends InspectorServiceException {
224
+ static shapeId = "com.amazonaws.inspector#AgentsAlreadyRunningAssessmentException";
218
225
  name = "AgentsAlreadyRunningAssessmentException";
219
226
  $fault = "client";
220
227
  agents;
@@ -233,6 +240,7 @@ class AgentsAlreadyRunningAssessmentException extends InspectorServiceException
233
240
  }
234
241
  }
235
242
  class AssessmentRunInProgressException extends InspectorServiceException {
243
+ static shapeId = "com.amazonaws.inspector#AssessmentRunInProgressException";
236
244
  name = "AssessmentRunInProgressException";
237
245
  $fault = "client";
238
246
  assessmentRunArns;
@@ -251,6 +259,7 @@ class AssessmentRunInProgressException extends InspectorServiceException {
251
259
  }
252
260
  }
253
261
  class InvalidCrossAccountRoleException extends InspectorServiceException {
262
+ static shapeId = "com.amazonaws.inspector#InvalidCrossAccountRoleException";
254
263
  name = "InvalidCrossAccountRoleException";
255
264
  $fault = "client";
256
265
  errorCode;
@@ -267,6 +276,7 @@ class InvalidCrossAccountRoleException extends InspectorServiceException {
267
276
  }
268
277
  }
269
278
  class LimitExceededException extends InspectorServiceException {
279
+ static shapeId = "com.amazonaws.inspector#LimitExceededException";
270
280
  name = "LimitExceededException";
271
281
  $fault = "client";
272
282
  errorCode;
@@ -283,6 +293,7 @@ class LimitExceededException extends InspectorServiceException {
283
293
  }
284
294
  }
285
295
  class PreviewGenerationInProgressException extends InspectorServiceException {
296
+ static shapeId = "com.amazonaws.inspector#PreviewGenerationInProgressException";
286
297
  name = "PreviewGenerationInProgressException";
287
298
  $fault = "client";
288
299
  constructor(opts) {
@@ -295,6 +306,7 @@ class PreviewGenerationInProgressException extends InspectorServiceException {
295
306
  }
296
307
  }
297
308
  class UnsupportedFeatureException extends InspectorServiceException {
309
+ static shapeId = "com.amazonaws.inspector#UnsupportedFeatureException";
298
310
  name = "UnsupportedFeatureException";
299
311
  $fault = "client";
300
312
  canRetry;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class InspectorServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.inspector#InspectorServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, InspectorServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.inspector#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  errorCode;
@@ -16,6 +17,7 @@ export class AccessDeniedException extends __BaseException {
16
17
  }
17
18
  }
18
19
  export class InternalException extends __BaseException {
20
+ static shapeId = "com.amazonaws.inspector#InternalException";
19
21
  name = "InternalException";
20
22
  $fault = "server";
21
23
  canRetry;
@@ -30,6 +32,7 @@ export class InternalException extends __BaseException {
30
32
  }
31
33
  }
32
34
  export class InvalidInputException extends __BaseException {
35
+ static shapeId = "com.amazonaws.inspector#InvalidInputException";
33
36
  name = "InvalidInputException";
34
37
  $fault = "client";
35
38
  errorCode;
@@ -46,6 +49,7 @@ export class InvalidInputException extends __BaseException {
46
49
  }
47
50
  }
48
51
  export class NoSuchEntityException extends __BaseException {
52
+ static shapeId = "com.amazonaws.inspector#NoSuchEntityException";
49
53
  name = "NoSuchEntityException";
50
54
  $fault = "client";
51
55
  errorCode;
@@ -62,6 +66,7 @@ export class NoSuchEntityException extends __BaseException {
62
66
  }
63
67
  }
64
68
  export class ServiceTemporarilyUnavailableException extends __BaseException {
69
+ static shapeId = "com.amazonaws.inspector#ServiceTemporarilyUnavailableException";
65
70
  name = "ServiceTemporarilyUnavailableException";
66
71
  $fault = "server";
67
72
  canRetry;
@@ -76,6 +81,7 @@ export class ServiceTemporarilyUnavailableException extends __BaseException {
76
81
  }
77
82
  }
78
83
  export class AgentsAlreadyRunningAssessmentException extends __BaseException {
84
+ static shapeId = "com.amazonaws.inspector#AgentsAlreadyRunningAssessmentException";
79
85
  name = "AgentsAlreadyRunningAssessmentException";
80
86
  $fault = "client";
81
87
  agents;
@@ -94,6 +100,7 @@ export class AgentsAlreadyRunningAssessmentException extends __BaseException {
94
100
  }
95
101
  }
96
102
  export class AssessmentRunInProgressException extends __BaseException {
103
+ static shapeId = "com.amazonaws.inspector#AssessmentRunInProgressException";
97
104
  name = "AssessmentRunInProgressException";
98
105
  $fault = "client";
99
106
  assessmentRunArns;
@@ -112,6 +119,7 @@ export class AssessmentRunInProgressException extends __BaseException {
112
119
  }
113
120
  }
114
121
  export class InvalidCrossAccountRoleException extends __BaseException {
122
+ static shapeId = "com.amazonaws.inspector#InvalidCrossAccountRoleException";
115
123
  name = "InvalidCrossAccountRoleException";
116
124
  $fault = "client";
117
125
  errorCode;
@@ -128,6 +136,7 @@ export class InvalidCrossAccountRoleException extends __BaseException {
128
136
  }
129
137
  }
130
138
  export class LimitExceededException extends __BaseException {
139
+ static shapeId = "com.amazonaws.inspector#LimitExceededException";
131
140
  name = "LimitExceededException";
132
141
  $fault = "client";
133
142
  errorCode;
@@ -144,6 +153,7 @@ export class LimitExceededException extends __BaseException {
144
153
  }
145
154
  }
146
155
  export class PreviewGenerationInProgressException extends __BaseException {
156
+ static shapeId = "com.amazonaws.inspector#PreviewGenerationInProgressException";
147
157
  name = "PreviewGenerationInProgressException";
148
158
  $fault = "client";
149
159
  constructor(opts) {
@@ -156,6 +166,7 @@ export class PreviewGenerationInProgressException extends __BaseException {
156
166
  }
157
167
  }
158
168
  export class UnsupportedFeatureException extends __BaseException {
169
+ static shapeId = "com.amazonaws.inspector#UnsupportedFeatureException";
159
170
  name = "UnsupportedFeatureException";
160
171
  $fault = "client";
161
172
  canRetry;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from Inspector service.
8
8
  */
9
9
  export declare class InspectorServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import type { AgentAlreadyRunningAssessment } 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
  /**
@@ -29,6 +30,7 @@ export declare class AccessDeniedException extends __BaseException {
29
30
  * @public
30
31
  */
31
32
  export declare class InternalException extends __BaseException {
33
+ static readonly shapeId: string;
32
34
  readonly name: "InternalException";
33
35
  readonly $fault: "server";
34
36
  /**
@@ -47,6 +49,7 @@ export declare class InternalException extends __BaseException {
47
49
  * @public
48
50
  */
49
51
  export declare class InvalidInputException extends __BaseException {
52
+ static readonly shapeId: string;
50
53
  readonly name: "InvalidInputException";
51
54
  readonly $fault: "client";
52
55
  /**
@@ -70,6 +73,7 @@ export declare class InvalidInputException extends __BaseException {
70
73
  * @public
71
74
  */
72
75
  export declare class NoSuchEntityException extends __BaseException {
76
+ static readonly shapeId: string;
73
77
  readonly name: "NoSuchEntityException";
74
78
  readonly $fault: "client";
75
79
  /**
@@ -92,6 +96,7 @@ export declare class NoSuchEntityException extends __BaseException {
92
96
  * @public
93
97
  */
94
98
  export declare class ServiceTemporarilyUnavailableException extends __BaseException {
99
+ static readonly shapeId: string;
95
100
  readonly name: "ServiceTemporarilyUnavailableException";
96
101
  readonly $fault: "server";
97
102
  /**
@@ -110,6 +115,7 @@ export declare class ServiceTemporarilyUnavailableException extends __BaseExcept
110
115
  * @public
111
116
  */
112
117
  export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
118
+ static readonly shapeId: string;
113
119
  readonly name: "AgentsAlreadyRunningAssessmentException";
114
120
  readonly $fault: "client";
115
121
  /**
@@ -138,6 +144,7 @@ export declare class AgentsAlreadyRunningAssessmentException extends __BaseExcep
138
144
  * @public
139
145
  */
140
146
  export declare class AssessmentRunInProgressException extends __BaseException {
147
+ static readonly shapeId: string;
141
148
  readonly name: "AssessmentRunInProgressException";
142
149
  readonly $fault: "client";
143
150
  /**
@@ -167,6 +174,7 @@ export declare class AssessmentRunInProgressException extends __BaseException {
167
174
  * @public
168
175
  */
169
176
  export declare class InvalidCrossAccountRoleException extends __BaseException {
177
+ static readonly shapeId: string;
170
178
  readonly name: "InvalidCrossAccountRoleException";
171
179
  readonly $fault: "client";
172
180
  /**
@@ -190,6 +198,7 @@ export declare class InvalidCrossAccountRoleException extends __BaseException {
190
198
  * @public
191
199
  */
192
200
  export declare class LimitExceededException extends __BaseException {
201
+ static readonly shapeId: string;
193
202
  readonly name: "LimitExceededException";
194
203
  readonly $fault: "client";
195
204
  /**
@@ -213,6 +222,7 @@ export declare class LimitExceededException extends __BaseException {
213
222
  * @public
214
223
  */
215
224
  export declare class PreviewGenerationInProgressException extends __BaseException {
225
+ static readonly shapeId: string;
216
226
  readonly name: "PreviewGenerationInProgressException";
217
227
  readonly $fault: "client";
218
228
  /**
@@ -229,6 +239,7 @@ export declare class PreviewGenerationInProgressException extends __BaseExceptio
229
239
  * @public
230
240
  */
231
241
  export declare class UnsupportedFeatureException extends __BaseException {
242
+ static readonly shapeId: string;
232
243
  readonly name: "UnsupportedFeatureException";
233
244
  readonly $fault: "client";
234
245
  canRetry: boolean | undefined;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class InspectorServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -9,6 +9,7 @@ import {
9
9
  import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
10
10
  import { AgentAlreadyRunningAssessment } from "./models_0";
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
  errorCode: AccessDeniedErrorCode | undefined;
@@ -16,12 +17,14 @@ export declare class AccessDeniedException extends __BaseException {
16
17
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
17
18
  }
18
19
  export declare class InternalException extends __BaseException {
20
+ static readonly shapeId: string;
19
21
  readonly name: "InternalException";
20
22
  readonly $fault: "server";
21
23
  canRetry: boolean | undefined;
22
24
  constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
23
25
  }
24
26
  export declare class InvalidInputException extends __BaseException {
27
+ static readonly shapeId: string;
25
28
  readonly name: "InvalidInputException";
26
29
  readonly $fault: "client";
27
30
  errorCode: InvalidInputErrorCode | undefined;
@@ -29,6 +32,7 @@ export declare class InvalidInputException extends __BaseException {
29
32
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
30
33
  }
31
34
  export declare class NoSuchEntityException extends __BaseException {
35
+ static readonly shapeId: string;
32
36
  readonly name: "NoSuchEntityException";
33
37
  readonly $fault: "client";
34
38
  errorCode: NoSuchEntityErrorCode | undefined;
@@ -36,12 +40,14 @@ export declare class NoSuchEntityException extends __BaseException {
36
40
  constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
37
41
  }
38
42
  export declare class ServiceTemporarilyUnavailableException extends __BaseException {
43
+ static readonly shapeId: string;
39
44
  readonly name: "ServiceTemporarilyUnavailableException";
40
45
  readonly $fault: "server";
41
46
  canRetry: boolean | undefined;
42
47
  constructor(opts: __ExceptionOptionType<ServiceTemporarilyUnavailableException, __BaseException>);
43
48
  }
44
49
  export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
50
+ static readonly shapeId: string;
45
51
  readonly name: "AgentsAlreadyRunningAssessmentException";
46
52
  readonly $fault: "client";
47
53
  agents: AgentAlreadyRunningAssessment[] | undefined;
@@ -52,6 +58,7 @@ export declare class AgentsAlreadyRunningAssessmentException extends __BaseExcep
52
58
  );
53
59
  }
54
60
  export declare class AssessmentRunInProgressException extends __BaseException {
61
+ static readonly shapeId: string;
55
62
  readonly name: "AssessmentRunInProgressException";
56
63
  readonly $fault: "client";
57
64
  assessmentRunArns: string[] | undefined;
@@ -60,6 +67,7 @@ export declare class AssessmentRunInProgressException extends __BaseException {
60
67
  constructor(opts: __ExceptionOptionType<AssessmentRunInProgressException, __BaseException>);
61
68
  }
62
69
  export declare class InvalidCrossAccountRoleException extends __BaseException {
70
+ static readonly shapeId: string;
63
71
  readonly name: "InvalidCrossAccountRoleException";
64
72
  readonly $fault: "client";
65
73
  errorCode: InvalidCrossAccountRoleErrorCode | undefined;
@@ -67,6 +75,7 @@ export declare class InvalidCrossAccountRoleException extends __BaseException {
67
75
  constructor(opts: __ExceptionOptionType<InvalidCrossAccountRoleException, __BaseException>);
68
76
  }
69
77
  export declare class LimitExceededException extends __BaseException {
78
+ static readonly shapeId: string;
70
79
  readonly name: "LimitExceededException";
71
80
  readonly $fault: "client";
72
81
  errorCode: LimitExceededErrorCode | undefined;
@@ -74,11 +83,13 @@ export declare class LimitExceededException extends __BaseException {
74
83
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
75
84
  }
76
85
  export declare class PreviewGenerationInProgressException extends __BaseException {
86
+ static readonly shapeId: string;
77
87
  readonly name: "PreviewGenerationInProgressException";
78
88
  readonly $fault: "client";
79
89
  constructor(opts: __ExceptionOptionType<PreviewGenerationInProgressException, __BaseException>);
80
90
  }
81
91
  export declare class UnsupportedFeatureException extends __BaseException {
92
+ static readonly shapeId: string;
82
93
  readonly name: "UnsupportedFeatureException";
83
94
  readonly $fault: "client";
84
95
  canRetry: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Inspector Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector",
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",