@aws-sdk/client-machine-learning
Advanced tools
Comparing version
@@ -43,6 +43,4 @@ "use strict"; | ||
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); | ||
return { | ||
...config_0, | ||
}; | ||
return Object.assign(config_0, {}); | ||
}; | ||
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; |
@@ -38,5 +38,3 @@ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core"; | ||
const config_0 = resolveAwsSdkSigV4Config(config); | ||
return { | ||
...config_0, | ||
}; | ||
return Object.assign(config_0, {}); | ||
}; |
export const resolveClientEndpointParameters = (options) => { | ||
return { | ||
...options, | ||
return Object.assign(options, { | ||
useDualstackEndpoint: options.useDualstackEndpoint ?? false, | ||
useFipsEndpoint: options.useFipsEndpoint ?? false, | ||
defaultSigningName: "machinelearning", | ||
}; | ||
}); | ||
}; | ||
@@ -9,0 +8,0 @@ export const commonParams = { |
@@ -20,2 +20,4 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; | ||
const _config_0 = __getRuntimeConfig(configuration || {}); | ||
super(_config_0); | ||
this.initConfig = _config_0; | ||
const _config_1 = resolveClientEndpointParameters(_config_0); | ||
@@ -29,3 +31,2 @@ const _config_2 = resolveUserAgentConfig(_config_1); | ||
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); | ||
super(_config_8); | ||
this.config = _config_8; | ||
@@ -32,0 +33,0 @@ this.middlewareStack.use(getUserAgentPlugin(this.config)); |
@@ -5,18 +5,6 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; | ||
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; | ||
const asPartial = (t) => t; | ||
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { | ||
const extensionConfiguration = { | ||
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)), | ||
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)), | ||
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)), | ||
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)), | ||
}; | ||
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); | ||
extensions.forEach((extension) => extension.configure(extensionConfiguration)); | ||
return { | ||
...runtimeConfig, | ||
...resolveAwsRegionExtensionConfiguration(extensionConfiguration), | ||
...resolveDefaultRuntimeConfig(extensionConfiguration), | ||
...resolveHttpHandlerRuntimeConfig(extensionConfiguration), | ||
...resolveHttpAuthRuntimeConfig(extensionConfiguration), | ||
}; | ||
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); | ||
}; |
{ | ||
"name": "@aws-sdk/client-machine-learning", | ||
"description": "AWS SDK for JavaScript Machine Learning Client for Node.js, Browser and React Native", | ||
"version": "3.774.0", | ||
"version": "3.775.0", | ||
"scripts": { | ||
@@ -23,40 +23,40 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "5.2.0", | ||
"@aws-sdk/core": "3.774.0", | ||
"@aws-sdk/credential-provider-node": "3.774.0", | ||
"@aws-sdk/middleware-host-header": "3.774.0", | ||
"@aws-sdk/middleware-logger": "3.734.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.772.0", | ||
"@aws-sdk/middleware-sdk-machinelearning": "3.734.0", | ||
"@aws-sdk/middleware-user-agent": "3.774.0", | ||
"@aws-sdk/region-config-resolver": "3.734.0", | ||
"@aws-sdk/types": "3.734.0", | ||
"@aws-sdk/util-endpoints": "3.743.0", | ||
"@aws-sdk/util-user-agent-browser": "3.734.0", | ||
"@aws-sdk/util-user-agent-node": "3.774.0", | ||
"@smithy/config-resolver": "^4.0.1", | ||
"@smithy/core": "^3.1.5", | ||
"@smithy/fetch-http-handler": "^5.0.1", | ||
"@smithy/hash-node": "^4.0.1", | ||
"@smithy/invalid-dependency": "^4.0.1", | ||
"@smithy/middleware-content-length": "^4.0.1", | ||
"@smithy/middleware-endpoint": "^4.0.6", | ||
"@smithy/middleware-retry": "^4.0.7", | ||
"@smithy/middleware-serde": "^4.0.2", | ||
"@smithy/middleware-stack": "^4.0.1", | ||
"@smithy/node-config-provider": "^4.0.1", | ||
"@smithy/node-http-handler": "^4.0.3", | ||
"@smithy/protocol-http": "^5.0.1", | ||
"@smithy/smithy-client": "^4.1.6", | ||
"@smithy/types": "^4.1.0", | ||
"@smithy/url-parser": "^4.0.1", | ||
"@aws-sdk/core": "3.775.0", | ||
"@aws-sdk/credential-provider-node": "3.775.0", | ||
"@aws-sdk/middleware-host-header": "3.775.0", | ||
"@aws-sdk/middleware-logger": "3.775.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.775.0", | ||
"@aws-sdk/middleware-sdk-machinelearning": "3.775.0", | ||
"@aws-sdk/middleware-user-agent": "3.775.0", | ||
"@aws-sdk/region-config-resolver": "3.775.0", | ||
"@aws-sdk/types": "3.775.0", | ||
"@aws-sdk/util-endpoints": "3.775.0", | ||
"@aws-sdk/util-user-agent-browser": "3.775.0", | ||
"@aws-sdk/util-user-agent-node": "3.775.0", | ||
"@smithy/config-resolver": "^4.1.0", | ||
"@smithy/core": "^3.2.0", | ||
"@smithy/fetch-http-handler": "^5.0.2", | ||
"@smithy/hash-node": "^4.0.2", | ||
"@smithy/invalid-dependency": "^4.0.2", | ||
"@smithy/middleware-content-length": "^4.0.2", | ||
"@smithy/middleware-endpoint": "^4.1.0", | ||
"@smithy/middleware-retry": "^4.1.0", | ||
"@smithy/middleware-serde": "^4.0.3", | ||
"@smithy/middleware-stack": "^4.0.2", | ||
"@smithy/node-config-provider": "^4.0.2", | ||
"@smithy/node-http-handler": "^4.0.4", | ||
"@smithy/protocol-http": "^5.1.0", | ||
"@smithy/smithy-client": "^4.2.0", | ||
"@smithy/types": "^4.2.0", | ||
"@smithy/url-parser": "^4.0.2", | ||
"@smithy/util-base64": "^4.0.0", | ||
"@smithy/util-body-length-browser": "^4.0.0", | ||
"@smithy/util-body-length-node": "^4.0.0", | ||
"@smithy/util-defaults-mode-browser": "^4.0.7", | ||
"@smithy/util-defaults-mode-node": "^4.0.7", | ||
"@smithy/util-endpoints": "^3.0.1", | ||
"@smithy/util-middleware": "^4.0.1", | ||
"@smithy/util-retry": "^4.0.1", | ||
"@smithy/util-defaults-mode-browser": "^4.0.8", | ||
"@smithy/util-defaults-mode-node": "^4.0.8", | ||
"@smithy/util-endpoints": "^3.0.2", | ||
"@smithy/util-middleware": "^4.0.2", | ||
"@smithy/util-retry": "^4.0.2", | ||
"@smithy/util-utf8": "^4.0.0", | ||
"@smithy/util-waiter": "^4.0.2", | ||
"@smithy/util-waiter": "^4.0.3", | ||
"tslib": "^2.6.2" | ||
@@ -63,0 +63,0 @@ }, |
Sorry, the diff of this file is too big to display
733349
-0.03%16052
-0.1%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated