@aws-sdk/client-nova-act 3.943.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/LICENSE +201 -0
- package/README.md +333 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1297 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +36 -0
- package/dist-es/NovaAct.js +39 -0
- package/dist-es/NovaActClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateActCommand.js +16 -0
- package/dist-es/commands/CreateSessionCommand.js +16 -0
- package/dist-es/commands/CreateWorkflowDefinitionCommand.js +16 -0
- package/dist-es/commands/CreateWorkflowRunCommand.js +16 -0
- package/dist-es/commands/DeleteWorkflowDefinitionCommand.js +16 -0
- package/dist-es/commands/DeleteWorkflowRunCommand.js +16 -0
- package/dist-es/commands/GetWorkflowDefinitionCommand.js +16 -0
- package/dist-es/commands/GetWorkflowRunCommand.js +16 -0
- package/dist-es/commands/InvokeActStepCommand.js +16 -0
- package/dist-es/commands/ListActsCommand.js +16 -0
- package/dist-es/commands/ListModelsCommand.js +16 -0
- package/dist-es/commands/ListSessionsCommand.js +16 -0
- package/dist-es/commands/ListWorkflowDefinitionsCommand.js +16 -0
- package/dist-es/commands/ListWorkflowRunsCommand.js +16 -0
- package/dist-es/commands/UpdateActCommand.js +16 -0
- package/dist-es/commands/UpdateWorkflowRunCommand.js +16 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/NovaActServiceException.js +8 -0
- package/dist-es/models/enums.js +41 -0
- package/dist-es/models/errors.js +119 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListActsPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/ListWorkflowDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/ListWorkflowRunsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +32 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +753 -0
- package/dist-types/NovaAct.d.ts +123 -0
- package/dist-types/NovaActClient.d.ts +212 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateActCommand.d.ts +109 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +97 -0
- package/dist-types/commands/CreateWorkflowDefinitionCommand.d.ts +98 -0
- package/dist-types/commands/CreateWorkflowRunCommand.d.ts +100 -0
- package/dist-types/commands/DeleteWorkflowDefinitionCommand.d.ts +92 -0
- package/dist-types/commands/DeleteWorkflowRunCommand.d.ts +93 -0
- package/dist-types/commands/GetWorkflowDefinitionCommand.d.ts +97 -0
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +99 -0
- package/dist-types/commands/InvokeActStepCommand.d.ts +116 -0
- package/dist-types/commands/ListActsCommand.d.ts +111 -0
- package/dist-types/commands/ListModelsCommand.d.ts +105 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +101 -0
- package/dist-types/commands/ListWorkflowDefinitionsCommand.d.ts +96 -0
- package/dist-types/commands/ListWorkflowRunsCommand.d.ts +108 -0
- package/dist-types/commands/UpdateActCommand.d.ts +98 -0
- package/dist-types/commands/UpdateWorkflowRunCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/NovaActServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +105 -0
- package/dist-types/models/errors.d.ts +167 -0
- package/dist-types/models/models_0.d.ts +1014 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListActsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +51 -0
- package/dist-types/runtimeConfig.d.ts +51 -0
- package/dist-types/runtimeConfig.native.d.ts +50 -0
- package/dist-types/runtimeConfig.shared.d.ts +22 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +93 -0
- package/dist-types/ts3.4/NovaAct.d.ts +278 -0
- package/dist-types/ts3.4/NovaActClient.d.ts +219 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateActCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateWorkflowDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWorkflowRunCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowRunCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkflowDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/InvokeActStepCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListActsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListWorkflowDefinitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateActCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateWorkflowRunCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/models/NovaActServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +54 -0
- package/dist-types/ts3.4/models/errors.d.ts +73 -0
- package/dist-types/ts3.4/models/models_0.d.ts +275 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListActsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +25 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
- package/package.json +99 -0
|
@@ -0,0 +1,1014 @@
|
|
|
1
|
+
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import { ActStatus, ModelStatus, SortOrder, TraceLocationType, WorkflowDefinitionStatus, WorkflowRunStatus } from "./enums";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Error information when an act fails to execute successfully.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ActError {
|
|
8
|
+
/**
|
|
9
|
+
* <p>A human-readable description of the error that occurred.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
message: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The type or category of error that occurred.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
type?: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>The schema definition for tool input parameters.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type ToolInputSchema = ToolInputSchema.JsonMember | ToolInputSchema.$UnknownMember;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export declare namespace ToolInputSchema {
|
|
28
|
+
/**
|
|
29
|
+
* <p>The JSON schema that defines the expected input format for the tool.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
interface JsonMember {
|
|
33
|
+
json: __DocumentType;
|
|
34
|
+
$unknown?: never;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
interface $UnknownMember {
|
|
40
|
+
json?: never;
|
|
41
|
+
$unknown: [string, any];
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated unused in schema-serde mode.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
interface Visitor<T> {
|
|
48
|
+
json: (value: __DocumentType) => T;
|
|
49
|
+
_: (name: string, value: any) => T;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>Specification for a tool that acts can invoke, including its name, description, and input schema.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export interface ToolSpec {
|
|
57
|
+
/**
|
|
58
|
+
* <p>The unique name of the tool that acts will use to invoke it.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
name: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>A description of what the tool does and how it should be used.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
description: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The JSON schema that defines the expected input format for the tool.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
inputSchema: ToolInputSchema | undefined;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export interface CreateActRequest {
|
|
77
|
+
/**
|
|
78
|
+
* <p>The name of the workflow definition containing the session.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
workflowDefinitionName: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The unique identifier of the workflow run containing the session.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
workflowRunId: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The unique identifier of the session to create the act in.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
sessionId: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The task description that defines what the act should accomplish.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
task: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* <p>A list of tool specifications that the act can invoke to complete its task.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
toolSpecs?: ToolSpec[] | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
clientToken?: string | undefined;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export interface CreateActResponse {
|
|
112
|
+
/**
|
|
113
|
+
* <p>The unique identifier for the created act.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
actId: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* <p>The initial status of the act after creation.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
status: ActStatus | undefined;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <p>Information about a field that failed validation.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export interface ValidationExceptionField {
|
|
128
|
+
/**
|
|
129
|
+
* <p>The name of the field that failed validation.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
name: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* <p>A description of the validation error for this field.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
message: string | undefined;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* <p>Content returned from a tool call execution.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type CallResultContent = CallResultContent.TextMember | CallResultContent.$UnknownMember;
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare namespace CallResultContent {
|
|
148
|
+
/**
|
|
149
|
+
* <p>Text content returned from the tool execution.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
interface TextMember {
|
|
153
|
+
text: string;
|
|
154
|
+
$unknown?: never;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
interface $UnknownMember {
|
|
160
|
+
text?: never;
|
|
161
|
+
$unknown: [string, any];
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @deprecated unused in schema-serde mode.
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
interface Visitor<T> {
|
|
168
|
+
text: (value: string) => T;
|
|
169
|
+
_: (name: string, value: any) => T;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>The result returned from executing a tool call.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export interface CallResult {
|
|
177
|
+
/**
|
|
178
|
+
* <p>The identifier of the tool call that this result corresponds to.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
callId?: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* <p>The content returned by the tool execution, which can include text or other media types.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
content: CallResultContent[] | undefined;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export interface InvokeActStepRequest {
|
|
192
|
+
/**
|
|
193
|
+
* <p>The name of the workflow definition containing the act.</p>
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
workflowDefinitionName: string | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* <p>The unique identifier of the workflow run containing the act.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
workflowRunId: string | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* <p>The unique identifier of the session containing the act.</p>
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
sessionId: string | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* <p>The unique identifier of the act to invoke the next step for.</p>
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
actId: string | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* <p>The results from previous tool calls that the act requested.</p>
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
callResults: CallResult[] | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* <p>The identifier of the previous step, used for tracking execution flow.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
previousStepId?: string | undefined;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* <p>A request for the client to execute a specific tool with given parameters.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export interface Call {
|
|
228
|
+
/**
|
|
229
|
+
* <p>A unique identifier for this tool call, used to match results back to requests.</p>
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
callId: string | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* <p>The input parameters for the tool call, formatted according to the tool's schema.</p>
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
input: __DocumentType | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* <p>The name of the tool to invoke, following the pattern 'tool.\{toolName\}' or 'browser.\{browserAction\}'.</p>
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
name: string | undefined;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export interface InvokeActStepResponse {
|
|
248
|
+
/**
|
|
249
|
+
* <p>A list of tool calls that the act wants to execute in this step.</p>
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
calls: Call[] | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* <p>The unique identifier for this execution step.</p>
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
stepId: string | undefined;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
export interface ListActsRequest {
|
|
263
|
+
/**
|
|
264
|
+
* <p>The name of the workflow definition containing the session.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
workflowDefinitionName: string | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* <p>The unique identifier of the workflow run containing the session.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
workflowRunId?: string | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* <p>The unique identifier of the session to list acts for.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
sessionId?: string | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* <p>The maximum number of acts to return in a single response.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
maxResults?: number | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* <p>The token for retrieving the next page of results.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
nextToken?: string | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* <p>The sort order for the returned acts (ascending or descending).</p>
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
sortOrder?: SortOrder | undefined;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* <p>Information about where trace data is stored for debugging and monitoring.</p>
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
export interface TraceLocation {
|
|
299
|
+
/**
|
|
300
|
+
* <p>The type of storage location for the trace data.</p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
locationType: TraceLocationType | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* <p>The specific location where the trace data is stored.</p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
location: string | undefined;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* <p>Summary information about an act, including its status and execution timing.</p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
export interface ActSummary {
|
|
315
|
+
/**
|
|
316
|
+
* <p>The unique identifier of the workflow run containing this act.</p>
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
workflowRunId: string | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* <p>The unique identifier of the session containing this act.</p>
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
sessionId: string | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* <p>The unique identifier of the act.</p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
actId: string | undefined;
|
|
330
|
+
/**
|
|
331
|
+
* <p>The current execution status of the act.</p>
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
334
|
+
status: ActStatus | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* <p>The timestamp when the act started execution.</p>
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
startedAt: Date | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* <p>The timestamp when the act completed execution, if applicable.</p>
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
endedAt?: Date | undefined;
|
|
345
|
+
/**
|
|
346
|
+
* <p>The location where trace information for this act is stored.</p>
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
traceLocation?: TraceLocation | undefined;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
export interface ListActsResponse {
|
|
355
|
+
/**
|
|
356
|
+
* <p>A list of summary information for acts in the session.</p>
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
actSummaries: ActSummary[] | undefined;
|
|
360
|
+
/**
|
|
361
|
+
* <p>The token for retrieving the next page of results, if available.</p>
|
|
362
|
+
* @public
|
|
363
|
+
*/
|
|
364
|
+
nextToken?: string | undefined;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* @public
|
|
368
|
+
*/
|
|
369
|
+
export interface UpdateActRequest {
|
|
370
|
+
/**
|
|
371
|
+
* <p>The name of the workflow definition containing the act.</p>
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
workflowDefinitionName: string | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* <p>The unique identifier of the workflow run containing the act.</p>
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
workflowRunId: string | undefined;
|
|
380
|
+
/**
|
|
381
|
+
* <p>The unique identifier of the session containing the act.</p>
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
sessionId: string | undefined;
|
|
385
|
+
/**
|
|
386
|
+
* <p>The unique identifier of the act to update.</p>
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
actId: string | undefined;
|
|
390
|
+
/**
|
|
391
|
+
* <p>The new status to set for the act.</p>
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
394
|
+
status: ActStatus | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* <p>Error information to associate with the act, if applicable.</p>
|
|
397
|
+
* @public
|
|
398
|
+
*/
|
|
399
|
+
error?: ActError | undefined;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
export interface UpdateActResponse {
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
export interface ListModelsRequest {
|
|
410
|
+
/**
|
|
411
|
+
* <p>The client compatibility version to filter models by compatibility.</p>
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
414
|
+
clientCompatibilityVersion: number | undefined;
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* <p>Information about client compatibility and supported model versions.</p>
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
export interface CompatibilityInformation {
|
|
421
|
+
/**
|
|
422
|
+
* <p>The client compatibility version that was requested.</p>
|
|
423
|
+
* @public
|
|
424
|
+
*/
|
|
425
|
+
clientCompatibilityVersion: number | undefined;
|
|
426
|
+
/**
|
|
427
|
+
* <p>A list of model IDs that are supported for the client compatibility version.</p>
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
supportedModelIds: string[] | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* <p>Additional information about compatibility requirements or recommendations.</p>
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
message?: string | undefined;
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* <p>An alias that provides a stable reference to a model version.</p>
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
export interface ModelAlias {
|
|
442
|
+
/**
|
|
443
|
+
* <p>The name of the model alias.</p>
|
|
444
|
+
* @public
|
|
445
|
+
*/
|
|
446
|
+
aliasName: string | undefined;
|
|
447
|
+
/**
|
|
448
|
+
* <p>The model ID that this alias currently points to.</p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
latestModelId: string | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* <p>The resolved model ID after alias resolution.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
resolvedModelId?: string | undefined;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* <p>Lifecycle information for an AI model.</p>
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
export interface ModelLifecycle {
|
|
463
|
+
/**
|
|
464
|
+
* <p>The current lifecycle status of the model.</p>
|
|
465
|
+
* @public
|
|
466
|
+
*/
|
|
467
|
+
status: ModelStatus | undefined;
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* <p>Summary information about an available AI model.</p>
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
export interface ModelSummary {
|
|
474
|
+
/**
|
|
475
|
+
* <p>The unique identifier of the model.</p>
|
|
476
|
+
* @public
|
|
477
|
+
*/
|
|
478
|
+
modelId: string | undefined;
|
|
479
|
+
/**
|
|
480
|
+
* <p>The lifecycle information for the model.</p>
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
modelLifecycle: ModelLifecycle | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* <p>The minimum client compatibility version required to use this model.</p>
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
minimumCompatibilityVersion: number | undefined;
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
export interface ListModelsResponse {
|
|
494
|
+
/**
|
|
495
|
+
* <p>A list of available AI models with their status and compatibility information.</p>
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
modelSummaries: ModelSummary[] | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* <p>A list of model aliases that provide stable references to model versions.</p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
modelAliases: ModelAlias[] | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* <p>Information about client compatibility and supported models.</p>
|
|
506
|
+
* @public
|
|
507
|
+
*/
|
|
508
|
+
compatibilityInformation: CompatibilityInformation | undefined;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
export interface CreateSessionRequest {
|
|
514
|
+
/**
|
|
515
|
+
* <p>The name of the workflow definition containing the workflow run.</p>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
workflowDefinitionName: string | undefined;
|
|
519
|
+
/**
|
|
520
|
+
* <p>The unique identifier of the workflow run to create the session in.</p>
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
workflowRunId: string | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
526
|
+
* @public
|
|
527
|
+
*/
|
|
528
|
+
clientToken?: string | undefined;
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* @public
|
|
532
|
+
*/
|
|
533
|
+
export interface CreateSessionResponse {
|
|
534
|
+
/**
|
|
535
|
+
* <p>The unique identifier for the created session.</p>
|
|
536
|
+
* @public
|
|
537
|
+
*/
|
|
538
|
+
sessionId: string | undefined;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* @public
|
|
542
|
+
*/
|
|
543
|
+
export interface ListSessionsRequest {
|
|
544
|
+
/**
|
|
545
|
+
* <p>The name of the workflow definition containing the workflow run.</p>
|
|
546
|
+
* @public
|
|
547
|
+
*/
|
|
548
|
+
workflowDefinitionName: string | undefined;
|
|
549
|
+
/**
|
|
550
|
+
* <p>The unique identifier of the workflow run to list sessions for.</p>
|
|
551
|
+
* @public
|
|
552
|
+
*/
|
|
553
|
+
workflowRunId: string | undefined;
|
|
554
|
+
/**
|
|
555
|
+
* <p>The maximum number of sessions to return in a single response.</p>
|
|
556
|
+
* @public
|
|
557
|
+
*/
|
|
558
|
+
maxResults?: number | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* <p>The token for retrieving the next page of results.</p>
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
nextToken?: string | undefined;
|
|
564
|
+
/**
|
|
565
|
+
* <p>The sort order for the returned sessions (ascending or descending).</p>
|
|
566
|
+
* @public
|
|
567
|
+
*/
|
|
568
|
+
sortOrder?: SortOrder | undefined;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* <p>Summary information about a session within a workflow run.</p>
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
export interface SessionSummary {
|
|
575
|
+
/**
|
|
576
|
+
* <p>The unique identifier of the session.</p>
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
sessionId: string | undefined;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
584
|
+
export interface ListSessionsResponse {
|
|
585
|
+
/**
|
|
586
|
+
* <p>A list of summary information for sessions in the workflow run.</p>
|
|
587
|
+
* @public
|
|
588
|
+
*/
|
|
589
|
+
sessionSummaries: SessionSummary[] | undefined;
|
|
590
|
+
/**
|
|
591
|
+
* <p>The token for retrieving the next page of results, if available.</p>
|
|
592
|
+
* @public
|
|
593
|
+
*/
|
|
594
|
+
nextToken?: string | undefined;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* <p>Configuration settings for exporting workflow execution data and logs to Amazon Simple Storage Service (Amazon S3).</p>
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
export interface WorkflowExportConfig {
|
|
601
|
+
/**
|
|
602
|
+
* <p>The name of your Amazon S3 bucket, that Nova Act uses to export your workflow data. Note that the IAM role used to access Nova Act must also have write permissions to this bucket.</p>
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
605
|
+
s3BucketName: string | undefined;
|
|
606
|
+
/**
|
|
607
|
+
* <p>An optional prefix for Amazon S3 object keys to organize exported data.</p>
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
s3KeyPrefix?: string | undefined;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* @public
|
|
614
|
+
*/
|
|
615
|
+
export interface CreateWorkflowDefinitionRequest {
|
|
616
|
+
/**
|
|
617
|
+
* <p>The name of the workflow definition. Must be unique within your account and region.</p>
|
|
618
|
+
* @public
|
|
619
|
+
*/
|
|
620
|
+
name: string | undefined;
|
|
621
|
+
/**
|
|
622
|
+
* <p>An optional description of the workflow definition's purpose and functionality.</p>
|
|
623
|
+
* @public
|
|
624
|
+
*/
|
|
625
|
+
description?: string | undefined;
|
|
626
|
+
/**
|
|
627
|
+
* <p>Configuration for exporting workflow execution data to Amazon Simple Storage Service.</p>
|
|
628
|
+
* @public
|
|
629
|
+
*/
|
|
630
|
+
exportConfig?: WorkflowExportConfig | undefined;
|
|
631
|
+
/**
|
|
632
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
clientToken?: string | undefined;
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* @public
|
|
639
|
+
*/
|
|
640
|
+
export interface CreateWorkflowDefinitionResponse {
|
|
641
|
+
/**
|
|
642
|
+
* <p>The current status of the workflow definition after creation.</p>
|
|
643
|
+
* @public
|
|
644
|
+
*/
|
|
645
|
+
status: WorkflowDefinitionStatus | undefined;
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* @public
|
|
649
|
+
*/
|
|
650
|
+
export interface DeleteWorkflowDefinitionRequest {
|
|
651
|
+
/**
|
|
652
|
+
* <p>The name of the workflow definition to delete.</p>
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
workflowDefinitionName: string | undefined;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* @public
|
|
659
|
+
*/
|
|
660
|
+
export interface DeleteWorkflowDefinitionResponse {
|
|
661
|
+
/**
|
|
662
|
+
* <p>The status of the workflow definition after deletion request.</p>
|
|
663
|
+
* @public
|
|
664
|
+
*/
|
|
665
|
+
status: WorkflowDefinitionStatus | undefined;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
*/
|
|
670
|
+
export interface GetWorkflowDefinitionRequest {
|
|
671
|
+
/**
|
|
672
|
+
* <p>The name of the workflow definition to retrieve.</p>
|
|
673
|
+
* @public
|
|
674
|
+
*/
|
|
675
|
+
workflowDefinitionName: string | undefined;
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
export interface GetWorkflowDefinitionResponse {
|
|
681
|
+
/**
|
|
682
|
+
* <p>The name of the workflow definition.</p>
|
|
683
|
+
* @public
|
|
684
|
+
*/
|
|
685
|
+
name: string | undefined;
|
|
686
|
+
/**
|
|
687
|
+
* <p>The Amazon Resource Name (ARN) of the workflow definition.</p>
|
|
688
|
+
* @public
|
|
689
|
+
*/
|
|
690
|
+
arn: string | undefined;
|
|
691
|
+
/**
|
|
692
|
+
* <p>The timestamp when the workflow definition was created.</p>
|
|
693
|
+
* @public
|
|
694
|
+
*/
|
|
695
|
+
createdAt: Date | undefined;
|
|
696
|
+
/**
|
|
697
|
+
* <p>The description of the workflow definition.</p>
|
|
698
|
+
* @public
|
|
699
|
+
*/
|
|
700
|
+
description?: string | undefined;
|
|
701
|
+
/**
|
|
702
|
+
* <p>The export configuration for the workflow definition.</p>
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
705
|
+
exportConfig?: WorkflowExportConfig | undefined;
|
|
706
|
+
/**
|
|
707
|
+
* <p>The current status of the workflow definition.</p>
|
|
708
|
+
* @public
|
|
709
|
+
*/
|
|
710
|
+
status: WorkflowDefinitionStatus | undefined;
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* @public
|
|
714
|
+
*/
|
|
715
|
+
export interface ListWorkflowDefinitionsRequest {
|
|
716
|
+
/**
|
|
717
|
+
* <p>The maximum number of workflow definitions to return in a single response.</p>
|
|
718
|
+
* @public
|
|
719
|
+
*/
|
|
720
|
+
maxResults?: number | undefined;
|
|
721
|
+
/**
|
|
722
|
+
* <p>The token for retrieving the next page of results.</p>
|
|
723
|
+
* @public
|
|
724
|
+
*/
|
|
725
|
+
nextToken?: string | undefined;
|
|
726
|
+
/**
|
|
727
|
+
* <p>The sort order for the returned workflow definitions (ascending or descending).</p>
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
sortOrder?: SortOrder | undefined;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* <p>Summary information about a workflow definition, used in list operations.</p>
|
|
734
|
+
* @public
|
|
735
|
+
*/
|
|
736
|
+
export interface WorkflowDefinitionSummary {
|
|
737
|
+
/**
|
|
738
|
+
* <p>The Amazon Resource Name (ARN) of the workflow definition.</p>
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
workflowDefinitionArn: string | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* <p>The name of the workflow definition.</p>
|
|
744
|
+
* @public
|
|
745
|
+
*/
|
|
746
|
+
workflowDefinitionName: string | undefined;
|
|
747
|
+
/**
|
|
748
|
+
* <p>The timestamp when the workflow definition was created.</p>
|
|
749
|
+
* @public
|
|
750
|
+
*/
|
|
751
|
+
createdAt: Date | undefined;
|
|
752
|
+
/**
|
|
753
|
+
* <p>The current status of the workflow definition.</p>
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
status: WorkflowDefinitionStatus | undefined;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
export interface ListWorkflowDefinitionsResponse {
|
|
762
|
+
/**
|
|
763
|
+
* <p>A list of summary information for workflow definitions.</p>
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
workflowDefinitionSummaries: WorkflowDefinitionSummary[] | undefined;
|
|
767
|
+
/**
|
|
768
|
+
* <p>The token for retrieving the next page of results, if available.</p>
|
|
769
|
+
* @public
|
|
770
|
+
*/
|
|
771
|
+
nextToken?: string | undefined;
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* <p>Information about the client making API requests, used for compatibility checking.</p>
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
export interface ClientInfo {
|
|
778
|
+
/**
|
|
779
|
+
* <p>The compatibility version of the client, used to ensure API compatibility.</p>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
compatibilityVersion: number | undefined;
|
|
783
|
+
/**
|
|
784
|
+
* <p>The version of the SDK being used by the client.</p>
|
|
785
|
+
* @public
|
|
786
|
+
*/
|
|
787
|
+
sdkVersion?: string | undefined;
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
export interface CreateWorkflowRunRequest {
|
|
793
|
+
/**
|
|
794
|
+
* <p>The name of the workflow definition to execute.</p>
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
workflowDefinitionName: string | undefined;
|
|
798
|
+
/**
|
|
799
|
+
* <p>The ID of the AI model to use for workflow execution.</p>
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
modelId: string | undefined;
|
|
803
|
+
/**
|
|
804
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
805
|
+
* @public
|
|
806
|
+
*/
|
|
807
|
+
clientToken?: string | undefined;
|
|
808
|
+
/**
|
|
809
|
+
* <p>The CloudWatch log group name for storing workflow execution logs.</p>
|
|
810
|
+
* @public
|
|
811
|
+
*/
|
|
812
|
+
logGroupName?: string | undefined;
|
|
813
|
+
/**
|
|
814
|
+
* <p>Information about the client making the request, including compatibility version and SDK version.</p>
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
817
|
+
clientInfo: ClientInfo | undefined;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* @public
|
|
821
|
+
*/
|
|
822
|
+
export interface CreateWorkflowRunResponse {
|
|
823
|
+
/**
|
|
824
|
+
* <p>The unique identifier for the created workflow run.</p>
|
|
825
|
+
* @public
|
|
826
|
+
*/
|
|
827
|
+
workflowRunId: string | undefined;
|
|
828
|
+
/**
|
|
829
|
+
* <p>The initial status of the workflow run after creation.</p>
|
|
830
|
+
* @public
|
|
831
|
+
*/
|
|
832
|
+
status: WorkflowRunStatus | undefined;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* @public
|
|
836
|
+
*/
|
|
837
|
+
export interface DeleteWorkflowRunRequest {
|
|
838
|
+
/**
|
|
839
|
+
* <p>The name of the workflow definition containing the workflow run.</p>
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
workflowDefinitionName: string | undefined;
|
|
843
|
+
/**
|
|
844
|
+
* <p>The unique identifier of the workflow run to delete.</p>
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
workflowRunId: string | undefined;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* @public
|
|
851
|
+
*/
|
|
852
|
+
export interface DeleteWorkflowRunResponse {
|
|
853
|
+
/**
|
|
854
|
+
* <p>The status of the workflow run after deletion request.</p>
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
857
|
+
status: WorkflowRunStatus | undefined;
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* @public
|
|
861
|
+
*/
|
|
862
|
+
export interface GetWorkflowRunRequest {
|
|
863
|
+
/**
|
|
864
|
+
* <p>The name of the workflow definition containing the workflow run.</p>
|
|
865
|
+
* @public
|
|
866
|
+
*/
|
|
867
|
+
workflowDefinitionName: string | undefined;
|
|
868
|
+
/**
|
|
869
|
+
* <p>The unique identifier of the workflow run to retrieve.</p>
|
|
870
|
+
* @public
|
|
871
|
+
*/
|
|
872
|
+
workflowRunId: string | undefined;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* @public
|
|
876
|
+
*/
|
|
877
|
+
export interface GetWorkflowRunResponse {
|
|
878
|
+
/**
|
|
879
|
+
* <p>The Amazon Resource Name (ARN) of the workflow run.</p>
|
|
880
|
+
* @public
|
|
881
|
+
*/
|
|
882
|
+
workflowRunArn: string | undefined;
|
|
883
|
+
/**
|
|
884
|
+
* <p>The unique identifier of the workflow run.</p>
|
|
885
|
+
* @public
|
|
886
|
+
*/
|
|
887
|
+
workflowRunId: string | undefined;
|
|
888
|
+
/**
|
|
889
|
+
* <p>The current execution status of the workflow run.</p>
|
|
890
|
+
* @public
|
|
891
|
+
*/
|
|
892
|
+
status: WorkflowRunStatus | undefined;
|
|
893
|
+
/**
|
|
894
|
+
* <p>The timestamp when the workflow run started execution.</p>
|
|
895
|
+
* @public
|
|
896
|
+
*/
|
|
897
|
+
startedAt: Date | undefined;
|
|
898
|
+
/**
|
|
899
|
+
* <p>The timestamp when the workflow run completed execution, if applicable.</p>
|
|
900
|
+
* @public
|
|
901
|
+
*/
|
|
902
|
+
endedAt?: Date | undefined;
|
|
903
|
+
/**
|
|
904
|
+
* <p>The ID of the AI model being used for this workflow run.</p>
|
|
905
|
+
* @public
|
|
906
|
+
*/
|
|
907
|
+
modelId: string | undefined;
|
|
908
|
+
/**
|
|
909
|
+
* <p>The CloudWatch log group name for this workflow run's logs.</p>
|
|
910
|
+
* @public
|
|
911
|
+
*/
|
|
912
|
+
logGroupName?: string | undefined;
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* @public
|
|
916
|
+
*/
|
|
917
|
+
export interface ListWorkflowRunsRequest {
|
|
918
|
+
/**
|
|
919
|
+
* <p>The name of the workflow definition to list workflow runs for.</p>
|
|
920
|
+
* @public
|
|
921
|
+
*/
|
|
922
|
+
workflowDefinitionName: string | undefined;
|
|
923
|
+
/**
|
|
924
|
+
* <p>The maximum number of workflow runs to return in a single response.</p>
|
|
925
|
+
* @public
|
|
926
|
+
*/
|
|
927
|
+
maxResults?: number | undefined;
|
|
928
|
+
/**
|
|
929
|
+
* <p>The token for retrieving the next page of results.</p>
|
|
930
|
+
* @public
|
|
931
|
+
*/
|
|
932
|
+
nextToken?: string | undefined;
|
|
933
|
+
/**
|
|
934
|
+
* <p>The sort order for the returned workflow runs (ascending or descending).</p>
|
|
935
|
+
* @public
|
|
936
|
+
*/
|
|
937
|
+
sortOrder?: SortOrder | undefined;
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
* <p>Summary information about a workflow run, including execution status and timing.</p>
|
|
941
|
+
* @public
|
|
942
|
+
*/
|
|
943
|
+
export interface WorkflowRunSummary {
|
|
944
|
+
/**
|
|
945
|
+
* <p>The Amazon Resource Name (ARN) of the workflow run.</p>
|
|
946
|
+
* @public
|
|
947
|
+
*/
|
|
948
|
+
workflowRunArn: string | undefined;
|
|
949
|
+
/**
|
|
950
|
+
* <p>The unique identifier of the workflow run.</p>
|
|
951
|
+
* @public
|
|
952
|
+
*/
|
|
953
|
+
workflowRunId: string | undefined;
|
|
954
|
+
/**
|
|
955
|
+
* <p>The current execution status of the workflow run.</p>
|
|
956
|
+
* @public
|
|
957
|
+
*/
|
|
958
|
+
status: WorkflowRunStatus | undefined;
|
|
959
|
+
/**
|
|
960
|
+
* <p>The timestamp when the workflow run started execution.</p>
|
|
961
|
+
* @public
|
|
962
|
+
*/
|
|
963
|
+
startedAt: Date | undefined;
|
|
964
|
+
/**
|
|
965
|
+
* <p>The timestamp when the workflow run completed execution, if applicable.</p>
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
endedAt?: Date | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* <p>The location where trace information for this workflow run is stored.</p>
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
traceLocation?: TraceLocation | undefined;
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
978
|
+
export interface ListWorkflowRunsResponse {
|
|
979
|
+
/**
|
|
980
|
+
* <p>A list of summary information for workflow runs.</p>
|
|
981
|
+
* @public
|
|
982
|
+
*/
|
|
983
|
+
workflowRunSummaries: WorkflowRunSummary[] | undefined;
|
|
984
|
+
/**
|
|
985
|
+
* <p>The token for retrieving the next page of results, if available.</p>
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
nextToken?: string | undefined;
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* @public
|
|
992
|
+
*/
|
|
993
|
+
export interface UpdateWorkflowRunRequest {
|
|
994
|
+
/**
|
|
995
|
+
* <p>The name of the workflow definition containing the workflow run.</p>
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
workflowDefinitionName: string | undefined;
|
|
999
|
+
/**
|
|
1000
|
+
* <p>The unique identifier of the workflow run to update.</p>
|
|
1001
|
+
* @public
|
|
1002
|
+
*/
|
|
1003
|
+
workflowRunId: string | undefined;
|
|
1004
|
+
/**
|
|
1005
|
+
* <p>The new status to set for the workflow run.</p>
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
1008
|
+
status: WorkflowRunStatus | undefined;
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* @public
|
|
1012
|
+
*/
|
|
1013
|
+
export interface UpdateWorkflowRunResponse {
|
|
1014
|
+
}
|