@aws-sdk/client-sagemaker-runtime-http2 3.1045.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +20 -21
- package/dist-cjs/models/SageMakerRuntimeHTTP2ServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +15 -17
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.native.js +2 -2
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/SageMakerRuntimeHTTP2.js +1 -1
- package/dist-es/SageMakerRuntimeHTTP2Client.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/InvokeEndpointWithBidirectionalStreamCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SageMakerRuntimeHTTP2ServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +5 -7
- package/dist-es/runtimeConfig.js +5 -9
- package/dist-es/runtimeConfig.native.js +1 -1
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/SageMakerRuntimeHTTP2Client.d.ts +6 -6
- package/dist-types/commands/InvokeEndpointWithBidirectionalStreamCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SageMakerRuntimeHTTP2ServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/SageMakerRuntimeHTTP2Client.d.ts +12 -18
- package/dist-types/ts3.4/commands/InvokeEndpointWithBidirectionalStreamCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SageMakerRuntimeHTTP2ServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +16 -40
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultSageMakerRuntimeHTTP2HttpAuthSchemeProvider = exports.defaultSageMakerRuntimeHTTP2HttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultSageMakerRuntimeHTTP2HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultSageMakerRuntimeHTTP2HttpAuthSchemeProvider = defaultSageMakerRun
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const m = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "stringEquals", f = "booleanEquals", g = "getAttr", h = { [m]: "Endpoint" }, i = { "fn": g, "argv": [{ [m]: d }, "name"] }, j = { [m]: d }, k = {}, l = [{ [m]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -67,4 +67,4 @@ const nodes = new Int32Array([
|
|
|
67
67
|
10, r + 1, 23,
|
|
68
68
|
12, r + 2, r + 3,
|
|
69
69
|
]);
|
|
70
|
-
exports.bdd =
|
|
70
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -5,18 +5,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
|
5
5
|
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
6
6
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
7
7
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
8
|
-
var configResolver = require('@smithy/config-resolver');
|
|
9
8
|
var core = require('@smithy/core');
|
|
9
|
+
var client = require('@smithy/core/client');
|
|
10
|
+
var config = require('@smithy/core/config');
|
|
11
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
12
|
+
var eventStreams = require('@smithy/core/event-streams');
|
|
13
|
+
var protocols = require('@smithy/core/protocols');
|
|
14
|
+
var retry = require('@smithy/core/retry');
|
|
10
15
|
var schema = require('@smithy/core/schema');
|
|
11
|
-
var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
|
|
12
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
13
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
14
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
15
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
16
16
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
17
17
|
var runtimeConfig = require('./runtimeConfig');
|
|
18
18
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
19
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
20
19
|
var schemas_0 = require('./schemas/schemas_0');
|
|
21
20
|
var errors = require('./models/errors');
|
|
22
21
|
var SageMakerRuntimeHTTP2ServiceException = require('./models/SageMakerRuntimeHTTP2ServiceException');
|
|
@@ -75,12 +74,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
75
74
|
};
|
|
76
75
|
|
|
77
76
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
78
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
77
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
79
78
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
80
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
79
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
81
80
|
};
|
|
82
81
|
|
|
83
|
-
class SageMakerRuntimeHTTP2Client extends
|
|
82
|
+
class SageMakerRuntimeHTTP2Client extends client.Client {
|
|
84
83
|
config;
|
|
85
84
|
constructor(...[configuration]) {
|
|
86
85
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -88,19 +87,19 @@ class SageMakerRuntimeHTTP2Client extends smithyClient.Client {
|
|
|
88
87
|
this.initConfig = _config_0;
|
|
89
88
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
90
89
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
91
|
-
const _config_3 =
|
|
92
|
-
const _config_4 =
|
|
90
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
91
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
93
92
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
94
|
-
const _config_6 =
|
|
95
|
-
const _config_7 =
|
|
93
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
94
|
+
const _config_7 = eventStreams.resolveEventStreamSerdeConfig(_config_6);
|
|
96
95
|
const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
|
|
97
96
|
const _config_9 = middlewareEventstream.resolveEventStreamConfig(_config_8);
|
|
98
97
|
const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
|
|
99
98
|
this.config = _config_10;
|
|
100
99
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
101
100
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
102
|
-
this.middlewareStack.use(
|
|
103
|
-
this.middlewareStack.use(
|
|
101
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
102
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
104
103
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
105
104
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
106
105
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -117,12 +116,12 @@ class SageMakerRuntimeHTTP2Client extends smithyClient.Client {
|
|
|
117
116
|
}
|
|
118
117
|
}
|
|
119
118
|
|
|
120
|
-
class InvokeEndpointWithBidirectionalStreamCommand extends
|
|
119
|
+
class InvokeEndpointWithBidirectionalStreamCommand extends client.Command
|
|
121
120
|
.classBuilder()
|
|
122
121
|
.ep(commonParams)
|
|
123
122
|
.m(function (Command, cs, config, o) {
|
|
124
123
|
return [
|
|
125
|
-
|
|
124
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
126
125
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
127
126
|
];
|
|
128
127
|
})
|
|
@@ -142,10 +141,10 @@ const commands = {
|
|
|
142
141
|
};
|
|
143
142
|
class SageMakerRuntimeHTTP2 extends SageMakerRuntimeHTTP2Client {
|
|
144
143
|
}
|
|
145
|
-
|
|
144
|
+
client.createAggregatedClient(commands, SageMakerRuntimeHTTP2);
|
|
146
145
|
|
|
147
|
-
exports.$Command =
|
|
148
|
-
exports.__Client =
|
|
146
|
+
exports.$Command = client.Command;
|
|
147
|
+
exports.__Client = client.Client;
|
|
149
148
|
exports.SageMakerRuntimeHTTP2ServiceException = SageMakerRuntimeHTTP2ServiceException.SageMakerRuntimeHTTP2ServiceException;
|
|
150
149
|
exports.InvokeEndpointWithBidirectionalStreamCommand = InvokeEndpointWithBidirectionalStreamCommand;
|
|
151
150
|
exports.SageMakerRuntimeHTTP2 = SageMakerRuntimeHTTP2;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SageMakerRuntimeHTTP2ServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class SageMakerRuntimeHTTP2ServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class SageMakerRuntimeHTTP2ServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, SageMakerRuntimeHTTP2ServiceException.prototype);
|
|
@@ -5,39 +5,37 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const client_1 = require("@smithy/core/client");
|
|
9
|
+
const config_1 = require("@smithy/core/config");
|
|
10
|
+
const event_streams_1 = require("@smithy/core/event-streams");
|
|
11
|
+
const retry_1 = require("@smithy/core/retry");
|
|
12
|
+
const serde_1 = require("@smithy/core/serde");
|
|
10
13
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
11
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
12
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
13
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
14
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
15
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
16
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
15
|
const getRuntimeConfig = (config) => {
|
|
18
|
-
const defaultsMode = (0,
|
|
19
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
17
|
+
const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
|
|
20
18
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
21
19
|
return {
|
|
22
20
|
...clientSharedValues,
|
|
23
21
|
...config,
|
|
24
22
|
runtime: "browser",
|
|
25
23
|
defaultsMode,
|
|
26
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
24
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
27
25
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
28
26
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
27
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? (() => ({
|
|
30
|
-
handle: (0,
|
|
28
|
+
handle: (0, client_1.invalidFunction)("event stream request is not supported in browser."),
|
|
31
29
|
})),
|
|
32
|
-
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ??
|
|
33
|
-
maxAttempts: config?.maxAttempts ??
|
|
34
|
-
region: config?.region ?? (0,
|
|
30
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
31
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
32
|
+
region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
|
|
35
33
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
36
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
34
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
37
35
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
36
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
40
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
37
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
38
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
39
|
};
|
|
42
40
|
};
|
|
43
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -8,21 +8,17 @@ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
9
|
const eventstream_handler_node_1 = require("@aws-sdk/eventstream-handler-node");
|
|
10
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
11
|
+
const client_2 = require("@smithy/core/client");
|
|
12
|
+
const config_1 = require("@smithy/core/config");
|
|
13
|
+
const event_streams_1 = require("@smithy/core/event-streams");
|
|
14
|
+
const retry_1 = require("@smithy/core/retry");
|
|
15
|
+
const serde_1 = require("@smithy/core/serde");
|
|
16
16
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
19
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
20
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
21
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
22
18
|
const getRuntimeConfig = (config) => {
|
|
23
|
-
(0,
|
|
24
|
-
const defaultsMode = (0,
|
|
25
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
19
|
+
(0, client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
20
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
26
22
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
27
23
|
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
28
24
|
const loaderConfig = {
|
|
@@ -34,28 +30,28 @@ const getRuntimeConfig = (config) => {
|
|
|
34
30
|
...config,
|
|
35
31
|
runtime: "node",
|
|
36
32
|
defaultsMode,
|
|
37
|
-
authSchemePreference: config?.authSchemePreference ?? (0,
|
|
38
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
33
|
+
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
34
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
39
35
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
40
36
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
41
37
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? eventstream_handler_node_1.eventStreamPayloadHandlerProvider,
|
|
42
|
-
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ??
|
|
43
|
-
maxAttempts: config?.maxAttempts ?? (0,
|
|
44
|
-
region: config?.region ?? (0,
|
|
38
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
39
|
+
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
+
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
45
41
|
requestHandler: node_http_handler_1.NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({
|
|
46
42
|
...await defaultConfigProvider(),
|
|
47
43
|
disableConcurrentStreams: true
|
|
48
44
|
}))),
|
|
49
45
|
retryMode: config?.retryMode ??
|
|
50
|
-
(0,
|
|
51
|
-
...
|
|
52
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
46
|
+
(0, config_1.loadConfig)({
|
|
47
|
+
...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
48
|
+
default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
|
|
53
49
|
}, config),
|
|
54
|
-
sha256: config?.sha256 ??
|
|
50
|
+
sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
|
|
55
51
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
56
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0,
|
|
57
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0,
|
|
58
|
-
userAgentAppId: config?.userAgentAppId ?? (0,
|
|
52
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
53
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
54
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
59
55
|
};
|
|
60
56
|
};
|
|
61
57
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
7
7
|
const getRuntimeConfig = (config) => {
|
|
8
8
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
@@ -11,7 +11,7 @@ const getRuntimeConfig = (config) => {
|
|
|
11
11
|
...config,
|
|
12
12
|
runtime: "react-native",
|
|
13
13
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? (() => ({
|
|
14
|
-
handle: (0,
|
|
14
|
+
handle: (0, client_1.invalidFunction)("event stream request is not supported in ReactNative."),
|
|
15
15
|
})),
|
|
16
16
|
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
17
17
|
};
|
|
@@ -3,18 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
|
6
|
+
const client_1 = require("@smithy/core/client");
|
|
7
|
+
const protocols_2 = require("@smithy/core/protocols");
|
|
8
|
+
const serde_1 = require("@smithy/core/serde");
|
|
10
9
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
11
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
12
|
const getRuntimeConfig = (config) => {
|
|
14
13
|
return {
|
|
15
14
|
apiVersion: "2025-10-01",
|
|
16
|
-
base64Decoder: config?.base64Decoder ??
|
|
17
|
-
base64Encoder: config?.base64Encoder ??
|
|
15
|
+
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
16
|
+
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
18
17
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
18
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
20
19
|
extensions: config?.extensions ?? [],
|
|
@@ -26,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
26
25
|
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
26
|
},
|
|
28
27
|
],
|
|
29
|
-
logger: config?.logger ?? new
|
|
28
|
+
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
30
29
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
30
|
protocolSettings: config?.protocolSettings ?? {
|
|
32
31
|
defaultNamespace: "com.amazonaws.sagemakerruntimehttp2",
|
|
@@ -35,9 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
serviceTarget: "AmazonSageMakerRuntimeHttp2",
|
|
36
35
|
},
|
|
37
36
|
serviceId: config?.serviceId ?? "SageMaker Runtime HTTP2",
|
|
38
|
-
urlParser: config?.urlParser ??
|
|
39
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
40
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
37
|
+
urlParser: config?.urlParser ?? protocols_2.parseUrl,
|
|
38
|
+
utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
|
|
39
|
+
utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
|
|
41
40
|
};
|
|
42
41
|
};
|
|
43
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { InvokeEndpointWithBidirectionalStreamCommand, } from "./commands/InvokeEndpointWithBidirectionalStreamCommand";
|
|
3
3
|
import { SageMakerRuntimeHTTP2Client } from "./SageMakerRuntimeHTTP2Client";
|
|
4
4
|
const commands = {
|
|
@@ -3,14 +3,14 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
|
|
|
3
3
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
4
4
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
5
5
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
6
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
7
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
8
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
9
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
10
|
+
import { resolveEventStreamSerdeConfig, } from "@smithy/core/event-streams";
|
|
11
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
12
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
8
13
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
|
-
import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
|
|
10
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
11
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
12
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
13
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
14
14
|
import { defaultSageMakerRuntimeHTTP2HttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
15
15
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
16
16
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultSageMakerRuntimeHTTP2HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { InvokeEndpointWithBidirectionalStream$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
const m = "ref";
|
|
3
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "stringEquals", f = "booleanEquals", g = "getAttr", h = { [m]: "Endpoint" }, i = { "fn": g, "argv": [{ [m]: d }, "name"] }, j = { [m]: d }, k = {}, l = [{ [m]: "Region" }];
|
|
4
4
|
const _data = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SageMakerRuntimeHTTP2ServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { invalidFunction, invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
|
+
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
6
9
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
7
|
-
import { invalidFunction, invalidProvider } from "@smithy/invalid-dependency";
|
|
8
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
9
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
10
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
11
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
11
|
export const getRuntimeConfig = (config) => {
|
|
14
12
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -4,16 +4,12 @@ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchem
|
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node";
|
|
6
6
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/
|
|
11
|
-
import {
|
|
7
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
8
|
+
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
9
|
+
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
10
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
11
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
12
12
|
import { NodeHttp2Handler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
13
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
15
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
16
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
17
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
18
14
|
export const getRuntimeConfig = (config) => {
|
|
19
15
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
-
import { invalidFunction } from "@smithy/
|
|
2
|
+
import { invalidFunction } from "@smithy/core/client";
|
|
3
3
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
4
|
export const getRuntimeConfig = (config) => {
|
|
5
5
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
-
import { NoOpLogger } from "@smithy/
|
|
4
|
-
import { parseUrl } from "@smithy/
|
|
5
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
6
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
3
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
4
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
5
|
+
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
7
6
|
import { defaultSageMakerRuntimeHTTP2HttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
7
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
8
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
@@ -2,12 +2,12 @@ import { type EventStreamInputConfig, type EventStreamResolvedConfig } from "@aw
|
|
|
2
2
|
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
3
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
4
|
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
5
|
-
import { type
|
|
6
|
-
import { type
|
|
7
|
-
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/
|
|
8
|
-
import { type
|
|
9
|
-
import type
|
|
10
|
-
import { type
|
|
5
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
6
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
7
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
8
|
+
import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/core/event-streams";
|
|
9
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
10
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
11
11
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
12
12
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import type { InvokeEndpointWithBidirectionalStreamCommandInput, InvokeEndpointWithBidirectionalStreamCommandOutput } from "./commands/InvokeEndpointWithBidirectionalStreamCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { InvokeEndpointWithBidirectionalStreamInput, InvokeEndpointWithBidirectionalStreamOutput } from "../models/models_0";
|
|
4
4
|
import type { SageMakerRuntimeHTTP2ClientResolvedConfig } from "../SageMakerRuntimeHTTP2Client";
|
|
@@ -22,9 +22,11 @@ export interface InvokeEndpointWithBidirectionalStreamCommandInput extends Invok
|
|
|
22
22
|
export interface InvokeEndpointWithBidirectionalStreamCommandOutput extends InvokeEndpointWithBidirectionalStreamOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const InvokeEndpointWithBidirectionalStreamCommand_base: {
|
|
25
|
-
new (input: InvokeEndpointWithBidirectionalStreamCommandInput): import("@smithy/
|
|
26
|
-
new (input: InvokeEndpointWithBidirectionalStreamCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: InvokeEndpointWithBidirectionalStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointWithBidirectionalStreamCommandInput, InvokeEndpointWithBidirectionalStreamCommandOutput, SageMakerRuntimeHTTP2ClientResolvedConfig, InvokeEndpointWithBidirectionalStreamCommandInput, InvokeEndpointWithBidirectionalStreamCommandOutput>;
|
|
26
|
+
new (input: InvokeEndpointWithBidirectionalStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointWithBidirectionalStreamCommandInput, InvokeEndpointWithBidirectionalStreamCommandOutput, SageMakerRuntimeHTTP2ClientResolvedConfig, InvokeEndpointWithBidirectionalStreamCommandInput, InvokeEndpointWithBidirectionalStreamCommandOutput>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Invokes a model endpoint with bidirectional streaming capabilities. This operation establishes a persistent connection that allows you to send multiple requests and receive streaming responses from the model in real-time.</p> <p>Bidirectional streaming is useful for interactive applications such as chatbots, real-time translation, or any scenario where you need to maintain a conversation-like interaction with the model. The connection remains open, allowing you to send additional input and receive responses without establishing a new connection for each request.</p> <p>For an overview of Amazon SageMaker AI, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>.</p> <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. </p> <p>Calls to <code>InvokeEndpointWithBidirectionalStream</code> are authenticated by using Amazon Web Services Signature Version 4. For information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API Reference</i>.</p> <p>The bidirectional stream maintains the connection until either the client closes it or the model indicates completion. Each request and response in the stream is sent as an event with optional headers for data type and completion state.</p> <note> <p>Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but Amazon SageMaker AI determines the account ID from the authentication token that is supplied by the caller.</p> </note>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import type { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SageMakerRuntimeHTTP2ServiceException as __BaseException } from "./SageMakerRuntimeHTTP2ServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
@@ -5,7 +5,7 @@ import type { SageMakerRuntimeHTTP2ClientConfig } from "./SageMakerRuntimeHTTP2C
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
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) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
15
|
region: string | import("@smithy/types").Provider<any>;
|
|
16
|
-
requestHandler: import("@smithy/
|
|
16
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
17
17
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
18
|
sha256: import("@smithy/types").HashConstructor;
|
|
19
19
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,7 @@ import type { SageMakerRuntimeHTTP2ClientConfig } from "./SageMakerRuntimeHTTP2C
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
14
14
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
17
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
18
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
8
8
|
sha256: import("@smithy/types").HashConstructor;
|
|
9
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
9
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
10
10
|
cacheMiddleware?: boolean;
|
|
11
11
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
12
12
|
protocolSettings: {
|
|
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
34
34
|
logger: import("@smithy/types").Logger;
|
|
35
35
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
36
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
37
|
-
defaultsMode: import("@smithy/
|
|
37
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
38
38
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
39
39
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
40
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -11,29 +11,23 @@ import {
|
|
|
11
11
|
UserAgentResolvedConfig,
|
|
12
12
|
} from "@aws-sdk/middleware-user-agent";
|
|
13
13
|
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
14
|
-
import {
|
|
15
|
-
RegionInputConfig,
|
|
16
|
-
RegionResolvedConfig,
|
|
17
|
-
} from "@smithy/config-resolver";
|
|
18
|
-
import {
|
|
19
|
-
EventStreamSerdeInputConfig,
|
|
20
|
-
EventStreamSerdeResolvedConfig,
|
|
21
|
-
} from "@smithy/eventstream-serde-config-resolver";
|
|
22
|
-
import {
|
|
23
|
-
EndpointInputConfig,
|
|
24
|
-
EndpointResolvedConfig,
|
|
25
|
-
} from "@smithy/middleware-endpoint";
|
|
26
|
-
import {
|
|
27
|
-
RetryInputConfig,
|
|
28
|
-
RetryResolvedConfig,
|
|
29
|
-
} from "@smithy/middleware-retry";
|
|
30
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
31
14
|
import {
|
|
32
15
|
DefaultsMode as __DefaultsMode,
|
|
33
16
|
SmithyConfiguration as __SmithyConfiguration,
|
|
34
17
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
18
|
Client as __Client,
|
|
36
|
-
} from "@smithy/
|
|
19
|
+
} from "@smithy/core/client";
|
|
20
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
21
|
+
import {
|
|
22
|
+
EndpointInputConfig,
|
|
23
|
+
EndpointResolvedConfig,
|
|
24
|
+
} from "@smithy/core/endpoints";
|
|
25
|
+
import {
|
|
26
|
+
EventStreamSerdeInputConfig,
|
|
27
|
+
EventStreamSerdeResolvedConfig,
|
|
28
|
+
} from "@smithy/core/event-streams";
|
|
29
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
30
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
37
31
|
import {
|
|
38
32
|
AwsCredentialIdentityProvider,
|
|
39
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
InvokeEndpointWithBidirectionalStreamInput,
|
|
@@ -15,7 +15,7 @@ export interface InvokeEndpointWithBidirectionalStreamCommandOutput
|
|
|
15
15
|
declare const InvokeEndpointWithBidirectionalStreamCommand_base: {
|
|
16
16
|
new (
|
|
17
17
|
input: InvokeEndpointWithBidirectionalStreamCommandInput
|
|
18
|
-
): import("@smithy/
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
19
|
InvokeEndpointWithBidirectionalStreamCommandInput,
|
|
20
20
|
InvokeEndpointWithBidirectionalStreamCommandOutput,
|
|
21
21
|
SageMakerRuntimeHTTP2ClientResolvedConfig,
|
|
@@ -24,14 +24,16 @@ declare const InvokeEndpointWithBidirectionalStreamCommand_base: {
|
|
|
24
24
|
>;
|
|
25
25
|
new (
|
|
26
26
|
input: InvokeEndpointWithBidirectionalStreamCommandInput
|
|
27
|
-
): import("@smithy/
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
28
|
InvokeEndpointWithBidirectionalStreamCommandInput,
|
|
29
29
|
InvokeEndpointWithBidirectionalStreamCommandOutput,
|
|
30
30
|
SageMakerRuntimeHTTP2ClientResolvedConfig,
|
|
31
31
|
InvokeEndpointWithBidirectionalStreamCommandInput,
|
|
32
32
|
InvokeEndpointWithBidirectionalStreamCommandOutput
|
|
33
33
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
35
37
|
};
|
|
36
38
|
export declare class InvokeEndpointWithBidirectionalStreamCommand extends InvokeEndpointWithBidirectionalStreamCommand_base {
|
|
37
39
|
protected static __types: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface SageMakerRuntimeHTTP2ExtensionConfiguration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
3
|
ServiceException as __ServiceException,
|
|
4
|
-
} from "@smithy/
|
|
4
|
+
} from "@smithy/core/client";
|
|
5
5
|
export { __ServiceExceptionOptions };
|
|
6
6
|
export { __ServiceException };
|
|
7
7
|
export declare class SageMakerRuntimeHTTP2ServiceException extends __ServiceException {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SageMakerRuntimeHTTP2ServiceException as __BaseException } from "./SageMakerRuntimeHTTP2ServiceException";
|
|
3
3
|
export declare class InputValidationError extends __BaseException {
|
|
4
4
|
readonly name: "InputValidationError";
|
|
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
|
|
|
5
5
|
) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
-
import("@smithy/
|
|
8
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider:
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
21
21
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
requestHandler:
|
|
24
|
-
| import("@smithy/
|
|
24
|
+
| import("@smithy/core/protocols").HttpHandler<any>
|
|
25
25
|
| RequestHandler;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
27
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
|
|
|
5
5
|
) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
-
import("@smithy/
|
|
8
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -23,7 +23,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
23
|
region: string | import("@smithy/types").Provider<string>;
|
|
24
24
|
requestHandler:
|
|
25
25
|
| RequestHandler
|
|
26
|
-
| import("@smithy/
|
|
26
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
sha256: import("@smithy/types").HashConstructor;
|
|
29
29
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
9
9
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
10
10
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
11
11
|
| Record<string, unknown>
|
|
12
|
-
| import("@smithy/
|
|
12
|
+
| import("@smithy/core/protocols").HttpHandler<any>
|
|
13
13
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
14
14
|
cacheMiddleware?: boolean;
|
|
15
15
|
protocol:
|
|
@@ -50,9 +50,9 @@ export declare const getRuntimeConfig: (
|
|
|
50
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
51
51
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
52
52
|
defaultsMode:
|
|
53
|
-
| import("@smithy/
|
|
53
|
+
| import("@smithy/core/client").DefaultsMode
|
|
54
54
|
| import("@smithy/types").Provider<
|
|
55
|
-
import("@smithy/
|
|
55
|
+
import("@smithy/core/client").DefaultsMode
|
|
56
56
|
>;
|
|
57
57
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
58
|
userAgentAppId?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-runtime-http2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Runtime Http2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1046.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-sagemaker-runtime-http2",
|
|
@@ -25,51 +25,27 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
28
|
-
"@aws-sdk/core": "^3.974.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
28
|
+
"@aws-sdk/core": "^3.974.9",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.40",
|
|
30
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.15",
|
|
31
|
+
"@aws-sdk/middleware-eventstream": "^3.972.11",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
33
33
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
36
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "^3.972.39",
|
|
36
|
+
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
37
37
|
"@aws-sdk/types": "^3.973.8",
|
|
38
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
39
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
41
|
-
"@smithy/
|
|
42
|
-
"@smithy/
|
|
43
|
-
"@smithy/
|
|
44
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.14",
|
|
45
|
-
"@smithy/eventstream-serde-node": "^4.2.14",
|
|
46
|
-
"@smithy/fetch-http-handler": "^5.3.17",
|
|
47
|
-
"@smithy/hash-node": "^4.2.14",
|
|
48
|
-
"@smithy/invalid-dependency": "^4.2.14",
|
|
49
|
-
"@smithy/middleware-content-length": "^4.2.14",
|
|
50
|
-
"@smithy/middleware-endpoint": "^4.4.32",
|
|
51
|
-
"@smithy/middleware-retry": "^4.5.7",
|
|
52
|
-
"@smithy/middleware-serde": "^4.2.20",
|
|
53
|
-
"@smithy/middleware-stack": "^4.2.14",
|
|
54
|
-
"@smithy/node-config-provider": "^4.3.14",
|
|
55
|
-
"@smithy/node-http-handler": "^4.6.1",
|
|
56
|
-
"@smithy/protocol-http": "^5.3.14",
|
|
57
|
-
"@smithy/smithy-client": "^4.12.13",
|
|
38
|
+
"@aws-sdk/util-endpoints": "^3.996.9",
|
|
39
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.11",
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "^3.973.25",
|
|
41
|
+
"@smithy/core": "^3.24.1",
|
|
42
|
+
"@smithy/fetch-http-handler": "^5.4.1",
|
|
43
|
+
"@smithy/node-http-handler": "^4.7.1",
|
|
58
44
|
"@smithy/types": "^4.14.1",
|
|
59
|
-
"@smithy/url-parser": "^4.2.14",
|
|
60
|
-
"@smithy/util-base64": "^4.3.2",
|
|
61
|
-
"@smithy/util-body-length-browser": "^4.2.2",
|
|
62
|
-
"@smithy/util-body-length-node": "^4.2.3",
|
|
63
|
-
"@smithy/util-defaults-mode-browser": "^4.3.49",
|
|
64
|
-
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
65
|
-
"@smithy/util-endpoints": "^3.4.2",
|
|
66
|
-
"@smithy/util-middleware": "^4.2.14",
|
|
67
|
-
"@smithy/util-retry": "^4.3.6",
|
|
68
|
-
"@smithy/util-utf8": "^4.2.2",
|
|
69
45
|
"tslib": "^2.6.2"
|
|
70
46
|
},
|
|
71
47
|
"devDependencies": {
|
|
72
|
-
"@smithy/snapshot-testing": "^2.
|
|
48
|
+
"@smithy/snapshot-testing": "^2.1.1",
|
|
73
49
|
"@tsconfig/node20": "20.1.8",
|
|
74
50
|
"@types/node": "^20.14.8",
|
|
75
51
|
"concurrently": "7.0.0",
|