@aws-sdk/client-inspector-scan 3.721.0 → 3.726.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 +74 -37
- package/dist-es/InspectorScanClient.js +1 -0
- package/dist-es/models/models_0.js +17 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -133,7 +133,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
133
133
|
}, "resolveRuntimeExtensions");
|
|
134
134
|
|
|
135
135
|
// src/InspectorScanClient.ts
|
|
136
|
-
var
|
|
136
|
+
var InspectorScanClient = class extends import_smithy_client.Client {
|
|
137
|
+
static {
|
|
138
|
+
__name(this, "InspectorScanClient");
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The resolved configuration of InspectorScanClient class. This is resolved and normalized from the {@link InspectorScanClientConfig | constructor configuration interface}.
|
|
142
|
+
*/
|
|
143
|
+
config;
|
|
137
144
|
constructor(...[configuration]) {
|
|
138
145
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
139
146
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -143,7 +150,7 @@ var _InspectorScanClient = class _InspectorScanClient extends import_smithy_clie
|
|
|
143
150
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
144
151
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
145
152
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
146
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
153
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
147
154
|
super(_config_8);
|
|
148
155
|
this.config = _config_8;
|
|
149
156
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -171,8 +178,6 @@ var _InspectorScanClient = class _InspectorScanClient extends import_smithy_clie
|
|
|
171
178
|
super.destroy();
|
|
172
179
|
}
|
|
173
180
|
};
|
|
174
|
-
__name(_InspectorScanClient, "InspectorScanClient");
|
|
175
|
-
var InspectorScanClient = _InspectorScanClient;
|
|
176
181
|
|
|
177
182
|
// src/InspectorScan.ts
|
|
178
183
|
|
|
@@ -189,7 +194,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
189
194
|
|
|
190
195
|
// src/models/InspectorScanServiceException.ts
|
|
191
196
|
|
|
192
|
-
var
|
|
197
|
+
var InspectorScanServiceException = class _InspectorScanServiceException extends import_smithy_client.ServiceException {
|
|
198
|
+
static {
|
|
199
|
+
__name(this, "InspectorScanServiceException");
|
|
200
|
+
}
|
|
193
201
|
/**
|
|
194
202
|
* @internal
|
|
195
203
|
*/
|
|
@@ -198,11 +206,14 @@ var _InspectorScanServiceException = class _InspectorScanServiceException extend
|
|
|
198
206
|
Object.setPrototypeOf(this, _InspectorScanServiceException.prototype);
|
|
199
207
|
}
|
|
200
208
|
};
|
|
201
|
-
__name(_InspectorScanServiceException, "InspectorScanServiceException");
|
|
202
|
-
var InspectorScanServiceException = _InspectorScanServiceException;
|
|
203
209
|
|
|
204
210
|
// src/models/models_0.ts
|
|
205
|
-
var
|
|
211
|
+
var AccessDeniedException = class _AccessDeniedException extends InspectorScanServiceException {
|
|
212
|
+
static {
|
|
213
|
+
__name(this, "AccessDeniedException");
|
|
214
|
+
}
|
|
215
|
+
name = "AccessDeniedException";
|
|
216
|
+
$fault = "client";
|
|
206
217
|
/**
|
|
207
218
|
* @internal
|
|
208
219
|
*/
|
|
@@ -212,18 +223,30 @@ var _AccessDeniedException = class _AccessDeniedException extends InspectorScanS
|
|
|
212
223
|
$fault: "client",
|
|
213
224
|
...opts
|
|
214
225
|
});
|
|
215
|
-
this.name = "AccessDeniedException";
|
|
216
|
-
this.$fault = "client";
|
|
217
226
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
218
227
|
}
|
|
219
228
|
};
|
|
220
|
-
__name(_AccessDeniedException, "AccessDeniedException");
|
|
221
|
-
var AccessDeniedException = _AccessDeniedException;
|
|
222
229
|
var InternalServerExceptionReason = {
|
|
223
230
|
FAILED_TO_GENERATE_SBOM: "FAILED_TO_GENERATE_SBOM",
|
|
224
231
|
OTHER: "OTHER"
|
|
225
232
|
};
|
|
226
|
-
var
|
|
233
|
+
var InternalServerException = class _InternalServerException extends InspectorScanServiceException {
|
|
234
|
+
static {
|
|
235
|
+
__name(this, "InternalServerException");
|
|
236
|
+
}
|
|
237
|
+
name = "InternalServerException";
|
|
238
|
+
$fault = "server";
|
|
239
|
+
$retryable = {};
|
|
240
|
+
/**
|
|
241
|
+
* <p>The reason for the validation failure.</p>
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
reason;
|
|
245
|
+
/**
|
|
246
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
retryAfterSeconds;
|
|
227
250
|
/**
|
|
228
251
|
* @internal
|
|
229
252
|
*/
|
|
@@ -233,21 +256,29 @@ var _InternalServerException = class _InternalServerException extends InspectorS
|
|
|
233
256
|
$fault: "server",
|
|
234
257
|
...opts
|
|
235
258
|
});
|
|
236
|
-
this.name = "InternalServerException";
|
|
237
|
-
this.$fault = "server";
|
|
238
|
-
this.$retryable = {};
|
|
239
259
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
240
260
|
this.reason = opts.reason;
|
|
241
261
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
242
262
|
}
|
|
243
263
|
};
|
|
244
|
-
__name(_InternalServerException, "InternalServerException");
|
|
245
|
-
var InternalServerException = _InternalServerException;
|
|
246
264
|
var OutputFormat = {
|
|
247
265
|
CYCLONE_DX_1_5: "CYCLONE_DX_1_5",
|
|
248
266
|
INSPECTOR: "INSPECTOR"
|
|
249
267
|
};
|
|
250
|
-
var
|
|
268
|
+
var ThrottlingException = class _ThrottlingException extends InspectorScanServiceException {
|
|
269
|
+
static {
|
|
270
|
+
__name(this, "ThrottlingException");
|
|
271
|
+
}
|
|
272
|
+
name = "ThrottlingException";
|
|
273
|
+
$fault = "client";
|
|
274
|
+
$retryable = {
|
|
275
|
+
throttling: true
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
retryAfterSeconds;
|
|
251
282
|
/**
|
|
252
283
|
* @internal
|
|
253
284
|
*/
|
|
@@ -257,17 +288,10 @@ var _ThrottlingException = class _ThrottlingException extends InspectorScanServi
|
|
|
257
288
|
$fault: "client",
|
|
258
289
|
...opts
|
|
259
290
|
});
|
|
260
|
-
this.name = "ThrottlingException";
|
|
261
|
-
this.$fault = "client";
|
|
262
|
-
this.$retryable = {
|
|
263
|
-
throttling: true
|
|
264
|
-
};
|
|
265
291
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
266
292
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
267
293
|
}
|
|
268
294
|
};
|
|
269
|
-
__name(_ThrottlingException, "ThrottlingException");
|
|
270
|
-
var ThrottlingException = _ThrottlingException;
|
|
271
295
|
var ValidationExceptionReason = {
|
|
272
296
|
CANNOT_PARSE: "CANNOT_PARSE",
|
|
273
297
|
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
@@ -275,7 +299,22 @@ var ValidationExceptionReason = {
|
|
|
275
299
|
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
276
300
|
UNSUPPORTED_SBOM_TYPE: "UNSUPPORTED_SBOM_TYPE"
|
|
277
301
|
};
|
|
278
|
-
var
|
|
302
|
+
var ValidationException = class _ValidationException extends InspectorScanServiceException {
|
|
303
|
+
static {
|
|
304
|
+
__name(this, "ValidationException");
|
|
305
|
+
}
|
|
306
|
+
name = "ValidationException";
|
|
307
|
+
$fault = "client";
|
|
308
|
+
/**
|
|
309
|
+
* <p>The reason for the validation failure.</p>
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
reason;
|
|
313
|
+
/**
|
|
314
|
+
* <p>The fields that failed validation.</p>
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
fields;
|
|
279
318
|
/**
|
|
280
319
|
* @internal
|
|
281
320
|
*/
|
|
@@ -285,15 +324,11 @@ var _ValidationException = class _ValidationException extends InspectorScanServi
|
|
|
285
324
|
$fault: "client",
|
|
286
325
|
...opts
|
|
287
326
|
});
|
|
288
|
-
this.name = "ValidationException";
|
|
289
|
-
this.$fault = "client";
|
|
290
327
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
291
328
|
this.reason = opts.reason;
|
|
292
329
|
this.fields = opts.fields;
|
|
293
330
|
}
|
|
294
331
|
};
|
|
295
|
-
__name(_ValidationException, "ValidationException");
|
|
296
|
-
var ValidationException = _ValidationException;
|
|
297
332
|
|
|
298
333
|
// src/protocols/Aws_restJson1.ts
|
|
299
334
|
var se_ScanSbomCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -430,24 +465,26 @@ var _rAS = "retryAfterSeconds";
|
|
|
430
465
|
var _ra = "retry-after";
|
|
431
466
|
|
|
432
467
|
// src/commands/ScanSbomCommand.ts
|
|
433
|
-
var
|
|
468
|
+
var ScanSbomCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
434
469
|
return [
|
|
435
470
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
436
471
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
437
472
|
];
|
|
438
473
|
}).s("InspectorScan", "ScanSbom", {}).n("InspectorScanClient", "ScanSbomCommand").f(void 0, void 0).ser(se_ScanSbomCommand).de(de_ScanSbomCommand).build() {
|
|
474
|
+
static {
|
|
475
|
+
__name(this, "ScanSbomCommand");
|
|
476
|
+
}
|
|
439
477
|
};
|
|
440
|
-
__name(_ScanSbomCommand, "ScanSbomCommand");
|
|
441
|
-
var ScanSbomCommand = _ScanSbomCommand;
|
|
442
478
|
|
|
443
479
|
// src/InspectorScan.ts
|
|
444
480
|
var commands = {
|
|
445
481
|
ScanSbomCommand
|
|
446
482
|
};
|
|
447
|
-
var
|
|
483
|
+
var InspectorScan = class extends InspectorScanClient {
|
|
484
|
+
static {
|
|
485
|
+
__name(this, "InspectorScan");
|
|
486
|
+
}
|
|
448
487
|
};
|
|
449
|
-
__name(_InspectorScan, "InspectorScan");
|
|
450
|
-
var InspectorScan = _InspectorScan;
|
|
451
488
|
(0, import_smithy_client.createAggregatedClient)(commands, InspectorScan);
|
|
452
489
|
// Annotate the CommonJS export names for ESM import in node:
|
|
453
490
|
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class InspectorScanClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { InspectorScanServiceException as __BaseException } from "./InspectorScanServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
3
5
|
constructor(opts) {
|
|
4
6
|
super({
|
|
5
7
|
name: "AccessDeniedException",
|
|
6
8
|
$fault: "client",
|
|
7
9
|
...opts,
|
|
8
10
|
});
|
|
9
|
-
this.name = "AccessDeniedException";
|
|
10
|
-
this.$fault = "client";
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -16,15 +16,17 @@ export const InternalServerExceptionReason = {
|
|
|
16
16
|
OTHER: "OTHER",
|
|
17
17
|
};
|
|
18
18
|
export class InternalServerException extends __BaseException {
|
|
19
|
+
name = "InternalServerException";
|
|
20
|
+
$fault = "server";
|
|
21
|
+
$retryable = {};
|
|
22
|
+
reason;
|
|
23
|
+
retryAfterSeconds;
|
|
19
24
|
constructor(opts) {
|
|
20
25
|
super({
|
|
21
26
|
name: "InternalServerException",
|
|
22
27
|
$fault: "server",
|
|
23
28
|
...opts,
|
|
24
29
|
});
|
|
25
|
-
this.name = "InternalServerException";
|
|
26
|
-
this.$fault = "server";
|
|
27
|
-
this.$retryable = {};
|
|
28
30
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
29
31
|
this.reason = opts.reason;
|
|
30
32
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
@@ -35,17 +37,18 @@ export const OutputFormat = {
|
|
|
35
37
|
INSPECTOR: "INSPECTOR",
|
|
36
38
|
};
|
|
37
39
|
export class ThrottlingException extends __BaseException {
|
|
40
|
+
name = "ThrottlingException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
$retryable = {
|
|
43
|
+
throttling: true,
|
|
44
|
+
};
|
|
45
|
+
retryAfterSeconds;
|
|
38
46
|
constructor(opts) {
|
|
39
47
|
super({
|
|
40
48
|
name: "ThrottlingException",
|
|
41
49
|
$fault: "client",
|
|
42
50
|
...opts,
|
|
43
51
|
});
|
|
44
|
-
this.name = "ThrottlingException";
|
|
45
|
-
this.$fault = "client";
|
|
46
|
-
this.$retryable = {
|
|
47
|
-
throttling: true,
|
|
48
|
-
};
|
|
49
52
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
50
53
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
51
54
|
}
|
|
@@ -58,14 +61,16 @@ export const ValidationExceptionReason = {
|
|
|
58
61
|
UNSUPPORTED_SBOM_TYPE: "UNSUPPORTED_SBOM_TYPE",
|
|
59
62
|
};
|
|
60
63
|
export class ValidationException extends __BaseException {
|
|
64
|
+
name = "ValidationException";
|
|
65
|
+
$fault = "client";
|
|
66
|
+
reason;
|
|
67
|
+
fields;
|
|
61
68
|
constructor(opts) {
|
|
62
69
|
super({
|
|
63
70
|
name: "ValidationException",
|
|
64
71
|
$fault: "client",
|
|
65
72
|
...opts,
|
|
66
73
|
});
|
|
67
|
-
this.name = "ValidationException";
|
|
68
|
-
this.$fault = "client";
|
|
69
74
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
70
75
|
this.reason = opts.reason;
|
|
71
76
|
this.fields = opts.fields;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.
|
|
4
|
+
"version": "3.726.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,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|