@aws-sdk/client-sagemaker-runtime 3.758.0 → 3.774.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +12 -19
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
InternalDependencyException: () => InternalDependencyException,
|
|
25
25
|
InternalFailure: () => InternalFailure,
|
|
26
26
|
InternalStreamFailure: () => InternalStreamFailure,
|
|
@@ -45,7 +45,7 @@ __export(src_exports, {
|
|
|
45
45
|
ValidationError: () => ValidationError,
|
|
46
46
|
__Client: () => import_smithy_client.Client
|
|
47
47
|
});
|
|
48
|
-
module.exports = __toCommonJS(
|
|
48
|
+
module.exports = __toCommonJS(index_exports);
|
|
49
49
|
|
|
50
50
|
// src/SageMakerRuntimeClient.ts
|
|
51
51
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -174,9 +174,9 @@ var SageMakerRuntimeClient = class extends import_smithy_client.Client {
|
|
|
174
174
|
this.middlewareStack.use(
|
|
175
175
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
176
176
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSageMakerRuntimeHttpAuthSchemeParametersProvider,
|
|
177
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
177
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
178
178
|
"aws.auth#sigv4": config.credentials
|
|
179
|
-
})
|
|
179
|
+
}), "identityProviderConfigProvider")
|
|
180
180
|
})
|
|
181
181
|
);
|
|
182
182
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -417,12 +417,9 @@ var ModelStreamError = class _ModelStreamError extends SageMakerRuntimeServiceEx
|
|
|
417
417
|
var ResponseStream;
|
|
418
418
|
((ResponseStream3) => {
|
|
419
419
|
ResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
420
|
-
if (value.PayloadPart !== void 0)
|
|
421
|
-
|
|
422
|
-
if (value.
|
|
423
|
-
return visitor.ModelStreamError(value.ModelStreamError);
|
|
424
|
-
if (value.InternalStreamFailure !== void 0)
|
|
425
|
-
return visitor.InternalStreamFailure(value.InternalStreamFailure);
|
|
420
|
+
if (value.PayloadPart !== void 0) return visitor.PayloadPart(value.PayloadPart);
|
|
421
|
+
if (value.ModelStreamError !== void 0) return visitor.ModelStreamError(value.ModelStreamError);
|
|
422
|
+
if (value.InternalStreamFailure !== void 0) return visitor.InternalStreamFailure(value.InternalStreamFailure);
|
|
426
423
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
427
424
|
}, "visit");
|
|
428
425
|
})(ResponseStream || (ResponseStream = {}));
|
|
@@ -450,14 +447,10 @@ var PayloadPartFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
450
447
|
...obj.Bytes && { Bytes: import_smithy_client.SENSITIVE_STRING }
|
|
451
448
|
}), "PayloadPartFilterSensitiveLog");
|
|
452
449
|
var ResponseStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
453
|
-
if (obj.PayloadPart !== void 0)
|
|
454
|
-
|
|
455
|
-
if (obj.
|
|
456
|
-
|
|
457
|
-
if (obj.InternalStreamFailure !== void 0)
|
|
458
|
-
return { InternalStreamFailure: obj.InternalStreamFailure };
|
|
459
|
-
if (obj.$unknown !== void 0)
|
|
460
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
450
|
+
if (obj.PayloadPart !== void 0) return { PayloadPart: PayloadPartFilterSensitiveLog(obj.PayloadPart) };
|
|
451
|
+
if (obj.ModelStreamError !== void 0) return { ModelStreamError: obj.ModelStreamError };
|
|
452
|
+
if (obj.InternalStreamFailure !== void 0) return { InternalStreamFailure: obj.InternalStreamFailure };
|
|
453
|
+
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
461
454
|
}, "ResponseStreamFilterSensitiveLog");
|
|
462
455
|
var InvokeEndpointWithResponseStreamOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
463
456
|
...obj,
|
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.
|
|
4
|
+
"version": "3.774.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-runtime",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.0.1",
|