@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,73 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
InternalServerExceptionReason,
|
|
4
|
+
ValidationExceptionReason,
|
|
5
|
+
} from "./enums";
|
|
6
|
+
import { ValidationExceptionField } from "./models_0";
|
|
7
|
+
import { NovaActServiceException as __BaseException } from "./NovaActServiceException";
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
constructor(
|
|
12
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
export declare class ConflictException extends __BaseException {
|
|
16
|
+
readonly name: "ConflictException";
|
|
17
|
+
readonly $fault: "client";
|
|
18
|
+
resourceId: string | undefined;
|
|
19
|
+
resourceType: string | undefined;
|
|
20
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
21
|
+
}
|
|
22
|
+
export declare class InternalServerException extends __BaseException {
|
|
23
|
+
readonly name: "InternalServerException";
|
|
24
|
+
readonly $fault: "server";
|
|
25
|
+
$retryable: {};
|
|
26
|
+
retryAfterSeconds?: number | undefined;
|
|
27
|
+
reason?: InternalServerExceptionReason | undefined;
|
|
28
|
+
constructor(
|
|
29
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
33
|
+
readonly name: "ResourceNotFoundException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
resourceId: string | undefined;
|
|
36
|
+
resourceType: string | undefined;
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
42
|
+
readonly name: "ServiceQuotaExceededException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
resourceId: string | undefined;
|
|
45
|
+
resourceType: string | undefined;
|
|
46
|
+
serviceCode: string | undefined;
|
|
47
|
+
quotaCode: string | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class ThrottlingException extends __BaseException {
|
|
53
|
+
readonly name: "ThrottlingException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
$retryable: {
|
|
56
|
+
throttling: boolean;
|
|
57
|
+
};
|
|
58
|
+
serviceCode?: string | undefined;
|
|
59
|
+
quotaCode?: string | undefined;
|
|
60
|
+
retryAfterSeconds?: number | undefined;
|
|
61
|
+
constructor(
|
|
62
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export declare class ValidationException extends __BaseException {
|
|
66
|
+
readonly name: "ValidationException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
reason: ValidationExceptionReason | undefined;
|
|
69
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
70
|
+
constructor(
|
|
71
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ActStatus,
|
|
4
|
+
ModelStatus,
|
|
5
|
+
SortOrder,
|
|
6
|
+
TraceLocationType,
|
|
7
|
+
WorkflowDefinitionStatus,
|
|
8
|
+
WorkflowRunStatus,
|
|
9
|
+
} from "./enums";
|
|
10
|
+
export interface ActError {
|
|
11
|
+
message: string | undefined;
|
|
12
|
+
type?: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
export type ToolInputSchema =
|
|
15
|
+
| ToolInputSchema.JsonMember
|
|
16
|
+
| ToolInputSchema.$UnknownMember;
|
|
17
|
+
export declare namespace ToolInputSchema {
|
|
18
|
+
interface JsonMember {
|
|
19
|
+
json: __DocumentType;
|
|
20
|
+
$unknown?: never;
|
|
21
|
+
}
|
|
22
|
+
interface $UnknownMember {
|
|
23
|
+
json?: never;
|
|
24
|
+
$unknown: [string, any];
|
|
25
|
+
}
|
|
26
|
+
interface Visitor<T> {
|
|
27
|
+
json: (value: __DocumentType) => T;
|
|
28
|
+
_: (name: string, value: any) => T;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export interface ToolSpec {
|
|
32
|
+
name: string | undefined;
|
|
33
|
+
description: string | undefined;
|
|
34
|
+
inputSchema: ToolInputSchema | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface CreateActRequest {
|
|
37
|
+
workflowDefinitionName: string | undefined;
|
|
38
|
+
workflowRunId: string | undefined;
|
|
39
|
+
sessionId: string | undefined;
|
|
40
|
+
task: string | undefined;
|
|
41
|
+
toolSpecs?: ToolSpec[] | undefined;
|
|
42
|
+
clientToken?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface CreateActResponse {
|
|
45
|
+
actId: string | undefined;
|
|
46
|
+
status: ActStatus | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface ValidationExceptionField {
|
|
49
|
+
name: string | undefined;
|
|
50
|
+
message: string | undefined;
|
|
51
|
+
}
|
|
52
|
+
export type CallResultContent =
|
|
53
|
+
| CallResultContent.TextMember
|
|
54
|
+
| CallResultContent.$UnknownMember;
|
|
55
|
+
export declare namespace CallResultContent {
|
|
56
|
+
interface TextMember {
|
|
57
|
+
text: string;
|
|
58
|
+
$unknown?: never;
|
|
59
|
+
}
|
|
60
|
+
interface $UnknownMember {
|
|
61
|
+
text?: never;
|
|
62
|
+
$unknown: [string, any];
|
|
63
|
+
}
|
|
64
|
+
interface Visitor<T> {
|
|
65
|
+
text: (value: string) => T;
|
|
66
|
+
_: (name: string, value: any) => T;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
export interface CallResult {
|
|
70
|
+
callId?: string | undefined;
|
|
71
|
+
content: CallResultContent[] | undefined;
|
|
72
|
+
}
|
|
73
|
+
export interface InvokeActStepRequest {
|
|
74
|
+
workflowDefinitionName: string | undefined;
|
|
75
|
+
workflowRunId: string | undefined;
|
|
76
|
+
sessionId: string | undefined;
|
|
77
|
+
actId: string | undefined;
|
|
78
|
+
callResults: CallResult[] | undefined;
|
|
79
|
+
previousStepId?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface Call {
|
|
82
|
+
callId: string | undefined;
|
|
83
|
+
input: __DocumentType | undefined;
|
|
84
|
+
name: string | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface InvokeActStepResponse {
|
|
87
|
+
calls: Call[] | undefined;
|
|
88
|
+
stepId: string | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface ListActsRequest {
|
|
91
|
+
workflowDefinitionName: string | undefined;
|
|
92
|
+
workflowRunId?: string | undefined;
|
|
93
|
+
sessionId?: string | undefined;
|
|
94
|
+
maxResults?: number | undefined;
|
|
95
|
+
nextToken?: string | undefined;
|
|
96
|
+
sortOrder?: SortOrder | undefined;
|
|
97
|
+
}
|
|
98
|
+
export interface TraceLocation {
|
|
99
|
+
locationType: TraceLocationType | undefined;
|
|
100
|
+
location: string | undefined;
|
|
101
|
+
}
|
|
102
|
+
export interface ActSummary {
|
|
103
|
+
workflowRunId: string | undefined;
|
|
104
|
+
sessionId: string | undefined;
|
|
105
|
+
actId: string | undefined;
|
|
106
|
+
status: ActStatus | undefined;
|
|
107
|
+
startedAt: Date | undefined;
|
|
108
|
+
endedAt?: Date | undefined;
|
|
109
|
+
traceLocation?: TraceLocation | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface ListActsResponse {
|
|
112
|
+
actSummaries: ActSummary[] | undefined;
|
|
113
|
+
nextToken?: string | undefined;
|
|
114
|
+
}
|
|
115
|
+
export interface UpdateActRequest {
|
|
116
|
+
workflowDefinitionName: string | undefined;
|
|
117
|
+
workflowRunId: string | undefined;
|
|
118
|
+
sessionId: string | undefined;
|
|
119
|
+
actId: string | undefined;
|
|
120
|
+
status: ActStatus | undefined;
|
|
121
|
+
error?: ActError | undefined;
|
|
122
|
+
}
|
|
123
|
+
export interface UpdateActResponse {}
|
|
124
|
+
export interface ListModelsRequest {
|
|
125
|
+
clientCompatibilityVersion: number | undefined;
|
|
126
|
+
}
|
|
127
|
+
export interface CompatibilityInformation {
|
|
128
|
+
clientCompatibilityVersion: number | undefined;
|
|
129
|
+
supportedModelIds: string[] | undefined;
|
|
130
|
+
message?: string | undefined;
|
|
131
|
+
}
|
|
132
|
+
export interface ModelAlias {
|
|
133
|
+
aliasName: string | undefined;
|
|
134
|
+
latestModelId: string | undefined;
|
|
135
|
+
resolvedModelId?: string | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface ModelLifecycle {
|
|
138
|
+
status: ModelStatus | undefined;
|
|
139
|
+
}
|
|
140
|
+
export interface ModelSummary {
|
|
141
|
+
modelId: string | undefined;
|
|
142
|
+
modelLifecycle: ModelLifecycle | undefined;
|
|
143
|
+
minimumCompatibilityVersion: number | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface ListModelsResponse {
|
|
146
|
+
modelSummaries: ModelSummary[] | undefined;
|
|
147
|
+
modelAliases: ModelAlias[] | undefined;
|
|
148
|
+
compatibilityInformation: CompatibilityInformation | undefined;
|
|
149
|
+
}
|
|
150
|
+
export interface CreateSessionRequest {
|
|
151
|
+
workflowDefinitionName: string | undefined;
|
|
152
|
+
workflowRunId: string | undefined;
|
|
153
|
+
clientToken?: string | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface CreateSessionResponse {
|
|
156
|
+
sessionId: string | undefined;
|
|
157
|
+
}
|
|
158
|
+
export interface ListSessionsRequest {
|
|
159
|
+
workflowDefinitionName: string | undefined;
|
|
160
|
+
workflowRunId: string | undefined;
|
|
161
|
+
maxResults?: number | undefined;
|
|
162
|
+
nextToken?: string | undefined;
|
|
163
|
+
sortOrder?: SortOrder | undefined;
|
|
164
|
+
}
|
|
165
|
+
export interface SessionSummary {
|
|
166
|
+
sessionId: string | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface ListSessionsResponse {
|
|
169
|
+
sessionSummaries: SessionSummary[] | undefined;
|
|
170
|
+
nextToken?: string | undefined;
|
|
171
|
+
}
|
|
172
|
+
export interface WorkflowExportConfig {
|
|
173
|
+
s3BucketName: string | undefined;
|
|
174
|
+
s3KeyPrefix?: string | undefined;
|
|
175
|
+
}
|
|
176
|
+
export interface CreateWorkflowDefinitionRequest {
|
|
177
|
+
name: string | undefined;
|
|
178
|
+
description?: string | undefined;
|
|
179
|
+
exportConfig?: WorkflowExportConfig | undefined;
|
|
180
|
+
clientToken?: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
export interface CreateWorkflowDefinitionResponse {
|
|
183
|
+
status: WorkflowDefinitionStatus | undefined;
|
|
184
|
+
}
|
|
185
|
+
export interface DeleteWorkflowDefinitionRequest {
|
|
186
|
+
workflowDefinitionName: string | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface DeleteWorkflowDefinitionResponse {
|
|
189
|
+
status: WorkflowDefinitionStatus | undefined;
|
|
190
|
+
}
|
|
191
|
+
export interface GetWorkflowDefinitionRequest {
|
|
192
|
+
workflowDefinitionName: string | undefined;
|
|
193
|
+
}
|
|
194
|
+
export interface GetWorkflowDefinitionResponse {
|
|
195
|
+
name: string | undefined;
|
|
196
|
+
arn: string | undefined;
|
|
197
|
+
createdAt: Date | undefined;
|
|
198
|
+
description?: string | undefined;
|
|
199
|
+
exportConfig?: WorkflowExportConfig | undefined;
|
|
200
|
+
status: WorkflowDefinitionStatus | undefined;
|
|
201
|
+
}
|
|
202
|
+
export interface ListWorkflowDefinitionsRequest {
|
|
203
|
+
maxResults?: number | undefined;
|
|
204
|
+
nextToken?: string | undefined;
|
|
205
|
+
sortOrder?: SortOrder | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface WorkflowDefinitionSummary {
|
|
208
|
+
workflowDefinitionArn: string | undefined;
|
|
209
|
+
workflowDefinitionName: string | undefined;
|
|
210
|
+
createdAt: Date | undefined;
|
|
211
|
+
status: WorkflowDefinitionStatus | undefined;
|
|
212
|
+
}
|
|
213
|
+
export interface ListWorkflowDefinitionsResponse {
|
|
214
|
+
workflowDefinitionSummaries: WorkflowDefinitionSummary[] | undefined;
|
|
215
|
+
nextToken?: string | undefined;
|
|
216
|
+
}
|
|
217
|
+
export interface ClientInfo {
|
|
218
|
+
compatibilityVersion: number | undefined;
|
|
219
|
+
sdkVersion?: string | undefined;
|
|
220
|
+
}
|
|
221
|
+
export interface CreateWorkflowRunRequest {
|
|
222
|
+
workflowDefinitionName: string | undefined;
|
|
223
|
+
modelId: string | undefined;
|
|
224
|
+
clientToken?: string | undefined;
|
|
225
|
+
logGroupName?: string | undefined;
|
|
226
|
+
clientInfo: ClientInfo | undefined;
|
|
227
|
+
}
|
|
228
|
+
export interface CreateWorkflowRunResponse {
|
|
229
|
+
workflowRunId: string | undefined;
|
|
230
|
+
status: WorkflowRunStatus | undefined;
|
|
231
|
+
}
|
|
232
|
+
export interface DeleteWorkflowRunRequest {
|
|
233
|
+
workflowDefinitionName: string | undefined;
|
|
234
|
+
workflowRunId: string | undefined;
|
|
235
|
+
}
|
|
236
|
+
export interface DeleteWorkflowRunResponse {
|
|
237
|
+
status: WorkflowRunStatus | undefined;
|
|
238
|
+
}
|
|
239
|
+
export interface GetWorkflowRunRequest {
|
|
240
|
+
workflowDefinitionName: string | undefined;
|
|
241
|
+
workflowRunId: string | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface GetWorkflowRunResponse {
|
|
244
|
+
workflowRunArn: string | undefined;
|
|
245
|
+
workflowRunId: string | undefined;
|
|
246
|
+
status: WorkflowRunStatus | undefined;
|
|
247
|
+
startedAt: Date | undefined;
|
|
248
|
+
endedAt?: Date | undefined;
|
|
249
|
+
modelId: string | undefined;
|
|
250
|
+
logGroupName?: string | undefined;
|
|
251
|
+
}
|
|
252
|
+
export interface ListWorkflowRunsRequest {
|
|
253
|
+
workflowDefinitionName: string | undefined;
|
|
254
|
+
maxResults?: number | undefined;
|
|
255
|
+
nextToken?: string | undefined;
|
|
256
|
+
sortOrder?: SortOrder | undefined;
|
|
257
|
+
}
|
|
258
|
+
export interface WorkflowRunSummary {
|
|
259
|
+
workflowRunArn: string | undefined;
|
|
260
|
+
workflowRunId: string | undefined;
|
|
261
|
+
status: WorkflowRunStatus | undefined;
|
|
262
|
+
startedAt: Date | undefined;
|
|
263
|
+
endedAt?: Date | undefined;
|
|
264
|
+
traceLocation?: TraceLocation | undefined;
|
|
265
|
+
}
|
|
266
|
+
export interface ListWorkflowRunsResponse {
|
|
267
|
+
workflowRunSummaries: WorkflowRunSummary[] | undefined;
|
|
268
|
+
nextToken?: string | undefined;
|
|
269
|
+
}
|
|
270
|
+
export interface UpdateWorkflowRunRequest {
|
|
271
|
+
workflowDefinitionName: string | undefined;
|
|
272
|
+
workflowRunId: string | undefined;
|
|
273
|
+
status: WorkflowRunStatus | undefined;
|
|
274
|
+
}
|
|
275
|
+
export interface UpdateWorkflowRunResponse {}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListActsCommandInput,
|
|
4
|
+
ListActsCommandOutput,
|
|
5
|
+
} from "../commands/ListActsCommand";
|
|
6
|
+
import { NovaActPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListActs: (
|
|
8
|
+
config: NovaActPaginationConfiguration,
|
|
9
|
+
input: ListActsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListActsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSessionsCommandInput,
|
|
4
|
+
ListSessionsCommandOutput,
|
|
5
|
+
} from "../commands/ListSessionsCommand";
|
|
6
|
+
import { NovaActPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSessions: (
|
|
8
|
+
config: NovaActPaginationConfiguration,
|
|
9
|
+
input: ListSessionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSessionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWorkflowDefinitionsCommandInput,
|
|
4
|
+
ListWorkflowDefinitionsCommandOutput,
|
|
5
|
+
} from "../commands/ListWorkflowDefinitionsCommand";
|
|
6
|
+
import { NovaActPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListWorkflowDefinitions: (
|
|
8
|
+
config: NovaActPaginationConfiguration,
|
|
9
|
+
input: ListWorkflowDefinitionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListWorkflowDefinitionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListWorkflowRunsCommandInput,
|
|
4
|
+
ListWorkflowRunsCommandOutput,
|
|
5
|
+
} from "../commands/ListWorkflowRunsCommand";
|
|
6
|
+
import { NovaActPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListWorkflowRuns: (
|
|
8
|
+
config: NovaActPaginationConfiguration,
|
|
9
|
+
input: ListWorkflowRunsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListWorkflowRunsCommandOutput>;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { NovaActClientConfig } from "./NovaActClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: NovaActClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
|
+
defaultUserAgentProvider: (
|
|
15
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
21
|
+
| RequestHandler;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
+
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
31
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
serviceId: string;
|
|
38
|
+
profile?: string;
|
|
39
|
+
logger: import("@smithy/types").Logger;
|
|
40
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
45
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
|
+
userAgentAppId?:
|
|
47
|
+
| string
|
|
48
|
+
| undefined
|
|
49
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?:
|
|
51
|
+
| import("@smithy/types").RetryStrategy
|
|
52
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
endpoint?:
|
|
54
|
+
| ((
|
|
55
|
+
| string
|
|
56
|
+
| import("@smithy/types").Endpoint
|
|
57
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
58
|
+
| import("@smithy/types").EndpointV2
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
60
|
+
) &
|
|
61
|
+
(
|
|
62
|
+
| string
|
|
63
|
+
| import("@smithy/types").Provider<string>
|
|
64
|
+
| import("@smithy/types").Endpoint
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
66
|
+
| import("@smithy/types").EndpointV2
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
68
|
+
))
|
|
69
|
+
| undefined;
|
|
70
|
+
endpointProvider: (
|
|
71
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
72
|
+
context?: {
|
|
73
|
+
logger?: import("@smithy/types").Logger;
|
|
74
|
+
}
|
|
75
|
+
) => import("@smithy/types").EndpointV2;
|
|
76
|
+
tls?: boolean;
|
|
77
|
+
serviceConfiguredEndpoint?: never;
|
|
78
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
79
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
80
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NovaActHttpAuthSchemeProvider;
|
|
81
|
+
credentials?:
|
|
82
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
83
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
84
|
+
signer?:
|
|
85
|
+
| import("@smithy/types").RequestSigner
|
|
86
|
+
| ((
|
|
87
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
89
|
+
signingEscapePath?: boolean;
|
|
90
|
+
systemClockOffset?: number;
|
|
91
|
+
signingRegion?: string;
|
|
92
|
+
signerConstructor?: new (
|
|
93
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
94
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
) => import("@smithy/types").RequestSigner;
|
|
96
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { NovaActClientConfig } from "./NovaActClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: NovaActClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider:
|
|
11
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
|
+
| ((
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
|
+
defaultUserAgentProvider: (
|
|
16
|
+
config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
17
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
+
requestHandler:
|
|
21
|
+
| RequestHandler
|
|
22
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
23
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
25
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
26
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
+
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
31
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
serviceId: string;
|
|
38
|
+
profile?: string;
|
|
39
|
+
logger: import("@smithy/types").Logger;
|
|
40
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
45
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
|
+
retryStrategy?:
|
|
47
|
+
| import("@smithy/types").RetryStrategy
|
|
48
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
49
|
+
endpoint?:
|
|
50
|
+
| ((
|
|
51
|
+
| string
|
|
52
|
+
| import("@smithy/types").Endpoint
|
|
53
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
54
|
+
| import("@smithy/types").EndpointV2
|
|
55
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
56
|
+
) &
|
|
57
|
+
(
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Provider<string>
|
|
60
|
+
| import("@smithy/types").Endpoint
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
62
|
+
| import("@smithy/types").EndpointV2
|
|
63
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
64
|
+
))
|
|
65
|
+
| undefined;
|
|
66
|
+
endpointProvider: (
|
|
67
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
68
|
+
context?: {
|
|
69
|
+
logger?: import("@smithy/types").Logger;
|
|
70
|
+
}
|
|
71
|
+
) => import("@smithy/types").EndpointV2;
|
|
72
|
+
tls?: boolean;
|
|
73
|
+
serviceConfiguredEndpoint?: never;
|
|
74
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
75
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NovaActHttpAuthSchemeProvider;
|
|
76
|
+
credentials?:
|
|
77
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
78
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
79
|
+
signer?:
|
|
80
|
+
| import("@smithy/types").RequestSigner
|
|
81
|
+
| ((
|
|
82
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
83
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
84
|
+
signingEscapePath?: boolean;
|
|
85
|
+
systemClockOffset?: number;
|
|
86
|
+
signingRegion?: string;
|
|
87
|
+
signerConstructor?: new (
|
|
88
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
89
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
90
|
+
) => import("@smithy/types").RequestSigner;
|
|
91
|
+
};
|