@aws-sdk/client-sagemaker-runtime 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.
Files changed (44) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +24 -25
  5. package/dist-cjs/models/SageMakerRuntimeServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +14 -16
  7. package/dist-cjs/runtimeConfig.js +20 -24
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/SageMakerRuntime.js +1 -1
  10. package/dist-es/SageMakerRuntimeClient.js +6 -6
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/InvokeEndpointAsyncCommand.js +2 -2
  13. package/dist-es/commands/InvokeEndpointCommand.js +2 -2
  14. package/dist-es/commands/InvokeEndpointWithResponseStreamCommand.js +2 -2
  15. package/dist-es/endpoint/bdd.js +1 -1
  16. package/dist-es/endpoint/endpointResolver.js +1 -1
  17. package/dist-es/models/SageMakerRuntimeServiceException.js +1 -1
  18. package/dist-es/runtimeConfig.browser.js +5 -7
  19. package/dist-es/runtimeConfig.js +5 -9
  20. package/dist-es/runtimeConfig.shared.js +3 -4
  21. package/dist-es/runtimeExtensions.js +2 -2
  22. package/dist-types/SageMakerRuntimeClient.d.ts +6 -6
  23. package/dist-types/commands/InvokeEndpointAsyncCommand.d.ts +6 -4
  24. package/dist-types/commands/InvokeEndpointCommand.d.ts +7 -5
  25. package/dist-types/commands/InvokeEndpointWithResponseStreamCommand.d.ts +6 -4
  26. package/dist-types/endpoint/bdd.d.ts +1 -1
  27. package/dist-types/extensionConfiguration.d.ts +1 -1
  28. package/dist-types/models/SageMakerRuntimeServiceException.d.ts +1 -1
  29. package/dist-types/models/errors.d.ts +1 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  31. package/dist-types/runtimeConfig.d.ts +2 -2
  32. package/dist-types/runtimeConfig.native.d.ts +2 -2
  33. package/dist-types/ts3.4/SageMakerRuntimeClient.d.ts +12 -18
  34. package/dist-types/ts3.4/commands/InvokeEndpointAsyncCommand.d.ts +6 -4
  35. package/dist-types/ts3.4/commands/InvokeEndpointCommand.d.ts +7 -5
  36. package/dist-types/ts3.4/commands/InvokeEndpointWithResponseStreamCommand.d.ts +6 -4
  37. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  38. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  39. package/dist-types/ts3.4/models/SageMakerRuntimeServiceException.d.ts +1 -1
  40. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  44. package/package.json +13 -38
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveHttpAuthSchemeConfig = exports.defaultSageMakerRuntimeHttpAuthSchemeProvider = exports.defaultSageMakerRuntimeHttpAuthSchemeParametersProvider = void 0;
4
4
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
- const util_middleware_1 = require("@smithy/util-middleware");
5
+ const client_1 = require("@smithy/core/client");
6
6
  const defaultSageMakerRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
- operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
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.defaultSageMakerRuntimeHttpAuthSchemeProvider = defaultSageMakerRuntimeH
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, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
43
+ authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
44
44
  });
45
45
  };
46
46
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.bdd = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
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 = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
7
7
  const _data = {
@@ -52,4 +52,4 @@ const nodes = new Int32Array([
52
52
  3, r + 1, 15,
53
53
  4, r + 2, r + 3,
54
54
  ]);
55
- exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
55
+ 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 util_endpoints_2 = require("@smithy/util-endpoints");
5
+ const endpoints_1 = require("@smithy/core/endpoints");
6
6
  const bdd_1 = require("./bdd");
7
- const cache = new util_endpoints_2.EndpointCache({
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, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
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
- util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
18
+ endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -4,18 +4,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var eventStreams = require('@smithy/core/event-streams');
12
+ var protocols = require('@smithy/core/protocols');
13
+ var retry = require('@smithy/core/retry');
9
14
  var schema = require('@smithy/core/schema');
10
- var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
11
- var middlewareContentLength = require('@smithy/middleware-content-length');
12
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
13
- var middlewareRetry = require('@smithy/middleware-retry');
14
- var smithyClient = require('@smithy/smithy-client');
15
15
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
16
16
  var runtimeConfig = require('./runtimeConfig');
17
17
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
18
- var protocolHttp = require('@smithy/protocol-http');
19
18
  var schemas_0 = require('./schemas/schemas_0');
20
19
  var errors = require('./models/errors');
21
20
  var SageMakerRuntimeServiceException = require('./models/SageMakerRuntimeServiceException');
@@ -74,12 +73,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
74
73
  };
75
74
 
76
75
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
77
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
78
77
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
79
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
80
79
  };
81
80
 
82
- class SageMakerRuntimeClient extends smithyClient.Client {
81
+ class SageMakerRuntimeClient extends client.Client {
83
82
  config;
84
83
  constructor(...[configuration]) {
85
84
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -87,18 +86,18 @@ class SageMakerRuntimeClient extends smithyClient.Client {
87
86
  this.initConfig = _config_0;
88
87
  const _config_1 = resolveClientEndpointParameters(_config_0);
89
88
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
90
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
91
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_3 = retry.resolveRetryConfig(_config_2);
90
+ const _config_4 = config.resolveRegionConfig(_config_3);
92
91
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
93
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
94
- const _config_7 = eventstreamSerdeConfigResolver.resolveEventStreamSerdeConfig(_config_6);
92
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
93
+ const _config_7 = eventStreams.resolveEventStreamSerdeConfig(_config_6);
95
94
  const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
96
95
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
97
96
  this.config = _config_9;
98
97
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
99
98
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
100
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
101
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
99
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
100
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
102
101
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
103
102
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
104
103
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -115,11 +114,11 @@ class SageMakerRuntimeClient extends smithyClient.Client {
115
114
  }
116
115
  }
117
116
 
118
- class InvokeEndpointAsyncCommand extends smithyClient.Command
117
+ class InvokeEndpointAsyncCommand extends client.Command
119
118
  .classBuilder()
120
119
  .ep(commonParams)
121
120
  .m(function (Command, cs, config, o) {
122
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
123
122
  })
124
123
  .s("AmazonSageMakerRuntime", "InvokeEndpointAsync", {})
125
124
  .n("SageMakerRuntimeClient", "InvokeEndpointAsyncCommand")
@@ -127,11 +126,11 @@ class InvokeEndpointAsyncCommand extends smithyClient.Command
127
126
  .build() {
128
127
  }
129
128
 
130
- class InvokeEndpointCommand extends smithyClient.Command
129
+ class InvokeEndpointCommand extends client.Command
131
130
  .classBuilder()
132
131
  .ep(commonParams)
133
132
  .m(function (Command, cs, config, o) {
134
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
133
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
135
134
  })
136
135
  .s("AmazonSageMakerRuntime", "InvokeEndpoint", {})
137
136
  .n("SageMakerRuntimeClient", "InvokeEndpointCommand")
@@ -139,11 +138,11 @@ class InvokeEndpointCommand extends smithyClient.Command
139
138
  .build() {
140
139
  }
141
140
 
142
- class InvokeEndpointWithResponseStreamCommand extends smithyClient.Command
141
+ class InvokeEndpointWithResponseStreamCommand extends client.Command
143
142
  .classBuilder()
144
143
  .ep(commonParams)
145
144
  .m(function (Command, cs, config, o) {
146
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
147
146
  })
148
147
  .s("AmazonSageMakerRuntime", "InvokeEndpointWithResponseStream", {
149
148
  eventStream: {
@@ -162,10 +161,10 @@ const commands = {
162
161
  };
163
162
  class SageMakerRuntime extends SageMakerRuntimeClient {
164
163
  }
165
- smithyClient.createAggregatedClient(commands, SageMakerRuntime);
164
+ client.createAggregatedClient(commands, SageMakerRuntime);
166
165
 
167
- exports.$Command = smithyClient.Command;
168
- exports.__Client = smithyClient.Client;
166
+ exports.$Command = client.Command;
167
+ exports.__Client = client.Client;
169
168
  exports.SageMakerRuntimeServiceException = SageMakerRuntimeServiceException.SageMakerRuntimeServiceException;
170
169
  exports.InvokeEndpointAsyncCommand = InvokeEndpointAsyncCommand;
171
170
  exports.InvokeEndpointCommand = InvokeEndpointCommand;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SageMakerRuntimeServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SageMakerRuntimeServiceException extends smithy_client_1.ServiceException {
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
+ class SageMakerRuntimeServiceException extends client_1.ServiceException {
7
7
  constructor(options) {
8
8
  super(options);
9
9
  Object.setPrototypeOf(this, SageMakerRuntimeServiceException.prototype);
@@ -5,36 +5,34 @@ 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 config_resolver_1 = require("@smithy/config-resolver");
9
- const eventstream_serde_browser_1 = require("@smithy/eventstream-serde-browser");
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, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
19
- const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
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 ?? util_body_length_browser_1.calculateBodyLength,
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
- eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider,
30
- maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
31
- region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
27
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
28
+ maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
29
+ region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
32
30
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
33
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
31
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
34
32
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
35
33
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
36
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
37
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
34
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
38
36
  };
39
37
  };
40
38
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -7,21 +7,17 @@ const client_1 = require("@aws-sdk/core/client");
7
7
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
9
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
10
- const config_resolver_1 = require("@smithy/config-resolver");
11
- const eventstream_serde_node_1 = require("@smithy/eventstream-serde-node");
12
- const hash_node_1 = require("@smithy/hash-node");
13
- const middleware_retry_1 = require("@smithy/middleware-retry");
14
- const node_config_provider_1 = require("@smithy/node-config-provider");
10
+ const client_2 = require("@smithy/core/client");
11
+ const config_1 = require("@smithy/core/config");
12
+ const event_streams_1 = require("@smithy/core/event-streams");
13
+ const retry_1 = require("@smithy/core/retry");
14
+ const serde_1 = require("@smithy/core/serde");
15
15
  const node_http_handler_1 = require("@smithy/node-http-handler");
16
- const smithy_client_1 = require("@smithy/smithy-client");
17
- const util_body_length_node_1 = require("@smithy/util-body-length-node");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const util_retry_1 = require("@smithy/util-retry");
20
16
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
21
17
  const getRuntimeConfig = (config) => {
22
- (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
23
- const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
24
- const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
+ (0, client_2.emitWarningIfUnsupportedVersion)(process.version);
19
+ const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
20
+ const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
25
21
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
26
22
  (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
27
23
  const loaderConfig = {
@@ -33,24 +29,24 @@ const getRuntimeConfig = (config) => {
33
29
  ...config,
34
30
  runtime: "node",
35
31
  defaultsMode,
36
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
37
- bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
32
+ authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
33
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
38
34
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
39
35
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
40
- eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,
41
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
42
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
37
+ maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
38
+ region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
43
39
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
44
40
  retryMode: config?.retryMode ??
45
- (0, node_config_provider_1.loadConfig)({
46
- ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
47
- default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
41
+ (0, config_1.loadConfig)({
42
+ ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
43
+ default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
48
44
  }, config),
49
- sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
45
+ sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
50
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
51
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
52
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
53
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
54
50
  };
55
51
  };
56
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -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 smithy_client_1 = require("@smithy/smithy-client");
7
- const url_parser_1 = require("@smithy/url-parser");
8
- const util_base64_1 = require("@smithy/util-base64");
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: "2017-05-13",
16
- base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
17
- base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
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 smithy_client_1.NoOpLogger(),
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.sagemakerruntime",
@@ -35,9 +34,9 @@ const getRuntimeConfig = (config) => {
35
34
  serviceTarget: "AmazonSageMakerRuntime",
36
35
  },
37
36
  serviceId: config?.serviceId ?? "SageMaker Runtime",
38
- urlParser: config?.urlParser ?? url_parser_1.parseUrl,
39
- utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
40
- utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
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/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { InvokeEndpointAsyncCommand, } from "./commands/InvokeEndpointAsyncCommand";
3
3
  import { InvokeEndpointCommand, } from "./commands/InvokeEndpointCommand";
4
4
  import { InvokeEndpointWithResponseStreamCommand, } from "./commands/InvokeEndpointWithResponseStreamCommand";
@@ -2,14 +2,14 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
2
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
- import { resolveRegionConfig } from "@smithy/config-resolver";
6
5
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
6
+ import { Client as __Client, } from "@smithy/core/client";
7
+ import { resolveRegionConfig } from "@smithy/core/config";
8
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
9
+ import { resolveEventStreamSerdeConfig, } from "@smithy/core/event-streams";
10
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
11
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
7
12
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
- import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
9
- import { getContentLengthPlugin } from "@smithy/middleware-content-length";
10
- import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
11
- import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
12
- import { Client as __Client, } from "@smithy/smithy-client";
13
13
  import { defaultSageMakerRuntimeHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
14
14
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
15
15
  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/util-middleware";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
3
3
  export const defaultSageMakerRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { InvokeEndpointAsync$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { InvokeEndpoint$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { InvokeEndpointWithResponseStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,4 +1,4 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const m = "ref";
3
3
  const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, 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/util-endpoints";
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/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class SageMakerRuntimeServiceException 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 { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
- import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-browser";
4
+ import { 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 { 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);
@@ -3,16 +3,12 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
- import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-node";
8
- import { Hash } from "@smithy/hash-node";
9
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
10
- import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
6
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
+ 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";
8
+ import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
9
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
10
+ import { calculateBodyLength, Hash } from "@smithy/core/serde";
11
11
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
12
- import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
13
- import { calculateBodyLength } from "@smithy/util-body-length-node";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
16
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
17
13
  export const getRuntimeConfig = (config) => {
18
14
  emitWarningIfUnsupportedVersion(process.version);
@@ -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/smithy-client";
4
- import { parseUrl } from "@smithy/url-parser";
5
- import { fromBase64, toBase64 } from "@smithy/util-base64";
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 { defaultSageMakerRuntimeHttpAuthSchemeProvider } 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 { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
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));
@@ -1,11 +1,11 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
5
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
6
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
7
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
8
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/core/event-streams";
7
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
8
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
9
9
  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";
10
10
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
11
  import type { InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput } from "./commands/InvokeEndpointAsyncCommand";
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { InvokeEndpointAsyncInput, InvokeEndpointAsyncOutput } from "../models/models_0";
4
4
  import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
@@ -22,9 +22,11 @@ export interface InvokeEndpointAsyncCommandInput extends InvokeEndpointAsyncInpu
22
22
  export interface InvokeEndpointAsyncCommandOutput extends InvokeEndpointAsyncOutput, __MetadataBearer {
23
23
  }
24
24
  declare const InvokeEndpointAsyncCommand_base: {
25
- new (input: InvokeEndpointAsyncCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: InvokeEndpointAsyncCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: InvokeEndpointAsyncCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: InvokeEndpointAsyncCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>After you deploy a model into production using Amazon SageMaker AI hosting services,
@@ -1,6 +1,6 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
2
3
  import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
4
4
  import type { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
5
5
  import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
6
6
  /**
@@ -35,9 +35,11 @@ export type InvokeEndpointCommandOutputType = Omit<InvokeEndpointOutput, "Body">
35
35
  export interface InvokeEndpointCommandOutput extends InvokeEndpointCommandOutputType, __MetadataBearer {
36
36
  }
37
37
  declare const InvokeEndpointCommand_base: {
38
- new (input: InvokeEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeEndpointCommandInput, InvokeEndpointCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
39
- new (input: InvokeEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeEndpointCommandInput, InvokeEndpointCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
40
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ new (input: InvokeEndpointCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointCommandInput, InvokeEndpointCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
39
+ new (input: InvokeEndpointCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointCommandInput, InvokeEndpointCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
40
+ getEndpointParameterInstructions(): {
41
+ [x: string]: unknown;
42
+ };
41
43
  };
42
44
  /**
43
45
  * <p>After you deploy a model into production using Amazon SageMaker AI hosting services,
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { InvokeEndpointWithResponseStreamInput, InvokeEndpointWithResponseStreamOutput } from "../models/models_0";
4
4
  import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
@@ -28,9 +28,11 @@ export interface InvokeEndpointWithResponseStreamCommandInput extends InvokeEndp
28
28
  export interface InvokeEndpointWithResponseStreamCommandOutput extends InvokeEndpointWithResponseStreamOutput, __MetadataBearer {
29
29
  }
30
30
  declare const InvokeEndpointWithResponseStreamCommand_base: {
31
- new (input: InvokeEndpointWithResponseStreamCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
32
- new (input: InvokeEndpointWithResponseStreamCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
31
+ new (input: InvokeEndpointWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
32
+ new (input: InvokeEndpointWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ getEndpointParameterInstructions(): {
34
+ [x: string]: unknown;
35
+ };
34
36
  };
35
37
  /**
36
38
  * <p>Invokes a model at the specified endpoint to return the inference response as a
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
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/protocol-http";
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/smithy-client";
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/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { SageMakerRuntimeServiceException as __BaseException } from "./SageMakerRuntimeServiceException";
3
3
  /**
4
4
  * <p>Your request caused an exception with an internal dependency. Contact customer
@@ -5,14 +5,14 @@ import type { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
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>;
12
12
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  region: string | import("@smithy/types").Provider<any>;
15
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
17
  sha256: import("@smithy/types").HashConstructor;
18
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,7 @@ import type { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
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);
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
13
13
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
14
14
  maxAttempts: number | import("@smithy/types").Provider<number>;
15
15
  region: string | import("@smithy/types").Provider<string>;
16
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
16
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
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 { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
5
5
  export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  cacheMiddleware?: boolean;
10
10
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
11
11
  protocolSettings: {
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
33
33
  logger: import("@smithy/types").Logger;
34
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
35
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
36
- defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
36
+ defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
37
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
38
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
39
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -6,29 +6,23 @@ import {
6
6
  UserAgentInputConfig,
7
7
  UserAgentResolvedConfig,
8
8
  } from "@aws-sdk/middleware-user-agent";
9
- import {
10
- RegionInputConfig,
11
- RegionResolvedConfig,
12
- } from "@smithy/config-resolver";
13
- import {
14
- EventStreamSerdeInputConfig,
15
- EventStreamSerdeResolvedConfig,
16
- } from "@smithy/eventstream-serde-config-resolver";
17
- import {
18
- EndpointInputConfig,
19
- EndpointResolvedConfig,
20
- } from "@smithy/middleware-endpoint";
21
- import {
22
- RetryInputConfig,
23
- RetryResolvedConfig,
24
- } from "@smithy/middleware-retry";
25
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
26
9
  import {
27
10
  DefaultsMode as __DefaultsMode,
28
11
  SmithyConfiguration as __SmithyConfiguration,
29
12
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
30
13
  Client as __Client,
31
- } from "@smithy/smithy-client";
14
+ } from "@smithy/core/client";
15
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
16
+ import {
17
+ EndpointInputConfig,
18
+ EndpointResolvedConfig,
19
+ } from "@smithy/core/endpoints";
20
+ import {
21
+ EventStreamSerdeInputConfig,
22
+ EventStreamSerdeResolvedConfig,
23
+ } from "@smithy/core/event-streams";
24
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
25
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
32
26
  import {
33
27
  AwsCredentialIdentityProvider,
34
28
  BodyLengthCalculator as __BodyLengthCalculator,
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  InvokeEndpointAsyncInput,
@@ -19,7 +19,7 @@ export interface InvokeEndpointAsyncCommandOutput
19
19
  declare const InvokeEndpointAsyncCommand_base: {
20
20
  new (
21
21
  input: InvokeEndpointAsyncCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  InvokeEndpointAsyncCommandInput,
24
24
  InvokeEndpointAsyncCommandOutput,
25
25
  SageMakerRuntimeClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const InvokeEndpointAsyncCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: InvokeEndpointAsyncCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  InvokeEndpointAsyncCommandInput,
33
33
  InvokeEndpointAsyncCommandOutput,
34
34
  SageMakerRuntimeClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class InvokeEndpointAsyncCommand extends InvokeEndpointAsyncCommand_base {
41
43
  protected static __types: {
@@ -1,9 +1,9 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
2
3
  import {
3
4
  BlobPayloadInputTypes,
4
5
  MetadataBearer as __MetadataBearer,
5
6
  } from "@smithy/types";
6
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
7
7
  import { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
8
8
  import {
9
9
  SageMakerRuntimeClientResolvedConfig,
@@ -32,7 +32,7 @@ export interface InvokeEndpointCommandOutput
32
32
  declare const InvokeEndpointCommand_base: {
33
33
  new (
34
34
  input: InvokeEndpointCommandInput
35
- ): import("@smithy/smithy-client").CommandImpl<
35
+ ): import("@smithy/core/client").CommandImpl<
36
36
  InvokeEndpointCommandInput,
37
37
  InvokeEndpointCommandOutput,
38
38
  SageMakerRuntimeClientResolvedConfig,
@@ -41,14 +41,16 @@ declare const InvokeEndpointCommand_base: {
41
41
  >;
42
42
  new (
43
43
  input: InvokeEndpointCommandInput
44
- ): import("@smithy/smithy-client").CommandImpl<
44
+ ): import("@smithy/core/client").CommandImpl<
45
45
  InvokeEndpointCommandInput,
46
46
  InvokeEndpointCommandOutput,
47
47
  SageMakerRuntimeClientResolvedConfig,
48
48
  ServiceInputTypes,
49
49
  ServiceOutputTypes
50
50
  >;
51
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
51
+ getEndpointParameterInstructions(): {
52
+ [x: string]: unknown;
53
+ };
52
54
  };
53
55
  export declare class InvokeEndpointCommand extends InvokeEndpointCommand_base {
54
56
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import {
3
3
  BlobPayloadInputTypes,
4
4
  MetadataBearer as __MetadataBearer,
@@ -28,7 +28,7 @@ export interface InvokeEndpointWithResponseStreamCommandOutput
28
28
  declare const InvokeEndpointWithResponseStreamCommand_base: {
29
29
  new (
30
30
  input: InvokeEndpointWithResponseStreamCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  InvokeEndpointWithResponseStreamCommandInput,
33
33
  InvokeEndpointWithResponseStreamCommandOutput,
34
34
  SageMakerRuntimeClientResolvedConfig,
@@ -37,14 +37,16 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
37
37
  >;
38
38
  new (
39
39
  input: InvokeEndpointWithResponseStreamCommandInput
40
- ): import("@smithy/smithy-client").CommandImpl<
40
+ ): import("@smithy/core/client").CommandImpl<
41
41
  InvokeEndpointWithResponseStreamCommandInput,
42
42
  InvokeEndpointWithResponseStreamCommandOutput,
43
43
  SageMakerRuntimeClientResolvedConfig,
44
44
  ServiceInputTypes,
45
45
  ServiceOutputTypes
46
46
  >;
47
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
47
+ getEndpointParameterInstructions(): {
48
+ [x: string]: unknown;
49
+ };
48
50
  };
49
51
  export declare class InvokeEndpointWithResponseStreamCommand extends InvokeEndpointWithResponseStreamCommand_base {
50
52
  protected static __types: {
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
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/protocol-http";
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 SageMakerRuntimeExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class SageMakerRuntimeServiceException extends __ServiceException {
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { SageMakerRuntimeServiceException as __BaseException } from "./SageMakerRuntimeServiceException";
3
3
  export declare class InternalDependencyException extends __BaseException {
4
4
  readonly name: "InternalDependencyException";
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
5
5
  ) => {
6
6
  runtime: string;
7
7
  defaultsMode: import("@smithy/types").Provider<
8
- import("@smithy/smithy-client").ResolvedDefaultsMode
8
+ import("@smithy/core/client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider:
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (
20
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
21
  region: string | import("@smithy/types").Provider<any>;
22
22
  requestHandler:
23
- | import("@smithy/protocol-http").HttpHandler<any>
23
+ | import("@smithy/core/protocols").HttpHandler<any>
24
24
  | RequestHandler;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
26
  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/smithy-client").ResolvedDefaultsMode
8
+ import("@smithy/core/client").ResolvedDefaultsMode
9
9
  >;
10
10
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (
22
22
  region: string | import("@smithy/types").Provider<string>;
23
23
  requestHandler:
24
24
  | RequestHandler
25
- | import("@smithy/protocol-http").HttpHandler<any>;
25
+ | import("@smithy/core/protocols").HttpHandler<any>;
26
26
  retryMode: string | import("@smithy/types").Provider<string>;
27
27
  sha256: import("@smithy/types").HashConstructor;
28
28
  streamCollector: import("@smithy/types").StreamCollector;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (
8
8
  | import("@smithy/types").NodeHttpHandlerOptions
9
9
  | import("@smithy/types").FetchHttpHandlerOptions
10
10
  | Record<string, unknown>
11
- | import("@smithy/protocol-http").HttpHandler<any>
11
+ | import("@smithy/core/protocols").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  cacheMiddleware?: boolean;
14
14
  protocol:
@@ -49,9 +49,9 @@ export declare const getRuntimeConfig: (
49
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
50
50
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
51
51
  defaultsMode:
52
- | import("@smithy/smithy-client").DefaultsMode
52
+ | import("@smithy/core/client").DefaultsMode
53
53
  | import("@smithy/types").Provider<
54
- import("@smithy/smithy-client").DefaultsMode
54
+ import("@smithy/core/client").DefaultsMode
55
55
  >;
56
56
  customUserAgent?: string | import("@smithy/types").UserAgent;
57
57
  userAgentAppId?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-runtime",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.1045.0",
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",
@@ -21,46 +21,21 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.8",
25
- "@aws-sdk/credential-provider-node": "^3.972.39",
26
- "@aws-sdk/middleware-host-header": "^3.972.10",
24
+ "@aws-sdk/core": "^3.974.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.40",
26
+ "@aws-sdk/middleware-host-header": "^3.972.11",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.38",
30
- "@aws-sdk/region-config-resolver": "^3.972.13",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.39",
30
+ "@aws-sdk/region-config-resolver": "^3.972.14",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.8",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.24",
35
- "@smithy/config-resolver": "^4.4.17",
36
- "@smithy/core": "^3.23.17",
37
- "@smithy/eventstream-serde-browser": "^4.2.14",
38
- "@smithy/eventstream-serde-config-resolver": "^4.3.14",
39
- "@smithy/eventstream-serde-node": "^4.2.14",
40
- "@smithy/fetch-http-handler": "^5.3.17",
41
- "@smithy/hash-node": "^4.2.14",
42
- "@smithy/invalid-dependency": "^4.2.14",
43
- "@smithy/middleware-content-length": "^4.2.14",
44
- "@smithy/middleware-endpoint": "^4.4.32",
45
- "@smithy/middleware-retry": "^4.5.7",
46
- "@smithy/middleware-serde": "^4.2.20",
47
- "@smithy/middleware-stack": "^4.2.14",
48
- "@smithy/node-config-provider": "^4.3.14",
49
- "@smithy/node-http-handler": "^4.6.1",
50
- "@smithy/protocol-http": "^5.3.14",
51
- "@smithy/smithy-client": "^4.12.13",
32
+ "@aws-sdk/util-endpoints": "^3.996.9",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.11",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.25",
35
+ "@smithy/core": "^3.24.1",
36
+ "@smithy/fetch-http-handler": "^5.4.1",
37
+ "@smithy/node-http-handler": "^4.7.1",
52
38
  "@smithy/types": "^4.14.1",
53
- "@smithy/url-parser": "^4.2.14",
54
- "@smithy/util-base64": "^4.3.2",
55
- "@smithy/util-body-length-browser": "^4.2.2",
56
- "@smithy/util-body-length-node": "^4.2.3",
57
- "@smithy/util-defaults-mode-browser": "^4.3.49",
58
- "@smithy/util-defaults-mode-node": "^4.2.54",
59
- "@smithy/util-endpoints": "^3.4.2",
60
- "@smithy/util-middleware": "^4.2.14",
61
- "@smithy/util-retry": "^4.3.6",
62
- "@smithy/util-stream": "^4.5.25",
63
- "@smithy/util-utf8": "^4.2.2",
64
39
  "tslib": "^2.6.2"
65
40
  },
66
41
  "devDependencies": {