@aws-sdk/client-bedrock-agent 3.703.0 → 3.705.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 +40 -0
- package/dist-cjs/index.js +406 -62
- package/dist-es/BedrockAgent.js +10 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
- package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +43 -48
- package/dist-es/models/models_1.js +49 -1
- package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +184 -0
- package/dist-types/BedrockAgent.d.ts +35 -0
- package/dist-types/BedrockAgentClient.d.ts +7 -2
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
- package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
- package/dist-types/commands/GetAgentCommand.d.ts +2 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +389 -294
- package/dist-types/models/models_1.d.ts +301 -1
- package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +116 -98
- package/dist-types/ts3.4/models/models_1.d.ts +103 -0
- package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
package/dist-es/BedrockAgent.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { BedrockAgentClient } from "./BedrockAgentClient";
|
|
3
|
+
import { AssociateAgentCollaboratorCommand, } from "./commands/AssociateAgentCollaboratorCommand";
|
|
3
4
|
import { AssociateAgentKnowledgeBaseCommand, } from "./commands/AssociateAgentKnowledgeBaseCommand";
|
|
4
5
|
import { CreateAgentActionGroupCommand, } from "./commands/CreateAgentActionGroupCommand";
|
|
5
6
|
import { CreateAgentAliasCommand, } from "./commands/CreateAgentAliasCommand";
|
|
@@ -22,9 +23,11 @@ import { DeleteFlowVersionCommand, } from "./commands/DeleteFlowVersionCommand";
|
|
|
22
23
|
import { DeleteKnowledgeBaseCommand, } from "./commands/DeleteKnowledgeBaseCommand";
|
|
23
24
|
import { DeleteKnowledgeBaseDocumentsCommand, } from "./commands/DeleteKnowledgeBaseDocumentsCommand";
|
|
24
25
|
import { DeletePromptCommand, } from "./commands/DeletePromptCommand";
|
|
26
|
+
import { DisassociateAgentCollaboratorCommand, } from "./commands/DisassociateAgentCollaboratorCommand";
|
|
25
27
|
import { DisassociateAgentKnowledgeBaseCommand, } from "./commands/DisassociateAgentKnowledgeBaseCommand";
|
|
26
28
|
import { GetAgentActionGroupCommand, } from "./commands/GetAgentActionGroupCommand";
|
|
27
29
|
import { GetAgentAliasCommand, } from "./commands/GetAgentAliasCommand";
|
|
30
|
+
import { GetAgentCollaboratorCommand, } from "./commands/GetAgentCollaboratorCommand";
|
|
28
31
|
import { GetAgentCommand } from "./commands/GetAgentCommand";
|
|
29
32
|
import { GetAgentKnowledgeBaseCommand, } from "./commands/GetAgentKnowledgeBaseCommand";
|
|
30
33
|
import { GetAgentVersionCommand, } from "./commands/GetAgentVersionCommand";
|
|
@@ -39,6 +42,7 @@ import { GetPromptCommand } from "./commands/GetPromptCommand";
|
|
|
39
42
|
import { IngestKnowledgeBaseDocumentsCommand, } from "./commands/IngestKnowledgeBaseDocumentsCommand";
|
|
40
43
|
import { ListAgentActionGroupsCommand, } from "./commands/ListAgentActionGroupsCommand";
|
|
41
44
|
import { ListAgentAliasesCommand, } from "./commands/ListAgentAliasesCommand";
|
|
45
|
+
import { ListAgentCollaboratorsCommand, } from "./commands/ListAgentCollaboratorsCommand";
|
|
42
46
|
import { ListAgentKnowledgeBasesCommand, } from "./commands/ListAgentKnowledgeBasesCommand";
|
|
43
47
|
import { ListAgentsCommand } from "./commands/ListAgentsCommand";
|
|
44
48
|
import { ListAgentVersionsCommand, } from "./commands/ListAgentVersionsCommand";
|
|
@@ -59,6 +63,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
59
63
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
60
64
|
import { UpdateAgentActionGroupCommand, } from "./commands/UpdateAgentActionGroupCommand";
|
|
61
65
|
import { UpdateAgentAliasCommand, } from "./commands/UpdateAgentAliasCommand";
|
|
66
|
+
import { UpdateAgentCollaboratorCommand, } from "./commands/UpdateAgentCollaboratorCommand";
|
|
62
67
|
import { UpdateAgentCommand } from "./commands/UpdateAgentCommand";
|
|
63
68
|
import { UpdateAgentKnowledgeBaseCommand, } from "./commands/UpdateAgentKnowledgeBaseCommand";
|
|
64
69
|
import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
|
|
@@ -68,6 +73,7 @@ import { UpdateKnowledgeBaseCommand, } from "./commands/UpdateKnowledgeBaseComma
|
|
|
68
73
|
import { UpdatePromptCommand, } from "./commands/UpdatePromptCommand";
|
|
69
74
|
import { ValidateFlowDefinitionCommand, } from "./commands/ValidateFlowDefinitionCommand";
|
|
70
75
|
const commands = {
|
|
76
|
+
AssociateAgentCollaboratorCommand,
|
|
71
77
|
AssociateAgentKnowledgeBaseCommand,
|
|
72
78
|
CreateAgentCommand,
|
|
73
79
|
CreateAgentActionGroupCommand,
|
|
@@ -90,10 +96,12 @@ const commands = {
|
|
|
90
96
|
DeleteKnowledgeBaseCommand,
|
|
91
97
|
DeleteKnowledgeBaseDocumentsCommand,
|
|
92
98
|
DeletePromptCommand,
|
|
99
|
+
DisassociateAgentCollaboratorCommand,
|
|
93
100
|
DisassociateAgentKnowledgeBaseCommand,
|
|
94
101
|
GetAgentCommand,
|
|
95
102
|
GetAgentActionGroupCommand,
|
|
96
103
|
GetAgentAliasCommand,
|
|
104
|
+
GetAgentCollaboratorCommand,
|
|
97
105
|
GetAgentKnowledgeBaseCommand,
|
|
98
106
|
GetAgentVersionCommand,
|
|
99
107
|
GetDataSourceCommand,
|
|
@@ -107,6 +115,7 @@ const commands = {
|
|
|
107
115
|
IngestKnowledgeBaseDocumentsCommand,
|
|
108
116
|
ListAgentActionGroupsCommand,
|
|
109
117
|
ListAgentAliasesCommand,
|
|
118
|
+
ListAgentCollaboratorsCommand,
|
|
110
119
|
ListAgentKnowledgeBasesCommand,
|
|
111
120
|
ListAgentsCommand,
|
|
112
121
|
ListAgentVersionsCommand,
|
|
@@ -128,6 +137,7 @@ const commands = {
|
|
|
128
137
|
UpdateAgentCommand,
|
|
129
138
|
UpdateAgentActionGroupCommand,
|
|
130
139
|
UpdateAgentAliasCommand,
|
|
140
|
+
UpdateAgentCollaboratorCommand,
|
|
131
141
|
UpdateAgentKnowledgeBaseCommand,
|
|
132
142
|
UpdateDataSourceCommand,
|
|
133
143
|
UpdateFlowCommand,
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { AssociateAgentCollaboratorRequestFilterSensitiveLog, AssociateAgentCollaboratorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_AssociateAgentCollaboratorCommand, se_AssociateAgentCollaboratorCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class AssociateAgentCollaboratorCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "AssociateAgentCollaborator", {})
|
|
18
|
+
.n("BedrockAgentClient", "AssociateAgentCollaboratorCommand")
|
|
19
|
+
.f(AssociateAgentCollaboratorRequestFilterSensitiveLog, AssociateAgentCollaboratorResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_AssociateAgentCollaboratorCommand)
|
|
21
|
+
.de(de_AssociateAgentCollaboratorCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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_DisassociateAgentCollaboratorCommand, se_DisassociateAgentCollaboratorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateAgentCollaboratorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "DisassociateAgentCollaborator", {})
|
|
17
|
+
.n("BedrockAgentClient", "DisassociateAgentCollaboratorCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisassociateAgentCollaboratorCommand)
|
|
20
|
+
.de(de_DisassociateAgentCollaboratorCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { GetAgentCollaboratorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_GetAgentCollaboratorCommand, se_GetAgentCollaboratorCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetAgentCollaboratorCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "GetAgentCollaborator", {})
|
|
18
|
+
.n("BedrockAgentClient", "GetAgentCollaboratorCommand")
|
|
19
|
+
.f(void 0, GetAgentCollaboratorResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetAgentCollaboratorCommand)
|
|
21
|
+
.de(de_GetAgentCollaboratorCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { de_IngestKnowledgeBaseDocumentsCommand, se_IngestKnowledgeBaseDocumentsCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class IngestKnowledgeBaseDocumentsCommand extends $Command
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { ListAgentCollaboratorsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListAgentCollaboratorsCommand, se_ListAgentCollaboratorsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListAgentCollaboratorsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "ListAgentCollaborators", {})
|
|
18
|
+
.n("BedrockAgentClient", "ListAgentCollaboratorsCommand")
|
|
19
|
+
.f(void 0, ListAgentCollaboratorsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListAgentCollaboratorsCommand)
|
|
21
|
+
.de(de_ListAgentCollaboratorsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { UpdateAgentCollaboratorRequestFilterSensitiveLog, UpdateAgentCollaboratorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateAgentCollaboratorCommand, se_UpdateAgentCollaboratorCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateAgentCollaboratorCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateAgentCollaborator", {})
|
|
18
|
+
.n("BedrockAgentClient", "UpdateAgentCollaboratorCommand")
|
|
19
|
+
.f(UpdateAgentCollaboratorRequestFilterSensitiveLog, UpdateAgentCollaboratorResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_UpdateAgentCollaboratorCommand)
|
|
21
|
+
.de(de_UpdateAgentCollaboratorCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AssociateAgentCollaboratorCommand";
|
|
1
2
|
export * from "./AssociateAgentKnowledgeBaseCommand";
|
|
2
3
|
export * from "./CreateAgentActionGroupCommand";
|
|
3
4
|
export * from "./CreateAgentAliasCommand";
|
|
@@ -20,9 +21,11 @@ export * from "./DeleteFlowVersionCommand";
|
|
|
20
21
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
21
22
|
export * from "./DeleteKnowledgeBaseDocumentsCommand";
|
|
22
23
|
export * from "./DeletePromptCommand";
|
|
24
|
+
export * from "./DisassociateAgentCollaboratorCommand";
|
|
23
25
|
export * from "./DisassociateAgentKnowledgeBaseCommand";
|
|
24
26
|
export * from "./GetAgentActionGroupCommand";
|
|
25
27
|
export * from "./GetAgentAliasCommand";
|
|
28
|
+
export * from "./GetAgentCollaboratorCommand";
|
|
26
29
|
export * from "./GetAgentCommand";
|
|
27
30
|
export * from "./GetAgentKnowledgeBaseCommand";
|
|
28
31
|
export * from "./GetAgentVersionCommand";
|
|
@@ -37,6 +40,7 @@ export * from "./GetPromptCommand";
|
|
|
37
40
|
export * from "./IngestKnowledgeBaseDocumentsCommand";
|
|
38
41
|
export * from "./ListAgentActionGroupsCommand";
|
|
39
42
|
export * from "./ListAgentAliasesCommand";
|
|
43
|
+
export * from "./ListAgentCollaboratorsCommand";
|
|
40
44
|
export * from "./ListAgentKnowledgeBasesCommand";
|
|
41
45
|
export * from "./ListAgentVersionsCommand";
|
|
42
46
|
export * from "./ListAgentsCommand";
|
|
@@ -57,6 +61,7 @@ export * from "./TagResourceCommand";
|
|
|
57
61
|
export * from "./UntagResourceCommand";
|
|
58
62
|
export * from "./UpdateAgentActionGroupCommand";
|
|
59
63
|
export * from "./UpdateAgentAliasCommand";
|
|
64
|
+
export * from "./UpdateAgentCollaboratorCommand";
|
|
60
65
|
export * from "./UpdateAgentCommand";
|
|
61
66
|
export * from "./UpdateAgentKnowledgeBaseCommand";
|
|
62
67
|
export * from "./UpdateDataSourceCommand";
|
|
@@ -135,6 +135,11 @@ export class ValidationException extends __BaseException {
|
|
|
135
135
|
this.fieldList = opts.fieldList;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
+
export const AgentCollaboration = {
|
|
139
|
+
DISABLED: "DISABLED",
|
|
140
|
+
SUPERVISOR: "SUPERVISOR",
|
|
141
|
+
SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER",
|
|
142
|
+
};
|
|
138
143
|
export const AgentStatus = {
|
|
139
144
|
CREATING: "CREATING",
|
|
140
145
|
DELETING: "DELETING",
|
|
@@ -181,6 +186,10 @@ export const AgentAliasStatus = {
|
|
|
181
186
|
PREPARED: "PREPARED",
|
|
182
187
|
UPDATING: "UPDATING",
|
|
183
188
|
};
|
|
189
|
+
export const RelayConversationHistory = {
|
|
190
|
+
DISABLED: "DISABLED",
|
|
191
|
+
TO_COLLABORATOR: "TO_COLLABORATOR",
|
|
192
|
+
};
|
|
184
193
|
export const KnowledgeBaseState = {
|
|
185
194
|
DISABLED: "DISABLED",
|
|
186
195
|
ENABLED: "ENABLED",
|
|
@@ -535,20 +544,6 @@ export const InlineContentType = {
|
|
|
535
544
|
BYTE: "BYTE",
|
|
536
545
|
TEXT: "TEXT",
|
|
537
546
|
};
|
|
538
|
-
export const CustomSourceType = {
|
|
539
|
-
IN_LINE: "IN_LINE",
|
|
540
|
-
S3_LOCATION: "S3_LOCATION",
|
|
541
|
-
};
|
|
542
|
-
export const MetadataValueType = {
|
|
543
|
-
BOOLEAN: "BOOLEAN",
|
|
544
|
-
NUMBER: "NUMBER",
|
|
545
|
-
STRING: "STRING",
|
|
546
|
-
STRING_LIST: "STRING_LIST",
|
|
547
|
-
};
|
|
548
|
-
export const MetadataSourceType = {
|
|
549
|
-
IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
|
|
550
|
-
S3_LOCATION: "S3_LOCATION",
|
|
551
|
-
};
|
|
552
547
|
export const APISchemaFilterSensitiveLog = (obj) => {
|
|
553
548
|
if (obj.s3 !== undefined)
|
|
554
549
|
return { s3: obj.s3 };
|
|
@@ -603,6 +598,40 @@ export const AgentFilterSensitiveLog = (obj) => ({
|
|
|
603
598
|
...(obj.customOrchestration && { customOrchestration: obj.customOrchestration }),
|
|
604
599
|
...(obj.promptOverrideConfiguration && { promptOverrideConfiguration: SENSITIVE_STRING }),
|
|
605
600
|
});
|
|
601
|
+
export const AgentCollaboratorFilterSensitiveLog = (obj) => ({
|
|
602
|
+
...obj,
|
|
603
|
+
...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
|
|
604
|
+
});
|
|
605
|
+
export const AssociateAgentCollaboratorRequestFilterSensitiveLog = (obj) => ({
|
|
606
|
+
...obj,
|
|
607
|
+
...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
|
|
608
|
+
});
|
|
609
|
+
export const AssociateAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
|
|
610
|
+
...obj,
|
|
611
|
+
...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
|
|
612
|
+
});
|
|
613
|
+
export const GetAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
|
|
614
|
+
...obj,
|
|
615
|
+
...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
|
|
616
|
+
});
|
|
617
|
+
export const AgentCollaboratorSummaryFilterSensitiveLog = (obj) => ({
|
|
618
|
+
...obj,
|
|
619
|
+
...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
|
|
620
|
+
});
|
|
621
|
+
export const ListAgentCollaboratorsResponseFilterSensitiveLog = (obj) => ({
|
|
622
|
+
...obj,
|
|
623
|
+
...(obj.agentCollaboratorSummaries && {
|
|
624
|
+
agentCollaboratorSummaries: obj.agentCollaboratorSummaries.map((item) => AgentCollaboratorSummaryFilterSensitiveLog(item)),
|
|
625
|
+
}),
|
|
626
|
+
});
|
|
627
|
+
export const UpdateAgentCollaboratorRequestFilterSensitiveLog = (obj) => ({
|
|
628
|
+
...obj,
|
|
629
|
+
...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
|
|
630
|
+
});
|
|
631
|
+
export const UpdateAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
|
|
632
|
+
...obj,
|
|
633
|
+
...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
|
|
634
|
+
});
|
|
606
635
|
export const CreateAgentRequestFilterSensitiveLog = (obj) => ({
|
|
607
636
|
...obj,
|
|
608
637
|
...(obj.instruction && { instruction: SENSITIVE_STRING }),
|
|
@@ -971,37 +1000,3 @@ export const InlineContentFilterSensitiveLog = (obj) => ({
|
|
|
971
1000
|
...(obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) }),
|
|
972
1001
|
...(obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }),
|
|
973
1002
|
});
|
|
974
|
-
export const CustomContentFilterSensitiveLog = (obj) => ({
|
|
975
|
-
...obj,
|
|
976
|
-
...(obj.inlineContent && { inlineContent: InlineContentFilterSensitiveLog(obj.inlineContent) }),
|
|
977
|
-
});
|
|
978
|
-
export const DocumentContentFilterSensitiveLog = (obj) => ({
|
|
979
|
-
...obj,
|
|
980
|
-
...(obj.custom && { custom: CustomContentFilterSensitiveLog(obj.custom) }),
|
|
981
|
-
});
|
|
982
|
-
export const MetadataAttributeValueFilterSensitiveLog = (obj) => ({
|
|
983
|
-
...obj,
|
|
984
|
-
...(obj.numberValue && { numberValue: SENSITIVE_STRING }),
|
|
985
|
-
...(obj.stringValue && { stringValue: SENSITIVE_STRING }),
|
|
986
|
-
...(obj.stringListValue && { stringListValue: SENSITIVE_STRING }),
|
|
987
|
-
});
|
|
988
|
-
export const MetadataAttributeFilterSensitiveLog = (obj) => ({
|
|
989
|
-
...obj,
|
|
990
|
-
...(obj.key && { key: SENSITIVE_STRING }),
|
|
991
|
-
...(obj.value && { value: MetadataAttributeValueFilterSensitiveLog(obj.value) }),
|
|
992
|
-
});
|
|
993
|
-
export const DocumentMetadataFilterSensitiveLog = (obj) => ({
|
|
994
|
-
...obj,
|
|
995
|
-
...(obj.inlineAttributes && {
|
|
996
|
-
inlineAttributes: obj.inlineAttributes.map((item) => MetadataAttributeFilterSensitiveLog(item)),
|
|
997
|
-
}),
|
|
998
|
-
});
|
|
999
|
-
export const KnowledgeBaseDocumentFilterSensitiveLog = (obj) => ({
|
|
1000
|
-
...obj,
|
|
1001
|
-
...(obj.metadata && { metadata: DocumentMetadataFilterSensitiveLog(obj.metadata) }),
|
|
1002
|
-
...(obj.content && { content: DocumentContentFilterSensitiveLog(obj.content) }),
|
|
1003
|
-
});
|
|
1004
|
-
export const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog = (obj) => ({
|
|
1005
|
-
...obj,
|
|
1006
|
-
...(obj.documents && { documents: obj.documents.map((item) => KnowledgeBaseDocumentFilterSensitiveLog(item)) }),
|
|
1007
|
-
});
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
-
import { AgentVersionFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
|
|
2
|
+
import { AgentVersionFilterSensitiveLog, FlowValidationFilterSensitiveLog, InlineContentFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const CustomSourceType = {
|
|
4
|
+
IN_LINE: "IN_LINE",
|
|
5
|
+
S3_LOCATION: "S3_LOCATION",
|
|
6
|
+
};
|
|
7
|
+
export const MetadataValueType = {
|
|
8
|
+
BOOLEAN: "BOOLEAN",
|
|
9
|
+
NUMBER: "NUMBER",
|
|
10
|
+
STRING: "STRING",
|
|
11
|
+
STRING_LIST: "STRING_LIST",
|
|
12
|
+
};
|
|
13
|
+
export const MetadataSourceType = {
|
|
14
|
+
IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
|
|
15
|
+
S3_LOCATION: "S3_LOCATION",
|
|
16
|
+
};
|
|
3
17
|
export const KnowledgeBaseType = {
|
|
4
18
|
VECTOR: "VECTOR",
|
|
5
19
|
};
|
|
@@ -30,6 +44,40 @@ export var PromptGenAiResource;
|
|
|
30
44
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
31
45
|
};
|
|
32
46
|
})(PromptGenAiResource || (PromptGenAiResource = {}));
|
|
47
|
+
export const CustomContentFilterSensitiveLog = (obj) => ({
|
|
48
|
+
...obj,
|
|
49
|
+
...(obj.inlineContent && { inlineContent: InlineContentFilterSensitiveLog(obj.inlineContent) }),
|
|
50
|
+
});
|
|
51
|
+
export const DocumentContentFilterSensitiveLog = (obj) => ({
|
|
52
|
+
...obj,
|
|
53
|
+
...(obj.custom && { custom: CustomContentFilterSensitiveLog(obj.custom) }),
|
|
54
|
+
});
|
|
55
|
+
export const MetadataAttributeValueFilterSensitiveLog = (obj) => ({
|
|
56
|
+
...obj,
|
|
57
|
+
...(obj.numberValue && { numberValue: SENSITIVE_STRING }),
|
|
58
|
+
...(obj.stringValue && { stringValue: SENSITIVE_STRING }),
|
|
59
|
+
...(obj.stringListValue && { stringListValue: SENSITIVE_STRING }),
|
|
60
|
+
});
|
|
61
|
+
export const MetadataAttributeFilterSensitiveLog = (obj) => ({
|
|
62
|
+
...obj,
|
|
63
|
+
...(obj.key && { key: SENSITIVE_STRING }),
|
|
64
|
+
...(obj.value && { value: MetadataAttributeValueFilterSensitiveLog(obj.value) }),
|
|
65
|
+
});
|
|
66
|
+
export const DocumentMetadataFilterSensitiveLog = (obj) => ({
|
|
67
|
+
...obj,
|
|
68
|
+
...(obj.inlineAttributes && {
|
|
69
|
+
inlineAttributes: obj.inlineAttributes.map((item) => MetadataAttributeFilterSensitiveLog(item)),
|
|
70
|
+
}),
|
|
71
|
+
});
|
|
72
|
+
export const KnowledgeBaseDocumentFilterSensitiveLog = (obj) => ({
|
|
73
|
+
...obj,
|
|
74
|
+
...(obj.metadata && { metadata: DocumentMetadataFilterSensitiveLog(obj.metadata) }),
|
|
75
|
+
...(obj.content && { content: DocumentContentFilterSensitiveLog(obj.content) }),
|
|
76
|
+
});
|
|
77
|
+
export const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog = (obj) => ({
|
|
78
|
+
...obj,
|
|
79
|
+
...(obj.documents && { documents: obj.documents.map((item) => KnowledgeBaseDocumentFilterSensitiveLog(item)) }),
|
|
80
|
+
});
|
|
33
81
|
export const PromptAgentResourceFilterSensitiveLog = (obj) => ({
|
|
34
82
|
...obj,
|
|
35
83
|
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentClient } from "../BedrockAgentClient";
|
|
3
|
+
import { ListAgentCollaboratorsCommand, } from "../commands/ListAgentCollaboratorsCommand";
|
|
4
|
+
export const paginateListAgentCollaborators = createPaginator(BedrockAgentClient, ListAgentCollaboratorsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAgentActionGroupsPaginator";
|
|
3
3
|
export * from "./ListAgentAliasesPaginator";
|
|
4
|
+
export * from "./ListAgentCollaboratorsPaginator";
|
|
4
5
|
export * from "./ListAgentKnowledgeBasesPaginator";
|
|
5
6
|
export * from "./ListAgentVersionsPaginator";
|
|
6
7
|
export * from "./ListAgentsPaginator";
|