@aws-sdk/client-sagemaker-runtime-http2 3.1137.0 → 3.1139.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
|
@@ -72,7 +72,7 @@ const commonParams = {
|
|
|
72
72
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
73
73
|
};
|
|
74
74
|
|
|
75
|
-
var version = "3.
|
|
75
|
+
var version = "3.1138.0";
|
|
76
76
|
var packageInfo = {
|
|
77
77
|
version: version};
|
|
78
78
|
|
|
@@ -308,10 +308,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerruntimehttp2";
|
|
|
308
308
|
const _se = "server";
|
|
309
309
|
const _st = "streaming";
|
|
310
310
|
const n0 = "com.amazonaws.sagemakerruntimehttp2";
|
|
311
|
-
const _s_registry = TypeRegistry
|
|
311
|
+
const _s_registry = new TypeRegistry(_s);
|
|
312
312
|
var SageMakerRuntimeHTTP2ServiceException$ = [-3, _s, "SageMakerRuntimeHTTP2ServiceException", 0, [], []];
|
|
313
313
|
_s_registry.registerError(SageMakerRuntimeHTTP2ServiceException$, SageMakerRuntimeHTTP2ServiceException);
|
|
314
|
-
const n0_registry = TypeRegistry
|
|
314
|
+
const n0_registry = new TypeRegistry(n0);
|
|
315
315
|
var InputValidationError$ = [-3, n0, _IVE,
|
|
316
316
|
{ [_e]: _c, [_hE]: 400 },
|
|
317
317
|
[_M, _EC],
|
|
@@ -46,10 +46,10 @@ const n0 = "com.amazonaws.sagemakerruntimehttp2";
|
|
|
46
46
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
47
47
|
import { InputValidationError, InternalServerError, InternalStreamFailure, ModelError, ModelStreamError, ServiceUnavailableError, } from "../models/errors";
|
|
48
48
|
import { SageMakerRuntimeHTTP2ServiceException } from "../models/SageMakerRuntimeHTTP2ServiceException";
|
|
49
|
-
const _s_registry = TypeRegistry
|
|
49
|
+
const _s_registry = new TypeRegistry(_s);
|
|
50
50
|
export var SageMakerRuntimeHTTP2ServiceException$ = [-3, _s, "SageMakerRuntimeHTTP2ServiceException", 0, [], []];
|
|
51
51
|
_s_registry.registerError(SageMakerRuntimeHTTP2ServiceException$, SageMakerRuntimeHTTP2ServiceException);
|
|
52
|
-
const n0_registry = TypeRegistry
|
|
52
|
+
const n0_registry = new TypeRegistry(n0);
|
|
53
53
|
export var InputValidationError$ = [-3, n0, _IVE,
|
|
54
54
|
{ [_e]: _c, [_hE]: 400 },
|
|
55
55
|
[_M, _EC],
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type InvokeEndpointWithBidirectionalStreamCommandInput, type InvokeEndpointWithBidirectionalStreamCommandOutput } from "./commands/InvokeEndpointWithBidirectionalStreamCommand";
|
|
3
3
|
import { SageMakerRuntimeHTTP2Client } from "./SageMakerRuntimeHTTP2Client";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface SageMakerRuntimeHTTP2RequestOptions extends __HttpHandlerOptions {
|
|
8
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
9
|
+
}
|
|
4
10
|
export interface SageMakerRuntimeHTTP2 {
|
|
5
11
|
/**
|
|
6
12
|
* @see {@link InvokeEndpointWithBidirectionalStreamCommand}
|
|
7
13
|
*/
|
|
8
|
-
invokeEndpointWithBidirectionalStream(args: InvokeEndpointWithBidirectionalStreamCommandInput, options?:
|
|
14
|
+
invokeEndpointWithBidirectionalStream(args: InvokeEndpointWithBidirectionalStreamCommandInput, options?: SageMakerRuntimeHTTP2RequestOptions): Promise<InvokeEndpointWithBidirectionalStreamCommandOutput>;
|
|
9
15
|
invokeEndpointWithBidirectionalStream(args: InvokeEndpointWithBidirectionalStreamCommandInput, cb: (err: any, data?: InvokeEndpointWithBidirectionalStreamCommandOutput) => void): void;
|
|
10
|
-
invokeEndpointWithBidirectionalStream(args: InvokeEndpointWithBidirectionalStreamCommandInput, options:
|
|
16
|
+
invokeEndpointWithBidirectionalStream(args: InvokeEndpointWithBidirectionalStreamCommandInput, options: SageMakerRuntimeHTTP2RequestOptions, cb: (err: any, data?: InvokeEndpointWithBidirectionalStreamCommandOutput) => void): void;
|
|
11
17
|
}
|
|
12
18
|
/**
|
|
13
19
|
* <p> The Amazon SageMaker AI runtime HTTP/2 API. </p>
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
InvokeEndpointWithBidirectionalStreamCommandInput,
|
|
4
7
|
InvokeEndpointWithBidirectionalStreamCommandOutput,
|
|
5
8
|
} from "./commands/InvokeEndpointWithBidirectionalStreamCommand";
|
|
6
9
|
import { SageMakerRuntimeHTTP2Client } from "./SageMakerRuntimeHTTP2Client";
|
|
10
|
+
export interface SageMakerRuntimeHTTP2RequestOptions extends __HttpHandlerOptions {
|
|
11
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
12
|
+
}
|
|
7
13
|
export interface SageMakerRuntimeHTTP2 {
|
|
8
14
|
invokeEndpointWithBidirectionalStream(
|
|
9
15
|
args: InvokeEndpointWithBidirectionalStreamCommandInput,
|
|
10
|
-
options?:
|
|
16
|
+
options?: SageMakerRuntimeHTTP2RequestOptions,
|
|
11
17
|
): Promise<InvokeEndpointWithBidirectionalStreamCommandOutput>;
|
|
12
18
|
invokeEndpointWithBidirectionalStream(
|
|
13
19
|
args: InvokeEndpointWithBidirectionalStreamCommandInput,
|
|
@@ -15,7 +21,7 @@ export interface SageMakerRuntimeHTTP2 {
|
|
|
15
21
|
): void;
|
|
16
22
|
invokeEndpointWithBidirectionalStream(
|
|
17
23
|
args: InvokeEndpointWithBidirectionalStreamCommandInput,
|
|
18
|
-
options:
|
|
24
|
+
options: SageMakerRuntimeHTTP2RequestOptions,
|
|
19
25
|
cb: (err: any, data?: InvokeEndpointWithBidirectionalStreamCommandOutput) => void,
|
|
20
26
|
): void;
|
|
21
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-runtime-http2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sagemaker Runtime Http2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-runtime-http2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/core": "^3.978.
|
|
54
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
55
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
56
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
57
|
-
"@aws-sdk/types": "^3.974.
|
|
58
|
-
"@smithy/core": "^3.
|
|
59
|
-
"@smithy/fetch-http-handler": "^5.
|
|
60
|
-
"@smithy/node-http-handler": "^4.
|
|
61
|
-
"@smithy/types": "^4.
|
|
53
|
+
"@aws-sdk/core": "^3.978.1",
|
|
54
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
55
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.35",
|
|
56
|
+
"@aws-sdk/middleware-eventstream": "^3.972.30",
|
|
57
|
+
"@aws-sdk/types": "^3.974.6",
|
|
58
|
+
"@smithy/core": "^3.35.0",
|
|
59
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
60
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
61
|
+
"@smithy/types": "^4.19.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|