@aws-sdk/client-nova-act 3.987.0 → 3.989.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 +35 -771
- package/dist-cjs/models/NovaActServiceException.js +12 -0
- package/dist-cjs/models/errors.js +129 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +560 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +65 -59
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateActRequest$ = exports.TraceLocation$ = exports.ToolSpec$ = exports.SessionSummary$ = exports.ModelSummary$ = exports.ModelLifecycle$ = exports.ModelAlias$ = exports.ListWorkflowRunsResponse$ = exports.ListWorkflowRunsRequest$ = exports.ListWorkflowDefinitionsResponse$ = exports.ListWorkflowDefinitionsRequest$ = exports.ListSessionsResponse$ = exports.ListSessionsRequest$ = exports.ListModelsResponse$ = exports.ListModelsRequest$ = exports.ListActsResponse$ = exports.ListActsRequest$ = exports.InvokeActStepResponse$ = exports.InvokeActStepRequest$ = exports.GetWorkflowRunResponse$ = exports.GetWorkflowRunRequest$ = exports.GetWorkflowDefinitionResponse$ = exports.GetWorkflowDefinitionRequest$ = exports.DeleteWorkflowRunResponse$ = exports.DeleteWorkflowRunRequest$ = exports.DeleteWorkflowDefinitionResponse$ = exports.DeleteWorkflowDefinitionRequest$ = exports.CreateWorkflowRunResponse$ = exports.CreateWorkflowRunRequest$ = exports.CreateWorkflowDefinitionResponse$ = exports.CreateWorkflowDefinitionRequest$ = exports.CreateSessionResponse$ = exports.CreateSessionRequest$ = exports.CreateActResponse$ = exports.CreateActRequest$ = exports.CompatibilityInformation$ = exports.ClientInfo$ = exports.CallResult$ = exports.Call$ = exports.ActSummary$ = exports.ActError$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.NovaActServiceException$ = void 0;
|
|
4
|
+
exports.UpdateWorkflowRun$ = exports.UpdateAct$ = exports.ListWorkflowRuns$ = exports.ListWorkflowDefinitions$ = exports.ListSessions$ = exports.ListModels$ = exports.ListActs$ = exports.InvokeActStep$ = exports.GetWorkflowRun$ = exports.GetWorkflowDefinition$ = exports.DeleteWorkflowRun$ = exports.DeleteWorkflowDefinition$ = exports.CreateWorkflowRun$ = exports.CreateWorkflowDefinition$ = exports.CreateSession$ = exports.CreateAct$ = exports.ToolInputSchema$ = exports.CallResultContent$ = exports.WorkflowRunSummary$ = exports.WorkflowExportConfig$ = exports.WorkflowDefinitionSummary$ = exports.ValidationExceptionField$ = exports.UpdateWorkflowRunResponse$ = exports.UpdateWorkflowRunRequest$ = exports.UpdateActResponse$ = void 0;
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _AE = "ActError";
|
|
7
|
+
const _AS = "ActSummary";
|
|
8
|
+
const _ASc = "ActSummaries";
|
|
9
|
+
const _C = "Call";
|
|
10
|
+
const _CA = "CreateAct";
|
|
11
|
+
const _CAR = "CreateActRequest";
|
|
12
|
+
const _CARr = "CreateActResponse";
|
|
13
|
+
const _CE = "ConflictException";
|
|
14
|
+
const _CI = "ClientInfo";
|
|
15
|
+
const _CIo = "CompatibilityInformation";
|
|
16
|
+
const _CR = "CallResult";
|
|
17
|
+
const _CRC = "CallResultContents";
|
|
18
|
+
const _CRCa = "CallResultContent";
|
|
19
|
+
const _CRa = "CallResults";
|
|
20
|
+
const _CS = "CreateSession";
|
|
21
|
+
const _CSR = "CreateSessionRequest";
|
|
22
|
+
const _CSRr = "CreateSessionResponse";
|
|
23
|
+
const _CWD = "CreateWorkflowDefinition";
|
|
24
|
+
const _CWDR = "CreateWorkflowDefinitionRequest";
|
|
25
|
+
const _CWDRr = "CreateWorkflowDefinitionResponse";
|
|
26
|
+
const _CWR = "CreateWorkflowRun";
|
|
27
|
+
const _CWRR = "CreateWorkflowRunRequest";
|
|
28
|
+
const _CWRRr = "CreateWorkflowRunResponse";
|
|
29
|
+
const _Ca = "Calls";
|
|
30
|
+
const _DWD = "DeleteWorkflowDefinition";
|
|
31
|
+
const _DWDR = "DeleteWorkflowDefinitionRequest";
|
|
32
|
+
const _DWDRe = "DeleteWorkflowDefinitionResponse";
|
|
33
|
+
const _DWR = "DeleteWorkflowRun";
|
|
34
|
+
const _DWRR = "DeleteWorkflowRunRequest";
|
|
35
|
+
const _DWRRe = "DeleteWorkflowRunResponse";
|
|
36
|
+
const _GWD = "GetWorkflowDefinition";
|
|
37
|
+
const _GWDR = "GetWorkflowDefinitionRequest";
|
|
38
|
+
const _GWDRe = "GetWorkflowDefinitionResponse";
|
|
39
|
+
const _GWR = "GetWorkflowRun";
|
|
40
|
+
const _GWRR = "GetWorkflowRunRequest";
|
|
41
|
+
const _GWRRe = "GetWorkflowRunResponse";
|
|
42
|
+
const _IAS = "InvokeActStep";
|
|
43
|
+
const _IASR = "InvokeActStepRequest";
|
|
44
|
+
const _IASRn = "InvokeActStepResponse";
|
|
45
|
+
const _ISE = "InternalServerException";
|
|
46
|
+
const _LA = "ListActs";
|
|
47
|
+
const _LAR = "ListActsRequest";
|
|
48
|
+
const _LARi = "ListActsResponse";
|
|
49
|
+
const _LM = "ListModels";
|
|
50
|
+
const _LMR = "ListModelsRequest";
|
|
51
|
+
const _LMRi = "ListModelsResponse";
|
|
52
|
+
const _LS = "ListSessions";
|
|
53
|
+
const _LSR = "ListSessionsRequest";
|
|
54
|
+
const _LSRi = "ListSessionsResponse";
|
|
55
|
+
const _LWD = "ListWorkflowDefinitions";
|
|
56
|
+
const _LWDR = "ListWorkflowDefinitionsRequest";
|
|
57
|
+
const _LWDRi = "ListWorkflowDefinitionsResponse";
|
|
58
|
+
const _LWR = "ListWorkflowRuns";
|
|
59
|
+
const _LWRR = "ListWorkflowRunsRequest";
|
|
60
|
+
const _LWRRi = "ListWorkflowRunsResponse";
|
|
61
|
+
const _MA = "ModelAlias";
|
|
62
|
+
const _MAo = "ModelAliases";
|
|
63
|
+
const _ML = "ModelLifecycle";
|
|
64
|
+
const _MS = "ModelSummary";
|
|
65
|
+
const _MSo = "ModelSummaries";
|
|
66
|
+
const _RA = "Retry-After";
|
|
67
|
+
const _RNFE = "ResourceNotFoundException";
|
|
68
|
+
const _SD = "SensitiveDocument";
|
|
69
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
70
|
+
const _SS = "SensitiveString";
|
|
71
|
+
const _SSe = "SessionSummary";
|
|
72
|
+
const _SSes = "SessionSummaries";
|
|
73
|
+
const _T = "Task";
|
|
74
|
+
const _TD = "ToolDescription";
|
|
75
|
+
const _TE = "ThrottlingException";
|
|
76
|
+
const _TIS = "ToolInputSchema";
|
|
77
|
+
const _TL = "TraceLocation";
|
|
78
|
+
const _TS = "ToolSpec";
|
|
79
|
+
const _TSo = "ToolSpecs";
|
|
80
|
+
const _UA = "UpdateAct";
|
|
81
|
+
const _UAR = "UpdateActRequest";
|
|
82
|
+
const _UARp = "UpdateActResponse";
|
|
83
|
+
const _UWR = "UpdateWorkflowRun";
|
|
84
|
+
const _UWRR = "UpdateWorkflowRunRequest";
|
|
85
|
+
const _UWRRp = "UpdateWorkflowRunResponse";
|
|
86
|
+
const _VE = "ValidationException";
|
|
87
|
+
const _VEF = "ValidationExceptionField";
|
|
88
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
89
|
+
const _WD = "WorkflowDescription";
|
|
90
|
+
const _WDS = "WorkflowDefinitionSummary";
|
|
91
|
+
const _WDSo = "WorkflowDefinitionSummaries";
|
|
92
|
+
const _WEC = "WorkflowExportConfig";
|
|
93
|
+
const _WRS = "WorkflowRunSummary";
|
|
94
|
+
const _WRSo = "WorkflowRunSummaries";
|
|
95
|
+
const _a = "arn";
|
|
96
|
+
const _aI = "actId";
|
|
97
|
+
const _aN = "aliasName";
|
|
98
|
+
const _aS = "actSummaries";
|
|
99
|
+
const _c = "client";
|
|
100
|
+
const _cA = "createdAt";
|
|
101
|
+
const _cCV = "clientCompatibilityVersion";
|
|
102
|
+
const _cI = "callId";
|
|
103
|
+
const _cIl = "clientInfo";
|
|
104
|
+
const _cIo = "compatibilityInformation";
|
|
105
|
+
const _cR = "callResults";
|
|
106
|
+
const _cT = "clientToken";
|
|
107
|
+
const _cV = "compatibilityVersion";
|
|
108
|
+
const _ca = "calls";
|
|
109
|
+
const _co = "content";
|
|
110
|
+
const _d = "description";
|
|
111
|
+
const _e = "error";
|
|
112
|
+
const _eA = "endedAt";
|
|
113
|
+
const _eC = "exportConfig";
|
|
114
|
+
const _fL = "fieldList";
|
|
115
|
+
const _h = "http";
|
|
116
|
+
const _hE = "httpError";
|
|
117
|
+
const _hH = "httpHeader";
|
|
118
|
+
const _hQ = "httpQuery";
|
|
119
|
+
const _i = "input";
|
|
120
|
+
const _iS = "inputSchema";
|
|
121
|
+
const _j = "json";
|
|
122
|
+
const _l = "location";
|
|
123
|
+
const _lGN = "logGroupName";
|
|
124
|
+
const _lMI = "latestModelId";
|
|
125
|
+
const _lT = "locationType";
|
|
126
|
+
const _m = "message";
|
|
127
|
+
const _mA = "modelAliases";
|
|
128
|
+
const _mCV = "minimumCompatibilityVersion";
|
|
129
|
+
const _mI = "modelId";
|
|
130
|
+
const _mL = "modelLifecycle";
|
|
131
|
+
const _mR = "maxResults";
|
|
132
|
+
const _mS = "modelSummaries";
|
|
133
|
+
const _n = "name";
|
|
134
|
+
const _nT = "nextToken";
|
|
135
|
+
const _pSI = "previousStepId";
|
|
136
|
+
const _qC = "quotaCode";
|
|
137
|
+
const _r = "reason";
|
|
138
|
+
const _rAS = "retryAfterSeconds";
|
|
139
|
+
const _rI = "resourceId";
|
|
140
|
+
const _rMI = "resolvedModelId";
|
|
141
|
+
const _rT = "resourceType";
|
|
142
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.novaact";
|
|
143
|
+
const _sA = "startedAt";
|
|
144
|
+
const _sBN = "s3BucketName";
|
|
145
|
+
const _sC = "serviceCode";
|
|
146
|
+
const _sI = "sessionId";
|
|
147
|
+
const _sIt = "stepId";
|
|
148
|
+
const _sKP = "s3KeyPrefix";
|
|
149
|
+
const _sMI = "supportedModelIds";
|
|
150
|
+
const _sO = "sortOrder";
|
|
151
|
+
const _sS = "sessionSummaries";
|
|
152
|
+
const _sV = "sdkVersion";
|
|
153
|
+
const _se = "server";
|
|
154
|
+
const _st = "status";
|
|
155
|
+
const _t = "type";
|
|
156
|
+
const _tL = "traceLocation";
|
|
157
|
+
const _tS = "toolSpecs";
|
|
158
|
+
const _ta = "task";
|
|
159
|
+
const _te = "text";
|
|
160
|
+
const _wDA = "workflowDefinitionArn";
|
|
161
|
+
const _wDN = "workflowDefinitionName";
|
|
162
|
+
const _wDS = "workflowDefinitionSummaries";
|
|
163
|
+
const _wRA = "workflowRunArn";
|
|
164
|
+
const _wRI = "workflowRunId";
|
|
165
|
+
const _wRS = "workflowRunSummaries";
|
|
166
|
+
const n0 = "com.amazonaws.novaact";
|
|
167
|
+
const schema_1 = require("@smithy/core/schema");
|
|
168
|
+
const errors_1 = require("../models/errors");
|
|
169
|
+
const NovaActServiceException_1 = require("../models/NovaActServiceException");
|
|
170
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
171
|
+
exports.NovaActServiceException$ = [-3, _s, "NovaActServiceException", 0, [], []];
|
|
172
|
+
_s_registry.registerError(exports.NovaActServiceException$, NovaActServiceException_1.NovaActServiceException);
|
|
173
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
174
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
175
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
176
|
+
[_m],
|
|
177
|
+
[0], 1
|
|
178
|
+
];
|
|
179
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
180
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
181
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
182
|
+
[_m, _rI, _rT],
|
|
183
|
+
[0, 0, 0], 3
|
|
184
|
+
];
|
|
185
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
186
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
187
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
188
|
+
[_m, _rAS, _r],
|
|
189
|
+
[0, [1, { [_hH]: _RA }], 0], 1
|
|
190
|
+
];
|
|
191
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
192
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
193
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
194
|
+
[_m, _rI, _rT],
|
|
195
|
+
[0, 0, 0], 3
|
|
196
|
+
];
|
|
197
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
198
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
199
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
200
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
201
|
+
[0, 0, 0, 0, 0], 5
|
|
202
|
+
];
|
|
203
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
204
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
205
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
206
|
+
[_m, _sC, _qC, _rAS],
|
|
207
|
+
[0, 0, 0, [1, { [_hH]: _RA }]], 1
|
|
208
|
+
];
|
|
209
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
210
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
211
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
212
|
+
[_m, _r, _fL],
|
|
213
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
214
|
+
];
|
|
215
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
216
|
+
exports.errorTypeRegistries = [
|
|
217
|
+
_s_registry,
|
|
218
|
+
n0_registry,
|
|
219
|
+
];
|
|
220
|
+
var SensitiveDocument = [0, n0, _SD, 8, 15];
|
|
221
|
+
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
222
|
+
var Task = [0, n0, _T, 8, 0];
|
|
223
|
+
var ToolDescription = [0, n0, _TD, 8, 0];
|
|
224
|
+
var WorkflowDescription = [0, n0, _WD, 8, 0];
|
|
225
|
+
exports.ActError$ = [3, n0, _AE,
|
|
226
|
+
0,
|
|
227
|
+
[_m, _t],
|
|
228
|
+
[[() => SensitiveString, 0], 0], 1
|
|
229
|
+
];
|
|
230
|
+
exports.ActSummary$ = [3, n0, _AS,
|
|
231
|
+
0,
|
|
232
|
+
[_wRI, _sI, _aI, _st, _sA, _eA, _tL],
|
|
233
|
+
[0, 0, 0, 0, 5, 5, () => exports.TraceLocation$], 5
|
|
234
|
+
];
|
|
235
|
+
exports.Call$ = [3, n0, _C,
|
|
236
|
+
0,
|
|
237
|
+
[_cI, _i, _n],
|
|
238
|
+
[0, [() => SensitiveDocument, 0], 0], 3
|
|
239
|
+
];
|
|
240
|
+
exports.CallResult$ = [3, n0, _CR,
|
|
241
|
+
0,
|
|
242
|
+
[_co, _cI],
|
|
243
|
+
[[() => CallResultContents, 0], 0], 1
|
|
244
|
+
];
|
|
245
|
+
exports.ClientInfo$ = [3, n0, _CI,
|
|
246
|
+
0,
|
|
247
|
+
[_cV, _sV],
|
|
248
|
+
[1, 0], 1
|
|
249
|
+
];
|
|
250
|
+
exports.CompatibilityInformation$ = [3, n0, _CIo,
|
|
251
|
+
0,
|
|
252
|
+
[_cCV, _sMI, _m],
|
|
253
|
+
[1, 64 | 0, 0], 2
|
|
254
|
+
];
|
|
255
|
+
exports.CreateActRequest$ = [3, n0, _CAR,
|
|
256
|
+
0,
|
|
257
|
+
[_wDN, _wRI, _sI, _ta, _tS, _cT],
|
|
258
|
+
[[0, 1], [0, 1], [0, 1], [() => Task, 0], [() => ToolSpecs, 0], [0, 4]], 4
|
|
259
|
+
];
|
|
260
|
+
exports.CreateActResponse$ = [3, n0, _CARr,
|
|
261
|
+
0,
|
|
262
|
+
[_aI, _st],
|
|
263
|
+
[0, 0], 2
|
|
264
|
+
];
|
|
265
|
+
exports.CreateSessionRequest$ = [3, n0, _CSR,
|
|
266
|
+
0,
|
|
267
|
+
[_wDN, _wRI, _cT],
|
|
268
|
+
[[0, 1], [0, 1], [0, 4]], 2
|
|
269
|
+
];
|
|
270
|
+
exports.CreateSessionResponse$ = [3, n0, _CSRr,
|
|
271
|
+
0,
|
|
272
|
+
[_sI],
|
|
273
|
+
[0], 1
|
|
274
|
+
];
|
|
275
|
+
exports.CreateWorkflowDefinitionRequest$ = [3, n0, _CWDR,
|
|
276
|
+
0,
|
|
277
|
+
[_n, _d, _eC, _cT],
|
|
278
|
+
[0, [() => WorkflowDescription, 0], () => exports.WorkflowExportConfig$, [0, 4]], 1
|
|
279
|
+
];
|
|
280
|
+
exports.CreateWorkflowDefinitionResponse$ = [3, n0, _CWDRr,
|
|
281
|
+
0,
|
|
282
|
+
[_st],
|
|
283
|
+
[0], 1
|
|
284
|
+
];
|
|
285
|
+
exports.CreateWorkflowRunRequest$ = [3, n0, _CWRR,
|
|
286
|
+
0,
|
|
287
|
+
[_wDN, _mI, _cIl, _cT, _lGN],
|
|
288
|
+
[[0, 1], 0, () => exports.ClientInfo$, [0, 4], 0], 3
|
|
289
|
+
];
|
|
290
|
+
exports.CreateWorkflowRunResponse$ = [3, n0, _CWRRr,
|
|
291
|
+
0,
|
|
292
|
+
[_wRI, _st],
|
|
293
|
+
[0, 0], 2
|
|
294
|
+
];
|
|
295
|
+
exports.DeleteWorkflowDefinitionRequest$ = [3, n0, _DWDR,
|
|
296
|
+
0,
|
|
297
|
+
[_wDN],
|
|
298
|
+
[[0, 1]], 1
|
|
299
|
+
];
|
|
300
|
+
exports.DeleteWorkflowDefinitionResponse$ = [3, n0, _DWDRe,
|
|
301
|
+
0,
|
|
302
|
+
[_st],
|
|
303
|
+
[0], 1
|
|
304
|
+
];
|
|
305
|
+
exports.DeleteWorkflowRunRequest$ = [3, n0, _DWRR,
|
|
306
|
+
0,
|
|
307
|
+
[_wDN, _wRI],
|
|
308
|
+
[[0, 1], [0, 1]], 2
|
|
309
|
+
];
|
|
310
|
+
exports.DeleteWorkflowRunResponse$ = [3, n0, _DWRRe,
|
|
311
|
+
0,
|
|
312
|
+
[_st],
|
|
313
|
+
[0], 1
|
|
314
|
+
];
|
|
315
|
+
exports.GetWorkflowDefinitionRequest$ = [3, n0, _GWDR,
|
|
316
|
+
0,
|
|
317
|
+
[_wDN],
|
|
318
|
+
[[0, 1]], 1
|
|
319
|
+
];
|
|
320
|
+
exports.GetWorkflowDefinitionResponse$ = [3, n0, _GWDRe,
|
|
321
|
+
0,
|
|
322
|
+
[_n, _a, _cA, _st, _d, _eC],
|
|
323
|
+
[0, 0, 5, 0, [() => WorkflowDescription, 0], () => exports.WorkflowExportConfig$], 4
|
|
324
|
+
];
|
|
325
|
+
exports.GetWorkflowRunRequest$ = [3, n0, _GWRR,
|
|
326
|
+
0,
|
|
327
|
+
[_wDN, _wRI],
|
|
328
|
+
[[0, 1], [0, 1]], 2
|
|
329
|
+
];
|
|
330
|
+
exports.GetWorkflowRunResponse$ = [3, n0, _GWRRe,
|
|
331
|
+
0,
|
|
332
|
+
[_wRA, _wRI, _st, _sA, _mI, _eA, _lGN],
|
|
333
|
+
[0, 0, 0, 5, 0, 5, 0], 5
|
|
334
|
+
];
|
|
335
|
+
exports.InvokeActStepRequest$ = [3, n0, _IASR,
|
|
336
|
+
0,
|
|
337
|
+
[_wDN, _wRI, _sI, _aI, _cR, _pSI],
|
|
338
|
+
[[0, 1], [0, 1], [0, 1], [0, 1], [() => CallResults, 0], 0], 5
|
|
339
|
+
];
|
|
340
|
+
exports.InvokeActStepResponse$ = [3, n0, _IASRn,
|
|
341
|
+
0,
|
|
342
|
+
[_ca, _sIt],
|
|
343
|
+
[[() => Calls, 0], 0], 2
|
|
344
|
+
];
|
|
345
|
+
exports.ListActsRequest$ = [3, n0, _LAR,
|
|
346
|
+
0,
|
|
347
|
+
[_wDN, _wRI, _sI, _mR, _nT, _sO],
|
|
348
|
+
[[0, 1], [0, { [_hQ]: _wRI }], [0, { [_hQ]: _sI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0], 1
|
|
349
|
+
];
|
|
350
|
+
exports.ListActsResponse$ = [3, n0, _LARi,
|
|
351
|
+
0,
|
|
352
|
+
[_aS, _nT],
|
|
353
|
+
[() => ActSummaries, 0], 1
|
|
354
|
+
];
|
|
355
|
+
exports.ListModelsRequest$ = [3, n0, _LMR,
|
|
356
|
+
0,
|
|
357
|
+
[_cCV],
|
|
358
|
+
[[1, { [_hQ]: _cCV }]], 1
|
|
359
|
+
];
|
|
360
|
+
exports.ListModelsResponse$ = [3, n0, _LMRi,
|
|
361
|
+
0,
|
|
362
|
+
[_mS, _mA, _cIo],
|
|
363
|
+
[() => ModelSummaries, () => ModelAliases, () => exports.CompatibilityInformation$], 3
|
|
364
|
+
];
|
|
365
|
+
exports.ListSessionsRequest$ = [3, n0, _LSR,
|
|
366
|
+
0,
|
|
367
|
+
[_wDN, _wRI, _mR, _nT, _sO],
|
|
368
|
+
[[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0], 2
|
|
369
|
+
];
|
|
370
|
+
exports.ListSessionsResponse$ = [3, n0, _LSRi,
|
|
371
|
+
0,
|
|
372
|
+
[_sS, _nT],
|
|
373
|
+
[() => SessionSummaries, 0], 1
|
|
374
|
+
];
|
|
375
|
+
exports.ListWorkflowDefinitionsRequest$ = [3, n0, _LWDR,
|
|
376
|
+
0,
|
|
377
|
+
[_mR, _nT, _sO],
|
|
378
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0]
|
|
379
|
+
];
|
|
380
|
+
exports.ListWorkflowDefinitionsResponse$ = [3, n0, _LWDRi,
|
|
381
|
+
0,
|
|
382
|
+
[_wDS, _nT],
|
|
383
|
+
[() => WorkflowDefinitionSummaries, 0], 1
|
|
384
|
+
];
|
|
385
|
+
exports.ListWorkflowRunsRequest$ = [3, n0, _LWRR,
|
|
386
|
+
0,
|
|
387
|
+
[_wDN, _mR, _nT, _sO],
|
|
388
|
+
[[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0], 1
|
|
389
|
+
];
|
|
390
|
+
exports.ListWorkflowRunsResponse$ = [3, n0, _LWRRi,
|
|
391
|
+
0,
|
|
392
|
+
[_wRS, _nT],
|
|
393
|
+
[() => WorkflowRunSummaries, 0], 1
|
|
394
|
+
];
|
|
395
|
+
exports.ModelAlias$ = [3, n0, _MA,
|
|
396
|
+
0,
|
|
397
|
+
[_aN, _lMI, _rMI],
|
|
398
|
+
[0, 0, 0], 2
|
|
399
|
+
];
|
|
400
|
+
exports.ModelLifecycle$ = [3, n0, _ML,
|
|
401
|
+
0,
|
|
402
|
+
[_st],
|
|
403
|
+
[0], 1
|
|
404
|
+
];
|
|
405
|
+
exports.ModelSummary$ = [3, n0, _MS,
|
|
406
|
+
0,
|
|
407
|
+
[_mI, _mL, _mCV],
|
|
408
|
+
[0, () => exports.ModelLifecycle$, 1], 3
|
|
409
|
+
];
|
|
410
|
+
exports.SessionSummary$ = [3, n0, _SSe,
|
|
411
|
+
0,
|
|
412
|
+
[_sI],
|
|
413
|
+
[0], 1
|
|
414
|
+
];
|
|
415
|
+
exports.ToolSpec$ = [3, n0, _TS,
|
|
416
|
+
0,
|
|
417
|
+
[_n, _d, _iS],
|
|
418
|
+
[0, [() => ToolDescription, 0], [() => exports.ToolInputSchema$, 0]], 3
|
|
419
|
+
];
|
|
420
|
+
exports.TraceLocation$ = [3, n0, _TL,
|
|
421
|
+
0,
|
|
422
|
+
[_lT, _l],
|
|
423
|
+
[0, 0], 2
|
|
424
|
+
];
|
|
425
|
+
exports.UpdateActRequest$ = [3, n0, _UAR,
|
|
426
|
+
0,
|
|
427
|
+
[_wDN, _wRI, _sI, _aI, _st, _e],
|
|
428
|
+
[[0, 1], [0, 1], [0, 1], [0, 1], 0, [() => exports.ActError$, 0]], 5
|
|
429
|
+
];
|
|
430
|
+
exports.UpdateActResponse$ = [3, n0, _UARp,
|
|
431
|
+
0,
|
|
432
|
+
[],
|
|
433
|
+
[]
|
|
434
|
+
];
|
|
435
|
+
exports.UpdateWorkflowRunRequest$ = [3, n0, _UWRR,
|
|
436
|
+
0,
|
|
437
|
+
[_wDN, _wRI, _st],
|
|
438
|
+
[[0, 1], [0, 1], 0], 3
|
|
439
|
+
];
|
|
440
|
+
exports.UpdateWorkflowRunResponse$ = [3, n0, _UWRRp,
|
|
441
|
+
0,
|
|
442
|
+
[],
|
|
443
|
+
[]
|
|
444
|
+
];
|
|
445
|
+
exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
446
|
+
0,
|
|
447
|
+
[_n, _m],
|
|
448
|
+
[0, 0], 2
|
|
449
|
+
];
|
|
450
|
+
exports.WorkflowDefinitionSummary$ = [3, n0, _WDS,
|
|
451
|
+
0,
|
|
452
|
+
[_wDA, _wDN, _cA, _st],
|
|
453
|
+
[0, 0, 5, 0], 4
|
|
454
|
+
];
|
|
455
|
+
exports.WorkflowExportConfig$ = [3, n0, _WEC,
|
|
456
|
+
0,
|
|
457
|
+
[_sBN, _sKP],
|
|
458
|
+
[0, 0], 1
|
|
459
|
+
];
|
|
460
|
+
exports.WorkflowRunSummary$ = [3, n0, _WRS,
|
|
461
|
+
0,
|
|
462
|
+
[_wRA, _wRI, _st, _sA, _eA, _tL],
|
|
463
|
+
[0, 0, 0, 5, 5, () => exports.TraceLocation$], 4
|
|
464
|
+
];
|
|
465
|
+
var ActSummaries = [1, n0, _ASc,
|
|
466
|
+
0, () => exports.ActSummary$
|
|
467
|
+
];
|
|
468
|
+
var CallResultContents = [1, n0, _CRC,
|
|
469
|
+
0, [() => exports.CallResultContent$,
|
|
470
|
+
0]
|
|
471
|
+
];
|
|
472
|
+
var CallResults = [1, n0, _CRa,
|
|
473
|
+
0, [() => exports.CallResult$,
|
|
474
|
+
0]
|
|
475
|
+
];
|
|
476
|
+
var Calls = [1, n0, _Ca,
|
|
477
|
+
0, [() => exports.Call$,
|
|
478
|
+
0]
|
|
479
|
+
];
|
|
480
|
+
var ModelAliases = [1, n0, _MAo,
|
|
481
|
+
0, () => exports.ModelAlias$
|
|
482
|
+
];
|
|
483
|
+
var ModelIdList = 64 | 0;
|
|
484
|
+
var ModelSummaries = [1, n0, _MSo,
|
|
485
|
+
0, () => exports.ModelSummary$
|
|
486
|
+
];
|
|
487
|
+
var SessionSummaries = [1, n0, _SSes,
|
|
488
|
+
0, () => exports.SessionSummary$
|
|
489
|
+
];
|
|
490
|
+
var ToolSpecs = [1, n0, _TSo,
|
|
491
|
+
0, [() => exports.ToolSpec$,
|
|
492
|
+
0]
|
|
493
|
+
];
|
|
494
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
495
|
+
0, () => exports.ValidationExceptionField$
|
|
496
|
+
];
|
|
497
|
+
var WorkflowDefinitionSummaries = [1, n0, _WDSo,
|
|
498
|
+
0, () => exports.WorkflowDefinitionSummary$
|
|
499
|
+
];
|
|
500
|
+
var WorkflowRunSummaries = [1, n0, _WRSo,
|
|
501
|
+
0, () => exports.WorkflowRunSummary$
|
|
502
|
+
];
|
|
503
|
+
exports.CallResultContent$ = [4, n0, _CRCa,
|
|
504
|
+
8,
|
|
505
|
+
[_te],
|
|
506
|
+
[0]
|
|
507
|
+
];
|
|
508
|
+
exports.ToolInputSchema$ = [4, n0, _TIS,
|
|
509
|
+
8,
|
|
510
|
+
[_j],
|
|
511
|
+
[15]
|
|
512
|
+
];
|
|
513
|
+
exports.CreateAct$ = [9, n0, _CA,
|
|
514
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts", 201] }, () => exports.CreateActRequest$, () => exports.CreateActResponse$
|
|
515
|
+
];
|
|
516
|
+
exports.CreateSession$ = [9, n0, _CS,
|
|
517
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions", 201] }, () => exports.CreateSessionRequest$, () => exports.CreateSessionResponse$
|
|
518
|
+
];
|
|
519
|
+
exports.CreateWorkflowDefinition$ = [9, n0, _CWD,
|
|
520
|
+
{ [_h]: ["PUT", "/workflow-definitions", 201] }, () => exports.CreateWorkflowDefinitionRequest$, () => exports.CreateWorkflowDefinitionResponse$
|
|
521
|
+
];
|
|
522
|
+
exports.CreateWorkflowRun$ = [9, n0, _CWR,
|
|
523
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs", 201] }, () => exports.CreateWorkflowRunRequest$, () => exports.CreateWorkflowRunResponse$
|
|
524
|
+
];
|
|
525
|
+
exports.DeleteWorkflowDefinition$ = [9, n0, _DWD,
|
|
526
|
+
{ [_h]: ["DELETE", "/workflow-definitions/{workflowDefinitionName}", 202] }, () => exports.DeleteWorkflowDefinitionRequest$, () => exports.DeleteWorkflowDefinitionResponse$
|
|
527
|
+
];
|
|
528
|
+
exports.DeleteWorkflowRun$ = [9, n0, _DWR,
|
|
529
|
+
{ [_h]: ["DELETE", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 202] }, () => exports.DeleteWorkflowRunRequest$, () => exports.DeleteWorkflowRunResponse$
|
|
530
|
+
];
|
|
531
|
+
exports.GetWorkflowDefinition$ = [9, n0, _GWD,
|
|
532
|
+
{ [_h]: ["GET", "/workflow-definitions/{workflowDefinitionName}", 200] }, () => exports.GetWorkflowDefinitionRequest$, () => exports.GetWorkflowDefinitionResponse$
|
|
533
|
+
];
|
|
534
|
+
exports.GetWorkflowRun$ = [9, n0, _GWR,
|
|
535
|
+
{ [_h]: ["GET", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] }, () => exports.GetWorkflowRunRequest$, () => exports.GetWorkflowRunResponse$
|
|
536
|
+
];
|
|
537
|
+
exports.InvokeActStep$ = [9, n0, _IAS,
|
|
538
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts/{actId}/invoke-step/", 200] }, () => exports.InvokeActStepRequest$, () => exports.InvokeActStepResponse$
|
|
539
|
+
];
|
|
540
|
+
exports.ListActs$ = [9, n0, _LA,
|
|
541
|
+
{ [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/acts", 200] }, () => exports.ListActsRequest$, () => exports.ListActsResponse$
|
|
542
|
+
];
|
|
543
|
+
exports.ListModels$ = [9, n0, _LM,
|
|
544
|
+
{ [_h]: ["POST", "/models", 200] }, () => exports.ListModelsRequest$, () => exports.ListModelsResponse$
|
|
545
|
+
];
|
|
546
|
+
exports.ListSessions$ = [9, n0, _LS,
|
|
547
|
+
{ [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] }, () => exports.ListSessionsRequest$, () => exports.ListSessionsResponse$
|
|
548
|
+
];
|
|
549
|
+
exports.ListWorkflowDefinitions$ = [9, n0, _LWD,
|
|
550
|
+
{ [_h]: ["POST", "/workflow-definitions", 200] }, () => exports.ListWorkflowDefinitionsRequest$, () => exports.ListWorkflowDefinitionsResponse$
|
|
551
|
+
];
|
|
552
|
+
exports.ListWorkflowRuns$ = [9, n0, _LWR,
|
|
553
|
+
{ [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/workflow-runs", 200] }, () => exports.ListWorkflowRunsRequest$, () => exports.ListWorkflowRunsResponse$
|
|
554
|
+
];
|
|
555
|
+
exports.UpdateAct$ = [9, n0, _UA,
|
|
556
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts/{actId}", 200] }, () => exports.UpdateActRequest$, () => exports.UpdateActResponse$
|
|
557
|
+
];
|
|
558
|
+
exports.UpdateWorkflowRun$ = [9, n0, _UWR,
|
|
559
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] }, () => exports.UpdateWorkflowRunRequest$, () => exports.UpdateWorkflowRunResponse$
|
|
560
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultNovaActHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2025-08-22",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.novaact",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2025-08-22",
|
|
30
32
|
serviceTarget: "AmazonNovaAgentsDataPlane",
|
|
31
33
|
},
|