@aws-sdk/client-sagemaker-runtime 3.301.0 → 3.306.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.
|
@@ -123,6 +123,7 @@ const deserializeAws_restJson1InvokeEndpointAsyncCommand = async (output, contex
|
|
|
123
123
|
const contents = map({
|
|
124
124
|
$metadata: deserializeMetadata(output),
|
|
125
125
|
OutputLocation: [, output.headers["x-amzn-sagemaker-outputlocation"]],
|
|
126
|
+
FailureLocation: [, output.headers["x-amzn-sagemaker-failurelocation"]],
|
|
126
127
|
});
|
|
127
128
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
128
129
|
if (data.InferenceId != null) {
|
|
@@ -117,6 +117,7 @@ export const deserializeAws_restJson1InvokeEndpointAsyncCommand = async (output,
|
|
|
117
117
|
const contents = map({
|
|
118
118
|
$metadata: deserializeMetadata(output),
|
|
119
119
|
OutputLocation: [, output.headers["x-amzn-sagemaker-outputlocation"]],
|
|
120
|
+
FailureLocation: [, output.headers["x-amzn-sagemaker-failurelocation"]],
|
|
120
121
|
});
|
|
121
122
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
122
123
|
if (data.InferenceId != null) {
|
|
@@ -277,6 +277,10 @@ export interface InvokeEndpointAsyncOutput {
|
|
|
277
277
|
* <p>The Amazon S3 URI where the inference response payload is stored.</p>
|
|
278
278
|
*/
|
|
279
279
|
OutputLocation?: string;
|
|
280
|
+
/**
|
|
281
|
+
* <p>The Amazon S3 URI where the inference failure response payload is stored.</p>
|
|
282
|
+
*/
|
|
283
|
+
FailureLocation?: string;
|
|
280
284
|
}
|
|
281
285
|
/**
|
|
282
286
|
* @internal
|
|
@@ -74,6 +74,7 @@ export interface InvokeEndpointAsyncInput {
|
|
|
74
74
|
export interface InvokeEndpointAsyncOutput {
|
|
75
75
|
InferenceId?: string;
|
|
76
76
|
OutputLocation?: string;
|
|
77
|
+
FailureLocation?: string;
|
|
77
78
|
}
|
|
78
79
|
export declare const InvokeEndpointInputFilterSensitiveLog: (
|
|
79
80
|
obj: InvokeEndpointInput
|
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.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|