@aws-sdk/client-sagemaker-runtime 3.1076.0 → 3.1078.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 +14 -39
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/InvokeEndpointAsyncCommand.js +2 -14
- package/dist-es/commands/InvokeEndpointCommand.js +2 -14
- package/dist-es/commands/InvokeEndpointWithResponseStreamCommand.js +2 -18
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/InvokeEndpointAsyncCommand.d.ts +3 -8
- package/dist-types/commands/InvokeEndpointCommand.d.ts +3 -8
- package/dist-types/commands/InvokeEndpointWithResponseStreamCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/InvokeEndpointAsyncCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeEndpointWithResponseStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -11,9 +12,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
11
12
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
13
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
13
14
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
14
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
15
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
15
16
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
16
17
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
18
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
19
|
|
|
18
20
|
const defaultSageMakerRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
21
|
return {
|
|
@@ -68,7 +70,7 @@ const commonParams = {
|
|
|
68
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
71
|
};
|
|
70
72
|
|
|
71
|
-
var version = "3.
|
|
73
|
+
var version = "3.1077.0";
|
|
72
74
|
var packageInfo = {
|
|
73
75
|
version: version};
|
|
74
76
|
|
|
@@ -482,6 +484,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
482
484
|
serviceTarget: "AmazonSageMakerRuntime",
|
|
483
485
|
},
|
|
484
486
|
serviceId: config?.serviceId ?? "SageMaker Runtime",
|
|
487
|
+
sha256: config?.sha256 ?? Sha256,
|
|
485
488
|
urlParser: config?.urlParser ?? parseUrl,
|
|
486
489
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
487
490
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -516,7 +519,6 @@ const getRuntimeConfig = (config) => {
|
|
|
516
519
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
517
520
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
518
521
|
}, config),
|
|
519
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
520
522
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
521
523
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
522
524
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -605,44 +607,17 @@ class SageMakerRuntimeClient extends Client {
|
|
|
605
607
|
}
|
|
606
608
|
}
|
|
607
609
|
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
})
|
|
614
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpointAsync", {})
|
|
615
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointAsyncCommand")
|
|
616
|
-
.sc(InvokeEndpointAsync$)
|
|
617
|
-
.build() {
|
|
610
|
+
const command = makeBuilder(commonParams, "AmazonSageMakerRuntime", "SageMakerRuntimeClient", getEndpointPlugin);
|
|
611
|
+
const _ep0 = {};
|
|
612
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
613
|
+
|
|
614
|
+
class InvokeEndpointAsyncCommand extends command(_ep0, _mw0, "InvokeEndpointAsync", InvokeEndpointAsync$) {
|
|
618
615
|
}
|
|
619
616
|
|
|
620
|
-
class InvokeEndpointCommand extends
|
|
621
|
-
.classBuilder()
|
|
622
|
-
.ep(commonParams)
|
|
623
|
-
.m(function (Command, cs, config, o) {
|
|
624
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
625
|
-
})
|
|
626
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpoint", {})
|
|
627
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointCommand")
|
|
628
|
-
.sc(InvokeEndpoint$)
|
|
629
|
-
.build() {
|
|
617
|
+
class InvokeEndpointCommand extends command(_ep0, _mw0, "InvokeEndpoint", InvokeEndpoint$) {
|
|
630
618
|
}
|
|
631
619
|
|
|
632
|
-
class InvokeEndpointWithResponseStreamCommand extends
|
|
633
|
-
.classBuilder()
|
|
634
|
-
.ep(commonParams)
|
|
635
|
-
.m(function (Command, cs, config, o) {
|
|
636
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
637
|
-
})
|
|
638
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpointWithResponseStream", {
|
|
639
|
-
eventStream: {
|
|
640
|
-
output: true,
|
|
641
|
-
},
|
|
642
|
-
})
|
|
643
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointWithResponseStreamCommand")
|
|
644
|
-
.sc(InvokeEndpointWithResponseStream$)
|
|
645
|
-
.build() {
|
|
620
|
+
class InvokeEndpointWithResponseStreamCommand extends command(_ep0, _mw0, "InvokeEndpointWithResponseStream", InvokeEndpointWithResponseStream$) {
|
|
646
621
|
}
|
|
647
622
|
|
|
648
623
|
const commands = {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AmazonSageMakerRuntime", "SageMakerRuntimeClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { InvokeEndpointAsync$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class InvokeEndpointAsyncCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpointAsync", {})
|
|
13
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointAsyncCommand")
|
|
14
|
-
.sc(InvokeEndpointAsync$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class InvokeEndpointAsyncCommand extends command(_ep0, _mw0, "InvokeEndpointAsync", InvokeEndpointAsync$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { InvokeEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class InvokeEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpoint", {})
|
|
13
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointCommand")
|
|
14
|
-
.sc(InvokeEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class InvokeEndpointCommand extends command(_ep0, _mw0, "InvokeEndpoint", InvokeEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { InvokeEndpointWithResponseStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class InvokeEndpointWithResponseStreamCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpointWithResponseStream", {
|
|
13
|
-
eventStream: {
|
|
14
|
-
output: true,
|
|
15
|
-
},
|
|
16
|
-
})
|
|
17
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointWithResponseStreamCommand")
|
|
18
|
-
.sc(InvokeEndpointWithResponseStream$)
|
|
19
|
-
.build() {
|
|
3
|
+
export class InvokeEndpointWithResponseStreamCommand extends command(_ep0, _mw0, "InvokeEndpointWithResponseStream", InvokeEndpointWithResponseStream$) {
|
|
20
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./SageMakerRuntimeClient";
|
|
2
2
|
export * from "./SageMakerRuntime";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export * from "./models/models_0";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -25,7 +24,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
24
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
26
25
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
26
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
28
|
-
sha256: config?.sha256 ?? Sha256,
|
|
29
27
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
30
28
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
31
29
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,7 @@ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smi
|
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
8
8
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
|
-
import { calculateBodyLength
|
|
9
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
10
10
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
@@ -37,7 +37,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
37
37
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
38
38
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
39
39
|
}, config),
|
|
40
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
41
40
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
42
41
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
43
42
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AmazonSageMakerRuntime",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "SageMaker Runtime",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./SageMakerRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { InvokeEndpointAsyncInput, InvokeEndpointAsyncOutput } from "../models/models_0";
|
|
4
|
-
import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*/
|
|
@@ -28,11 +25,9 @@ export interface InvokeEndpointAsyncCommandInput extends InvokeEndpointAsyncComm
|
|
|
28
25
|
export interface InvokeEndpointAsyncCommandOutput extends InvokeEndpointAsyncOutput, __MetadataBearer {
|
|
29
26
|
}
|
|
30
27
|
declare const InvokeEndpointAsyncCommand_base: {
|
|
31
|
-
new (input: InvokeEndpointAsyncCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
32
|
-
new (input: InvokeEndpointAsyncCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
33
|
-
getEndpointParameterInstructions():
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
28
|
+
new (input: InvokeEndpointAsyncCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput, import("..").SageMakerRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
29
|
+
new (input: InvokeEndpointAsyncCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointAsyncCommandInput, InvokeEndpointAsyncCommandOutput, import("..").SageMakerRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
36
31
|
};
|
|
37
32
|
/**
|
|
38
33
|
* <p>After you deploy a model into production using Amazon SageMaker AI hosting services,
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
|
|
3
2
|
import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import type { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
|
|
5
|
-
import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
|
|
6
4
|
/**
|
|
7
5
|
* @public
|
|
8
6
|
*/
|
|
9
7
|
export type { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
8
|
/**
|
|
12
9
|
* @public
|
|
13
10
|
*/
|
|
@@ -35,11 +32,9 @@ export type InvokeEndpointCommandOutputType = Omit<InvokeEndpointOutput, "Body">
|
|
|
35
32
|
export interface InvokeEndpointCommandOutput extends InvokeEndpointCommandOutputType, __MetadataBearer {
|
|
36
33
|
}
|
|
37
34
|
declare const InvokeEndpointCommand_base: {
|
|
38
|
-
new (input: InvokeEndpointCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointCommandInput, InvokeEndpointCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
39
|
-
new (input: InvokeEndpointCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointCommandInput, InvokeEndpointCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
40
|
-
getEndpointParameterInstructions():
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
};
|
|
35
|
+
new (input: InvokeEndpointCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointCommandInput, InvokeEndpointCommandOutput, import("..").SageMakerRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
36
|
+
new (input: InvokeEndpointCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointCommandInput, InvokeEndpointCommandOutput, import("..").SageMakerRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
43
38
|
};
|
|
44
39
|
/**
|
|
45
40
|
* <p>After you deploy a model into production using Amazon SageMaker AI hosting services,
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { InvokeEndpointWithResponseStreamInput, InvokeEndpointWithResponseStreamOutput } from "../models/models_0";
|
|
4
|
-
import type { SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerRuntimeClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*/
|
|
@@ -28,11 +25,9 @@ export interface InvokeEndpointWithResponseStreamCommandInput extends InvokeEndp
|
|
|
28
25
|
export interface InvokeEndpointWithResponseStreamCommandOutput extends InvokeEndpointWithResponseStreamOutput, __MetadataBearer {
|
|
29
26
|
}
|
|
30
27
|
declare const InvokeEndpointWithResponseStreamCommand_base: {
|
|
31
|
-
new (input: InvokeEndpointWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
32
|
-
new (input: InvokeEndpointWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput, SageMakerRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
33
|
-
getEndpointParameterInstructions():
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
28
|
+
new (input: InvokeEndpointWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput, import("..").SageMakerRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
29
|
+
new (input: InvokeEndpointWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeEndpointWithResponseStreamCommandInput, InvokeEndpointWithResponseStreamCommandOutput, import("..").SageMakerRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
36
31
|
};
|
|
37
32
|
/**
|
|
38
33
|
* <p>Invokes a model at the specified endpoint to return the inference response as a
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { SageMakerRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
12
13
|
export * from "./schemas/schemas_0";
|
|
13
14
|
export * from "./models/errors";
|
|
14
15
|
export * from "./models/models_0";
|
|
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
14
14
|
region: string | import("@smithy/types").Provider<any>;
|
|
15
15
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
18
17
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -25,6 +24,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
25
24
|
[setting: string]: unknown;
|
|
26
25
|
};
|
|
27
26
|
apiVersion: string;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
28
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
29
|
base64Decoder: import("@smithy/types").Decoder;
|
|
30
30
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -15,7 +15,6 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
15
15
|
region: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
17
17
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
19
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
20
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -27,6 +26,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
27
26
|
[setting: string]: unknown;
|
|
28
27
|
};
|
|
29
28
|
apiVersion: string;
|
|
29
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
30
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
31
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
32
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -4,7 +4,6 @@ import type { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
8
7
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
8
|
cacheMiddleware?: boolean;
|
|
10
9
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
13
12
|
[setting: string]: unknown;
|
|
14
13
|
};
|
|
15
14
|
apiVersion: string;
|
|
15
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
16
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeClientConfig) =>
|
|
|
21
21
|
defaultNamespace?: string;
|
|
22
22
|
};
|
|
23
23
|
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
27
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
SageMakerRuntimeClientResolvedConfig,
|
|
4
|
+
ServiceInputTypes,
|
|
5
|
+
ServiceOutputTypes,
|
|
6
|
+
} from "./SageMakerRuntimeClient";
|
|
7
|
+
export declare const command: <
|
|
8
|
+
I extends ServiceInputTypes,
|
|
9
|
+
O extends ServiceOutputTypes
|
|
10
|
+
>(
|
|
11
|
+
added: EndpointParameterInstructions,
|
|
12
|
+
plugins: (
|
|
13
|
+
CommandCtor: any,
|
|
14
|
+
clientStack: any,
|
|
15
|
+
config: any,
|
|
16
|
+
options: any
|
|
17
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
|
+
op: string,
|
|
19
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
+
smithyContext?: Record<string, unknown>
|
|
21
|
+
) => {
|
|
22
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
I,
|
|
24
|
+
O,
|
|
25
|
+
SageMakerRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
I,
|
|
33
|
+
O,
|
|
34
|
+
SageMakerRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
+
export declare const _mw0: (
|
|
42
|
+
Command: any,
|
|
43
|
+
cs: any,
|
|
44
|
+
config: any,
|
|
45
|
+
o: any
|
|
46
|
+
) => never[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import {
|
|
3
2
|
BlobPayloadInputTypes,
|
|
4
3
|
MetadataBearer as __MetadataBearer,
|
|
@@ -7,13 +6,7 @@ import {
|
|
|
7
6
|
InvokeEndpointAsyncInput,
|
|
8
7
|
InvokeEndpointAsyncOutput,
|
|
9
8
|
} from "../models/models_0";
|
|
10
|
-
import {
|
|
11
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
12
|
-
ServiceInputTypes,
|
|
13
|
-
ServiceOutputTypes,
|
|
14
|
-
} from "../SageMakerRuntimeClient";
|
|
15
9
|
export { __MetadataBearer };
|
|
16
|
-
export { $Command };
|
|
17
10
|
export type InvokeEndpointAsyncCommandInputType = Pick<
|
|
18
11
|
InvokeEndpointAsyncInput,
|
|
19
12
|
Exclude<keyof InvokeEndpointAsyncInput, "Body">
|
|
@@ -31,22 +24,20 @@ declare const InvokeEndpointAsyncCommand_base: {
|
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
InvokeEndpointAsyncCommandInput,
|
|
33
26
|
InvokeEndpointAsyncCommandOutput,
|
|
34
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").SageMakerRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
31
|
new (
|
|
39
32
|
input: InvokeEndpointAsyncCommandInput
|
|
40
33
|
): import("@smithy/core/client").CommandImpl<
|
|
41
34
|
InvokeEndpointAsyncCommandInput,
|
|
42
35
|
InvokeEndpointAsyncCommandOutput,
|
|
43
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
44
|
-
ServiceInputTypes,
|
|
45
|
-
ServiceOutputTypes
|
|
36
|
+
import("..").SageMakerRuntimeClientResolvedConfig,
|
|
37
|
+
import("..").ServiceInputTypes,
|
|
38
|
+
import("..").ServiceOutputTypes
|
|
46
39
|
>;
|
|
47
|
-
getEndpointParameterInstructions():
|
|
48
|
-
[x: string]: unknown;
|
|
49
|
-
};
|
|
40
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
50
41
|
};
|
|
51
42
|
export declare class InvokeEndpointAsyncCommand extends InvokeEndpointAsyncCommand_base {
|
|
52
43
|
protected static __types: {
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
|
|
3
2
|
import {
|
|
4
3
|
BlobPayloadInputTypes,
|
|
5
4
|
MetadataBearer as __MetadataBearer,
|
|
6
5
|
} from "@smithy/types";
|
|
7
6
|
import { InvokeEndpointInput, InvokeEndpointOutput } from "../models/models_0";
|
|
8
|
-
import {
|
|
9
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
10
|
-
ServiceInputTypes,
|
|
11
|
-
ServiceOutputTypes,
|
|
12
|
-
} from "../SageMakerRuntimeClient";
|
|
13
7
|
export { __MetadataBearer };
|
|
14
|
-
export { $Command };
|
|
15
8
|
export type InvokeEndpointCommandInputType = Pick<
|
|
16
9
|
InvokeEndpointInput,
|
|
17
10
|
Exclude<keyof InvokeEndpointInput, "Body">
|
|
@@ -35,22 +28,20 @@ declare const InvokeEndpointCommand_base: {
|
|
|
35
28
|
): import("@smithy/core/client").CommandImpl<
|
|
36
29
|
InvokeEndpointCommandInput,
|
|
37
30
|
InvokeEndpointCommandOutput,
|
|
38
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
39
|
-
ServiceInputTypes,
|
|
40
|
-
ServiceOutputTypes
|
|
31
|
+
import("..").SageMakerRuntimeClientResolvedConfig,
|
|
32
|
+
import("..").ServiceInputTypes,
|
|
33
|
+
import("..").ServiceOutputTypes
|
|
41
34
|
>;
|
|
42
35
|
new (
|
|
43
36
|
input: InvokeEndpointCommandInput
|
|
44
37
|
): import("@smithy/core/client").CommandImpl<
|
|
45
38
|
InvokeEndpointCommandInput,
|
|
46
39
|
InvokeEndpointCommandOutput,
|
|
47
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
48
|
-
ServiceInputTypes,
|
|
49
|
-
ServiceOutputTypes
|
|
40
|
+
import("..").SageMakerRuntimeClientResolvedConfig,
|
|
41
|
+
import("..").ServiceInputTypes,
|
|
42
|
+
import("..").ServiceOutputTypes
|
|
50
43
|
>;
|
|
51
|
-
getEndpointParameterInstructions():
|
|
52
|
-
[x: string]: unknown;
|
|
53
|
-
};
|
|
44
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
54
45
|
};
|
|
55
46
|
export declare class InvokeEndpointCommand extends InvokeEndpointCommand_base {
|
|
56
47
|
protected static __types: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import {
|
|
3
2
|
BlobPayloadInputTypes,
|
|
4
3
|
MetadataBearer as __MetadataBearer,
|
|
@@ -7,13 +6,7 @@ import {
|
|
|
7
6
|
InvokeEndpointWithResponseStreamInput,
|
|
8
7
|
InvokeEndpointWithResponseStreamOutput,
|
|
9
8
|
} from "../models/models_0";
|
|
10
|
-
import {
|
|
11
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
12
|
-
ServiceInputTypes,
|
|
13
|
-
ServiceOutputTypes,
|
|
14
|
-
} from "../SageMakerRuntimeClient";
|
|
15
9
|
export { __MetadataBearer };
|
|
16
|
-
export { $Command };
|
|
17
10
|
export type InvokeEndpointWithResponseStreamCommandInputType = Pick<
|
|
18
11
|
InvokeEndpointWithResponseStreamInput,
|
|
19
12
|
Exclude<keyof InvokeEndpointWithResponseStreamInput, "Body">
|
|
@@ -31,22 +24,20 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
|
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
InvokeEndpointWithResponseStreamCommandInput,
|
|
33
26
|
InvokeEndpointWithResponseStreamCommandOutput,
|
|
34
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").SageMakerRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
31
|
new (
|
|
39
32
|
input: InvokeEndpointWithResponseStreamCommandInput
|
|
40
33
|
): import("@smithy/core/client").CommandImpl<
|
|
41
34
|
InvokeEndpointWithResponseStreamCommandInput,
|
|
42
35
|
InvokeEndpointWithResponseStreamCommandOutput,
|
|
43
|
-
SageMakerRuntimeClientResolvedConfig,
|
|
44
|
-
ServiceInputTypes,
|
|
45
|
-
ServiceOutputTypes
|
|
36
|
+
import("..").SageMakerRuntimeClientResolvedConfig,
|
|
37
|
+
import("..").ServiceInputTypes,
|
|
38
|
+
import("..").ServiceOutputTypes
|
|
46
39
|
>;
|
|
47
|
-
getEndpointParameterInstructions():
|
|
48
|
-
[x: string]: unknown;
|
|
49
|
-
};
|
|
40
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
50
41
|
};
|
|
51
42
|
export declare class InvokeEndpointWithResponseStreamCommand extends InvokeEndpointWithResponseStreamCommand_base {
|
|
52
43
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { SageMakerRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (
|
|
|
23
23
|
| import("@smithy/core/protocols").HttpHandler<any>
|
|
24
24
|
| RequestHandler;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
27
26
|
streamCollector: (
|
|
28
27
|
stream:
|
|
29
28
|
| import("stream").Readable
|
|
@@ -45,6 +44,7 @@ export declare const getRuntimeConfig: (
|
|
|
45
44
|
[setting: string]: unknown;
|
|
46
45
|
};
|
|
47
46
|
apiVersion: string;
|
|
47
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
48
48
|
urlParser: import("@smithy/types").UrlParser;
|
|
49
49
|
base64Decoder: import("@smithy/types").Decoder;
|
|
50
50
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -24,7 +24,6 @@ export declare const getRuntimeConfig: (
|
|
|
24
24
|
| RequestHandler
|
|
25
25
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
28
27
|
streamCollector: (
|
|
29
28
|
stream:
|
|
30
29
|
| import("stream").Readable
|
|
@@ -45,6 +44,7 @@ export declare const getRuntimeConfig: (
|
|
|
45
44
|
[setting: string]: unknown;
|
|
46
45
|
};
|
|
47
46
|
apiVersion: string;
|
|
47
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
48
48
|
urlParser: import("@smithy/types").UrlParser;
|
|
49
49
|
base64Decoder: import("@smithy/types").Decoder;
|
|
50
50
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -3,7 +3,6 @@ export declare const getRuntimeConfig: (
|
|
|
3
3
|
config: SageMakerRuntimeClientConfig
|
|
4
4
|
) => {
|
|
5
5
|
runtime: string;
|
|
6
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
7
6
|
requestHandler:
|
|
8
7
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
9
8
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -20,6 +19,7 @@ export declare const getRuntimeConfig: (
|
|
|
20
19
|
[setting: string]: unknown;
|
|
21
20
|
};
|
|
22
21
|
apiVersion: string;
|
|
22
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
25
|
streamCollector: (
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (
|
|
|
26
26
|
defaultNamespace?: string;
|
|
27
27
|
};
|
|
28
28
|
serviceId: string;
|
|
29
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
31
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
32
|
utf8Encoder: (input: Uint8Array | string) => string;
|
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.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,15 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-
|
|
23
|
-
"@aws-
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@smithy/
|
|
28
|
-
"@smithy/
|
|
29
|
-
"@smithy/node-http-handler": "^4.9.0",
|
|
30
|
-
"@smithy/types": "^4.15.0",
|
|
22
|
+
"@aws-sdk/core": "^3.974.26",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
24
|
+
"@aws-sdk/types": "^3.973.15",
|
|
25
|
+
"@smithy/core": "^3.29.0",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
28
|
+
"@smithy/types": "^4.15.1",
|
|
31
29
|
"tslib": "^2.6.2"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|