@aws-sdk/client-sagemaker-runtime-http2 3.952.0 → 3.953.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 +65 -51
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/InvokeEndpointWithBidirectionalStreamCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +32 -32
- package/dist-types/SageMakerRuntimeHTTP2Client.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +15 -16
- package/dist-types/ts3.4/SageMakerRuntimeHTTP2Client.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -16
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -114,14 +114,14 @@ class SageMakerRuntimeHTTP2Client extends smithyClient.Client {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
class SageMakerRuntimeHTTP2ServiceException extends smithyClient.ServiceException {
|
|
118
118
|
constructor(options) {
|
|
119
119
|
super(options);
|
|
120
120
|
Object.setPrototypeOf(this, SageMakerRuntimeHTTP2ServiceException.prototype);
|
|
121
121
|
}
|
|
122
|
-
}
|
|
122
|
+
}
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
class InputValidationError extends SageMakerRuntimeHTTP2ServiceException {
|
|
125
125
|
name = "InputValidationError";
|
|
126
126
|
$fault = "client";
|
|
127
127
|
Message;
|
|
@@ -136,8 +136,8 @@ let InputValidationError$1 = class InputValidationError extends SageMakerRuntime
|
|
|
136
136
|
this.Message = opts.Message;
|
|
137
137
|
this.ErrorCode = opts.ErrorCode;
|
|
138
138
|
}
|
|
139
|
-
}
|
|
140
|
-
|
|
139
|
+
}
|
|
140
|
+
class InternalServerError extends SageMakerRuntimeHTTP2ServiceException {
|
|
141
141
|
name = "InternalServerError";
|
|
142
142
|
$fault = "server";
|
|
143
143
|
Message;
|
|
@@ -152,8 +152,8 @@ let InternalServerError$1 = class InternalServerError extends SageMakerRuntimeHT
|
|
|
152
152
|
this.Message = opts.Message;
|
|
153
153
|
this.ErrorCode = opts.ErrorCode;
|
|
154
154
|
}
|
|
155
|
-
}
|
|
156
|
-
|
|
155
|
+
}
|
|
156
|
+
class InternalStreamFailure extends SageMakerRuntimeHTTP2ServiceException {
|
|
157
157
|
name = "InternalStreamFailure";
|
|
158
158
|
$fault = "server";
|
|
159
159
|
Message;
|
|
@@ -166,8 +166,8 @@ let InternalStreamFailure$1 = class InternalStreamFailure extends SageMakerRunti
|
|
|
166
166
|
Object.setPrototypeOf(this, InternalStreamFailure.prototype);
|
|
167
167
|
this.Message = opts.Message;
|
|
168
168
|
}
|
|
169
|
-
}
|
|
170
|
-
|
|
169
|
+
}
|
|
170
|
+
class ModelStreamError extends SageMakerRuntimeHTTP2ServiceException {
|
|
171
171
|
name = "ModelStreamError";
|
|
172
172
|
$fault = "client";
|
|
173
173
|
Message;
|
|
@@ -182,8 +182,8 @@ let ModelStreamError$1 = class ModelStreamError extends SageMakerRuntimeHTTP2Ser
|
|
|
182
182
|
this.Message = opts.Message;
|
|
183
183
|
this.ErrorCode = opts.ErrorCode;
|
|
184
184
|
}
|
|
185
|
-
}
|
|
186
|
-
|
|
185
|
+
}
|
|
186
|
+
class ModelError extends SageMakerRuntimeHTTP2ServiceException {
|
|
187
187
|
name = "ModelError";
|
|
188
188
|
$fault = "client";
|
|
189
189
|
Message;
|
|
@@ -204,8 +204,8 @@ let ModelError$1 = class ModelError extends SageMakerRuntimeHTTP2ServiceExceptio
|
|
|
204
204
|
this.LogStreamArn = opts.LogStreamArn;
|
|
205
205
|
this.ErrorCode = opts.ErrorCode;
|
|
206
206
|
}
|
|
207
|
-
}
|
|
208
|
-
|
|
207
|
+
}
|
|
208
|
+
class ServiceUnavailableError extends SageMakerRuntimeHTTP2ServiceException {
|
|
209
209
|
name = "ServiceUnavailableError";
|
|
210
210
|
$fault = "server";
|
|
211
211
|
Message;
|
|
@@ -220,7 +220,7 @@ let ServiceUnavailableError$1 = class ServiceUnavailableError extends SageMakerR
|
|
|
220
220
|
this.Message = opts.Message;
|
|
221
221
|
this.ErrorCode = opts.ErrorCode;
|
|
222
222
|
}
|
|
223
|
-
}
|
|
223
|
+
}
|
|
224
224
|
|
|
225
225
|
const _B = "Body";
|
|
226
226
|
const _By = "Bytes";
|
|
@@ -268,13 +268,13 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerruntimehttp2";
|
|
|
268
268
|
const _st = "streaming";
|
|
269
269
|
const n0 = "com.amazonaws.sagemakerruntimehttp2";
|
|
270
270
|
var SensitiveBlob = [0, n0, _SB, 8, 21];
|
|
271
|
-
var InputValidationError = [-3, n0, _IVE, { [_e]: _c, [_hE]: 400 }, [_M, _EC], [0, 0]];
|
|
272
|
-
schema.TypeRegistry.for(n0).registerError(InputValidationError
|
|
273
|
-
var InternalServerError = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M, _EC], [0, 0]];
|
|
274
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerError
|
|
275
|
-
var InternalStreamFailure = [-3, n0, _ISF, { [_e]: _s }, [_M], [0]];
|
|
276
|
-
schema.TypeRegistry.for(n0).registerError(InternalStreamFailure
|
|
277
|
-
var InvokeEndpointWithBidirectionalStreamInput = [
|
|
271
|
+
var InputValidationError$ = [-3, n0, _IVE, { [_e]: _c, [_hE]: 400 }, [_M, _EC], [0, 0]];
|
|
272
|
+
schema.TypeRegistry.for(n0).registerError(InputValidationError$, InputValidationError);
|
|
273
|
+
var InternalServerError$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M, _EC], [0, 0]];
|
|
274
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
|
|
275
|
+
var InternalStreamFailure$ = [-3, n0, _ISF, { [_e]: _s }, [_M], [0]];
|
|
276
|
+
schema.TypeRegistry.for(n0).registerError(InternalStreamFailure$, InternalStreamFailure);
|
|
277
|
+
var InvokeEndpointWithBidirectionalStreamInput$ = [
|
|
278
278
|
3,
|
|
279
279
|
n0,
|
|
280
280
|
_IEWBSI,
|
|
@@ -282,24 +282,24 @@ var InvokeEndpointWithBidirectionalStreamInput = [
|
|
|
282
282
|
[_EN, _B, _TV, _MIP, _MQS],
|
|
283
283
|
[
|
|
284
284
|
[0, 1],
|
|
285
|
-
[() => RequestStreamEvent
|
|
285
|
+
[() => RequestStreamEvent$, 16],
|
|
286
286
|
[0, { [_hH]: _XASTV }],
|
|
287
287
|
[0, { [_hH]: _XASMIP }],
|
|
288
288
|
[0, { [_hH]: _XASMQS }],
|
|
289
289
|
],
|
|
290
290
|
];
|
|
291
|
-
var InvokeEndpointWithBidirectionalStreamOutput = [
|
|
291
|
+
var InvokeEndpointWithBidirectionalStreamOutput$ = [
|
|
292
292
|
3,
|
|
293
293
|
n0,
|
|
294
294
|
_IEWBSO,
|
|
295
295
|
0,
|
|
296
296
|
[_B, _IPV],
|
|
297
297
|
[
|
|
298
|
-
[() => ResponseStreamEvent
|
|
298
|
+
[() => ResponseStreamEvent$, 16],
|
|
299
299
|
[0, { [_hH]: _XAIPV }],
|
|
300
300
|
],
|
|
301
301
|
];
|
|
302
|
-
var ModelError = [
|
|
302
|
+
var ModelError$ = [
|
|
303
303
|
-3,
|
|
304
304
|
n0,
|
|
305
305
|
_ME,
|
|
@@ -307,10 +307,10 @@ var ModelError = [
|
|
|
307
307
|
[_M, _OSC, _OM, _LSA, _EC],
|
|
308
308
|
[0, 1, 0, 0, 0],
|
|
309
309
|
];
|
|
310
|
-
schema.TypeRegistry.for(n0).registerError(ModelError
|
|
311
|
-
var ModelStreamError = [-3, n0, _MSE, { [_e]: _c }, [_M, _EC], [0, 0]];
|
|
312
|
-
schema.TypeRegistry.for(n0).registerError(ModelStreamError
|
|
313
|
-
var RequestPayloadPart = [
|
|
310
|
+
schema.TypeRegistry.for(n0).registerError(ModelError$, ModelError);
|
|
311
|
+
var ModelStreamError$ = [-3, n0, _MSE, { [_e]: _c }, [_M, _EC], [0, 0]];
|
|
312
|
+
schema.TypeRegistry.for(n0).registerError(ModelStreamError$, ModelStreamError);
|
|
313
|
+
var RequestPayloadPart$ = [
|
|
314
314
|
3,
|
|
315
315
|
n0,
|
|
316
316
|
_RPP,
|
|
@@ -323,7 +323,7 @@ var RequestPayloadPart = [
|
|
|
323
323
|
[0, { [_eH]: 1 }],
|
|
324
324
|
],
|
|
325
325
|
];
|
|
326
|
-
var ResponsePayloadPart = [
|
|
326
|
+
var ResponsePayloadPart$ = [
|
|
327
327
|
3,
|
|
328
328
|
n0,
|
|
329
329
|
_RPPe,
|
|
@@ -336,9 +336,9 @@ var ResponsePayloadPart = [
|
|
|
336
336
|
[0, { [_eH]: 1 }],
|
|
337
337
|
],
|
|
338
338
|
];
|
|
339
|
-
var ServiceUnavailableError = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_M, _EC], [0, 0]];
|
|
340
|
-
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableError
|
|
341
|
-
var SageMakerRuntimeHTTP2ServiceException = [
|
|
339
|
+
var ServiceUnavailableError$ = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_M, _EC], [0, 0]];
|
|
340
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableError$, ServiceUnavailableError);
|
|
341
|
+
var SageMakerRuntimeHTTP2ServiceException$ = [
|
|
342
342
|
-3,
|
|
343
343
|
_sm,
|
|
344
344
|
"SageMakerRuntimeHTTP2ServiceException",
|
|
@@ -346,34 +346,34 @@ var SageMakerRuntimeHTTP2ServiceException = [
|
|
|
346
346
|
[],
|
|
347
347
|
[],
|
|
348
348
|
];
|
|
349
|
-
schema.TypeRegistry.for(_sm).registerError(SageMakerRuntimeHTTP2ServiceException
|
|
350
|
-
var RequestStreamEvent = [
|
|
349
|
+
schema.TypeRegistry.for(_sm).registerError(SageMakerRuntimeHTTP2ServiceException$, SageMakerRuntimeHTTP2ServiceException);
|
|
350
|
+
var RequestStreamEvent$ = [
|
|
351
351
|
3,
|
|
352
352
|
n0,
|
|
353
353
|
_RSE,
|
|
354
354
|
{ [_st]: 1 },
|
|
355
355
|
[_PP],
|
|
356
|
-
[[() => RequestPayloadPart
|
|
356
|
+
[[() => RequestPayloadPart$, 0]],
|
|
357
357
|
];
|
|
358
|
-
var ResponseStreamEvent = [
|
|
358
|
+
var ResponseStreamEvent$ = [
|
|
359
359
|
3,
|
|
360
360
|
n0,
|
|
361
361
|
_RSEe,
|
|
362
362
|
{ [_st]: 1 },
|
|
363
363
|
[_PP, _MSE, _ISF],
|
|
364
364
|
[
|
|
365
|
-
[() => ResponsePayloadPart
|
|
366
|
-
[() => ModelStreamError
|
|
367
|
-
[() => InternalStreamFailure
|
|
365
|
+
[() => ResponsePayloadPart$, 0],
|
|
366
|
+
[() => ModelStreamError$, 0],
|
|
367
|
+
[() => InternalStreamFailure$, 0],
|
|
368
368
|
],
|
|
369
369
|
];
|
|
370
|
-
var InvokeEndpointWithBidirectionalStream = [
|
|
370
|
+
var InvokeEndpointWithBidirectionalStream$ = [
|
|
371
371
|
9,
|
|
372
372
|
n0,
|
|
373
373
|
_IEWBS,
|
|
374
374
|
{ [_h]: ["POST", "/endpoints/{EndpointName}/invocations-bidirectional-stream", 200] },
|
|
375
|
-
() => InvokeEndpointWithBidirectionalStreamInput
|
|
376
|
-
() => InvokeEndpointWithBidirectionalStreamOutput
|
|
375
|
+
() => InvokeEndpointWithBidirectionalStreamInput$,
|
|
376
|
+
() => InvokeEndpointWithBidirectionalStreamOutput$,
|
|
377
377
|
];
|
|
378
378
|
|
|
379
379
|
class InvokeEndpointWithBidirectionalStreamCommand extends smithyClient.Command
|
|
@@ -389,7 +389,7 @@ class InvokeEndpointWithBidirectionalStreamCommand extends smithyClient.Command
|
|
|
389
389
|
},
|
|
390
390
|
})
|
|
391
391
|
.n("SageMakerRuntimeHTTP2Client", "InvokeEndpointWithBidirectionalStreamCommand")
|
|
392
|
-
.sc(InvokeEndpointWithBidirectionalStream)
|
|
392
|
+
.sc(InvokeEndpointWithBidirectionalStream$)
|
|
393
393
|
.build() {
|
|
394
394
|
}
|
|
395
395
|
|
|
@@ -408,13 +408,27 @@ Object.defineProperty(exports, "__Client", {
|
|
|
408
408
|
enumerable: true,
|
|
409
409
|
get: function () { return smithyClient.Client; }
|
|
410
410
|
});
|
|
411
|
-
exports.InputValidationError = InputValidationError
|
|
412
|
-
exports.
|
|
413
|
-
exports.
|
|
411
|
+
exports.InputValidationError = InputValidationError;
|
|
412
|
+
exports.InputValidationError$ = InputValidationError$;
|
|
413
|
+
exports.InternalServerError = InternalServerError;
|
|
414
|
+
exports.InternalServerError$ = InternalServerError$;
|
|
415
|
+
exports.InternalStreamFailure = InternalStreamFailure;
|
|
416
|
+
exports.InternalStreamFailure$ = InternalStreamFailure$;
|
|
417
|
+
exports.InvokeEndpointWithBidirectionalStream$ = InvokeEndpointWithBidirectionalStream$;
|
|
414
418
|
exports.InvokeEndpointWithBidirectionalStreamCommand = InvokeEndpointWithBidirectionalStreamCommand;
|
|
415
|
-
exports.
|
|
416
|
-
exports.
|
|
419
|
+
exports.InvokeEndpointWithBidirectionalStreamInput$ = InvokeEndpointWithBidirectionalStreamInput$;
|
|
420
|
+
exports.InvokeEndpointWithBidirectionalStreamOutput$ = InvokeEndpointWithBidirectionalStreamOutput$;
|
|
421
|
+
exports.ModelError = ModelError;
|
|
422
|
+
exports.ModelError$ = ModelError$;
|
|
423
|
+
exports.ModelStreamError = ModelStreamError;
|
|
424
|
+
exports.ModelStreamError$ = ModelStreamError$;
|
|
425
|
+
exports.RequestPayloadPart$ = RequestPayloadPart$;
|
|
426
|
+
exports.RequestStreamEvent$ = RequestStreamEvent$;
|
|
427
|
+
exports.ResponsePayloadPart$ = ResponsePayloadPart$;
|
|
428
|
+
exports.ResponseStreamEvent$ = ResponseStreamEvent$;
|
|
417
429
|
exports.SageMakerRuntimeHTTP2 = SageMakerRuntimeHTTP2;
|
|
418
430
|
exports.SageMakerRuntimeHTTP2Client = SageMakerRuntimeHTTP2Client;
|
|
419
|
-
exports.SageMakerRuntimeHTTP2ServiceException = SageMakerRuntimeHTTP2ServiceException
|
|
420
|
-
exports.
|
|
431
|
+
exports.SageMakerRuntimeHTTP2ServiceException = SageMakerRuntimeHTTP2ServiceException;
|
|
432
|
+
exports.SageMakerRuntimeHTTP2ServiceException$ = SageMakerRuntimeHTTP2ServiceException$;
|
|
433
|
+
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
434
|
+
exports.ServiceUnavailableError$ = ServiceUnavailableError$;
|
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.sagemakerruntimehttp2",
|
|
32
|
+
version: "2025-10-01",
|
|
33
|
+
serviceTarget: "AmazonSageMakerRuntimeHttp2",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "SageMaker Runtime HTTP2",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -2,7 +2,7 @@ import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { InvokeEndpointWithBidirectionalStream } from "../schemas/schemas_0";
|
|
5
|
+
import { InvokeEndpointWithBidirectionalStream$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class InvokeEndpointWithBidirectionalStreamCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
@@ -17,6 +17,6 @@ export class InvokeEndpointWithBidirectionalStreamCommand extends $Command
|
|
|
17
17
|
},
|
|
18
18
|
})
|
|
19
19
|
.n("SageMakerRuntimeHTTP2Client", "InvokeEndpointWithBidirectionalStreamCommand")
|
|
20
|
-
.sc(InvokeEndpointWithBidirectionalStream)
|
|
20
|
+
.sc(InvokeEndpointWithBidirectionalStream$)
|
|
21
21
|
.build() {
|
|
22
22
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./SageMakerRuntimeHTTP2Client";
|
|
2
2
|
export * from "./SageMakerRuntimeHTTP2";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/errors";
|
|
5
6
|
export { SageMakerRuntimeHTTP2ServiceException } from "./models/SageMakerRuntimeHTTP2ServiceException";
|
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.sagemakerruntimehttp2",
|
|
29
|
+
version: "2025-10-01",
|
|
30
|
+
serviceTarget: "AmazonSageMakerRuntimeHttp2",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "SageMaker Runtime HTTP2",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -44,16 +44,16 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerruntimehttp2";
|
|
|
44
44
|
const _st = "streaming";
|
|
45
45
|
const n0 = "com.amazonaws.sagemakerruntimehttp2";
|
|
46
46
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
47
|
-
import { InputValidationError
|
|
48
|
-
import { SageMakerRuntimeHTTP2ServiceException
|
|
49
|
-
|
|
50
|
-
export var InputValidationError = [-3, n0, _IVE, { [_e]: _c, [_hE]: 400 }, [_M, _EC], [0, 0]];
|
|
51
|
-
TypeRegistry.for(n0).registerError(InputValidationError
|
|
52
|
-
export var InternalServerError = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M, _EC], [0, 0]];
|
|
53
|
-
TypeRegistry.for(n0).registerError(InternalServerError
|
|
54
|
-
export var InternalStreamFailure = [-3, n0, _ISF, { [_e]: _s }, [_M], [0]];
|
|
55
|
-
TypeRegistry.for(n0).registerError(InternalStreamFailure
|
|
56
|
-
export var InvokeEndpointWithBidirectionalStreamInput = [
|
|
47
|
+
import { InputValidationError, InternalServerError, InternalStreamFailure, ModelError, ModelStreamError, ServiceUnavailableError, } from "../models/errors";
|
|
48
|
+
import { SageMakerRuntimeHTTP2ServiceException } from "../models/SageMakerRuntimeHTTP2ServiceException";
|
|
49
|
+
var SensitiveBlob = [0, n0, _SB, 8, 21];
|
|
50
|
+
export var InputValidationError$ = [-3, n0, _IVE, { [_e]: _c, [_hE]: 400 }, [_M, _EC], [0, 0]];
|
|
51
|
+
TypeRegistry.for(n0).registerError(InputValidationError$, InputValidationError);
|
|
52
|
+
export var InternalServerError$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M, _EC], [0, 0]];
|
|
53
|
+
TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
|
|
54
|
+
export var InternalStreamFailure$ = [-3, n0, _ISF, { [_e]: _s }, [_M], [0]];
|
|
55
|
+
TypeRegistry.for(n0).registerError(InternalStreamFailure$, InternalStreamFailure);
|
|
56
|
+
export var InvokeEndpointWithBidirectionalStreamInput$ = [
|
|
57
57
|
3,
|
|
58
58
|
n0,
|
|
59
59
|
_IEWBSI,
|
|
@@ -61,24 +61,24 @@ export var InvokeEndpointWithBidirectionalStreamInput = [
|
|
|
61
61
|
[_EN, _B, _TV, _MIP, _MQS],
|
|
62
62
|
[
|
|
63
63
|
[0, 1],
|
|
64
|
-
[() => RequestStreamEvent
|
|
64
|
+
[() => RequestStreamEvent$, 16],
|
|
65
65
|
[0, { [_hH]: _XASTV }],
|
|
66
66
|
[0, { [_hH]: _XASMIP }],
|
|
67
67
|
[0, { [_hH]: _XASMQS }],
|
|
68
68
|
],
|
|
69
69
|
];
|
|
70
|
-
export var InvokeEndpointWithBidirectionalStreamOutput = [
|
|
70
|
+
export var InvokeEndpointWithBidirectionalStreamOutput$ = [
|
|
71
71
|
3,
|
|
72
72
|
n0,
|
|
73
73
|
_IEWBSO,
|
|
74
74
|
0,
|
|
75
75
|
[_B, _IPV],
|
|
76
76
|
[
|
|
77
|
-
[() => ResponseStreamEvent
|
|
77
|
+
[() => ResponseStreamEvent$, 16],
|
|
78
78
|
[0, { [_hH]: _XAIPV }],
|
|
79
79
|
],
|
|
80
80
|
];
|
|
81
|
-
export var ModelError = [
|
|
81
|
+
export var ModelError$ = [
|
|
82
82
|
-3,
|
|
83
83
|
n0,
|
|
84
84
|
_ME,
|
|
@@ -86,10 +86,10 @@ export var ModelError = [
|
|
|
86
86
|
[_M, _OSC, _OM, _LSA, _EC],
|
|
87
87
|
[0, 1, 0, 0, 0],
|
|
88
88
|
];
|
|
89
|
-
TypeRegistry.for(n0).registerError(ModelError
|
|
90
|
-
export var ModelStreamError = [-3, n0, _MSE, { [_e]: _c }, [_M, _EC], [0, 0]];
|
|
91
|
-
TypeRegistry.for(n0).registerError(ModelStreamError
|
|
92
|
-
export var RequestPayloadPart = [
|
|
89
|
+
TypeRegistry.for(n0).registerError(ModelError$, ModelError);
|
|
90
|
+
export var ModelStreamError$ = [-3, n0, _MSE, { [_e]: _c }, [_M, _EC], [0, 0]];
|
|
91
|
+
TypeRegistry.for(n0).registerError(ModelStreamError$, ModelStreamError);
|
|
92
|
+
export var RequestPayloadPart$ = [
|
|
93
93
|
3,
|
|
94
94
|
n0,
|
|
95
95
|
_RPP,
|
|
@@ -102,7 +102,7 @@ export var RequestPayloadPart = [
|
|
|
102
102
|
[0, { [_eH]: 1 }],
|
|
103
103
|
],
|
|
104
104
|
];
|
|
105
|
-
export var ResponsePayloadPart = [
|
|
105
|
+
export var ResponsePayloadPart$ = [
|
|
106
106
|
3,
|
|
107
107
|
n0,
|
|
108
108
|
_RPPe,
|
|
@@ -115,9 +115,9 @@ export var ResponsePayloadPart = [
|
|
|
115
115
|
[0, { [_eH]: 1 }],
|
|
116
116
|
],
|
|
117
117
|
];
|
|
118
|
-
export var ServiceUnavailableError = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_M, _EC], [0, 0]];
|
|
119
|
-
TypeRegistry.for(n0).registerError(ServiceUnavailableError
|
|
120
|
-
export var SageMakerRuntimeHTTP2ServiceException = [
|
|
118
|
+
export var ServiceUnavailableError$ = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_M, _EC], [0, 0]];
|
|
119
|
+
TypeRegistry.for(n0).registerError(ServiceUnavailableError$, ServiceUnavailableError);
|
|
120
|
+
export var SageMakerRuntimeHTTP2ServiceException$ = [
|
|
121
121
|
-3,
|
|
122
122
|
_sm,
|
|
123
123
|
"SageMakerRuntimeHTTP2ServiceException",
|
|
@@ -125,32 +125,32 @@ export var SageMakerRuntimeHTTP2ServiceException = [
|
|
|
125
125
|
[],
|
|
126
126
|
[],
|
|
127
127
|
];
|
|
128
|
-
TypeRegistry.for(_sm).registerError(SageMakerRuntimeHTTP2ServiceException
|
|
129
|
-
export var RequestStreamEvent = [
|
|
128
|
+
TypeRegistry.for(_sm).registerError(SageMakerRuntimeHTTP2ServiceException$, SageMakerRuntimeHTTP2ServiceException);
|
|
129
|
+
export var RequestStreamEvent$ = [
|
|
130
130
|
3,
|
|
131
131
|
n0,
|
|
132
132
|
_RSE,
|
|
133
133
|
{ [_st]: 1 },
|
|
134
134
|
[_PP],
|
|
135
|
-
[[() => RequestPayloadPart
|
|
135
|
+
[[() => RequestPayloadPart$, 0]],
|
|
136
136
|
];
|
|
137
|
-
export var ResponseStreamEvent = [
|
|
137
|
+
export var ResponseStreamEvent$ = [
|
|
138
138
|
3,
|
|
139
139
|
n0,
|
|
140
140
|
_RSEe,
|
|
141
141
|
{ [_st]: 1 },
|
|
142
142
|
[_PP, _MSE, _ISF],
|
|
143
143
|
[
|
|
144
|
-
[() => ResponsePayloadPart
|
|
145
|
-
[() => ModelStreamError
|
|
146
|
-
[() => InternalStreamFailure
|
|
144
|
+
[() => ResponsePayloadPart$, 0],
|
|
145
|
+
[() => ModelStreamError$, 0],
|
|
146
|
+
[() => InternalStreamFailure$, 0],
|
|
147
147
|
],
|
|
148
148
|
];
|
|
149
|
-
export var InvokeEndpointWithBidirectionalStream = [
|
|
149
|
+
export var InvokeEndpointWithBidirectionalStream$ = [
|
|
150
150
|
9,
|
|
151
151
|
n0,
|
|
152
152
|
_IEWBS,
|
|
153
153
|
{ [_h]: ["POST", "/endpoints/{EndpointName}/invocations-bidirectional-stream", 200] },
|
|
154
|
-
() => InvokeEndpointWithBidirectionalStreamInput
|
|
155
|
-
() => InvokeEndpointWithBidirectionalStreamOutput
|
|
154
|
+
() => InvokeEndpointWithBidirectionalStreamInput$,
|
|
155
|
+
() => InvokeEndpointWithBidirectionalStreamOutput$,
|
|
156
156
|
];
|
|
@@ -8,7 +8,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
8
8
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
9
9
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
10
10
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
11
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
11
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type EventStreamSerdeProvider as __EventStreamSerdeProvider, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
12
12
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { InvokeEndpointWithBidirectionalStreamCommandInput, InvokeEndpointWithBidirectionalStreamCommandOutput } from "./commands/InvokeEndpointWithBidirectionalStreamCommand";
|
|
14
14
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -145,15 +145,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
145
145
|
* Optional extensions
|
|
146
146
|
*/
|
|
147
147
|
extensions?: RuntimeExtension[];
|
|
148
|
-
/**
|
|
149
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
150
|
-
* may be overridden. A default will always be set by the client.
|
|
151
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
152
|
-
* the client.
|
|
153
|
-
* @alpha
|
|
154
|
-
*
|
|
155
|
-
*/
|
|
156
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
157
148
|
/**
|
|
158
149
|
* The function that provides necessary utilities for generating and parsing event stream
|
|
159
150
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { SageMakerRuntimeHTTP2ExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
12
13
|
export * from "./models/errors";
|
|
13
14
|
export type * from "./models/models_0";
|
|
14
15
|
export { SageMakerRuntimeHTTP2ServiceException } from "./models/SageMakerRuntimeHTTP2ServiceException";
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
19
19
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
20
20
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
21
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
37
41
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -21,8 +21,13 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
24
|
-
apiVersion: string;
|
|
25
24
|
cacheMiddleware?: boolean | undefined;
|
|
25
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
26
|
+
protocolSettings: {
|
|
27
|
+
defaultNamespace?: string;
|
|
28
|
+
[setting: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
apiVersion: string;
|
|
26
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
33
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -33,7 +38,6 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
33
38
|
profile?: string;
|
|
34
39
|
logger: import("@smithy/types").Logger;
|
|
35
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
37
41
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
38
42
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
39
43
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -7,8 +7,13 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
7
7
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
8
8
|
sha256: import("@smithy/types").HashConstructor;
|
|
9
9
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
10
|
-
apiVersion: string;
|
|
11
10
|
cacheMiddleware?: boolean;
|
|
11
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
12
|
+
protocolSettings: {
|
|
13
|
+
defaultNamespace?: string;
|
|
14
|
+
[setting: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
apiVersion: string;
|
|
12
17
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
18
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
19
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -28,7 +33,6 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
28
33
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
29
34
|
logger: import("@smithy/types").Logger;
|
|
30
35
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
36
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
33
37
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
34
38
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { SageMakerRuntimeHTTP2ClientConfig } from "./SageMakerRuntimeHTTP2Client";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: SageMakerRuntimeHTTP2ClientConfi
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerRuntimeHTTP2HttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import type { StaticErrorSchema, StaticOperationSchema,
|
|
2
|
-
export declare var
|
|
3
|
-
export declare var
|
|
4
|
-
export declare var
|
|
5
|
-
export declare var
|
|
6
|
-
export declare var
|
|
7
|
-
export declare var
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var InvokeEndpointWithBidirectionalStream: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var InputValidationError$: StaticErrorSchema;
|
|
3
|
+
export declare var InternalServerError$: StaticErrorSchema;
|
|
4
|
+
export declare var InternalStreamFailure$: StaticErrorSchema;
|
|
5
|
+
export declare var InvokeEndpointWithBidirectionalStreamInput$: StaticStructureSchema;
|
|
6
|
+
export declare var InvokeEndpointWithBidirectionalStreamOutput$: StaticStructureSchema;
|
|
7
|
+
export declare var ModelError$: StaticErrorSchema;
|
|
8
|
+
export declare var ModelStreamError$: StaticErrorSchema;
|
|
9
|
+
export declare var RequestPayloadPart$: StaticStructureSchema;
|
|
10
|
+
export declare var ResponsePayloadPart$: StaticStructureSchema;
|
|
11
|
+
export declare var ServiceUnavailableError$: StaticErrorSchema;
|
|
12
|
+
export declare var SageMakerRuntimeHTTP2ServiceException$: StaticErrorSchema;
|
|
13
|
+
export declare var RequestStreamEvent$: StaticStructureSchema;
|
|
14
|
+
export declare var ResponseStreamEvent$: StaticStructureSchema;
|
|
15
|
+
export declare var InvokeEndpointWithBidirectionalStream$: StaticOperationSchema;
|
|
@@ -38,14 +38,11 @@ import {
|
|
|
38
38
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
39
39
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
40
40
|
ChecksumConstructor as __ChecksumConstructor,
|
|
41
|
-
ClientProtocol,
|
|
42
41
|
Decoder as __Decoder,
|
|
43
42
|
Encoder as __Encoder,
|
|
44
43
|
EventStreamSerdeProvider as __EventStreamSerdeProvider,
|
|
45
44
|
HashConstructor as __HashConstructor,
|
|
46
45
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
47
|
-
HttpRequest,
|
|
48
|
-
HttpResponse,
|
|
49
46
|
Logger as __Logger,
|
|
50
47
|
Provider as __Provider,
|
|
51
48
|
StreamCollector as __StreamCollector,
|
|
@@ -97,7 +94,6 @@ export interface ClientDefaults
|
|
|
97
94
|
retryMode?: string | __Provider<string>;
|
|
98
95
|
logger?: __Logger;
|
|
99
96
|
extensions?: RuntimeExtension[];
|
|
100
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
101
97
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
102
98
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
103
99
|
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { SageMakerRuntimeHTTP2ExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/errors";
|
|
8
9
|
export * from "./models/models_0";
|
|
9
10
|
export { SageMakerRuntimeHTTP2ServiceException } from "./models/SageMakerRuntimeHTTP2ServiceException";
|
|
@@ -30,8 +30,16 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
31
31
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
32
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
33
|
-
apiVersion: string;
|
|
34
33
|
cacheMiddleware?: boolean | undefined;
|
|
34
|
+
protocol:
|
|
35
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
36
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
37
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
38
|
+
protocolSettings: {
|
|
39
|
+
defaultNamespace?: string;
|
|
40
|
+
[setting: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
apiVersion: string;
|
|
35
43
|
urlParser: import("@smithy/types").UrlParser;
|
|
36
44
|
base64Decoder: import("@smithy/types").Decoder;
|
|
37
45
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,10 +50,6 @@ export declare const getRuntimeConfig: (
|
|
|
42
50
|
profile?: string;
|
|
43
51
|
logger: import("@smithy/types").Logger;
|
|
44
52
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
45
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
46
|
-
import("@smithy/types").HttpRequest,
|
|
47
|
-
import("@smithy/types").HttpResponse
|
|
48
|
-
>;
|
|
49
53
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
54
|
userAgentAppId?:
|
|
51
55
|
| string
|
|
@@ -30,8 +30,16 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
31
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
32
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
33
|
-
apiVersion: string;
|
|
34
33
|
cacheMiddleware?: boolean | undefined;
|
|
34
|
+
protocol:
|
|
35
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
36
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
37
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
38
|
+
protocolSettings: {
|
|
39
|
+
defaultNamespace?: string;
|
|
40
|
+
[setting: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
apiVersion: string;
|
|
35
43
|
urlParser: import("@smithy/types").UrlParser;
|
|
36
44
|
base64Decoder: import("@smithy/types").Decoder;
|
|
37
45
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,10 +50,6 @@ export declare const getRuntimeConfig: (
|
|
|
42
50
|
profile?: string;
|
|
43
51
|
logger: import("@smithy/types").Logger;
|
|
44
52
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
45
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
46
|
-
import("@smithy/types").HttpRequest,
|
|
47
|
-
import("@smithy/types").HttpResponse
|
|
48
|
-
>;
|
|
49
53
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
54
|
retryStrategy?:
|
|
51
55
|
| import("@smithy/types").RetryStrategy
|
|
@@ -11,8 +11,16 @@ export declare const getRuntimeConfig: (
|
|
|
11
11
|
| Record<string, unknown>
|
|
12
12
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
13
13
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
14
|
-
apiVersion: string;
|
|
15
14
|
cacheMiddleware?: boolean;
|
|
15
|
+
protocol:
|
|
16
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
17
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
18
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
defaultNamespace?: string;
|
|
21
|
+
[setting: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
apiVersion: string;
|
|
16
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
25
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
26
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
|
|
|
40
48
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
41
49
|
logger: import("@smithy/types").Logger;
|
|
42
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
-
import("@smithy/types").HttpRequest,
|
|
45
|
-
import("@smithy/types").HttpResponse
|
|
46
|
-
>;
|
|
47
51
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
48
52
|
defaultsMode:
|
|
49
53
|
| import("@smithy/smithy-client").DefaultsMode
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { SageMakerRuntimeHTTP2ClientConfig } from "./SageMakerRuntimeHTTP2Client";
|
|
2
3
|
export declare const getRuntimeConfig: (
|
|
3
4
|
config: SageMakerRuntimeHTTP2ClientConfig
|
|
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
|
|
|
16
17
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerRuntimeHTTP2HttpAuthSchemeProvider;
|
|
17
18
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
18
19
|
logger: import("@smithy/types").Logger;
|
|
19
|
-
protocol:
|
|
20
|
-
import("@smithy/types").
|
|
21
|
-
import("@smithy/types").
|
|
22
|
-
|
|
20
|
+
protocol:
|
|
21
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
22
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
23
|
+
| typeof AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
[setting: string]: unknown;
|
|
26
|
+
defaultNamespace?: string;
|
|
27
|
+
};
|
|
23
28
|
serviceId: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
3
|
StaticOperationSchema,
|
|
4
|
-
StaticSimpleSchema,
|
|
5
4
|
StaticStructureSchema,
|
|
6
5
|
} from "@smithy/types";
|
|
7
|
-
export declare var
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var InvokeEndpointWithBidirectionalStream: StaticOperationSchema;
|
|
6
|
+
export declare var InputValidationError$: StaticErrorSchema;
|
|
7
|
+
export declare var InternalServerError$: StaticErrorSchema;
|
|
8
|
+
export declare var InternalStreamFailure$: StaticErrorSchema;
|
|
9
|
+
export declare var InvokeEndpointWithBidirectionalStreamInput$: StaticStructureSchema;
|
|
10
|
+
export declare var InvokeEndpointWithBidirectionalStreamOutput$: StaticStructureSchema;
|
|
11
|
+
export declare var ModelError$: StaticErrorSchema;
|
|
12
|
+
export declare var ModelStreamError$: StaticErrorSchema;
|
|
13
|
+
export declare var RequestPayloadPart$: StaticStructureSchema;
|
|
14
|
+
export declare var ResponsePayloadPart$: StaticStructureSchema;
|
|
15
|
+
export declare var ServiceUnavailableError$: StaticErrorSchema;
|
|
16
|
+
export declare var SageMakerRuntimeHTTP2ServiceException$: StaticErrorSchema;
|
|
17
|
+
export declare var RequestStreamEvent$: StaticStructureSchema;
|
|
18
|
+
export declare var ResponseStreamEvent$: StaticStructureSchema;
|
|
19
|
+
export declare var InvokeEndpointWithBidirectionalStream$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-runtime-http2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Runtime Http2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.953.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-runtime-http2",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -21,46 +21,46 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^4.4.
|
|
38
|
-
"@smithy/core": "^3.
|
|
39
|
-
"@smithy/eventstream-serde-browser": "^4.2.
|
|
40
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.
|
|
41
|
-
"@smithy/eventstream-serde-node": "^4.2.
|
|
42
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
43
|
-
"@smithy/hash-node": "^4.2.
|
|
44
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
45
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
46
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
47
|
-
"@smithy/middleware-retry": "^4.4.
|
|
48
|
-
"@smithy/middleware-serde": "^4.2.
|
|
49
|
-
"@smithy/middleware-stack": "^4.2.
|
|
50
|
-
"@smithy/node-config-provider": "^4.3.
|
|
51
|
-
"@smithy/node-http-handler": "^4.4.
|
|
52
|
-
"@smithy/protocol-http": "^5.3.
|
|
53
|
-
"@smithy/smithy-client": "^4.
|
|
54
|
-
"@smithy/types": "^4.
|
|
55
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.953.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.953.0",
|
|
26
|
+
"@aws-sdk/eventstream-handler-node": "3.953.0",
|
|
27
|
+
"@aws-sdk/middleware-eventstream": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.953.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
33
|
+
"@aws-sdk/types": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.953.0",
|
|
37
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
38
|
+
"@smithy/core": "^3.19.0",
|
|
39
|
+
"@smithy/eventstream-serde-browser": "^4.2.6",
|
|
40
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.6",
|
|
41
|
+
"@smithy/eventstream-serde-node": "^4.2.6",
|
|
42
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
43
|
+
"@smithy/hash-node": "^4.2.6",
|
|
44
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
45
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
46
|
+
"@smithy/middleware-endpoint": "^4.3.15",
|
|
47
|
+
"@smithy/middleware-retry": "^4.4.15",
|
|
48
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
49
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
50
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
51
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
52
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
53
|
+
"@smithy/smithy-client": "^4.10.0",
|
|
54
|
+
"@smithy/types": "^4.10.0",
|
|
55
|
+
"@smithy/url-parser": "^4.2.6",
|
|
56
56
|
"@smithy/util-base64": "^4.3.0",
|
|
57
57
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
58
58
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
59
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
60
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
61
|
-
"@smithy/util-endpoints": "^3.2.
|
|
62
|
-
"@smithy/util-middleware": "^4.2.
|
|
63
|
-
"@smithy/util-retry": "^4.2.
|
|
59
|
+
"@smithy/util-defaults-mode-browser": "^4.3.14",
|
|
60
|
+
"@smithy/util-defaults-mode-node": "^4.2.17",
|
|
61
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
62
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
63
|
+
"@smithy/util-retry": "^4.2.6",
|
|
64
64
|
"@smithy/util-utf8": "^4.2.0",
|
|
65
65
|
"tslib": "^2.6.2"
|
|
66
66
|
},
|