@aws-sdk/client-sagemaker-runtime 3.1077.0 → 3.1079.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 +11 -37
- 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-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/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/package.json +8 -8
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");
|
|
@@ -69,7 +70,7 @@ const commonParams = {
|
|
|
69
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
71
|
};
|
|
71
72
|
|
|
72
|
-
var version = "3.
|
|
73
|
+
var version = "3.1078.0";
|
|
73
74
|
var packageInfo = {
|
|
74
75
|
version: version};
|
|
75
76
|
|
|
@@ -606,44 +607,17 @@ class SageMakerRuntimeClient extends Client {
|
|
|
606
607
|
}
|
|
607
608
|
}
|
|
608
609
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
})
|
|
615
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpointAsync", {})
|
|
616
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointAsyncCommand")
|
|
617
|
-
.sc(InvokeEndpointAsync$)
|
|
618
|
-
.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$) {
|
|
619
615
|
}
|
|
620
616
|
|
|
621
|
-
class InvokeEndpointCommand extends
|
|
622
|
-
.classBuilder()
|
|
623
|
-
.ep(commonParams)
|
|
624
|
-
.m(function (Command, cs, config, o) {
|
|
625
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
626
|
-
})
|
|
627
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpoint", {})
|
|
628
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointCommand")
|
|
629
|
-
.sc(InvokeEndpoint$)
|
|
630
|
-
.build() {
|
|
617
|
+
class InvokeEndpointCommand extends command(_ep0, _mw0, "InvokeEndpoint", InvokeEndpoint$) {
|
|
631
618
|
}
|
|
632
619
|
|
|
633
|
-
class InvokeEndpointWithResponseStreamCommand extends
|
|
634
|
-
.classBuilder()
|
|
635
|
-
.ep(commonParams)
|
|
636
|
-
.m(function (Command, cs, config, o) {
|
|
637
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
638
|
-
})
|
|
639
|
-
.s("AmazonSageMakerRuntime", "InvokeEndpointWithResponseStream", {
|
|
640
|
-
eventStream: {
|
|
641
|
-
output: true,
|
|
642
|
-
},
|
|
643
|
-
})
|
|
644
|
-
.n("SageMakerRuntimeClient", "InvokeEndpointWithResponseStreamCommand")
|
|
645
|
-
.sc(InvokeEndpointWithResponseStream$)
|
|
646
|
-
.build() {
|
|
620
|
+
class InvokeEndpointWithResponseStreamCommand extends command(_ep0, _mw0, "InvokeEndpointWithResponseStream", InvokeEndpointWithResponseStream$) {
|
|
647
621
|
}
|
|
648
622
|
|
|
649
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";
|
|
@@ -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";
|
|
@@ -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";
|
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.1079.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,13 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.974.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.973.
|
|
25
|
-
"@smithy/core": "^3.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.15.
|
|
22
|
+
"@aws-sdk/core": "^3.974.27",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.62",
|
|
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",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|