@aws-sdk/client-sagemaker-runtime 3.929.0 → 3.931.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
CHANGED
|
@@ -239,18 +239,6 @@ let ModelStreamError$1 = class ModelStreamError extends SageMakerRuntimeServiceE
|
|
|
239
239
|
this.ErrorCode = opts.ErrorCode;
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
|
-
exports.ResponseStream = void 0;
|
|
243
|
-
(function (ResponseStream) {
|
|
244
|
-
ResponseStream.visit = (value, visitor) => {
|
|
245
|
-
if (value.PayloadPart !== undefined)
|
|
246
|
-
return visitor.PayloadPart(value.PayloadPart);
|
|
247
|
-
if (value.ModelStreamError !== undefined)
|
|
248
|
-
return visitor.ModelStreamError(value.ModelStreamError);
|
|
249
|
-
if (value.InternalStreamFailure !== undefined)
|
|
250
|
-
return visitor.InternalStreamFailure(value.InternalStreamFailure);
|
|
251
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
252
|
-
};
|
|
253
|
-
})(exports.ResponseStream || (exports.ResponseStream = {}));
|
|
254
242
|
|
|
255
243
|
const _A = "Accept";
|
|
256
244
|
const _B = "Body";
|
|
@@ -119,15 +119,3 @@ export class ModelStreamError extends __BaseException {
|
|
|
119
119
|
this.ErrorCode = opts.ErrorCode;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
export var ResponseStream;
|
|
123
|
-
(function (ResponseStream) {
|
|
124
|
-
ResponseStream.visit = (value, visitor) => {
|
|
125
|
-
if (value.PayloadPart !== undefined)
|
|
126
|
-
return visitor.PayloadPart(value.PayloadPart);
|
|
127
|
-
if (value.ModelStreamError !== undefined)
|
|
128
|
-
return visitor.ModelStreamError(value.ModelStreamError);
|
|
129
|
-
if (value.InternalStreamFailure !== undefined)
|
|
130
|
-
return visitor.InternalStreamFailure(value.InternalStreamFailure);
|
|
131
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
132
|
-
};
|
|
133
|
-
})(ResponseStream || (ResponseStream = {}));
|
|
@@ -567,13 +567,16 @@ export declare namespace ResponseStream {
|
|
|
567
567
|
InternalStreamFailure?: never;
|
|
568
568
|
$unknown: [string, any];
|
|
569
569
|
}
|
|
570
|
+
/**
|
|
571
|
+
* @deprecated unused in schema-serde mode.
|
|
572
|
+
*
|
|
573
|
+
*/
|
|
570
574
|
interface Visitor<T> {
|
|
571
575
|
PayloadPart: (value: PayloadPart) => T;
|
|
572
576
|
ModelStreamError: (value: ModelStreamError) => T;
|
|
573
577
|
InternalStreamFailure: (value: InternalStreamFailure) => T;
|
|
574
578
|
_: (name: string, value: any) => T;
|
|
575
579
|
}
|
|
576
|
-
const visit: <T>(value: ResponseStream, visitor: Visitor<T>) => T;
|
|
577
580
|
}
|
|
578
581
|
/**
|
|
579
582
|
* @public
|
|
@@ -146,7 +146,6 @@ export declare namespace ResponseStream {
|
|
|
146
146
|
InternalStreamFailure: (value: InternalStreamFailure) => T;
|
|
147
147
|
_: (name: string, value: any) => T;
|
|
148
148
|
}
|
|
149
|
-
const visit: <T>(value: ResponseStream, visitor: Visitor<T>) => T;
|
|
150
149
|
}
|
|
151
150
|
export interface InvokeEndpointWithResponseStreamOutput {
|
|
152
151
|
Body: AsyncIterable<ResponseStream> | undefined;
|
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.931.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,45 +20,45 @@
|
|
|
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.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/eventstream-serde-browser": "^4.2.
|
|
37
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.
|
|
38
|
-
"@smithy/eventstream-serde-node": "^4.2.
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
40
|
-
"@smithy/hash-node": "^4.2.
|
|
41
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
42
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
-
"@smithy/middleware-stack": "^4.2.
|
|
47
|
-
"@smithy/node-config-provider": "^4.3.
|
|
48
|
-
"@smithy/node-http-handler": "^4.4.
|
|
49
|
-
"@smithy/protocol-http": "^5.3.
|
|
50
|
-
"@smithy/smithy-client": "^4.9.
|
|
51
|
-
"@smithy/types": "^4.
|
|
52
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.931.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.931.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.931.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.931.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/eventstream-serde-browser": "^4.2.5",
|
|
37
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.5",
|
|
38
|
+
"@smithy/eventstream-serde-node": "^4.2.5",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
40
|
+
"@smithy/hash-node": "^4.2.5",
|
|
41
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
42
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
46
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
47
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
48
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
49
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
50
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
51
|
+
"@smithy/types": "^4.9.0",
|
|
52
|
+
"@smithy/url-parser": "^4.2.5",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
58
|
-
"@smithy/util-endpoints": "^3.2.
|
|
59
|
-
"@smithy/util-middleware": "^4.2.
|
|
60
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
-
"@smithy/util-stream": "^4.5.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
58
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
59
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
60
|
+
"@smithy/util-retry": "^4.2.5",
|
|
61
|
+
"@smithy/util-stream": "^4.5.6",
|
|
62
62
|
"@smithy/util-utf8": "^4.2.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|