@wildix/wilma-agents-client 1.0.13 → 1.0.14

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.
Files changed (29) hide show
  1. package/dist-cjs/models/enums.js +7 -7
  2. package/dist-cjs/models/errors.js +16 -110
  3. package/dist-cjs/schemas/schemas_0.js +208 -209
  4. package/dist-es/models/enums.js +6 -6
  5. package/dist-es/models/errors.js +12 -100
  6. package/dist-es/schemas/schemas_0.js +206 -207
  7. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +1 -3
  8. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateAgentCommand.d.ts +90 -61
  10. package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +3 -4
  11. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
  12. package/dist-types/commands/DeleteAgentCommand.d.ts +3 -3
  13. package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +3 -5
  14. package/dist-types/commands/GetAgentCommand.d.ts +45 -31
  15. package/dist-types/commands/GetAgentDeploymentCommand.d.ts +1 -3
  16. package/dist-types/commands/GetAgentVersionCommand.d.ts +45 -33
  17. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -1
  18. package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListAgentVersionsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListAgentsCommand.d.ts +44 -30
  21. package/dist-types/commands/PublishAgentVersionCommand.d.ts +45 -31
  22. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +45 -33
  23. package/dist-types/commands/UpdateAgentCommand.d.ts +91 -62
  24. package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +1 -5
  25. package/dist-types/models/enums.d.ts +26 -26
  26. package/dist-types/models/errors.d.ts +10 -85
  27. package/dist-types/models/models_0.d.ts +177 -15
  28. package/dist-types/schemas/schemas_0.d.ts +8 -8
  29. package/package.json +1 -1
@@ -133,16 +133,16 @@ declare const ListAgentsCommand_base: {
133
133
  * // { // AgentCapability Union: only one key present
134
134
  * // tool: { // AgentTool
135
135
  * // id: "STRING_VALUE", // required
136
- * // variables: [ // AgentToolVariablesList
137
- * // { // AgentToolVariable
138
- * // name: "STRING_VALUE", // required
139
- * // handler: { // AgentToolVariableHandler Union: only one key present
140
- * // auto: {},
141
- * // guided: { // AgentToolVariableGuidedHandler
136
+ * // description: "STRING_VALUE",
137
+ * // fields: [ // AgentToolFieldsList
138
+ * // { // AgentToolField
139
+ * // path: "STRING_VALUE", // required
140
+ * // handler: { // AgentToolFieldHandler Union: only one key present
141
+ * // guided: { // AgentToolFieldGuidedHandler
142
142
  * // description: "STRING_VALUE", // required
143
143
  * // },
144
- * // predefined: { // AgentToolVariablePredefinedHandler
145
- * // value: "STRING_VALUE", // required
144
+ * // predefined: { // AgentToolFieldPredefinedHandler
145
+ * // value: "DOCUMENT_VALUE", // required
146
146
  * // },
147
147
  * // },
148
148
  * // },
@@ -172,6 +172,33 @@ declare const ListAgentsCommand_base: {
172
172
  * // },
173
173
  * // ],
174
174
  * // },
175
+ * // connector: { // AgentConnectorCapability
176
+ * // id: "STRING_VALUE", // required
177
+ * // startMessage: "STRING_VALUE",
178
+ * // pipeline: {
179
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
180
+ * // instructions: "STRING_VALUE",
181
+ * // },
182
+ * // approval: {
183
+ * // prompt: "STRING_VALUE",
184
+ * // },
185
+ * // annotations: [
186
+ * // {// Union: only one key present
187
+ * // tag: {
188
+ * // value: "STRING_VALUE",
189
+ * // applyOnSuccess: true || false,
190
+ * // applyOnFailure: true || false,
191
+ * // },
192
+ * // comment: {
193
+ * // value: "STRING_VALUE",
194
+ * // applyOnSuccess: true || false,
195
+ * // applyOnFailure: true || false,
196
+ * // },
197
+ * // variables: {},
198
+ * // result: {},
199
+ * // },
200
+ * // ],
201
+ * // },
175
202
  * // kb: { // AgentKnowledgeBase
176
203
  * // knowledgeBaseId: "STRING_VALUE",
177
204
  * // instructions: "STRING_VALUE",
@@ -239,15 +266,15 @@ declare const ListAgentsCommand_base: {
239
266
  * // },
240
267
  * // ],
241
268
  * // },
242
- * // variables: [
243
- * // {
269
+ * // variables: [ // AgentToolVariablesList
270
+ * // { // AgentToolVariable
244
271
  * // name: "STRING_VALUE", // required
245
- * // handler: {// Union: only one key present
272
+ * // handler: { // AgentToolVariableHandler Union: only one key present
246
273
  * // auto: {},
247
- * // guided: {
274
+ * // guided: { // AgentToolVariableGuidedHandler
248
275
  * // description: "STRING_VALUE", // required
249
276
  * // },
250
- * // predefined: {
277
+ * // predefined: { // AgentToolVariablePredefinedHandler
251
278
  * // value: "STRING_VALUE", // required
252
279
  * // },
253
280
  * // },
@@ -317,22 +344,7 @@ declare const ListAgentsCommand_base: {
317
344
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
318
345
  * // instructions: "STRING_VALUE",
319
346
  * // },
320
- * // annotations: [
321
- * // {// Union: only one key present
322
- * // tag: {
323
- * // value: "STRING_VALUE",
324
- * // applyOnSuccess: true || false,
325
- * // applyOnFailure: true || false,
326
- * // },
327
- * // comment: {
328
- * // value: "STRING_VALUE",
329
- * // applyOnSuccess: true || false,
330
- * // applyOnFailure: true || false,
331
- * // },
332
- * // variables: {},
333
- * // result: {},
334
- * // },
335
- * // ],
347
+ * // annotations: "<AgentToolAnnotationsList>",
336
348
  * // },
337
349
  * // suggestions: { // AgentSuggestionsCapability
338
350
  * // name: "STRING_VALUE",
@@ -372,7 +384,9 @@ declare const ListAgentsCommand_base: {
372
384
  * // sqs: { // AgentSqsEngine
373
385
  * // url: "STRING_VALUE", // required
374
386
  * // key: "STRING_VALUE", // required
375
- * // secret: "STRING_VALUE", // required
387
+ * // secret: { // SecretRef
388
+ * // id: "STRING_VALUE", // required
389
+ * // },
376
390
  * // },
377
391
  * // },
378
392
  * // settings: { // AgentSettings
@@ -137,16 +137,16 @@ declare const PublishAgentVersionCommand_base: {
137
137
  * // { // AgentCapability Union: only one key present
138
138
  * // tool: { // AgentTool
139
139
  * // id: "STRING_VALUE", // required
140
- * // variables: [ // AgentToolVariablesList
141
- * // { // AgentToolVariable
142
- * // name: "STRING_VALUE", // required
143
- * // handler: { // AgentToolVariableHandler Union: only one key present
144
- * // auto: {},
145
- * // guided: { // AgentToolVariableGuidedHandler
140
+ * // description: "STRING_VALUE",
141
+ * // fields: [ // AgentToolFieldsList
142
+ * // { // AgentToolField
143
+ * // path: "STRING_VALUE", // required
144
+ * // handler: { // AgentToolFieldHandler Union: only one key present
145
+ * // guided: { // AgentToolFieldGuidedHandler
146
146
  * // description: "STRING_VALUE", // required
147
147
  * // },
148
- * // predefined: { // AgentToolVariablePredefinedHandler
149
- * // value: "STRING_VALUE", // required
148
+ * // predefined: { // AgentToolFieldPredefinedHandler
149
+ * // value: "DOCUMENT_VALUE", // required
150
150
  * // },
151
151
  * // },
152
152
  * // },
@@ -176,6 +176,33 @@ declare const PublishAgentVersionCommand_base: {
176
176
  * // },
177
177
  * // ],
178
178
  * // },
179
+ * // connector: { // AgentConnectorCapability
180
+ * // id: "STRING_VALUE", // required
181
+ * // startMessage: "STRING_VALUE",
182
+ * // pipeline: {
183
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
184
+ * // instructions: "STRING_VALUE",
185
+ * // },
186
+ * // approval: {
187
+ * // prompt: "STRING_VALUE",
188
+ * // },
189
+ * // annotations: [
190
+ * // {// Union: only one key present
191
+ * // tag: {
192
+ * // value: "STRING_VALUE",
193
+ * // applyOnSuccess: true || false,
194
+ * // applyOnFailure: true || false,
195
+ * // },
196
+ * // comment: {
197
+ * // value: "STRING_VALUE",
198
+ * // applyOnSuccess: true || false,
199
+ * // applyOnFailure: true || false,
200
+ * // },
201
+ * // variables: {},
202
+ * // result: {},
203
+ * // },
204
+ * // ],
205
+ * // },
179
206
  * // kb: { // AgentKnowledgeBase
180
207
  * // knowledgeBaseId: "STRING_VALUE",
181
208
  * // instructions: "STRING_VALUE",
@@ -243,15 +270,15 @@ declare const PublishAgentVersionCommand_base: {
243
270
  * // },
244
271
  * // ],
245
272
  * // },
246
- * // variables: [
247
- * // {
273
+ * // variables: [ // AgentToolVariablesList
274
+ * // { // AgentToolVariable
248
275
  * // name: "STRING_VALUE", // required
249
- * // handler: {// Union: only one key present
276
+ * // handler: { // AgentToolVariableHandler Union: only one key present
250
277
  * // auto: {},
251
- * // guided: {
278
+ * // guided: { // AgentToolVariableGuidedHandler
252
279
  * // description: "STRING_VALUE", // required
253
280
  * // },
254
- * // predefined: {
281
+ * // predefined: { // AgentToolVariablePredefinedHandler
255
282
  * // value: "STRING_VALUE", // required
256
283
  * // },
257
284
  * // },
@@ -321,22 +348,7 @@ declare const PublishAgentVersionCommand_base: {
321
348
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
322
349
  * // instructions: "STRING_VALUE",
323
350
  * // },
324
- * // annotations: [
325
- * // {// Union: only one key present
326
- * // tag: {
327
- * // value: "STRING_VALUE",
328
- * // applyOnSuccess: true || false,
329
- * // applyOnFailure: true || false,
330
- * // },
331
- * // comment: {
332
- * // value: "STRING_VALUE",
333
- * // applyOnSuccess: true || false,
334
- * // applyOnFailure: true || false,
335
- * // },
336
- * // variables: {},
337
- * // result: {},
338
- * // },
339
- * // ],
351
+ * // annotations: "<AgentToolAnnotationsList>",
340
352
  * // },
341
353
  * // suggestions: { // AgentSuggestionsCapability
342
354
  * // name: "STRING_VALUE",
@@ -376,7 +388,9 @@ declare const PublishAgentVersionCommand_base: {
376
388
  * // sqs: { // AgentSqsEngine
377
389
  * // url: "STRING_VALUE", // required
378
390
  * // key: "STRING_VALUE", // required
379
- * // secret: "STRING_VALUE", // required
391
+ * // secret: { // SecretRef
392
+ * // id: "STRING_VALUE", // required
393
+ * // },
380
394
  * // },
381
395
  * // },
382
396
  * // settings: { // AgentSettings
@@ -401,7 +415,7 @@ declare const PublishAgentVersionCommand_base: {
401
415
  * @see {@link PublishAgentVersionCommandOutput} for command's `response` shape.
402
416
  * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
403
417
  *
404
- * @throws {@link AgentNotFoundException} (client fault)
418
+ * @throws {@link NotFoundException} (client fault)
405
419
  *
406
420
  * @throws {@link NothingToPublishException} (client fault)
407
421
  * The draft has not changed since the last published version; there is nothing to publish.
@@ -130,16 +130,16 @@ declare const RestoreAgentVersionToDraftCommand_base: {
130
130
  * // { // AgentCapability Union: only one key present
131
131
  * // tool: { // AgentTool
132
132
  * // id: "STRING_VALUE", // required
133
- * // variables: [ // AgentToolVariablesList
134
- * // { // AgentToolVariable
135
- * // name: "STRING_VALUE", // required
136
- * // handler: { // AgentToolVariableHandler Union: only one key present
137
- * // auto: {},
138
- * // guided: { // AgentToolVariableGuidedHandler
133
+ * // description: "STRING_VALUE",
134
+ * // fields: [ // AgentToolFieldsList
135
+ * // { // AgentToolField
136
+ * // path: "STRING_VALUE", // required
137
+ * // handler: { // AgentToolFieldHandler Union: only one key present
138
+ * // guided: { // AgentToolFieldGuidedHandler
139
139
  * // description: "STRING_VALUE", // required
140
140
  * // },
141
- * // predefined: { // AgentToolVariablePredefinedHandler
142
- * // value: "STRING_VALUE", // required
141
+ * // predefined: { // AgentToolFieldPredefinedHandler
142
+ * // value: "DOCUMENT_VALUE", // required
143
143
  * // },
144
144
  * // },
145
145
  * // },
@@ -169,6 +169,33 @@ declare const RestoreAgentVersionToDraftCommand_base: {
169
169
  * // },
170
170
  * // ],
171
171
  * // },
172
+ * // connector: { // AgentConnectorCapability
173
+ * // id: "STRING_VALUE", // required
174
+ * // startMessage: "STRING_VALUE",
175
+ * // pipeline: {
176
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
177
+ * // instructions: "STRING_VALUE",
178
+ * // },
179
+ * // approval: {
180
+ * // prompt: "STRING_VALUE",
181
+ * // },
182
+ * // annotations: [
183
+ * // {// Union: only one key present
184
+ * // tag: {
185
+ * // value: "STRING_VALUE",
186
+ * // applyOnSuccess: true || false,
187
+ * // applyOnFailure: true || false,
188
+ * // },
189
+ * // comment: {
190
+ * // value: "STRING_VALUE",
191
+ * // applyOnSuccess: true || false,
192
+ * // applyOnFailure: true || false,
193
+ * // },
194
+ * // variables: {},
195
+ * // result: {},
196
+ * // },
197
+ * // ],
198
+ * // },
172
199
  * // kb: { // AgentKnowledgeBase
173
200
  * // knowledgeBaseId: "STRING_VALUE",
174
201
  * // instructions: "STRING_VALUE",
@@ -236,15 +263,15 @@ declare const RestoreAgentVersionToDraftCommand_base: {
236
263
  * // },
237
264
  * // ],
238
265
  * // },
239
- * // variables: [
240
- * // {
266
+ * // variables: [ // AgentToolVariablesList
267
+ * // { // AgentToolVariable
241
268
  * // name: "STRING_VALUE", // required
242
- * // handler: {// Union: only one key present
269
+ * // handler: { // AgentToolVariableHandler Union: only one key present
243
270
  * // auto: {},
244
- * // guided: {
271
+ * // guided: { // AgentToolVariableGuidedHandler
245
272
  * // description: "STRING_VALUE", // required
246
273
  * // },
247
- * // predefined: {
274
+ * // predefined: { // AgentToolVariablePredefinedHandler
248
275
  * // value: "STRING_VALUE", // required
249
276
  * // },
250
277
  * // },
@@ -314,22 +341,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
314
341
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
315
342
  * // instructions: "STRING_VALUE",
316
343
  * // },
317
- * // annotations: [
318
- * // {// Union: only one key present
319
- * // tag: {
320
- * // value: "STRING_VALUE",
321
- * // applyOnSuccess: true || false,
322
- * // applyOnFailure: true || false,
323
- * // },
324
- * // comment: {
325
- * // value: "STRING_VALUE",
326
- * // applyOnSuccess: true || false,
327
- * // applyOnFailure: true || false,
328
- * // },
329
- * // variables: {},
330
- * // result: {},
331
- * // },
332
- * // ],
344
+ * // annotations: "<AgentToolAnnotationsList>",
333
345
  * // },
334
346
  * // suggestions: { // AgentSuggestionsCapability
335
347
  * // name: "STRING_VALUE",
@@ -369,7 +381,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
369
381
  * // sqs: { // AgentSqsEngine
370
382
  * // url: "STRING_VALUE", // required
371
383
  * // key: "STRING_VALUE", // required
372
- * // secret: "STRING_VALUE", // required
384
+ * // secret: { // SecretRef
385
+ * // id: "STRING_VALUE", // required
386
+ * // },
373
387
  * // },
374
388
  * // },
375
389
  * // settings: { // AgentSettings
@@ -431,9 +445,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
431
445
  * @see {@link RestoreAgentVersionToDraftCommandOutput} for command's `response` shape.
432
446
  * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
433
447
  *
434
- * @throws {@link AgentNotFoundException} (client fault)
435
- *
436
- * @throws {@link AgentVersionNotFoundException} (client fault)
448
+ * @throws {@link NotFoundException} (client fault)
437
449
  *
438
450
  * @throws {@link RevisionConflictException} (client fault)
439
451
  * The resource was modified concurrently; re-read it and retry with the latest revision.
@@ -121,16 +121,16 @@ declare const UpdateAgentCommand_base: {
121
121
  * { // AgentCapability Union: only one key present
122
122
  * tool: { // AgentTool
123
123
  * id: "STRING_VALUE", // required
124
- * variables: [ // AgentToolVariablesList
125
- * { // AgentToolVariable
126
- * name: "STRING_VALUE", // required
127
- * handler: { // AgentToolVariableHandler Union: only one key present
128
- * auto: {},
129
- * guided: { // AgentToolVariableGuidedHandler
124
+ * description: "STRING_VALUE",
125
+ * fields: [ // AgentToolFieldsList
126
+ * { // AgentToolField
127
+ * path: "STRING_VALUE", // required
128
+ * handler: { // AgentToolFieldHandler Union: only one key present
129
+ * guided: { // AgentToolFieldGuidedHandler
130
130
  * description: "STRING_VALUE", // required
131
131
  * },
132
- * predefined: { // AgentToolVariablePredefinedHandler
133
- * value: "STRING_VALUE", // required
132
+ * predefined: { // AgentToolFieldPredefinedHandler
133
+ * value: "DOCUMENT_VALUE", // required
134
134
  * },
135
135
  * },
136
136
  * },
@@ -160,6 +160,33 @@ declare const UpdateAgentCommand_base: {
160
160
  * },
161
161
  * ],
162
162
  * },
163
+ * connector: { // AgentConnectorCapability
164
+ * id: "STRING_VALUE", // required
165
+ * startMessage: "STRING_VALUE",
166
+ * pipeline: {
167
+ * type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
168
+ * instructions: "STRING_VALUE",
169
+ * },
170
+ * approval: {
171
+ * prompt: "STRING_VALUE",
172
+ * },
173
+ * annotations: [
174
+ * {// Union: only one key present
175
+ * tag: {
176
+ * value: "STRING_VALUE",
177
+ * applyOnSuccess: true || false,
178
+ * applyOnFailure: true || false,
179
+ * },
180
+ * comment: {
181
+ * value: "STRING_VALUE",
182
+ * applyOnSuccess: true || false,
183
+ * applyOnFailure: true || false,
184
+ * },
185
+ * variables: {},
186
+ * result: {},
187
+ * },
188
+ * ],
189
+ * },
163
190
  * kb: { // AgentKnowledgeBase
164
191
  * knowledgeBaseId: "STRING_VALUE",
165
192
  * instructions: "STRING_VALUE",
@@ -227,15 +254,15 @@ declare const UpdateAgentCommand_base: {
227
254
  * },
228
255
  * ],
229
256
  * },
230
- * variables: [
231
- * {
257
+ * variables: [ // AgentToolVariablesList
258
+ * { // AgentToolVariable
232
259
  * name: "STRING_VALUE", // required
233
- * handler: {// Union: only one key present
260
+ * handler: { // AgentToolVariableHandler Union: only one key present
234
261
  * auto: {},
235
- * guided: {
262
+ * guided: { // AgentToolVariableGuidedHandler
236
263
  * description: "STRING_VALUE", // required
237
264
  * },
238
- * predefined: {
265
+ * predefined: { // AgentToolVariablePredefinedHandler
239
266
  * value: "STRING_VALUE", // required
240
267
  * },
241
268
  * },
@@ -305,22 +332,7 @@ declare const UpdateAgentCommand_base: {
305
332
  * type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
306
333
  * instructions: "STRING_VALUE",
307
334
  * },
308
- * annotations: [
309
- * {// Union: only one key present
310
- * tag: {
311
- * value: "STRING_VALUE",
312
- * applyOnSuccess: true || false,
313
- * applyOnFailure: true || false,
314
- * },
315
- * comment: {
316
- * value: "STRING_VALUE",
317
- * applyOnSuccess: true || false,
318
- * applyOnFailure: true || false,
319
- * },
320
- * variables: {},
321
- * result: {},
322
- * },
323
- * ],
335
+ * annotations: "<AgentToolAnnotationsList>",
324
336
  * },
325
337
  * suggestions: { // AgentSuggestionsCapability
326
338
  * name: "STRING_VALUE",
@@ -360,7 +372,9 @@ declare const UpdateAgentCommand_base: {
360
372
  * sqs: { // AgentSqsEngine
361
373
  * url: "STRING_VALUE", // required
362
374
  * key: "STRING_VALUE", // required
363
- * secret: "STRING_VALUE", // required
375
+ * secret: { // SecretRef
376
+ * id: "STRING_VALUE", // required
377
+ * },
364
378
  * },
365
379
  * },
366
380
  * settings: { // AgentSettings
@@ -459,16 +473,16 @@ declare const UpdateAgentCommand_base: {
459
473
  * // { // AgentCapability Union: only one key present
460
474
  * // tool: { // AgentTool
461
475
  * // id: "STRING_VALUE", // required
462
- * // variables: [ // AgentToolVariablesList
463
- * // { // AgentToolVariable
464
- * // name: "STRING_VALUE", // required
465
- * // handler: { // AgentToolVariableHandler Union: only one key present
466
- * // auto: {},
467
- * // guided: { // AgentToolVariableGuidedHandler
476
+ * // description: "STRING_VALUE",
477
+ * // fields: [ // AgentToolFieldsList
478
+ * // { // AgentToolField
479
+ * // path: "STRING_VALUE", // required
480
+ * // handler: { // AgentToolFieldHandler Union: only one key present
481
+ * // guided: { // AgentToolFieldGuidedHandler
468
482
  * // description: "STRING_VALUE", // required
469
483
  * // },
470
- * // predefined: { // AgentToolVariablePredefinedHandler
471
- * // value: "STRING_VALUE", // required
484
+ * // predefined: { // AgentToolFieldPredefinedHandler
485
+ * // value: "DOCUMENT_VALUE", // required
472
486
  * // },
473
487
  * // },
474
488
  * // },
@@ -498,6 +512,33 @@ declare const UpdateAgentCommand_base: {
498
512
  * // },
499
513
  * // ],
500
514
  * // },
515
+ * // connector: { // AgentConnectorCapability
516
+ * // id: "STRING_VALUE", // required
517
+ * // startMessage: "STRING_VALUE",
518
+ * // pipeline: {
519
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
520
+ * // instructions: "STRING_VALUE",
521
+ * // },
522
+ * // approval: {
523
+ * // prompt: "STRING_VALUE",
524
+ * // },
525
+ * // annotations: [
526
+ * // {// Union: only one key present
527
+ * // tag: {
528
+ * // value: "STRING_VALUE",
529
+ * // applyOnSuccess: true || false,
530
+ * // applyOnFailure: true || false,
531
+ * // },
532
+ * // comment: {
533
+ * // value: "STRING_VALUE",
534
+ * // applyOnSuccess: true || false,
535
+ * // applyOnFailure: true || false,
536
+ * // },
537
+ * // variables: {},
538
+ * // result: {},
539
+ * // },
540
+ * // ],
541
+ * // },
501
542
  * // kb: { // AgentKnowledgeBase
502
543
  * // knowledgeBaseId: "STRING_VALUE",
503
544
  * // instructions: "STRING_VALUE",
@@ -565,15 +606,15 @@ declare const UpdateAgentCommand_base: {
565
606
  * // },
566
607
  * // ],
567
608
  * // },
568
- * // variables: [
569
- * // {
609
+ * // variables: [ // AgentToolVariablesList
610
+ * // { // AgentToolVariable
570
611
  * // name: "STRING_VALUE", // required
571
- * // handler: {// Union: only one key present
612
+ * // handler: { // AgentToolVariableHandler Union: only one key present
572
613
  * // auto: {},
573
- * // guided: {
614
+ * // guided: { // AgentToolVariableGuidedHandler
574
615
  * // description: "STRING_VALUE", // required
575
616
  * // },
576
- * // predefined: {
617
+ * // predefined: { // AgentToolVariablePredefinedHandler
577
618
  * // value: "STRING_VALUE", // required
578
619
  * // },
579
620
  * // },
@@ -643,22 +684,7 @@ declare const UpdateAgentCommand_base: {
643
684
  * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
644
685
  * // instructions: "STRING_VALUE",
645
686
  * // },
646
- * // annotations: [
647
- * // {// Union: only one key present
648
- * // tag: {
649
- * // value: "STRING_VALUE",
650
- * // applyOnSuccess: true || false,
651
- * // applyOnFailure: true || false,
652
- * // },
653
- * // comment: {
654
- * // value: "STRING_VALUE",
655
- * // applyOnSuccess: true || false,
656
- * // applyOnFailure: true || false,
657
- * // },
658
- * // variables: {},
659
- * // result: {},
660
- * // },
661
- * // ],
687
+ * // annotations: "<AgentToolAnnotationsList>",
662
688
  * // },
663
689
  * // suggestions: { // AgentSuggestionsCapability
664
690
  * // name: "STRING_VALUE",
@@ -698,7 +724,9 @@ declare const UpdateAgentCommand_base: {
698
724
  * // sqs: { // AgentSqsEngine
699
725
  * // url: "STRING_VALUE", // required
700
726
  * // key: "STRING_VALUE", // required
701
- * // secret: "STRING_VALUE", // required
727
+ * // secret: { // SecretRef
728
+ * // id: "STRING_VALUE", // required
729
+ * // },
702
730
  * // },
703
731
  * // },
704
732
  * // settings: { // AgentSettings
@@ -760,9 +788,10 @@ declare const UpdateAgentCommand_base: {
760
788
  * @see {@link UpdateAgentCommandOutput} for command's `response` shape.
761
789
  * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
762
790
  *
763
- * @throws {@link AgentNotFoundException} (client fault)
791
+ * @throws {@link NotFoundException} (client fault)
764
792
  *
765
- * @throws {@link AgentNonUniqueNameException} (client fault)
793
+ * @throws {@link ConflictException} (client fault)
794
+ * The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
766
795
  *
767
796
  * @throws {@link RevisionConflictException} (client fault)
768
797
  * The resource was modified concurrently; re-read it and retry with the latest revision.
@@ -88,11 +88,7 @@ declare const UpdateAgentDeploymentCommand_base: {
88
88
  * @see {@link UpdateAgentDeploymentCommandOutput} for command's `response` shape.
89
89
  * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
90
90
  *
91
- * @throws {@link AgentNotFoundException} (client fault)
92
- *
93
- * @throws {@link AgentVersionNotFoundException} (client fault)
94
- *
95
- * @throws {@link AgentDeploymentNotFoundException} (client fault)
91
+ * @throws {@link NotFoundException} (client fault)
96
92
  *
97
93
  * @throws {@link RevisionConflictException} (client fault)
98
94
  * The resource was modified concurrently; re-read it and retry with the latest revision.