@aws-sdk/client-bedrock-agent 3.613.0 → 3.614.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -0
- package/dist-cjs/index.js +2007 -14
- package/dist-es/BedrockAgent.js +42 -0
- package/dist-es/commands/CreateDataSourceCommand.js +2 -1
- package/dist-es/commands/CreateFlowAliasCommand.js +24 -0
- package/dist-es/commands/CreateFlowCommand.js +25 -0
- package/dist-es/commands/CreateFlowVersionCommand.js +25 -0
- package/dist-es/commands/CreatePromptCommand.js +25 -0
- package/dist-es/commands/CreatePromptVersionCommand.js +25 -0
- package/dist-es/commands/DeleteFlowAliasCommand.js +24 -0
- package/dist-es/commands/DeleteFlowCommand.js +24 -0
- package/dist-es/commands/DeleteFlowVersionCommand.js +24 -0
- package/dist-es/commands/DeletePromptCommand.js +24 -0
- package/dist-es/commands/GetDataSourceCommand.js +2 -1
- package/dist-es/commands/GetFlowAliasCommand.js +24 -0
- package/dist-es/commands/GetFlowCommand.js +25 -0
- package/dist-es/commands/GetFlowVersionCommand.js +25 -0
- package/dist-es/commands/GetPromptCommand.js +25 -0
- package/dist-es/commands/ListFlowAliasesCommand.js +24 -0
- package/dist-es/commands/ListFlowVersionsCommand.js +24 -0
- package/dist-es/commands/ListFlowsCommand.js +24 -0
- package/dist-es/commands/ListPromptsCommand.js +24 -0
- package/dist-es/commands/PrepareFlowCommand.js +24 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +2 -1
- package/dist-es/commands/UpdateFlowAliasCommand.js +24 -0
- package/dist-es/commands/UpdateFlowCommand.js +25 -0
- package/dist-es/commands/UpdatePromptCommand.js +25 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/models/models_0.js +418 -0
- package/dist-es/pagination/ListFlowAliasesPaginator.js +4 -0
- package/dist-es/pagination/ListFlowVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListFlowsPaginator.js +4 -0
- package/dist-es/pagination/ListPromptsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1041 -25
- package/dist-types/BedrockAgent.d.ts +149 -0
- package/dist-types/BedrockAgentClient.d.ts +23 -2
- package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +7 -3
- package/dist-types/commands/CreateAgentCommand.d.ts +18 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +280 -6
- package/dist-types/commands/CreateFlowAliasCommand.d.ts +103 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +318 -0
- package/dist-types/commands/CreateFlowVersionCommand.d.ts +203 -0
- package/dist-types/commands/CreatePromptCommand.d.ts +149 -0
- package/dist-types/commands/CreatePromptVersionCommand.d.ts +122 -0
- package/dist-types/commands/DeleteFlowAliasCommand.d.ts +80 -0
- package/dist-types/commands/DeleteFlowCommand.d.ts +79 -0
- package/dist-types/commands/DeleteFlowVersionCommand.d.ts +81 -0
- package/dist-types/commands/DeletePromptCommand.d.ts +80 -0
- package/dist-types/commands/GetAgentActionGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentCommand.d.ts +6 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +139 -2
- package/dist-types/commands/GetFlowAliasCommand.d.ts +87 -0
- package/dist-types/commands/GetFlowCommand.d.ts +202 -0
- package/dist-types/commands/GetFlowVersionCommand.d.ts +196 -0
- package/dist-types/commands/GetPromptCommand.d.ts +112 -0
- package/dist-types/commands/ListFlowAliasesCommand.d.ts +93 -0
- package/dist-types/commands/ListFlowVersionsCommand.d.ts +86 -0
- package/dist-types/commands/ListFlowsCommand.d.ts +85 -0
- package/dist-types/commands/ListPromptsCommand.d.ts +88 -0
- package/dist-types/commands/PrepareFlowCommand.d.ts +82 -0
- package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAgentCommand.d.ts +12 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +280 -6
- package/dist-types/commands/UpdateFlowAliasCommand.d.ts +100 -0
- package/dist-types/commands/UpdateFlowCommand.d.ts +318 -0
- package/dist-types/commands/UpdatePromptCommand.d.ts +149 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/models/models_0.d.ts +4252 -772
- package/dist-types/pagination/ListFlowAliasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPromptsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +189 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +359 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +128 -2
- package/dist-types/ts3.4/commands/CreateFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateFlowVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteFlowVersionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetFlowAliasCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetFlowCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetFlowVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListFlowAliasesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListFlowVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/PrepareFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateFlowAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1179 -0
- package/dist-types/ts3.4/pagination/ListFlowAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +252 -0
- package/package.json +20 -20
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateFlowAliasCommand, se_UpdateFlowAliasCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateFlowAliasCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateFlowAlias", {})
|
|
19
|
+
.n("BedrockAgentClient", "UpdateFlowAliasCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateFlowAliasCommand)
|
|
22
|
+
.de(de_UpdateFlowAliasCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateFlowRequestFilterSensitiveLog, UpdateFlowResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateFlowCommand, se_UpdateFlowCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateFlowCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateFlow", {})
|
|
20
|
+
.n("BedrockAgentClient", "UpdateFlowCommand")
|
|
21
|
+
.f(UpdateFlowRequestFilterSensitiveLog, UpdateFlowResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_UpdateFlowCommand)
|
|
23
|
+
.de(de_UpdateFlowCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdatePromptRequestFilterSensitiveLog, UpdatePromptResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdatePromptCommand, se_UpdatePromptCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdatePromptCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "UpdatePrompt", {})
|
|
20
|
+
.n("BedrockAgentClient", "UpdatePromptCommand")
|
|
21
|
+
.f(UpdatePromptRequestFilterSensitiveLog, UpdatePromptResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_UpdatePromptCommand)
|
|
23
|
+
.de(de_UpdatePromptCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -3,13 +3,22 @@ export * from "./CreateAgentActionGroupCommand";
|
|
|
3
3
|
export * from "./CreateAgentAliasCommand";
|
|
4
4
|
export * from "./CreateAgentCommand";
|
|
5
5
|
export * from "./CreateDataSourceCommand";
|
|
6
|
+
export * from "./CreateFlowAliasCommand";
|
|
7
|
+
export * from "./CreateFlowCommand";
|
|
8
|
+
export * from "./CreateFlowVersionCommand";
|
|
6
9
|
export * from "./CreateKnowledgeBaseCommand";
|
|
10
|
+
export * from "./CreatePromptCommand";
|
|
11
|
+
export * from "./CreatePromptVersionCommand";
|
|
7
12
|
export * from "./DeleteAgentActionGroupCommand";
|
|
8
13
|
export * from "./DeleteAgentAliasCommand";
|
|
9
14
|
export * from "./DeleteAgentCommand";
|
|
10
15
|
export * from "./DeleteAgentVersionCommand";
|
|
11
16
|
export * from "./DeleteDataSourceCommand";
|
|
17
|
+
export * from "./DeleteFlowAliasCommand";
|
|
18
|
+
export * from "./DeleteFlowCommand";
|
|
19
|
+
export * from "./DeleteFlowVersionCommand";
|
|
12
20
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
21
|
+
export * from "./DeletePromptCommand";
|
|
13
22
|
export * from "./DisassociateAgentKnowledgeBaseCommand";
|
|
14
23
|
export * from "./GetAgentActionGroupCommand";
|
|
15
24
|
export * from "./GetAgentAliasCommand";
|
|
@@ -17,18 +26,27 @@ export * from "./GetAgentCommand";
|
|
|
17
26
|
export * from "./GetAgentKnowledgeBaseCommand";
|
|
18
27
|
export * from "./GetAgentVersionCommand";
|
|
19
28
|
export * from "./GetDataSourceCommand";
|
|
29
|
+
export * from "./GetFlowAliasCommand";
|
|
30
|
+
export * from "./GetFlowCommand";
|
|
31
|
+
export * from "./GetFlowVersionCommand";
|
|
20
32
|
export * from "./GetIngestionJobCommand";
|
|
21
33
|
export * from "./GetKnowledgeBaseCommand";
|
|
34
|
+
export * from "./GetPromptCommand";
|
|
22
35
|
export * from "./ListAgentActionGroupsCommand";
|
|
23
36
|
export * from "./ListAgentAliasesCommand";
|
|
24
37
|
export * from "./ListAgentKnowledgeBasesCommand";
|
|
25
38
|
export * from "./ListAgentVersionsCommand";
|
|
26
39
|
export * from "./ListAgentsCommand";
|
|
27
40
|
export * from "./ListDataSourcesCommand";
|
|
41
|
+
export * from "./ListFlowAliasesCommand";
|
|
42
|
+
export * from "./ListFlowVersionsCommand";
|
|
43
|
+
export * from "./ListFlowsCommand";
|
|
28
44
|
export * from "./ListIngestionJobsCommand";
|
|
29
45
|
export * from "./ListKnowledgeBasesCommand";
|
|
46
|
+
export * from "./ListPromptsCommand";
|
|
30
47
|
export * from "./ListTagsForResourceCommand";
|
|
31
48
|
export * from "./PrepareAgentCommand";
|
|
49
|
+
export * from "./PrepareFlowCommand";
|
|
32
50
|
export * from "./StartIngestionJobCommand";
|
|
33
51
|
export * from "./TagResourceCommand";
|
|
34
52
|
export * from "./UntagResourceCommand";
|
|
@@ -37,4 +55,7 @@ export * from "./UpdateAgentAliasCommand";
|
|
|
37
55
|
export * from "./UpdateAgentCommand";
|
|
38
56
|
export * from "./UpdateAgentKnowledgeBaseCommand";
|
|
39
57
|
export * from "./UpdateDataSourceCommand";
|
|
58
|
+
export * from "./UpdateFlowAliasCommand";
|
|
59
|
+
export * from "./UpdateFlowCommand";
|
|
40
60
|
export * from "./UpdateKnowledgeBaseCommand";
|
|
61
|
+
export * from "./UpdatePromptCommand";
|
|
@@ -67,6 +67,7 @@ export var FunctionSchema;
|
|
|
67
67
|
};
|
|
68
68
|
})(FunctionSchema || (FunctionSchema = {}));
|
|
69
69
|
export const ActionGroupSignature = {
|
|
70
|
+
AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter",
|
|
70
71
|
AMAZON_USERINPUT: "AMAZON.UserInput",
|
|
71
72
|
};
|
|
72
73
|
export class InternalServerException extends __BaseException {
|
|
@@ -140,6 +141,9 @@ export const AgentStatus = {
|
|
|
140
141
|
UPDATING: "UPDATING",
|
|
141
142
|
VERSIONING: "VERSIONING",
|
|
142
143
|
};
|
|
144
|
+
export const MemoryType = {
|
|
145
|
+
SESSION_SUMMARY: "SESSION_SUMMARY",
|
|
146
|
+
};
|
|
143
147
|
export const CreationMode = {
|
|
144
148
|
DEFAULT: "DEFAULT",
|
|
145
149
|
OVERRIDDEN: "OVERRIDDEN",
|
|
@@ -169,18 +173,173 @@ export const DataDeletionPolicy = {
|
|
|
169
173
|
DELETE: "DELETE",
|
|
170
174
|
RETAIN: "RETAIN",
|
|
171
175
|
};
|
|
176
|
+
export const CrawlFilterConfigurationType = {
|
|
177
|
+
PATTERN: "PATTERN",
|
|
178
|
+
};
|
|
179
|
+
export const ConfluenceAuthType = {
|
|
180
|
+
BASIC: "BASIC",
|
|
181
|
+
OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS",
|
|
182
|
+
};
|
|
183
|
+
export const ConfluenceHostType = {
|
|
184
|
+
SAAS: "SAAS",
|
|
185
|
+
};
|
|
186
|
+
export const SalesforceAuthType = {
|
|
187
|
+
OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS",
|
|
188
|
+
};
|
|
189
|
+
export const SharePointAuthType = {
|
|
190
|
+
OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS",
|
|
191
|
+
};
|
|
192
|
+
export const SharePointHostType = {
|
|
193
|
+
ONLINE: "ONLINE",
|
|
194
|
+
};
|
|
172
195
|
export const DataSourceType = {
|
|
196
|
+
CONFLUENCE: "CONFLUENCE",
|
|
173
197
|
S3: "S3",
|
|
198
|
+
SALESFORCE: "SALESFORCE",
|
|
199
|
+
SHAREPOINT: "SHAREPOINT",
|
|
200
|
+
WEB: "WEB",
|
|
201
|
+
};
|
|
202
|
+
export const WebScopeType = {
|
|
203
|
+
HOST_ONLY: "HOST_ONLY",
|
|
204
|
+
SUBDOMAINS: "SUBDOMAINS",
|
|
174
205
|
};
|
|
175
206
|
export const ChunkingStrategy = {
|
|
176
207
|
FIXED_SIZE: "FIXED_SIZE",
|
|
208
|
+
HIERARCHICAL: "HIERARCHICAL",
|
|
177
209
|
NONE: "NONE",
|
|
210
|
+
SEMANTIC: "SEMANTIC",
|
|
211
|
+
};
|
|
212
|
+
export const StepType = {
|
|
213
|
+
POST_CHUNKING: "POST_CHUNKING",
|
|
214
|
+
};
|
|
215
|
+
export const ParsingStrategy = {
|
|
216
|
+
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
178
217
|
};
|
|
179
218
|
export const DataSourceStatus = {
|
|
180
219
|
AVAILABLE: "AVAILABLE",
|
|
181
220
|
DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
|
|
182
221
|
DELETING: "DELETING",
|
|
183
222
|
};
|
|
223
|
+
export var FlowConnectionConfiguration;
|
|
224
|
+
(function (FlowConnectionConfiguration) {
|
|
225
|
+
FlowConnectionConfiguration.visit = (value, visitor) => {
|
|
226
|
+
if (value.data !== undefined)
|
|
227
|
+
return visitor.data(value.data);
|
|
228
|
+
if (value.conditional !== undefined)
|
|
229
|
+
return visitor.conditional(value.conditional);
|
|
230
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
231
|
+
};
|
|
232
|
+
})(FlowConnectionConfiguration || (FlowConnectionConfiguration = {}));
|
|
233
|
+
export const FlowConnectionType = {
|
|
234
|
+
CONDITIONAL: "Conditional",
|
|
235
|
+
DATA: "Data",
|
|
236
|
+
};
|
|
237
|
+
export var PromptInferenceConfiguration;
|
|
238
|
+
(function (PromptInferenceConfiguration) {
|
|
239
|
+
PromptInferenceConfiguration.visit = (value, visitor) => {
|
|
240
|
+
if (value.text !== undefined)
|
|
241
|
+
return visitor.text(value.text);
|
|
242
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
243
|
+
};
|
|
244
|
+
})(PromptInferenceConfiguration || (PromptInferenceConfiguration = {}));
|
|
245
|
+
export var PromptTemplateConfiguration;
|
|
246
|
+
(function (PromptTemplateConfiguration) {
|
|
247
|
+
PromptTemplateConfiguration.visit = (value, visitor) => {
|
|
248
|
+
if (value.text !== undefined)
|
|
249
|
+
return visitor.text(value.text);
|
|
250
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
251
|
+
};
|
|
252
|
+
})(PromptTemplateConfiguration || (PromptTemplateConfiguration = {}));
|
|
253
|
+
export const PromptTemplateType = {
|
|
254
|
+
TEXT: "TEXT",
|
|
255
|
+
};
|
|
256
|
+
export var PromptFlowNodeSourceConfiguration;
|
|
257
|
+
(function (PromptFlowNodeSourceConfiguration) {
|
|
258
|
+
PromptFlowNodeSourceConfiguration.visit = (value, visitor) => {
|
|
259
|
+
if (value.resource !== undefined)
|
|
260
|
+
return visitor.resource(value.resource);
|
|
261
|
+
if (value.inline !== undefined)
|
|
262
|
+
return visitor.inline(value.inline);
|
|
263
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
264
|
+
};
|
|
265
|
+
})(PromptFlowNodeSourceConfiguration || (PromptFlowNodeSourceConfiguration = {}));
|
|
266
|
+
export var RetrievalFlowNodeServiceConfiguration;
|
|
267
|
+
(function (RetrievalFlowNodeServiceConfiguration) {
|
|
268
|
+
RetrievalFlowNodeServiceConfiguration.visit = (value, visitor) => {
|
|
269
|
+
if (value.s3 !== undefined)
|
|
270
|
+
return visitor.s3(value.s3);
|
|
271
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
272
|
+
};
|
|
273
|
+
})(RetrievalFlowNodeServiceConfiguration || (RetrievalFlowNodeServiceConfiguration = {}));
|
|
274
|
+
export var StorageFlowNodeServiceConfiguration;
|
|
275
|
+
(function (StorageFlowNodeServiceConfiguration) {
|
|
276
|
+
StorageFlowNodeServiceConfiguration.visit = (value, visitor) => {
|
|
277
|
+
if (value.s3 !== undefined)
|
|
278
|
+
return visitor.s3(value.s3);
|
|
279
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
280
|
+
};
|
|
281
|
+
})(StorageFlowNodeServiceConfiguration || (StorageFlowNodeServiceConfiguration = {}));
|
|
282
|
+
export var FlowNodeConfiguration;
|
|
283
|
+
(function (FlowNodeConfiguration) {
|
|
284
|
+
FlowNodeConfiguration.visit = (value, visitor) => {
|
|
285
|
+
if (value.input !== undefined)
|
|
286
|
+
return visitor.input(value.input);
|
|
287
|
+
if (value.output !== undefined)
|
|
288
|
+
return visitor.output(value.output);
|
|
289
|
+
if (value.knowledgeBase !== undefined)
|
|
290
|
+
return visitor.knowledgeBase(value.knowledgeBase);
|
|
291
|
+
if (value.condition !== undefined)
|
|
292
|
+
return visitor.condition(value.condition);
|
|
293
|
+
if (value.lex !== undefined)
|
|
294
|
+
return visitor.lex(value.lex);
|
|
295
|
+
if (value.prompt !== undefined)
|
|
296
|
+
return visitor.prompt(value.prompt);
|
|
297
|
+
if (value.lambdaFunction !== undefined)
|
|
298
|
+
return visitor.lambdaFunction(value.lambdaFunction);
|
|
299
|
+
if (value.storage !== undefined)
|
|
300
|
+
return visitor.storage(value.storage);
|
|
301
|
+
if (value.agent !== undefined)
|
|
302
|
+
return visitor.agent(value.agent);
|
|
303
|
+
if (value.retrieval !== undefined)
|
|
304
|
+
return visitor.retrieval(value.retrieval);
|
|
305
|
+
if (value.iterator !== undefined)
|
|
306
|
+
return visitor.iterator(value.iterator);
|
|
307
|
+
if (value.collector !== undefined)
|
|
308
|
+
return visitor.collector(value.collector);
|
|
309
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
310
|
+
};
|
|
311
|
+
})(FlowNodeConfiguration || (FlowNodeConfiguration = {}));
|
|
312
|
+
export const FlowNodeIODataType = {
|
|
313
|
+
ARRAY: "Array",
|
|
314
|
+
BOOLEAN: "Boolean",
|
|
315
|
+
NUMBER: "Number",
|
|
316
|
+
OBJECT: "Object",
|
|
317
|
+
STRING: "String",
|
|
318
|
+
};
|
|
319
|
+
export const FlowNodeType = {
|
|
320
|
+
AGENT: "Agent",
|
|
321
|
+
COLLECTOR: "Collector",
|
|
322
|
+
CONDITION: "Condition",
|
|
323
|
+
INPUT: "Input",
|
|
324
|
+
ITERATOR: "Iterator",
|
|
325
|
+
KNOWLEDGE_BASE: "KnowledgeBase",
|
|
326
|
+
LAMBDA_FUNCTION: "LambdaFunction",
|
|
327
|
+
LEX: "Lex",
|
|
328
|
+
OUTPUT: "Output",
|
|
329
|
+
PROMPT: "Prompt",
|
|
330
|
+
RETRIEVAL: "Retrieval",
|
|
331
|
+
STORAGE: "Storage",
|
|
332
|
+
};
|
|
333
|
+
export const FlowStatus = {
|
|
334
|
+
FAILED: "Failed",
|
|
335
|
+
NOT_PREPARED: "NotPrepared",
|
|
336
|
+
PREPARED: "Prepared",
|
|
337
|
+
PREPARING: "Preparing",
|
|
338
|
+
};
|
|
339
|
+
export const FlowValidationSeverity = {
|
|
340
|
+
ERROR: "Error",
|
|
341
|
+
WARNING: "Warning",
|
|
342
|
+
};
|
|
184
343
|
export const IngestionJobStatus = {
|
|
185
344
|
COMPLETE: "COMPLETE",
|
|
186
345
|
FAILED: "FAILED",
|
|
@@ -257,8 +416,15 @@ export const UpdateAgentActionGroupResponseFilterSensitiveLog = (obj) => ({
|
|
|
257
416
|
...obj,
|
|
258
417
|
...(obj.agentActionGroup && { agentActionGroup: AgentActionGroupFilterSensitiveLog(obj.agentActionGroup) }),
|
|
259
418
|
});
|
|
419
|
+
export const PromptConfigurationFilterSensitiveLog = (obj) => ({
|
|
420
|
+
...obj,
|
|
421
|
+
...(obj.basePromptTemplate && { basePromptTemplate: SENSITIVE_STRING }),
|
|
422
|
+
});
|
|
260
423
|
export const PromptOverrideConfigurationFilterSensitiveLog = (obj) => ({
|
|
261
424
|
...obj,
|
|
425
|
+
...(obj.promptConfigurations && {
|
|
426
|
+
promptConfigurations: obj.promptConfigurations.map((item) => PromptConfigurationFilterSensitiveLog(item)),
|
|
427
|
+
}),
|
|
262
428
|
});
|
|
263
429
|
export const AgentFilterSensitiveLog = (obj) => ({
|
|
264
430
|
...obj,
|
|
@@ -292,6 +458,258 @@ export const AgentVersionFilterSensitiveLog = (obj) => ({
|
|
|
292
458
|
...(obj.instruction && { instruction: SENSITIVE_STRING }),
|
|
293
459
|
...(obj.promptOverrideConfiguration && { promptOverrideConfiguration: SENSITIVE_STRING }),
|
|
294
460
|
});
|
|
461
|
+
export const PatternObjectFilterFilterSensitiveLog = (obj) => ({
|
|
462
|
+
...obj,
|
|
463
|
+
...(obj.objectType && { objectType: SENSITIVE_STRING }),
|
|
464
|
+
...(obj.inclusionFilters && { inclusionFilters: SENSITIVE_STRING }),
|
|
465
|
+
...(obj.exclusionFilters && { exclusionFilters: SENSITIVE_STRING }),
|
|
466
|
+
});
|
|
467
|
+
export const PatternObjectFilterConfigurationFilterSensitiveLog = (obj) => ({
|
|
468
|
+
...obj,
|
|
469
|
+
...(obj.filters && { filters: SENSITIVE_STRING }),
|
|
470
|
+
});
|
|
471
|
+
export const CrawlFilterConfigurationFilterSensitiveLog = (obj) => ({
|
|
472
|
+
...obj,
|
|
473
|
+
...(obj.patternObjectFilter && {
|
|
474
|
+
patternObjectFilter: PatternObjectFilterConfigurationFilterSensitiveLog(obj.patternObjectFilter),
|
|
475
|
+
}),
|
|
476
|
+
});
|
|
477
|
+
export const ConfluenceCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
478
|
+
...obj,
|
|
479
|
+
...(obj.filterConfiguration && {
|
|
480
|
+
filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration),
|
|
481
|
+
}),
|
|
482
|
+
});
|
|
483
|
+
export const ConfluenceDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
484
|
+
...obj,
|
|
485
|
+
...(obj.crawlerConfiguration && {
|
|
486
|
+
crawlerConfiguration: ConfluenceCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration),
|
|
487
|
+
}),
|
|
488
|
+
});
|
|
489
|
+
export const S3DataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
490
|
+
...obj,
|
|
491
|
+
...(obj.inclusionPrefixes && { inclusionPrefixes: SENSITIVE_STRING }),
|
|
492
|
+
});
|
|
493
|
+
export const SalesforceCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
494
|
+
...obj,
|
|
495
|
+
...(obj.filterConfiguration && {
|
|
496
|
+
filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration),
|
|
497
|
+
}),
|
|
498
|
+
});
|
|
499
|
+
export const SalesforceDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
500
|
+
...obj,
|
|
501
|
+
...(obj.crawlerConfiguration && {
|
|
502
|
+
crawlerConfiguration: SalesforceCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration),
|
|
503
|
+
}),
|
|
504
|
+
});
|
|
505
|
+
export const SharePointCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
506
|
+
...obj,
|
|
507
|
+
...(obj.filterConfiguration && {
|
|
508
|
+
filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration),
|
|
509
|
+
}),
|
|
510
|
+
});
|
|
511
|
+
export const SharePointDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
512
|
+
...obj,
|
|
513
|
+
...(obj.crawlerConfiguration && {
|
|
514
|
+
crawlerConfiguration: SharePointCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration),
|
|
515
|
+
}),
|
|
516
|
+
});
|
|
517
|
+
export const WebCrawlerConfigurationFilterSensitiveLog = (obj) => ({
|
|
518
|
+
...obj,
|
|
519
|
+
...(obj.inclusionFilters && { inclusionFilters: SENSITIVE_STRING }),
|
|
520
|
+
...(obj.exclusionFilters && { exclusionFilters: SENSITIVE_STRING }),
|
|
521
|
+
});
|
|
522
|
+
export const WebDataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
...(obj.crawlerConfiguration && {
|
|
525
|
+
crawlerConfiguration: WebCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration),
|
|
526
|
+
}),
|
|
527
|
+
});
|
|
528
|
+
export const DataSourceConfigurationFilterSensitiveLog = (obj) => ({
|
|
529
|
+
...obj,
|
|
530
|
+
...(obj.s3Configuration && { s3Configuration: S3DataSourceConfigurationFilterSensitiveLog(obj.s3Configuration) }),
|
|
531
|
+
...(obj.webConfiguration && { webConfiguration: WebDataSourceConfigurationFilterSensitiveLog(obj.webConfiguration) }),
|
|
532
|
+
...(obj.confluenceConfiguration && {
|
|
533
|
+
confluenceConfiguration: ConfluenceDataSourceConfigurationFilterSensitiveLog(obj.confluenceConfiguration),
|
|
534
|
+
}),
|
|
535
|
+
...(obj.salesforceConfiguration && {
|
|
536
|
+
salesforceConfiguration: SalesforceDataSourceConfigurationFilterSensitiveLog(obj.salesforceConfiguration),
|
|
537
|
+
}),
|
|
538
|
+
...(obj.sharePointConfiguration && {
|
|
539
|
+
sharePointConfiguration: SharePointDataSourceConfigurationFilterSensitiveLog(obj.sharePointConfiguration),
|
|
540
|
+
}),
|
|
541
|
+
});
|
|
542
|
+
export const CreateDataSourceRequestFilterSensitiveLog = (obj) => ({
|
|
543
|
+
...obj,
|
|
544
|
+
...(obj.dataSourceConfiguration && {
|
|
545
|
+
dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration),
|
|
546
|
+
}),
|
|
547
|
+
});
|
|
548
|
+
export const DataSourceFilterSensitiveLog = (obj) => ({
|
|
549
|
+
...obj,
|
|
550
|
+
...(obj.dataSourceConfiguration && {
|
|
551
|
+
dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration),
|
|
552
|
+
}),
|
|
553
|
+
});
|
|
554
|
+
export const CreateDataSourceResponseFilterSensitiveLog = (obj) => ({
|
|
555
|
+
...obj,
|
|
556
|
+
...(obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }),
|
|
557
|
+
});
|
|
558
|
+
export const GetDataSourceResponseFilterSensitiveLog = (obj) => ({
|
|
559
|
+
...obj,
|
|
560
|
+
...(obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }),
|
|
561
|
+
});
|
|
562
|
+
export const UpdateDataSourceRequestFilterSensitiveLog = (obj) => ({
|
|
563
|
+
...obj,
|
|
564
|
+
...(obj.dataSourceConfiguration && {
|
|
565
|
+
dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration),
|
|
566
|
+
}),
|
|
567
|
+
});
|
|
568
|
+
export const UpdateDataSourceResponseFilterSensitiveLog = (obj) => ({
|
|
569
|
+
...obj,
|
|
570
|
+
...(obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }),
|
|
571
|
+
});
|
|
572
|
+
export const FlowConditionFilterSensitiveLog = (obj) => ({
|
|
573
|
+
...obj,
|
|
574
|
+
...(obj.expression && { expression: SENSITIVE_STRING }),
|
|
575
|
+
});
|
|
576
|
+
export const ConditionFlowNodeConfigurationFilterSensitiveLog = (obj) => ({
|
|
577
|
+
...obj,
|
|
578
|
+
...(obj.conditions && { conditions: SENSITIVE_STRING }),
|
|
579
|
+
});
|
|
580
|
+
export const TextPromptTemplateConfigurationFilterSensitiveLog = (obj) => ({
|
|
581
|
+
...obj,
|
|
582
|
+
...(obj.text && { text: SENSITIVE_STRING }),
|
|
583
|
+
...(obj.inputVariables && { inputVariables: SENSITIVE_STRING }),
|
|
584
|
+
});
|
|
585
|
+
export const PromptTemplateConfigurationFilterSensitiveLog = (obj) => {
|
|
586
|
+
if (obj.text !== undefined)
|
|
587
|
+
return { text: SENSITIVE_STRING };
|
|
588
|
+
if (obj.$unknown !== undefined)
|
|
589
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
590
|
+
};
|
|
591
|
+
export const PromptFlowNodeInlineConfigurationFilterSensitiveLog = (obj) => ({
|
|
592
|
+
...obj,
|
|
593
|
+
...(obj.templateConfiguration && {
|
|
594
|
+
templateConfiguration: PromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration),
|
|
595
|
+
}),
|
|
596
|
+
...(obj.inferenceConfiguration && { inferenceConfiguration: obj.inferenceConfiguration }),
|
|
597
|
+
});
|
|
598
|
+
export const PromptFlowNodeSourceConfigurationFilterSensitiveLog = (obj) => {
|
|
599
|
+
if (obj.resource !== undefined)
|
|
600
|
+
return { resource: obj.resource };
|
|
601
|
+
if (obj.inline !== undefined)
|
|
602
|
+
return { inline: PromptFlowNodeInlineConfigurationFilterSensitiveLog(obj.inline) };
|
|
603
|
+
if (obj.$unknown !== undefined)
|
|
604
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
605
|
+
};
|
|
606
|
+
export const PromptFlowNodeConfigurationFilterSensitiveLog = (obj) => ({
|
|
607
|
+
...obj,
|
|
608
|
+
...(obj.sourceConfiguration && {
|
|
609
|
+
sourceConfiguration: PromptFlowNodeSourceConfigurationFilterSensitiveLog(obj.sourceConfiguration),
|
|
610
|
+
}),
|
|
611
|
+
});
|
|
612
|
+
export const FlowNodeConfigurationFilterSensitiveLog = (obj) => {
|
|
613
|
+
if (obj.input !== undefined)
|
|
614
|
+
return { input: obj.input };
|
|
615
|
+
if (obj.output !== undefined)
|
|
616
|
+
return { output: obj.output };
|
|
617
|
+
if (obj.knowledgeBase !== undefined)
|
|
618
|
+
return { knowledgeBase: obj.knowledgeBase };
|
|
619
|
+
if (obj.condition !== undefined)
|
|
620
|
+
return { condition: ConditionFlowNodeConfigurationFilterSensitiveLog(obj.condition) };
|
|
621
|
+
if (obj.lex !== undefined)
|
|
622
|
+
return { lex: obj.lex };
|
|
623
|
+
if (obj.prompt !== undefined)
|
|
624
|
+
return { prompt: PromptFlowNodeConfigurationFilterSensitiveLog(obj.prompt) };
|
|
625
|
+
if (obj.lambdaFunction !== undefined)
|
|
626
|
+
return { lambdaFunction: obj.lambdaFunction };
|
|
627
|
+
if (obj.storage !== undefined)
|
|
628
|
+
return { storage: obj.storage };
|
|
629
|
+
if (obj.agent !== undefined)
|
|
630
|
+
return { agent: obj.agent };
|
|
631
|
+
if (obj.retrieval !== undefined)
|
|
632
|
+
return { retrieval: obj.retrieval };
|
|
633
|
+
if (obj.iterator !== undefined)
|
|
634
|
+
return { iterator: obj.iterator };
|
|
635
|
+
if (obj.collector !== undefined)
|
|
636
|
+
return { collector: obj.collector };
|
|
637
|
+
if (obj.$unknown !== undefined)
|
|
638
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
639
|
+
};
|
|
640
|
+
export const FlowNodeInputFilterSensitiveLog = (obj) => ({
|
|
641
|
+
...obj,
|
|
642
|
+
...(obj.expression && { expression: SENSITIVE_STRING }),
|
|
643
|
+
});
|
|
644
|
+
export const FlowNodeFilterSensitiveLog = (obj) => ({
|
|
645
|
+
...obj,
|
|
646
|
+
...(obj.configuration && { configuration: FlowNodeConfigurationFilterSensitiveLog(obj.configuration) }),
|
|
647
|
+
...(obj.inputs && { inputs: obj.inputs.map((item) => FlowNodeInputFilterSensitiveLog(item)) }),
|
|
648
|
+
});
|
|
649
|
+
export const FlowDefinitionFilterSensitiveLog = (obj) => ({
|
|
650
|
+
...obj,
|
|
651
|
+
...(obj.nodes && { nodes: SENSITIVE_STRING }),
|
|
652
|
+
...(obj.connections && { connections: obj.connections.map((item) => item) }),
|
|
653
|
+
});
|
|
654
|
+
export const CreateFlowRequestFilterSensitiveLog = (obj) => ({
|
|
655
|
+
...obj,
|
|
656
|
+
...(obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }),
|
|
657
|
+
});
|
|
658
|
+
export const CreateFlowResponseFilterSensitiveLog = (obj) => ({
|
|
659
|
+
...obj,
|
|
660
|
+
...(obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }),
|
|
661
|
+
});
|
|
662
|
+
export const CreateFlowVersionResponseFilterSensitiveLog = (obj) => ({
|
|
663
|
+
...obj,
|
|
664
|
+
...(obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }),
|
|
665
|
+
});
|
|
666
|
+
export const GetFlowVersionResponseFilterSensitiveLog = (obj) => ({
|
|
667
|
+
...obj,
|
|
668
|
+
...(obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }),
|
|
669
|
+
});
|
|
670
|
+
export const GetFlowResponseFilterSensitiveLog = (obj) => ({
|
|
671
|
+
...obj,
|
|
672
|
+
...(obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }),
|
|
673
|
+
});
|
|
674
|
+
export const UpdateFlowRequestFilterSensitiveLog = (obj) => ({
|
|
675
|
+
...obj,
|
|
676
|
+
...(obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }),
|
|
677
|
+
});
|
|
678
|
+
export const UpdateFlowResponseFilterSensitiveLog = (obj) => ({
|
|
679
|
+
...obj,
|
|
680
|
+
...(obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }),
|
|
681
|
+
});
|
|
682
|
+
export const PromptVariantFilterSensitiveLog = (obj) => ({
|
|
683
|
+
...obj,
|
|
684
|
+
...(obj.templateConfiguration && {
|
|
685
|
+
templateConfiguration: PromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration),
|
|
686
|
+
}),
|
|
687
|
+
...(obj.inferenceConfiguration && { inferenceConfiguration: obj.inferenceConfiguration }),
|
|
688
|
+
});
|
|
689
|
+
export const CreatePromptRequestFilterSensitiveLog = (obj) => ({
|
|
690
|
+
...obj,
|
|
691
|
+
...(obj.variants && { variants: SENSITIVE_STRING }),
|
|
692
|
+
});
|
|
693
|
+
export const CreatePromptResponseFilterSensitiveLog = (obj) => ({
|
|
694
|
+
...obj,
|
|
695
|
+
...(obj.variants && { variants: SENSITIVE_STRING }),
|
|
696
|
+
});
|
|
697
|
+
export const CreatePromptVersionResponseFilterSensitiveLog = (obj) => ({
|
|
698
|
+
...obj,
|
|
699
|
+
...(obj.variants && { variants: SENSITIVE_STRING }),
|
|
700
|
+
});
|
|
701
|
+
export const GetPromptResponseFilterSensitiveLog = (obj) => ({
|
|
702
|
+
...obj,
|
|
703
|
+
...(obj.variants && { variants: SENSITIVE_STRING }),
|
|
704
|
+
});
|
|
705
|
+
export const UpdatePromptRequestFilterSensitiveLog = (obj) => ({
|
|
706
|
+
...obj,
|
|
707
|
+
...(obj.variants && { variants: SENSITIVE_STRING }),
|
|
708
|
+
});
|
|
709
|
+
export const UpdatePromptResponseFilterSensitiveLog = (obj) => ({
|
|
710
|
+
...obj,
|
|
711
|
+
...(obj.variants && { variants: SENSITIVE_STRING }),
|
|
712
|
+
});
|
|
295
713
|
export const GetAgentVersionResponseFilterSensitiveLog = (obj) => ({
|
|
296
714
|
...obj,
|
|
297
715
|
...(obj.agentVersion && { agentVersion: AgentVersionFilterSensitiveLog(obj.agentVersion) }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentClient } from "../BedrockAgentClient";
|
|
3
|
+
import { ListFlowAliasesCommand, } from "../commands/ListFlowAliasesCommand";
|
|
4
|
+
export const paginateListFlowAliases = createPaginator(BedrockAgentClient, ListFlowAliasesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentClient } from "../BedrockAgentClient";
|
|
3
|
+
import { ListFlowVersionsCommand, } from "../commands/ListFlowVersionsCommand";
|
|
4
|
+
export const paginateListFlowVersions = createPaginator(BedrockAgentClient, ListFlowVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentClient } from "../BedrockAgentClient";
|
|
3
|
+
import { ListFlowsCommand } from "../commands/ListFlowsCommand";
|
|
4
|
+
export const paginateListFlows = createPaginator(BedrockAgentClient, ListFlowsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentClient } from "../BedrockAgentClient";
|
|
3
|
+
import { ListPromptsCommand } from "../commands/ListPromptsCommand";
|
|
4
|
+
export const paginateListPrompts = createPaginator(BedrockAgentClient, ListPromptsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -5,5 +5,9 @@ export * from "./ListAgentKnowledgeBasesPaginator";
|
|
|
5
5
|
export * from "./ListAgentVersionsPaginator";
|
|
6
6
|
export * from "./ListAgentsPaginator";
|
|
7
7
|
export * from "./ListDataSourcesPaginator";
|
|
8
|
+
export * from "./ListFlowAliasesPaginator";
|
|
9
|
+
export * from "./ListFlowVersionsPaginator";
|
|
10
|
+
export * from "./ListFlowsPaginator";
|
|
8
11
|
export * from "./ListIngestionJobsPaginator";
|
|
9
12
|
export * from "./ListKnowledgeBasesPaginator";
|
|
13
|
+
export * from "./ListPromptsPaginator";
|