@aws-sdk/client-sagemaker-a2i-runtime 3.721.0 → 3.723.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 +79 -55
- package/dist-es/SageMakerA2IRuntimeClient.js +1 -0
- package/dist-es/models/models_0.js +18 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -139,7 +139,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
139
139
|
}, "resolveRuntimeExtensions");
|
|
140
140
|
|
|
141
141
|
// src/SageMakerA2IRuntimeClient.ts
|
|
142
|
-
var
|
|
142
|
+
var SageMakerA2IRuntimeClient = class extends import_smithy_client.Client {
|
|
143
|
+
static {
|
|
144
|
+
__name(this, "SageMakerA2IRuntimeClient");
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The resolved configuration of SageMakerA2IRuntimeClient class. This is resolved and normalized from the {@link SageMakerA2IRuntimeClientConfig | constructor configuration interface}.
|
|
148
|
+
*/
|
|
149
|
+
config;
|
|
143
150
|
constructor(...[configuration]) {
|
|
144
151
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
145
152
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -149,7 +156,7 @@ var _SageMakerA2IRuntimeClient = class _SageMakerA2IRuntimeClient extends import
|
|
|
149
156
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
150
157
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
151
158
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
152
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
159
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
153
160
|
super(_config_8);
|
|
154
161
|
this.config = _config_8;
|
|
155
162
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -177,8 +184,6 @@ var _SageMakerA2IRuntimeClient = class _SageMakerA2IRuntimeClient extends import
|
|
|
177
184
|
super.destroy();
|
|
178
185
|
}
|
|
179
186
|
};
|
|
180
|
-
__name(_SageMakerA2IRuntimeClient, "SageMakerA2IRuntimeClient");
|
|
181
|
-
var SageMakerA2IRuntimeClient = _SageMakerA2IRuntimeClient;
|
|
182
187
|
|
|
183
188
|
// src/SageMakerA2IRuntime.ts
|
|
184
189
|
|
|
@@ -195,7 +200,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
195
200
|
|
|
196
201
|
// src/models/SageMakerA2IRuntimeServiceException.ts
|
|
197
202
|
|
|
198
|
-
var
|
|
203
|
+
var SageMakerA2IRuntimeServiceException = class _SageMakerA2IRuntimeServiceException extends import_smithy_client.ServiceException {
|
|
204
|
+
static {
|
|
205
|
+
__name(this, "SageMakerA2IRuntimeServiceException");
|
|
206
|
+
}
|
|
199
207
|
/**
|
|
200
208
|
* @internal
|
|
201
209
|
*/
|
|
@@ -204,11 +212,15 @@ var _SageMakerA2IRuntimeServiceException = class _SageMakerA2IRuntimeServiceExce
|
|
|
204
212
|
Object.setPrototypeOf(this, _SageMakerA2IRuntimeServiceException.prototype);
|
|
205
213
|
}
|
|
206
214
|
};
|
|
207
|
-
__name(_SageMakerA2IRuntimeServiceException, "SageMakerA2IRuntimeServiceException");
|
|
208
|
-
var SageMakerA2IRuntimeServiceException = _SageMakerA2IRuntimeServiceException;
|
|
209
215
|
|
|
210
216
|
// src/models/models_0.ts
|
|
211
|
-
var
|
|
217
|
+
var InternalServerException = class _InternalServerException extends SageMakerA2IRuntimeServiceException {
|
|
218
|
+
static {
|
|
219
|
+
__name(this, "InternalServerException");
|
|
220
|
+
}
|
|
221
|
+
name = "InternalServerException";
|
|
222
|
+
$fault = "server";
|
|
223
|
+
Message;
|
|
212
224
|
/**
|
|
213
225
|
* @internal
|
|
214
226
|
*/
|
|
@@ -218,15 +230,17 @@ var _InternalServerException = class _InternalServerException extends SageMakerA
|
|
|
218
230
|
$fault: "server",
|
|
219
231
|
...opts
|
|
220
232
|
});
|
|
221
|
-
this.name = "InternalServerException";
|
|
222
|
-
this.$fault = "server";
|
|
223
233
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
224
234
|
this.Message = opts.Message;
|
|
225
235
|
}
|
|
226
236
|
};
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
237
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends SageMakerA2IRuntimeServiceException {
|
|
238
|
+
static {
|
|
239
|
+
__name(this, "ResourceNotFoundException");
|
|
240
|
+
}
|
|
241
|
+
name = "ResourceNotFoundException";
|
|
242
|
+
$fault = "client";
|
|
243
|
+
Message;
|
|
230
244
|
/**
|
|
231
245
|
* @internal
|
|
232
246
|
*/
|
|
@@ -236,15 +250,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends SageMa
|
|
|
236
250
|
$fault: "client",
|
|
237
251
|
...opts
|
|
238
252
|
});
|
|
239
|
-
this.name = "ResourceNotFoundException";
|
|
240
|
-
this.$fault = "client";
|
|
241
253
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
242
254
|
this.Message = opts.Message;
|
|
243
255
|
}
|
|
244
256
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
257
|
+
var ThrottlingException = class _ThrottlingException extends SageMakerA2IRuntimeServiceException {
|
|
258
|
+
static {
|
|
259
|
+
__name(this, "ThrottlingException");
|
|
260
|
+
}
|
|
261
|
+
name = "ThrottlingException";
|
|
262
|
+
$fault = "client";
|
|
263
|
+
Message;
|
|
248
264
|
/**
|
|
249
265
|
* @internal
|
|
250
266
|
*/
|
|
@@ -254,15 +270,17 @@ var _ThrottlingException = class _ThrottlingException extends SageMakerA2IRuntim
|
|
|
254
270
|
$fault: "client",
|
|
255
271
|
...opts
|
|
256
272
|
});
|
|
257
|
-
this.name = "ThrottlingException";
|
|
258
|
-
this.$fault = "client";
|
|
259
273
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
260
274
|
this.Message = opts.Message;
|
|
261
275
|
}
|
|
262
276
|
};
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
277
|
+
var ValidationException = class _ValidationException extends SageMakerA2IRuntimeServiceException {
|
|
278
|
+
static {
|
|
279
|
+
__name(this, "ValidationException");
|
|
280
|
+
}
|
|
281
|
+
name = "ValidationException";
|
|
282
|
+
$fault = "client";
|
|
283
|
+
Message;
|
|
266
284
|
/**
|
|
267
285
|
* @internal
|
|
268
286
|
*/
|
|
@@ -272,14 +290,10 @@ var _ValidationException = class _ValidationException extends SageMakerA2IRuntim
|
|
|
272
290
|
$fault: "client",
|
|
273
291
|
...opts
|
|
274
292
|
});
|
|
275
|
-
this.name = "ValidationException";
|
|
276
|
-
this.$fault = "client";
|
|
277
293
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
278
294
|
this.Message = opts.Message;
|
|
279
295
|
}
|
|
280
296
|
};
|
|
281
|
-
__name(_ValidationException, "ValidationException");
|
|
282
|
-
var ValidationException = _ValidationException;
|
|
283
297
|
var HumanLoopStatus = {
|
|
284
298
|
COMPLETED: "Completed",
|
|
285
299
|
FAILED: "Failed",
|
|
@@ -291,7 +305,13 @@ var SortOrder = {
|
|
|
291
305
|
ASCENDING: "Ascending",
|
|
292
306
|
DESCENDING: "Descending"
|
|
293
307
|
};
|
|
294
|
-
var
|
|
308
|
+
var ConflictException = class _ConflictException extends SageMakerA2IRuntimeServiceException {
|
|
309
|
+
static {
|
|
310
|
+
__name(this, "ConflictException");
|
|
311
|
+
}
|
|
312
|
+
name = "ConflictException";
|
|
313
|
+
$fault = "client";
|
|
314
|
+
Message;
|
|
295
315
|
/**
|
|
296
316
|
* @internal
|
|
297
317
|
*/
|
|
@@ -301,15 +321,17 @@ var _ConflictException = class _ConflictException extends SageMakerA2IRuntimeSer
|
|
|
301
321
|
$fault: "client",
|
|
302
322
|
...opts
|
|
303
323
|
});
|
|
304
|
-
this.name = "ConflictException";
|
|
305
|
-
this.$fault = "client";
|
|
306
324
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
307
325
|
this.Message = opts.Message;
|
|
308
326
|
}
|
|
309
327
|
};
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
328
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SageMakerA2IRuntimeServiceException {
|
|
329
|
+
static {
|
|
330
|
+
__name(this, "ServiceQuotaExceededException");
|
|
331
|
+
}
|
|
332
|
+
name = "ServiceQuotaExceededException";
|
|
333
|
+
$fault = "client";
|
|
334
|
+
Message;
|
|
313
335
|
/**
|
|
314
336
|
* @internal
|
|
315
337
|
*/
|
|
@@ -319,14 +341,10 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
319
341
|
$fault: "client",
|
|
320
342
|
...opts
|
|
321
343
|
});
|
|
322
|
-
this.name = "ServiceQuotaExceededException";
|
|
323
|
-
this.$fault = "client";
|
|
324
344
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
325
345
|
this.Message = opts.Message;
|
|
326
346
|
}
|
|
327
347
|
};
|
|
328
|
-
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
329
|
-
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
330
348
|
var ContentClassifier = {
|
|
331
349
|
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
332
350
|
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation"
|
|
@@ -612,71 +630,76 @@ var _NT = "NextToken";
|
|
|
612
630
|
var _SO = "SortOrder";
|
|
613
631
|
|
|
614
632
|
// src/commands/DeleteHumanLoopCommand.ts
|
|
615
|
-
var
|
|
633
|
+
var DeleteHumanLoopCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
616
634
|
return [
|
|
617
635
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
618
636
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
619
637
|
];
|
|
620
638
|
}).s("AmazonSageMakerA2IRuntime", "DeleteHumanLoop", {}).n("SageMakerA2IRuntimeClient", "DeleteHumanLoopCommand").f(void 0, void 0).ser(se_DeleteHumanLoopCommand).de(de_DeleteHumanLoopCommand).build() {
|
|
639
|
+
static {
|
|
640
|
+
__name(this, "DeleteHumanLoopCommand");
|
|
641
|
+
}
|
|
621
642
|
};
|
|
622
|
-
__name(_DeleteHumanLoopCommand, "DeleteHumanLoopCommand");
|
|
623
|
-
var DeleteHumanLoopCommand = _DeleteHumanLoopCommand;
|
|
624
643
|
|
|
625
644
|
// src/commands/DescribeHumanLoopCommand.ts
|
|
626
645
|
|
|
627
646
|
|
|
628
647
|
|
|
629
|
-
var
|
|
648
|
+
var DescribeHumanLoopCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
630
649
|
return [
|
|
631
650
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
632
651
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
633
652
|
];
|
|
634
653
|
}).s("AmazonSageMakerA2IRuntime", "DescribeHumanLoop", {}).n("SageMakerA2IRuntimeClient", "DescribeHumanLoopCommand").f(void 0, void 0).ser(se_DescribeHumanLoopCommand).de(de_DescribeHumanLoopCommand).build() {
|
|
654
|
+
static {
|
|
655
|
+
__name(this, "DescribeHumanLoopCommand");
|
|
656
|
+
}
|
|
635
657
|
};
|
|
636
|
-
__name(_DescribeHumanLoopCommand, "DescribeHumanLoopCommand");
|
|
637
|
-
var DescribeHumanLoopCommand = _DescribeHumanLoopCommand;
|
|
638
658
|
|
|
639
659
|
// src/commands/ListHumanLoopsCommand.ts
|
|
640
660
|
|
|
641
661
|
|
|
642
662
|
|
|
643
|
-
var
|
|
663
|
+
var ListHumanLoopsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
644
664
|
return [
|
|
645
665
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
646
666
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
647
667
|
];
|
|
648
668
|
}).s("AmazonSageMakerA2IRuntime", "ListHumanLoops", {}).n("SageMakerA2IRuntimeClient", "ListHumanLoopsCommand").f(void 0, void 0).ser(se_ListHumanLoopsCommand).de(de_ListHumanLoopsCommand).build() {
|
|
669
|
+
static {
|
|
670
|
+
__name(this, "ListHumanLoopsCommand");
|
|
671
|
+
}
|
|
649
672
|
};
|
|
650
|
-
__name(_ListHumanLoopsCommand, "ListHumanLoopsCommand");
|
|
651
|
-
var ListHumanLoopsCommand = _ListHumanLoopsCommand;
|
|
652
673
|
|
|
653
674
|
// src/commands/StartHumanLoopCommand.ts
|
|
654
675
|
|
|
655
676
|
|
|
656
677
|
|
|
657
|
-
var
|
|
678
|
+
var StartHumanLoopCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
658
679
|
return [
|
|
659
680
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
660
681
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
661
682
|
];
|
|
662
683
|
}).s("AmazonSageMakerA2IRuntime", "StartHumanLoop", {}).n("SageMakerA2IRuntimeClient", "StartHumanLoopCommand").f(void 0, void 0).ser(se_StartHumanLoopCommand).de(de_StartHumanLoopCommand).build() {
|
|
684
|
+
static {
|
|
685
|
+
__name(this, "StartHumanLoopCommand");
|
|
686
|
+
}
|
|
663
687
|
};
|
|
664
|
-
__name(_StartHumanLoopCommand, "StartHumanLoopCommand");
|
|
665
|
-
var StartHumanLoopCommand = _StartHumanLoopCommand;
|
|
666
688
|
|
|
667
689
|
// src/commands/StopHumanLoopCommand.ts
|
|
668
690
|
|
|
669
691
|
|
|
670
692
|
|
|
671
|
-
var
|
|
693
|
+
var StopHumanLoopCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
672
694
|
return [
|
|
673
695
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
674
696
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
675
697
|
];
|
|
676
698
|
}).s("AmazonSageMakerA2IRuntime", "StopHumanLoop", {}).n("SageMakerA2IRuntimeClient", "StopHumanLoopCommand").f(void 0, void 0).ser(se_StopHumanLoopCommand).de(de_StopHumanLoopCommand).build() {
|
|
699
|
+
static {
|
|
700
|
+
__name(this, "StopHumanLoopCommand");
|
|
701
|
+
}
|
|
677
702
|
};
|
|
678
|
-
__name(_StopHumanLoopCommand, "StopHumanLoopCommand");
|
|
679
|
-
var StopHumanLoopCommand = _StopHumanLoopCommand;
|
|
680
703
|
|
|
681
704
|
// src/SageMakerA2IRuntime.ts
|
|
682
705
|
var commands = {
|
|
@@ -686,10 +709,11 @@ var commands = {
|
|
|
686
709
|
StartHumanLoopCommand,
|
|
687
710
|
StopHumanLoopCommand
|
|
688
711
|
};
|
|
689
|
-
var
|
|
712
|
+
var SageMakerA2IRuntime = class extends SageMakerA2IRuntimeClient {
|
|
713
|
+
static {
|
|
714
|
+
__name(this, "SageMakerA2IRuntime");
|
|
715
|
+
}
|
|
690
716
|
};
|
|
691
|
-
__name(_SageMakerA2IRuntime, "SageMakerA2IRuntime");
|
|
692
|
-
var SageMakerA2IRuntime = _SageMakerA2IRuntime;
|
|
693
717
|
(0, import_smithy_client.createAggregatedClient)(commands, SageMakerA2IRuntime);
|
|
694
718
|
|
|
695
719
|
// src/pagination/ListHumanLoopsPaginator.ts
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class SageMakerA2IRuntimeClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,52 +1,56 @@
|
|
|
1
1
|
import { SageMakerA2IRuntimeServiceException as __BaseException } from "./SageMakerA2IRuntimeServiceException";
|
|
2
2
|
export class InternalServerException extends __BaseException {
|
|
3
|
+
name = "InternalServerException";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
Message;
|
|
3
6
|
constructor(opts) {
|
|
4
7
|
super({
|
|
5
8
|
name: "InternalServerException",
|
|
6
9
|
$fault: "server",
|
|
7
10
|
...opts,
|
|
8
11
|
});
|
|
9
|
-
this.name = "InternalServerException";
|
|
10
|
-
this.$fault = "server";
|
|
11
12
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
12
13
|
this.Message = opts.Message;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
export class ResourceNotFoundException extends __BaseException {
|
|
17
|
+
name = "ResourceNotFoundException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
16
20
|
constructor(opts) {
|
|
17
21
|
super({
|
|
18
22
|
name: "ResourceNotFoundException",
|
|
19
23
|
$fault: "client",
|
|
20
24
|
...opts,
|
|
21
25
|
});
|
|
22
|
-
this.name = "ResourceNotFoundException";
|
|
23
|
-
this.$fault = "client";
|
|
24
26
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
25
27
|
this.Message = opts.Message;
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
export class ThrottlingException extends __BaseException {
|
|
31
|
+
name = "ThrottlingException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
29
34
|
constructor(opts) {
|
|
30
35
|
super({
|
|
31
36
|
name: "ThrottlingException",
|
|
32
37
|
$fault: "client",
|
|
33
38
|
...opts,
|
|
34
39
|
});
|
|
35
|
-
this.name = "ThrottlingException";
|
|
36
|
-
this.$fault = "client";
|
|
37
40
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
38
41
|
this.Message = opts.Message;
|
|
39
42
|
}
|
|
40
43
|
}
|
|
41
44
|
export class ValidationException extends __BaseException {
|
|
45
|
+
name = "ValidationException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
42
48
|
constructor(opts) {
|
|
43
49
|
super({
|
|
44
50
|
name: "ValidationException",
|
|
45
51
|
$fault: "client",
|
|
46
52
|
...opts,
|
|
47
53
|
});
|
|
48
|
-
this.name = "ValidationException";
|
|
49
|
-
this.$fault = "client";
|
|
50
54
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
51
55
|
this.Message = opts.Message;
|
|
52
56
|
}
|
|
@@ -63,27 +67,29 @@ export const SortOrder = {
|
|
|
63
67
|
DESCENDING: "Descending",
|
|
64
68
|
};
|
|
65
69
|
export class ConflictException extends __BaseException {
|
|
70
|
+
name = "ConflictException";
|
|
71
|
+
$fault = "client";
|
|
72
|
+
Message;
|
|
66
73
|
constructor(opts) {
|
|
67
74
|
super({
|
|
68
75
|
name: "ConflictException",
|
|
69
76
|
$fault: "client",
|
|
70
77
|
...opts,
|
|
71
78
|
});
|
|
72
|
-
this.name = "ConflictException";
|
|
73
|
-
this.$fault = "client";
|
|
74
79
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
75
80
|
this.Message = opts.Message;
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
84
|
+
name = "ServiceQuotaExceededException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
Message;
|
|
79
87
|
constructor(opts) {
|
|
80
88
|
super({
|
|
81
89
|
name: "ServiceQuotaExceededException",
|
|
82
90
|
$fault: "client",
|
|
83
91
|
...opts,
|
|
84
92
|
});
|
|
85
|
-
this.name = "ServiceQuotaExceededException";
|
|
86
|
-
this.$fault = "client";
|
|
87
93
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
88
94
|
this.Message = opts.Message;
|
|
89
95
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
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> | undefined;
|
|
34
|
+
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;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-a2i-runtime",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|