@aws-sdk/client-inspector-scan 3.901.0 → 3.906.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 +344 -478
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,505 +1,371 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
|
|
21
|
-
// src/index.ts
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
$Command: () => import_smithy_client.Command,
|
|
25
|
-
AccessDeniedException: () => AccessDeniedException,
|
|
26
|
-
InspectorScan: () => InspectorScan,
|
|
27
|
-
InspectorScanClient: () => InspectorScanClient,
|
|
28
|
-
InspectorScanServiceException: () => InspectorScanServiceException,
|
|
29
|
-
InternalServerException: () => InternalServerException,
|
|
30
|
-
InternalServerExceptionReason: () => InternalServerExceptionReason,
|
|
31
|
-
OutputFormat: () => OutputFormat,
|
|
32
|
-
ScanSbomCommand: () => ScanSbomCommand,
|
|
33
|
-
ThrottlingException: () => ThrottlingException,
|
|
34
|
-
ValidationException: () => ValidationException,
|
|
35
|
-
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
36
|
-
__Client: () => import_smithy_client.Client
|
|
37
|
-
});
|
|
38
|
-
module.exports = __toCommonJS(index_exports);
|
|
39
|
-
|
|
40
|
-
// src/InspectorScanClient.ts
|
|
41
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
42
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
43
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
44
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
45
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
46
|
-
var import_core = require("@smithy/core");
|
|
47
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
48
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
49
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
1
|
+
'use strict';
|
|
50
2
|
|
|
51
|
-
var
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
52
19
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "inspector-scan",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
66
32
|
};
|
|
67
33
|
|
|
68
|
-
|
|
69
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
70
72
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
75
78
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
79
|
+
class InspectorScanClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultInspectorScanHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
107
|
+
}
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
104
110
|
}
|
|
105
|
-
|
|
106
|
-
}, "getHttpAuthExtensionConfiguration");
|
|
107
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
108
|
-
return {
|
|
109
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
110
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
111
|
-
credentials: config.credentials()
|
|
112
|
-
};
|
|
113
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
111
|
+
}
|
|
114
112
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
122
|
-
);
|
|
123
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
124
|
-
return Object.assign(
|
|
125
|
-
runtimeConfig,
|
|
126
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
127
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
128
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
129
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
130
|
-
);
|
|
131
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class InspectorScanServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, InspectorScanServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
132
119
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
149
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
150
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
151
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
152
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
153
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
154
|
-
this.config = _config_8;
|
|
155
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
156
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
157
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
158
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
159
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
160
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
161
|
-
this.middlewareStack.use(
|
|
162
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
163
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultInspectorScanHttpAuthSchemeParametersProvider,
|
|
164
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
165
|
-
"aws.auth#sigv4": config.credentials
|
|
166
|
-
}), "identityProviderConfigProvider")
|
|
167
|
-
})
|
|
168
|
-
);
|
|
169
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
173
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
174
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
175
|
-
*/
|
|
176
|
-
destroy() {
|
|
177
|
-
super.destroy();
|
|
178
|
-
}
|
|
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
|
+
const InternalServerExceptionReason = {
|
|
133
|
+
FAILED_TO_GENERATE_SBOM: "FAILED_TO_GENERATE_SBOM",
|
|
134
|
+
OTHER: "OTHER",
|
|
179
135
|
};
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
|
-
constructor(options) {
|
|
204
|
-
super(options);
|
|
205
|
-
Object.setPrototypeOf(this, _InspectorScanServiceException.prototype);
|
|
206
|
-
}
|
|
136
|
+
class InternalServerException extends InspectorScanServiceException {
|
|
137
|
+
name = "InternalServerException";
|
|
138
|
+
$fault = "server";
|
|
139
|
+
$retryable = {};
|
|
140
|
+
reason;
|
|
141
|
+
retryAfterSeconds;
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "InternalServerException",
|
|
145
|
+
$fault: "server",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
149
|
+
this.reason = opts.reason;
|
|
150
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
const OutputFormat = {
|
|
154
|
+
CYCLONE_DX_1_5: "CYCLONE_DX_1_5",
|
|
155
|
+
INSPECTOR: "INSPECTOR",
|
|
207
156
|
};
|
|
157
|
+
class ThrottlingException extends InspectorScanServiceException {
|
|
158
|
+
name = "ThrottlingException";
|
|
159
|
+
$fault = "client";
|
|
160
|
+
$retryable = {
|
|
161
|
+
throttling: true,
|
|
162
|
+
};
|
|
163
|
+
retryAfterSeconds;
|
|
164
|
+
constructor(opts) {
|
|
165
|
+
super({
|
|
166
|
+
name: "ThrottlingException",
|
|
167
|
+
$fault: "client",
|
|
168
|
+
...opts,
|
|
169
|
+
});
|
|
170
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
171
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
const ValidationExceptionReason = {
|
|
175
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
176
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
177
|
+
OTHER: "OTHER",
|
|
178
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
179
|
+
UNSUPPORTED_SBOM_TYPE: "UNSUPPORTED_SBOM_TYPE",
|
|
180
|
+
};
|
|
181
|
+
class ValidationException extends InspectorScanServiceException {
|
|
182
|
+
name = "ValidationException";
|
|
183
|
+
$fault = "client";
|
|
184
|
+
reason;
|
|
185
|
+
fields;
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "ValidationException",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts,
|
|
191
|
+
});
|
|
192
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
193
|
+
this.reason = opts.reason;
|
|
194
|
+
this.fields = opts.fields;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
208
197
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
198
|
+
const se_ScanSbomCommand = async (input, context) => {
|
|
199
|
+
const b = core.requestBuilder(input, context);
|
|
200
|
+
const headers = {
|
|
201
|
+
"content-type": "application/json",
|
|
202
|
+
};
|
|
203
|
+
b.bp("/scan/sbom");
|
|
204
|
+
let body;
|
|
205
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
206
|
+
outputFormat: [],
|
|
207
|
+
sbom: (_) => se_Sbom(_),
|
|
208
|
+
}));
|
|
209
|
+
b.m("POST").h(headers).b(body);
|
|
210
|
+
return b.build();
|
|
211
|
+
};
|
|
212
|
+
const de_ScanSbomCommand = async (output, context) => {
|
|
213
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
214
|
+
return de_CommandError(output, context);
|
|
215
|
+
}
|
|
216
|
+
const contents = smithyClient.map({
|
|
217
|
+
$metadata: deserializeMetadata(output),
|
|
218
|
+
});
|
|
219
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
220
|
+
const doc = smithyClient.take(data, {
|
|
221
|
+
sbom: (_) => de_Sbom(_),
|
|
224
222
|
});
|
|
225
|
-
Object.
|
|
226
|
-
|
|
223
|
+
Object.assign(contents, doc);
|
|
224
|
+
return contents;
|
|
227
225
|
};
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
226
|
+
const de_CommandError = async (output, context) => {
|
|
227
|
+
const parsedOutput = {
|
|
228
|
+
...output,
|
|
229
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
230
|
+
};
|
|
231
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
232
|
+
switch (errorCode) {
|
|
233
|
+
case "AccessDeniedException":
|
|
234
|
+
case "com.amazonaws.inspectorscan#AccessDeniedException":
|
|
235
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
236
|
+
case "InternalServerException":
|
|
237
|
+
case "com.amazonaws.inspectorscan#InternalServerException":
|
|
238
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
239
|
+
case "ThrottlingException":
|
|
240
|
+
case "com.amazonaws.inspectorscan#ThrottlingException":
|
|
241
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
242
|
+
case "ValidationException":
|
|
243
|
+
case "com.amazonaws.inspectorscan#ValidationException":
|
|
244
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
245
|
+
default:
|
|
246
|
+
const parsedBody = parsedOutput.body;
|
|
247
|
+
return throwDefaultError({
|
|
248
|
+
output,
|
|
249
|
+
parsedBody,
|
|
250
|
+
errorCode,
|
|
251
|
+
});
|
|
252
|
+
}
|
|
231
253
|
};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
$retryable = {};
|
|
239
|
-
/**
|
|
240
|
-
* <p>The reason for the validation failure.</p>
|
|
241
|
-
* @public
|
|
242
|
-
*/
|
|
243
|
-
reason;
|
|
244
|
-
/**
|
|
245
|
-
* <p>The number of seconds to wait before retrying the request.</p>
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
retryAfterSeconds;
|
|
249
|
-
/**
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
252
|
-
constructor(opts) {
|
|
253
|
-
super({
|
|
254
|
-
name: "InternalServerException",
|
|
255
|
-
$fault: "server",
|
|
256
|
-
...opts
|
|
254
|
+
const throwDefaultError = smithyClient.withBaseException(InspectorScanServiceException);
|
|
255
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
256
|
+
const contents = smithyClient.map({});
|
|
257
|
+
const data = parsedOutput.body;
|
|
258
|
+
const doc = smithyClient.take(data, {
|
|
259
|
+
message: smithyClient.expectString,
|
|
257
260
|
});
|
|
258
|
-
Object.
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
CYCLONE_DX_1_5: "CYCLONE_DX_1_5",
|
|
265
|
-
INSPECTOR: "INSPECTOR"
|
|
261
|
+
Object.assign(contents, doc);
|
|
262
|
+
const exception = new AccessDeniedException({
|
|
263
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
264
|
+
...contents,
|
|
265
|
+
});
|
|
266
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
266
267
|
};
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}
|
|
271
|
-
name = "ThrottlingException";
|
|
272
|
-
$fault = "client";
|
|
273
|
-
$retryable = {
|
|
274
|
-
throttling: true
|
|
275
|
-
};
|
|
276
|
-
/**
|
|
277
|
-
* <p>The number of seconds to wait before retrying the request.</p>
|
|
278
|
-
* @public
|
|
279
|
-
*/
|
|
280
|
-
retryAfterSeconds;
|
|
281
|
-
/**
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
constructor(opts) {
|
|
285
|
-
super({
|
|
286
|
-
name: "ThrottlingException",
|
|
287
|
-
$fault: "client",
|
|
288
|
-
...opts
|
|
268
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
269
|
+
const contents = smithyClient.map({
|
|
270
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
289
271
|
});
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
272
|
+
const data = parsedOutput.body;
|
|
273
|
+
const doc = smithyClient.take(data, {
|
|
274
|
+
message: smithyClient.expectString,
|
|
275
|
+
reason: smithyClient.expectString,
|
|
276
|
+
});
|
|
277
|
+
Object.assign(contents, doc);
|
|
278
|
+
const exception = new InternalServerException({
|
|
279
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
280
|
+
...contents,
|
|
281
|
+
});
|
|
282
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
293
283
|
};
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
284
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
285
|
+
const contents = smithyClient.map({
|
|
286
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
287
|
+
});
|
|
288
|
+
const data = parsedOutput.body;
|
|
289
|
+
const doc = smithyClient.take(data, {
|
|
290
|
+
message: smithyClient.expectString,
|
|
291
|
+
});
|
|
292
|
+
Object.assign(contents, doc);
|
|
293
|
+
const exception = new ThrottlingException({
|
|
294
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
295
|
+
...contents,
|
|
296
|
+
});
|
|
297
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
300
298
|
};
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
* <p>The fields that failed validation.</p>
|
|
314
|
-
* @public
|
|
315
|
-
*/
|
|
316
|
-
fields;
|
|
317
|
-
/**
|
|
318
|
-
* @internal
|
|
319
|
-
*/
|
|
320
|
-
constructor(opts) {
|
|
321
|
-
super({
|
|
322
|
-
name: "ValidationException",
|
|
323
|
-
$fault: "client",
|
|
324
|
-
...opts
|
|
299
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
300
|
+
const contents = smithyClient.map({});
|
|
301
|
+
const data = parsedOutput.body;
|
|
302
|
+
const doc = smithyClient.take(data, {
|
|
303
|
+
fields: smithyClient._json,
|
|
304
|
+
message: smithyClient.expectString,
|
|
305
|
+
reason: smithyClient.expectString,
|
|
306
|
+
});
|
|
307
|
+
Object.assign(contents, doc);
|
|
308
|
+
const exception = new ValidationException({
|
|
309
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
310
|
+
...contents,
|
|
325
311
|
});
|
|
326
|
-
|
|
327
|
-
this.reason = opts.reason;
|
|
328
|
-
this.fields = opts.fields;
|
|
329
|
-
}
|
|
312
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
330
313
|
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
var se_ScanSbomCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
334
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
335
|
-
const headers = {
|
|
336
|
-
"content-type": "application/json"
|
|
337
|
-
};
|
|
338
|
-
b.bp("/scan/sbom");
|
|
339
|
-
let body;
|
|
340
|
-
body = JSON.stringify(
|
|
341
|
-
(0, import_smithy_client.take)(input, {
|
|
342
|
-
outputFormat: [],
|
|
343
|
-
sbom: /* @__PURE__ */ __name((_) => se_Sbom(_, context), "sbom")
|
|
344
|
-
})
|
|
345
|
-
);
|
|
346
|
-
b.m("POST").h(headers).b(body);
|
|
347
|
-
return b.build();
|
|
348
|
-
}, "se_ScanSbomCommand");
|
|
349
|
-
var de_ScanSbomCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
350
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
351
|
-
return de_CommandError(output, context);
|
|
352
|
-
}
|
|
353
|
-
const contents = (0, import_smithy_client.map)({
|
|
354
|
-
$metadata: deserializeMetadata(output)
|
|
355
|
-
});
|
|
356
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
357
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
358
|
-
sbom: /* @__PURE__ */ __name((_) => de_Sbom(_, context), "sbom")
|
|
359
|
-
});
|
|
360
|
-
Object.assign(contents, doc);
|
|
361
|
-
return contents;
|
|
362
|
-
}, "de_ScanSbomCommand");
|
|
363
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
364
|
-
const parsedOutput = {
|
|
365
|
-
...output,
|
|
366
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
367
|
-
};
|
|
368
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
369
|
-
switch (errorCode) {
|
|
370
|
-
case "AccessDeniedException":
|
|
371
|
-
case "com.amazonaws.inspectorscan#AccessDeniedException":
|
|
372
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
373
|
-
case "InternalServerException":
|
|
374
|
-
case "com.amazonaws.inspectorscan#InternalServerException":
|
|
375
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
376
|
-
case "ThrottlingException":
|
|
377
|
-
case "com.amazonaws.inspectorscan#ThrottlingException":
|
|
378
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
379
|
-
case "ValidationException":
|
|
380
|
-
case "com.amazonaws.inspectorscan#ValidationException":
|
|
381
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
382
|
-
default:
|
|
383
|
-
const parsedBody = parsedOutput.body;
|
|
384
|
-
return throwDefaultError({
|
|
385
|
-
output,
|
|
386
|
-
parsedBody,
|
|
387
|
-
errorCode
|
|
388
|
-
});
|
|
389
|
-
}
|
|
390
|
-
}, "de_CommandError");
|
|
391
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(InspectorScanServiceException);
|
|
392
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
393
|
-
const contents = (0, import_smithy_client.map)({});
|
|
394
|
-
const data = parsedOutput.body;
|
|
395
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
396
|
-
message: import_smithy_client.expectString
|
|
397
|
-
});
|
|
398
|
-
Object.assign(contents, doc);
|
|
399
|
-
const exception = new AccessDeniedException({
|
|
400
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
401
|
-
...contents
|
|
402
|
-
});
|
|
403
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
404
|
-
}, "de_AccessDeniedExceptionRes");
|
|
405
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
406
|
-
const contents = (0, import_smithy_client.map)({
|
|
407
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
408
|
-
});
|
|
409
|
-
const data = parsedOutput.body;
|
|
410
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
411
|
-
message: import_smithy_client.expectString,
|
|
412
|
-
reason: import_smithy_client.expectString
|
|
413
|
-
});
|
|
414
|
-
Object.assign(contents, doc);
|
|
415
|
-
const exception = new InternalServerException({
|
|
416
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
417
|
-
...contents
|
|
418
|
-
});
|
|
419
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
420
|
-
}, "de_InternalServerExceptionRes");
|
|
421
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
422
|
-
const contents = (0, import_smithy_client.map)({
|
|
423
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
424
|
-
});
|
|
425
|
-
const data = parsedOutput.body;
|
|
426
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
427
|
-
message: import_smithy_client.expectString
|
|
428
|
-
});
|
|
429
|
-
Object.assign(contents, doc);
|
|
430
|
-
const exception = new ThrottlingException({
|
|
431
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
432
|
-
...contents
|
|
433
|
-
});
|
|
434
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
435
|
-
}, "de_ThrottlingExceptionRes");
|
|
436
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
437
|
-
const contents = (0, import_smithy_client.map)({});
|
|
438
|
-
const data = parsedOutput.body;
|
|
439
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
440
|
-
fields: import_smithy_client._json,
|
|
441
|
-
message: import_smithy_client.expectString,
|
|
442
|
-
reason: import_smithy_client.expectString
|
|
443
|
-
});
|
|
444
|
-
Object.assign(contents, doc);
|
|
445
|
-
const exception = new ValidationException({
|
|
446
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
447
|
-
...contents
|
|
448
|
-
});
|
|
449
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
450
|
-
}, "de_ValidationExceptionRes");
|
|
451
|
-
var se_Sbom = /* @__PURE__ */ __name((input, context) => {
|
|
452
|
-
return input;
|
|
453
|
-
}, "se_Sbom");
|
|
454
|
-
var de_Sbom = /* @__PURE__ */ __name((output, context) => {
|
|
455
|
-
return output;
|
|
456
|
-
}, "de_Sbom");
|
|
457
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
458
|
-
httpStatusCode: output.statusCode,
|
|
459
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
460
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
461
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
462
|
-
}), "deserializeMetadata");
|
|
463
|
-
var _rAS = "retryAfterSeconds";
|
|
464
|
-
var _ra = "retry-after";
|
|
465
|
-
|
|
466
|
-
// src/commands/ScanSbomCommand.ts
|
|
467
|
-
var ScanSbomCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
468
|
-
return [
|
|
469
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
470
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
471
|
-
];
|
|
472
|
-
}).s("InspectorScan", "ScanSbom", {}).n("InspectorScanClient", "ScanSbomCommand").f(void 0, void 0).ser(se_ScanSbomCommand).de(de_ScanSbomCommand).build() {
|
|
473
|
-
static {
|
|
474
|
-
__name(this, "ScanSbomCommand");
|
|
475
|
-
}
|
|
314
|
+
const se_Sbom = (input, context) => {
|
|
315
|
+
return input;
|
|
476
316
|
};
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
var commands = {
|
|
480
|
-
ScanSbomCommand
|
|
317
|
+
const de_Sbom = (output, context) => {
|
|
318
|
+
return output;
|
|
481
319
|
};
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
320
|
+
const deserializeMetadata = (output) => ({
|
|
321
|
+
httpStatusCode: output.statusCode,
|
|
322
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
323
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
324
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
325
|
+
});
|
|
326
|
+
const _rAS = "retryAfterSeconds";
|
|
327
|
+
const _ra = "retry-after";
|
|
328
|
+
|
|
329
|
+
class ScanSbomCommand extends smithyClient.Command
|
|
330
|
+
.classBuilder()
|
|
331
|
+
.ep(commonParams)
|
|
332
|
+
.m(function (Command, cs, config, o) {
|
|
333
|
+
return [
|
|
334
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
335
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
336
|
+
];
|
|
337
|
+
})
|
|
338
|
+
.s("InspectorScan", "ScanSbom", {})
|
|
339
|
+
.n("InspectorScanClient", "ScanSbomCommand")
|
|
340
|
+
.f(void 0, void 0)
|
|
341
|
+
.ser(se_ScanSbomCommand)
|
|
342
|
+
.de(de_ScanSbomCommand)
|
|
343
|
+
.build() {
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
const commands = {
|
|
347
|
+
ScanSbomCommand,
|
|
486
348
|
};
|
|
487
|
-
|
|
488
|
-
|
|
349
|
+
class InspectorScan extends InspectorScanClient {
|
|
350
|
+
}
|
|
351
|
+
smithyClient.createAggregatedClient(commands, InspectorScan);
|
|
489
352
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
InspectorScanClient,
|
|
494
|
-
InspectorScan,
|
|
495
|
-
$Command,
|
|
496
|
-
ScanSbomCommand,
|
|
497
|
-
AccessDeniedException,
|
|
498
|
-
InternalServerExceptionReason,
|
|
499
|
-
InternalServerException,
|
|
500
|
-
OutputFormat,
|
|
501
|
-
ThrottlingException,
|
|
502
|
-
ValidationExceptionReason,
|
|
503
|
-
ValidationException
|
|
353
|
+
Object.defineProperty(exports, "$Command", {
|
|
354
|
+
enumerable: true,
|
|
355
|
+
get: function () { return smithyClient.Command; }
|
|
504
356
|
});
|
|
505
|
-
|
|
357
|
+
Object.defineProperty(exports, "__Client", {
|
|
358
|
+
enumerable: true,
|
|
359
|
+
get: function () { return smithyClient.Client; }
|
|
360
|
+
});
|
|
361
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
362
|
+
exports.InspectorScan = InspectorScan;
|
|
363
|
+
exports.InspectorScanClient = InspectorScanClient;
|
|
364
|
+
exports.InspectorScanServiceException = InspectorScanServiceException;
|
|
365
|
+
exports.InternalServerException = InternalServerException;
|
|
366
|
+
exports.InternalServerExceptionReason = InternalServerExceptionReason;
|
|
367
|
+
exports.OutputFormat = OutputFormat;
|
|
368
|
+
exports.ScanSbomCommand = ScanSbomCommand;
|
|
369
|
+
exports.ThrottlingException = ThrottlingException;
|
|
370
|
+
exports.ValidationException = ValidationException;
|
|
371
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
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.906.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,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.906.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.906.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.901.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.901.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.901.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.906.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.901.0",
|
|
30
30
|
"@aws-sdk/types": "3.901.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.901.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.901.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.906.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.3.0",
|
|
35
35
|
"@smithy/core": "^3.14.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.0",
|