@aws-sdk/client-sagemakerjobruntime 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 +15 -45
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CompleteRolloutCommand.js +2 -14
- package/dist-es/commands/SampleCommand.js +2 -14
- package/dist-es/commands/SampleWithResponseStreamCommand.js +2 -14
- package/dist-es/commands/UpdateRewardCommand.js +2 -14
- 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/CompleteRolloutCommand.d.ts +3 -8
- package/dist-types/commands/SampleCommand.d.ts +3 -8
- package/dist-types/commands/SampleWithResponseStreamCommand.d.ts +3 -8
- package/dist-types/commands/UpdateRewardCommand.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/CompleteRolloutCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SampleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SampleWithResponseStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateRewardCommand.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");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, sdkStreamMixin, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, sdkStreamMixin, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultSagemakerJobRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -65,7 +67,7 @@ const commonParams = {
|
|
|
65
67
|
Region: { type: "builtInParams", name: "region" },
|
|
66
68
|
};
|
|
67
69
|
|
|
68
|
-
var version = "3.
|
|
70
|
+
var version = "3.1077.0";
|
|
69
71
|
var packageInfo = {
|
|
70
72
|
version: version};
|
|
71
73
|
|
|
@@ -393,6 +395,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
393
395
|
},
|
|
394
396
|
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
395
397
|
serviceId: config?.serviceId ?? "SagemakerJobRuntime",
|
|
398
|
+
sha256: config?.sha256 ?? Sha256,
|
|
396
399
|
urlParser: config?.urlParser ?? parseUrl,
|
|
397
400
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
398
401
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -426,7 +429,6 @@ const getRuntimeConfig = (config) => {
|
|
|
426
429
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
427
430
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
428
431
|
}, config),
|
|
429
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
430
432
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
431
433
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
432
434
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -514,52 +516,20 @@ class SagemakerJobRuntimeClient extends Client {
|
|
|
514
516
|
}
|
|
515
517
|
}
|
|
516
518
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
})
|
|
523
|
-
.s("AgenticRFTRuntimeService", "CompleteRollout", {})
|
|
524
|
-
.n("SagemakerJobRuntimeClient", "CompleteRolloutCommand")
|
|
525
|
-
.sc(CompleteRollout$)
|
|
526
|
-
.build() {
|
|
519
|
+
const command = makeBuilder(commonParams, "AgenticRFTRuntimeService", "SagemakerJobRuntimeClient", getEndpointPlugin);
|
|
520
|
+
const _ep0 = {};
|
|
521
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
522
|
+
|
|
523
|
+
class CompleteRolloutCommand extends command(_ep0, _mw0, "CompleteRollout", CompleteRollout$) {
|
|
527
524
|
}
|
|
528
525
|
|
|
529
|
-
class SampleCommand extends
|
|
530
|
-
.classBuilder()
|
|
531
|
-
.ep(commonParams)
|
|
532
|
-
.m(function (Command, cs, config, o) {
|
|
533
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
534
|
-
})
|
|
535
|
-
.s("AgenticRFTRuntimeService", "Sample", {})
|
|
536
|
-
.n("SagemakerJobRuntimeClient", "SampleCommand")
|
|
537
|
-
.sc(Sample$)
|
|
538
|
-
.build() {
|
|
526
|
+
class SampleCommand extends command(_ep0, _mw0, "Sample", Sample$) {
|
|
539
527
|
}
|
|
540
528
|
|
|
541
|
-
class SampleWithResponseStreamCommand extends
|
|
542
|
-
.classBuilder()
|
|
543
|
-
.ep(commonParams)
|
|
544
|
-
.m(function (Command, cs, config, o) {
|
|
545
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
546
|
-
})
|
|
547
|
-
.s("AgenticRFTRuntimeService", "SampleWithResponseStream", {})
|
|
548
|
-
.n("SagemakerJobRuntimeClient", "SampleWithResponseStreamCommand")
|
|
549
|
-
.sc(SampleWithResponseStream$)
|
|
550
|
-
.build() {
|
|
529
|
+
class SampleWithResponseStreamCommand extends command(_ep0, _mw0, "SampleWithResponseStream", SampleWithResponseStream$) {
|
|
551
530
|
}
|
|
552
531
|
|
|
553
|
-
class UpdateRewardCommand extends
|
|
554
|
-
.classBuilder()
|
|
555
|
-
.ep(commonParams)
|
|
556
|
-
.m(function (Command, cs, config, o) {
|
|
557
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
558
|
-
})
|
|
559
|
-
.s("AgenticRFTRuntimeService", "UpdateReward", {})
|
|
560
|
-
.n("SagemakerJobRuntimeClient", "UpdateRewardCommand")
|
|
561
|
-
.sc(UpdateReward$)
|
|
562
|
-
.build() {
|
|
532
|
+
class UpdateRewardCommand extends command(_ep0, _mw0, "UpdateReward", UpdateReward$) {
|
|
563
533
|
}
|
|
564
534
|
|
|
565
535
|
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, "AgenticRFTRuntimeService", "SagemakerJobRuntimeClient", 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 { CompleteRollout$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CompleteRolloutCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AgenticRFTRuntimeService", "CompleteRollout", {})
|
|
13
|
-
.n("SagemakerJobRuntimeClient", "CompleteRolloutCommand")
|
|
14
|
-
.sc(CompleteRollout$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CompleteRolloutCommand extends command(_ep0, _mw0, "CompleteRollout", CompleteRollout$) {
|
|
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 { Sample$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SampleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AgenticRFTRuntimeService", "Sample", {})
|
|
13
|
-
.n("SagemakerJobRuntimeClient", "SampleCommand")
|
|
14
|
-
.sc(Sample$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SampleCommand extends command(_ep0, _mw0, "Sample", Sample$) {
|
|
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 { SampleWithResponseStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SampleWithResponseStreamCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AgenticRFTRuntimeService", "SampleWithResponseStream", {})
|
|
13
|
-
.n("SagemakerJobRuntimeClient", "SampleWithResponseStreamCommand")
|
|
14
|
-
.sc(SampleWithResponseStream$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SampleWithResponseStreamCommand extends command(_ep0, _mw0, "SampleWithResponseStream", SampleWithResponseStream$) {
|
|
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 { UpdateReward$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateRewardCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AgenticRFTRuntimeService", "UpdateReward", {})
|
|
13
|
-
.n("SagemakerJobRuntimeClient", "UpdateRewardCommand")
|
|
14
|
-
.sc(UpdateReward$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateRewardCommand extends command(_ep0, _mw0, "UpdateReward", UpdateReward$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./SagemakerJobRuntimeClient";
|
|
2
2
|
export * from "./SagemakerJobRuntime";
|
|
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/enums";
|
|
6
7
|
export * from "./models/errors";
|
|
@@ -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";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
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 { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
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, sdkStreamMixin, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
33
|
},
|
|
33
34
|
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
34
35
|
serviceId: config?.serviceId ?? "SagemakerJobRuntime",
|
|
36
|
+
sha256: config?.sha256 ?? Sha256,
|
|
35
37
|
urlParser: config?.urlParser ?? parseUrl,
|
|
36
38
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
39
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./SagemakerJobRuntimeClient";
|
|
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, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SagemakerJobRuntimeClientResolvedConfig, 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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CompleteRolloutRequest, CompleteRolloutResponse } from "../models/models_0";
|
|
4
|
-
import type { SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerJobRuntimeClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CompleteRolloutCommandInput extends CompleteRolloutRequest {
|
|
|
22
19
|
export interface CompleteRolloutCommandOutput extends CompleteRolloutResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CompleteRolloutCommand_base: {
|
|
25
|
-
new (input: CompleteRolloutCommandInput): import("@smithy/core/client").CommandImpl<CompleteRolloutCommandInput, CompleteRolloutCommandOutput, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CompleteRolloutCommandInput): import("@smithy/core/client").CommandImpl<CompleteRolloutCommandInput, CompleteRolloutCommandOutput, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CompleteRolloutCommandInput): import("@smithy/core/client").CommandImpl<CompleteRolloutCommandInput, CompleteRolloutCommandOutput, import("..").SagemakerJobRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CompleteRolloutCommandInput): import("@smithy/core/client").CommandImpl<CompleteRolloutCommandInput, CompleteRolloutCommandOutput, import("..").SagemakerJobRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Marks a rollout as complete, indicating that no further turns will be appended
|
|
@@ -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 { SampleRequest, SampleResponse } from "../models/models_0";
|
|
5
|
-
import type { SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerJobRuntimeClient";
|
|
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 SampleCommandOutputType = Omit<SampleResponse, "Body"> & {
|
|
|
35
32
|
export interface SampleCommandOutput extends SampleCommandOutputType, __MetadataBearer {
|
|
36
33
|
}
|
|
37
34
|
declare const SampleCommand_base: {
|
|
38
|
-
new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<SampleCommandInput, SampleCommandOutput, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
39
|
-
new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<SampleCommandInput, SampleCommandOutput, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
40
|
-
getEndpointParameterInstructions():
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
};
|
|
35
|
+
new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<SampleCommandInput, SampleCommandOutput, import("..").SagemakerJobRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
36
|
+
new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<SampleCommandInput, SampleCommandOutput, import("..").SagemakerJobRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
43
38
|
};
|
|
44
39
|
/**
|
|
45
40
|
* Sends an inference request to the model during a job execution. The request
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
3
2
|
import type { SampleWithResponseStreamRequest, SampleWithResponseStreamResponse } from "../models/models_0";
|
|
4
|
-
import type { SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerJobRuntimeClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*/
|
|
@@ -29,11 +26,9 @@ export interface SampleWithResponseStreamCommandOutput extends Omit<SampleWithRe
|
|
|
29
26
|
Body: StreamingBlobPayloadOutputTypes;
|
|
30
27
|
}
|
|
31
28
|
declare const SampleWithResponseStreamCommand_base: {
|
|
32
|
-
new (input: SampleWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<SampleWithResponseStreamCommandInput, SampleWithResponseStreamCommandOutput, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
33
|
-
new (input: SampleWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<SampleWithResponseStreamCommandInput, SampleWithResponseStreamCommandOutput, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
};
|
|
29
|
+
new (input: SampleWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<SampleWithResponseStreamCommandInput, SampleWithResponseStreamCommandOutput, import("..").SagemakerJobRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
30
|
+
new (input: SampleWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<SampleWithResponseStreamCommandInput, SampleWithResponseStreamCommandOutput, import("..").SagemakerJobRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
37
32
|
};
|
|
38
33
|
/**
|
|
39
34
|
* Sends a streaming inference request to the model during a job execution.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { UpdateRewardRequest, UpdateRewardResponse } from "../models/models_0";
|
|
4
|
-
import type { SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerJobRuntimeClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface UpdateRewardCommandInput extends UpdateRewardRequest {
|
|
|
22
19
|
export interface UpdateRewardCommandOutput extends UpdateRewardResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const UpdateRewardCommand_base: {
|
|
25
|
-
new (input: UpdateRewardCommandInput): import("@smithy/core/client").CommandImpl<UpdateRewardCommandInput, UpdateRewardCommandOutput, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: UpdateRewardCommandInput): import("@smithy/core/client").CommandImpl<UpdateRewardCommandInput, UpdateRewardCommandOutput, SagemakerJobRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: UpdateRewardCommandInput): import("@smithy/core/client").CommandImpl<UpdateRewardCommandInput, UpdateRewardCommandOutput, import("..").SagemakerJobRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateRewardCommandInput): import("@smithy/core/client").CommandImpl<UpdateRewardCommandInput, UpdateRewardCommandOutput, import("..").SagemakerJobRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Updates the reward values for a trajectory and transitions it to
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
10
10
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
11
11
|
export type { SagemakerJobRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
13
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
13
14
|
export * from "./schemas/schemas_0";
|
|
14
15
|
export * from "./models/enums";
|
|
15
16
|
export * from "./models/errors";
|
|
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig)
|
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
17
16
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
18
17
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
18
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig)
|
|
|
24
23
|
[setting: string]: unknown;
|
|
25
24
|
};
|
|
26
25
|
apiVersion: string;
|
|
26
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
29
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig)
|
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
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>;
|
|
20
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig)
|
|
|
26
25
|
[setting: string]: unknown;
|
|
27
26
|
};
|
|
28
27
|
apiVersion: string;
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -4,7 +4,6 @@ import type { SagemakerJobRuntimeClientConfig } from "./SagemakerJobRuntimeClien
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig) => {
|
|
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: SagemakerJobRuntimeClientConfig)
|
|
|
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>;
|
|
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: SagemakerJobRuntimeClientConfig)
|
|
|
22
22
|
};
|
|
23
23
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
24
24
|
serviceId: string;
|
|
25
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
25
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
26
27
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
28
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
SagemakerJobRuntimeClientResolvedConfig,
|
|
4
|
+
ServiceInputTypes,
|
|
5
|
+
ServiceOutputTypes,
|
|
6
|
+
} from "./SagemakerJobRuntimeClient";
|
|
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
|
+
SagemakerJobRuntimeClientResolvedConfig,
|
|
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
|
+
SagemakerJobRuntimeClientResolvedConfig,
|
|
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,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
CompleteRolloutRequest,
|
|
5
4
|
CompleteRolloutResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
9
|
-
ServiceInputTypes,
|
|
10
|
-
ServiceOutputTypes,
|
|
11
|
-
} from "../SagemakerJobRuntimeClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface CompleteRolloutCommandInput extends CompleteRolloutRequest {}
|
|
15
8
|
export interface CompleteRolloutCommandOutput
|
|
16
9
|
extends CompleteRolloutResponse,
|
|
@@ -21,22 +14,20 @@ declare const CompleteRolloutCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
CompleteRolloutCommandInput,
|
|
23
16
|
CompleteRolloutCommandOutput,
|
|
24
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").SagemakerJobRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: CompleteRolloutCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
CompleteRolloutCommandInput,
|
|
32
25
|
CompleteRolloutCommandOutput,
|
|
33
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").SagemakerJobRuntimeClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class CompleteRolloutCommand extends CompleteRolloutCommand_base {
|
|
42
33
|
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 { SampleRequest, SampleResponse } from "../models/models_0";
|
|
8
|
-
import {
|
|
9
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
10
|
-
ServiceInputTypes,
|
|
11
|
-
ServiceOutputTypes,
|
|
12
|
-
} from "../SagemakerJobRuntimeClient";
|
|
13
7
|
export { __MetadataBearer };
|
|
14
|
-
export { $Command };
|
|
15
8
|
export type SampleCommandInputType = Pick<
|
|
16
9
|
SampleRequest,
|
|
17
10
|
Exclude<keyof SampleRequest, "Body">
|
|
@@ -32,20 +25,18 @@ declare const SampleCommand_base: {
|
|
|
32
25
|
new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<
|
|
33
26
|
SampleCommandInput,
|
|
34
27
|
SampleCommandOutput,
|
|
35
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
36
|
-
ServiceInputTypes,
|
|
37
|
-
ServiceOutputTypes
|
|
28
|
+
import("..").SagemakerJobRuntimeClientResolvedConfig,
|
|
29
|
+
import("..").ServiceInputTypes,
|
|
30
|
+
import("..").ServiceOutputTypes
|
|
38
31
|
>;
|
|
39
32
|
new (input: SampleCommandInput): import("@smithy/core/client").CommandImpl<
|
|
40
33
|
SampleCommandInput,
|
|
41
34
|
SampleCommandOutput,
|
|
42
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
43
|
-
ServiceInputTypes,
|
|
44
|
-
ServiceOutputTypes
|
|
35
|
+
import("..").SagemakerJobRuntimeClientResolvedConfig,
|
|
36
|
+
import("..").ServiceInputTypes,
|
|
37
|
+
import("..").ServiceOutputTypes
|
|
45
38
|
>;
|
|
46
|
-
getEndpointParameterInstructions():
|
|
47
|
-
[x: string]: unknown;
|
|
48
|
-
};
|
|
39
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
49
40
|
};
|
|
50
41
|
export declare class SampleCommand extends SampleCommand_base {
|
|
51
42
|
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,
|
|
@@ -8,13 +7,7 @@ import {
|
|
|
8
7
|
SampleWithResponseStreamRequest,
|
|
9
8
|
SampleWithResponseStreamResponse,
|
|
10
9
|
} from "../models/models_0";
|
|
11
|
-
import {
|
|
12
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
13
|
-
ServiceInputTypes,
|
|
14
|
-
ServiceOutputTypes,
|
|
15
|
-
} from "../SagemakerJobRuntimeClient";
|
|
16
10
|
export { __MetadataBearer };
|
|
17
|
-
export { $Command };
|
|
18
11
|
export type SampleWithResponseStreamCommandInputType = Pick<
|
|
19
12
|
SampleWithResponseStreamRequest,
|
|
20
13
|
Exclude<keyof SampleWithResponseStreamRequest, "Body">
|
|
@@ -37,22 +30,20 @@ declare const SampleWithResponseStreamCommand_base: {
|
|
|
37
30
|
): import("@smithy/core/client").CommandImpl<
|
|
38
31
|
SampleWithResponseStreamCommandInput,
|
|
39
32
|
SampleWithResponseStreamCommandOutput,
|
|
40
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
41
|
-
ServiceInputTypes,
|
|
42
|
-
ServiceOutputTypes
|
|
33
|
+
import("..").SagemakerJobRuntimeClientResolvedConfig,
|
|
34
|
+
import("..").ServiceInputTypes,
|
|
35
|
+
import("..").ServiceOutputTypes
|
|
43
36
|
>;
|
|
44
37
|
new (
|
|
45
38
|
input: SampleWithResponseStreamCommandInput
|
|
46
39
|
): import("@smithy/core/client").CommandImpl<
|
|
47
40
|
SampleWithResponseStreamCommandInput,
|
|
48
41
|
SampleWithResponseStreamCommandOutput,
|
|
49
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
50
|
-
ServiceInputTypes,
|
|
51
|
-
ServiceOutputTypes
|
|
42
|
+
import("..").SagemakerJobRuntimeClientResolvedConfig,
|
|
43
|
+
import("..").ServiceInputTypes,
|
|
44
|
+
import("..").ServiceOutputTypes
|
|
52
45
|
>;
|
|
53
|
-
getEndpointParameterInstructions():
|
|
54
|
-
[x: string]: unknown;
|
|
55
|
-
};
|
|
46
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
56
47
|
};
|
|
57
48
|
export declare class SampleWithResponseStreamCommand extends SampleWithResponseStreamCommand_base {
|
|
58
49
|
protected static __types: {
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import { UpdateRewardRequest, UpdateRewardResponse } from "../models/models_0";
|
|
4
|
-
import {
|
|
5
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
6
|
-
ServiceInputTypes,
|
|
7
|
-
ServiceOutputTypes,
|
|
8
|
-
} from "../SagemakerJobRuntimeClient";
|
|
9
3
|
export { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
4
|
export interface UpdateRewardCommandInput extends UpdateRewardRequest {}
|
|
12
5
|
export interface UpdateRewardCommandOutput
|
|
13
6
|
extends UpdateRewardResponse,
|
|
@@ -18,22 +11,20 @@ declare const UpdateRewardCommand_base: {
|
|
|
18
11
|
): import("@smithy/core/client").CommandImpl<
|
|
19
12
|
UpdateRewardCommandInput,
|
|
20
13
|
UpdateRewardCommandOutput,
|
|
21
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
22
|
-
ServiceInputTypes,
|
|
23
|
-
ServiceOutputTypes
|
|
14
|
+
import("..").SagemakerJobRuntimeClientResolvedConfig,
|
|
15
|
+
import("..").ServiceInputTypes,
|
|
16
|
+
import("..").ServiceOutputTypes
|
|
24
17
|
>;
|
|
25
18
|
new (
|
|
26
19
|
input: UpdateRewardCommandInput
|
|
27
20
|
): import("@smithy/core/client").CommandImpl<
|
|
28
21
|
UpdateRewardCommandInput,
|
|
29
22
|
UpdateRewardCommandOutput,
|
|
30
|
-
SagemakerJobRuntimeClientResolvedConfig,
|
|
31
|
-
ServiceInputTypes,
|
|
32
|
-
ServiceOutputTypes
|
|
23
|
+
import("..").SagemakerJobRuntimeClientResolvedConfig,
|
|
24
|
+
import("..").ServiceInputTypes,
|
|
25
|
+
import("..").ServiceOutputTypes
|
|
33
26
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
37
28
|
};
|
|
38
29
|
export declare class UpdateRewardCommand extends UpdateRewardCommand_base {
|
|
39
30
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { SagemakerJobRuntimeExtensionConfiguration } 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/enums";
|
|
9
10
|
export * from "./models/errors";
|
|
@@ -22,7 +22,6 @@ export declare const getRuntimeConfig: (
|
|
|
22
22
|
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
23
|
| RequestHandler;
|
|
24
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
26
25
|
streamCollector: (
|
|
27
26
|
stream:
|
|
28
27
|
| import("stream").Readable
|
|
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
|
|
|
44
43
|
[setting: string]: unknown;
|
|
45
44
|
};
|
|
46
45
|
apiVersion: string;
|
|
46
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
47
47
|
urlParser: import("@smithy/types").UrlParser;
|
|
48
48
|
base64Decoder: import("@smithy/types").Decoder;
|
|
49
49
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (
|
|
|
23
23
|
| RequestHandler
|
|
24
24
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
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
|
|
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
|
|
|
44
43
|
[setting: string]: unknown;
|
|
45
44
|
};
|
|
46
45
|
apiVersion: string;
|
|
46
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
47
47
|
urlParser: import("@smithy/types").UrlParser;
|
|
48
48
|
base64Decoder: import("@smithy/types").Decoder;
|
|
49
49
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -3,7 +3,6 @@ export declare const getRuntimeConfig: (
|
|
|
3
3
|
config: SagemakerJobRuntimeClientConfig
|
|
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: (
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (
|
|
|
27
27
|
};
|
|
28
28
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
29
29
|
serviceId: string;
|
|
30
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
30
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
32
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
32
33
|
utf8Encoder: (input: Uint8Array | string) => string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemakerjobruntime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemakerjobruntime 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": {
|