@aws-sdk/client-bedrock-agent 3.703.0 → 3.706.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.
Files changed (59) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +559 -88
  3. package/dist-es/BedrockAgent.js +10 -0
  4. package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
  5. package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
  6. package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
  7. package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
  8. package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
  9. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
  10. package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
  11. package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
  12. package/dist-es/commands/UpdateKnowledgeBaseCommand.js +2 -1
  13. package/dist-es/commands/index.js +5 -0
  14. package/dist-es/models/models_0.js +48 -57
  15. package/dist-es/models/models_1.js +142 -1
  16. package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +1 -0
  18. package/dist-es/protocols/Aws_restJson1.js +184 -0
  19. package/dist-types/BedrockAgent.d.ts +35 -0
  20. package/dist-types/BedrockAgentClient.d.ts +7 -2
  21. package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
  22. package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
  23. package/dist-types/commands/CreateDataSourceCommand.d.ts +12 -4
  24. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +150 -2
  25. package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
  26. package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
  27. package/dist-types/commands/GetAgentCommand.d.ts +2 -0
  28. package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
  29. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -2
  30. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +75 -1
  31. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
  33. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
  35. package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
  36. package/dist-types/commands/UpdateDataSourceCommand.d.ts +12 -4
  37. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +150 -2
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/models/models_0.d.ts +434 -356
  40. package/dist-types/models/models_1.d.ts +802 -18
  41. package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/index.d.ts +1 -0
  43. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  44. package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
  45. package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
  46. package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +130 -112
  55. package/dist-types/ts3.4/models/models_1.d.ts +283 -3
  56. package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  59. package/package.json +1 -1
@@ -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
+ }
@@ -2,6 +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 { CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_CreateKnowledgeBaseCommand, se_CreateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class CreateKnowledgeBaseCommand extends $Command
@@ -15,7 +16,7 @@ export class CreateKnowledgeBaseCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockAgentBuildTimeLambda", "CreateKnowledgeBase", {})
17
18
  .n("BedrockAgentClient", "CreateKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
+ .f(CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog)
19
20
  .ser(se_CreateKnowledgeBaseCommand)
20
21
  .de(de_CreateKnowledgeBaseCommand)
21
22
  .build() {
@@ -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,6 +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 { GetKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_GetKnowledgeBaseCommand, se_GetKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class GetKnowledgeBaseCommand extends $Command
@@ -15,7 +16,7 @@ export class GetKnowledgeBaseCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockAgentBuildTimeLambda", "GetKnowledgeBase", {})
17
18
  .n("BedrockAgentClient", "GetKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
+ .f(void 0, GetKnowledgeBaseResponseFilterSensitiveLog)
19
20
  .ser(se_GetKnowledgeBaseCommand)
20
21
  .de(de_GetKnowledgeBaseCommand)
21
22
  .build() {
@@ -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/models_0";
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
+ }
@@ -2,6 +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 { UpdateKnowledgeBaseRequestFilterSensitiveLog, UpdateKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_UpdateKnowledgeBaseCommand, se_UpdateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class UpdateKnowledgeBaseCommand extends $Command
@@ -15,7 +16,7 @@ export class UpdateKnowledgeBaseCommand extends $Command
15
16
  })
16
17
  .s("AmazonBedrockAgentBuildTimeLambda", "UpdateKnowledgeBase", {})
17
18
  .n("BedrockAgentClient", "UpdateKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
+ .f(UpdateKnowledgeBaseRequestFilterSensitiveLog, UpdateKnowledgeBaseResponseFilterSensitiveLog)
19
20
  .ser(se_UpdateKnowledgeBaseCommand)
20
21
  .de(de_UpdateKnowledgeBaseCommand)
21
22
  .build() {
@@ -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",
@@ -211,6 +220,7 @@ export const SharePointHostType = {
211
220
  export const DataSourceType = {
212
221
  CONFLUENCE: "CONFLUENCE",
213
222
  CUSTOM: "CUSTOM",
223
+ REDSHIFT_METADATA: "REDSHIFT_METADATA",
214
224
  S3: "S3",
215
225
  SALESFORCE: "SALESFORCE",
216
226
  SHAREPOINT: "SHAREPOINT",
@@ -229,7 +239,11 @@ export const ChunkingStrategy = {
229
239
  export const StepType = {
230
240
  POST_CHUNKING: "POST_CHUNKING",
231
241
  };
242
+ export const ParsingModality = {
243
+ MULTIMODAL: "MULTIMODAL",
244
+ };
232
245
  export const ParsingStrategy = {
246
+ BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION",
233
247
  BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
234
248
  };
235
249
  export const DataSourceStatus = {
@@ -531,24 +545,6 @@ export const DocumentStatus = {
531
545
  PENDING: "PENDING",
532
546
  STARTING: "STARTING",
533
547
  };
534
- export const InlineContentType = {
535
- BYTE: "BYTE",
536
- TEXT: "TEXT",
537
- };
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
548
  export const APISchemaFilterSensitiveLog = (obj) => {
553
549
  if (obj.s3 !== undefined)
554
550
  return { s3: obj.s3 };
@@ -603,6 +599,40 @@ export const AgentFilterSensitiveLog = (obj) => ({
603
599
  ...(obj.customOrchestration && { customOrchestration: obj.customOrchestration }),
604
600
  ...(obj.promptOverrideConfiguration && { promptOverrideConfiguration: SENSITIVE_STRING }),
605
601
  });
602
+ export const AgentCollaboratorFilterSensitiveLog = (obj) => ({
603
+ ...obj,
604
+ ...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
605
+ });
606
+ export const AssociateAgentCollaboratorRequestFilterSensitiveLog = (obj) => ({
607
+ ...obj,
608
+ ...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
609
+ });
610
+ export const AssociateAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
611
+ ...obj,
612
+ ...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
613
+ });
614
+ export const GetAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
615
+ ...obj,
616
+ ...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
617
+ });
618
+ export const AgentCollaboratorSummaryFilterSensitiveLog = (obj) => ({
619
+ ...obj,
620
+ ...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
621
+ });
622
+ export const ListAgentCollaboratorsResponseFilterSensitiveLog = (obj) => ({
623
+ ...obj,
624
+ ...(obj.agentCollaboratorSummaries && {
625
+ agentCollaboratorSummaries: obj.agentCollaboratorSummaries.map((item) => AgentCollaboratorSummaryFilterSensitiveLog(item)),
626
+ }),
627
+ });
628
+ export const UpdateAgentCollaboratorRequestFilterSensitiveLog = (obj) => ({
629
+ ...obj,
630
+ ...(obj.collaborationInstruction && { collaborationInstruction: SENSITIVE_STRING }),
631
+ });
632
+ export const UpdateAgentCollaboratorResponseFilterSensitiveLog = (obj) => ({
633
+ ...obj,
634
+ ...(obj.agentCollaborator && { agentCollaborator: AgentCollaboratorFilterSensitiveLog(obj.agentCollaborator) }),
635
+ });
606
636
  export const CreateAgentRequestFilterSensitiveLog = (obj) => ({
607
637
  ...obj,
608
638
  ...(obj.instruction && { instruction: SENSITIVE_STRING }),
@@ -966,42 +996,3 @@ export const TextContentDocFilterSensitiveLog = (obj) => ({
966
996
  ...obj,
967
997
  ...(obj.data && { data: SENSITIVE_STRING }),
968
998
  });
969
- export const InlineContentFilterSensitiveLog = (obj) => ({
970
- ...obj,
971
- ...(obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) }),
972
- ...(obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }),
973
- });
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,12 +1,59 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { AgentVersionFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, } from "./models_0";
2
+ import { AgentVersionFilterSensitiveLog, ByteContentDocFilterSensitiveLog, FlowValidationFilterSensitiveLog, PromptTemplateConfigurationFilterSensitiveLog, TextContentDocFilterSensitiveLog, } from "./models_0";
3
+ export const InlineContentType = {
4
+ BYTE: "BYTE",
5
+ TEXT: "TEXT",
6
+ };
7
+ export const CustomSourceType = {
8
+ IN_LINE: "IN_LINE",
9
+ S3_LOCATION: "S3_LOCATION",
10
+ };
11
+ export const MetadataValueType = {
12
+ BOOLEAN: "BOOLEAN",
13
+ NUMBER: "NUMBER",
14
+ STRING: "STRING",
15
+ STRING_LIST: "STRING_LIST",
16
+ };
17
+ export const MetadataSourceType = {
18
+ IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE",
19
+ S3_LOCATION: "S3_LOCATION",
20
+ };
21
+ export const RedshiftProvisionedAuthType = {
22
+ IAM: "IAM",
23
+ USERNAME: "USERNAME",
24
+ USERNAME_PASSWORD: "USERNAME_PASSWORD",
25
+ };
26
+ export const RedshiftServerlessAuthType = {
27
+ IAM: "IAM",
28
+ USERNAME_PASSWORD: "USERNAME_PASSWORD",
29
+ };
30
+ export const RedshiftQueryEngineType = {
31
+ PROVISIONED: "PROVISIONED",
32
+ SERVERLESS: "SERVERLESS",
33
+ };
34
+ export const IncludeExclude = {
35
+ EXCLUDE: "EXCLUDE",
36
+ INCLUDE: "INCLUDE",
37
+ };
38
+ export const RedshiftQueryEngineStorageType = {
39
+ AWS_DATA_CATALOG: "AWS_DATA_CATALOG",
40
+ REDSHIFT: "REDSHIFT",
41
+ };
42
+ export const QueryEngineType = {
43
+ REDSHIFT: "REDSHIFT",
44
+ };
3
45
  export const KnowledgeBaseType = {
46
+ KENDRA: "KENDRA",
47
+ SQL: "SQL",
4
48
  VECTOR: "VECTOR",
5
49
  };
6
50
  export const EmbeddingDataType = {
7
51
  BINARY: "BINARY",
8
52
  FLOAT32: "FLOAT32",
9
53
  };
54
+ export const SupplementalDataStorageLocationType = {
55
+ S3: "S3",
56
+ };
10
57
  export const KnowledgeBaseStorageType = {
11
58
  MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
12
59
  OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
@@ -30,6 +77,100 @@ export var PromptGenAiResource;
30
77
  return visitor._(value.$unknown[0], value.$unknown[1]);
31
78
  };
32
79
  })(PromptGenAiResource || (PromptGenAiResource = {}));
80
+ export const InlineContentFilterSensitiveLog = (obj) => ({
81
+ ...obj,
82
+ ...(obj.byteContent && { byteContent: ByteContentDocFilterSensitiveLog(obj.byteContent) }),
83
+ ...(obj.textContent && { textContent: TextContentDocFilterSensitiveLog(obj.textContent) }),
84
+ });
85
+ export const CustomContentFilterSensitiveLog = (obj) => ({
86
+ ...obj,
87
+ ...(obj.inlineContent && { inlineContent: InlineContentFilterSensitiveLog(obj.inlineContent) }),
88
+ });
89
+ export const DocumentContentFilterSensitiveLog = (obj) => ({
90
+ ...obj,
91
+ ...(obj.custom && { custom: CustomContentFilterSensitiveLog(obj.custom) }),
92
+ });
93
+ export const MetadataAttributeValueFilterSensitiveLog = (obj) => ({
94
+ ...obj,
95
+ ...(obj.numberValue && { numberValue: SENSITIVE_STRING }),
96
+ ...(obj.stringValue && { stringValue: SENSITIVE_STRING }),
97
+ ...(obj.stringListValue && { stringListValue: SENSITIVE_STRING }),
98
+ });
99
+ export const MetadataAttributeFilterSensitiveLog = (obj) => ({
100
+ ...obj,
101
+ ...(obj.key && { key: SENSITIVE_STRING }),
102
+ ...(obj.value && { value: MetadataAttributeValueFilterSensitiveLog(obj.value) }),
103
+ });
104
+ export const DocumentMetadataFilterSensitiveLog = (obj) => ({
105
+ ...obj,
106
+ ...(obj.inlineAttributes && {
107
+ inlineAttributes: obj.inlineAttributes.map((item) => MetadataAttributeFilterSensitiveLog(item)),
108
+ }),
109
+ });
110
+ export const KnowledgeBaseDocumentFilterSensitiveLog = (obj) => ({
111
+ ...obj,
112
+ ...(obj.metadata && { metadata: DocumentMetadataFilterSensitiveLog(obj.metadata) }),
113
+ ...(obj.content && { content: DocumentContentFilterSensitiveLog(obj.content) }),
114
+ });
115
+ export const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog = (obj) => ({
116
+ ...obj,
117
+ ...(obj.documents && { documents: obj.documents.map((item) => KnowledgeBaseDocumentFilterSensitiveLog(item)) }),
118
+ });
119
+ export const QueryGenerationContextFilterSensitiveLog = (obj) => ({
120
+ ...obj,
121
+ });
122
+ export const QueryGenerationConfigurationFilterSensitiveLog = (obj) => ({
123
+ ...obj,
124
+ ...(obj.generationContext && { generationContext: SENSITIVE_STRING }),
125
+ });
126
+ export const RedshiftConfigurationFilterSensitiveLog = (obj) => ({
127
+ ...obj,
128
+ ...(obj.queryGenerationConfiguration && {
129
+ queryGenerationConfiguration: QueryGenerationConfigurationFilterSensitiveLog(obj.queryGenerationConfiguration),
130
+ }),
131
+ });
132
+ export const SqlKnowledgeBaseConfigurationFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ ...(obj.redshiftConfiguration && {
135
+ redshiftConfiguration: RedshiftConfigurationFilterSensitiveLog(obj.redshiftConfiguration),
136
+ }),
137
+ });
138
+ export const KnowledgeBaseConfigurationFilterSensitiveLog = (obj) => ({
139
+ ...obj,
140
+ ...(obj.sqlKnowledgeBaseConfiguration && {
141
+ sqlKnowledgeBaseConfiguration: SqlKnowledgeBaseConfigurationFilterSensitiveLog(obj.sqlKnowledgeBaseConfiguration),
142
+ }),
143
+ });
144
+ export const CreateKnowledgeBaseRequestFilterSensitiveLog = (obj) => ({
145
+ ...obj,
146
+ ...(obj.knowledgeBaseConfiguration && {
147
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
148
+ }),
149
+ });
150
+ export const KnowledgeBaseFilterSensitiveLog = (obj) => ({
151
+ ...obj,
152
+ ...(obj.knowledgeBaseConfiguration && {
153
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
154
+ }),
155
+ });
156
+ export const CreateKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
157
+ ...obj,
158
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }),
159
+ });
160
+ export const GetKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
161
+ ...obj,
162
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }),
163
+ });
164
+ export const UpdateKnowledgeBaseRequestFilterSensitiveLog = (obj) => ({
165
+ ...obj,
166
+ ...(obj.knowledgeBaseConfiguration && {
167
+ knowledgeBaseConfiguration: KnowledgeBaseConfigurationFilterSensitiveLog(obj.knowledgeBaseConfiguration),
168
+ }),
169
+ });
170
+ export const UpdateKnowledgeBaseResponseFilterSensitiveLog = (obj) => ({
171
+ ...obj,
172
+ ...(obj.knowledgeBase && { knowledgeBase: KnowledgeBaseFilterSensitiveLog(obj.knowledgeBase) }),
173
+ });
33
174
  export const PromptAgentResourceFilterSensitiveLog = (obj) => ({
34
175
  ...obj,
35
176
  });
@@ -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";