@aws-sdk/client-sagemaker-a2i-runtime 3.1137.0 → 3.1138.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
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -274,10 +274,10 @@ const _hQ = "httpQuery";
|
|
|
274
274
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakera2iruntime";
|
|
275
275
|
const _se = "server";
|
|
276
276
|
const n0 = "com.amazonaws.sagemakera2iruntime";
|
|
277
|
-
const _s_registry = TypeRegistry
|
|
277
|
+
const _s_registry = new TypeRegistry(_s);
|
|
278
278
|
var SageMakerA2IRuntimeServiceException$ = [-3, _s, "SageMakerA2IRuntimeServiceException", 0, [], []];
|
|
279
279
|
_s_registry.registerError(SageMakerA2IRuntimeServiceException$, SageMakerA2IRuntimeServiceException);
|
|
280
|
-
const n0_registry = TypeRegistry
|
|
280
|
+
const n0_registry = new TypeRegistry(n0);
|
|
281
281
|
var ConflictException$ = [-3, n0, _CE,
|
|
282
282
|
{ [_e]: _c, [_hE]: 409 },
|
|
283
283
|
[_M],
|
|
@@ -52,10 +52,10 @@ 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
|
|
55
|
+
const _s_registry = new TypeRegistry(_s);
|
|
56
56
|
export var SageMakerA2IRuntimeServiceException$ = [-3, _s, "SageMakerA2IRuntimeServiceException", 0, [], []];
|
|
57
57
|
_s_registry.registerError(SageMakerA2IRuntimeServiceException$, SageMakerA2IRuntimeServiceException);
|
|
58
|
-
const n0_registry = TypeRegistry
|
|
58
|
+
const n0_registry = new TypeRegistry(n0);
|
|
59
59
|
export var ConflictException$ = [-3, n0, _CE,
|
|
60
60
|
{ [_e]: _c, [_hE]: 409 },
|
|
61
61
|
[_M],
|
|
@@ -1,41 +1,47 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type DeleteHumanLoopCommandInput, type DeleteHumanLoopCommandOutput } from "./commands/DeleteHumanLoopCommand";
|
|
3
3
|
import { type DescribeHumanLoopCommandInput, type DescribeHumanLoopCommandOutput } from "./commands/DescribeHumanLoopCommand";
|
|
4
4
|
import { type ListHumanLoopsCommandInput, type ListHumanLoopsCommandOutput } from "./commands/ListHumanLoopsCommand";
|
|
5
5
|
import { type StartHumanLoopCommandInput, type StartHumanLoopCommandOutput } from "./commands/StartHumanLoopCommand";
|
|
6
6
|
import { type StopHumanLoopCommandInput, type StopHumanLoopCommandOutput } from "./commands/StopHumanLoopCommand";
|
|
7
7
|
import { SageMakerA2IRuntimeClient } from "./SageMakerA2IRuntimeClient";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface SageMakerA2IRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
12
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
13
|
+
}
|
|
8
14
|
export interface SageMakerA2IRuntime {
|
|
9
15
|
/**
|
|
10
16
|
* @see {@link DeleteHumanLoopCommand}
|
|
11
17
|
*/
|
|
12
|
-
deleteHumanLoop(args: DeleteHumanLoopCommandInput, options?:
|
|
18
|
+
deleteHumanLoop(args: DeleteHumanLoopCommandInput, options?: SageMakerA2IRuntimeRequestOptions): Promise<DeleteHumanLoopCommandOutput>;
|
|
13
19
|
deleteHumanLoop(args: DeleteHumanLoopCommandInput, cb: (err: any, data?: DeleteHumanLoopCommandOutput) => void): void;
|
|
14
|
-
deleteHumanLoop(args: DeleteHumanLoopCommandInput, options:
|
|
20
|
+
deleteHumanLoop(args: DeleteHumanLoopCommandInput, options: SageMakerA2IRuntimeRequestOptions, cb: (err: any, data?: DeleteHumanLoopCommandOutput) => void): void;
|
|
15
21
|
/**
|
|
16
22
|
* @see {@link DescribeHumanLoopCommand}
|
|
17
23
|
*/
|
|
18
|
-
describeHumanLoop(args: DescribeHumanLoopCommandInput, options?:
|
|
24
|
+
describeHumanLoop(args: DescribeHumanLoopCommandInput, options?: SageMakerA2IRuntimeRequestOptions): Promise<DescribeHumanLoopCommandOutput>;
|
|
19
25
|
describeHumanLoop(args: DescribeHumanLoopCommandInput, cb: (err: any, data?: DescribeHumanLoopCommandOutput) => void): void;
|
|
20
|
-
describeHumanLoop(args: DescribeHumanLoopCommandInput, options:
|
|
26
|
+
describeHumanLoop(args: DescribeHumanLoopCommandInput, options: SageMakerA2IRuntimeRequestOptions, cb: (err: any, data?: DescribeHumanLoopCommandOutput) => void): void;
|
|
21
27
|
/**
|
|
22
28
|
* @see {@link ListHumanLoopsCommand}
|
|
23
29
|
*/
|
|
24
|
-
listHumanLoops(args: ListHumanLoopsCommandInput, options?:
|
|
30
|
+
listHumanLoops(args: ListHumanLoopsCommandInput, options?: SageMakerA2IRuntimeRequestOptions): Promise<ListHumanLoopsCommandOutput>;
|
|
25
31
|
listHumanLoops(args: ListHumanLoopsCommandInput, cb: (err: any, data?: ListHumanLoopsCommandOutput) => void): void;
|
|
26
|
-
listHumanLoops(args: ListHumanLoopsCommandInput, options:
|
|
32
|
+
listHumanLoops(args: ListHumanLoopsCommandInput, options: SageMakerA2IRuntimeRequestOptions, cb: (err: any, data?: ListHumanLoopsCommandOutput) => void): void;
|
|
27
33
|
/**
|
|
28
34
|
* @see {@link StartHumanLoopCommand}
|
|
29
35
|
*/
|
|
30
|
-
startHumanLoop(args: StartHumanLoopCommandInput, options?:
|
|
36
|
+
startHumanLoop(args: StartHumanLoopCommandInput, options?: SageMakerA2IRuntimeRequestOptions): Promise<StartHumanLoopCommandOutput>;
|
|
31
37
|
startHumanLoop(args: StartHumanLoopCommandInput, cb: (err: any, data?: StartHumanLoopCommandOutput) => void): void;
|
|
32
|
-
startHumanLoop(args: StartHumanLoopCommandInput, options:
|
|
38
|
+
startHumanLoop(args: StartHumanLoopCommandInput, options: SageMakerA2IRuntimeRequestOptions, cb: (err: any, data?: StartHumanLoopCommandOutput) => void): void;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link StopHumanLoopCommand}
|
|
35
41
|
*/
|
|
36
|
-
stopHumanLoop(args: StopHumanLoopCommandInput, options?:
|
|
42
|
+
stopHumanLoop(args: StopHumanLoopCommandInput, options?: SageMakerA2IRuntimeRequestOptions): Promise<StopHumanLoopCommandOutput>;
|
|
37
43
|
stopHumanLoop(args: StopHumanLoopCommandInput, cb: (err: any, data?: StopHumanLoopCommandOutput) => void): void;
|
|
38
|
-
stopHumanLoop(args: StopHumanLoopCommandInput, options:
|
|
44
|
+
stopHumanLoop(args: StopHumanLoopCommandInput, options: SageMakerA2IRuntimeRequestOptions, cb: (err: any, data?: StopHumanLoopCommandOutput) => void): void;
|
|
39
45
|
/**
|
|
40
46
|
* @see {@link ListHumanLoopsCommand}
|
|
41
47
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -24,10 +25,13 @@ import {
|
|
|
24
25
|
StopHumanLoopCommandOutput,
|
|
25
26
|
} from "./commands/StopHumanLoopCommand";
|
|
26
27
|
import { SageMakerA2IRuntimeClient } from "./SageMakerA2IRuntimeClient";
|
|
28
|
+
export interface SageMakerA2IRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
29
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
30
|
+
}
|
|
27
31
|
export interface SageMakerA2IRuntime {
|
|
28
32
|
deleteHumanLoop(
|
|
29
33
|
args: DeleteHumanLoopCommandInput,
|
|
30
|
-
options?:
|
|
34
|
+
options?: SageMakerA2IRuntimeRequestOptions,
|
|
31
35
|
): Promise<DeleteHumanLoopCommandOutput>;
|
|
32
36
|
deleteHumanLoop(
|
|
33
37
|
args: DeleteHumanLoopCommandInput,
|
|
@@ -35,12 +39,12 @@ export interface SageMakerA2IRuntime {
|
|
|
35
39
|
): void;
|
|
36
40
|
deleteHumanLoop(
|
|
37
41
|
args: DeleteHumanLoopCommandInput,
|
|
38
|
-
options:
|
|
42
|
+
options: SageMakerA2IRuntimeRequestOptions,
|
|
39
43
|
cb: (err: any, data?: DeleteHumanLoopCommandOutput) => void,
|
|
40
44
|
): void;
|
|
41
45
|
describeHumanLoop(
|
|
42
46
|
args: DescribeHumanLoopCommandInput,
|
|
43
|
-
options?:
|
|
47
|
+
options?: SageMakerA2IRuntimeRequestOptions,
|
|
44
48
|
): Promise<DescribeHumanLoopCommandOutput>;
|
|
45
49
|
describeHumanLoop(
|
|
46
50
|
args: DescribeHumanLoopCommandInput,
|
|
@@ -48,12 +52,12 @@ export interface SageMakerA2IRuntime {
|
|
|
48
52
|
): void;
|
|
49
53
|
describeHumanLoop(
|
|
50
54
|
args: DescribeHumanLoopCommandInput,
|
|
51
|
-
options:
|
|
55
|
+
options: SageMakerA2IRuntimeRequestOptions,
|
|
52
56
|
cb: (err: any, data?: DescribeHumanLoopCommandOutput) => void,
|
|
53
57
|
): void;
|
|
54
58
|
listHumanLoops(
|
|
55
59
|
args: ListHumanLoopsCommandInput,
|
|
56
|
-
options?:
|
|
60
|
+
options?: SageMakerA2IRuntimeRequestOptions,
|
|
57
61
|
): Promise<ListHumanLoopsCommandOutput>;
|
|
58
62
|
listHumanLoops(
|
|
59
63
|
args: ListHumanLoopsCommandInput,
|
|
@@ -61,12 +65,12 @@ export interface SageMakerA2IRuntime {
|
|
|
61
65
|
): void;
|
|
62
66
|
listHumanLoops(
|
|
63
67
|
args: ListHumanLoopsCommandInput,
|
|
64
|
-
options:
|
|
68
|
+
options: SageMakerA2IRuntimeRequestOptions,
|
|
65
69
|
cb: (err: any, data?: ListHumanLoopsCommandOutput) => void,
|
|
66
70
|
): void;
|
|
67
71
|
startHumanLoop(
|
|
68
72
|
args: StartHumanLoopCommandInput,
|
|
69
|
-
options?:
|
|
73
|
+
options?: SageMakerA2IRuntimeRequestOptions,
|
|
70
74
|
): Promise<StartHumanLoopCommandOutput>;
|
|
71
75
|
startHumanLoop(
|
|
72
76
|
args: StartHumanLoopCommandInput,
|
|
@@ -74,12 +78,12 @@ export interface SageMakerA2IRuntime {
|
|
|
74
78
|
): void;
|
|
75
79
|
startHumanLoop(
|
|
76
80
|
args: StartHumanLoopCommandInput,
|
|
77
|
-
options:
|
|
81
|
+
options: SageMakerA2IRuntimeRequestOptions,
|
|
78
82
|
cb: (err: any, data?: StartHumanLoopCommandOutput) => void,
|
|
79
83
|
): void;
|
|
80
84
|
stopHumanLoop(
|
|
81
85
|
args: StopHumanLoopCommandInput,
|
|
82
|
-
options?:
|
|
86
|
+
options?: SageMakerA2IRuntimeRequestOptions,
|
|
83
87
|
): Promise<StopHumanLoopCommandOutput>;
|
|
84
88
|
stopHumanLoop(
|
|
85
89
|
args: StopHumanLoopCommandInput,
|
|
@@ -87,7 +91,7 @@ export interface SageMakerA2IRuntime {
|
|
|
87
91
|
): void;
|
|
88
92
|
stopHumanLoop(
|
|
89
93
|
args: StopHumanLoopCommandInput,
|
|
90
|
-
options:
|
|
94
|
+
options: SageMakerA2IRuntimeRequestOptions,
|
|
91
95
|
cb: (err: any, data?: StopHumanLoopCommandOutput) => void,
|
|
92
96
|
): void;
|
|
93
97
|
paginateListHumanLoops(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-a2i-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sagemaker A2i Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-a2i-runtime",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|