@aws-sdk/client-sagemakerjobruntime 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 +12 -43
- 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-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/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/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");
|
|
@@ -66,7 +67,7 @@ const commonParams = {
|
|
|
66
67
|
Region: { type: "builtInParams", name: "region" },
|
|
67
68
|
};
|
|
68
69
|
|
|
69
|
-
var version = "3.
|
|
70
|
+
var version = "3.1078.0";
|
|
70
71
|
var packageInfo = {
|
|
71
72
|
version: version};
|
|
72
73
|
|
|
@@ -515,52 +516,20 @@ class SagemakerJobRuntimeClient extends Client {
|
|
|
515
516
|
}
|
|
516
517
|
}
|
|
517
518
|
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
})
|
|
524
|
-
.s("AgenticRFTRuntimeService", "CompleteRollout", {})
|
|
525
|
-
.n("SagemakerJobRuntimeClient", "CompleteRolloutCommand")
|
|
526
|
-
.sc(CompleteRollout$)
|
|
527
|
-
.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$) {
|
|
528
524
|
}
|
|
529
525
|
|
|
530
|
-
class SampleCommand extends
|
|
531
|
-
.classBuilder()
|
|
532
|
-
.ep(commonParams)
|
|
533
|
-
.m(function (Command, cs, config, o) {
|
|
534
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
535
|
-
})
|
|
536
|
-
.s("AgenticRFTRuntimeService", "Sample", {})
|
|
537
|
-
.n("SagemakerJobRuntimeClient", "SampleCommand")
|
|
538
|
-
.sc(Sample$)
|
|
539
|
-
.build() {
|
|
526
|
+
class SampleCommand extends command(_ep0, _mw0, "Sample", Sample$) {
|
|
540
527
|
}
|
|
541
528
|
|
|
542
|
-
class SampleWithResponseStreamCommand extends
|
|
543
|
-
.classBuilder()
|
|
544
|
-
.ep(commonParams)
|
|
545
|
-
.m(function (Command, cs, config, o) {
|
|
546
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
547
|
-
})
|
|
548
|
-
.s("AgenticRFTRuntimeService", "SampleWithResponseStream", {})
|
|
549
|
-
.n("SagemakerJobRuntimeClient", "SampleWithResponseStreamCommand")
|
|
550
|
-
.sc(SampleWithResponseStream$)
|
|
551
|
-
.build() {
|
|
529
|
+
class SampleWithResponseStreamCommand extends command(_ep0, _mw0, "SampleWithResponseStream", SampleWithResponseStream$) {
|
|
552
530
|
}
|
|
553
531
|
|
|
554
|
-
class UpdateRewardCommand extends
|
|
555
|
-
.classBuilder()
|
|
556
|
-
.ep(commonParams)
|
|
557
|
-
.m(function (Command, cs, config, o) {
|
|
558
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
559
|
-
})
|
|
560
|
-
.s("AgenticRFTRuntimeService", "UpdateReward", {})
|
|
561
|
-
.n("SagemakerJobRuntimeClient", "UpdateRewardCommand")
|
|
562
|
-
.sc(UpdateReward$)
|
|
563
|
-
.build() {
|
|
532
|
+
class UpdateRewardCommand extends command(_ep0, _mw0, "UpdateReward", UpdateReward$) {
|
|
564
533
|
}
|
|
565
534
|
|
|
566
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";
|
|
@@ -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";
|
|
@@ -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";
|
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.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": {
|