@aws-sdk/client-sagemaker-runtime 3.1105.0 → 3.1107.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 +7 -5
- package/dist-es/schemas/schemas_0.js +6 -4
- package/dist-types/commands/InvokeEndpointCommand.d.ts +1 -0
- package/dist-types/commands/InvokeEndpointWithResponseStreamCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +22 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1106.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -307,6 +307,7 @@ const _NSI = "NewSessionId";
|
|
|
307
307
|
const _OL = "OutputLocation";
|
|
308
308
|
const _OM = "OriginalMessage";
|
|
309
309
|
const _OSC = "OriginalStatusCode";
|
|
310
|
+
const _PAI = "PrefixAwareId";
|
|
310
311
|
const _PB = "PartBlob";
|
|
311
312
|
const _PP = "PayloadPart";
|
|
312
313
|
const _RS = "ResponseStream";
|
|
@@ -331,6 +332,7 @@ const _XASII = "X-Amzn-SageMaker-Inference-Id";
|
|
|
331
332
|
const _XASI_ = "X-Amzn-SageMaker-InvocationTimeoutSeconds";
|
|
332
333
|
const _XASNSI = "X-Amzn-SageMaker-New-Session-Id";
|
|
333
334
|
const _XASO = "X-Amzn-SageMaker-OutputLocation";
|
|
335
|
+
const _XASPAI = "X-Amzn-SageMaker-Prefix-Aware-Id";
|
|
334
336
|
const _XASR = "X-Amzn-SageMaker-RequestTTLSeconds";
|
|
335
337
|
const _XASS = "X-Amzn-SageMaker-S3OutputPathExtension";
|
|
336
338
|
const _XASSI = "X-Amzn-SageMaker-Session-Id";
|
|
@@ -421,8 +423,8 @@ var InvokeEndpointAsyncOutput$ = [3, n0, _IEAO,
|
|
|
421
423
|
];
|
|
422
424
|
var InvokeEndpointInput$ = [3, n0, _IEI,
|
|
423
425
|
0,
|
|
424
|
-
[_EN, _B, _CT, _A, _CA, _TM, _TV, _TCH, _II, _EE, _ICN, _SI],
|
|
425
|
-
[[0, 1], [() => BodyBlob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _A }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASTM }], [0, { [_hH]: _XASTV }], [0, { [_hH]: _XASTCH }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASEE }], [0, { [_hH]: _XASIC }], [0, { [_hH]: _XASSI }]], 2
|
|
426
|
+
[_EN, _B, _CT, _A, _CA, _TM, _TV, _TCH, _II, _EE, _ICN, _SI, _PAI],
|
|
427
|
+
[[0, 1], [() => BodyBlob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _A }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASTM }], [0, { [_hH]: _XASTV }], [0, { [_hH]: _XASTCH }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASEE }], [0, { [_hH]: _XASIC }], [0, { [_hH]: _XASSI }], [0, { [_hH]: _XASPAI }]], 2
|
|
426
428
|
];
|
|
427
429
|
var InvokeEndpointOutput$ = [3, n0, _IEO,
|
|
428
430
|
0,
|
|
@@ -431,8 +433,8 @@ var InvokeEndpointOutput$ = [3, n0, _IEO,
|
|
|
431
433
|
];
|
|
432
434
|
var InvokeEndpointWithResponseStreamInput$ = [3, n0, _IEWRSI,
|
|
433
435
|
0,
|
|
434
|
-
[_EN, _B, _CT, _A, _CA, _TV, _TCH, _II, _ICN, _SI],
|
|
435
|
-
[[0, 1], [() => BodyBlob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XASA }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASTV }], [0, { [_hH]: _XASTCH }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASIC }], [0, { [_hH]: _XASSI }]], 2
|
|
436
|
+
[_EN, _B, _CT, _A, _CA, _TV, _TCH, _II, _ICN, _SI, _PAI],
|
|
437
|
+
[[0, 1], [() => BodyBlob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XASA }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASTV }], [0, { [_hH]: _XASTCH }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASIC }], [0, { [_hH]: _XASSI }], [0, { [_hH]: _XASPAI }]], 2
|
|
436
438
|
];
|
|
437
439
|
var InvokeEndpointWithResponseStreamOutput$ = [3, n0, _IEWRSO,
|
|
438
440
|
0,
|
|
@@ -39,6 +39,7 @@ const _NSI = "NewSessionId";
|
|
|
39
39
|
const _OL = "OutputLocation";
|
|
40
40
|
const _OM = "OriginalMessage";
|
|
41
41
|
const _OSC = "OriginalStatusCode";
|
|
42
|
+
const _PAI = "PrefixAwareId";
|
|
42
43
|
const _PB = "PartBlob";
|
|
43
44
|
const _PP = "PayloadPart";
|
|
44
45
|
const _RS = "ResponseStream";
|
|
@@ -63,6 +64,7 @@ const _XASII = "X-Amzn-SageMaker-Inference-Id";
|
|
|
63
64
|
const _XASI_ = "X-Amzn-SageMaker-InvocationTimeoutSeconds";
|
|
64
65
|
const _XASNSI = "X-Amzn-SageMaker-New-Session-Id";
|
|
65
66
|
const _XASO = "X-Amzn-SageMaker-OutputLocation";
|
|
67
|
+
const _XASPAI = "X-Amzn-SageMaker-Prefix-Aware-Id";
|
|
66
68
|
const _XASR = "X-Amzn-SageMaker-RequestTTLSeconds";
|
|
67
69
|
const _XASS = "X-Amzn-SageMaker-S3OutputPathExtension";
|
|
68
70
|
const _XASSI = "X-Amzn-SageMaker-Session-Id";
|
|
@@ -156,8 +158,8 @@ export var InvokeEndpointAsyncOutput$ = [3, n0, _IEAO,
|
|
|
156
158
|
];
|
|
157
159
|
export var InvokeEndpointInput$ = [3, n0, _IEI,
|
|
158
160
|
0,
|
|
159
|
-
[_EN, _B, _CT, _A, _CA, _TM, _TV, _TCH, _II, _EE, _ICN, _SI],
|
|
160
|
-
[[0, 1], [() => BodyBlob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _A }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASTM }], [0, { [_hH]: _XASTV }], [0, { [_hH]: _XASTCH }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASEE }], [0, { [_hH]: _XASIC }], [0, { [_hH]: _XASSI }]], 2
|
|
161
|
+
[_EN, _B, _CT, _A, _CA, _TM, _TV, _TCH, _II, _EE, _ICN, _SI, _PAI],
|
|
162
|
+
[[0, 1], [() => BodyBlob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _A }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASTM }], [0, { [_hH]: _XASTV }], [0, { [_hH]: _XASTCH }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASEE }], [0, { [_hH]: _XASIC }], [0, { [_hH]: _XASSI }], [0, { [_hH]: _XASPAI }]], 2
|
|
161
163
|
];
|
|
162
164
|
export var InvokeEndpointOutput$ = [3, n0, _IEO,
|
|
163
165
|
0,
|
|
@@ -166,8 +168,8 @@ export var InvokeEndpointOutput$ = [3, n0, _IEO,
|
|
|
166
168
|
];
|
|
167
169
|
export var InvokeEndpointWithResponseStreamInput$ = [3, n0, _IEWRSI,
|
|
168
170
|
0,
|
|
169
|
-
[_EN, _B, _CT, _A, _CA, _TV, _TCH, _II, _ICN, _SI],
|
|
170
|
-
[[0, 1], [() => BodyBlob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XASA }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASTV }], [0, { [_hH]: _XASTCH }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASIC }], [0, { [_hH]: _XASSI }]], 2
|
|
171
|
+
[_EN, _B, _CT, _A, _CA, _TV, _TCH, _II, _ICN, _SI, _PAI],
|
|
172
|
+
[[0, 1], [() => BodyBlob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XASA }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASTV }], [0, { [_hH]: _XASTCH }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASIC }], [0, { [_hH]: _XASSI }], [0, { [_hH]: _XASPAI }]], 2
|
|
171
173
|
];
|
|
172
174
|
export var InvokeEndpointWithResponseStreamOutput$ = [3, n0, _IEWRSO,
|
|
173
175
|
0,
|
|
@@ -77,6 +77,7 @@ declare const InvokeEndpointCommand_base: {
|
|
|
77
77
|
* EnableExplanations: "STRING_VALUE",
|
|
78
78
|
* InferenceComponentName: "STRING_VALUE",
|
|
79
79
|
* SessionId: "STRING_VALUE",
|
|
80
|
+
* PrefixAwareId: "STRING_VALUE",
|
|
80
81
|
* };
|
|
81
82
|
* const command = new InvokeEndpointCommand(input);
|
|
82
83
|
* const response = await client.send(command);
|
|
@@ -73,6 +73,7 @@ declare const InvokeEndpointWithResponseStreamCommand_base: {
|
|
|
73
73
|
* InferenceId: "STRING_VALUE",
|
|
74
74
|
* InferenceComponentName: "STRING_VALUE",
|
|
75
75
|
* SessionId: "STRING_VALUE",
|
|
76
|
+
* PrefixAwareId: "STRING_VALUE",
|
|
76
77
|
* };
|
|
77
78
|
* const command = new InvokeEndpointWithResponseStreamCommand(input);
|
|
78
79
|
* const response = await client.send(command);
|
|
@@ -108,6 +108,17 @@ export interface InvokeEndpointInput {
|
|
|
108
108
|
* @public
|
|
109
109
|
*/
|
|
110
110
|
SessionId?: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>An optional, stable identifier that serves as a routing hint for prefix-aware routing.
|
|
113
|
+
* The service routes requests with the same prefix and the same identifier to the same
|
|
114
|
+
* instance. If requests from different applications might have the same prompt prefix, set
|
|
115
|
+
* a different identifier for each application to differentiate their routing
|
|
116
|
+
* decisions.</p>
|
|
117
|
+
* <p>Applies only to endpoints configured with a
|
|
118
|
+
* <code>RoutingStrategy</code> of <code>PREFIX_AWARE</code>.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
PrefixAwareId?: string | undefined;
|
|
111
122
|
}
|
|
112
123
|
/**
|
|
113
124
|
* @public
|
|
@@ -363,6 +374,17 @@ export interface InvokeEndpointWithResponseStreamInput {
|
|
|
363
374
|
* @public
|
|
364
375
|
*/
|
|
365
376
|
SessionId?: string | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* <p>An optional, stable identifier that serves as a routing hint for prefix-aware routing.
|
|
379
|
+
* The service routes requests with the same prefix and the same identifier to the same
|
|
380
|
+
* instance. If requests from different applications might have the same prompt prefix, set
|
|
381
|
+
* a different identifier for each application to differentiate their routing
|
|
382
|
+
* decisions.</p>
|
|
383
|
+
* <p>Applies only to endpoints configured with a
|
|
384
|
+
* <code>RoutingStrategy</code> of <code>PREFIX_AWARE</code>.</p>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
PrefixAwareId?: string | undefined;
|
|
366
388
|
}
|
|
367
389
|
/**
|
|
368
390
|
* <p>A wrapper for pieces of the payload that's returned in response to a streaming
|
|
@@ -12,6 +12,7 @@ export interface InvokeEndpointInput {
|
|
|
12
12
|
EnableExplanations?: string | undefined;
|
|
13
13
|
InferenceComponentName?: string | undefined;
|
|
14
14
|
SessionId?: string | undefined;
|
|
15
|
+
PrefixAwareId?: string | undefined;
|
|
15
16
|
}
|
|
16
17
|
export interface InvokeEndpointOutput {
|
|
17
18
|
Body: Uint8Array | undefined;
|
|
@@ -50,6 +51,7 @@ export interface InvokeEndpointWithResponseStreamInput {
|
|
|
50
51
|
InferenceId?: string | undefined;
|
|
51
52
|
InferenceComponentName?: string | undefined;
|
|
52
53
|
SessionId?: string | undefined;
|
|
54
|
+
PrefixAwareId?: string | undefined;
|
|
53
55
|
}
|
|
54
56
|
export interface PayloadPart {
|
|
55
57
|
Bytes?: Uint8Array | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1107.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sagemaker Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-runtime",
|
|
6
6
|
"license": "Apache-2.0",
|