@aws-sdk/client-sagemaker-a2i-runtime 3.975.0 → 3.978.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
|
@@ -440,6 +440,8 @@ class StopHumanLoopCommand extends smithyClient.Command
|
|
|
440
440
|
.build() {
|
|
441
441
|
}
|
|
442
442
|
|
|
443
|
+
const paginateListHumanLoops = core.createPaginator(SageMakerA2IRuntimeClient, ListHumanLoopsCommand, "NextToken", "NextToken", "MaxResults");
|
|
444
|
+
|
|
443
445
|
const commands = {
|
|
444
446
|
DeleteHumanLoopCommand,
|
|
445
447
|
DescribeHumanLoopCommand,
|
|
@@ -447,11 +449,12 @@ const commands = {
|
|
|
447
449
|
StartHumanLoopCommand,
|
|
448
450
|
StopHumanLoopCommand,
|
|
449
451
|
};
|
|
452
|
+
const paginators = {
|
|
453
|
+
paginateListHumanLoops,
|
|
454
|
+
};
|
|
450
455
|
class SageMakerA2IRuntime extends SageMakerA2IRuntimeClient {
|
|
451
456
|
}
|
|
452
|
-
smithyClient.createAggregatedClient(commands, SageMakerA2IRuntime);
|
|
453
|
-
|
|
454
|
-
const paginateListHumanLoops = core.createPaginator(SageMakerA2IRuntimeClient, ListHumanLoopsCommand, "NextToken", "NextToken", "MaxResults");
|
|
457
|
+
smithyClient.createAggregatedClient(commands, SageMakerA2IRuntime, { paginators });
|
|
455
458
|
|
|
456
459
|
const HumanLoopStatus = {
|
|
457
460
|
COMPLETED: "Completed",
|
|
@@ -4,6 +4,7 @@ import { DescribeHumanLoopCommand, } from "./commands/DescribeHumanLoopCommand";
|
|
|
4
4
|
import { ListHumanLoopsCommand, } from "./commands/ListHumanLoopsCommand";
|
|
5
5
|
import { StartHumanLoopCommand, } from "./commands/StartHumanLoopCommand";
|
|
6
6
|
import { StopHumanLoopCommand, } from "./commands/StopHumanLoopCommand";
|
|
7
|
+
import { paginateListHumanLoops } from "./pagination/ListHumanLoopsPaginator";
|
|
7
8
|
import { SageMakerA2IRuntimeClient } from "./SageMakerA2IRuntimeClient";
|
|
8
9
|
const commands = {
|
|
9
10
|
DeleteHumanLoopCommand,
|
|
@@ -12,6 +13,9 @@ const commands = {
|
|
|
12
13
|
StartHumanLoopCommand,
|
|
13
14
|
StopHumanLoopCommand,
|
|
14
15
|
};
|
|
16
|
+
const paginators = {
|
|
17
|
+
paginateListHumanLoops,
|
|
18
|
+
};
|
|
15
19
|
export class SageMakerA2IRuntime extends SageMakerA2IRuntimeClient {
|
|
16
20
|
}
|
|
17
|
-
createAggregatedClient(commands, SageMakerA2IRuntime);
|
|
21
|
+
createAggregatedClient(commands, SageMakerA2IRuntime, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { DeleteHumanLoopCommandInput, DeleteHumanLoopCommandOutput } from "./commands/DeleteHumanLoopCommand";
|
|
3
3
|
import { DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput } from "./commands/DescribeHumanLoopCommand";
|
|
4
4
|
import { ListHumanLoopsCommandInput, ListHumanLoopsCommandOutput } from "./commands/ListHumanLoopsCommand";
|
|
@@ -36,6 +36,13 @@ export interface SageMakerA2IRuntime {
|
|
|
36
36
|
stopHumanLoop(args: StopHumanLoopCommandInput, options?: __HttpHandlerOptions): Promise<StopHumanLoopCommandOutput>;
|
|
37
37
|
stopHumanLoop(args: StopHumanLoopCommandInput, cb: (err: any, data?: StopHumanLoopCommandOutput) => void): void;
|
|
38
38
|
stopHumanLoop(args: StopHumanLoopCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopHumanLoopCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link ListHumanLoopsCommand}
|
|
41
|
+
* @param args - command input.
|
|
42
|
+
* @param paginationConfig - optional pagination config.
|
|
43
|
+
* @returns AsyncIterable of {@link ListHumanLoopsCommandOutput}.
|
|
44
|
+
*/
|
|
45
|
+
paginateListHumanLoops(args: ListHumanLoopsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHumanLoopsCommandOutput>;
|
|
39
46
|
}
|
|
40
47
|
/**
|
|
41
48
|
* <p>Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
DeleteHumanLoopCommandInput,
|
|
4
8
|
DeleteHumanLoopCommandOutput,
|
|
@@ -86,6 +90,13 @@ export interface SageMakerA2IRuntime {
|
|
|
86
90
|
options: __HttpHandlerOptions,
|
|
87
91
|
cb: (err: any, data?: StopHumanLoopCommandOutput) => void
|
|
88
92
|
): void;
|
|
93
|
+
paginateListHumanLoops(
|
|
94
|
+
args: ListHumanLoopsCommandInput,
|
|
95
|
+
paginationConfig?: Pick<
|
|
96
|
+
PaginationConfiguration,
|
|
97
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
98
|
+
>
|
|
99
|
+
): Paginator<ListHumanLoopsCommandOutput>;
|
|
89
100
|
}
|
|
90
101
|
export declare class SageMakerA2IRuntime
|
|
91
102
|
extends SageMakerA2IRuntimeClient
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-a2i-runtime",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|