@aws-sdk/client-sagemaker-a2i-runtime 3.987.0 → 3.988.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 +24 -308
- package/dist-cjs/models/SageMakerA2IRuntimeServiceException.js +12 -0
- package/dist-cjs/models/errors.js +94 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +190 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +41 -35
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var SageMakerA2IRuntimeServiceException = require('./models/SageMakerA2IRuntimeServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,276 +113,6 @@ class SageMakerA2IRuntimeClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class SageMakerA2IRuntimeServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, SageMakerA2IRuntimeServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class InternalServerException extends SageMakerA2IRuntimeServiceException {
|
|
121
|
-
name = "InternalServerException";
|
|
122
|
-
$fault = "server";
|
|
123
|
-
Message;
|
|
124
|
-
constructor(opts) {
|
|
125
|
-
super({
|
|
126
|
-
name: "InternalServerException",
|
|
127
|
-
$fault: "server",
|
|
128
|
-
...opts,
|
|
129
|
-
});
|
|
130
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
131
|
-
this.Message = opts.Message;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
class ResourceNotFoundException extends SageMakerA2IRuntimeServiceException {
|
|
135
|
-
name = "ResourceNotFoundException";
|
|
136
|
-
$fault = "client";
|
|
137
|
-
Message;
|
|
138
|
-
constructor(opts) {
|
|
139
|
-
super({
|
|
140
|
-
name: "ResourceNotFoundException",
|
|
141
|
-
$fault: "client",
|
|
142
|
-
...opts,
|
|
143
|
-
});
|
|
144
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
145
|
-
this.Message = opts.Message;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
class ThrottlingException extends SageMakerA2IRuntimeServiceException {
|
|
149
|
-
name = "ThrottlingException";
|
|
150
|
-
$fault = "client";
|
|
151
|
-
Message;
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "ThrottlingException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
159
|
-
this.Message = opts.Message;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
class ValidationException extends SageMakerA2IRuntimeServiceException {
|
|
163
|
-
name = "ValidationException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
Message;
|
|
166
|
-
constructor(opts) {
|
|
167
|
-
super({
|
|
168
|
-
name: "ValidationException",
|
|
169
|
-
$fault: "client",
|
|
170
|
-
...opts,
|
|
171
|
-
});
|
|
172
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
173
|
-
this.Message = opts.Message;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
class ConflictException extends SageMakerA2IRuntimeServiceException {
|
|
177
|
-
name = "ConflictException";
|
|
178
|
-
$fault = "client";
|
|
179
|
-
Message;
|
|
180
|
-
constructor(opts) {
|
|
181
|
-
super({
|
|
182
|
-
name: "ConflictException",
|
|
183
|
-
$fault: "client",
|
|
184
|
-
...opts,
|
|
185
|
-
});
|
|
186
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
187
|
-
this.Message = opts.Message;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
class ServiceQuotaExceededException extends SageMakerA2IRuntimeServiceException {
|
|
191
|
-
name = "ServiceQuotaExceededException";
|
|
192
|
-
$fault = "client";
|
|
193
|
-
Message;
|
|
194
|
-
constructor(opts) {
|
|
195
|
-
super({
|
|
196
|
-
name: "ServiceQuotaExceededException",
|
|
197
|
-
$fault: "client",
|
|
198
|
-
...opts,
|
|
199
|
-
});
|
|
200
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
201
|
-
this.Message = opts.Message;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
const _CC = "ContentClassifiers";
|
|
206
|
-
const _CE = "ConflictException";
|
|
207
|
-
const _CT = "CreationTime";
|
|
208
|
-
const _CTA = "CreationTimeAfter";
|
|
209
|
-
const _CTB = "CreationTimeBefore";
|
|
210
|
-
const _DA = "DataAttributes";
|
|
211
|
-
const _DHL = "DeleteHumanLoop";
|
|
212
|
-
const _DHLR = "DeleteHumanLoopRequest";
|
|
213
|
-
const _DHLRe = "DeleteHumanLoopResponse";
|
|
214
|
-
const _DHLRes = "DescribeHumanLoopRequest";
|
|
215
|
-
const _DHLResc = "DescribeHumanLoopResponse";
|
|
216
|
-
const _DHLe = "DescribeHumanLoop";
|
|
217
|
-
const _FC = "FailureCode";
|
|
218
|
-
const _FDA = "FlowDefinitionArn";
|
|
219
|
-
const _FR = "FailureReason";
|
|
220
|
-
const _HLA = "HumanLoopArn";
|
|
221
|
-
const _HLDA = "HumanLoopDataAttributes";
|
|
222
|
-
const _HLI = "HumanLoopInput";
|
|
223
|
-
const _HLN = "HumanLoopName";
|
|
224
|
-
const _HLO = "HumanLoopOutput";
|
|
225
|
-
const _HLS = "HumanLoopStatus";
|
|
226
|
-
const _HLSu = "HumanLoopSummary";
|
|
227
|
-
const _HLSum = "HumanLoopSummaries";
|
|
228
|
-
const _IC = "InputContent";
|
|
229
|
-
const _ISE = "InternalServerException";
|
|
230
|
-
const _LHL = "ListHumanLoops";
|
|
231
|
-
const _LHLR = "ListHumanLoopsRequest";
|
|
232
|
-
const _LHLRi = "ListHumanLoopsResponse";
|
|
233
|
-
const _M = "Message";
|
|
234
|
-
const _MR = "MaxResults";
|
|
235
|
-
const _NT = "NextToken";
|
|
236
|
-
const _OSU = "OutputS3Uri";
|
|
237
|
-
const _RNFE = "ResourceNotFoundException";
|
|
238
|
-
const _SHL = "StartHumanLoop";
|
|
239
|
-
const _SHLR = "StartHumanLoopRequest";
|
|
240
|
-
const _SHLRt = "StartHumanLoopResponse";
|
|
241
|
-
const _SHLRto = "StopHumanLoopRequest";
|
|
242
|
-
const _SHLRtop = "StopHumanLoopResponse";
|
|
243
|
-
const _SHLt = "StopHumanLoop";
|
|
244
|
-
const _SO = "SortOrder";
|
|
245
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
246
|
-
const _TE = "ThrottlingException";
|
|
247
|
-
const _VE = "ValidationException";
|
|
248
|
-
const _c = "client";
|
|
249
|
-
const _e = "error";
|
|
250
|
-
const _h = "http";
|
|
251
|
-
const _hE = "httpError";
|
|
252
|
-
const _hQ = "httpQuery";
|
|
253
|
-
const _s = "server";
|
|
254
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakera2iruntime";
|
|
255
|
-
const n0 = "com.amazonaws.sagemakera2iruntime";
|
|
256
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
257
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
258
|
-
[_M],
|
|
259
|
-
[0]
|
|
260
|
-
];
|
|
261
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
262
|
-
var DeleteHumanLoopRequest$ = [3, n0, _DHLR,
|
|
263
|
-
0,
|
|
264
|
-
[_HLN],
|
|
265
|
-
[[0, 1]], 1
|
|
266
|
-
];
|
|
267
|
-
var DeleteHumanLoopResponse$ = [3, n0, _DHLRe,
|
|
268
|
-
0,
|
|
269
|
-
[],
|
|
270
|
-
[]
|
|
271
|
-
];
|
|
272
|
-
var DescribeHumanLoopRequest$ = [3, n0, _DHLRes,
|
|
273
|
-
0,
|
|
274
|
-
[_HLN],
|
|
275
|
-
[[0, 1]], 1
|
|
276
|
-
];
|
|
277
|
-
var DescribeHumanLoopResponse$ = [3, n0, _DHLResc,
|
|
278
|
-
0,
|
|
279
|
-
[_CT, _HLS, _HLN, _HLA, _FDA, _FR, _FC, _HLO],
|
|
280
|
-
[5, 0, 0, 0, 0, 0, 0, () => HumanLoopOutput$], 5
|
|
281
|
-
];
|
|
282
|
-
var HumanLoopDataAttributes$ = [3, n0, _HLDA,
|
|
283
|
-
0,
|
|
284
|
-
[_CC],
|
|
285
|
-
[64 | 0], 1
|
|
286
|
-
];
|
|
287
|
-
var HumanLoopInput$ = [3, n0, _HLI,
|
|
288
|
-
0,
|
|
289
|
-
[_IC],
|
|
290
|
-
[0], 1
|
|
291
|
-
];
|
|
292
|
-
var HumanLoopOutput$ = [3, n0, _HLO,
|
|
293
|
-
0,
|
|
294
|
-
[_OSU],
|
|
295
|
-
[0], 1
|
|
296
|
-
];
|
|
297
|
-
var HumanLoopSummary$ = [3, n0, _HLSu,
|
|
298
|
-
0,
|
|
299
|
-
[_HLN, _HLS, _CT, _FR, _FDA],
|
|
300
|
-
[0, 0, 5, 0, 0]
|
|
301
|
-
];
|
|
302
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
303
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
304
|
-
[_M],
|
|
305
|
-
[0]
|
|
306
|
-
];
|
|
307
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
308
|
-
var ListHumanLoopsRequest$ = [3, n0, _LHLR,
|
|
309
|
-
0,
|
|
310
|
-
[_FDA, _CTA, _CTB, _SO, _NT, _MR],
|
|
311
|
-
[[0, { [_hQ]: _FDA }], [5, { [_hQ]: _CTA }], [5, { [_hQ]: _CTB }], [0, { [_hQ]: _SO }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]], 1
|
|
312
|
-
];
|
|
313
|
-
var ListHumanLoopsResponse$ = [3, n0, _LHLRi,
|
|
314
|
-
0,
|
|
315
|
-
[_HLSum, _NT],
|
|
316
|
-
[() => HumanLoopSummaries, 0], 1
|
|
317
|
-
];
|
|
318
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
319
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
320
|
-
[_M],
|
|
321
|
-
[0]
|
|
322
|
-
];
|
|
323
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
324
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
325
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
326
|
-
[_M],
|
|
327
|
-
[0]
|
|
328
|
-
];
|
|
329
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
330
|
-
var StartHumanLoopRequest$ = [3, n0, _SHLR,
|
|
331
|
-
0,
|
|
332
|
-
[_HLN, _FDA, _HLI, _DA],
|
|
333
|
-
[0, 0, () => HumanLoopInput$, () => HumanLoopDataAttributes$], 3
|
|
334
|
-
];
|
|
335
|
-
var StartHumanLoopResponse$ = [3, n0, _SHLRt,
|
|
336
|
-
0,
|
|
337
|
-
[_HLA],
|
|
338
|
-
[0]
|
|
339
|
-
];
|
|
340
|
-
var StopHumanLoopRequest$ = [3, n0, _SHLRto,
|
|
341
|
-
0,
|
|
342
|
-
[_HLN],
|
|
343
|
-
[0], 1
|
|
344
|
-
];
|
|
345
|
-
var StopHumanLoopResponse$ = [3, n0, _SHLRtop,
|
|
346
|
-
0,
|
|
347
|
-
[],
|
|
348
|
-
[]
|
|
349
|
-
];
|
|
350
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
351
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
352
|
-
[_M],
|
|
353
|
-
[0]
|
|
354
|
-
];
|
|
355
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
356
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
357
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
358
|
-
[_M],
|
|
359
|
-
[0]
|
|
360
|
-
];
|
|
361
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
362
|
-
var SageMakerA2IRuntimeServiceException$ = [-3, _sm, "SageMakerA2IRuntimeServiceException", 0, [], []];
|
|
363
|
-
schema.TypeRegistry.for(_sm).registerError(SageMakerA2IRuntimeServiceException$, SageMakerA2IRuntimeServiceException);
|
|
364
|
-
var HumanLoopSummaries = [1, n0, _HLSum,
|
|
365
|
-
0, () => HumanLoopSummary$
|
|
366
|
-
];
|
|
367
|
-
var DeleteHumanLoop$ = [9, n0, _DHL,
|
|
368
|
-
{ [_h]: ["DELETE", "/human-loops/{HumanLoopName}", 200] }, () => DeleteHumanLoopRequest$, () => DeleteHumanLoopResponse$
|
|
369
|
-
];
|
|
370
|
-
var DescribeHumanLoop$ = [9, n0, _DHLe,
|
|
371
|
-
{ [_h]: ["GET", "/human-loops/{HumanLoopName}", 200] }, () => DescribeHumanLoopRequest$, () => DescribeHumanLoopResponse$
|
|
372
|
-
];
|
|
373
|
-
var ListHumanLoops$ = [9, n0, _LHL,
|
|
374
|
-
{ [_h]: ["GET", "/human-loops", 200] }, () => ListHumanLoopsRequest$, () => ListHumanLoopsResponse$
|
|
375
|
-
];
|
|
376
|
-
var StartHumanLoop$ = [9, n0, _SHL,
|
|
377
|
-
{ [_h]: ["POST", "/human-loops", 200] }, () => StartHumanLoopRequest$, () => StartHumanLoopResponse$
|
|
378
|
-
];
|
|
379
|
-
var StopHumanLoop$ = [9, n0, _SHLt,
|
|
380
|
-
{ [_h]: ["POST", "/human-loops/stop", 200] }, () => StopHumanLoopRequest$, () => StopHumanLoopResponse$
|
|
381
|
-
];
|
|
382
|
-
|
|
383
116
|
class DeleteHumanLoopCommand extends smithyClient.Command
|
|
384
117
|
.classBuilder()
|
|
385
118
|
.ep(commonParams)
|
|
@@ -388,7 +121,7 @@ class DeleteHumanLoopCommand extends smithyClient.Command
|
|
|
388
121
|
})
|
|
389
122
|
.s("AmazonSageMakerA2IRuntime", "DeleteHumanLoop", {})
|
|
390
123
|
.n("SageMakerA2IRuntimeClient", "DeleteHumanLoopCommand")
|
|
391
|
-
.sc(DeleteHumanLoop$)
|
|
124
|
+
.sc(schemas_0.DeleteHumanLoop$)
|
|
392
125
|
.build() {
|
|
393
126
|
}
|
|
394
127
|
|
|
@@ -400,7 +133,7 @@ class DescribeHumanLoopCommand extends smithyClient.Command
|
|
|
400
133
|
})
|
|
401
134
|
.s("AmazonSageMakerA2IRuntime", "DescribeHumanLoop", {})
|
|
402
135
|
.n("SageMakerA2IRuntimeClient", "DescribeHumanLoopCommand")
|
|
403
|
-
.sc(DescribeHumanLoop$)
|
|
136
|
+
.sc(schemas_0.DescribeHumanLoop$)
|
|
404
137
|
.build() {
|
|
405
138
|
}
|
|
406
139
|
|
|
@@ -412,7 +145,7 @@ class ListHumanLoopsCommand extends smithyClient.Command
|
|
|
412
145
|
})
|
|
413
146
|
.s("AmazonSageMakerA2IRuntime", "ListHumanLoops", {})
|
|
414
147
|
.n("SageMakerA2IRuntimeClient", "ListHumanLoopsCommand")
|
|
415
|
-
.sc(ListHumanLoops$)
|
|
148
|
+
.sc(schemas_0.ListHumanLoops$)
|
|
416
149
|
.build() {
|
|
417
150
|
}
|
|
418
151
|
|
|
@@ -424,7 +157,7 @@ class StartHumanLoopCommand extends smithyClient.Command
|
|
|
424
157
|
})
|
|
425
158
|
.s("AmazonSageMakerA2IRuntime", "StartHumanLoop", {})
|
|
426
159
|
.n("SageMakerA2IRuntimeClient", "StartHumanLoopCommand")
|
|
427
|
-
.sc(StartHumanLoop$)
|
|
160
|
+
.sc(schemas_0.StartHumanLoop$)
|
|
428
161
|
.build() {
|
|
429
162
|
}
|
|
430
163
|
|
|
@@ -436,7 +169,7 @@ class StopHumanLoopCommand extends smithyClient.Command
|
|
|
436
169
|
})
|
|
437
170
|
.s("AmazonSageMakerA2IRuntime", "StopHumanLoop", {})
|
|
438
171
|
.n("SageMakerA2IRuntimeClient", "StopHumanLoopCommand")
|
|
439
|
-
.sc(StopHumanLoop$)
|
|
172
|
+
.sc(schemas_0.StopHumanLoop$)
|
|
440
173
|
.build() {
|
|
441
174
|
}
|
|
442
175
|
|
|
@@ -480,47 +213,30 @@ Object.defineProperty(exports, "__Client", {
|
|
|
480
213
|
enumerable: true,
|
|
481
214
|
get: function () { return smithyClient.Client; }
|
|
482
215
|
});
|
|
483
|
-
exports
|
|
484
|
-
|
|
216
|
+
Object.defineProperty(exports, "SageMakerA2IRuntimeServiceException", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () { return SageMakerA2IRuntimeServiceException.SageMakerA2IRuntimeServiceException; }
|
|
219
|
+
});
|
|
485
220
|
exports.ContentClassifier = ContentClassifier;
|
|
486
|
-
exports.DeleteHumanLoop$ = DeleteHumanLoop$;
|
|
487
221
|
exports.DeleteHumanLoopCommand = DeleteHumanLoopCommand;
|
|
488
|
-
exports.DeleteHumanLoopRequest$ = DeleteHumanLoopRequest$;
|
|
489
|
-
exports.DeleteHumanLoopResponse$ = DeleteHumanLoopResponse$;
|
|
490
|
-
exports.DescribeHumanLoop$ = DescribeHumanLoop$;
|
|
491
222
|
exports.DescribeHumanLoopCommand = DescribeHumanLoopCommand;
|
|
492
|
-
exports.DescribeHumanLoopRequest$ = DescribeHumanLoopRequest$;
|
|
493
|
-
exports.DescribeHumanLoopResponse$ = DescribeHumanLoopResponse$;
|
|
494
|
-
exports.HumanLoopDataAttributes$ = HumanLoopDataAttributes$;
|
|
495
|
-
exports.HumanLoopInput$ = HumanLoopInput$;
|
|
496
|
-
exports.HumanLoopOutput$ = HumanLoopOutput$;
|
|
497
223
|
exports.HumanLoopStatus = HumanLoopStatus;
|
|
498
|
-
exports.HumanLoopSummary$ = HumanLoopSummary$;
|
|
499
|
-
exports.InternalServerException = InternalServerException;
|
|
500
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
501
|
-
exports.ListHumanLoops$ = ListHumanLoops$;
|
|
502
224
|
exports.ListHumanLoopsCommand = ListHumanLoopsCommand;
|
|
503
|
-
exports.ListHumanLoopsRequest$ = ListHumanLoopsRequest$;
|
|
504
|
-
exports.ListHumanLoopsResponse$ = ListHumanLoopsResponse$;
|
|
505
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
506
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
507
225
|
exports.SageMakerA2IRuntime = SageMakerA2IRuntime;
|
|
508
226
|
exports.SageMakerA2IRuntimeClient = SageMakerA2IRuntimeClient;
|
|
509
|
-
exports.SageMakerA2IRuntimeServiceException = SageMakerA2IRuntimeServiceException;
|
|
510
|
-
exports.SageMakerA2IRuntimeServiceException$ = SageMakerA2IRuntimeServiceException$;
|
|
511
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
512
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
513
227
|
exports.SortOrder = SortOrder;
|
|
514
|
-
exports.StartHumanLoop$ = StartHumanLoop$;
|
|
515
228
|
exports.StartHumanLoopCommand = StartHumanLoopCommand;
|
|
516
|
-
exports.StartHumanLoopRequest$ = StartHumanLoopRequest$;
|
|
517
|
-
exports.StartHumanLoopResponse$ = StartHumanLoopResponse$;
|
|
518
|
-
exports.StopHumanLoop$ = StopHumanLoop$;
|
|
519
229
|
exports.StopHumanLoopCommand = StopHumanLoopCommand;
|
|
520
|
-
exports.StopHumanLoopRequest$ = StopHumanLoopRequest$;
|
|
521
|
-
exports.StopHumanLoopResponse$ = StopHumanLoopResponse$;
|
|
522
|
-
exports.ThrottlingException = ThrottlingException;
|
|
523
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
524
|
-
exports.ValidationException = ValidationException;
|
|
525
|
-
exports.ValidationException$ = ValidationException$;
|
|
526
230
|
exports.paginateListHumanLoops = paginateListHumanLoops;
|
|
231
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
232
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function () { return schemas_0[k]; }
|
|
235
|
+
});
|
|
236
|
+
});
|
|
237
|
+
Object.keys(errors).forEach(function (k) {
|
|
238
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function () { return errors[k]; }
|
|
241
|
+
});
|
|
242
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SageMakerA2IRuntimeServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SageMakerA2IRuntimeServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SageMakerA2IRuntimeServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SageMakerA2IRuntimeServiceException = SageMakerA2IRuntimeServiceException;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceQuotaExceededException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = void 0;
|
|
4
|
+
const SageMakerA2IRuntimeServiceException_1 = require("./SageMakerA2IRuntimeServiceException");
|
|
5
|
+
class InternalServerException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
|
|
6
|
+
name = "InternalServerException";
|
|
7
|
+
$fault = "server";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "InternalServerException",
|
|
12
|
+
$fault: "server",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.InternalServerException = InternalServerException;
|
|
20
|
+
class ResourceNotFoundException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
|
|
21
|
+
name = "ResourceNotFoundException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ResourceNotFoundException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
35
|
+
class ThrottlingException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
|
|
36
|
+
name = "ThrottlingException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ThrottlingException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.ThrottlingException = ThrottlingException;
|
|
50
|
+
class ValidationException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
|
|
51
|
+
name = "ValidationException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ValidationException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ValidationException = ValidationException;
|
|
65
|
+
class ConflictException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
|
|
66
|
+
name = "ConflictException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ConflictException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ConflictException = ConflictException;
|
|
80
|
+
class ServiceQuotaExceededException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
|
|
81
|
+
name = "ServiceQuotaExceededException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ServiceQuotaExceededException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2019-11-07",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.sagemakera2iruntime",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2019-11-07",
|
|
33
35
|
serviceTarget: "AmazonSageMakerA2IRuntime",
|
|
34
36
|
},
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopHumanLoop$ = exports.StartHumanLoop$ = exports.ListHumanLoops$ = exports.DescribeHumanLoop$ = exports.DeleteHumanLoop$ = exports.StopHumanLoopResponse$ = exports.StopHumanLoopRequest$ = exports.StartHumanLoopResponse$ = exports.StartHumanLoopRequest$ = exports.ListHumanLoopsResponse$ = exports.ListHumanLoopsRequest$ = exports.HumanLoopSummary$ = exports.HumanLoopOutput$ = exports.HumanLoopInput$ = exports.HumanLoopDataAttributes$ = exports.DescribeHumanLoopResponse$ = exports.DescribeHumanLoopRequest$ = exports.DeleteHumanLoopResponse$ = exports.DeleteHumanLoopRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.SageMakerA2IRuntimeServiceException$ = void 0;
|
|
4
|
+
const _CC = "ContentClassifiers";
|
|
5
|
+
const _CE = "ConflictException";
|
|
6
|
+
const _CT = "CreationTime";
|
|
7
|
+
const _CTA = "CreationTimeAfter";
|
|
8
|
+
const _CTB = "CreationTimeBefore";
|
|
9
|
+
const _DA = "DataAttributes";
|
|
10
|
+
const _DHL = "DeleteHumanLoop";
|
|
11
|
+
const _DHLR = "DeleteHumanLoopRequest";
|
|
12
|
+
const _DHLRe = "DeleteHumanLoopResponse";
|
|
13
|
+
const _DHLRes = "DescribeHumanLoopRequest";
|
|
14
|
+
const _DHLResc = "DescribeHumanLoopResponse";
|
|
15
|
+
const _DHLe = "DescribeHumanLoop";
|
|
16
|
+
const _FC = "FailureCode";
|
|
17
|
+
const _FDA = "FlowDefinitionArn";
|
|
18
|
+
const _FR = "FailureReason";
|
|
19
|
+
const _HLA = "HumanLoopArn";
|
|
20
|
+
const _HLDA = "HumanLoopDataAttributes";
|
|
21
|
+
const _HLI = "HumanLoopInput";
|
|
22
|
+
const _HLN = "HumanLoopName";
|
|
23
|
+
const _HLO = "HumanLoopOutput";
|
|
24
|
+
const _HLS = "HumanLoopStatus";
|
|
25
|
+
const _HLSu = "HumanLoopSummary";
|
|
26
|
+
const _HLSum = "HumanLoopSummaries";
|
|
27
|
+
const _IC = "InputContent";
|
|
28
|
+
const _ISE = "InternalServerException";
|
|
29
|
+
const _LHL = "ListHumanLoops";
|
|
30
|
+
const _LHLR = "ListHumanLoopsRequest";
|
|
31
|
+
const _LHLRi = "ListHumanLoopsResponse";
|
|
32
|
+
const _M = "Message";
|
|
33
|
+
const _MR = "MaxResults";
|
|
34
|
+
const _NT = "NextToken";
|
|
35
|
+
const _OSU = "OutputS3Uri";
|
|
36
|
+
const _RNFE = "ResourceNotFoundException";
|
|
37
|
+
const _SHL = "StartHumanLoop";
|
|
38
|
+
const _SHLR = "StartHumanLoopRequest";
|
|
39
|
+
const _SHLRt = "StartHumanLoopResponse";
|
|
40
|
+
const _SHLRto = "StopHumanLoopRequest";
|
|
41
|
+
const _SHLRtop = "StopHumanLoopResponse";
|
|
42
|
+
const _SHLt = "StopHumanLoop";
|
|
43
|
+
const _SO = "SortOrder";
|
|
44
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
45
|
+
const _TE = "ThrottlingException";
|
|
46
|
+
const _VE = "ValidationException";
|
|
47
|
+
const _c = "client";
|
|
48
|
+
const _e = "error";
|
|
49
|
+
const _h = "http";
|
|
50
|
+
const _hE = "httpError";
|
|
51
|
+
const _hQ = "httpQuery";
|
|
52
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakera2iruntime";
|
|
53
|
+
const _se = "server";
|
|
54
|
+
const n0 = "com.amazonaws.sagemakera2iruntime";
|
|
55
|
+
const schema_1 = require("@smithy/core/schema");
|
|
56
|
+
const errors_1 = require("../models/errors");
|
|
57
|
+
const SageMakerA2IRuntimeServiceException_1 = require("../models/SageMakerA2IRuntimeServiceException");
|
|
58
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
59
|
+
exports.SageMakerA2IRuntimeServiceException$ = [-3, _s, "SageMakerA2IRuntimeServiceException", 0, [], []];
|
|
60
|
+
_s_registry.registerError(exports.SageMakerA2IRuntimeServiceException$, SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException);
|
|
61
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
62
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
63
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
64
|
+
[_M],
|
|
65
|
+
[0]
|
|
66
|
+
];
|
|
67
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
68
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
69
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
70
|
+
[_M],
|
|
71
|
+
[0]
|
|
72
|
+
];
|
|
73
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
74
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
75
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
76
|
+
[_M],
|
|
77
|
+
[0]
|
|
78
|
+
];
|
|
79
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
80
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
81
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
82
|
+
[_M],
|
|
83
|
+
[0]
|
|
84
|
+
];
|
|
85
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
86
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
87
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
88
|
+
[_M],
|
|
89
|
+
[0]
|
|
90
|
+
];
|
|
91
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
92
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
93
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
94
|
+
[_M],
|
|
95
|
+
[0]
|
|
96
|
+
];
|
|
97
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
98
|
+
exports.errorTypeRegistries = [
|
|
99
|
+
_s_registry,
|
|
100
|
+
n0_registry,
|
|
101
|
+
];
|
|
102
|
+
exports.DeleteHumanLoopRequest$ = [3, n0, _DHLR,
|
|
103
|
+
0,
|
|
104
|
+
[_HLN],
|
|
105
|
+
[[0, 1]], 1
|
|
106
|
+
];
|
|
107
|
+
exports.DeleteHumanLoopResponse$ = [3, n0, _DHLRe,
|
|
108
|
+
0,
|
|
109
|
+
[],
|
|
110
|
+
[]
|
|
111
|
+
];
|
|
112
|
+
exports.DescribeHumanLoopRequest$ = [3, n0, _DHLRes,
|
|
113
|
+
0,
|
|
114
|
+
[_HLN],
|
|
115
|
+
[[0, 1]], 1
|
|
116
|
+
];
|
|
117
|
+
exports.DescribeHumanLoopResponse$ = [3, n0, _DHLResc,
|
|
118
|
+
0,
|
|
119
|
+
[_CT, _HLS, _HLN, _HLA, _FDA, _FR, _FC, _HLO],
|
|
120
|
+
[5, 0, 0, 0, 0, 0, 0, () => exports.HumanLoopOutput$], 5
|
|
121
|
+
];
|
|
122
|
+
exports.HumanLoopDataAttributes$ = [3, n0, _HLDA,
|
|
123
|
+
0,
|
|
124
|
+
[_CC],
|
|
125
|
+
[64 | 0], 1
|
|
126
|
+
];
|
|
127
|
+
exports.HumanLoopInput$ = [3, n0, _HLI,
|
|
128
|
+
0,
|
|
129
|
+
[_IC],
|
|
130
|
+
[0], 1
|
|
131
|
+
];
|
|
132
|
+
exports.HumanLoopOutput$ = [3, n0, _HLO,
|
|
133
|
+
0,
|
|
134
|
+
[_OSU],
|
|
135
|
+
[0], 1
|
|
136
|
+
];
|
|
137
|
+
exports.HumanLoopSummary$ = [3, n0, _HLSu,
|
|
138
|
+
0,
|
|
139
|
+
[_HLN, _HLS, _CT, _FR, _FDA],
|
|
140
|
+
[0, 0, 5, 0, 0]
|
|
141
|
+
];
|
|
142
|
+
exports.ListHumanLoopsRequest$ = [3, n0, _LHLR,
|
|
143
|
+
0,
|
|
144
|
+
[_FDA, _CTA, _CTB, _SO, _NT, _MR],
|
|
145
|
+
[[0, { [_hQ]: _FDA }], [5, { [_hQ]: _CTA }], [5, { [_hQ]: _CTB }], [0, { [_hQ]: _SO }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]], 1
|
|
146
|
+
];
|
|
147
|
+
exports.ListHumanLoopsResponse$ = [3, n0, _LHLRi,
|
|
148
|
+
0,
|
|
149
|
+
[_HLSum, _NT],
|
|
150
|
+
[() => HumanLoopSummaries, 0], 1
|
|
151
|
+
];
|
|
152
|
+
exports.StartHumanLoopRequest$ = [3, n0, _SHLR,
|
|
153
|
+
0,
|
|
154
|
+
[_HLN, _FDA, _HLI, _DA],
|
|
155
|
+
[0, 0, () => exports.HumanLoopInput$, () => exports.HumanLoopDataAttributes$], 3
|
|
156
|
+
];
|
|
157
|
+
exports.StartHumanLoopResponse$ = [3, n0, _SHLRt,
|
|
158
|
+
0,
|
|
159
|
+
[_HLA],
|
|
160
|
+
[0]
|
|
161
|
+
];
|
|
162
|
+
exports.StopHumanLoopRequest$ = [3, n0, _SHLRto,
|
|
163
|
+
0,
|
|
164
|
+
[_HLN],
|
|
165
|
+
[0], 1
|
|
166
|
+
];
|
|
167
|
+
exports.StopHumanLoopResponse$ = [3, n0, _SHLRtop,
|
|
168
|
+
0,
|
|
169
|
+
[],
|
|
170
|
+
[]
|
|
171
|
+
];
|
|
172
|
+
var ContentClassifiers = 64 | 0;
|
|
173
|
+
var HumanLoopSummaries = [1, n0, _HLSum,
|
|
174
|
+
0, () => exports.HumanLoopSummary$
|
|
175
|
+
];
|
|
176
|
+
exports.DeleteHumanLoop$ = [9, n0, _DHL,
|
|
177
|
+
{ [_h]: ["DELETE", "/human-loops/{HumanLoopName}", 200] }, () => exports.DeleteHumanLoopRequest$, () => exports.DeleteHumanLoopResponse$
|
|
178
|
+
];
|
|
179
|
+
exports.DescribeHumanLoop$ = [9, n0, _DHLe,
|
|
180
|
+
{ [_h]: ["GET", "/human-loops/{HumanLoopName}", 200] }, () => exports.DescribeHumanLoopRequest$, () => exports.DescribeHumanLoopResponse$
|
|
181
|
+
];
|
|
182
|
+
exports.ListHumanLoops$ = [9, n0, _LHL,
|
|
183
|
+
{ [_h]: ["GET", "/human-loops", 200] }, () => exports.ListHumanLoopsRequest$, () => exports.ListHumanLoopsResponse$
|
|
184
|
+
];
|
|
185
|
+
exports.StartHumanLoop$ = [9, n0, _SHL,
|
|
186
|
+
{ [_h]: ["POST", "/human-loops", 200] }, () => exports.StartHumanLoopRequest$, () => exports.StartHumanLoopResponse$
|
|
187
|
+
];
|
|
188
|
+
exports.StopHumanLoop$ = [9, n0, _SHLt,
|
|
189
|
+
{ [_h]: ["POST", "/human-loops/stop", 200] }, () => exports.StopHumanLoopRequest$, () => exports.StopHumanLoopResponse$
|
|
190
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultSageMakerA2IRuntimeHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2019-11-07",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.sagemakera2iruntime",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2019-11-07",
|
|
30
32
|
serviceTarget: "AmazonSageMakerA2IRuntime",
|
|
31
33
|
},
|
|
@@ -46,18 +46,56 @@ const _e = "error";
|
|
|
46
46
|
const _h = "http";
|
|
47
47
|
const _hE = "httpError";
|
|
48
48
|
const _hQ = "httpQuery";
|
|
49
|
-
const _s = "
|
|
50
|
-
const
|
|
49
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakera2iruntime";
|
|
50
|
+
const _se = "server";
|
|
51
51
|
const n0 = "com.amazonaws.sagemakera2iruntime";
|
|
52
52
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
53
53
|
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
54
54
|
import { SageMakerA2IRuntimeServiceException } from "../models/SageMakerA2IRuntimeServiceException";
|
|
55
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
56
|
+
export var SageMakerA2IRuntimeServiceException$ = [-3, _s, "SageMakerA2IRuntimeServiceException", 0, [], []];
|
|
57
|
+
_s_registry.registerError(SageMakerA2IRuntimeServiceException$, SageMakerA2IRuntimeServiceException);
|
|
58
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
55
59
|
export var ConflictException$ = [-3, n0, _CE,
|
|
56
60
|
{ [_e]: _c, [_hE]: 409 },
|
|
57
61
|
[_M],
|
|
58
62
|
[0]
|
|
59
63
|
];
|
|
60
|
-
|
|
64
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
65
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
66
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
67
|
+
[_M],
|
|
68
|
+
[0]
|
|
69
|
+
];
|
|
70
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
71
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
72
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
73
|
+
[_M],
|
|
74
|
+
[0]
|
|
75
|
+
];
|
|
76
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
77
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
78
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
79
|
+
[_M],
|
|
80
|
+
[0]
|
|
81
|
+
];
|
|
82
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
83
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
84
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
85
|
+
[_M],
|
|
86
|
+
[0]
|
|
87
|
+
];
|
|
88
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
89
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
90
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
91
|
+
[_M],
|
|
92
|
+
[0]
|
|
93
|
+
];
|
|
94
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
95
|
+
export const errorTypeRegistries = [
|
|
96
|
+
_s_registry,
|
|
97
|
+
n0_registry,
|
|
98
|
+
];
|
|
61
99
|
export var DeleteHumanLoopRequest$ = [3, n0, _DHLR,
|
|
62
100
|
0,
|
|
63
101
|
[_HLN],
|
|
@@ -98,12 +136,6 @@ export var HumanLoopSummary$ = [3, n0, _HLSu,
|
|
|
98
136
|
[_HLN, _HLS, _CT, _FR, _FDA],
|
|
99
137
|
[0, 0, 5, 0, 0]
|
|
100
138
|
];
|
|
101
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
102
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
103
|
-
[_M],
|
|
104
|
-
[0]
|
|
105
|
-
];
|
|
106
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
107
139
|
export var ListHumanLoopsRequest$ = [3, n0, _LHLR,
|
|
108
140
|
0,
|
|
109
141
|
[_FDA, _CTA, _CTB, _SO, _NT, _MR],
|
|
@@ -114,18 +146,6 @@ export var ListHumanLoopsResponse$ = [3, n0, _LHLRi,
|
|
|
114
146
|
[_HLSum, _NT],
|
|
115
147
|
[() => HumanLoopSummaries, 0], 1
|
|
116
148
|
];
|
|
117
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
118
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
119
|
-
[_M],
|
|
120
|
-
[0]
|
|
121
|
-
];
|
|
122
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
123
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
124
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
125
|
-
[_M],
|
|
126
|
-
[0]
|
|
127
|
-
];
|
|
128
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
129
149
|
export var StartHumanLoopRequest$ = [3, n0, _SHLR,
|
|
130
150
|
0,
|
|
131
151
|
[_HLN, _FDA, _HLI, _DA],
|
|
@@ -146,20 +166,6 @@ export var StopHumanLoopResponse$ = [3, n0, _SHLRtop,
|
|
|
146
166
|
[],
|
|
147
167
|
[]
|
|
148
168
|
];
|
|
149
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
150
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
151
|
-
[_M],
|
|
152
|
-
[0]
|
|
153
|
-
];
|
|
154
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
155
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
156
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
157
|
-
[_M],
|
|
158
|
-
[0]
|
|
159
|
-
];
|
|
160
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
161
|
-
export var SageMakerA2IRuntimeServiceException$ = [-3, _sm, "SageMakerA2IRuntimeServiceException", 0, [], []];
|
|
162
|
-
TypeRegistry.for(_sm).registerError(SageMakerA2IRuntimeServiceException$, SageMakerA2IRuntimeServiceException);
|
|
163
169
|
var ContentClassifiers = 64 | 0;
|
|
164
170
|
var HumanLoopSummaries = [1, n0, _HLSum,
|
|
165
171
|
0, () => HumanLoopSummary$
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var SageMakerA2IRuntimeServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var ConflictException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
6
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
7
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
8
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
9
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
10
|
+
/**
|
|
11
|
+
* TypeRegistry instances containing modeled errors.
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
16
|
export declare var DeleteHumanLoopRequest$: StaticStructureSchema;
|
|
4
17
|
export declare var DeleteHumanLoopResponse$: StaticStructureSchema;
|
|
5
18
|
export declare var DescribeHumanLoopRequest$: StaticStructureSchema;
|
|
@@ -8,18 +21,12 @@ export declare var HumanLoopDataAttributes$: StaticStructureSchema;
|
|
|
8
21
|
export declare var HumanLoopInput$: StaticStructureSchema;
|
|
9
22
|
export declare var HumanLoopOutput$: StaticStructureSchema;
|
|
10
23
|
export declare var HumanLoopSummary$: StaticStructureSchema;
|
|
11
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
12
24
|
export declare var ListHumanLoopsRequest$: StaticStructureSchema;
|
|
13
25
|
export declare var ListHumanLoopsResponse$: StaticStructureSchema;
|
|
14
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
15
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
16
26
|
export declare var StartHumanLoopRequest$: StaticStructureSchema;
|
|
17
27
|
export declare var StartHumanLoopResponse$: StaticStructureSchema;
|
|
18
28
|
export declare var StopHumanLoopRequest$: StaticStructureSchema;
|
|
19
29
|
export declare var StopHumanLoopResponse$: StaticStructureSchema;
|
|
20
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
21
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
22
|
-
export declare var SageMakerA2IRuntimeServiceException$: StaticErrorSchema;
|
|
23
30
|
export declare var DeleteHumanLoop$: StaticOperationSchema;
|
|
24
31
|
export declare var DescribeHumanLoop$: StaticOperationSchema;
|
|
25
32
|
export declare var ListHumanLoops$: StaticOperationSchema;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var SageMakerA2IRuntimeServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var ConflictException$: StaticErrorSchema;
|
|
9
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
10
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
11
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
12
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
13
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
7
15
|
export declare var DeleteHumanLoopRequest$: StaticStructureSchema;
|
|
8
16
|
export declare var DeleteHumanLoopResponse$: StaticStructureSchema;
|
|
9
17
|
export declare var DescribeHumanLoopRequest$: StaticStructureSchema;
|
|
@@ -12,18 +20,12 @@ export declare var HumanLoopDataAttributes$: StaticStructureSchema;
|
|
|
12
20
|
export declare var HumanLoopInput$: StaticStructureSchema;
|
|
13
21
|
export declare var HumanLoopOutput$: StaticStructureSchema;
|
|
14
22
|
export declare var HumanLoopSummary$: StaticStructureSchema;
|
|
15
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
16
23
|
export declare var ListHumanLoopsRequest$: StaticStructureSchema;
|
|
17
24
|
export declare var ListHumanLoopsResponse$: StaticStructureSchema;
|
|
18
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
19
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
20
25
|
export declare var StartHumanLoopRequest$: StaticStructureSchema;
|
|
21
26
|
export declare var StartHumanLoopResponse$: StaticStructureSchema;
|
|
22
27
|
export declare var StopHumanLoopRequest$: StaticStructureSchema;
|
|
23
28
|
export declare var StopHumanLoopResponse$: StaticStructureSchema;
|
|
24
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
25
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
26
|
-
export declare var SageMakerA2IRuntimeServiceException$: StaticErrorSchema;
|
|
27
29
|
export declare var DeleteHumanLoop$: StaticOperationSchema;
|
|
28
30
|
export declare var DescribeHumanLoop$: StaticOperationSchema;
|
|
29
31
|
export declare var ListHumanLoops$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-a2i-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker A2i Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.988.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 client-sagemaker-a2i-runtime",
|
|
@@ -21,38 +21,38 @@
|
|
|
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.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|