@aws-sdk/client-sagemaker-runtime 3.687.0 → 3.692.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-types/models/models_0.d.ts +48 -48
- package/dist-types/ts3.4/models/models_0.d.ts +48 -48
- package/package.json +39 -39
|
@@ -8,7 +8,7 @@ import { SageMakerRuntimeServiceException as __BaseException } from "./SageMaker
|
|
|
8
8
|
export declare class InternalDependencyException extends __BaseException {
|
|
9
9
|
readonly name: "InternalDependencyException";
|
|
10
10
|
readonly $fault: "server";
|
|
11
|
-
Message?: string;
|
|
11
|
+
Message?: string | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
@@ -21,7 +21,7 @@ export declare class InternalDependencyException extends __BaseException {
|
|
|
21
21
|
export declare class InternalFailure extends __BaseException {
|
|
22
22
|
readonly name: "InternalFailure";
|
|
23
23
|
readonly $fault: "server";
|
|
24
|
-
Message?: string;
|
|
24
|
+
Message?: string | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* @internal
|
|
27
27
|
*/
|
|
@@ -49,12 +49,12 @@ export interface InvokeEndpointInput {
|
|
|
49
49
|
* <p>The MIME type of the input data in the request body.</p>
|
|
50
50
|
* @public
|
|
51
51
|
*/
|
|
52
|
-
ContentType?: string;
|
|
52
|
+
ContentType?: string | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* <p>The desired MIME type of the inference response from the model container.</p>
|
|
55
55
|
* @public
|
|
56
56
|
*/
|
|
57
|
-
Accept?: string;
|
|
57
|
+
Accept?: string | undefined;
|
|
58
58
|
/**
|
|
59
59
|
* <p>Provides additional information about a request for an inference submitted to a model
|
|
60
60
|
* hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
|
|
@@ -72,12 +72,12 @@ export interface InvokeEndpointInput {
|
|
|
72
72
|
* Python SDK. </p>
|
|
73
73
|
* @public
|
|
74
74
|
*/
|
|
75
|
-
CustomAttributes?: string;
|
|
75
|
+
CustomAttributes?: string | undefined;
|
|
76
76
|
/**
|
|
77
77
|
* <p>The model to request for inference when invoking a multi-model endpoint.</p>
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
|
-
TargetModel?: string;
|
|
80
|
+
TargetModel?: string | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* <p>Specify the production variant to send the inference request to when invoking an
|
|
83
83
|
* endpoint that is running two or more variants. Note that this parameter overrides the
|
|
@@ -88,33 +88,33 @@ export interface InvokeEndpointInput {
|
|
|
88
88
|
* </p>
|
|
89
89
|
* @public
|
|
90
90
|
*/
|
|
91
|
-
TargetVariant?: string;
|
|
91
|
+
TargetVariant?: string | undefined;
|
|
92
92
|
/**
|
|
93
93
|
* <p>If the endpoint hosts multiple containers and is configured to use direct invocation,
|
|
94
94
|
* this parameter specifies the host name of the container to invoke.</p>
|
|
95
95
|
* @public
|
|
96
96
|
*/
|
|
97
|
-
TargetContainerHostname?: string;
|
|
97
|
+
TargetContainerHostname?: string | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* <p>If you provide a value, it is added to the captured data when you enable data capture
|
|
100
100
|
* on the endpoint. For information about data capture, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-capture.html">Capture
|
|
101
101
|
* Data</a>.</p>
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
|
-
InferenceId?: string;
|
|
104
|
+
InferenceId?: string | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* <p>An optional JMESPath expression used to override the <code>EnableExplanations</code>
|
|
107
107
|
* parameter of the <code>ClarifyExplainerConfig</code> API. See the <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-online-explainability-create-endpoint.html#clarify-online-explainability-create-endpoint-enable">EnableExplanations</a> section in the developer guide for more information.
|
|
108
108
|
* </p>
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
|
-
EnableExplanations?: string;
|
|
111
|
+
EnableExplanations?: string | undefined;
|
|
112
112
|
/**
|
|
113
113
|
* <p>If the endpoint hosts one or more inference components, this parameter specifies the
|
|
114
114
|
* name of inference component to invoke.</p>
|
|
115
115
|
* @public
|
|
116
116
|
*/
|
|
117
|
-
InferenceComponentName?: string;
|
|
117
|
+
InferenceComponentName?: string | undefined;
|
|
118
118
|
/**
|
|
119
119
|
* <p>Creates a stateful session or identifies an existing one. You can do one of the
|
|
120
120
|
* following:</p>
|
|
@@ -135,7 +135,7 @@ export interface InvokeEndpointInput {
|
|
|
135
135
|
* parameter. For any subsequent request where you specify that session ID, SageMaker routes the request to the same instance that supports the session.</p>
|
|
136
136
|
* @public
|
|
137
137
|
*/
|
|
138
|
-
SessionId?: string;
|
|
138
|
+
SessionId?: string | undefined;
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* @public
|
|
@@ -155,12 +155,12 @@ export interface InvokeEndpointOutput {
|
|
|
155
155
|
* <p>The MIME type of the inference returned from the model container.</p>
|
|
156
156
|
* @public
|
|
157
157
|
*/
|
|
158
|
-
ContentType?: string;
|
|
158
|
+
ContentType?: string | undefined;
|
|
159
159
|
/**
|
|
160
160
|
* <p>Identifies the production variant that was invoked.</p>
|
|
161
161
|
* @public
|
|
162
162
|
*/
|
|
163
|
-
InvokedProductionVariant?: string;
|
|
163
|
+
InvokedProductionVariant?: string | undefined;
|
|
164
164
|
/**
|
|
165
165
|
* <p>Provides additional information in the response about the inference returned by a
|
|
166
166
|
* model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is
|
|
@@ -180,18 +180,18 @@ export interface InvokeEndpointOutput {
|
|
|
180
180
|
* Python SDK.</p>
|
|
181
181
|
* @public
|
|
182
182
|
*/
|
|
183
|
-
CustomAttributes?: string;
|
|
183
|
+
CustomAttributes?: string | undefined;
|
|
184
184
|
/**
|
|
185
185
|
* <p>If you created a stateful session with your request, the ID and expiration time that
|
|
186
186
|
* the model assigns to that session.</p>
|
|
187
187
|
* @public
|
|
188
188
|
*/
|
|
189
|
-
NewSessionId?: string;
|
|
189
|
+
NewSessionId?: string | undefined;
|
|
190
190
|
/**
|
|
191
191
|
* <p>If you closed a stateful session with your request, the ID of that session.</p>
|
|
192
192
|
* @public
|
|
193
193
|
*/
|
|
194
|
-
ClosedSessionId?: string;
|
|
194
|
+
ClosedSessionId?: string | undefined;
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
197
|
* <p> Model (owned by the customer in the container) returned 4xx or 5xx error code.
|
|
@@ -201,22 +201,22 @@ export interface InvokeEndpointOutput {
|
|
|
201
201
|
export declare class ModelError extends __BaseException {
|
|
202
202
|
readonly name: "ModelError";
|
|
203
203
|
readonly $fault: "client";
|
|
204
|
-
Message?: string;
|
|
204
|
+
Message?: string | undefined;
|
|
205
205
|
/**
|
|
206
206
|
* <p> Original status code. </p>
|
|
207
207
|
* @public
|
|
208
208
|
*/
|
|
209
|
-
OriginalStatusCode?: number;
|
|
209
|
+
OriginalStatusCode?: number | undefined;
|
|
210
210
|
/**
|
|
211
211
|
* <p> Original message. </p>
|
|
212
212
|
* @public
|
|
213
213
|
*/
|
|
214
|
-
OriginalMessage?: string;
|
|
214
|
+
OriginalMessage?: string | undefined;
|
|
215
215
|
/**
|
|
216
216
|
* <p> The Amazon Resource Name (ARN) of the log stream. </p>
|
|
217
217
|
* @public
|
|
218
218
|
*/
|
|
219
|
-
LogStreamArn?: string;
|
|
219
|
+
LogStreamArn?: string | undefined;
|
|
220
220
|
/**
|
|
221
221
|
* @internal
|
|
222
222
|
*/
|
|
@@ -231,7 +231,7 @@ export declare class ModelError extends __BaseException {
|
|
|
231
231
|
export declare class ModelNotReadyException extends __BaseException {
|
|
232
232
|
readonly name: "ModelNotReadyException";
|
|
233
233
|
readonly $fault: "client";
|
|
234
|
-
Message?: string;
|
|
234
|
+
Message?: string | undefined;
|
|
235
235
|
/**
|
|
236
236
|
* @internal
|
|
237
237
|
*/
|
|
@@ -244,7 +244,7 @@ export declare class ModelNotReadyException extends __BaseException {
|
|
|
244
244
|
export declare class ServiceUnavailable extends __BaseException {
|
|
245
245
|
readonly name: "ServiceUnavailable";
|
|
246
246
|
readonly $fault: "server";
|
|
247
|
-
Message?: string;
|
|
247
|
+
Message?: string | undefined;
|
|
248
248
|
/**
|
|
249
249
|
* @internal
|
|
250
250
|
*/
|
|
@@ -257,7 +257,7 @@ export declare class ServiceUnavailable extends __BaseException {
|
|
|
257
257
|
export declare class ValidationError extends __BaseException {
|
|
258
258
|
readonly name: "ValidationError";
|
|
259
259
|
readonly $fault: "client";
|
|
260
|
-
Message?: string;
|
|
260
|
+
Message?: string | undefined;
|
|
261
261
|
/**
|
|
262
262
|
* @internal
|
|
263
263
|
*/
|
|
@@ -277,12 +277,12 @@ export interface InvokeEndpointAsyncInput {
|
|
|
277
277
|
* <p>The MIME type of the input data in the request body.</p>
|
|
278
278
|
* @public
|
|
279
279
|
*/
|
|
280
|
-
ContentType?: string;
|
|
280
|
+
ContentType?: string | undefined;
|
|
281
281
|
/**
|
|
282
282
|
* <p>The desired MIME type of the inference response from the model container.</p>
|
|
283
283
|
* @public
|
|
284
284
|
*/
|
|
285
|
-
Accept?: string;
|
|
285
|
+
Accept?: string | undefined;
|
|
286
286
|
/**
|
|
287
287
|
* <p>Provides additional information about a request for an inference submitted to a model
|
|
288
288
|
* hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
|
|
@@ -300,13 +300,13 @@ export interface InvokeEndpointAsyncInput {
|
|
|
300
300
|
* Python SDK. </p>
|
|
301
301
|
* @public
|
|
302
302
|
*/
|
|
303
|
-
CustomAttributes?: string;
|
|
303
|
+
CustomAttributes?: string | undefined;
|
|
304
304
|
/**
|
|
305
305
|
* <p>The identifier for the inference request. Amazon SageMaker will generate an
|
|
306
306
|
* identifier for you if none is specified. </p>
|
|
307
307
|
* @public
|
|
308
308
|
*/
|
|
309
|
-
InferenceId?: string;
|
|
309
|
+
InferenceId?: string | undefined;
|
|
310
310
|
/**
|
|
311
311
|
* <p>The Amazon S3 URI where the inference request payload is stored.</p>
|
|
312
312
|
* @public
|
|
@@ -317,13 +317,13 @@ export interface InvokeEndpointAsyncInput {
|
|
|
317
317
|
* The default is 6 hours, or 21,600 seconds.</p>
|
|
318
318
|
* @public
|
|
319
319
|
*/
|
|
320
|
-
RequestTTLSeconds?: number;
|
|
320
|
+
RequestTTLSeconds?: number | undefined;
|
|
321
321
|
/**
|
|
322
322
|
* <p>Maximum amount of time in seconds a request can be processed before it is marked as
|
|
323
323
|
* expired. The default is 15 minutes, or 900 seconds.</p>
|
|
324
324
|
* @public
|
|
325
325
|
*/
|
|
326
|
-
InvocationTimeoutSeconds?: number;
|
|
326
|
+
InvocationTimeoutSeconds?: number | undefined;
|
|
327
327
|
}
|
|
328
328
|
/**
|
|
329
329
|
* @public
|
|
@@ -335,18 +335,18 @@ export interface InvokeEndpointAsyncOutput {
|
|
|
335
335
|
* an identifier for you if you do not specify one.</p>
|
|
336
336
|
* @public
|
|
337
337
|
*/
|
|
338
|
-
InferenceId?: string;
|
|
338
|
+
InferenceId?: string | undefined;
|
|
339
339
|
/**
|
|
340
340
|
* <p>The Amazon S3 URI where the inference response payload is stored.</p>
|
|
341
341
|
* @public
|
|
342
342
|
*/
|
|
343
|
-
OutputLocation?: string;
|
|
343
|
+
OutputLocation?: string | undefined;
|
|
344
344
|
/**
|
|
345
345
|
* <p>The Amazon S3 URI where the inference failure response payload is
|
|
346
346
|
* stored.</p>
|
|
347
347
|
* @public
|
|
348
348
|
*/
|
|
349
|
-
FailureLocation?: string;
|
|
349
|
+
FailureLocation?: string | undefined;
|
|
350
350
|
}
|
|
351
351
|
/**
|
|
352
352
|
* <p>The stream processing failed because of an unknown error, exception or failure. Try your request again.</p>
|
|
@@ -355,7 +355,7 @@ export interface InvokeEndpointAsyncOutput {
|
|
|
355
355
|
export declare class InternalStreamFailure extends __BaseException {
|
|
356
356
|
readonly name: "InternalStreamFailure";
|
|
357
357
|
readonly $fault: "server";
|
|
358
|
-
Message?: string;
|
|
358
|
+
Message?: string | undefined;
|
|
359
359
|
/**
|
|
360
360
|
* @internal
|
|
361
361
|
*/
|
|
@@ -383,12 +383,12 @@ export interface InvokeEndpointWithResponseStreamInput {
|
|
|
383
383
|
* <p>The MIME type of the input data in the request body.</p>
|
|
384
384
|
* @public
|
|
385
385
|
*/
|
|
386
|
-
ContentType?: string;
|
|
386
|
+
ContentType?: string | undefined;
|
|
387
387
|
/**
|
|
388
388
|
* <p>The desired MIME type of the inference response from the model container.</p>
|
|
389
389
|
* @public
|
|
390
390
|
*/
|
|
391
|
-
Accept?: string;
|
|
391
|
+
Accept?: string | undefined;
|
|
392
392
|
/**
|
|
393
393
|
* <p>Provides additional information about a request for an inference submitted to a model
|
|
394
394
|
* hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded
|
|
@@ -406,7 +406,7 @@ export interface InvokeEndpointWithResponseStreamInput {
|
|
|
406
406
|
* Python SDK. </p>
|
|
407
407
|
* @public
|
|
408
408
|
*/
|
|
409
|
-
CustomAttributes?: string;
|
|
409
|
+
CustomAttributes?: string | undefined;
|
|
410
410
|
/**
|
|
411
411
|
* <p>Specify the production variant to send the inference request to when invoking an
|
|
412
412
|
* endpoint that is running two or more variants. Note that this parameter overrides the
|
|
@@ -417,24 +417,24 @@ export interface InvokeEndpointWithResponseStreamInput {
|
|
|
417
417
|
* </p>
|
|
418
418
|
* @public
|
|
419
419
|
*/
|
|
420
|
-
TargetVariant?: string;
|
|
420
|
+
TargetVariant?: string | undefined;
|
|
421
421
|
/**
|
|
422
422
|
* <p>If the endpoint hosts multiple containers and is configured to use direct invocation,
|
|
423
423
|
* this parameter specifies the host name of the container to invoke.</p>
|
|
424
424
|
* @public
|
|
425
425
|
*/
|
|
426
|
-
TargetContainerHostname?: string;
|
|
426
|
+
TargetContainerHostname?: string | undefined;
|
|
427
427
|
/**
|
|
428
428
|
* <p>An identifier that you assign to your request.</p>
|
|
429
429
|
* @public
|
|
430
430
|
*/
|
|
431
|
-
InferenceId?: string;
|
|
431
|
+
InferenceId?: string | undefined;
|
|
432
432
|
/**
|
|
433
433
|
* <p>If the endpoint hosts one or more inference components, this parameter specifies the
|
|
434
434
|
* name of inference component to invoke for a streaming response.</p>
|
|
435
435
|
* @public
|
|
436
436
|
*/
|
|
437
|
-
InferenceComponentName?: string;
|
|
437
|
+
InferenceComponentName?: string | undefined;
|
|
438
438
|
/**
|
|
439
439
|
* <p>The ID of a stateful session to handle your request.</p>
|
|
440
440
|
* <p>You can't create a stateful session by using the
|
|
@@ -447,7 +447,7 @@ export interface InvokeEndpointWithResponseStreamInput {
|
|
|
447
447
|
* response parameter.</p>
|
|
448
448
|
* @public
|
|
449
449
|
*/
|
|
450
|
-
SessionId?: string;
|
|
450
|
+
SessionId?: string | undefined;
|
|
451
451
|
}
|
|
452
452
|
/**
|
|
453
453
|
* <p> An error occurred while streaming the response body. This error can have the
|
|
@@ -468,7 +468,7 @@ export interface InvokeEndpointWithResponseStreamInput {
|
|
|
468
468
|
export declare class ModelStreamError extends __BaseException {
|
|
469
469
|
readonly name: "ModelStreamError";
|
|
470
470
|
readonly $fault: "client";
|
|
471
|
-
Message?: string;
|
|
471
|
+
Message?: string | undefined;
|
|
472
472
|
/**
|
|
473
473
|
* <p>This error can have the following error codes:</p>
|
|
474
474
|
* <dl>
|
|
@@ -485,7 +485,7 @@ export declare class ModelStreamError extends __BaseException {
|
|
|
485
485
|
* </dl>
|
|
486
486
|
* @public
|
|
487
487
|
*/
|
|
488
|
-
ErrorCode?: string;
|
|
488
|
+
ErrorCode?: string | undefined;
|
|
489
489
|
/**
|
|
490
490
|
* @internal
|
|
491
491
|
*/
|
|
@@ -502,7 +502,7 @@ export interface PayloadPart {
|
|
|
502
502
|
* <p>A blob that contains part of the response for your streaming inference request.</p>
|
|
503
503
|
* @public
|
|
504
504
|
*/
|
|
505
|
-
Bytes?: Uint8Array;
|
|
505
|
+
Bytes?: Uint8Array | undefined;
|
|
506
506
|
}
|
|
507
507
|
/**
|
|
508
508
|
* <p>A stream of payload parts. Each part contains a portion of the response for a
|
|
@@ -589,12 +589,12 @@ export interface InvokeEndpointWithResponseStreamOutput {
|
|
|
589
589
|
* <p>The MIME type of the inference returned from the model container.</p>
|
|
590
590
|
* @public
|
|
591
591
|
*/
|
|
592
|
-
ContentType?: string;
|
|
592
|
+
ContentType?: string | undefined;
|
|
593
593
|
/**
|
|
594
594
|
* <p>Identifies the production variant that was invoked.</p>
|
|
595
595
|
* @public
|
|
596
596
|
*/
|
|
597
|
-
InvokedProductionVariant?: string;
|
|
597
|
+
InvokedProductionVariant?: string | undefined;
|
|
598
598
|
/**
|
|
599
599
|
* <p>Provides additional information in the response about the inference returned by a
|
|
600
600
|
* model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is
|
|
@@ -614,7 +614,7 @@ export interface InvokeEndpointWithResponseStreamOutput {
|
|
|
614
614
|
* Python SDK.</p>
|
|
615
615
|
* @public
|
|
616
616
|
*/
|
|
617
|
-
CustomAttributes?: string;
|
|
617
|
+
CustomAttributes?: string | undefined;
|
|
618
618
|
}
|
|
619
619
|
/**
|
|
620
620
|
* @internal
|
|
@@ -3,7 +3,7 @@ import { SageMakerRuntimeServiceException as __BaseException } from "./SageMaker
|
|
|
3
3
|
export declare class InternalDependencyException extends __BaseException {
|
|
4
4
|
readonly name: "InternalDependencyException";
|
|
5
5
|
readonly $fault: "server";
|
|
6
|
-
Message?: string;
|
|
6
|
+
Message?: string | undefined;
|
|
7
7
|
constructor(
|
|
8
8
|
opts: __ExceptionOptionType<InternalDependencyException, __BaseException>
|
|
9
9
|
);
|
|
@@ -11,44 +11,44 @@ export declare class InternalDependencyException extends __BaseException {
|
|
|
11
11
|
export declare class InternalFailure extends __BaseException {
|
|
12
12
|
readonly name: "InternalFailure";
|
|
13
13
|
readonly $fault: "server";
|
|
14
|
-
Message?: string;
|
|
14
|
+
Message?: string | undefined;
|
|
15
15
|
constructor(opts: __ExceptionOptionType<InternalFailure, __BaseException>);
|
|
16
16
|
}
|
|
17
17
|
export interface InvokeEndpointInput {
|
|
18
18
|
EndpointName: string | undefined;
|
|
19
19
|
Body: Uint8Array | undefined;
|
|
20
|
-
ContentType?: string;
|
|
21
|
-
Accept?: string;
|
|
22
|
-
CustomAttributes?: string;
|
|
23
|
-
TargetModel?: string;
|
|
24
|
-
TargetVariant?: string;
|
|
25
|
-
TargetContainerHostname?: string;
|
|
26
|
-
InferenceId?: string;
|
|
27
|
-
EnableExplanations?: string;
|
|
28
|
-
InferenceComponentName?: string;
|
|
29
|
-
SessionId?: string;
|
|
20
|
+
ContentType?: string | undefined;
|
|
21
|
+
Accept?: string | undefined;
|
|
22
|
+
CustomAttributes?: string | undefined;
|
|
23
|
+
TargetModel?: string | undefined;
|
|
24
|
+
TargetVariant?: string | undefined;
|
|
25
|
+
TargetContainerHostname?: string | undefined;
|
|
26
|
+
InferenceId?: string | undefined;
|
|
27
|
+
EnableExplanations?: string | undefined;
|
|
28
|
+
InferenceComponentName?: string | undefined;
|
|
29
|
+
SessionId?: string | undefined;
|
|
30
30
|
}
|
|
31
31
|
export interface InvokeEndpointOutput {
|
|
32
32
|
Body: Uint8Array | undefined;
|
|
33
|
-
ContentType?: string;
|
|
34
|
-
InvokedProductionVariant?: string;
|
|
35
|
-
CustomAttributes?: string;
|
|
36
|
-
NewSessionId?: string;
|
|
37
|
-
ClosedSessionId?: string;
|
|
33
|
+
ContentType?: string | undefined;
|
|
34
|
+
InvokedProductionVariant?: string | undefined;
|
|
35
|
+
CustomAttributes?: string | undefined;
|
|
36
|
+
NewSessionId?: string | undefined;
|
|
37
|
+
ClosedSessionId?: string | undefined;
|
|
38
38
|
}
|
|
39
39
|
export declare class ModelError extends __BaseException {
|
|
40
40
|
readonly name: "ModelError";
|
|
41
41
|
readonly $fault: "client";
|
|
42
|
-
Message?: string;
|
|
43
|
-
OriginalStatusCode?: number;
|
|
44
|
-
OriginalMessage?: string;
|
|
45
|
-
LogStreamArn?: string;
|
|
42
|
+
Message?: string | undefined;
|
|
43
|
+
OriginalStatusCode?: number | undefined;
|
|
44
|
+
OriginalMessage?: string | undefined;
|
|
45
|
+
LogStreamArn?: string | undefined;
|
|
46
46
|
constructor(opts: __ExceptionOptionType<ModelError, __BaseException>);
|
|
47
47
|
}
|
|
48
48
|
export declare class ModelNotReadyException extends __BaseException {
|
|
49
49
|
readonly name: "ModelNotReadyException";
|
|
50
50
|
readonly $fault: "client";
|
|
51
|
-
Message?: string;
|
|
51
|
+
Message?: string | undefined;
|
|
52
52
|
constructor(
|
|
53
53
|
opts: __ExceptionOptionType<ModelNotReadyException, __BaseException>
|
|
54
54
|
);
|
|
@@ -56,34 +56,34 @@ export declare class ModelNotReadyException extends __BaseException {
|
|
|
56
56
|
export declare class ServiceUnavailable extends __BaseException {
|
|
57
57
|
readonly name: "ServiceUnavailable";
|
|
58
58
|
readonly $fault: "server";
|
|
59
|
-
Message?: string;
|
|
59
|
+
Message?: string | undefined;
|
|
60
60
|
constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
|
|
61
61
|
}
|
|
62
62
|
export declare class ValidationError extends __BaseException {
|
|
63
63
|
readonly name: "ValidationError";
|
|
64
64
|
readonly $fault: "client";
|
|
65
|
-
Message?: string;
|
|
65
|
+
Message?: string | undefined;
|
|
66
66
|
constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
|
|
67
67
|
}
|
|
68
68
|
export interface InvokeEndpointAsyncInput {
|
|
69
69
|
EndpointName: string | undefined;
|
|
70
|
-
ContentType?: string;
|
|
71
|
-
Accept?: string;
|
|
72
|
-
CustomAttributes?: string;
|
|
73
|
-
InferenceId?: string;
|
|
70
|
+
ContentType?: string | undefined;
|
|
71
|
+
Accept?: string | undefined;
|
|
72
|
+
CustomAttributes?: string | undefined;
|
|
73
|
+
InferenceId?: string | undefined;
|
|
74
74
|
InputLocation: string | undefined;
|
|
75
|
-
RequestTTLSeconds?: number;
|
|
76
|
-
InvocationTimeoutSeconds?: number;
|
|
75
|
+
RequestTTLSeconds?: number | undefined;
|
|
76
|
+
InvocationTimeoutSeconds?: number | undefined;
|
|
77
77
|
}
|
|
78
78
|
export interface InvokeEndpointAsyncOutput {
|
|
79
|
-
InferenceId?: string;
|
|
80
|
-
OutputLocation?: string;
|
|
81
|
-
FailureLocation?: string;
|
|
79
|
+
InferenceId?: string | undefined;
|
|
80
|
+
OutputLocation?: string | undefined;
|
|
81
|
+
FailureLocation?: string | undefined;
|
|
82
82
|
}
|
|
83
83
|
export declare class InternalStreamFailure extends __BaseException {
|
|
84
84
|
readonly name: "InternalStreamFailure";
|
|
85
85
|
readonly $fault: "server";
|
|
86
|
-
Message?: string;
|
|
86
|
+
Message?: string | undefined;
|
|
87
87
|
constructor(
|
|
88
88
|
opts: __ExceptionOptionType<InternalStreamFailure, __BaseException>
|
|
89
89
|
);
|
|
@@ -91,24 +91,24 @@ export declare class InternalStreamFailure extends __BaseException {
|
|
|
91
91
|
export interface InvokeEndpointWithResponseStreamInput {
|
|
92
92
|
EndpointName: string | undefined;
|
|
93
93
|
Body: Uint8Array | undefined;
|
|
94
|
-
ContentType?: string;
|
|
95
|
-
Accept?: string;
|
|
96
|
-
CustomAttributes?: string;
|
|
97
|
-
TargetVariant?: string;
|
|
98
|
-
TargetContainerHostname?: string;
|
|
99
|
-
InferenceId?: string;
|
|
100
|
-
InferenceComponentName?: string;
|
|
101
|
-
SessionId?: string;
|
|
94
|
+
ContentType?: string | undefined;
|
|
95
|
+
Accept?: string | undefined;
|
|
96
|
+
CustomAttributes?: string | undefined;
|
|
97
|
+
TargetVariant?: string | undefined;
|
|
98
|
+
TargetContainerHostname?: string | undefined;
|
|
99
|
+
InferenceId?: string | undefined;
|
|
100
|
+
InferenceComponentName?: string | undefined;
|
|
101
|
+
SessionId?: string | undefined;
|
|
102
102
|
}
|
|
103
103
|
export declare class ModelStreamError extends __BaseException {
|
|
104
104
|
readonly name: "ModelStreamError";
|
|
105
105
|
readonly $fault: "client";
|
|
106
|
-
Message?: string;
|
|
107
|
-
ErrorCode?: string;
|
|
106
|
+
Message?: string | undefined;
|
|
107
|
+
ErrorCode?: string | undefined;
|
|
108
108
|
constructor(opts: __ExceptionOptionType<ModelStreamError, __BaseException>);
|
|
109
109
|
}
|
|
110
110
|
export interface PayloadPart {
|
|
111
|
-
Bytes?: Uint8Array;
|
|
111
|
+
Bytes?: Uint8Array | undefined;
|
|
112
112
|
}
|
|
113
113
|
export type ResponseStream =
|
|
114
114
|
| ResponseStream.InternalStreamFailureMember
|
|
@@ -150,9 +150,9 @@ export declare namespace ResponseStream {
|
|
|
150
150
|
}
|
|
151
151
|
export interface InvokeEndpointWithResponseStreamOutput {
|
|
152
152
|
Body: AsyncIterable<ResponseStream> | undefined;
|
|
153
|
-
ContentType?: string;
|
|
154
|
-
InvokedProductionVariant?: string;
|
|
155
|
-
CustomAttributes?: string;
|
|
153
|
+
ContentType?: string | undefined;
|
|
154
|
+
InvokedProductionVariant?: string | undefined;
|
|
155
|
+
CustomAttributes?: string | undefined;
|
|
156
156
|
}
|
|
157
157
|
export declare const InvokeEndpointInputFilterSensitiveLog: (
|
|
158
158
|
obj: InvokeEndpointInput
|
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.692.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-runtime",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/eventstream-serde-browser": "^3.0.
|
|
39
|
-
"@smithy/eventstream-serde-config-resolver": "^3.0.
|
|
40
|
-
"@smithy/eventstream-serde-node": "^3.0.
|
|
41
|
-
"@smithy/fetch-http-handler": "^4.
|
|
42
|
-
"@smithy/hash-node": "^3.0.
|
|
43
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
44
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
45
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
46
|
-
"@smithy/middleware-retry": "^3.0.
|
|
47
|
-
"@smithy/middleware-serde": "^3.0.
|
|
48
|
-
"@smithy/middleware-stack": "^3.0.
|
|
49
|
-
"@smithy/node-config-provider": "^3.1.
|
|
50
|
-
"@smithy/node-http-handler": "^3.
|
|
51
|
-
"@smithy/protocol-http": "^4.1.
|
|
52
|
-
"@smithy/smithy-client": "^3.4.
|
|
53
|
-
"@smithy/types": "^3.
|
|
54
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.692.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.692.0",
|
|
25
|
+
"@aws-sdk/core": "3.692.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.692.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.692.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.692.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.692.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.692.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.692.0",
|
|
32
|
+
"@aws-sdk/types": "3.692.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.692.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.692.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.692.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.11",
|
|
37
|
+
"@smithy/core": "^2.5.2",
|
|
38
|
+
"@smithy/eventstream-serde-browser": "^3.0.12",
|
|
39
|
+
"@smithy/eventstream-serde-config-resolver": "^3.0.9",
|
|
40
|
+
"@smithy/eventstream-serde-node": "^3.0.11",
|
|
41
|
+
"@smithy/fetch-http-handler": "^4.1.0",
|
|
42
|
+
"@smithy/hash-node": "^3.0.9",
|
|
43
|
+
"@smithy/invalid-dependency": "^3.0.9",
|
|
44
|
+
"@smithy/middleware-content-length": "^3.0.11",
|
|
45
|
+
"@smithy/middleware-endpoint": "^3.2.2",
|
|
46
|
+
"@smithy/middleware-retry": "^3.0.26",
|
|
47
|
+
"@smithy/middleware-serde": "^3.0.9",
|
|
48
|
+
"@smithy/middleware-stack": "^3.0.9",
|
|
49
|
+
"@smithy/node-config-provider": "^3.1.10",
|
|
50
|
+
"@smithy/node-http-handler": "^3.3.0",
|
|
51
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
52
|
+
"@smithy/smithy-client": "^3.4.3",
|
|
53
|
+
"@smithy/types": "^3.7.0",
|
|
54
|
+
"@smithy/url-parser": "^3.0.9",
|
|
55
55
|
"@smithy/util-base64": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
60
|
-
"@smithy/util-endpoints": "^2.1.
|
|
61
|
-
"@smithy/util-middleware": "^3.0.
|
|
62
|
-
"@smithy/util-retry": "^3.0.
|
|
63
|
-
"@smithy/util-stream": "^3.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^3.0.26",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^3.0.26",
|
|
60
|
+
"@smithy/util-endpoints": "^2.1.5",
|
|
61
|
+
"@smithy/util-middleware": "^3.0.9",
|
|
62
|
+
"@smithy/util-retry": "^3.0.9",
|
|
63
|
+
"@smithy/util-stream": "^3.3.0",
|
|
64
64
|
"@smithy/util-utf8": "^3.0.0",
|
|
65
65
|
"tslib": "^2.6.2"
|
|
66
66
|
},
|