@aws-sdk/client-sagemaker-a2i-runtime 3.952.0 → 3.954.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 CHANGED
@@ -110,14 +110,14 @@ class SageMakerA2IRuntimeClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let SageMakerA2IRuntimeServiceException$1 = class SageMakerA2IRuntimeServiceException extends smithyClient.ServiceException {
113
+ class SageMakerA2IRuntimeServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, SageMakerA2IRuntimeServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let InternalServerException$1 = class InternalServerException extends SageMakerA2IRuntimeServiceException$1 {
120
+ class InternalServerException extends SageMakerA2IRuntimeServiceException {
121
121
  name = "InternalServerException";
122
122
  $fault = "server";
123
123
  Message;
@@ -130,8 +130,8 @@ let InternalServerException$1 = class InternalServerException extends SageMakerA
130
130
  Object.setPrototypeOf(this, InternalServerException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- };
134
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends SageMakerA2IRuntimeServiceException$1 {
133
+ }
134
+ class ResourceNotFoundException extends SageMakerA2IRuntimeServiceException {
135
135
  name = "ResourceNotFoundException";
136
136
  $fault = "client";
137
137
  Message;
@@ -144,8 +144,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends SageMa
144
144
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
145
145
  this.Message = opts.Message;
146
146
  }
147
- };
148
- let ThrottlingException$1 = class ThrottlingException extends SageMakerA2IRuntimeServiceException$1 {
147
+ }
148
+ class ThrottlingException extends SageMakerA2IRuntimeServiceException {
149
149
  name = "ThrottlingException";
150
150
  $fault = "client";
151
151
  Message;
@@ -158,8 +158,8 @@ let ThrottlingException$1 = class ThrottlingException extends SageMakerA2IRuntim
158
158
  Object.setPrototypeOf(this, ThrottlingException.prototype);
159
159
  this.Message = opts.Message;
160
160
  }
161
- };
162
- let ValidationException$1 = class ValidationException extends SageMakerA2IRuntimeServiceException$1 {
161
+ }
162
+ class ValidationException extends SageMakerA2IRuntimeServiceException {
163
163
  name = "ValidationException";
164
164
  $fault = "client";
165
165
  Message;
@@ -172,8 +172,8 @@ let ValidationException$1 = class ValidationException extends SageMakerA2IRuntim
172
172
  Object.setPrototypeOf(this, ValidationException.prototype);
173
173
  this.Message = opts.Message;
174
174
  }
175
- };
176
- let ConflictException$1 = class ConflictException extends SageMakerA2IRuntimeServiceException$1 {
175
+ }
176
+ class ConflictException extends SageMakerA2IRuntimeServiceException {
177
177
  name = "ConflictException";
178
178
  $fault = "client";
179
179
  Message;
@@ -186,8 +186,8 @@ let ConflictException$1 = class ConflictException extends SageMakerA2IRuntimeSer
186
186
  Object.setPrototypeOf(this, ConflictException.prototype);
187
187
  this.Message = opts.Message;
188
188
  }
189
- };
190
- let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends SageMakerA2IRuntimeServiceException$1 {
189
+ }
190
+ class ServiceQuotaExceededException extends SageMakerA2IRuntimeServiceException {
191
191
  name = "ServiceQuotaExceededException";
192
192
  $fault = "client";
193
193
  Message;
@@ -200,7 +200,7 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
200
200
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
201
201
  this.Message = opts.Message;
202
202
  }
203
- };
203
+ }
204
204
 
205
205
  const _CC = "ContentClassifiers";
206
206
  const _CE = "ConflictException";
@@ -253,26 +253,26 @@ const _hQ = "httpQuery";
253
253
  const _s = "server";
254
254
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakera2iruntime";
255
255
  const n0 = "com.amazonaws.sagemakera2iruntime";
256
- var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
257
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
258
- var DeleteHumanLoopRequest = [3, n0, _DHLR, 0, [_HLN], [[0, 1]]];
259
- var DeleteHumanLoopResponse = [3, n0, _DHLRe, 0, [], []];
260
- var DescribeHumanLoopRequest = [3, n0, _DHLRes, 0, [_HLN], [[0, 1]]];
261
- var DescribeHumanLoopResponse = [
256
+ var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
257
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
258
+ var DeleteHumanLoopRequest$ = [3, n0, _DHLR, 0, [_HLN], [[0, 1]]];
259
+ var DeleteHumanLoopResponse$ = [3, n0, _DHLRe, 0, [], []];
260
+ var DescribeHumanLoopRequest$ = [3, n0, _DHLRes, 0, [_HLN], [[0, 1]]];
261
+ var DescribeHumanLoopResponse$ = [
262
262
  3,
263
263
  n0,
264
264
  _DHLResc,
265
265
  0,
266
266
  [_CT, _FR, _FC, _HLS, _HLN, _HLA, _FDA, _HLO],
267
- [5, 0, 0, 0, 0, 0, 0, () => HumanLoopOutput],
267
+ [5, 0, 0, 0, 0, 0, 0, () => HumanLoopOutput$],
268
268
  ];
269
- var HumanLoopDataAttributes = [3, n0, _HLDA, 0, [_CC], [64 | 0]];
270
- var HumanLoopInput = [3, n0, _HLI, 0, [_IC], [0]];
271
- var HumanLoopOutput = [3, n0, _HLO, 0, [_OSU], [0]];
272
- var HumanLoopSummary = [3, n0, _HLSu, 0, [_HLN, _HLS, _CT, _FR, _FDA], [0, 0, 5, 0, 0]];
273
- var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
274
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
275
- var ListHumanLoopsRequest = [
269
+ var HumanLoopDataAttributes$ = [3, n0, _HLDA, 0, [_CC], [64 | 0]];
270
+ var HumanLoopInput$ = [3, n0, _HLI, 0, [_IC], [0]];
271
+ var HumanLoopOutput$ = [3, n0, _HLO, 0, [_OSU], [0]];
272
+ var HumanLoopSummary$ = [3, n0, _HLSu, 0, [_HLN, _HLS, _CT, _FR, _FDA], [0, 0, 5, 0, 0]];
273
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
274
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
275
+ var ListHumanLoopsRequest$ = [
276
276
  3,
277
277
  n0,
278
278
  _LHLR,
@@ -287,7 +287,7 @@ var ListHumanLoopsRequest = [
287
287
  [1, { [_hQ]: _MR }],
288
288
  ],
289
289
  ];
290
- var ListHumanLoopsResponse = [
290
+ var ListHumanLoopsResponse$ = [
291
291
  3,
292
292
  n0,
293
293
  _LHLRi,
@@ -295,26 +295,26 @@ var ListHumanLoopsResponse = [
295
295
  [_HLSum, _NT],
296
296
  [() => HumanLoopSummaries, 0],
297
297
  ];
298
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
299
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
300
- var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
301
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
302
- var StartHumanLoopRequest = [
298
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
299
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
300
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
301
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
302
+ var StartHumanLoopRequest$ = [
303
303
  3,
304
304
  n0,
305
305
  _SHLR,
306
306
  0,
307
307
  [_HLN, _FDA, _HLI, _DA],
308
- [0, 0, () => HumanLoopInput, () => HumanLoopDataAttributes],
308
+ [0, 0, () => HumanLoopInput$, () => HumanLoopDataAttributes$],
309
309
  ];
310
- var StartHumanLoopResponse = [3, n0, _SHLRt, 0, [_HLA], [0]];
311
- var StopHumanLoopRequest = [3, n0, _SHLRto, 0, [_HLN], [0]];
312
- var StopHumanLoopResponse = [3, n0, _SHLRtop, 0, [], []];
313
- var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
314
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
315
- var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
316
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
317
- var SageMakerA2IRuntimeServiceException = [
310
+ var StartHumanLoopResponse$ = [3, n0, _SHLRt, 0, [_HLA], [0]];
311
+ var StopHumanLoopRequest$ = [3, n0, _SHLRto, 0, [_HLN], [0]];
312
+ var StopHumanLoopResponse$ = [3, n0, _SHLRtop, 0, [], []];
313
+ var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
314
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
315
+ var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
316
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
317
+ var SageMakerA2IRuntimeServiceException$ = [
318
318
  -3,
319
319
  _sm,
320
320
  "SageMakerA2IRuntimeServiceException",
@@ -322,47 +322,47 @@ var SageMakerA2IRuntimeServiceException = [
322
322
  [],
323
323
  [],
324
324
  ];
325
- schema.TypeRegistry.for(_sm).registerError(SageMakerA2IRuntimeServiceException, SageMakerA2IRuntimeServiceException$1);
326
- var HumanLoopSummaries = [1, n0, _HLSum, 0, () => HumanLoopSummary];
327
- var DeleteHumanLoop = [
325
+ schema.TypeRegistry.for(_sm).registerError(SageMakerA2IRuntimeServiceException$, SageMakerA2IRuntimeServiceException);
326
+ var HumanLoopSummaries = [1, n0, _HLSum, 0, () => HumanLoopSummary$];
327
+ var DeleteHumanLoop$ = [
328
328
  9,
329
329
  n0,
330
330
  _DHL,
331
331
  { [_h]: ["DELETE", "/human-loops/{HumanLoopName}", 200] },
332
- () => DeleteHumanLoopRequest,
333
- () => DeleteHumanLoopResponse,
332
+ () => DeleteHumanLoopRequest$,
333
+ () => DeleteHumanLoopResponse$,
334
334
  ];
335
- var DescribeHumanLoop = [
335
+ var DescribeHumanLoop$ = [
336
336
  9,
337
337
  n0,
338
338
  _DHLe,
339
339
  { [_h]: ["GET", "/human-loops/{HumanLoopName}", 200] },
340
- () => DescribeHumanLoopRequest,
341
- () => DescribeHumanLoopResponse,
340
+ () => DescribeHumanLoopRequest$,
341
+ () => DescribeHumanLoopResponse$,
342
342
  ];
343
- var ListHumanLoops = [
343
+ var ListHumanLoops$ = [
344
344
  9,
345
345
  n0,
346
346
  _LHL,
347
347
  { [_h]: ["GET", "/human-loops", 200] },
348
- () => ListHumanLoopsRequest,
349
- () => ListHumanLoopsResponse,
348
+ () => ListHumanLoopsRequest$,
349
+ () => ListHumanLoopsResponse$,
350
350
  ];
351
- var StartHumanLoop = [
351
+ var StartHumanLoop$ = [
352
352
  9,
353
353
  n0,
354
354
  _SHL,
355
355
  { [_h]: ["POST", "/human-loops", 200] },
356
- () => StartHumanLoopRequest,
357
- () => StartHumanLoopResponse,
356
+ () => StartHumanLoopRequest$,
357
+ () => StartHumanLoopResponse$,
358
358
  ];
359
- var StopHumanLoop = [
359
+ var StopHumanLoop$ = [
360
360
  9,
361
361
  n0,
362
362
  _SHLt,
363
363
  { [_h]: ["POST", "/human-loops/stop", 200] },
364
- () => StopHumanLoopRequest,
365
- () => StopHumanLoopResponse,
364
+ () => StopHumanLoopRequest$,
365
+ () => StopHumanLoopResponse$,
366
366
  ];
367
367
 
368
368
  class DeleteHumanLoopCommand extends smithyClient.Command
@@ -373,7 +373,7 @@ class DeleteHumanLoopCommand extends smithyClient.Command
373
373
  })
374
374
  .s("AmazonSageMakerA2IRuntime", "DeleteHumanLoop", {})
375
375
  .n("SageMakerA2IRuntimeClient", "DeleteHumanLoopCommand")
376
- .sc(DeleteHumanLoop)
376
+ .sc(DeleteHumanLoop$)
377
377
  .build() {
378
378
  }
379
379
 
@@ -385,7 +385,7 @@ class DescribeHumanLoopCommand extends smithyClient.Command
385
385
  })
386
386
  .s("AmazonSageMakerA2IRuntime", "DescribeHumanLoop", {})
387
387
  .n("SageMakerA2IRuntimeClient", "DescribeHumanLoopCommand")
388
- .sc(DescribeHumanLoop)
388
+ .sc(DescribeHumanLoop$)
389
389
  .build() {
390
390
  }
391
391
 
@@ -397,7 +397,7 @@ class ListHumanLoopsCommand extends smithyClient.Command
397
397
  })
398
398
  .s("AmazonSageMakerA2IRuntime", "ListHumanLoops", {})
399
399
  .n("SageMakerA2IRuntimeClient", "ListHumanLoopsCommand")
400
- .sc(ListHumanLoops)
400
+ .sc(ListHumanLoops$)
401
401
  .build() {
402
402
  }
403
403
 
@@ -409,7 +409,7 @@ class StartHumanLoopCommand extends smithyClient.Command
409
409
  })
410
410
  .s("AmazonSageMakerA2IRuntime", "StartHumanLoop", {})
411
411
  .n("SageMakerA2IRuntimeClient", "StartHumanLoopCommand")
412
- .sc(StartHumanLoop)
412
+ .sc(StartHumanLoop$)
413
413
  .build() {
414
414
  }
415
415
 
@@ -421,7 +421,7 @@ class StopHumanLoopCommand extends smithyClient.Command
421
421
  })
422
422
  .s("AmazonSageMakerA2IRuntime", "StopHumanLoop", {})
423
423
  .n("SageMakerA2IRuntimeClient", "StopHumanLoopCommand")
424
- .sc(StopHumanLoop)
424
+ .sc(StopHumanLoop$)
425
425
  .build() {
426
426
  }
427
427
 
@@ -462,21 +462,47 @@ Object.defineProperty(exports, "__Client", {
462
462
  enumerable: true,
463
463
  get: function () { return smithyClient.Client; }
464
464
  });
465
- exports.ConflictException = ConflictException$1;
465
+ exports.ConflictException = ConflictException;
466
+ exports.ConflictException$ = ConflictException$;
466
467
  exports.ContentClassifier = ContentClassifier;
468
+ exports.DeleteHumanLoop$ = DeleteHumanLoop$;
467
469
  exports.DeleteHumanLoopCommand = DeleteHumanLoopCommand;
470
+ exports.DeleteHumanLoopRequest$ = DeleteHumanLoopRequest$;
471
+ exports.DeleteHumanLoopResponse$ = DeleteHumanLoopResponse$;
472
+ exports.DescribeHumanLoop$ = DescribeHumanLoop$;
468
473
  exports.DescribeHumanLoopCommand = DescribeHumanLoopCommand;
474
+ exports.DescribeHumanLoopRequest$ = DescribeHumanLoopRequest$;
475
+ exports.DescribeHumanLoopResponse$ = DescribeHumanLoopResponse$;
476
+ exports.HumanLoopDataAttributes$ = HumanLoopDataAttributes$;
477
+ exports.HumanLoopInput$ = HumanLoopInput$;
478
+ exports.HumanLoopOutput$ = HumanLoopOutput$;
469
479
  exports.HumanLoopStatus = HumanLoopStatus;
470
- exports.InternalServerException = InternalServerException$1;
480
+ exports.HumanLoopSummary$ = HumanLoopSummary$;
481
+ exports.InternalServerException = InternalServerException;
482
+ exports.InternalServerException$ = InternalServerException$;
483
+ exports.ListHumanLoops$ = ListHumanLoops$;
471
484
  exports.ListHumanLoopsCommand = ListHumanLoopsCommand;
472
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
485
+ exports.ListHumanLoopsRequest$ = ListHumanLoopsRequest$;
486
+ exports.ListHumanLoopsResponse$ = ListHumanLoopsResponse$;
487
+ exports.ResourceNotFoundException = ResourceNotFoundException;
488
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
473
489
  exports.SageMakerA2IRuntime = SageMakerA2IRuntime;
474
490
  exports.SageMakerA2IRuntimeClient = SageMakerA2IRuntimeClient;
475
- exports.SageMakerA2IRuntimeServiceException = SageMakerA2IRuntimeServiceException$1;
476
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
491
+ exports.SageMakerA2IRuntimeServiceException = SageMakerA2IRuntimeServiceException;
492
+ exports.SageMakerA2IRuntimeServiceException$ = SageMakerA2IRuntimeServiceException$;
493
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
494
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
477
495
  exports.SortOrder = SortOrder;
496
+ exports.StartHumanLoop$ = StartHumanLoop$;
478
497
  exports.StartHumanLoopCommand = StartHumanLoopCommand;
498
+ exports.StartHumanLoopRequest$ = StartHumanLoopRequest$;
499
+ exports.StartHumanLoopResponse$ = StartHumanLoopResponse$;
500
+ exports.StopHumanLoop$ = StopHumanLoop$;
479
501
  exports.StopHumanLoopCommand = StopHumanLoopCommand;
480
- exports.ThrottlingException = ThrottlingException$1;
481
- exports.ValidationException = ValidationException$1;
502
+ exports.StopHumanLoopRequest$ = StopHumanLoopRequest$;
503
+ exports.StopHumanLoopResponse$ = StopHumanLoopResponse$;
504
+ exports.ThrottlingException = ThrottlingException;
505
+ exports.ThrottlingException$ = ThrottlingException$;
506
+ exports.ValidationException = ValidationException;
507
+ exports.ValidationException$ = ValidationException$;
482
508
  exports.paginateListHumanLoops = paginateListHumanLoops;
@@ -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 ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.sagemakera2iruntime" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.sagemakera2iruntime",
32
+ version: "2019-11-07",
33
+ serviceTarget: "AmazonSageMakerA2IRuntime",
34
+ },
30
35
  serviceId: config?.serviceId ?? "SageMaker A2I Runtime",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteHumanLoop } from "../schemas/schemas_0";
4
+ import { DeleteHumanLoop$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteHumanLoopCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteHumanLoopCommand extends $Command
11
11
  })
12
12
  .s("AmazonSageMakerA2IRuntime", "DeleteHumanLoop", {})
13
13
  .n("SageMakerA2IRuntimeClient", "DeleteHumanLoopCommand")
14
- .sc(DeleteHumanLoop)
14
+ .sc(DeleteHumanLoop$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeHumanLoop } from "../schemas/schemas_0";
4
+ import { DescribeHumanLoop$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeHumanLoopCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeHumanLoopCommand extends $Command
11
11
  })
12
12
  .s("AmazonSageMakerA2IRuntime", "DescribeHumanLoop", {})
13
13
  .n("SageMakerA2IRuntimeClient", "DescribeHumanLoopCommand")
14
- .sc(DescribeHumanLoop)
14
+ .sc(DescribeHumanLoop$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListHumanLoops } from "../schemas/schemas_0";
4
+ import { ListHumanLoops$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListHumanLoopsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListHumanLoopsCommand extends $Command
11
11
  })
12
12
  .s("AmazonSageMakerA2IRuntime", "ListHumanLoops", {})
13
13
  .n("SageMakerA2IRuntimeClient", "ListHumanLoopsCommand")
14
- .sc(ListHumanLoops)
14
+ .sc(ListHumanLoops$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartHumanLoop } from "../schemas/schemas_0";
4
+ import { StartHumanLoop$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartHumanLoopCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartHumanLoopCommand extends $Command
11
11
  })
12
12
  .s("AmazonSageMakerA2IRuntime", "StartHumanLoop", {})
13
13
  .n("SageMakerA2IRuntimeClient", "StartHumanLoopCommand")
14
- .sc(StartHumanLoop)
14
+ .sc(StartHumanLoop$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopHumanLoop } from "../schemas/schemas_0";
4
+ import { StopHumanLoop$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopHumanLoopCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopHumanLoopCommand extends $Command
11
11
  })
12
12
  .s("AmazonSageMakerA2IRuntime", "StopHumanLoop", {})
13
13
  .n("SageMakerA2IRuntimeClient", "StopHumanLoopCommand")
14
- .sc(StopHumanLoop)
14
+ .sc(StopHumanLoop$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SageMakerA2IRuntimeClient";
2
2
  export * from "./SageMakerA2IRuntime";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.sagemakera2iruntime" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.sagemakera2iruntime",
29
+ version: "2019-11-07",
30
+ serviceTarget: "AmazonSageMakerA2IRuntime",
31
+ },
27
32
  serviceId: config?.serviceId ?? "SageMaker A2I Runtime",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -50,28 +50,28 @@ const _s = "server";
50
50
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakera2iruntime";
51
51
  const n0 = "com.amazonaws.sagemakera2iruntime";
52
52
  import { TypeRegistry } from "@smithy/core/schema";
53
- import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
54
- import { SageMakerA2IRuntimeServiceException as __SageMakerA2IRuntimeServiceException } from "../models/SageMakerA2IRuntimeServiceException";
55
- export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
56
- TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
57
- export var DeleteHumanLoopRequest = [3, n0, _DHLR, 0, [_HLN], [[0, 1]]];
58
- export var DeleteHumanLoopResponse = [3, n0, _DHLRe, 0, [], []];
59
- export var DescribeHumanLoopRequest = [3, n0, _DHLRes, 0, [_HLN], [[0, 1]]];
60
- export var DescribeHumanLoopResponse = [
53
+ import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
54
+ import { SageMakerA2IRuntimeServiceException } from "../models/SageMakerA2IRuntimeServiceException";
55
+ export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
56
+ TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
57
+ export var DeleteHumanLoopRequest$ = [3, n0, _DHLR, 0, [_HLN], [[0, 1]]];
58
+ export var DeleteHumanLoopResponse$ = [3, n0, _DHLRe, 0, [], []];
59
+ export var DescribeHumanLoopRequest$ = [3, n0, _DHLRes, 0, [_HLN], [[0, 1]]];
60
+ export var DescribeHumanLoopResponse$ = [
61
61
  3,
62
62
  n0,
63
63
  _DHLResc,
64
64
  0,
65
65
  [_CT, _FR, _FC, _HLS, _HLN, _HLA, _FDA, _HLO],
66
- [5, 0, 0, 0, 0, 0, 0, () => HumanLoopOutput],
66
+ [5, 0, 0, 0, 0, 0, 0, () => HumanLoopOutput$],
67
67
  ];
68
- export var HumanLoopDataAttributes = [3, n0, _HLDA, 0, [_CC], [64 | 0]];
69
- export var HumanLoopInput = [3, n0, _HLI, 0, [_IC], [0]];
70
- export var HumanLoopOutput = [3, n0, _HLO, 0, [_OSU], [0]];
71
- export var HumanLoopSummary = [3, n0, _HLSu, 0, [_HLN, _HLS, _CT, _FR, _FDA], [0, 0, 5, 0, 0]];
72
- export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
73
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
74
- export var ListHumanLoopsRequest = [
68
+ export var HumanLoopDataAttributes$ = [3, n0, _HLDA, 0, [_CC], [64 | 0]];
69
+ export var HumanLoopInput$ = [3, n0, _HLI, 0, [_IC], [0]];
70
+ export var HumanLoopOutput$ = [3, n0, _HLO, 0, [_OSU], [0]];
71
+ export var HumanLoopSummary$ = [3, n0, _HLSu, 0, [_HLN, _HLS, _CT, _FR, _FDA], [0, 0, 5, 0, 0]];
72
+ export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
73
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
74
+ export var ListHumanLoopsRequest$ = [
75
75
  3,
76
76
  n0,
77
77
  _LHLR,
@@ -86,7 +86,7 @@ export var ListHumanLoopsRequest = [
86
86
  [1, { [_hQ]: _MR }],
87
87
  ],
88
88
  ];
89
- export var ListHumanLoopsResponse = [
89
+ export var ListHumanLoopsResponse$ = [
90
90
  3,
91
91
  n0,
92
92
  _LHLRi,
@@ -94,26 +94,26 @@ export var ListHumanLoopsResponse = [
94
94
  [_HLSum, _NT],
95
95
  [() => HumanLoopSummaries, 0],
96
96
  ];
97
- export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
98
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
99
- export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
100
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
101
- export var StartHumanLoopRequest = [
97
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
98
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
99
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
100
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
101
+ export var StartHumanLoopRequest$ = [
102
102
  3,
103
103
  n0,
104
104
  _SHLR,
105
105
  0,
106
106
  [_HLN, _FDA, _HLI, _DA],
107
- [0, 0, () => HumanLoopInput, () => HumanLoopDataAttributes],
107
+ [0, 0, () => HumanLoopInput$, () => HumanLoopDataAttributes$],
108
108
  ];
109
- export var StartHumanLoopResponse = [3, n0, _SHLRt, 0, [_HLA], [0]];
110
- export var StopHumanLoopRequest = [3, n0, _SHLRto, 0, [_HLN], [0]];
111
- export var StopHumanLoopResponse = [3, n0, _SHLRtop, 0, [], []];
112
- export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
113
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
114
- export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
115
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
116
- export var SageMakerA2IRuntimeServiceException = [
109
+ export var StartHumanLoopResponse$ = [3, n0, _SHLRt, 0, [_HLA], [0]];
110
+ export var StopHumanLoopRequest$ = [3, n0, _SHLRto, 0, [_HLN], [0]];
111
+ export var StopHumanLoopResponse$ = [3, n0, _SHLRtop, 0, [], []];
112
+ export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
113
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
114
+ export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
115
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
116
+ export var SageMakerA2IRuntimeServiceException$ = [
117
117
  -3,
118
118
  _sm,
119
119
  "SageMakerA2IRuntimeServiceException",
@@ -121,46 +121,46 @@ export var SageMakerA2IRuntimeServiceException = [
121
121
  [],
122
122
  [],
123
123
  ];
124
- TypeRegistry.for(_sm).registerError(SageMakerA2IRuntimeServiceException, __SageMakerA2IRuntimeServiceException);
125
- export var ContentClassifiers = 64 | 0;
126
- export var HumanLoopSummaries = [1, n0, _HLSum, 0, () => HumanLoopSummary];
127
- export var DeleteHumanLoop = [
124
+ TypeRegistry.for(_sm).registerError(SageMakerA2IRuntimeServiceException$, SageMakerA2IRuntimeServiceException);
125
+ var ContentClassifiers = 64 | 0;
126
+ var HumanLoopSummaries = [1, n0, _HLSum, 0, () => HumanLoopSummary$];
127
+ export var DeleteHumanLoop$ = [
128
128
  9,
129
129
  n0,
130
130
  _DHL,
131
131
  { [_h]: ["DELETE", "/human-loops/{HumanLoopName}", 200] },
132
- () => DeleteHumanLoopRequest,
133
- () => DeleteHumanLoopResponse,
132
+ () => DeleteHumanLoopRequest$,
133
+ () => DeleteHumanLoopResponse$,
134
134
  ];
135
- export var DescribeHumanLoop = [
135
+ export var DescribeHumanLoop$ = [
136
136
  9,
137
137
  n0,
138
138
  _DHLe,
139
139
  { [_h]: ["GET", "/human-loops/{HumanLoopName}", 200] },
140
- () => DescribeHumanLoopRequest,
141
- () => DescribeHumanLoopResponse,
140
+ () => DescribeHumanLoopRequest$,
141
+ () => DescribeHumanLoopResponse$,
142
142
  ];
143
- export var ListHumanLoops = [
143
+ export var ListHumanLoops$ = [
144
144
  9,
145
145
  n0,
146
146
  _LHL,
147
147
  { [_h]: ["GET", "/human-loops", 200] },
148
- () => ListHumanLoopsRequest,
149
- () => ListHumanLoopsResponse,
148
+ () => ListHumanLoopsRequest$,
149
+ () => ListHumanLoopsResponse$,
150
150
  ];
151
- export var StartHumanLoop = [
151
+ export var StartHumanLoop$ = [
152
152
  9,
153
153
  n0,
154
154
  _SHL,
155
155
  { [_h]: ["POST", "/human-loops", 200] },
156
- () => StartHumanLoopRequest,
157
- () => StartHumanLoopResponse,
156
+ () => StartHumanLoopRequest$,
157
+ () => StartHumanLoopResponse$,
158
158
  ];
159
- export var StopHumanLoop = [
159
+ export var StopHumanLoop$ = [
160
160
  9,
161
161
  n0,
162
162
  _SHLt,
163
163
  { [_h]: ["POST", "/human-loops/stop", 200] },
164
- () => StopHumanLoopRequest,
165
- () => StopHumanLoopResponse,
164
+ () => StopHumanLoopRequest$,
165
+ () => StopHumanLoopResponse$,
166
166
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, 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";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { DeleteHumanLoopCommandInput, DeleteHumanLoopCommandOutput } from "./commands/DeleteHumanLoopCommand";
11
11
  import { DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput } from "./commands/DescribeHumanLoopCommand";
@@ -146,15 +146,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
146
146
  * Optional extensions
147
147
  */
148
148
  extensions?: RuntimeExtension[];
149
- /**
150
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
151
- * may be overridden. A default will always be set by the client.
152
- * Available options depend on the service's supported protocols and will not be validated by
153
- * the client.
154
- * @alpha
155
- *
156
- */
157
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
158
149
  /**
159
150
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
151
  */
@@ -34,6 +34,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
34
34
  export type { RuntimeExtension } from "./runtimeExtensions";
35
35
  export type { SageMakerA2IRuntimeExtensionConfiguration } from "./extensionConfiguration";
36
36
  export * from "./commands";
37
+ export * from "./schemas/schemas_0";
37
38
  export * from "./pagination";
38
39
  export * from "./models/enums";
39
40
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | 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: SageMakerA2IRuntimeClientConfig)
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
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  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;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { SageMakerA2IRuntimeClientConfig } from "./SageMakerA2IRuntimeClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerA2IRuntimeHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
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,29 +1,27 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var ConflictException: StaticErrorSchema;
3
- export declare var DeleteHumanLoopRequest: StaticStructureSchema;
4
- export declare var DeleteHumanLoopResponse: StaticStructureSchema;
5
- export declare var DescribeHumanLoopRequest: StaticStructureSchema;
6
- export declare var DescribeHumanLoopResponse: StaticStructureSchema;
7
- export declare var HumanLoopDataAttributes: StaticStructureSchema;
8
- export declare var HumanLoopInput: StaticStructureSchema;
9
- export declare var HumanLoopOutput: StaticStructureSchema;
10
- export declare var HumanLoopSummary: StaticStructureSchema;
11
- export declare var InternalServerException: StaticErrorSchema;
12
- export declare var ListHumanLoopsRequest: StaticStructureSchema;
13
- export declare var ListHumanLoopsResponse: StaticStructureSchema;
14
- export declare var ResourceNotFoundException: StaticErrorSchema;
15
- export declare var ServiceQuotaExceededException: StaticErrorSchema;
16
- export declare var StartHumanLoopRequest: StaticStructureSchema;
17
- export declare var StartHumanLoopResponse: StaticStructureSchema;
18
- export declare var StopHumanLoopRequest: StaticStructureSchema;
19
- export declare var StopHumanLoopResponse: StaticStructureSchema;
20
- export declare var ThrottlingException: StaticErrorSchema;
21
- export declare var ValidationException: StaticErrorSchema;
22
- export declare var SageMakerA2IRuntimeServiceException: StaticErrorSchema;
23
- export declare var ContentClassifiers: number;
24
- export declare var HumanLoopSummaries: StaticListSchema;
25
- export declare var DeleteHumanLoop: StaticOperationSchema;
26
- export declare var DescribeHumanLoop: StaticOperationSchema;
27
- export declare var ListHumanLoops: StaticOperationSchema;
28
- export declare var StartHumanLoop: StaticOperationSchema;
29
- export declare var StopHumanLoop: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var ConflictException$: StaticErrorSchema;
3
+ export declare var DeleteHumanLoopRequest$: StaticStructureSchema;
4
+ export declare var DeleteHumanLoopResponse$: StaticStructureSchema;
5
+ export declare var DescribeHumanLoopRequest$: StaticStructureSchema;
6
+ export declare var DescribeHumanLoopResponse$: StaticStructureSchema;
7
+ export declare var HumanLoopDataAttributes$: StaticStructureSchema;
8
+ export declare var HumanLoopInput$: StaticStructureSchema;
9
+ export declare var HumanLoopOutput$: StaticStructureSchema;
10
+ export declare var HumanLoopSummary$: StaticStructureSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ListHumanLoopsRequest$: StaticStructureSchema;
13
+ export declare var ListHumanLoopsResponse$: StaticStructureSchema;
14
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
16
+ export declare var StartHumanLoopRequest$: StaticStructureSchema;
17
+ export declare var StartHumanLoopResponse$: StaticStructureSchema;
18
+ export declare var StopHumanLoopRequest$: StaticStructureSchema;
19
+ export declare var StopHumanLoopResponse$: StaticStructureSchema;
20
+ export declare var ThrottlingException$: StaticErrorSchema;
21
+ export declare var ValidationException$: StaticErrorSchema;
22
+ export declare var SageMakerA2IRuntimeServiceException$: StaticErrorSchema;
23
+ export declare var DeleteHumanLoop$: StaticOperationSchema;
24
+ export declare var DescribeHumanLoop$: StaticOperationSchema;
25
+ export declare var ListHumanLoops$: StaticOperationSchema;
26
+ export declare var StartHumanLoop$: StaticOperationSchema;
27
+ export declare var StopHumanLoop$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -111,7 +108,6 @@ export interface ClientDefaults
111
108
  retryMode?: string | __Provider<string>;
112
109
  logger?: __Logger;
113
110
  extensions?: RuntimeExtension[];
114
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
115
111
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
116
112
  }
117
113
  export type SageMakerA2IRuntimeClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SageMakerA2IRuntimeExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: 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
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  userAgentAppId?:
49
53
  | string
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: 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
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  retryStrategy?:
49
53
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<string>;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  defaultsMode:
47
51
  | import("@smithy/smithy-client").DefaultsMode
48
52
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { SageMakerA2IRuntimeClientConfig } from "./SageMakerA2IRuntimeClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: SageMakerA2IRuntimeClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerA2IRuntimeHttpAuthSchemeProvider;
17
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
19
  logger: import("@smithy/types").Logger;
19
- protocol: import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
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,34 +1,31 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
3
  StaticOperationSchema,
5
4
  StaticStructureSchema,
6
5
  } from "@smithy/types";
7
- export declare var ConflictException: StaticErrorSchema;
8
- export declare var DeleteHumanLoopRequest: StaticStructureSchema;
9
- export declare var DeleteHumanLoopResponse: StaticStructureSchema;
10
- export declare var DescribeHumanLoopRequest: StaticStructureSchema;
11
- export declare var DescribeHumanLoopResponse: StaticStructureSchema;
12
- export declare var HumanLoopDataAttributes: StaticStructureSchema;
13
- export declare var HumanLoopInput: StaticStructureSchema;
14
- export declare var HumanLoopOutput: StaticStructureSchema;
15
- export declare var HumanLoopSummary: StaticStructureSchema;
16
- export declare var InternalServerException: StaticErrorSchema;
17
- export declare var ListHumanLoopsRequest: StaticStructureSchema;
18
- export declare var ListHumanLoopsResponse: StaticStructureSchema;
19
- export declare var ResourceNotFoundException: StaticErrorSchema;
20
- export declare var ServiceQuotaExceededException: StaticErrorSchema;
21
- export declare var StartHumanLoopRequest: StaticStructureSchema;
22
- export declare var StartHumanLoopResponse: StaticStructureSchema;
23
- export declare var StopHumanLoopRequest: StaticStructureSchema;
24
- export declare var StopHumanLoopResponse: StaticStructureSchema;
25
- export declare var ThrottlingException: StaticErrorSchema;
26
- export declare var ValidationException: StaticErrorSchema;
27
- export declare var SageMakerA2IRuntimeServiceException: StaticErrorSchema;
28
- export declare var ContentClassifiers: number;
29
- export declare var HumanLoopSummaries: StaticListSchema;
30
- export declare var DeleteHumanLoop: StaticOperationSchema;
31
- export declare var DescribeHumanLoop: StaticOperationSchema;
32
- export declare var ListHumanLoops: StaticOperationSchema;
33
- export declare var StartHumanLoop: StaticOperationSchema;
34
- export declare var StopHumanLoop: StaticOperationSchema;
6
+ export declare var ConflictException$: StaticErrorSchema;
7
+ export declare var DeleteHumanLoopRequest$: StaticStructureSchema;
8
+ export declare var DeleteHumanLoopResponse$: StaticStructureSchema;
9
+ export declare var DescribeHumanLoopRequest$: StaticStructureSchema;
10
+ export declare var DescribeHumanLoopResponse$: StaticStructureSchema;
11
+ export declare var HumanLoopDataAttributes$: StaticStructureSchema;
12
+ export declare var HumanLoopInput$: StaticStructureSchema;
13
+ export declare var HumanLoopOutput$: StaticStructureSchema;
14
+ export declare var HumanLoopSummary$: StaticStructureSchema;
15
+ export declare var InternalServerException$: StaticErrorSchema;
16
+ export declare var ListHumanLoopsRequest$: StaticStructureSchema;
17
+ export declare var ListHumanLoopsResponse$: StaticStructureSchema;
18
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
19
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
20
+ export declare var StartHumanLoopRequest$: StaticStructureSchema;
21
+ export declare var StartHumanLoopResponse$: StaticStructureSchema;
22
+ export declare var StopHumanLoopRequest$: StaticStructureSchema;
23
+ export declare var StopHumanLoopResponse$: StaticStructureSchema;
24
+ export declare var ThrottlingException$: StaticErrorSchema;
25
+ export declare var ValidationException$: StaticErrorSchema;
26
+ export declare var SageMakerA2IRuntimeServiceException$: StaticErrorSchema;
27
+ export declare var DeleteHumanLoop$: StaticOperationSchema;
28
+ export declare var DescribeHumanLoop$: StaticOperationSchema;
29
+ export declare var ListHumanLoops$: StaticOperationSchema;
30
+ export declare var StartHumanLoop$: StaticOperationSchema;
31
+ export declare var StopHumanLoop$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.952.0",
4
+ "version": "3.954.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-a2i-runtime",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,41 +21,41 @@
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.947.0",
25
- "@aws-sdk/credential-provider-node": "3.952.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.954.0",
25
+ "@aws-sdk/credential-provider-node": "3.954.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.954.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.954.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.4.0",
42
+ "@smithy/middleware-retry": "^4.4.16",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.1",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
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.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.15",
55
+ "@smithy/util-defaults-mode-node": "^4.2.18",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },