@wildix/wilma-agents-client 1.0.1 → 1.0.2
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/WilmaAgents.js +12 -20
- package/dist-cjs/commands/{DeleteGuardrailCommand.js → CreateAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{DeleteAgentAliasCommand.js → ListAgentDeploymentsCommand.js} +6 -6
- package/dist-cjs/commands/RestoreAgentVersionToDraftCommand.js +20 -0
- package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +20 -0
- package/dist-cjs/commands/index.js +6 -10
- package/dist-cjs/models/enums.js +36 -81
- package/dist-cjs/models/errors.js +51 -36
- package/dist-cjs/schemas/schemas_0.js +358 -539
- package/dist-es/WilmaAgents.js +12 -20
- package/dist-es/commands/{DeleteAgentAliasCommand.js → CreateAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{DeleteGuardrailCommand.js → ListAgentDeploymentsCommand.js} +5 -5
- package/dist-es/commands/RestoreAgentVersionToDraftCommand.js +16 -0
- package/dist-es/commands/UpdateAgentDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +6 -10
- package/dist-es/models/enums.js +35 -80
- package/dist-es/models/errors.js +42 -28
- package/dist-es/schemas/schemas_0.js +356 -536
- package/dist-types/WilmaAgents.d.ts +42 -71
- package/dist-types/WilmaAgentsClient.d.ts +16 -19
- package/dist-types/commands/CompareAgentVersionsCommand.d.ts +5 -5
- package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -3
- package/dist-types/commands/CreateAgentCommand.d.ts +451 -324
- package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +116 -0
- package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
- package/dist-types/commands/DeleteAgentCommand.d.ts +5 -4
- package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +83 -0
- package/dist-types/commands/GetAgentCommand.d.ts +237 -170
- package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +219 -158
- package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -3
- package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +105 -0
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +8 -7
- package/dist-types/commands/ListAgentsCommand.d.ts +241 -174
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +6 -8
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +221 -159
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +451 -324
- package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +6 -10
- package/dist-types/index.d.ts +8 -7
- package/dist-types/models/enums.d.ts +126 -161
- package/dist-types/models/errors.d.ts +35 -22
- package/dist-types/models/models_0.d.ts +695 -741
- package/dist-types/schemas/schemas_0.d.ts +41 -61
- package/package.json +2 -2
- package/dist-cjs/commands/GetGuardrailCommand.js +0 -20
- package/dist-cjs/commands/ListAgentAliasesCommand.js +0 -20
- package/dist-cjs/commands/ListAuditRecordsCommand.js +0 -20
- package/dist-cjs/commands/ListGuardrailsCommand.js +0 -20
- package/dist-cjs/commands/PutAgentAliasCommand.js +0 -20
- package/dist-cjs/commands/UpdateGuardrailCommand.js +0 -20
- package/dist-es/commands/GetGuardrailCommand.js +0 -16
- package/dist-es/commands/ListAgentAliasesCommand.js +0 -16
- package/dist-es/commands/ListAuditRecordsCommand.js +0 -16
- package/dist-es/commands/ListGuardrailsCommand.js +0 -16
- package/dist-es/commands/PutAgentAliasCommand.js +0 -16
- package/dist-es/commands/UpdateGuardrailCommand.js +0 -16
- package/dist-types/commands/CreateGuardrailCommand.d.ts +0 -172
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +0 -82
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +0 -80
- package/dist-types/commands/ExecuteAgentCommand.d.ts +0 -112
- package/dist-types/commands/GetGuardrailCommand.d.ts +0 -135
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +0 -99
- package/dist-types/commands/ListAuditRecordsCommand.d.ts +0 -109
- package/dist-types/commands/ListGuardrailsCommand.d.ts +0 -137
- package/dist-types/commands/PutAgentAliasCommand.d.ts +0 -107
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +0 -175
|
@@ -2,26 +2,22 @@ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
|
2
2
|
import { type CompareAgentVersionsCommandInput, type CompareAgentVersionsCommandOutput } from "./commands/CompareAgentVersionsCommand";
|
|
3
3
|
import { type CreateAgentApiKeyCommandInput, type CreateAgentApiKeyCommandOutput } from "./commands/CreateAgentApiKeyCommand";
|
|
4
4
|
import { type CreateAgentCommandInput, type CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
5
|
-
import { type
|
|
6
|
-
import { type DeleteAgentAliasCommandInput, type DeleteAgentAliasCommandOutput } from "./commands/DeleteAgentAliasCommand";
|
|
5
|
+
import { type CreateAgentDeploymentCommandInput, type CreateAgentDeploymentCommandOutput } from "./commands/CreateAgentDeploymentCommand";
|
|
7
6
|
import { type DeleteAgentApiKeyCommandInput, type DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
|
|
8
7
|
import { type DeleteAgentCommandInput, type DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
|
|
9
|
-
import { type
|
|
10
|
-
import { type ExecuteAgentCommandInput, type ExecuteAgentCommandOutput } from "./commands/ExecuteAgentCommand";
|
|
8
|
+
import { type DeleteAgentDeploymentCommandInput, type DeleteAgentDeploymentCommandOutput } from "./commands/DeleteAgentDeploymentCommand";
|
|
11
9
|
import { type GetAgentCommandInput, type GetAgentCommandOutput } from "./commands/GetAgentCommand";
|
|
10
|
+
import { type GetAgentDeploymentCommandInput, type GetAgentDeploymentCommandOutput } from "./commands/GetAgentDeploymentCommand";
|
|
12
11
|
import { type GetAgentVersionCommandInput, type GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
13
|
-
import { type GetGuardrailCommandInput, type GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
|
|
14
|
-
import { type ListAgentAliasesCommandInput, type ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
|
|
15
12
|
import { type ListAgentApiKeysCommandInput, type ListAgentApiKeysCommandOutput } from "./commands/ListAgentApiKeysCommand";
|
|
13
|
+
import { type ListAgentDeploymentsCommandInput, type ListAgentDeploymentsCommandOutput } from "./commands/ListAgentDeploymentsCommand";
|
|
16
14
|
import { type ListAgentsCommandInput, type ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
17
15
|
import { type ListAgentsNamesCommandInput, type ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
|
|
18
16
|
import { type ListAgentVersionsCommandInput, type ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
19
|
-
import { type ListAuditRecordsCommandInput, type ListAuditRecordsCommandOutput } from "./commands/ListAuditRecordsCommand";
|
|
20
|
-
import { type ListGuardrailsCommandInput, type ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
|
|
21
17
|
import { type PublishAgentVersionCommandInput, type PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
|
|
22
|
-
import { type
|
|
18
|
+
import { type RestoreAgentVersionToDraftCommandInput, type RestoreAgentVersionToDraftCommandOutput } from "./commands/RestoreAgentVersionToDraftCommand";
|
|
23
19
|
import { type UpdateAgentCommandInput, type UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
24
|
-
import { type
|
|
20
|
+
import { type UpdateAgentDeploymentCommandInput, type UpdateAgentDeploymentCommandOutput } from "./commands/UpdateAgentDeploymentCommand";
|
|
25
21
|
import { WilmaAgentsClient } from "./WilmaAgentsClient";
|
|
26
22
|
export interface WilmaAgents {
|
|
27
23
|
/**
|
|
@@ -43,23 +39,17 @@ export interface WilmaAgents {
|
|
|
43
39
|
createAgentApiKey(args: CreateAgentApiKeyCommandInput, cb: (err: any, data?: CreateAgentApiKeyCommandOutput) => void): void;
|
|
44
40
|
createAgentApiKey(args: CreateAgentApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentApiKeyCommandOutput) => void): void;
|
|
45
41
|
/**
|
|
46
|
-
* @see {@link
|
|
42
|
+
* @see {@link CreateAgentDeploymentCommand}
|
|
47
43
|
*/
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
createAgentDeployment(args: CreateAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentDeploymentCommandOutput>;
|
|
45
|
+
createAgentDeployment(args: CreateAgentDeploymentCommandInput, cb: (err: any, data?: CreateAgentDeploymentCommandOutput) => void): void;
|
|
46
|
+
createAgentDeployment(args: CreateAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentDeploymentCommandOutput) => void): void;
|
|
51
47
|
/**
|
|
52
48
|
* @see {@link DeleteAgentCommand}
|
|
53
49
|
*/
|
|
54
50
|
deleteAgent(args: DeleteAgentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentCommandOutput>;
|
|
55
51
|
deleteAgent(args: DeleteAgentCommandInput, cb: (err: any, data?: DeleteAgentCommandOutput) => void): void;
|
|
56
52
|
deleteAgent(args: DeleteAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentCommandOutput) => void): void;
|
|
57
|
-
/**
|
|
58
|
-
* @see {@link DeleteAgentAliasCommand}
|
|
59
|
-
*/
|
|
60
|
-
deleteAgentAlias(args: DeleteAgentAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentAliasCommandOutput>;
|
|
61
|
-
deleteAgentAlias(args: DeleteAgentAliasCommandInput, cb: (err: any, data?: DeleteAgentAliasCommandOutput) => void): void;
|
|
62
|
-
deleteAgentAlias(args: DeleteAgentAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentAliasCommandOutput) => void): void;
|
|
63
53
|
/**
|
|
64
54
|
* @see {@link DeleteAgentApiKeyCommand}
|
|
65
55
|
*/
|
|
@@ -67,47 +57,41 @@ export interface WilmaAgents {
|
|
|
67
57
|
deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
|
|
68
58
|
deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
|
|
69
59
|
/**
|
|
70
|
-
* @see {@link
|
|
71
|
-
*/
|
|
72
|
-
deleteGuardrail(args: DeleteGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGuardrailCommandOutput>;
|
|
73
|
-
deleteGuardrail(args: DeleteGuardrailCommandInput, cb: (err: any, data?: DeleteGuardrailCommandOutput) => void): void;
|
|
74
|
-
deleteGuardrail(args: DeleteGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGuardrailCommandOutput) => void): void;
|
|
75
|
-
/**
|
|
76
|
-
* @see {@link ExecuteAgentCommand}
|
|
60
|
+
* @see {@link DeleteAgentDeploymentCommand}
|
|
77
61
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
62
|
+
deleteAgentDeployment(args: DeleteAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentDeploymentCommandOutput>;
|
|
63
|
+
deleteAgentDeployment(args: DeleteAgentDeploymentCommandInput, cb: (err: any, data?: DeleteAgentDeploymentCommandOutput) => void): void;
|
|
64
|
+
deleteAgentDeployment(args: DeleteAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentDeploymentCommandOutput) => void): void;
|
|
81
65
|
/**
|
|
82
66
|
* @see {@link GetAgentCommand}
|
|
83
67
|
*/
|
|
84
68
|
getAgent(args: GetAgentCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentCommandOutput>;
|
|
85
69
|
getAgent(args: GetAgentCommandInput, cb: (err: any, data?: GetAgentCommandOutput) => void): void;
|
|
86
70
|
getAgent(args: GetAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link GetAgentDeploymentCommand}
|
|
73
|
+
*/
|
|
74
|
+
getAgentDeployment(args: GetAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentDeploymentCommandOutput>;
|
|
75
|
+
getAgentDeployment(args: GetAgentDeploymentCommandInput, cb: (err: any, data?: GetAgentDeploymentCommandOutput) => void): void;
|
|
76
|
+
getAgentDeployment(args: GetAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentDeploymentCommandOutput) => void): void;
|
|
87
77
|
/**
|
|
88
78
|
* @see {@link GetAgentVersionCommand}
|
|
89
79
|
*/
|
|
90
80
|
getAgentVersion(args: GetAgentVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentVersionCommandOutput>;
|
|
91
81
|
getAgentVersion(args: GetAgentVersionCommandInput, cb: (err: any, data?: GetAgentVersionCommandOutput) => void): void;
|
|
92
82
|
getAgentVersion(args: GetAgentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentVersionCommandOutput) => void): void;
|
|
93
|
-
/**
|
|
94
|
-
* @see {@link GetGuardrailCommand}
|
|
95
|
-
*/
|
|
96
|
-
getGuardrail(args: GetGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<GetGuardrailCommandOutput>;
|
|
97
|
-
getGuardrail(args: GetGuardrailCommandInput, cb: (err: any, data?: GetGuardrailCommandOutput) => void): void;
|
|
98
|
-
getGuardrail(args: GetGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGuardrailCommandOutput) => void): void;
|
|
99
|
-
/**
|
|
100
|
-
* @see {@link ListAgentAliasesCommand}
|
|
101
|
-
*/
|
|
102
|
-
listAgentAliases(args: ListAgentAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentAliasesCommandOutput>;
|
|
103
|
-
listAgentAliases(args: ListAgentAliasesCommandInput, cb: (err: any, data?: ListAgentAliasesCommandOutput) => void): void;
|
|
104
|
-
listAgentAliases(args: ListAgentAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentAliasesCommandOutput) => void): void;
|
|
105
83
|
/**
|
|
106
84
|
* @see {@link ListAgentApiKeysCommand}
|
|
107
85
|
*/
|
|
108
86
|
listAgentApiKeys(args: ListAgentApiKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentApiKeysCommandOutput>;
|
|
109
87
|
listAgentApiKeys(args: ListAgentApiKeysCommandInput, cb: (err: any, data?: ListAgentApiKeysCommandOutput) => void): void;
|
|
110
88
|
listAgentApiKeys(args: ListAgentApiKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentApiKeysCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link ListAgentDeploymentsCommand}
|
|
91
|
+
*/
|
|
92
|
+
listAgentDeployments(args: ListAgentDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentDeploymentsCommandOutput>;
|
|
93
|
+
listAgentDeployments(args: ListAgentDeploymentsCommandInput, cb: (err: any, data?: ListAgentDeploymentsCommandOutput) => void): void;
|
|
94
|
+
listAgentDeployments(args: ListAgentDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentDeploymentsCommandOutput) => void): void;
|
|
111
95
|
/**
|
|
112
96
|
* @see {@link ListAgentsCommand}
|
|
113
97
|
*/
|
|
@@ -128,20 +112,6 @@ export interface WilmaAgents {
|
|
|
128
112
|
listAgentVersions(args: ListAgentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentVersionsCommandOutput>;
|
|
129
113
|
listAgentVersions(args: ListAgentVersionsCommandInput, cb: (err: any, data?: ListAgentVersionsCommandOutput) => void): void;
|
|
130
114
|
listAgentVersions(args: ListAgentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentVersionsCommandOutput) => void): void;
|
|
131
|
-
/**
|
|
132
|
-
* @see {@link ListAuditRecordsCommand}
|
|
133
|
-
*/
|
|
134
|
-
listAuditRecords(): Promise<ListAuditRecordsCommandOutput>;
|
|
135
|
-
listAuditRecords(args: ListAuditRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListAuditRecordsCommandOutput>;
|
|
136
|
-
listAuditRecords(args: ListAuditRecordsCommandInput, cb: (err: any, data?: ListAuditRecordsCommandOutput) => void): void;
|
|
137
|
-
listAuditRecords(args: ListAuditRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAuditRecordsCommandOutput) => void): void;
|
|
138
|
-
/**
|
|
139
|
-
* @see {@link ListGuardrailsCommand}
|
|
140
|
-
*/
|
|
141
|
-
listGuardrails(): Promise<ListGuardrailsCommandOutput>;
|
|
142
|
-
listGuardrails(args: ListGuardrailsCommandInput, options?: __HttpHandlerOptions): Promise<ListGuardrailsCommandOutput>;
|
|
143
|
-
listGuardrails(args: ListGuardrailsCommandInput, cb: (err: any, data?: ListGuardrailsCommandOutput) => void): void;
|
|
144
|
-
listGuardrails(args: ListGuardrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGuardrailsCommandOutput) => void): void;
|
|
145
115
|
/**
|
|
146
116
|
* @see {@link PublishAgentVersionCommand}
|
|
147
117
|
*/
|
|
@@ -149,11 +119,11 @@ export interface WilmaAgents {
|
|
|
149
119
|
publishAgentVersion(args: PublishAgentVersionCommandInput, cb: (err: any, data?: PublishAgentVersionCommandOutput) => void): void;
|
|
150
120
|
publishAgentVersion(args: PublishAgentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishAgentVersionCommandOutput) => void): void;
|
|
151
121
|
/**
|
|
152
|
-
* @see {@link
|
|
122
|
+
* @see {@link RestoreAgentVersionToDraftCommand}
|
|
153
123
|
*/
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
124
|
+
restoreAgentVersionToDraft(args: RestoreAgentVersionToDraftCommandInput, options?: __HttpHandlerOptions): Promise<RestoreAgentVersionToDraftCommandOutput>;
|
|
125
|
+
restoreAgentVersionToDraft(args: RestoreAgentVersionToDraftCommandInput, cb: (err: any, data?: RestoreAgentVersionToDraftCommandOutput) => void): void;
|
|
126
|
+
restoreAgentVersionToDraft(args: RestoreAgentVersionToDraftCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreAgentVersionToDraftCommandOutput) => void): void;
|
|
157
127
|
/**
|
|
158
128
|
* @see {@link UpdateAgentCommand}
|
|
159
129
|
*/
|
|
@@ -161,20 +131,21 @@ export interface WilmaAgents {
|
|
|
161
131
|
updateAgent(args: UpdateAgentCommandInput, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
|
|
162
132
|
updateAgent(args: UpdateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
|
|
163
133
|
/**
|
|
164
|
-
* @see {@link
|
|
134
|
+
* @see {@link UpdateAgentDeploymentCommand}
|
|
165
135
|
*/
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
136
|
+
updateAgentDeployment(args: UpdateAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentDeploymentCommandOutput>;
|
|
137
|
+
updateAgentDeployment(args: UpdateAgentDeploymentCommandInput, cb: (err: any, data?: UpdateAgentDeploymentCommandOutput) => void): void;
|
|
138
|
+
updateAgentDeployment(args: UpdateAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentDeploymentCommandOutput) => void): void;
|
|
169
139
|
}
|
|
170
140
|
/**
|
|
171
|
-
* Unified agent platform.
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
141
|
+
* Unified agent platform. Each agent has a single type (voice, chat, assistant or
|
|
142
|
+
* autonomous) carrying the matching channel settings; autonomous agents have no
|
|
143
|
+
* delivery channel and are invoked by other agents or as automation triggers.
|
|
144
|
+
* Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
|
|
145
|
+
* and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions,
|
|
146
|
+
* deployment traffic routing (rollback, canary) and API keys. Durable runtime sessions live in
|
|
147
|
+
* the companion wilma-sessions service and skills in wilma-skills. The company-wide
|
|
148
|
+
* audit trail lives in wilma-audit; evaluations in wilma-evaluations; observability in
|
|
178
149
|
* wilma-traces; analytics in wilma-analytics.
|
|
179
150
|
* @public
|
|
180
151
|
*/
|
|
@@ -8,37 +8,33 @@ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } fro
|
|
|
8
8
|
import type { CompareAgentVersionsCommandInput, CompareAgentVersionsCommandOutput } from "./commands/CompareAgentVersionsCommand";
|
|
9
9
|
import type { CreateAgentApiKeyCommandInput, CreateAgentApiKeyCommandOutput } from "./commands/CreateAgentApiKeyCommand";
|
|
10
10
|
import type { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
11
|
-
import type {
|
|
12
|
-
import type { DeleteAgentAliasCommandInput, DeleteAgentAliasCommandOutput } from "./commands/DeleteAgentAliasCommand";
|
|
11
|
+
import type { CreateAgentDeploymentCommandInput, CreateAgentDeploymentCommandOutput } from "./commands/CreateAgentDeploymentCommand";
|
|
13
12
|
import type { DeleteAgentApiKeyCommandInput, DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
|
|
14
13
|
import type { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
|
|
15
|
-
import type {
|
|
16
|
-
import type { ExecuteAgentCommandInput, ExecuteAgentCommandOutput } from "./commands/ExecuteAgentCommand";
|
|
14
|
+
import type { DeleteAgentDeploymentCommandInput, DeleteAgentDeploymentCommandOutput } from "./commands/DeleteAgentDeploymentCommand";
|
|
17
15
|
import type { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
|
|
16
|
+
import type { GetAgentDeploymentCommandInput, GetAgentDeploymentCommandOutput } from "./commands/GetAgentDeploymentCommand";
|
|
18
17
|
import type { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
19
|
-
import type { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
|
|
20
|
-
import type { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
|
|
21
18
|
import type { ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput } from "./commands/ListAgentApiKeysCommand";
|
|
19
|
+
import type { ListAgentDeploymentsCommandInput, ListAgentDeploymentsCommandOutput } from "./commands/ListAgentDeploymentsCommand";
|
|
22
20
|
import type { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
23
21
|
import type { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
|
|
24
22
|
import type { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
25
|
-
import type { ListAuditRecordsCommandInput, ListAuditRecordsCommandOutput } from "./commands/ListAuditRecordsCommand";
|
|
26
|
-
import type { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
|
|
27
23
|
import type { PublishAgentVersionCommandInput, PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
|
|
28
|
-
import type {
|
|
24
|
+
import type { RestoreAgentVersionToDraftCommandInput, RestoreAgentVersionToDraftCommandOutput } from "./commands/RestoreAgentVersionToDraftCommand";
|
|
29
25
|
import type { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
30
|
-
import type {
|
|
26
|
+
import type { UpdateAgentDeploymentCommandInput, UpdateAgentDeploymentCommandOutput } from "./commands/UpdateAgentDeploymentCommand";
|
|
31
27
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
32
28
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
33
29
|
export { __Client };
|
|
34
30
|
/**
|
|
35
31
|
* @public
|
|
36
32
|
*/
|
|
37
|
-
export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput |
|
|
33
|
+
export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput | CreateAgentDeploymentCommandInput | DeleteAgentApiKeyCommandInput | DeleteAgentCommandInput | DeleteAgentDeploymentCommandInput | GetAgentCommandInput | GetAgentDeploymentCommandInput | GetAgentVersionCommandInput | ListAgentApiKeysCommandInput | ListAgentDeploymentsCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | PublishAgentVersionCommandInput | RestoreAgentVersionToDraftCommandInput | UpdateAgentCommandInput | UpdateAgentDeploymentCommandInput;
|
|
38
34
|
/**
|
|
39
35
|
* @public
|
|
40
36
|
*/
|
|
41
|
-
export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput |
|
|
37
|
+
export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput | CreateAgentDeploymentCommandOutput | DeleteAgentApiKeyCommandOutput | DeleteAgentCommandOutput | DeleteAgentDeploymentCommandOutput | GetAgentCommandOutput | GetAgentDeploymentCommandOutput | GetAgentVersionCommandOutput | ListAgentApiKeysCommandOutput | ListAgentDeploymentsCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | PublishAgentVersionCommandOutput | RestoreAgentVersionToDraftCommandOutput | UpdateAgentCommandOutput | UpdateAgentDeploymentCommandOutput;
|
|
42
38
|
/**
|
|
43
39
|
* @public
|
|
44
40
|
*/
|
|
@@ -167,13 +163,14 @@ export type WilmaAgentsClientResolvedConfigType = __SmithyResolvedConfiguration<
|
|
|
167
163
|
export interface WilmaAgentsClientResolvedConfig extends WilmaAgentsClientResolvedConfigType {
|
|
168
164
|
}
|
|
169
165
|
/**
|
|
170
|
-
* Unified agent platform.
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
166
|
+
* Unified agent platform. Each agent has a single type (voice, chat, assistant or
|
|
167
|
+
* autonomous) carrying the matching channel settings; autonomous agents have no
|
|
168
|
+
* delivery channel and are invoked by other agents or as automation triggers.
|
|
169
|
+
* Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
|
|
170
|
+
* and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions,
|
|
171
|
+
* deployment traffic routing (rollback, canary) and API keys. Durable runtime sessions live in
|
|
172
|
+
* the companion wilma-sessions service and skills in wilma-skills. The company-wide
|
|
173
|
+
* audit trail lives in wilma-audit; evaluations in wilma-evaluations; observability in
|
|
177
174
|
* wilma-traces; analytics in wilma-analytics.
|
|
178
175
|
* @public
|
|
179
176
|
*/
|
|
@@ -24,9 +24,7 @@ export interface CompareAgentVersionsCommandOutput extends CompareAgentVersionsO
|
|
|
24
24
|
declare const CompareAgentVersionsCommand_base: {
|
|
25
25
|
new (input: CompareAgentVersionsCommandInput): import("@smithy/core/client").CommandImpl<CompareAgentVersionsCommandInput, CompareAgentVersionsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: CompareAgentVersionsCommandInput): import("@smithy/core/client").CommandImpl<CompareAgentVersionsCommandInput, CompareAgentVersionsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Returns the field-level differences between two versions, or between a version and the current draft.
|
|
@@ -41,8 +39,10 @@ declare const CompareAgentVersionsCommand_base: {
|
|
|
41
39
|
* const input = { // CompareAgentVersionsInput
|
|
42
40
|
* company: "STRING_VALUE",
|
|
43
41
|
* agentId: "STRING_VALUE", // required
|
|
44
|
-
* from:
|
|
45
|
-
*
|
|
42
|
+
* from: "STRING_VALUE",
|
|
43
|
+
* fromDraft: true || false,
|
|
44
|
+
* to: "STRING_VALUE",
|
|
45
|
+
* toDraft: true || false,
|
|
46
46
|
* };
|
|
47
47
|
* const command = new CompareAgentVersionsCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
@@ -24,9 +24,7 @@ export interface CreateAgentApiKeyCommandOutput extends CreateAgentApiKeyOutput,
|
|
|
24
24
|
declare const CreateAgentApiKeyCommand_base: {
|
|
25
25
|
new (input: CreateAgentApiKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentApiKeyCommandInput, CreateAgentApiKeyCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
26
|
new (input: CreateAgentApiKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentApiKeyCommandInput, CreateAgentApiKeyCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
30
|
* Creates a new API key for an agent. The secret is returned only in this response and cannot be retrieved later.
|