@aws-sdk/client-sagemaker-runtime 3.529.1 → 3.533.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-types/commands/InvokeEndpointCommand.d.ts +2 -2
- package/dist-types/commands/InvokeEndpointWithResponseStreamCommand.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +41 -41
|
@@ -66,7 +66,7 @@ declare const InvokeEndpointCommand_base: {
|
|
|
66
66
|
* const client = new SageMakerRuntimeClient(config);
|
|
67
67
|
* const input = { // InvokeEndpointInput
|
|
68
68
|
* EndpointName: "STRING_VALUE", // required
|
|
69
|
-
* Body: "
|
|
69
|
+
* Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
70
70
|
* ContentType: "STRING_VALUE",
|
|
71
71
|
* Accept: "STRING_VALUE",
|
|
72
72
|
* CustomAttributes: "STRING_VALUE",
|
|
@@ -80,7 +80,7 @@ declare const InvokeEndpointCommand_base: {
|
|
|
80
80
|
* const command = new InvokeEndpointCommand(input);
|
|
81
81
|
* const response = await client.send(command);
|
|
82
82
|
* // { // InvokeEndpointOutput
|
|
83
|
-
* // Body:
|
|
83
|
+
* // Body: new Uint8Array(), // required
|
|
84
84
|
* // ContentType: "STRING_VALUE",
|
|
85
85
|
* // InvokedProductionVariant: "STRING_VALUE",
|
|
86
86
|
* // CustomAttributes: "STRING_VALUE",
|
|
@@ -64,7 +64,7 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
|
|
|
64
64
|
* const client = new SageMakerRuntimeClient(config);
|
|
65
65
|
* const input = { // InvokeEndpointWithResponseStreamInput
|
|
66
66
|
* EndpointName: "STRING_VALUE", // required
|
|
67
|
-
* Body: "
|
|
67
|
+
* Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
68
68
|
* ContentType: "STRING_VALUE",
|
|
69
69
|
* Accept: "STRING_VALUE",
|
|
70
70
|
* CustomAttributes: "STRING_VALUE",
|
|
@@ -78,7 +78,7 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
|
|
|
78
78
|
* // { // InvokeEndpointWithResponseStreamOutput
|
|
79
79
|
* // Body: { // ResponseStream Union: only one key present
|
|
80
80
|
* // PayloadPart: { // PayloadPart
|
|
81
|
-
* // Bytes:
|
|
81
|
+
* // Bytes: new Uint8Array(),
|
|
82
82
|
* // },
|
|
83
83
|
* // ModelStreamError: { // ModelStreamError
|
|
84
84
|
* // Message: "STRING_VALUE",
|
|
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
21
21
|
apiVersion: string;
|
|
22
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
-
base64Encoder:
|
|
24
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
25
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
-
utf8Encoder:
|
|
26
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
serviceId: string;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
21
21
|
apiVersion: string;
|
|
22
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
-
base64Encoder:
|
|
24
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
25
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
-
utf8Encoder:
|
|
26
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
serviceId: string;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
base64Encoder:
|
|
14
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
15
15
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
utf8Encoder:
|
|
16
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -5,7 +5,7 @@ import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
|
@@ -28,9 +28,9 @@ export declare const getRuntimeConfig: (
|
|
|
28
28
|
apiVersion: string;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
|
-
base64Encoder:
|
|
31
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
32
32
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
33
|
-
utf8Encoder:
|
|
33
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
34
34
|
disableHostPrefix: boolean;
|
|
35
35
|
serviceId: string;
|
|
36
36
|
logger: import("@smithy/types").Logger;
|
|
@@ -32,9 +32,9 @@ export declare const getRuntimeConfig: (
|
|
|
32
32
|
apiVersion: string;
|
|
33
33
|
urlParser: import("@smithy/types").UrlParser;
|
|
34
34
|
base64Decoder: import("@smithy/types").Decoder;
|
|
35
|
-
base64Encoder:
|
|
35
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
36
36
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
37
|
-
utf8Encoder:
|
|
37
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
38
38
|
disableHostPrefix: boolean;
|
|
39
39
|
serviceId: string;
|
|
40
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -15,9 +15,9 @@ export declare const getRuntimeConfig: (
|
|
|
15
15
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
16
16
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
17
|
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
-
base64Encoder:
|
|
18
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -4,7 +4,7 @@ export declare const getRuntimeConfig: (
|
|
|
4
4
|
) => {
|
|
5
5
|
apiVersion: string;
|
|
6
6
|
base64Decoder: import("@smithy/types").Decoder;
|
|
7
|
-
base64Encoder:
|
|
7
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
8
8
|
disableHostPrefix: boolean;
|
|
9
9
|
endpointProvider: (
|
|
10
10
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -19,5 +19,5 @@ export declare const getRuntimeConfig: (
|
|
|
19
19
|
serviceId: string;
|
|
20
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
21
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
-
utf8Encoder:
|
|
22
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
23
23
|
};
|
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.533.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,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/eventstream-serde-browser": "^2.1.
|
|
38
|
-
"@smithy/eventstream-serde-config-resolver": "^2.1.
|
|
39
|
-
"@smithy/eventstream-serde-node": "^2.1.
|
|
40
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
41
|
-
"@smithy/hash-node": "^2.1.
|
|
42
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
43
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
44
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
45
|
-
"@smithy/middleware-retry": "^2.1.
|
|
46
|
-
"@smithy/middleware-serde": "^2.1
|
|
47
|
-
"@smithy/middleware-stack": "^2.1.
|
|
48
|
-
"@smithy/node-config-provider": "^2.2.
|
|
49
|
-
"@smithy/node-http-handler": "^2.4.
|
|
50
|
-
"@smithy/protocol-http": "^3.2.
|
|
51
|
-
"@smithy/smithy-client": "^2.4.
|
|
52
|
-
"@smithy/types": "^2.
|
|
53
|
-
"@smithy/url-parser": "^2.1.
|
|
54
|
-
"@smithy/util-base64": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.533.0",
|
|
24
|
+
"@aws-sdk/core": "3.533.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.533.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.533.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.533.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.533.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.533.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.533.0",
|
|
31
|
+
"@aws-sdk/types": "3.533.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.533.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.533.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.533.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.5",
|
|
36
|
+
"@smithy/core": "^1.3.8",
|
|
37
|
+
"@smithy/eventstream-serde-browser": "^2.1.4",
|
|
38
|
+
"@smithy/eventstream-serde-config-resolver": "^2.1.4",
|
|
39
|
+
"@smithy/eventstream-serde-node": "^2.1.4",
|
|
40
|
+
"@smithy/fetch-http-handler": "^2.4.5",
|
|
41
|
+
"@smithy/hash-node": "^2.1.4",
|
|
42
|
+
"@smithy/invalid-dependency": "^2.1.4",
|
|
43
|
+
"@smithy/middleware-content-length": "^2.1.4",
|
|
44
|
+
"@smithy/middleware-endpoint": "^2.4.6",
|
|
45
|
+
"@smithy/middleware-retry": "^2.1.7",
|
|
46
|
+
"@smithy/middleware-serde": "^2.2.1",
|
|
47
|
+
"@smithy/middleware-stack": "^2.1.4",
|
|
48
|
+
"@smithy/node-config-provider": "^2.2.5",
|
|
49
|
+
"@smithy/node-http-handler": "^2.4.3",
|
|
50
|
+
"@smithy/protocol-http": "^3.2.2",
|
|
51
|
+
"@smithy/smithy-client": "^2.4.5",
|
|
52
|
+
"@smithy/types": "^2.11.0",
|
|
53
|
+
"@smithy/url-parser": "^2.1.4",
|
|
54
|
+
"@smithy/util-base64": "^2.2.1",
|
|
55
55
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
56
|
-
"@smithy/util-body-length-node": "^2.2.
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
59
|
-
"@smithy/util-endpoints": "^1.1.
|
|
60
|
-
"@smithy/util-middleware": "^2.1.
|
|
61
|
-
"@smithy/util-retry": "^2.1.
|
|
62
|
-
"@smithy/util-stream": "^2.1.
|
|
63
|
-
"@smithy/util-utf8": "^2.
|
|
56
|
+
"@smithy/util-body-length-node": "^2.2.2",
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^2.1.7",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^2.2.7",
|
|
59
|
+
"@smithy/util-endpoints": "^1.1.5",
|
|
60
|
+
"@smithy/util-middleware": "^2.1.4",
|
|
61
|
+
"@smithy/util-retry": "^2.1.4",
|
|
62
|
+
"@smithy/util-stream": "^2.1.5",
|
|
63
|
+
"@smithy/util-utf8": "^2.2.0",
|
|
64
64
|
"tslib": "^2.5.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|