@aws-sdk/client-nova-act 3.987.0 → 3.988.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var NovaActServiceException = require('./models/NovaActServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,679 +113,6 @@ class NovaActClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class NovaActServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, NovaActServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends NovaActServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class ConflictException extends NovaActServiceException {
133
- name = "ConflictException";
134
- $fault = "client";
135
- resourceId;
136
- resourceType;
137
- constructor(opts) {
138
- super({
139
- name: "ConflictException",
140
- $fault: "client",
141
- ...opts,
142
- });
143
- Object.setPrototypeOf(this, ConflictException.prototype);
144
- this.resourceId = opts.resourceId;
145
- this.resourceType = opts.resourceType;
146
- }
147
- }
148
- class InternalServerException extends NovaActServiceException {
149
- name = "InternalServerException";
150
- $fault = "server";
151
- $retryable = {};
152
- retryAfterSeconds;
153
- reason;
154
- constructor(opts) {
155
- super({
156
- name: "InternalServerException",
157
- $fault: "server",
158
- ...opts,
159
- });
160
- Object.setPrototypeOf(this, InternalServerException.prototype);
161
- this.retryAfterSeconds = opts.retryAfterSeconds;
162
- this.reason = opts.reason;
163
- }
164
- }
165
- class ResourceNotFoundException extends NovaActServiceException {
166
- name = "ResourceNotFoundException";
167
- $fault = "client";
168
- resourceId;
169
- resourceType;
170
- constructor(opts) {
171
- super({
172
- name: "ResourceNotFoundException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
177
- this.resourceId = opts.resourceId;
178
- this.resourceType = opts.resourceType;
179
- }
180
- }
181
- class ServiceQuotaExceededException extends NovaActServiceException {
182
- name = "ServiceQuotaExceededException";
183
- $fault = "client";
184
- resourceId;
185
- resourceType;
186
- serviceCode;
187
- quotaCode;
188
- constructor(opts) {
189
- super({
190
- name: "ServiceQuotaExceededException",
191
- $fault: "client",
192
- ...opts,
193
- });
194
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
195
- this.resourceId = opts.resourceId;
196
- this.resourceType = opts.resourceType;
197
- this.serviceCode = opts.serviceCode;
198
- this.quotaCode = opts.quotaCode;
199
- }
200
- }
201
- class ThrottlingException extends NovaActServiceException {
202
- name = "ThrottlingException";
203
- $fault = "client";
204
- $retryable = {
205
- throttling: true,
206
- };
207
- serviceCode;
208
- quotaCode;
209
- retryAfterSeconds;
210
- constructor(opts) {
211
- super({
212
- name: "ThrottlingException",
213
- $fault: "client",
214
- ...opts,
215
- });
216
- Object.setPrototypeOf(this, ThrottlingException.prototype);
217
- this.serviceCode = opts.serviceCode;
218
- this.quotaCode = opts.quotaCode;
219
- this.retryAfterSeconds = opts.retryAfterSeconds;
220
- }
221
- }
222
- class ValidationException extends NovaActServiceException {
223
- name = "ValidationException";
224
- $fault = "client";
225
- reason;
226
- fieldList;
227
- constructor(opts) {
228
- super({
229
- name: "ValidationException",
230
- $fault: "client",
231
- ...opts,
232
- });
233
- Object.setPrototypeOf(this, ValidationException.prototype);
234
- this.reason = opts.reason;
235
- this.fieldList = opts.fieldList;
236
- }
237
- }
238
-
239
- const _ADE = "AccessDeniedException";
240
- const _AE = "ActError";
241
- const _AS = "ActSummary";
242
- const _ASc = "ActSummaries";
243
- const _C = "Call";
244
- const _CA = "CreateAct";
245
- const _CAR = "CreateActRequest";
246
- const _CARr = "CreateActResponse";
247
- const _CE = "ConflictException";
248
- const _CI = "ClientInfo";
249
- const _CIo = "CompatibilityInformation";
250
- const _CR = "CallResult";
251
- const _CRC = "CallResultContents";
252
- const _CRCa = "CallResultContent";
253
- const _CRa = "CallResults";
254
- const _CS = "CreateSession";
255
- const _CSR = "CreateSessionRequest";
256
- const _CSRr = "CreateSessionResponse";
257
- const _CWD = "CreateWorkflowDefinition";
258
- const _CWDR = "CreateWorkflowDefinitionRequest";
259
- const _CWDRr = "CreateWorkflowDefinitionResponse";
260
- const _CWR = "CreateWorkflowRun";
261
- const _CWRR = "CreateWorkflowRunRequest";
262
- const _CWRRr = "CreateWorkflowRunResponse";
263
- const _Ca = "Calls";
264
- const _DWD = "DeleteWorkflowDefinition";
265
- const _DWDR = "DeleteWorkflowDefinitionRequest";
266
- const _DWDRe = "DeleteWorkflowDefinitionResponse";
267
- const _DWR = "DeleteWorkflowRun";
268
- const _DWRR = "DeleteWorkflowRunRequest";
269
- const _DWRRe = "DeleteWorkflowRunResponse";
270
- const _GWD = "GetWorkflowDefinition";
271
- const _GWDR = "GetWorkflowDefinitionRequest";
272
- const _GWDRe = "GetWorkflowDefinitionResponse";
273
- const _GWR = "GetWorkflowRun";
274
- const _GWRR = "GetWorkflowRunRequest";
275
- const _GWRRe = "GetWorkflowRunResponse";
276
- const _IAS = "InvokeActStep";
277
- const _IASR = "InvokeActStepRequest";
278
- const _IASRn = "InvokeActStepResponse";
279
- const _ISE = "InternalServerException";
280
- const _LA = "ListActs";
281
- const _LAR = "ListActsRequest";
282
- const _LARi = "ListActsResponse";
283
- const _LM = "ListModels";
284
- const _LMR = "ListModelsRequest";
285
- const _LMRi = "ListModelsResponse";
286
- const _LS = "ListSessions";
287
- const _LSR = "ListSessionsRequest";
288
- const _LSRi = "ListSessionsResponse";
289
- const _LWD = "ListWorkflowDefinitions";
290
- const _LWDR = "ListWorkflowDefinitionsRequest";
291
- const _LWDRi = "ListWorkflowDefinitionsResponse";
292
- const _LWR = "ListWorkflowRuns";
293
- const _LWRR = "ListWorkflowRunsRequest";
294
- const _LWRRi = "ListWorkflowRunsResponse";
295
- const _MA = "ModelAlias";
296
- const _MAo = "ModelAliases";
297
- const _ML = "ModelLifecycle";
298
- const _MS = "ModelSummary";
299
- const _MSo = "ModelSummaries";
300
- const _RA = "Retry-After";
301
- const _RNFE = "ResourceNotFoundException";
302
- const _SD = "SensitiveDocument";
303
- const _SQEE = "ServiceQuotaExceededException";
304
- const _SS = "SensitiveString";
305
- const _SSe = "SessionSummary";
306
- const _SSes = "SessionSummaries";
307
- const _T = "Task";
308
- const _TD = "ToolDescription";
309
- const _TE = "ThrottlingException";
310
- const _TIS = "ToolInputSchema";
311
- const _TL = "TraceLocation";
312
- const _TS = "ToolSpec";
313
- const _TSo = "ToolSpecs";
314
- const _UA = "UpdateAct";
315
- const _UAR = "UpdateActRequest";
316
- const _UARp = "UpdateActResponse";
317
- const _UWR = "UpdateWorkflowRun";
318
- const _UWRR = "UpdateWorkflowRunRequest";
319
- const _UWRRp = "UpdateWorkflowRunResponse";
320
- const _VE = "ValidationException";
321
- const _VEF = "ValidationExceptionField";
322
- const _VEFL = "ValidationExceptionFieldList";
323
- const _WD = "WorkflowDescription";
324
- const _WDS = "WorkflowDefinitionSummary";
325
- const _WDSo = "WorkflowDefinitionSummaries";
326
- const _WEC = "WorkflowExportConfig";
327
- const _WRS = "WorkflowRunSummary";
328
- const _WRSo = "WorkflowRunSummaries";
329
- const _a = "arn";
330
- const _aI = "actId";
331
- const _aN = "aliasName";
332
- const _aS = "actSummaries";
333
- const _c = "client";
334
- const _cA = "createdAt";
335
- const _cCV = "clientCompatibilityVersion";
336
- const _cI = "callId";
337
- const _cIl = "clientInfo";
338
- const _cIo = "compatibilityInformation";
339
- const _cR = "callResults";
340
- const _cT = "clientToken";
341
- const _cV = "compatibilityVersion";
342
- const _ca = "calls";
343
- const _co = "content";
344
- const _d = "description";
345
- const _e = "error";
346
- const _eA = "endedAt";
347
- const _eC = "exportConfig";
348
- const _fL = "fieldList";
349
- const _h = "http";
350
- const _hE = "httpError";
351
- const _hH = "httpHeader";
352
- const _hQ = "httpQuery";
353
- const _i = "input";
354
- const _iS = "inputSchema";
355
- const _j = "json";
356
- const _l = "location";
357
- const _lGN = "logGroupName";
358
- const _lMI = "latestModelId";
359
- const _lT = "locationType";
360
- const _m = "message";
361
- const _mA = "modelAliases";
362
- const _mCV = "minimumCompatibilityVersion";
363
- const _mI = "modelId";
364
- const _mL = "modelLifecycle";
365
- const _mR = "maxResults";
366
- const _mS = "modelSummaries";
367
- const _n = "name";
368
- const _nT = "nextToken";
369
- const _pSI = "previousStepId";
370
- const _qC = "quotaCode";
371
- const _r = "reason";
372
- const _rAS = "retryAfterSeconds";
373
- const _rI = "resourceId";
374
- const _rMI = "resolvedModelId";
375
- const _rT = "resourceType";
376
- const _s = "status";
377
- const _sA = "startedAt";
378
- const _sBN = "s3BucketName";
379
- const _sC = "serviceCode";
380
- const _sI = "sessionId";
381
- const _sIt = "stepId";
382
- const _sKP = "s3KeyPrefix";
383
- const _sMI = "supportedModelIds";
384
- const _sO = "sortOrder";
385
- const _sS = "sessionSummaries";
386
- const _sV = "sdkVersion";
387
- const _se = "server";
388
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.novaact";
389
- const _t = "type";
390
- const _tL = "traceLocation";
391
- const _tS = "toolSpecs";
392
- const _ta = "task";
393
- const _te = "text";
394
- const _wDA = "workflowDefinitionArn";
395
- const _wDN = "workflowDefinitionName";
396
- const _wDS = "workflowDefinitionSummaries";
397
- const _wRA = "workflowRunArn";
398
- const _wRI = "workflowRunId";
399
- const _wRS = "workflowRunSummaries";
400
- const n0 = "com.amazonaws.novaact";
401
- var SensitiveDocument = [0, n0, _SD, 8, 15];
402
- var SensitiveString = [0, n0, _SS, 8, 0];
403
- var Task = [0, n0, _T, 8, 0];
404
- var ToolDescription = [0, n0, _TD, 8, 0];
405
- var WorkflowDescription = [0, n0, _WD, 8, 0];
406
- var AccessDeniedException$ = [-3, n0, _ADE,
407
- { [_e]: _c, [_hE]: 403 },
408
- [_m],
409
- [0], 1
410
- ];
411
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
412
- var ActError$ = [3, n0, _AE,
413
- 0,
414
- [_m, _t],
415
- [[() => SensitiveString, 0], 0], 1
416
- ];
417
- var ActSummary$ = [3, n0, _AS,
418
- 0,
419
- [_wRI, _sI, _aI, _s, _sA, _eA, _tL],
420
- [0, 0, 0, 0, 5, 5, () => TraceLocation$], 5
421
- ];
422
- var Call$ = [3, n0, _C,
423
- 0,
424
- [_cI, _i, _n],
425
- [0, [() => SensitiveDocument, 0], 0], 3
426
- ];
427
- var CallResult$ = [3, n0, _CR,
428
- 0,
429
- [_co, _cI],
430
- [[() => CallResultContents, 0], 0], 1
431
- ];
432
- var ClientInfo$ = [3, n0, _CI,
433
- 0,
434
- [_cV, _sV],
435
- [1, 0], 1
436
- ];
437
- var CompatibilityInformation$ = [3, n0, _CIo,
438
- 0,
439
- [_cCV, _sMI, _m],
440
- [1, 64 | 0, 0], 2
441
- ];
442
- var ConflictException$ = [-3, n0, _CE,
443
- { [_e]: _c, [_hE]: 409 },
444
- [_m, _rI, _rT],
445
- [0, 0, 0], 3
446
- ];
447
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
448
- var CreateActRequest$ = [3, n0, _CAR,
449
- 0,
450
- [_wDN, _wRI, _sI, _ta, _tS, _cT],
451
- [[0, 1], [0, 1], [0, 1], [() => Task, 0], [() => ToolSpecs, 0], [0, 4]], 4
452
- ];
453
- var CreateActResponse$ = [3, n0, _CARr,
454
- 0,
455
- [_aI, _s],
456
- [0, 0], 2
457
- ];
458
- var CreateSessionRequest$ = [3, n0, _CSR,
459
- 0,
460
- [_wDN, _wRI, _cT],
461
- [[0, 1], [0, 1], [0, 4]], 2
462
- ];
463
- var CreateSessionResponse$ = [3, n0, _CSRr,
464
- 0,
465
- [_sI],
466
- [0], 1
467
- ];
468
- var CreateWorkflowDefinitionRequest$ = [3, n0, _CWDR,
469
- 0,
470
- [_n, _d, _eC, _cT],
471
- [0, [() => WorkflowDescription, 0], () => WorkflowExportConfig$, [0, 4]], 1
472
- ];
473
- var CreateWorkflowDefinitionResponse$ = [3, n0, _CWDRr,
474
- 0,
475
- [_s],
476
- [0], 1
477
- ];
478
- var CreateWorkflowRunRequest$ = [3, n0, _CWRR,
479
- 0,
480
- [_wDN, _mI, _cIl, _cT, _lGN],
481
- [[0, 1], 0, () => ClientInfo$, [0, 4], 0], 3
482
- ];
483
- var CreateWorkflowRunResponse$ = [3, n0, _CWRRr,
484
- 0,
485
- [_wRI, _s],
486
- [0, 0], 2
487
- ];
488
- var DeleteWorkflowDefinitionRequest$ = [3, n0, _DWDR,
489
- 0,
490
- [_wDN],
491
- [[0, 1]], 1
492
- ];
493
- var DeleteWorkflowDefinitionResponse$ = [3, n0, _DWDRe,
494
- 0,
495
- [_s],
496
- [0], 1
497
- ];
498
- var DeleteWorkflowRunRequest$ = [3, n0, _DWRR,
499
- 0,
500
- [_wDN, _wRI],
501
- [[0, 1], [0, 1]], 2
502
- ];
503
- var DeleteWorkflowRunResponse$ = [3, n0, _DWRRe,
504
- 0,
505
- [_s],
506
- [0], 1
507
- ];
508
- var GetWorkflowDefinitionRequest$ = [3, n0, _GWDR,
509
- 0,
510
- [_wDN],
511
- [[0, 1]], 1
512
- ];
513
- var GetWorkflowDefinitionResponse$ = [3, n0, _GWDRe,
514
- 0,
515
- [_n, _a, _cA, _s, _d, _eC],
516
- [0, 0, 5, 0, [() => WorkflowDescription, 0], () => WorkflowExportConfig$], 4
517
- ];
518
- var GetWorkflowRunRequest$ = [3, n0, _GWRR,
519
- 0,
520
- [_wDN, _wRI],
521
- [[0, 1], [0, 1]], 2
522
- ];
523
- var GetWorkflowRunResponse$ = [3, n0, _GWRRe,
524
- 0,
525
- [_wRA, _wRI, _s, _sA, _mI, _eA, _lGN],
526
- [0, 0, 0, 5, 0, 5, 0], 5
527
- ];
528
- var InternalServerException$ = [-3, n0, _ISE,
529
- { [_e]: _se, [_hE]: 500 },
530
- [_m, _rAS, _r],
531
- [0, [1, { [_hH]: _RA }], 0], 1
532
- ];
533
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
534
- var InvokeActStepRequest$ = [3, n0, _IASR,
535
- 0,
536
- [_wDN, _wRI, _sI, _aI, _cR, _pSI],
537
- [[0, 1], [0, 1], [0, 1], [0, 1], [() => CallResults, 0], 0], 5
538
- ];
539
- var InvokeActStepResponse$ = [3, n0, _IASRn,
540
- 0,
541
- [_ca, _sIt],
542
- [[() => Calls, 0], 0], 2
543
- ];
544
- var ListActsRequest$ = [3, n0, _LAR,
545
- 0,
546
- [_wDN, _wRI, _sI, _mR, _nT, _sO],
547
- [[0, 1], [0, { [_hQ]: _wRI }], [0, { [_hQ]: _sI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0], 1
548
- ];
549
- var ListActsResponse$ = [3, n0, _LARi,
550
- 0,
551
- [_aS, _nT],
552
- [() => ActSummaries, 0], 1
553
- ];
554
- var ListModelsRequest$ = [3, n0, _LMR,
555
- 0,
556
- [_cCV],
557
- [[1, { [_hQ]: _cCV }]], 1
558
- ];
559
- var ListModelsResponse$ = [3, n0, _LMRi,
560
- 0,
561
- [_mS, _mA, _cIo],
562
- [() => ModelSummaries, () => ModelAliases, () => CompatibilityInformation$], 3
563
- ];
564
- var ListSessionsRequest$ = [3, n0, _LSR,
565
- 0,
566
- [_wDN, _wRI, _mR, _nT, _sO],
567
- [[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0], 2
568
- ];
569
- var ListSessionsResponse$ = [3, n0, _LSRi,
570
- 0,
571
- [_sS, _nT],
572
- [() => SessionSummaries, 0], 1
573
- ];
574
- var ListWorkflowDefinitionsRequest$ = [3, n0, _LWDR,
575
- 0,
576
- [_mR, _nT, _sO],
577
- [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0]
578
- ];
579
- var ListWorkflowDefinitionsResponse$ = [3, n0, _LWDRi,
580
- 0,
581
- [_wDS, _nT],
582
- [() => WorkflowDefinitionSummaries, 0], 1
583
- ];
584
- var ListWorkflowRunsRequest$ = [3, n0, _LWRR,
585
- 0,
586
- [_wDN, _mR, _nT, _sO],
587
- [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0], 1
588
- ];
589
- var ListWorkflowRunsResponse$ = [3, n0, _LWRRi,
590
- 0,
591
- [_wRS, _nT],
592
- [() => WorkflowRunSummaries, 0], 1
593
- ];
594
- var ModelAlias$ = [3, n0, _MA,
595
- 0,
596
- [_aN, _lMI, _rMI],
597
- [0, 0, 0], 2
598
- ];
599
- var ModelLifecycle$ = [3, n0, _ML,
600
- 0,
601
- [_s],
602
- [0], 1
603
- ];
604
- var ModelSummary$ = [3, n0, _MS,
605
- 0,
606
- [_mI, _mL, _mCV],
607
- [0, () => ModelLifecycle$, 1], 3
608
- ];
609
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
610
- { [_e]: _c, [_hE]: 404 },
611
- [_m, _rI, _rT],
612
- [0, 0, 0], 3
613
- ];
614
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
615
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
616
- { [_e]: _c, [_hE]: 402 },
617
- [_m, _rI, _rT, _sC, _qC],
618
- [0, 0, 0, 0, 0], 5
619
- ];
620
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
621
- var SessionSummary$ = [3, n0, _SSe,
622
- 0,
623
- [_sI],
624
- [0], 1
625
- ];
626
- var ThrottlingException$ = [-3, n0, _TE,
627
- { [_e]: _c, [_hE]: 429 },
628
- [_m, _sC, _qC, _rAS],
629
- [0, 0, 0, [1, { [_hH]: _RA }]], 1
630
- ];
631
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
632
- var ToolSpec$ = [3, n0, _TS,
633
- 0,
634
- [_n, _d, _iS],
635
- [0, [() => ToolDescription, 0], [() => ToolInputSchema$, 0]], 3
636
- ];
637
- var TraceLocation$ = [3, n0, _TL,
638
- 0,
639
- [_lT, _l],
640
- [0, 0], 2
641
- ];
642
- var UpdateActRequest$ = [3, n0, _UAR,
643
- 0,
644
- [_wDN, _wRI, _sI, _aI, _s, _e],
645
- [[0, 1], [0, 1], [0, 1], [0, 1], 0, [() => ActError$, 0]], 5
646
- ];
647
- var UpdateActResponse$ = [3, n0, _UARp,
648
- 0,
649
- [],
650
- []
651
- ];
652
- var UpdateWorkflowRunRequest$ = [3, n0, _UWRR,
653
- 0,
654
- [_wDN, _wRI, _s],
655
- [[0, 1], [0, 1], 0], 3
656
- ];
657
- var UpdateWorkflowRunResponse$ = [3, n0, _UWRRp,
658
- 0,
659
- [],
660
- []
661
- ];
662
- var ValidationException$ = [-3, n0, _VE,
663
- { [_e]: _c, [_hE]: 400 },
664
- [_m, _r, _fL],
665
- [0, 0, () => ValidationExceptionFieldList], 2
666
- ];
667
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
668
- var ValidationExceptionField$ = [3, n0, _VEF,
669
- 0,
670
- [_n, _m],
671
- [0, 0], 2
672
- ];
673
- var WorkflowDefinitionSummary$ = [3, n0, _WDS,
674
- 0,
675
- [_wDA, _wDN, _cA, _s],
676
- [0, 0, 5, 0], 4
677
- ];
678
- var WorkflowExportConfig$ = [3, n0, _WEC,
679
- 0,
680
- [_sBN, _sKP],
681
- [0, 0], 1
682
- ];
683
- var WorkflowRunSummary$ = [3, n0, _WRS,
684
- 0,
685
- [_wRA, _wRI, _s, _sA, _eA, _tL],
686
- [0, 0, 0, 5, 5, () => TraceLocation$], 4
687
- ];
688
- var NovaActServiceException$ = [-3, _sm, "NovaActServiceException", 0, [], []];
689
- schema.TypeRegistry.for(_sm).registerError(NovaActServiceException$, NovaActServiceException);
690
- var ActSummaries = [1, n0, _ASc,
691
- 0, () => ActSummary$
692
- ];
693
- var CallResultContents = [1, n0, _CRC,
694
- 0, [() => CallResultContent$,
695
- 0]
696
- ];
697
- var CallResults = [1, n0, _CRa,
698
- 0, [() => CallResult$,
699
- 0]
700
- ];
701
- var Calls = [1, n0, _Ca,
702
- 0, [() => Call$,
703
- 0]
704
- ];
705
- var ModelAliases = [1, n0, _MAo,
706
- 0, () => ModelAlias$
707
- ];
708
- var ModelSummaries = [1, n0, _MSo,
709
- 0, () => ModelSummary$
710
- ];
711
- var SessionSummaries = [1, n0, _SSes,
712
- 0, () => SessionSummary$
713
- ];
714
- var ToolSpecs = [1, n0, _TSo,
715
- 0, [() => ToolSpec$,
716
- 0]
717
- ];
718
- var ValidationExceptionFieldList = [1, n0, _VEFL,
719
- 0, () => ValidationExceptionField$
720
- ];
721
- var WorkflowDefinitionSummaries = [1, n0, _WDSo,
722
- 0, () => WorkflowDefinitionSummary$
723
- ];
724
- var WorkflowRunSummaries = [1, n0, _WRSo,
725
- 0, () => WorkflowRunSummary$
726
- ];
727
- var CallResultContent$ = [4, n0, _CRCa,
728
- 8,
729
- [_te],
730
- [0]
731
- ];
732
- var ToolInputSchema$ = [4, n0, _TIS,
733
- 8,
734
- [_j],
735
- [15]
736
- ];
737
- var CreateAct$ = [9, n0, _CA,
738
- { [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts", 201] }, () => CreateActRequest$, () => CreateActResponse$
739
- ];
740
- var CreateSession$ = [9, n0, _CS,
741
- { [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions", 201] }, () => CreateSessionRequest$, () => CreateSessionResponse$
742
- ];
743
- var CreateWorkflowDefinition$ = [9, n0, _CWD,
744
- { [_h]: ["PUT", "/workflow-definitions", 201] }, () => CreateWorkflowDefinitionRequest$, () => CreateWorkflowDefinitionResponse$
745
- ];
746
- var CreateWorkflowRun$ = [9, n0, _CWR,
747
- { [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs", 201] }, () => CreateWorkflowRunRequest$, () => CreateWorkflowRunResponse$
748
- ];
749
- var DeleteWorkflowDefinition$ = [9, n0, _DWD,
750
- { [_h]: ["DELETE", "/workflow-definitions/{workflowDefinitionName}", 202] }, () => DeleteWorkflowDefinitionRequest$, () => DeleteWorkflowDefinitionResponse$
751
- ];
752
- var DeleteWorkflowRun$ = [9, n0, _DWR,
753
- { [_h]: ["DELETE", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 202] }, () => DeleteWorkflowRunRequest$, () => DeleteWorkflowRunResponse$
754
- ];
755
- var GetWorkflowDefinition$ = [9, n0, _GWD,
756
- { [_h]: ["GET", "/workflow-definitions/{workflowDefinitionName}", 200] }, () => GetWorkflowDefinitionRequest$, () => GetWorkflowDefinitionResponse$
757
- ];
758
- var GetWorkflowRun$ = [9, n0, _GWR,
759
- { [_h]: ["GET", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] }, () => GetWorkflowRunRequest$, () => GetWorkflowRunResponse$
760
- ];
761
- var InvokeActStep$ = [9, n0, _IAS,
762
- { [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts/{actId}/invoke-step/", 200] }, () => InvokeActStepRequest$, () => InvokeActStepResponse$
763
- ];
764
- var ListActs$ = [9, n0, _LA,
765
- { [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/acts", 200] }, () => ListActsRequest$, () => ListActsResponse$
766
- ];
767
- var ListModels$ = [9, n0, _LM,
768
- { [_h]: ["POST", "/models", 200] }, () => ListModelsRequest$, () => ListModelsResponse$
769
- ];
770
- var ListSessions$ = [9, n0, _LS,
771
- { [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] }, () => ListSessionsRequest$, () => ListSessionsResponse$
772
- ];
773
- var ListWorkflowDefinitions$ = [9, n0, _LWD,
774
- { [_h]: ["POST", "/workflow-definitions", 200] }, () => ListWorkflowDefinitionsRequest$, () => ListWorkflowDefinitionsResponse$
775
- ];
776
- var ListWorkflowRuns$ = [9, n0, _LWR,
777
- { [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/workflow-runs", 200] }, () => ListWorkflowRunsRequest$, () => ListWorkflowRunsResponse$
778
- ];
779
- var UpdateAct$ = [9, n0, _UA,
780
- { [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts/{actId}", 200] }, () => UpdateActRequest$, () => UpdateActResponse$
781
- ];
782
- var UpdateWorkflowRun$ = [9, n0, _UWR,
783
- { [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] }, () => UpdateWorkflowRunRequest$, () => UpdateWorkflowRunResponse$
784
- ];
785
-
786
116
  class CreateActCommand extends smithyClient.Command
787
117
  .classBuilder()
788
118
  .ep(commonParams)
@@ -791,7 +121,7 @@ class CreateActCommand extends smithyClient.Command
791
121
  })
792
122
  .s("AmazonNovaAgentsDataPlane", "CreateAct", {})
793
123
  .n("NovaActClient", "CreateActCommand")
794
- .sc(CreateAct$)
124
+ .sc(schemas_0.CreateAct$)
795
125
  .build() {
796
126
  }
797
127
 
@@ -803,7 +133,7 @@ class CreateSessionCommand extends smithyClient.Command
803
133
  })
804
134
  .s("AmazonNovaAgentsDataPlane", "CreateSession", {})
805
135
  .n("NovaActClient", "CreateSessionCommand")
806
- .sc(CreateSession$)
136
+ .sc(schemas_0.CreateSession$)
807
137
  .build() {
808
138
  }
809
139
 
@@ -815,7 +145,7 @@ class CreateWorkflowDefinitionCommand extends smithyClient.Command
815
145
  })
816
146
  .s("AmazonNovaAgentsDataPlane", "CreateWorkflowDefinition", {})
817
147
  .n("NovaActClient", "CreateWorkflowDefinitionCommand")
818
- .sc(CreateWorkflowDefinition$)
148
+ .sc(schemas_0.CreateWorkflowDefinition$)
819
149
  .build() {
820
150
  }
821
151
 
@@ -827,7 +157,7 @@ class CreateWorkflowRunCommand extends smithyClient.Command
827
157
  })
828
158
  .s("AmazonNovaAgentsDataPlane", "CreateWorkflowRun", {})
829
159
  .n("NovaActClient", "CreateWorkflowRunCommand")
830
- .sc(CreateWorkflowRun$)
160
+ .sc(schemas_0.CreateWorkflowRun$)
831
161
  .build() {
832
162
  }
833
163
 
@@ -839,7 +169,7 @@ class DeleteWorkflowDefinitionCommand extends smithyClient.Command
839
169
  })
840
170
  .s("AmazonNovaAgentsDataPlane", "DeleteWorkflowDefinition", {})
841
171
  .n("NovaActClient", "DeleteWorkflowDefinitionCommand")
842
- .sc(DeleteWorkflowDefinition$)
172
+ .sc(schemas_0.DeleteWorkflowDefinition$)
843
173
  .build() {
844
174
  }
845
175
 
@@ -851,7 +181,7 @@ class DeleteWorkflowRunCommand extends smithyClient.Command
851
181
  })
852
182
  .s("AmazonNovaAgentsDataPlane", "DeleteWorkflowRun", {})
853
183
  .n("NovaActClient", "DeleteWorkflowRunCommand")
854
- .sc(DeleteWorkflowRun$)
184
+ .sc(schemas_0.DeleteWorkflowRun$)
855
185
  .build() {
856
186
  }
857
187
 
@@ -863,7 +193,7 @@ class GetWorkflowDefinitionCommand extends smithyClient.Command
863
193
  })
864
194
  .s("AmazonNovaAgentsDataPlane", "GetWorkflowDefinition", {})
865
195
  .n("NovaActClient", "GetWorkflowDefinitionCommand")
866
- .sc(GetWorkflowDefinition$)
196
+ .sc(schemas_0.GetWorkflowDefinition$)
867
197
  .build() {
868
198
  }
869
199
 
@@ -875,7 +205,7 @@ class GetWorkflowRunCommand extends smithyClient.Command
875
205
  })
876
206
  .s("AmazonNovaAgentsDataPlane", "GetWorkflowRun", {})
877
207
  .n("NovaActClient", "GetWorkflowRunCommand")
878
- .sc(GetWorkflowRun$)
208
+ .sc(schemas_0.GetWorkflowRun$)
879
209
  .build() {
880
210
  }
881
211
 
@@ -887,7 +217,7 @@ class InvokeActStepCommand extends smithyClient.Command
887
217
  })
888
218
  .s("AmazonNovaAgentsDataPlane", "InvokeActStep", {})
889
219
  .n("NovaActClient", "InvokeActStepCommand")
890
- .sc(InvokeActStep$)
220
+ .sc(schemas_0.InvokeActStep$)
891
221
  .build() {
892
222
  }
893
223
 
@@ -899,7 +229,7 @@ class ListActsCommand extends smithyClient.Command
899
229
  })
900
230
  .s("AmazonNovaAgentsDataPlane", "ListActs", {})
901
231
  .n("NovaActClient", "ListActsCommand")
902
- .sc(ListActs$)
232
+ .sc(schemas_0.ListActs$)
903
233
  .build() {
904
234
  }
905
235
 
@@ -911,7 +241,7 @@ class ListModelsCommand extends smithyClient.Command
911
241
  })
912
242
  .s("AmazonNovaAgentsDataPlane", "ListModels", {})
913
243
  .n("NovaActClient", "ListModelsCommand")
914
- .sc(ListModels$)
244
+ .sc(schemas_0.ListModels$)
915
245
  .build() {
916
246
  }
917
247
 
@@ -923,7 +253,7 @@ class ListSessionsCommand extends smithyClient.Command
923
253
  })
924
254
  .s("AmazonNovaAgentsDataPlane", "ListSessions", {})
925
255
  .n("NovaActClient", "ListSessionsCommand")
926
- .sc(ListSessions$)
256
+ .sc(schemas_0.ListSessions$)
927
257
  .build() {
928
258
  }
929
259
 
@@ -935,7 +265,7 @@ class ListWorkflowDefinitionsCommand extends smithyClient.Command
935
265
  })
936
266
  .s("AmazonNovaAgentsDataPlane", "ListWorkflowDefinitions", {})
937
267
  .n("NovaActClient", "ListWorkflowDefinitionsCommand")
938
- .sc(ListWorkflowDefinitions$)
268
+ .sc(schemas_0.ListWorkflowDefinitions$)
939
269
  .build() {
940
270
  }
941
271
 
@@ -947,7 +277,7 @@ class ListWorkflowRunsCommand extends smithyClient.Command
947
277
  })
948
278
  .s("AmazonNovaAgentsDataPlane", "ListWorkflowRuns", {})
949
279
  .n("NovaActClient", "ListWorkflowRunsCommand")
950
- .sc(ListWorkflowRuns$)
280
+ .sc(schemas_0.ListWorkflowRuns$)
951
281
  .build() {
952
282
  }
953
283
 
@@ -959,7 +289,7 @@ class UpdateActCommand extends smithyClient.Command
959
289
  })
960
290
  .s("AmazonNovaAgentsDataPlane", "UpdateAct", {})
961
291
  .n("NovaActClient", "UpdateActCommand")
962
- .sc(UpdateAct$)
292
+ .sc(schemas_0.UpdateAct$)
963
293
  .build() {
964
294
  }
965
295
 
@@ -971,7 +301,7 @@ class UpdateWorkflowRunCommand extends smithyClient.Command
971
301
  })
972
302
  .s("AmazonNovaAgentsDataPlane", "UpdateWorkflowRun", {})
973
303
  .n("NovaActClient", "UpdateWorkflowRunCommand")
974
- .sc(UpdateWorkflowRun$)
304
+ .sc(schemas_0.UpdateWorkflowRun$)
975
305
  .build() {
976
306
  }
977
307
 
@@ -1061,115 +391,49 @@ Object.defineProperty(exports, "__Client", {
1061
391
  enumerable: true,
1062
392
  get: function () { return smithyClient.Client; }
1063
393
  });
1064
- exports.AccessDeniedException = AccessDeniedException;
1065
- exports.AccessDeniedException$ = AccessDeniedException$;
1066
- exports.ActError$ = ActError$;
394
+ Object.defineProperty(exports, "NovaActServiceException", {
395
+ enumerable: true,
396
+ get: function () { return NovaActServiceException.NovaActServiceException; }
397
+ });
1067
398
  exports.ActStatus = ActStatus;
1068
- exports.ActSummary$ = ActSummary$;
1069
- exports.Call$ = Call$;
1070
- exports.CallResult$ = CallResult$;
1071
- exports.CallResultContent$ = CallResultContent$;
1072
- exports.ClientInfo$ = ClientInfo$;
1073
- exports.CompatibilityInformation$ = CompatibilityInformation$;
1074
- exports.ConflictException = ConflictException;
1075
- exports.ConflictException$ = ConflictException$;
1076
- exports.CreateAct$ = CreateAct$;
1077
399
  exports.CreateActCommand = CreateActCommand;
1078
- exports.CreateActRequest$ = CreateActRequest$;
1079
- exports.CreateActResponse$ = CreateActResponse$;
1080
- exports.CreateSession$ = CreateSession$;
1081
400
  exports.CreateSessionCommand = CreateSessionCommand;
1082
- exports.CreateSessionRequest$ = CreateSessionRequest$;
1083
- exports.CreateSessionResponse$ = CreateSessionResponse$;
1084
- exports.CreateWorkflowDefinition$ = CreateWorkflowDefinition$;
1085
401
  exports.CreateWorkflowDefinitionCommand = CreateWorkflowDefinitionCommand;
1086
- exports.CreateWorkflowDefinitionRequest$ = CreateWorkflowDefinitionRequest$;
1087
- exports.CreateWorkflowDefinitionResponse$ = CreateWorkflowDefinitionResponse$;
1088
- exports.CreateWorkflowRun$ = CreateWorkflowRun$;
1089
402
  exports.CreateWorkflowRunCommand = CreateWorkflowRunCommand;
1090
- exports.CreateWorkflowRunRequest$ = CreateWorkflowRunRequest$;
1091
- exports.CreateWorkflowRunResponse$ = CreateWorkflowRunResponse$;
1092
- exports.DeleteWorkflowDefinition$ = DeleteWorkflowDefinition$;
1093
403
  exports.DeleteWorkflowDefinitionCommand = DeleteWorkflowDefinitionCommand;
1094
- exports.DeleteWorkflowDefinitionRequest$ = DeleteWorkflowDefinitionRequest$;
1095
- exports.DeleteWorkflowDefinitionResponse$ = DeleteWorkflowDefinitionResponse$;
1096
- exports.DeleteWorkflowRun$ = DeleteWorkflowRun$;
1097
404
  exports.DeleteWorkflowRunCommand = DeleteWorkflowRunCommand;
1098
- exports.DeleteWorkflowRunRequest$ = DeleteWorkflowRunRequest$;
1099
- exports.DeleteWorkflowRunResponse$ = DeleteWorkflowRunResponse$;
1100
- exports.GetWorkflowDefinition$ = GetWorkflowDefinition$;
1101
405
  exports.GetWorkflowDefinitionCommand = GetWorkflowDefinitionCommand;
1102
- exports.GetWorkflowDefinitionRequest$ = GetWorkflowDefinitionRequest$;
1103
- exports.GetWorkflowDefinitionResponse$ = GetWorkflowDefinitionResponse$;
1104
- exports.GetWorkflowRun$ = GetWorkflowRun$;
1105
406
  exports.GetWorkflowRunCommand = GetWorkflowRunCommand;
1106
- exports.GetWorkflowRunRequest$ = GetWorkflowRunRequest$;
1107
- exports.GetWorkflowRunResponse$ = GetWorkflowRunResponse$;
1108
- exports.InternalServerException = InternalServerException;
1109
- exports.InternalServerException$ = InternalServerException$;
1110
407
  exports.InternalServerExceptionReason = InternalServerExceptionReason;
1111
- exports.InvokeActStep$ = InvokeActStep$;
1112
408
  exports.InvokeActStepCommand = InvokeActStepCommand;
1113
- exports.InvokeActStepRequest$ = InvokeActStepRequest$;
1114
- exports.InvokeActStepResponse$ = InvokeActStepResponse$;
1115
- exports.ListActs$ = ListActs$;
1116
409
  exports.ListActsCommand = ListActsCommand;
1117
- exports.ListActsRequest$ = ListActsRequest$;
1118
- exports.ListActsResponse$ = ListActsResponse$;
1119
- exports.ListModels$ = ListModels$;
1120
410
  exports.ListModelsCommand = ListModelsCommand;
1121
- exports.ListModelsRequest$ = ListModelsRequest$;
1122
- exports.ListModelsResponse$ = ListModelsResponse$;
1123
- exports.ListSessions$ = ListSessions$;
1124
411
  exports.ListSessionsCommand = ListSessionsCommand;
1125
- exports.ListSessionsRequest$ = ListSessionsRequest$;
1126
- exports.ListSessionsResponse$ = ListSessionsResponse$;
1127
- exports.ListWorkflowDefinitions$ = ListWorkflowDefinitions$;
1128
412
  exports.ListWorkflowDefinitionsCommand = ListWorkflowDefinitionsCommand;
1129
- exports.ListWorkflowDefinitionsRequest$ = ListWorkflowDefinitionsRequest$;
1130
- exports.ListWorkflowDefinitionsResponse$ = ListWorkflowDefinitionsResponse$;
1131
- exports.ListWorkflowRuns$ = ListWorkflowRuns$;
1132
413
  exports.ListWorkflowRunsCommand = ListWorkflowRunsCommand;
1133
- exports.ListWorkflowRunsRequest$ = ListWorkflowRunsRequest$;
1134
- exports.ListWorkflowRunsResponse$ = ListWorkflowRunsResponse$;
1135
- exports.ModelAlias$ = ModelAlias$;
1136
- exports.ModelLifecycle$ = ModelLifecycle$;
1137
414
  exports.ModelStatus = ModelStatus;
1138
- exports.ModelSummary$ = ModelSummary$;
1139
415
  exports.NovaAct = NovaAct;
1140
416
  exports.NovaActClient = NovaActClient;
1141
- exports.NovaActServiceException = NovaActServiceException;
1142
- exports.NovaActServiceException$ = NovaActServiceException$;
1143
- exports.ResourceNotFoundException = ResourceNotFoundException;
1144
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1145
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1146
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1147
- exports.SessionSummary$ = SessionSummary$;
1148
417
  exports.SortOrder = SortOrder;
1149
- exports.ThrottlingException = ThrottlingException;
1150
- exports.ThrottlingException$ = ThrottlingException$;
1151
- exports.ToolInputSchema$ = ToolInputSchema$;
1152
- exports.ToolSpec$ = ToolSpec$;
1153
- exports.TraceLocation$ = TraceLocation$;
1154
418
  exports.TraceLocationType = TraceLocationType;
1155
- exports.UpdateAct$ = UpdateAct$;
1156
419
  exports.UpdateActCommand = UpdateActCommand;
1157
- exports.UpdateActRequest$ = UpdateActRequest$;
1158
- exports.UpdateActResponse$ = UpdateActResponse$;
1159
- exports.UpdateWorkflowRun$ = UpdateWorkflowRun$;
1160
420
  exports.UpdateWorkflowRunCommand = UpdateWorkflowRunCommand;
1161
- exports.UpdateWorkflowRunRequest$ = UpdateWorkflowRunRequest$;
1162
- exports.UpdateWorkflowRunResponse$ = UpdateWorkflowRunResponse$;
1163
- exports.ValidationException = ValidationException;
1164
- exports.ValidationException$ = ValidationException$;
1165
- exports.ValidationExceptionField$ = ValidationExceptionField$;
1166
421
  exports.ValidationExceptionReason = ValidationExceptionReason;
1167
422
  exports.WorkflowDefinitionStatus = WorkflowDefinitionStatus;
1168
- exports.WorkflowDefinitionSummary$ = WorkflowDefinitionSummary$;
1169
- exports.WorkflowExportConfig$ = WorkflowExportConfig$;
1170
423
  exports.WorkflowRunStatus = WorkflowRunStatus;
1171
- exports.WorkflowRunSummary$ = WorkflowRunSummary$;
1172
424
  exports.paginateListActs = paginateListActs;
1173
425
  exports.paginateListSessions = paginateListSessions;
1174
426
  exports.paginateListWorkflowDefinitions = paginateListWorkflowDefinitions;
1175
427
  exports.paginateListWorkflowRuns = paginateListWorkflowRuns;
428
+ Object.keys(schemas_0).forEach(function (k) {
429
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
430
+ enumerable: true,
431
+ get: function () { return schemas_0[k]; }
432
+ });
433
+ });
434
+ Object.keys(errors).forEach(function (k) {
435
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
436
+ enumerable: true,
437
+ get: function () { return errors[k]; }
438
+ });
439
+ });