@aws-sdk/client-inspector-scan 3.987.0 → 3.989.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var InspectorScanServiceException = require('./models/InspectorScanServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,149 +113,6 @@ class InspectorScanClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class InspectorScanServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, InspectorScanServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends InspectorScanServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class InternalServerException extends InspectorScanServiceException {
133
- name = "InternalServerException";
134
- $fault = "server";
135
- $retryable = {};
136
- reason;
137
- retryAfterSeconds;
138
- constructor(opts) {
139
- super({
140
- name: "InternalServerException",
141
- $fault: "server",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, InternalServerException.prototype);
145
- this.reason = opts.reason;
146
- this.retryAfterSeconds = opts.retryAfterSeconds;
147
- }
148
- }
149
- class ThrottlingException extends InspectorScanServiceException {
150
- name = "ThrottlingException";
151
- $fault = "client";
152
- $retryable = {
153
- throttling: true,
154
- };
155
- retryAfterSeconds;
156
- constructor(opts) {
157
- super({
158
- name: "ThrottlingException",
159
- $fault: "client",
160
- ...opts,
161
- });
162
- Object.setPrototypeOf(this, ThrottlingException.prototype);
163
- this.retryAfterSeconds = opts.retryAfterSeconds;
164
- }
165
- }
166
- class ValidationException extends InspectorScanServiceException {
167
- name = "ValidationException";
168
- $fault = "client";
169
- reason;
170
- fields;
171
- constructor(opts) {
172
- super({
173
- name: "ValidationException",
174
- $fault: "client",
175
- ...opts,
176
- });
177
- Object.setPrototypeOf(this, ValidationException.prototype);
178
- this.reason = opts.reason;
179
- this.fields = opts.fields;
180
- }
181
- }
182
-
183
- const _ADE = "AccessDeniedException";
184
- const _ISE = "InternalServerException";
185
- const _RA = "Retry-After";
186
- const _SS = "ScanSbom";
187
- const _SSR = "ScanSbomRequest";
188
- const _SSRc = "ScanSbomResponse";
189
- const _TE = "ThrottlingException";
190
- const _VE = "ValidationException";
191
- const _VEF = "ValidationExceptionField";
192
- const _VEFa = "ValidationExceptionFields";
193
- const _c = "client";
194
- const _e = "error";
195
- const _f = "fields";
196
- const _h = "http";
197
- const _hE = "httpError";
198
- const _hH = "httpHeader";
199
- const _m = "message";
200
- const _n = "name";
201
- const _oF = "outputFormat";
202
- const _r = "reason";
203
- const _rAS = "retryAfterSeconds";
204
- const _s = "server";
205
- const _sb = "sbom";
206
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.inspectorscan";
207
- const n0 = "com.amazonaws.inspectorscan";
208
- var AccessDeniedException$ = [-3, n0, _ADE,
209
- { [_e]: _c, [_hE]: 403 },
210
- [_m],
211
- [0], 1
212
- ];
213
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
214
- var InternalServerException$ = [-3, n0, _ISE,
215
- { [_e]: _s, [_hE]: 500 },
216
- [_m, _r, _rAS],
217
- [0, 0, [1, { [_hH]: _RA }]], 2
218
- ];
219
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
220
- var ScanSbomRequest$ = [3, n0, _SSR,
221
- 0,
222
- [_sb, _oF],
223
- [15, 0], 1
224
- ];
225
- var ScanSbomResponse$ = [3, n0, _SSRc,
226
- 0,
227
- [_sb],
228
- [15]
229
- ];
230
- var ThrottlingException$ = [-3, n0, _TE,
231
- { [_e]: _c, [_hE]: 429 },
232
- [_m, _rAS],
233
- [0, [1, { [_hH]: _RA }]], 1
234
- ];
235
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
236
- var ValidationException$ = [-3, n0, _VE,
237
- { [_e]: _c, [_hE]: 400 },
238
- [_m, _r, _f],
239
- [0, 0, () => ValidationExceptionFields], 2
240
- ];
241
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
242
- var ValidationExceptionField$ = [3, n0, _VEF,
243
- 0,
244
- [_n, _m],
245
- [0, 0], 2
246
- ];
247
- var InspectorScanServiceException$ = [-3, _sm, "InspectorScanServiceException", 0, [], []];
248
- schema.TypeRegistry.for(_sm).registerError(InspectorScanServiceException$, InspectorScanServiceException);
249
- var ValidationExceptionFields = [1, n0, _VEFa,
250
- 0, () => ValidationExceptionField$
251
- ];
252
- var ScanSbom$ = [9, n0, _SS,
253
- { [_h]: ["POST", "/scan/sbom", 200] }, () => ScanSbomRequest$, () => ScanSbomResponse$
254
- ];
255
-
256
116
  class ScanSbomCommand extends smithyClient.Command
257
117
  .classBuilder()
258
118
  .ep(commonParams)
@@ -261,7 +121,7 @@ class ScanSbomCommand extends smithyClient.Command
261
121
  })
262
122
  .s("InspectorScan", "ScanSbom", {})
263
123
  .n("InspectorScanClient", "ScanSbomCommand")
264
- .sc(ScanSbom$)
124
+ .sc(schemas_0.ScanSbom$)
265
125
  .build() {
266
126
  }
267
127
 
@@ -297,23 +157,25 @@ Object.defineProperty(exports, "__Client", {
297
157
  enumerable: true,
298
158
  get: function () { return smithyClient.Client; }
299
159
  });
300
- exports.AccessDeniedException = AccessDeniedException;
301
- exports.AccessDeniedException$ = AccessDeniedException$;
160
+ Object.defineProperty(exports, "InspectorScanServiceException", {
161
+ enumerable: true,
162
+ get: function () { return InspectorScanServiceException.InspectorScanServiceException; }
163
+ });
302
164
  exports.InspectorScan = InspectorScan;
303
165
  exports.InspectorScanClient = InspectorScanClient;
304
- exports.InspectorScanServiceException = InspectorScanServiceException;
305
- exports.InspectorScanServiceException$ = InspectorScanServiceException$;
306
- exports.InternalServerException = InternalServerException;
307
- exports.InternalServerException$ = InternalServerException$;
308
166
  exports.InternalServerExceptionReason = InternalServerExceptionReason;
309
167
  exports.OutputFormat = OutputFormat;
310
- exports.ScanSbom$ = ScanSbom$;
311
168
  exports.ScanSbomCommand = ScanSbomCommand;
312
- exports.ScanSbomRequest$ = ScanSbomRequest$;
313
- exports.ScanSbomResponse$ = ScanSbomResponse$;
314
- exports.ThrottlingException = ThrottlingException;
315
- exports.ThrottlingException$ = ThrottlingException$;
316
- exports.ValidationException = ValidationException;
317
- exports.ValidationException$ = ValidationException$;
318
- exports.ValidationExceptionField$ = ValidationExceptionField$;
319
169
  exports.ValidationExceptionReason = ValidationExceptionReason;
170
+ Object.keys(schemas_0).forEach(function (k) {
171
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
172
+ enumerable: true,
173
+ get: function () { return schemas_0[k]; }
174
+ });
175
+ });
176
+ Object.keys(errors).forEach(function (k) {
177
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
178
+ enumerable: true,
179
+ get: function () { return errors[k]; }
180
+ });
181
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InspectorScanServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class InspectorScanServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, InspectorScanServiceException.prototype);
10
+ }
11
+ }
12
+ exports.InspectorScanServiceException = InspectorScanServiceException;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const InspectorScanServiceException_1 = require("./InspectorScanServiceException");
5
+ class AccessDeniedException extends InspectorScanServiceException_1.InspectorScanServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ }
16
+ }
17
+ exports.AccessDeniedException = AccessDeniedException;
18
+ class InternalServerException extends InspectorScanServiceException_1.InspectorScanServiceException {
19
+ name = "InternalServerException";
20
+ $fault = "server";
21
+ $retryable = {};
22
+ reason;
23
+ retryAfterSeconds;
24
+ constructor(opts) {
25
+ super({
26
+ name: "InternalServerException",
27
+ $fault: "server",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, InternalServerException.prototype);
31
+ this.reason = opts.reason;
32
+ this.retryAfterSeconds = opts.retryAfterSeconds;
33
+ }
34
+ }
35
+ exports.InternalServerException = InternalServerException;
36
+ class ThrottlingException extends InspectorScanServiceException_1.InspectorScanServiceException {
37
+ name = "ThrottlingException";
38
+ $fault = "client";
39
+ $retryable = {
40
+ throttling: true,
41
+ };
42
+ retryAfterSeconds;
43
+ constructor(opts) {
44
+ super({
45
+ name: "ThrottlingException",
46
+ $fault: "client",
47
+ ...opts,
48
+ });
49
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
50
+ this.retryAfterSeconds = opts.retryAfterSeconds;
51
+ }
52
+ }
53
+ exports.ThrottlingException = ThrottlingException;
54
+ class ValidationException extends InspectorScanServiceException_1.InspectorScanServiceException {
55
+ name = "ValidationException";
56
+ $fault = "client";
57
+ reason;
58
+ fields;
59
+ constructor(opts) {
60
+ super({
61
+ name: "ValidationException",
62
+ $fault: "client",
63
+ ...opts,
64
+ });
65
+ Object.setPrototypeOf(this, ValidationException.prototype);
66
+ this.reason = opts.reason;
67
+ this.fields = opts.fields;
68
+ }
69
+ }
70
+ exports.ValidationException = ValidationException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2023-08-08",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.inspectorscan",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2023-08-08",
33
35
  serviceTarget: "InspectorScan",
34
36
  },
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ScanSbom$ = exports.ValidationExceptionField$ = exports.ScanSbomResponse$ = exports.ScanSbomRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.InspectorScanServiceException$ = void 0;
4
+ const _ADE = "AccessDeniedException";
5
+ const _ISE = "InternalServerException";
6
+ const _RA = "Retry-After";
7
+ const _SS = "ScanSbom";
8
+ const _SSR = "ScanSbomRequest";
9
+ const _SSRc = "ScanSbomResponse";
10
+ const _TE = "ThrottlingException";
11
+ const _VE = "ValidationException";
12
+ const _VEF = "ValidationExceptionField";
13
+ const _VEFa = "ValidationExceptionFields";
14
+ const _c = "client";
15
+ const _e = "error";
16
+ const _f = "fields";
17
+ const _h = "http";
18
+ const _hE = "httpError";
19
+ const _hH = "httpHeader";
20
+ const _m = "message";
21
+ const _n = "name";
22
+ const _oF = "outputFormat";
23
+ const _r = "reason";
24
+ const _rAS = "retryAfterSeconds";
25
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.inspectorscan";
26
+ const _sb = "sbom";
27
+ const _se = "server";
28
+ const n0 = "com.amazonaws.inspectorscan";
29
+ const schema_1 = require("@smithy/core/schema");
30
+ const errors_1 = require("../models/errors");
31
+ const InspectorScanServiceException_1 = require("../models/InspectorScanServiceException");
32
+ const _s_registry = schema_1.TypeRegistry.for(_s);
33
+ exports.InspectorScanServiceException$ = [-3, _s, "InspectorScanServiceException", 0, [], []];
34
+ _s_registry.registerError(exports.InspectorScanServiceException$, InspectorScanServiceException_1.InspectorScanServiceException);
35
+ const n0_registry = schema_1.TypeRegistry.for(n0);
36
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
37
+ { [_e]: _c, [_hE]: 403 },
38
+ [_m],
39
+ [0], 1
40
+ ];
41
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
42
+ exports.InternalServerException$ = [-3, n0, _ISE,
43
+ { [_e]: _se, [_hE]: 500 },
44
+ [_m, _r, _rAS],
45
+ [0, 0, [1, { [_hH]: _RA }]], 2
46
+ ];
47
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
48
+ exports.ThrottlingException$ = [-3, n0, _TE,
49
+ { [_e]: _c, [_hE]: 429 },
50
+ [_m, _rAS],
51
+ [0, [1, { [_hH]: _RA }]], 1
52
+ ];
53
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
54
+ exports.ValidationException$ = [-3, n0, _VE,
55
+ { [_e]: _c, [_hE]: 400 },
56
+ [_m, _r, _f],
57
+ [0, 0, () => ValidationExceptionFields], 2
58
+ ];
59
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
60
+ exports.errorTypeRegistries = [
61
+ _s_registry,
62
+ n0_registry,
63
+ ];
64
+ exports.ScanSbomRequest$ = [3, n0, _SSR,
65
+ 0,
66
+ [_sb, _oF],
67
+ [15, 0], 1
68
+ ];
69
+ exports.ScanSbomResponse$ = [3, n0, _SSRc,
70
+ 0,
71
+ [_sb],
72
+ [15]
73
+ ];
74
+ exports.ValidationExceptionField$ = [3, n0, _VEF,
75
+ 0,
76
+ [_n, _m],
77
+ [0, 0], 2
78
+ ];
79
+ var ValidationExceptionFields = [1, n0, _VEFa,
80
+ 0, () => exports.ValidationExceptionField$
81
+ ];
82
+ exports.ScanSbom$ = [9, n0, _SS,
83
+ { [_h]: ["POST", "/scan/sbom", 200] }, () => exports.ScanSbomRequest$, () => exports.ScanSbomResponse$
84
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultInspectorScanHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2023-08-08",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.inspectorscan",
30
+ errorTypeRegistries,
29
31
  version: "2023-08-08",
30
32
  serviceTarget: "InspectorScan",
31
33
  },
@@ -19,54 +19,60 @@ const _n = "name";
19
19
  const _oF = "outputFormat";
20
20
  const _r = "reason";
21
21
  const _rAS = "retryAfterSeconds";
22
- const _s = "server";
22
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.inspectorscan";
23
23
  const _sb = "sbom";
24
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.inspectorscan";
24
+ const _se = "server";
25
25
  const n0 = "com.amazonaws.inspectorscan";
26
26
  import { TypeRegistry } from "@smithy/core/schema";
27
27
  import { AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, } from "../models/errors";
28
28
  import { InspectorScanServiceException } from "../models/InspectorScanServiceException";
29
+ const _s_registry = TypeRegistry.for(_s);
30
+ export var InspectorScanServiceException$ = [-3, _s, "InspectorScanServiceException", 0, [], []];
31
+ _s_registry.registerError(InspectorScanServiceException$, InspectorScanServiceException);
32
+ const n0_registry = TypeRegistry.for(n0);
29
33
  export var AccessDeniedException$ = [-3, n0, _ADE,
30
34
  { [_e]: _c, [_hE]: 403 },
31
35
  [_m],
32
36
  [0], 1
33
37
  ];
34
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
38
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
35
39
  export var InternalServerException$ = [-3, n0, _ISE,
36
- { [_e]: _s, [_hE]: 500 },
40
+ { [_e]: _se, [_hE]: 500 },
37
41
  [_m, _r, _rAS],
38
42
  [0, 0, [1, { [_hH]: _RA }]], 2
39
43
  ];
40
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
41
- export var ScanSbomRequest$ = [3, n0, _SSR,
42
- 0,
43
- [_sb, _oF],
44
- [15, 0], 1
45
- ];
46
- export var ScanSbomResponse$ = [3, n0, _SSRc,
47
- 0,
48
- [_sb],
49
- [15]
50
- ];
44
+ n0_registry.registerError(InternalServerException$, InternalServerException);
51
45
  export var ThrottlingException$ = [-3, n0, _TE,
52
46
  { [_e]: _c, [_hE]: 429 },
53
47
  [_m, _rAS],
54
48
  [0, [1, { [_hH]: _RA }]], 1
55
49
  ];
56
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
50
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
57
51
  export var ValidationException$ = [-3, n0, _VE,
58
52
  { [_e]: _c, [_hE]: 400 },
59
53
  [_m, _r, _f],
60
54
  [0, 0, () => ValidationExceptionFields], 2
61
55
  ];
62
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
56
+ n0_registry.registerError(ValidationException$, ValidationException);
57
+ export const errorTypeRegistries = [
58
+ _s_registry,
59
+ n0_registry,
60
+ ];
61
+ export var ScanSbomRequest$ = [3, n0, _SSR,
62
+ 0,
63
+ [_sb, _oF],
64
+ [15, 0], 1
65
+ ];
66
+ export var ScanSbomResponse$ = [3, n0, _SSRc,
67
+ 0,
68
+ [_sb],
69
+ [15]
70
+ ];
63
71
  export var ValidationExceptionField$ = [3, n0, _VEF,
64
72
  0,
65
73
  [_n, _m],
66
74
  [0, 0], 2
67
75
  ];
68
- export var InspectorScanServiceException$ = [-3, _sm, "InspectorScanServiceException", 0, [], []];
69
- TypeRegistry.for(_sm).registerError(InspectorScanServiceException$, InspectorScanServiceException);
70
76
  var ValidationExceptionFields = [1, n0, _VEFa,
71
77
  0, () => ValidationExceptionField$
72
78
  ];
@@ -1,10 +1,17 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var InspectorScanServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
3
5
  export declare var InternalServerException$: StaticErrorSchema;
4
- export declare var ScanSbomRequest$: StaticStructureSchema;
5
- export declare var ScanSbomResponse$: StaticStructureSchema;
6
6
  export declare var ThrottlingException$: StaticErrorSchema;
7
7
  export declare var ValidationException$: StaticErrorSchema;
8
+ /**
9
+ * TypeRegistry instances containing modeled errors.
10
+ * @internal
11
+ *
12
+ */
13
+ export declare const errorTypeRegistries: TypeRegistry[];
14
+ export declare var ScanSbomRequest$: StaticStructureSchema;
15
+ export declare var ScanSbomResponse$: StaticStructureSchema;
8
16
  export declare var ValidationExceptionField$: StaticStructureSchema;
9
- export declare var InspectorScanServiceException$: StaticErrorSchema;
10
17
  export declare var ScanSbom$: StaticOperationSchema;
@@ -1,14 +1,16 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var InspectorScanServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
7
9
  export declare var InternalServerException$: StaticErrorSchema;
8
- export declare var ScanSbomRequest$: StaticStructureSchema;
9
- export declare var ScanSbomResponse$: StaticStructureSchema;
10
10
  export declare var ThrottlingException$: StaticErrorSchema;
11
11
  export declare var ValidationException$: StaticErrorSchema;
12
+ export declare const errorTypeRegistries: TypeRegistry[];
13
+ export declare var ScanSbomRequest$: StaticStructureSchema;
14
+ export declare var ScanSbomResponse$: StaticStructureSchema;
12
15
  export declare var ValidationExceptionField$: StaticStructureSchema;
13
- export declare var InspectorScanServiceException$: StaticErrorSchema;
14
16
  export declare var ScanSbom$: StaticOperationSchema;
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.987.0",
4
+ "version": "3.989.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.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
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.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",