@wildix/wilma-agents-client 1.0.1
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 +57 -0
- package/dist-cjs/WilmaAgentsClient.js +49 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/CompareAgentVersionsCommand.js +20 -0
- package/dist-cjs/commands/CreateAgentApiKeyCommand.js +20 -0
- package/dist-cjs/commands/CreateAgentCommand.js +20 -0
- package/dist-cjs/commands/CreateGuardrailCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentAliasCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentApiKeyCommand.js +20 -0
- package/dist-cjs/commands/DeleteAgentCommand.js +20 -0
- package/dist-cjs/commands/DeleteGuardrailCommand.js +20 -0
- package/dist-cjs/commands/ExecuteAgentCommand.js +20 -0
- package/dist-cjs/commands/GetAgentCommand.js +20 -0
- package/dist-cjs/commands/GetAgentVersionCommand.js +20 -0
- package/dist-cjs/commands/GetGuardrailCommand.js +20 -0
- package/dist-cjs/commands/ListAgentAliasesCommand.js +20 -0
- package/dist-cjs/commands/ListAgentApiKeysCommand.js +20 -0
- package/dist-cjs/commands/ListAgentVersionsCommand.js +20 -0
- package/dist-cjs/commands/ListAgentsCommand.js +20 -0
- package/dist-cjs/commands/ListAgentsNamesCommand.js +20 -0
- package/dist-cjs/commands/ListAuditRecordsCommand.js +20 -0
- package/dist-cjs/commands/ListGuardrailsCommand.js +20 -0
- package/dist-cjs/commands/PublishAgentVersionCommand.js +20 -0
- package/dist-cjs/commands/PutAgentAliasCommand.js +20 -0
- package/dist-cjs/commands/UpdateAgentCommand.js +20 -0
- package/dist-cjs/commands/UpdateGuardrailCommand.js +20 -0
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +13 -0
- package/dist-cjs/models/WilmaAgentsServiceException.js +12 -0
- package/dist-cjs/models/enums.js +118 -0
- package/dist-cjs/models/errors.js +154 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +41 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +41 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +1168 -0
- package/dist-es/WilmaAgents.js +53 -0
- package/dist-es/WilmaAgentsClient.js +45 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/CompareAgentVersionsCommand.js +16 -0
- package/dist-es/commands/CreateAgentApiKeyCommand.js +16 -0
- package/dist-es/commands/CreateAgentCommand.js +16 -0
- package/dist-es/commands/CreateGuardrailCommand.js +16 -0
- package/dist-es/commands/DeleteAgentAliasCommand.js +16 -0
- package/dist-es/commands/DeleteAgentApiKeyCommand.js +16 -0
- package/dist-es/commands/DeleteAgentCommand.js +16 -0
- package/dist-es/commands/DeleteGuardrailCommand.js +16 -0
- package/dist-es/commands/ExecuteAgentCommand.js +16 -0
- package/dist-es/commands/GetAgentCommand.js +16 -0
- package/dist-es/commands/GetAgentVersionCommand.js +16 -0
- package/dist-es/commands/GetGuardrailCommand.js +16 -0
- package/dist-es/commands/ListAgentAliasesCommand.js +16 -0
- package/dist-es/commands/ListAgentApiKeysCommand.js +16 -0
- package/dist-es/commands/ListAgentVersionsCommand.js +16 -0
- package/dist-es/commands/ListAgentsCommand.js +16 -0
- package/dist-es/commands/ListAgentsNamesCommand.js +16 -0
- package/dist-es/commands/ListAuditRecordsCommand.js +16 -0
- package/dist-es/commands/ListGuardrailsCommand.js +16 -0
- package/dist-es/commands/PublishAgentVersionCommand.js +16 -0
- package/dist-es/commands/PutAgentAliasCommand.js +16 -0
- package/dist-es/commands/UpdateAgentCommand.js +16 -0
- package/dist-es/commands/UpdateGuardrailCommand.js +16 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +8 -0
- package/dist-es/models/WilmaAgentsServiceException.js +8 -0
- package/dist-es/models/enums.js +115 -0
- package/dist-es/models/errors.js +141 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +36 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +37 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-es/schemas/schemas_0.js +1162 -0
- package/dist-types/WilmaAgents.d.ts +182 -0
- package/dist-types/WilmaAgentsClient.d.ts +192 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CompareAgentVersionsCommand.d.ts +91 -0
- package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +96 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +654 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +172 -0
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +82 -0
- package/dist-types/commands/DeleteAgentCommand.d.ts +77 -0
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +80 -0
- package/dist-types/commands/ExecuteAgentCommand.d.ts +112 -0
- package/dist-types/commands/GetAgentCommand.d.ts +386 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +365 -0
- package/dist-types/commands/GetGuardrailCommand.d.ts +135 -0
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +99 -0
- package/dist-types/commands/ListAgentApiKeysCommand.d.ts +95 -0
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +99 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +391 -0
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +90 -0
- package/dist-types/commands/ListAuditRecordsCommand.d.ts +109 -0
- package/dist-types/commands/ListGuardrailsCommand.d.ts +137 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +370 -0
- package/dist-types/commands/PutAgentAliasCommand.d.ts +107 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +661 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +175 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +23 -0
- package/dist-types/models/WilmaAgentsServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +301 -0
- package/dist-types/models/errors.d.ts +129 -0
- package/dist-types/models/models_0.d.ts +2186 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +160 -0
- package/package.json +57 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { type CompareAgentVersionsCommandInput, type CompareAgentVersionsCommandOutput } from "./commands/CompareAgentVersionsCommand";
|
|
3
|
+
import { type CreateAgentApiKeyCommandInput, type CreateAgentApiKeyCommandOutput } from "./commands/CreateAgentApiKeyCommand";
|
|
4
|
+
import { type CreateAgentCommandInput, type CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
5
|
+
import { type CreateGuardrailCommandInput, type CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand";
|
|
6
|
+
import { type DeleteAgentAliasCommandInput, type DeleteAgentAliasCommandOutput } from "./commands/DeleteAgentAliasCommand";
|
|
7
|
+
import { type DeleteAgentApiKeyCommandInput, type DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
|
|
8
|
+
import { type DeleteAgentCommandInput, type DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
|
|
9
|
+
import { type DeleteGuardrailCommandInput, type DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
|
|
10
|
+
import { type ExecuteAgentCommandInput, type ExecuteAgentCommandOutput } from "./commands/ExecuteAgentCommand";
|
|
11
|
+
import { type GetAgentCommandInput, type GetAgentCommandOutput } from "./commands/GetAgentCommand";
|
|
12
|
+
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
|
+
import { type ListAgentApiKeysCommandInput, type ListAgentApiKeysCommandOutput } from "./commands/ListAgentApiKeysCommand";
|
|
16
|
+
import { type ListAgentsCommandInput, type ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
17
|
+
import { type ListAgentsNamesCommandInput, type ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
|
|
18
|
+
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
|
+
import { type PublishAgentVersionCommandInput, type PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
|
|
22
|
+
import { type PutAgentAliasCommandInput, type PutAgentAliasCommandOutput } from "./commands/PutAgentAliasCommand";
|
|
23
|
+
import { type UpdateAgentCommandInput, type UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
24
|
+
import { type UpdateGuardrailCommandInput, type UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
|
|
25
|
+
import { WilmaAgentsClient } from "./WilmaAgentsClient";
|
|
26
|
+
export interface WilmaAgents {
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link CompareAgentVersionsCommand}
|
|
29
|
+
*/
|
|
30
|
+
compareAgentVersions(args: CompareAgentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<CompareAgentVersionsCommandOutput>;
|
|
31
|
+
compareAgentVersions(args: CompareAgentVersionsCommandInput, cb: (err: any, data?: CompareAgentVersionsCommandOutput) => void): void;
|
|
32
|
+
compareAgentVersions(args: CompareAgentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompareAgentVersionsCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link CreateAgentCommand}
|
|
35
|
+
*/
|
|
36
|
+
createAgent(args: CreateAgentCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentCommandOutput>;
|
|
37
|
+
createAgent(args: CreateAgentCommandInput, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
|
|
38
|
+
createAgent(args: CreateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link CreateAgentApiKeyCommand}
|
|
41
|
+
*/
|
|
42
|
+
createAgentApiKey(args: CreateAgentApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentApiKeyCommandOutput>;
|
|
43
|
+
createAgentApiKey(args: CreateAgentApiKeyCommandInput, cb: (err: any, data?: CreateAgentApiKeyCommandOutput) => void): void;
|
|
44
|
+
createAgentApiKey(args: CreateAgentApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentApiKeyCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link CreateGuardrailCommand}
|
|
47
|
+
*/
|
|
48
|
+
createGuardrail(args: CreateGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<CreateGuardrailCommandOutput>;
|
|
49
|
+
createGuardrail(args: CreateGuardrailCommandInput, cb: (err: any, data?: CreateGuardrailCommandOutput) => void): void;
|
|
50
|
+
createGuardrail(args: CreateGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGuardrailCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link DeleteAgentCommand}
|
|
53
|
+
*/
|
|
54
|
+
deleteAgent(args: DeleteAgentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentCommandOutput>;
|
|
55
|
+
deleteAgent(args: DeleteAgentCommandInput, cb: (err: any, data?: DeleteAgentCommandOutput) => void): void;
|
|
56
|
+
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
|
+
/**
|
|
64
|
+
* @see {@link DeleteAgentApiKeyCommand}
|
|
65
|
+
*/
|
|
66
|
+
deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentApiKeyCommandOutput>;
|
|
67
|
+
deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
|
|
68
|
+
deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link DeleteGuardrailCommand}
|
|
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}
|
|
77
|
+
*/
|
|
78
|
+
executeAgent(args: ExecuteAgentCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteAgentCommandOutput>;
|
|
79
|
+
executeAgent(args: ExecuteAgentCommandInput, cb: (err: any, data?: ExecuteAgentCommandOutput) => void): void;
|
|
80
|
+
executeAgent(args: ExecuteAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteAgentCommandOutput) => void): void;
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link GetAgentCommand}
|
|
83
|
+
*/
|
|
84
|
+
getAgent(args: GetAgentCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentCommandOutput>;
|
|
85
|
+
getAgent(args: GetAgentCommandInput, cb: (err: any, data?: GetAgentCommandOutput) => void): void;
|
|
86
|
+
getAgent(args: GetAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentCommandOutput) => void): void;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link GetAgentVersionCommand}
|
|
89
|
+
*/
|
|
90
|
+
getAgentVersion(args: GetAgentVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentVersionCommandOutput>;
|
|
91
|
+
getAgentVersion(args: GetAgentVersionCommandInput, cb: (err: any, data?: GetAgentVersionCommandOutput) => void): void;
|
|
92
|
+
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
|
+
/**
|
|
106
|
+
* @see {@link ListAgentApiKeysCommand}
|
|
107
|
+
*/
|
|
108
|
+
listAgentApiKeys(args: ListAgentApiKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentApiKeysCommandOutput>;
|
|
109
|
+
listAgentApiKeys(args: ListAgentApiKeysCommandInput, cb: (err: any, data?: ListAgentApiKeysCommandOutput) => void): void;
|
|
110
|
+
listAgentApiKeys(args: ListAgentApiKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentApiKeysCommandOutput) => void): void;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link ListAgentsCommand}
|
|
113
|
+
*/
|
|
114
|
+
listAgents(): Promise<ListAgentsCommandOutput>;
|
|
115
|
+
listAgents(args: ListAgentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentsCommandOutput>;
|
|
116
|
+
listAgents(args: ListAgentsCommandInput, cb: (err: any, data?: ListAgentsCommandOutput) => void): void;
|
|
117
|
+
listAgents(args: ListAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentsCommandOutput) => void): void;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link ListAgentsNamesCommand}
|
|
120
|
+
*/
|
|
121
|
+
listAgentsNames(): Promise<ListAgentsNamesCommandOutput>;
|
|
122
|
+
listAgentsNames(args: ListAgentsNamesCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentsNamesCommandOutput>;
|
|
123
|
+
listAgentsNames(args: ListAgentsNamesCommandInput, cb: (err: any, data?: ListAgentsNamesCommandOutput) => void): void;
|
|
124
|
+
listAgentsNames(args: ListAgentsNamesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentsNamesCommandOutput) => void): void;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link ListAgentVersionsCommand}
|
|
127
|
+
*/
|
|
128
|
+
listAgentVersions(args: ListAgentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentVersionsCommandOutput>;
|
|
129
|
+
listAgentVersions(args: ListAgentVersionsCommandInput, cb: (err: any, data?: ListAgentVersionsCommandOutput) => void): void;
|
|
130
|
+
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
|
+
/**
|
|
146
|
+
* @see {@link PublishAgentVersionCommand}
|
|
147
|
+
*/
|
|
148
|
+
publishAgentVersion(args: PublishAgentVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishAgentVersionCommandOutput>;
|
|
149
|
+
publishAgentVersion(args: PublishAgentVersionCommandInput, cb: (err: any, data?: PublishAgentVersionCommandOutput) => void): void;
|
|
150
|
+
publishAgentVersion(args: PublishAgentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishAgentVersionCommandOutput) => void): void;
|
|
151
|
+
/**
|
|
152
|
+
* @see {@link PutAgentAliasCommand}
|
|
153
|
+
*/
|
|
154
|
+
putAgentAlias(args: PutAgentAliasCommandInput, options?: __HttpHandlerOptions): Promise<PutAgentAliasCommandOutput>;
|
|
155
|
+
putAgentAlias(args: PutAgentAliasCommandInput, cb: (err: any, data?: PutAgentAliasCommandOutput) => void): void;
|
|
156
|
+
putAgentAlias(args: PutAgentAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAgentAliasCommandOutput) => void): void;
|
|
157
|
+
/**
|
|
158
|
+
* @see {@link UpdateAgentCommand}
|
|
159
|
+
*/
|
|
160
|
+
updateAgent(args: UpdateAgentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentCommandOutput>;
|
|
161
|
+
updateAgent(args: UpdateAgentCommandInput, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
|
|
162
|
+
updateAgent(args: UpdateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
|
|
163
|
+
/**
|
|
164
|
+
* @see {@link UpdateGuardrailCommand}
|
|
165
|
+
*/
|
|
166
|
+
updateGuardrail(args: UpdateGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGuardrailCommandOutput>;
|
|
167
|
+
updateGuardrail(args: UpdateGuardrailCommandInput, cb: (err: any, data?: UpdateGuardrailCommandOutput) => void): void;
|
|
168
|
+
updateGuardrail(args: UpdateGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGuardrailCommandOutput) => void): void;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Unified agent platform. A single agent configuration is deployed to multiple channels
|
|
172
|
+
* (in-app assistant, chat conversations, voice calls, API) while keeping channel-specific
|
|
173
|
+
* settings. Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
|
|
174
|
+
* and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions with
|
|
175
|
+
* alias-based routing (rollback, canary), guardrail policies, API keys and a company-wide
|
|
176
|
+
* audit trail. Durable runtime sessions live in the companion wilma-sessions service and
|
|
177
|
+
* skills in wilma-skills. Evaluations live in wilma-evaluations; observability in
|
|
178
|
+
* wilma-traces; analytics in wilma-analytics.
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
export declare class WilmaAgents extends WilmaAgentsClient implements WilmaAgents {
|
|
182
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
2
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
4
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
6
|
+
import type { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
7
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
8
|
+
import type { CompareAgentVersionsCommandInput, CompareAgentVersionsCommandOutput } from "./commands/CompareAgentVersionsCommand";
|
|
9
|
+
import type { CreateAgentApiKeyCommandInput, CreateAgentApiKeyCommandOutput } from "./commands/CreateAgentApiKeyCommand";
|
|
10
|
+
import type { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
11
|
+
import type { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand";
|
|
12
|
+
import type { DeleteAgentAliasCommandInput, DeleteAgentAliasCommandOutput } from "./commands/DeleteAgentAliasCommand";
|
|
13
|
+
import type { DeleteAgentApiKeyCommandInput, DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
|
|
14
|
+
import type { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
|
|
15
|
+
import type { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
|
|
16
|
+
import type { ExecuteAgentCommandInput, ExecuteAgentCommandOutput } from "./commands/ExecuteAgentCommand";
|
|
17
|
+
import type { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
|
|
18
|
+
import type { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
|
|
19
|
+
import type { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
|
|
20
|
+
import type { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "./commands/ListAgentAliasesCommand";
|
|
21
|
+
import type { ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput } from "./commands/ListAgentApiKeysCommand";
|
|
22
|
+
import type { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
|
|
23
|
+
import type { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
|
|
24
|
+
import type { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
|
|
25
|
+
import type { ListAuditRecordsCommandInput, ListAuditRecordsCommandOutput } from "./commands/ListAuditRecordsCommand";
|
|
26
|
+
import type { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
|
|
27
|
+
import type { PublishAgentVersionCommandInput, PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
|
|
28
|
+
import type { PutAgentAliasCommandInput, PutAgentAliasCommandOutput } from "./commands/PutAgentAliasCommand";
|
|
29
|
+
import type { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
30
|
+
import type { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
|
|
31
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
32
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
33
|
+
export { __Client };
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput | CreateGuardrailCommandInput | DeleteAgentAliasCommandInput | DeleteAgentApiKeyCommandInput | DeleteAgentCommandInput | DeleteGuardrailCommandInput | ExecuteAgentCommandInput | GetAgentCommandInput | GetAgentVersionCommandInput | GetGuardrailCommandInput | ListAgentAliasesCommandInput | ListAgentApiKeysCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | ListAuditRecordsCommandInput | ListGuardrailsCommandInput | PublishAgentVersionCommandInput | PutAgentAliasCommandInput | UpdateAgentCommandInput | UpdateGuardrailCommandInput;
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput | CreateGuardrailCommandOutput | DeleteAgentAliasCommandOutput | DeleteAgentApiKeyCommandOutput | DeleteAgentCommandOutput | DeleteGuardrailCommandOutput | ExecuteAgentCommandOutput | GetAgentCommandOutput | GetAgentVersionCommandOutput | GetGuardrailCommandOutput | ListAgentAliasesCommandOutput | ListAgentApiKeysCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | ListAuditRecordsCommandOutput | ListGuardrailsCommandOutput | PublishAgentVersionCommandOutput | PutAgentAliasCommandOutput | UpdateAgentCommandOutput | UpdateGuardrailCommandOutput;
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
46
|
+
/**
|
|
47
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
48
|
+
*/
|
|
49
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
50
|
+
/**
|
|
51
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
52
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
56
|
+
/**
|
|
57
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
urlParser?: __UrlParser;
|
|
61
|
+
/**
|
|
62
|
+
* A function that can calculate the length of a request body.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
66
|
+
/**
|
|
67
|
+
* A function that converts a stream into an array of bytes.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
streamCollector?: __StreamCollector;
|
|
71
|
+
/**
|
|
72
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
base64Decoder?: __Decoder;
|
|
76
|
+
/**
|
|
77
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
base64Encoder?: __Encoder;
|
|
81
|
+
/**
|
|
82
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
utf8Decoder?: __Decoder;
|
|
86
|
+
/**
|
|
87
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
utf8Encoder?: __Encoder;
|
|
91
|
+
/**
|
|
92
|
+
* The runtime environment.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
runtime?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
98
|
+
* trait of an operation.
|
|
99
|
+
*/
|
|
100
|
+
disableHostPrefix?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Setting a client profile is similar to setting a value for the
|
|
103
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
104
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
105
|
+
*
|
|
106
|
+
* When set, and only for environments where an AWS configuration
|
|
107
|
+
* file exists, fields configurable by this file will be retrieved
|
|
108
|
+
* from the specified profile within that file.
|
|
109
|
+
* Conflicting code configuration and environment variables will
|
|
110
|
+
* still have higher priority.
|
|
111
|
+
*
|
|
112
|
+
* For client credential resolution that involves checking the AWS
|
|
113
|
+
* configuration file, the client's profile (this value) will be
|
|
114
|
+
* used unless a different profile is set in the credential
|
|
115
|
+
* provider options.
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
|
+
profile?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
124
|
+
/**
|
|
125
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
126
|
+
*/
|
|
127
|
+
maxAttempts?: number | __Provider<number>;
|
|
128
|
+
/**
|
|
129
|
+
* Specifies which retry algorithm to use.
|
|
130
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
131
|
+
*
|
|
132
|
+
*/
|
|
133
|
+
retryMode?: string | __Provider<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Optional logger for logging debug/info/warn/error.
|
|
136
|
+
*/
|
|
137
|
+
logger?: __Logger;
|
|
138
|
+
/**
|
|
139
|
+
* Optional extensions
|
|
140
|
+
*/
|
|
141
|
+
extensions?: RuntimeExtension[];
|
|
142
|
+
/**
|
|
143
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
144
|
+
*/
|
|
145
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export type WilmaAgentsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*
|
|
154
|
+
* The configuration interface of WilmaAgentsClient class constructor that set the region, credentials and other options.
|
|
155
|
+
*/
|
|
156
|
+
export interface WilmaAgentsClientConfig extends WilmaAgentsClientConfigType {
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export type WilmaAgentsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*
|
|
165
|
+
* The resolved configuration interface of WilmaAgentsClient class. This is resolved and normalized from the {@link WilmaAgentsClientConfig | constructor configuration interface}.
|
|
166
|
+
*/
|
|
167
|
+
export interface WilmaAgentsClientResolvedConfig extends WilmaAgentsClientResolvedConfigType {
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Unified agent platform. A single agent configuration is deployed to multiple channels
|
|
171
|
+
* (in-app assistant, chat conversations, voice calls, API) while keeping channel-specific
|
|
172
|
+
* settings. Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
|
|
173
|
+
* and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions with
|
|
174
|
+
* alias-based routing (rollback, canary), guardrail policies, API keys and a company-wide
|
|
175
|
+
* audit trail. Durable runtime sessions live in the companion wilma-sessions service and
|
|
176
|
+
* skills in wilma-skills. Evaluations live in wilma-evaluations; observability in
|
|
177
|
+
* wilma-traces; analytics in wilma-analytics.
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export declare class WilmaAgentsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig> {
|
|
181
|
+
/**
|
|
182
|
+
* The resolved configuration of WilmaAgentsClient class. This is resolved and normalized from the {@link WilmaAgentsClientConfig | constructor configuration interface}.
|
|
183
|
+
*/
|
|
184
|
+
readonly config: WilmaAgentsClientResolvedConfig;
|
|
185
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<WilmaAgentsClientConfig>);
|
|
186
|
+
/**
|
|
187
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
188
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
189
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
190
|
+
*/
|
|
191
|
+
destroy(): void;
|
|
192
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { WilmaAgentsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: WilmaAgentsHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): WilmaAgentsHttpAuthSchemeProvider;
|
|
11
|
+
setToken(token: TokenIdentity | TokenIdentityProvider): void;
|
|
12
|
+
token(): TokenIdentity | TokenIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: WilmaAgentsHttpAuthSchemeProvider;
|
|
20
|
+
token: TokenIdentity | TokenIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface WilmaAgentsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export interface WilmaAgentsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<WilmaAgentsClientResolvedConfig, HandlerExecutionContext, WilmaAgentsHttpAuthSchemeParameters, object> {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export declare const defaultWilmaAgentsHttpAuthSchemeParametersProvider: (config: WilmaAgentsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<WilmaAgentsHttpAuthSchemeParameters>;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export interface WilmaAgentsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<WilmaAgentsHttpAuthSchemeParameters> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const defaultWilmaAgentsHttpAuthSchemeProvider: WilmaAgentsHttpAuthSchemeProvider;
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface HttpAuthSchemeInputConfig {
|
|
30
|
+
/**
|
|
31
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
32
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
33
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
42
|
+
/**
|
|
43
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
httpAuthSchemeProvider?: WilmaAgentsHttpAuthSchemeProvider;
|
|
47
|
+
/**
|
|
48
|
+
* The token used to authenticate requests.
|
|
49
|
+
*/
|
|
50
|
+
token?: TokenIdentity | TokenIdentityProvider;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
export interface HttpAuthSchemeResolvedConfig {
|
|
56
|
+
/**
|
|
57
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
58
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
59
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
68
|
+
/**
|
|
69
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
readonly httpAuthSchemeProvider: WilmaAgentsHttpAuthSchemeProvider;
|
|
73
|
+
/**
|
|
74
|
+
* The token used to authenticate requests.
|
|
75
|
+
*/
|
|
76
|
+
readonly token?: TokenIdentityProvider;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CompareAgentVersionsInput, CompareAgentVersionsOutput } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CompareAgentVersionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CompareAgentVersionsCommandInput extends CompareAgentVersionsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CompareAgentVersionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CompareAgentVersionsCommandOutput extends CompareAgentVersionsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CompareAgentVersionsCommand_base: {
|
|
25
|
+
new (input: CompareAgentVersionsCommandInput): import("@smithy/core/client").CommandImpl<CompareAgentVersionsCommandInput, CompareAgentVersionsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CompareAgentVersionsCommandInput): import("@smithy/core/client").CommandImpl<CompareAgentVersionsCommandInput, CompareAgentVersionsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Returns the field-level differences between two versions, or between a version and the current draft.
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { WilmaAgentsClient, CompareAgentVersionsCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
37
|
+
* // const { WilmaAgentsClient, CompareAgentVersionsCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
38
|
+
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
39
|
+
* const config = {}; // type is WilmaAgentsClientConfig
|
|
40
|
+
* const client = new WilmaAgentsClient(config);
|
|
41
|
+
* const input = { // CompareAgentVersionsInput
|
|
42
|
+
* company: "STRING_VALUE",
|
|
43
|
+
* agentId: "STRING_VALUE", // required
|
|
44
|
+
* from: Number("int"), // required
|
|
45
|
+
* to: Number("int"), // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CompareAgentVersionsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CompareAgentVersionsOutput
|
|
50
|
+
* // changes: [ // AgentVersionChangesList // required
|
|
51
|
+
* // { // AgentVersionChange
|
|
52
|
+
* // path: "STRING_VALUE", // required
|
|
53
|
+
* // before: "DOCUMENT_VALUE",
|
|
54
|
+
* // after: "DOCUMENT_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param CompareAgentVersionsCommandInput - {@link CompareAgentVersionsCommandInput}
|
|
62
|
+
* @returns {@link CompareAgentVersionsCommandOutput}
|
|
63
|
+
* @see {@link CompareAgentVersionsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link CompareAgentVersionsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AgentNotFoundException} (client fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AgentVersionNotFoundException} (client fault)
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link WilmaAgentsServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class CompareAgentVersionsCommand extends CompareAgentVersionsCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: CompareAgentVersionsInput;
|
|
84
|
+
output: CompareAgentVersionsOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: CompareAgentVersionsCommandInput;
|
|
88
|
+
output: CompareAgentVersionsCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|