@wildix/wilma-agents-client 1.0.13 → 1.0.15
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/models/enums.js +7 -7
- package/dist-cjs/models/errors.js +16 -110
- package/dist-cjs/runtimeConfig.native.js +3 -0
- package/dist-cjs/schemas/schemas_0.js +208 -209
- package/dist-es/models/enums.js +6 -6
- package/dist-es/models/errors.js +12 -100
- package/dist-es/runtimeConfig.native.js +3 -0
- package/dist-es/schemas/schemas_0.js +206 -207
- package/dist-types/commands/CompareAgentVersionsCommand.d.ts +1 -3
- package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgentCommand.d.ts +90 -61
- package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +3 -4
- package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
- package/dist-types/commands/DeleteAgentCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +3 -5
- package/dist-types/commands/GetAgentCommand.d.ts +45 -31
- package/dist-types/commands/GetAgentDeploymentCommand.d.ts +1 -3
- package/dist-types/commands/GetAgentVersionCommand.d.ts +45 -33
- package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentsCommand.d.ts +44 -30
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +45 -31
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +45 -33
- package/dist-types/commands/UpdateAgentCommand.d.ts +91 -62
- package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +1 -5
- package/dist-types/models/enums.d.ts +26 -26
- package/dist-types/models/errors.d.ts +10 -85
- package/dist-types/models/models_0.d.ts +177 -15
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/schemas/schemas_0.d.ts +8 -8
- package/package.json +7 -5
|
@@ -64,9 +64,7 @@ declare const CompareAgentVersionsCommand_base: {
|
|
|
64
64
|
* @see {@link CompareAgentVersionsCommandOutput} for command's `response` shape.
|
|
65
65
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link AgentVersionNotFoundException} (client fault)
|
|
67
|
+
* @throws {@link NotFoundException} (client fault)
|
|
70
68
|
*
|
|
71
69
|
* @throws {@link ValidationException} (client fault)
|
|
72
70
|
*
|
|
@@ -69,7 +69,7 @@ declare const CreateAgentApiKeyCommand_base: {
|
|
|
69
69
|
* @see {@link CreateAgentApiKeyCommandOutput} for command's `response` shape.
|
|
70
70
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
71
71
|
*
|
|
72
|
-
* @throws {@link
|
|
72
|
+
* @throws {@link NotFoundException} (client fault)
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ValidationException} (client fault)
|
|
75
75
|
*
|
|
@@ -121,16 +121,16 @@ declare const CreateAgentCommand_base: {
|
|
|
121
121
|
* { // AgentCapability Union: only one key present
|
|
122
122
|
* tool: { // AgentTool
|
|
123
123
|
* id: "STRING_VALUE", // required
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* guided: { //
|
|
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: { //
|
|
133
|
-
* value: "
|
|
132
|
+
* predefined: { // AgentToolFieldPredefinedHandler
|
|
133
|
+
* value: "DOCUMENT_VALUE", // required
|
|
134
134
|
* },
|
|
135
135
|
* },
|
|
136
136
|
* },
|
|
@@ -160,6 +160,33 @@ declare const CreateAgentCommand_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 CreateAgentCommand_base: {
|
|
|
227
254
|
* },
|
|
228
255
|
* ],
|
|
229
256
|
* },
|
|
230
|
-
* variables: [
|
|
231
|
-
* {
|
|
257
|
+
* variables: [ // AgentToolVariablesList
|
|
258
|
+
* { // AgentToolVariable
|
|
232
259
|
* name: "STRING_VALUE", // required
|
|
233
|
-
* handler: {//
|
|
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 CreateAgentCommand_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 CreateAgentCommand_base: {
|
|
|
360
372
|
* sqs: { // AgentSqsEngine
|
|
361
373
|
* url: "STRING_VALUE", // required
|
|
362
374
|
* key: "STRING_VALUE", // required
|
|
363
|
-
* secret:
|
|
375
|
+
* secret: { // SecretRef
|
|
376
|
+
* id: "STRING_VALUE", // required
|
|
377
|
+
* },
|
|
364
378
|
* },
|
|
365
379
|
* },
|
|
366
380
|
* settings: { // AgentSettings
|
|
@@ -457,16 +471,16 @@ declare const CreateAgentCommand_base: {
|
|
|
457
471
|
* // { // AgentCapability Union: only one key present
|
|
458
472
|
* // tool: { // AgentTool
|
|
459
473
|
* // id: "STRING_VALUE", // required
|
|
460
|
-
* //
|
|
461
|
-
* //
|
|
462
|
-
* //
|
|
463
|
-
* //
|
|
464
|
-
* //
|
|
465
|
-
* // guided: { //
|
|
474
|
+
* // description: "STRING_VALUE",
|
|
475
|
+
* // fields: [ // AgentToolFieldsList
|
|
476
|
+
* // { // AgentToolField
|
|
477
|
+
* // path: "STRING_VALUE", // required
|
|
478
|
+
* // handler: { // AgentToolFieldHandler Union: only one key present
|
|
479
|
+
* // guided: { // AgentToolFieldGuidedHandler
|
|
466
480
|
* // description: "STRING_VALUE", // required
|
|
467
481
|
* // },
|
|
468
|
-
* // predefined: { //
|
|
469
|
-
* // value: "
|
|
482
|
+
* // predefined: { // AgentToolFieldPredefinedHandler
|
|
483
|
+
* // value: "DOCUMENT_VALUE", // required
|
|
470
484
|
* // },
|
|
471
485
|
* // },
|
|
472
486
|
* // },
|
|
@@ -496,6 +510,33 @@ declare const CreateAgentCommand_base: {
|
|
|
496
510
|
* // },
|
|
497
511
|
* // ],
|
|
498
512
|
* // },
|
|
513
|
+
* // connector: { // AgentConnectorCapability
|
|
514
|
+
* // id: "STRING_VALUE", // required
|
|
515
|
+
* // startMessage: "STRING_VALUE",
|
|
516
|
+
* // pipeline: {
|
|
517
|
+
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
518
|
+
* // instructions: "STRING_VALUE",
|
|
519
|
+
* // },
|
|
520
|
+
* // approval: {
|
|
521
|
+
* // prompt: "STRING_VALUE",
|
|
522
|
+
* // },
|
|
523
|
+
* // annotations: [
|
|
524
|
+
* // {// Union: only one key present
|
|
525
|
+
* // tag: {
|
|
526
|
+
* // value: "STRING_VALUE",
|
|
527
|
+
* // applyOnSuccess: true || false,
|
|
528
|
+
* // applyOnFailure: true || false,
|
|
529
|
+
* // },
|
|
530
|
+
* // comment: {
|
|
531
|
+
* // value: "STRING_VALUE",
|
|
532
|
+
* // applyOnSuccess: true || false,
|
|
533
|
+
* // applyOnFailure: true || false,
|
|
534
|
+
* // },
|
|
535
|
+
* // variables: {},
|
|
536
|
+
* // result: {},
|
|
537
|
+
* // },
|
|
538
|
+
* // ],
|
|
539
|
+
* // },
|
|
499
540
|
* // kb: { // AgentKnowledgeBase
|
|
500
541
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
501
542
|
* // instructions: "STRING_VALUE",
|
|
@@ -563,15 +604,15 @@ declare const CreateAgentCommand_base: {
|
|
|
563
604
|
* // },
|
|
564
605
|
* // ],
|
|
565
606
|
* // },
|
|
566
|
-
* // variables: [
|
|
567
|
-
* // {
|
|
607
|
+
* // variables: [ // AgentToolVariablesList
|
|
608
|
+
* // { // AgentToolVariable
|
|
568
609
|
* // name: "STRING_VALUE", // required
|
|
569
|
-
* // handler: {//
|
|
610
|
+
* // handler: { // AgentToolVariableHandler Union: only one key present
|
|
570
611
|
* // auto: {},
|
|
571
|
-
* // guided: {
|
|
612
|
+
* // guided: { // AgentToolVariableGuidedHandler
|
|
572
613
|
* // description: "STRING_VALUE", // required
|
|
573
614
|
* // },
|
|
574
|
-
* // predefined: {
|
|
615
|
+
* // predefined: { // AgentToolVariablePredefinedHandler
|
|
575
616
|
* // value: "STRING_VALUE", // required
|
|
576
617
|
* // },
|
|
577
618
|
* // },
|
|
@@ -641,22 +682,7 @@ declare const CreateAgentCommand_base: {
|
|
|
641
682
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
642
683
|
* // instructions: "STRING_VALUE",
|
|
643
684
|
* // },
|
|
644
|
-
* // annotations:
|
|
645
|
-
* // {// Union: only one key present
|
|
646
|
-
* // tag: {
|
|
647
|
-
* // value: "STRING_VALUE",
|
|
648
|
-
* // applyOnSuccess: true || false,
|
|
649
|
-
* // applyOnFailure: true || false,
|
|
650
|
-
* // },
|
|
651
|
-
* // comment: {
|
|
652
|
-
* // value: "STRING_VALUE",
|
|
653
|
-
* // applyOnSuccess: true || false,
|
|
654
|
-
* // applyOnFailure: true || false,
|
|
655
|
-
* // },
|
|
656
|
-
* // variables: {},
|
|
657
|
-
* // result: {},
|
|
658
|
-
* // },
|
|
659
|
-
* // ],
|
|
685
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
660
686
|
* // },
|
|
661
687
|
* // suggestions: { // AgentSuggestionsCapability
|
|
662
688
|
* // name: "STRING_VALUE",
|
|
@@ -696,7 +722,9 @@ declare const CreateAgentCommand_base: {
|
|
|
696
722
|
* // sqs: { // AgentSqsEngine
|
|
697
723
|
* // url: "STRING_VALUE", // required
|
|
698
724
|
* // key: "STRING_VALUE", // required
|
|
699
|
-
* // secret:
|
|
725
|
+
* // secret: { // SecretRef
|
|
726
|
+
* // id: "STRING_VALUE", // required
|
|
727
|
+
* // },
|
|
700
728
|
* // },
|
|
701
729
|
* // },
|
|
702
730
|
* // settings: { // AgentSettings
|
|
@@ -758,7 +786,8 @@ declare const CreateAgentCommand_base: {
|
|
|
758
786
|
* @see {@link CreateAgentCommandOutput} for command's `response` shape.
|
|
759
787
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
760
788
|
*
|
|
761
|
-
* @throws {@link
|
|
789
|
+
* @throws {@link ConflictException} (client fault)
|
|
790
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
762
791
|
*
|
|
763
792
|
* @throws {@link ValidationException} (client fault)
|
|
764
793
|
*
|
|
@@ -87,11 +87,10 @@ declare const CreateAgentDeploymentCommand_base: {
|
|
|
87
87
|
* @see {@link CreateAgentDeploymentCommandOutput} for command's `response` shape.
|
|
88
88
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
89
89
|
*
|
|
90
|
-
* @throws {@link
|
|
90
|
+
* @throws {@link NotFoundException} (client fault)
|
|
91
91
|
*
|
|
92
|
-
* @throws {@link
|
|
93
|
-
*
|
|
94
|
-
* @throws {@link AgentDeploymentNonUniqueNameException} (client fault)
|
|
92
|
+
* @throws {@link ConflictException} (client fault)
|
|
93
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
95
94
|
*
|
|
96
95
|
* @throws {@link ValidationException} (client fault)
|
|
97
96
|
*
|
|
@@ -53,9 +53,7 @@ declare const DeleteAgentApiKeyCommand_base: {
|
|
|
53
53
|
* @see {@link DeleteAgentApiKeyCommandOutput} for command's `response` shape.
|
|
54
54
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
55
55
|
*
|
|
56
|
-
* @throws {@link
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link AgentApiKeyNotFoundException} (client fault)
|
|
56
|
+
* @throws {@link NotFoundException} (client fault)
|
|
59
57
|
*
|
|
60
58
|
* @throws {@link ValidationException} (client fault)
|
|
61
59
|
*
|
|
@@ -27,7 +27,7 @@ declare const DeleteAgentCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Deletes an agent, its draft, versions, deployments and API keys. Fails with
|
|
30
|
+
* Deletes an agent, its draft, versions, deployments and API keys. Fails with ConflictException while the agent has active sessions or is referenced by other agents.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -52,8 +52,8 @@ declare const DeleteAgentCommand_base: {
|
|
|
52
52
|
* @see {@link DeleteAgentCommandOutput} for command's `response` shape.
|
|
53
53
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
54
54
|
*
|
|
55
|
-
* @throws {@link
|
|
56
|
-
* The
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ValidationException} (client fault)
|
|
59
59
|
*
|
|
@@ -53,12 +53,10 @@ declare const DeleteAgentDeploymentCommand_base: {
|
|
|
53
53
|
* @see {@link DeleteAgentDeploymentCommandOutput} for command's `response` shape.
|
|
54
54
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
55
55
|
*
|
|
56
|
-
* @throws {@link
|
|
56
|
+
* @throws {@link NotFoundException} (client fault)
|
|
57
57
|
*
|
|
58
|
-
* @throws {@link
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link AgentDeploymentInUseException} (client fault)
|
|
61
|
-
* The deployment cannot be deleted because it is the agent's required 'production' deployment or is referenced by another agent capability.
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
62
60
|
*
|
|
63
61
|
* @throws {@link ValidationException} (client fault)
|
|
64
62
|
*
|
|
@@ -128,16 +128,16 @@ declare const GetAgentCommand_base: {
|
|
|
128
128
|
* // { // AgentCapability Union: only one key present
|
|
129
129
|
* // tool: { // AgentTool
|
|
130
130
|
* // id: "STRING_VALUE", // required
|
|
131
|
-
* //
|
|
132
|
-
* //
|
|
133
|
-
* //
|
|
134
|
-
* //
|
|
135
|
-
* //
|
|
136
|
-
* // guided: { //
|
|
131
|
+
* // description: "STRING_VALUE",
|
|
132
|
+
* // fields: [ // AgentToolFieldsList
|
|
133
|
+
* // { // AgentToolField
|
|
134
|
+
* // path: "STRING_VALUE", // required
|
|
135
|
+
* // handler: { // AgentToolFieldHandler Union: only one key present
|
|
136
|
+
* // guided: { // AgentToolFieldGuidedHandler
|
|
137
137
|
* // description: "STRING_VALUE", // required
|
|
138
138
|
* // },
|
|
139
|
-
* // predefined: { //
|
|
140
|
-
* // value: "
|
|
139
|
+
* // predefined: { // AgentToolFieldPredefinedHandler
|
|
140
|
+
* // value: "DOCUMENT_VALUE", // required
|
|
141
141
|
* // },
|
|
142
142
|
* // },
|
|
143
143
|
* // },
|
|
@@ -167,6 +167,33 @@ declare const GetAgentCommand_base: {
|
|
|
167
167
|
* // },
|
|
168
168
|
* // ],
|
|
169
169
|
* // },
|
|
170
|
+
* // connector: { // AgentConnectorCapability
|
|
171
|
+
* // id: "STRING_VALUE", // required
|
|
172
|
+
* // startMessage: "STRING_VALUE",
|
|
173
|
+
* // pipeline: {
|
|
174
|
+
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
175
|
+
* // instructions: "STRING_VALUE",
|
|
176
|
+
* // },
|
|
177
|
+
* // approval: {
|
|
178
|
+
* // prompt: "STRING_VALUE",
|
|
179
|
+
* // },
|
|
180
|
+
* // annotations: [
|
|
181
|
+
* // {// Union: only one key present
|
|
182
|
+
* // tag: {
|
|
183
|
+
* // value: "STRING_VALUE",
|
|
184
|
+
* // applyOnSuccess: true || false,
|
|
185
|
+
* // applyOnFailure: true || false,
|
|
186
|
+
* // },
|
|
187
|
+
* // comment: {
|
|
188
|
+
* // value: "STRING_VALUE",
|
|
189
|
+
* // applyOnSuccess: true || false,
|
|
190
|
+
* // applyOnFailure: true || false,
|
|
191
|
+
* // },
|
|
192
|
+
* // variables: {},
|
|
193
|
+
* // result: {},
|
|
194
|
+
* // },
|
|
195
|
+
* // ],
|
|
196
|
+
* // },
|
|
170
197
|
* // kb: { // AgentKnowledgeBase
|
|
171
198
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
172
199
|
* // instructions: "STRING_VALUE",
|
|
@@ -234,15 +261,15 @@ declare const GetAgentCommand_base: {
|
|
|
234
261
|
* // },
|
|
235
262
|
* // ],
|
|
236
263
|
* // },
|
|
237
|
-
* // variables: [
|
|
238
|
-
* // {
|
|
264
|
+
* // variables: [ // AgentToolVariablesList
|
|
265
|
+
* // { // AgentToolVariable
|
|
239
266
|
* // name: "STRING_VALUE", // required
|
|
240
|
-
* // handler: {//
|
|
267
|
+
* // handler: { // AgentToolVariableHandler Union: only one key present
|
|
241
268
|
* // auto: {},
|
|
242
|
-
* // guided: {
|
|
269
|
+
* // guided: { // AgentToolVariableGuidedHandler
|
|
243
270
|
* // description: "STRING_VALUE", // required
|
|
244
271
|
* // },
|
|
245
|
-
* // predefined: {
|
|
272
|
+
* // predefined: { // AgentToolVariablePredefinedHandler
|
|
246
273
|
* // value: "STRING_VALUE", // required
|
|
247
274
|
* // },
|
|
248
275
|
* // },
|
|
@@ -312,22 +339,7 @@ declare const GetAgentCommand_base: {
|
|
|
312
339
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
313
340
|
* // instructions: "STRING_VALUE",
|
|
314
341
|
* // },
|
|
315
|
-
* // annotations:
|
|
316
|
-
* // {// Union: only one key present
|
|
317
|
-
* // tag: {
|
|
318
|
-
* // value: "STRING_VALUE",
|
|
319
|
-
* // applyOnSuccess: true || false,
|
|
320
|
-
* // applyOnFailure: true || false,
|
|
321
|
-
* // },
|
|
322
|
-
* // comment: {
|
|
323
|
-
* // value: "STRING_VALUE",
|
|
324
|
-
* // applyOnSuccess: true || false,
|
|
325
|
-
* // applyOnFailure: true || false,
|
|
326
|
-
* // },
|
|
327
|
-
* // variables: {},
|
|
328
|
-
* // result: {},
|
|
329
|
-
* // },
|
|
330
|
-
* // ],
|
|
342
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
331
343
|
* // },
|
|
332
344
|
* // suggestions: { // AgentSuggestionsCapability
|
|
333
345
|
* // name: "STRING_VALUE",
|
|
@@ -367,7 +379,9 @@ declare const GetAgentCommand_base: {
|
|
|
367
379
|
* // sqs: { // AgentSqsEngine
|
|
368
380
|
* // url: "STRING_VALUE", // required
|
|
369
381
|
* // key: "STRING_VALUE", // required
|
|
370
|
-
* // secret:
|
|
382
|
+
* // secret: { // SecretRef
|
|
383
|
+
* // id: "STRING_VALUE", // required
|
|
384
|
+
* // },
|
|
371
385
|
* // },
|
|
372
386
|
* // },
|
|
373
387
|
* // settings: { // AgentSettings
|
|
@@ -429,7 +443,7 @@ declare const GetAgentCommand_base: {
|
|
|
429
443
|
* @see {@link GetAgentCommandOutput} for command's `response` shape.
|
|
430
444
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
431
445
|
*
|
|
432
|
-
* @throws {@link
|
|
446
|
+
* @throws {@link NotFoundException} (client fault)
|
|
433
447
|
*
|
|
434
448
|
* @throws {@link ValidationException} (client fault)
|
|
435
449
|
*
|
|
@@ -79,9 +79,7 @@ declare const GetAgentDeploymentCommand_base: {
|
|
|
79
79
|
* @see {@link GetAgentDeploymentCommandOutput} for command's `response` shape.
|
|
80
80
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
81
81
|
*
|
|
82
|
-
* @throws {@link
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link AgentDeploymentNotFoundException} (client fault)
|
|
82
|
+
* @throws {@link NotFoundException} (client fault)
|
|
85
83
|
*
|
|
86
84
|
* @throws {@link ValidationException} (client fault)
|
|
87
85
|
*
|
|
@@ -135,16 +135,16 @@ declare const GetAgentVersionCommand_base: {
|
|
|
135
135
|
* // { // AgentCapability Union: only one key present
|
|
136
136
|
* // tool: { // AgentTool
|
|
137
137
|
* // id: "STRING_VALUE", // required
|
|
138
|
-
* //
|
|
139
|
-
* //
|
|
140
|
-
* //
|
|
141
|
-
* //
|
|
142
|
-
* //
|
|
143
|
-
* // guided: { //
|
|
138
|
+
* // description: "STRING_VALUE",
|
|
139
|
+
* // fields: [ // AgentToolFieldsList
|
|
140
|
+
* // { // AgentToolField
|
|
141
|
+
* // path: "STRING_VALUE", // required
|
|
142
|
+
* // handler: { // AgentToolFieldHandler Union: only one key present
|
|
143
|
+
* // guided: { // AgentToolFieldGuidedHandler
|
|
144
144
|
* // description: "STRING_VALUE", // required
|
|
145
145
|
* // },
|
|
146
|
-
* // predefined: { //
|
|
147
|
-
* // value: "
|
|
146
|
+
* // predefined: { // AgentToolFieldPredefinedHandler
|
|
147
|
+
* // value: "DOCUMENT_VALUE", // required
|
|
148
148
|
* // },
|
|
149
149
|
* // },
|
|
150
150
|
* // },
|
|
@@ -174,6 +174,33 @@ declare const GetAgentVersionCommand_base: {
|
|
|
174
174
|
* // },
|
|
175
175
|
* // ],
|
|
176
176
|
* // },
|
|
177
|
+
* // connector: { // AgentConnectorCapability
|
|
178
|
+
* // id: "STRING_VALUE", // required
|
|
179
|
+
* // startMessage: "STRING_VALUE",
|
|
180
|
+
* // pipeline: {
|
|
181
|
+
* // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
|
|
182
|
+
* // instructions: "STRING_VALUE",
|
|
183
|
+
* // },
|
|
184
|
+
* // approval: {
|
|
185
|
+
* // prompt: "STRING_VALUE",
|
|
186
|
+
* // },
|
|
187
|
+
* // annotations: [
|
|
188
|
+
* // {// Union: only one key present
|
|
189
|
+
* // tag: {
|
|
190
|
+
* // value: "STRING_VALUE",
|
|
191
|
+
* // applyOnSuccess: true || false,
|
|
192
|
+
* // applyOnFailure: true || false,
|
|
193
|
+
* // },
|
|
194
|
+
* // comment: {
|
|
195
|
+
* // value: "STRING_VALUE",
|
|
196
|
+
* // applyOnSuccess: true || false,
|
|
197
|
+
* // applyOnFailure: true || false,
|
|
198
|
+
* // },
|
|
199
|
+
* // variables: {},
|
|
200
|
+
* // result: {},
|
|
201
|
+
* // },
|
|
202
|
+
* // ],
|
|
203
|
+
* // },
|
|
177
204
|
* // kb: { // AgentKnowledgeBase
|
|
178
205
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
179
206
|
* // instructions: "STRING_VALUE",
|
|
@@ -241,15 +268,15 @@ declare const GetAgentVersionCommand_base: {
|
|
|
241
268
|
* // },
|
|
242
269
|
* // ],
|
|
243
270
|
* // },
|
|
244
|
-
* // variables: [
|
|
245
|
-
* // {
|
|
271
|
+
* // variables: [ // AgentToolVariablesList
|
|
272
|
+
* // { // AgentToolVariable
|
|
246
273
|
* // name: "STRING_VALUE", // required
|
|
247
|
-
* // handler: {//
|
|
274
|
+
* // handler: { // AgentToolVariableHandler Union: only one key present
|
|
248
275
|
* // auto: {},
|
|
249
|
-
* // guided: {
|
|
276
|
+
* // guided: { // AgentToolVariableGuidedHandler
|
|
250
277
|
* // description: "STRING_VALUE", // required
|
|
251
278
|
* // },
|
|
252
|
-
* // predefined: {
|
|
279
|
+
* // predefined: { // AgentToolVariablePredefinedHandler
|
|
253
280
|
* // value: "STRING_VALUE", // required
|
|
254
281
|
* // },
|
|
255
282
|
* // },
|
|
@@ -319,22 +346,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
319
346
|
* // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
|
|
320
347
|
* // instructions: "STRING_VALUE",
|
|
321
348
|
* // },
|
|
322
|
-
* // annotations:
|
|
323
|
-
* // {// Union: only one key present
|
|
324
|
-
* // tag: {
|
|
325
|
-
* // value: "STRING_VALUE",
|
|
326
|
-
* // applyOnSuccess: true || false,
|
|
327
|
-
* // applyOnFailure: true || false,
|
|
328
|
-
* // },
|
|
329
|
-
* // comment: {
|
|
330
|
-
* // value: "STRING_VALUE",
|
|
331
|
-
* // applyOnSuccess: true || false,
|
|
332
|
-
* // applyOnFailure: true || false,
|
|
333
|
-
* // },
|
|
334
|
-
* // variables: {},
|
|
335
|
-
* // result: {},
|
|
336
|
-
* // },
|
|
337
|
-
* // ],
|
|
349
|
+
* // annotations: "<AgentToolAnnotationsList>",
|
|
338
350
|
* // },
|
|
339
351
|
* // suggestions: { // AgentSuggestionsCapability
|
|
340
352
|
* // name: "STRING_VALUE",
|
|
@@ -374,7 +386,9 @@ declare const GetAgentVersionCommand_base: {
|
|
|
374
386
|
* // sqs: { // AgentSqsEngine
|
|
375
387
|
* // url: "STRING_VALUE", // required
|
|
376
388
|
* // key: "STRING_VALUE", // required
|
|
377
|
-
* // secret:
|
|
389
|
+
* // secret: { // SecretRef
|
|
390
|
+
* // id: "STRING_VALUE", // required
|
|
391
|
+
* // },
|
|
378
392
|
* // },
|
|
379
393
|
* // },
|
|
380
394
|
* // settings: { // AgentSettings
|
|
@@ -399,9 +413,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
399
413
|
* @see {@link GetAgentVersionCommandOutput} for command's `response` shape.
|
|
400
414
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
401
415
|
*
|
|
402
|
-
* @throws {@link
|
|
403
|
-
*
|
|
404
|
-
* @throws {@link AgentVersionNotFoundException} (client fault)
|
|
416
|
+
* @throws {@link NotFoundException} (client fault)
|
|
405
417
|
*
|
|
406
418
|
* @throws {@link ValidationException} (client fault)
|
|
407
419
|
*
|
|
@@ -68,7 +68,7 @@ declare const ListAgentApiKeysCommand_base: {
|
|
|
68
68
|
* @see {@link ListAgentApiKeysCommandOutput} for command's `response` shape.
|
|
69
69
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
70
70
|
*
|
|
71
|
-
* @throws {@link
|
|
71
|
+
* @throws {@link NotFoundException} (client fault)
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link ValidationException} (client fault)
|
|
74
74
|
*
|
|
@@ -80,7 +80,7 @@ declare const ListAgentDeploymentsCommand_base: {
|
|
|
80
80
|
* @see {@link ListAgentDeploymentsCommandOutput} for command's `response` shape.
|
|
81
81
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
82
82
|
*
|
|
83
|
-
* @throws {@link
|
|
83
|
+
* @throws {@link NotFoundException} (client fault)
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link ValidationException} (client fault)
|
|
86
86
|
*
|
|
@@ -74,7 +74,7 @@ declare const ListAgentVersionsCommand_base: {
|
|
|
74
74
|
* @see {@link ListAgentVersionsCommandOutput} for command's `response` shape.
|
|
75
75
|
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
76
76
|
*
|
|
77
|
-
* @throws {@link
|
|
77
|
+
* @throws {@link NotFoundException} (client fault)
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ValidationException} (client fault)
|
|
80
80
|
*
|