@aws-sdk/client-nova-act 3.975.0 → 3.980.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 +15 -9
- package/dist-es/NovaAct.js +11 -1
- package/dist-types/NovaAct.d.ts +29 -1
- package/dist-types/ts3.4/NovaAct.d.ts +33 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -975,6 +975,14 @@ class UpdateWorkflowRunCommand extends smithyClient.Command
|
|
|
975
975
|
.build() {
|
|
976
976
|
}
|
|
977
977
|
|
|
978
|
+
const paginateListActs = core.createPaginator(NovaActClient, ListActsCommand, "nextToken", "nextToken", "maxResults");
|
|
979
|
+
|
|
980
|
+
const paginateListSessions = core.createPaginator(NovaActClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
981
|
+
|
|
982
|
+
const paginateListWorkflowDefinitions = core.createPaginator(NovaActClient, ListWorkflowDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
983
|
+
|
|
984
|
+
const paginateListWorkflowRuns = core.createPaginator(NovaActClient, ListWorkflowRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
985
|
+
|
|
978
986
|
const commands = {
|
|
979
987
|
CreateActCommand,
|
|
980
988
|
CreateSessionCommand,
|
|
@@ -993,17 +1001,15 @@ const commands = {
|
|
|
993
1001
|
UpdateActCommand,
|
|
994
1002
|
UpdateWorkflowRunCommand,
|
|
995
1003
|
};
|
|
1004
|
+
const paginators = {
|
|
1005
|
+
paginateListActs,
|
|
1006
|
+
paginateListSessions,
|
|
1007
|
+
paginateListWorkflowDefinitions,
|
|
1008
|
+
paginateListWorkflowRuns,
|
|
1009
|
+
};
|
|
996
1010
|
class NovaAct extends NovaActClient {
|
|
997
1011
|
}
|
|
998
|
-
smithyClient.createAggregatedClient(commands, NovaAct);
|
|
999
|
-
|
|
1000
|
-
const paginateListActs = core.createPaginator(NovaActClient, ListActsCommand, "nextToken", "nextToken", "maxResults");
|
|
1001
|
-
|
|
1002
|
-
const paginateListSessions = core.createPaginator(NovaActClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1003
|
-
|
|
1004
|
-
const paginateListWorkflowDefinitions = core.createPaginator(NovaActClient, ListWorkflowDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1005
|
-
|
|
1006
|
-
const paginateListWorkflowRuns = core.createPaginator(NovaActClient, ListWorkflowRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1012
|
+
smithyClient.createAggregatedClient(commands, NovaAct, { paginators });
|
|
1007
1013
|
|
|
1008
1014
|
const ActStatus = {
|
|
1009
1015
|
FAILED: "FAILED",
|
package/dist-es/NovaAct.js
CHANGED
|
@@ -16,6 +16,10 @@ import { ListWorkflowRunsCommand, } from "./commands/ListWorkflowRunsCommand";
|
|
|
16
16
|
import { UpdateActCommand } from "./commands/UpdateActCommand";
|
|
17
17
|
import { UpdateWorkflowRunCommand, } from "./commands/UpdateWorkflowRunCommand";
|
|
18
18
|
import { NovaActClient } from "./NovaActClient";
|
|
19
|
+
import { paginateListActs } from "./pagination/ListActsPaginator";
|
|
20
|
+
import { paginateListSessions } from "./pagination/ListSessionsPaginator";
|
|
21
|
+
import { paginateListWorkflowDefinitions } from "./pagination/ListWorkflowDefinitionsPaginator";
|
|
22
|
+
import { paginateListWorkflowRuns } from "./pagination/ListWorkflowRunsPaginator";
|
|
19
23
|
const commands = {
|
|
20
24
|
CreateActCommand,
|
|
21
25
|
CreateSessionCommand,
|
|
@@ -34,6 +38,12 @@ const commands = {
|
|
|
34
38
|
UpdateActCommand,
|
|
35
39
|
UpdateWorkflowRunCommand,
|
|
36
40
|
};
|
|
41
|
+
const paginators = {
|
|
42
|
+
paginateListActs,
|
|
43
|
+
paginateListSessions,
|
|
44
|
+
paginateListWorkflowDefinitions,
|
|
45
|
+
paginateListWorkflowRuns,
|
|
46
|
+
};
|
|
37
47
|
export class NovaAct extends NovaActClient {
|
|
38
48
|
}
|
|
39
|
-
createAggregatedClient(commands, NovaAct);
|
|
49
|
+
createAggregatedClient(commands, NovaAct, { paginators });
|
package/dist-types/NovaAct.d.ts
CHANGED
|
@@ -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 { CreateActCommandInput, CreateActCommandOutput } from "./commands/CreateActCommand";
|
|
3
3
|
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
4
4
|
import { CreateWorkflowDefinitionCommandInput, CreateWorkflowDefinitionCommandOutput } from "./commands/CreateWorkflowDefinitionCommand";
|
|
@@ -114,6 +114,34 @@ export interface NovaAct {
|
|
|
114
114
|
updateWorkflowRun(args: UpdateWorkflowRunCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowRunCommandOutput>;
|
|
115
115
|
updateWorkflowRun(args: UpdateWorkflowRunCommandInput, cb: (err: any, data?: UpdateWorkflowRunCommandOutput) => void): void;
|
|
116
116
|
updateWorkflowRun(args: UpdateWorkflowRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowRunCommandOutput) => void): void;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link ListActsCommand}
|
|
119
|
+
* @param args - command input.
|
|
120
|
+
* @param paginationConfig - optional pagination config.
|
|
121
|
+
* @returns AsyncIterable of {@link ListActsCommandOutput}.
|
|
122
|
+
*/
|
|
123
|
+
paginateListActs(args: ListActsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListActsCommandOutput>;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link ListSessionsCommand}
|
|
126
|
+
* @param args - command input.
|
|
127
|
+
* @param paginationConfig - optional pagination config.
|
|
128
|
+
* @returns AsyncIterable of {@link ListSessionsCommandOutput}.
|
|
129
|
+
*/
|
|
130
|
+
paginateListSessions(args: ListSessionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSessionsCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link ListWorkflowDefinitionsCommand}
|
|
133
|
+
* @param args - command input.
|
|
134
|
+
* @param paginationConfig - optional pagination config.
|
|
135
|
+
* @returns AsyncIterable of {@link ListWorkflowDefinitionsCommandOutput}.
|
|
136
|
+
*/
|
|
137
|
+
paginateListWorkflowDefinitions(args?: ListWorkflowDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowDefinitionsCommandOutput>;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link ListWorkflowRunsCommand}
|
|
140
|
+
* @param args - command input.
|
|
141
|
+
* @param paginationConfig - optional pagination config.
|
|
142
|
+
* @returns AsyncIterable of {@link ListWorkflowRunsCommandOutput}.
|
|
143
|
+
*/
|
|
144
|
+
paginateListWorkflowRuns(args: ListWorkflowRunsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowRunsCommandOutput>;
|
|
117
145
|
}
|
|
118
146
|
/**
|
|
119
147
|
* <p>The Nova Act service provides a REST API for managing AI-powered workflow automation. It enables users to create workflow definitions, execute workflow runs, manage sessions, and orchestrate acts (individual AI tasks) with tool integrations.</p>
|
|
@@ -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
|
CreateActCommandInput,
|
|
4
8
|
CreateActCommandOutput,
|
|
@@ -274,5 +278,33 @@ export interface NovaAct {
|
|
|
274
278
|
options: __HttpHandlerOptions,
|
|
275
279
|
cb: (err: any, data?: UpdateWorkflowRunCommandOutput) => void
|
|
276
280
|
): void;
|
|
281
|
+
paginateListActs(
|
|
282
|
+
args: ListActsCommandInput,
|
|
283
|
+
paginationConfig?: Pick<
|
|
284
|
+
PaginationConfiguration,
|
|
285
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
286
|
+
>
|
|
287
|
+
): Paginator<ListActsCommandOutput>;
|
|
288
|
+
paginateListSessions(
|
|
289
|
+
args: ListSessionsCommandInput,
|
|
290
|
+
paginationConfig?: Pick<
|
|
291
|
+
PaginationConfiguration,
|
|
292
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
293
|
+
>
|
|
294
|
+
): Paginator<ListSessionsCommandOutput>;
|
|
295
|
+
paginateListWorkflowDefinitions(
|
|
296
|
+
args?: ListWorkflowDefinitionsCommandInput,
|
|
297
|
+
paginationConfig?: Pick<
|
|
298
|
+
PaginationConfiguration,
|
|
299
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
300
|
+
>
|
|
301
|
+
): Paginator<ListWorkflowDefinitionsCommandOutput>;
|
|
302
|
+
paginateListWorkflowRuns(
|
|
303
|
+
args: ListWorkflowRunsCommandInput,
|
|
304
|
+
paginationConfig?: Pick<
|
|
305
|
+
PaginationConfiguration,
|
|
306
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
307
|
+
>
|
|
308
|
+
): Paginator<ListWorkflowRunsCommandOutput>;
|
|
277
309
|
}
|
|
278
310
|
export declare class NovaAct extends NovaActClient implements NovaAct {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-nova-act",
|
|
3
3
|
"description": "AWS SDK for JavaScript Nova Act Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.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-nova-act",
|
|
@@ -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.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
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",
|