@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.
Files changed (50) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +406 -62
  3. package/dist-es/BedrockAgent.js +10 -0
  4. package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
  5. package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
  6. package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
  7. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
  8. package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
  9. package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +43 -48
  12. package/dist-es/models/models_1.js +49 -1
  13. package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +184 -0
  16. package/dist-types/BedrockAgent.d.ts +35 -0
  17. package/dist-types/BedrockAgentClient.d.ts +7 -2
  18. package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
  19. package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
  20. package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
  21. package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
  22. package/dist-types/commands/GetAgentCommand.d.ts +2 -0
  23. package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
  24. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
  26. package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
  28. package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/models/models_0.d.ts +389 -294
  31. package/dist-types/models/models_1.d.ts +301 -1
  32. package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  35. package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
  36. package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
  37. package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +116 -98
  46. package/dist-types/ts3.4/models/models_1.d.ts +103 -0
  47. package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  50. package/package.json +1 -1
@@ -1,5 +1,277 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, FlowDefinition, FlowValidation, KnowledgeBaseState, PromptInferenceConfiguration, PromptTemplateConfiguration, PromptTemplateType } from "./models_0";
2
+ import { AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, ContentDataSourceType, CustomDocumentIdentifier, FlowDefinition, FlowValidation, InlineContent, KnowledgeBaseDocumentDetail, KnowledgeBaseState, PromptInferenceConfiguration, PromptTemplateConfiguration, PromptTemplateType, S3Location } from "./models_0";
3
+ /**
4
+ * <p>Contains information about the Amazon S3 location of the file containing the content to ingest into a knowledge base connected to a custom data source.</p>
5
+ * @public
6
+ */
7
+ export interface CustomS3Location {
8
+ /**
9
+ * <p>The S3 URI of the file containing the content to ingest.</p>
10
+ * @public
11
+ */
12
+ uri: string | undefined;
13
+ /**
14
+ * <p>The identifier of the Amazon Web Services account that owns the S3 bucket containing the content to ingest.</p>
15
+ * @public
16
+ */
17
+ bucketOwnerAccountId?: string | undefined;
18
+ }
19
+ /**
20
+ * @public
21
+ * @enum
22
+ */
23
+ export declare const CustomSourceType: {
24
+ readonly IN_LINE: "IN_LINE";
25
+ readonly S3_LOCATION: "S3_LOCATION";
26
+ };
27
+ /**
28
+ * @public
29
+ */
30
+ export type CustomSourceType = (typeof CustomSourceType)[keyof typeof CustomSourceType];
31
+ /**
32
+ * <p>Contains information about the content to ingest into a knowledge base connected to a custom data source. Choose a <code>sourceType</code> and include the field that corresponds to it.</p>
33
+ * @public
34
+ */
35
+ export interface CustomContent {
36
+ /**
37
+ * <p>A unique identifier for the document.</p>
38
+ * @public
39
+ */
40
+ customDocumentIdentifier: CustomDocumentIdentifier | undefined;
41
+ /**
42
+ * <p>The source of the data to ingest.</p>
43
+ * @public
44
+ */
45
+ sourceType: CustomSourceType | undefined;
46
+ /**
47
+ * <p>Contains information about the Amazon S3 location of the file from which to ingest data.</p>
48
+ * @public
49
+ */
50
+ s3Location?: CustomS3Location | undefined;
51
+ /**
52
+ * <p>Contains information about content defined inline to ingest into a knowledge base.</p>
53
+ * @public
54
+ */
55
+ inlineContent?: InlineContent | undefined;
56
+ }
57
+ /**
58
+ * <p>Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source.</p>
59
+ * @public
60
+ */
61
+ export interface S3Content {
62
+ /**
63
+ * <p>The S3 location of the file containing the content to ingest.</p>
64
+ * @public
65
+ */
66
+ s3Location: S3Location | undefined;
67
+ }
68
+ /**
69
+ * <p>Contains information about the content of a document. Choose a <code>dataSourceType</code> and include the field that corresponds to it.</p>
70
+ * @public
71
+ */
72
+ export interface DocumentContent {
73
+ /**
74
+ * <p>The type of data source that is connected to the knowledge base to which to ingest this document.</p>
75
+ * @public
76
+ */
77
+ dataSourceType: ContentDataSourceType | undefined;
78
+ /**
79
+ * <p>Contains information about the content to ingest into a knowledge base connected to a custom data source.</p>
80
+ * @public
81
+ */
82
+ custom?: CustomContent | undefined;
83
+ /**
84
+ * <p>Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source</p>
85
+ * @public
86
+ */
87
+ s3?: S3Content | undefined;
88
+ }
89
+ /**
90
+ * @public
91
+ * @enum
92
+ */
93
+ export declare const MetadataValueType: {
94
+ readonly BOOLEAN: "BOOLEAN";
95
+ readonly NUMBER: "NUMBER";
96
+ readonly STRING: "STRING";
97
+ readonly STRING_LIST: "STRING_LIST";
98
+ };
99
+ /**
100
+ * @public
101
+ */
102
+ export type MetadataValueType = (typeof MetadataValueType)[keyof typeof MetadataValueType];
103
+ /**
104
+ * <p>Contains the value of the metadata attribute. Choose a <code>type</code> and include the field that corresponds to it.</p>
105
+ * @public
106
+ */
107
+ export interface MetadataAttributeValue {
108
+ /**
109
+ * <p>The type of the metadata attribute.</p>
110
+ * @public
111
+ */
112
+ type: MetadataValueType | undefined;
113
+ /**
114
+ * <p>The value of the numeric metadata attribute.</p>
115
+ * @public
116
+ */
117
+ numberValue?: number | undefined;
118
+ /**
119
+ * <p>The value of the Boolean metadata attribute.</p>
120
+ * @public
121
+ */
122
+ booleanValue?: boolean | undefined;
123
+ /**
124
+ * <p>The value of the string metadata attribute.</p>
125
+ * @public
126
+ */
127
+ stringValue?: string | undefined;
128
+ /**
129
+ * <p>An array of strings that define the value of the metadata attribute.</p>
130
+ * @public
131
+ */
132
+ stringListValue?: string[] | undefined;
133
+ }
134
+ /**
135
+ * <p>Contains information about a metadata attribute.</p>
136
+ * @public
137
+ */
138
+ export interface MetadataAttribute {
139
+ /**
140
+ * <p>The key of the metadata attribute.</p>
141
+ * @public
142
+ */
143
+ key: string | undefined;
144
+ /**
145
+ * <p>Contains the value of the metadata attribute.</p>
146
+ * @public
147
+ */
148
+ value: MetadataAttributeValue | undefined;
149
+ }
150
+ /**
151
+ * @public
152
+ * @enum
153
+ */
154
+ export declare const MetadataSourceType: {
155
+ readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
156
+ readonly S3_LOCATION: "S3_LOCATION";
157
+ };
158
+ /**
159
+ * @public
160
+ */
161
+ export type MetadataSourceType = (typeof MetadataSourceType)[keyof typeof MetadataSourceType];
162
+ /**
163
+ * <p>Contains information about the metadata associate with the content to ingest into a knowledge base. Choose a <code>type</code> and include the field that corresponds to it.</p>
164
+ * @public
165
+ */
166
+ export interface DocumentMetadata {
167
+ /**
168
+ * <p>The type of the source source from which to add metadata.</p>
169
+ * @public
170
+ */
171
+ type: MetadataSourceType | undefined;
172
+ /**
173
+ * <p>An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.</p>
174
+ * @public
175
+ */
176
+ inlineAttributes?: MetadataAttribute[] | undefined;
177
+ /**
178
+ * <p>The Amazon S3 location of the file containing metadata to associate with the content to ingest.</p>
179
+ * @public
180
+ */
181
+ s3Location?: CustomS3Location | undefined;
182
+ }
183
+ /**
184
+ * <p>Contains information about a document to ingest into a knowledge base and metadata to associate with it.</p>
185
+ * @public
186
+ */
187
+ export interface KnowledgeBaseDocument {
188
+ /**
189
+ * <p>Contains the metadata to associate with the document.</p>
190
+ * @public
191
+ */
192
+ metadata?: DocumentMetadata | undefined;
193
+ /**
194
+ * <p>Contains the content of the document.</p>
195
+ * @public
196
+ */
197
+ content: DocumentContent | undefined;
198
+ }
199
+ /**
200
+ * @public
201
+ */
202
+ export interface IngestKnowledgeBaseDocumentsRequest {
203
+ /**
204
+ * <p>The unique identifier of the knowledge base to ingest the documents into.</p>
205
+ * @public
206
+ */
207
+ knowledgeBaseId: string | undefined;
208
+ /**
209
+ * <p>The unique identifier of the data source connected to the knowledge base that you're adding documents to.</p>
210
+ * @public
211
+ */
212
+ dataSourceId: string | undefined;
213
+ /**
214
+ * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
215
+ * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
216
+ * @public
217
+ */
218
+ clientToken?: string | undefined;
219
+ /**
220
+ * <p>A list of objects, each of which contains information about the documents to add.</p>
221
+ * @public
222
+ */
223
+ documents: KnowledgeBaseDocument[] | undefined;
224
+ }
225
+ /**
226
+ * @public
227
+ */
228
+ export interface IngestKnowledgeBaseDocumentsResponse {
229
+ /**
230
+ * <p>A list of objects, each of which contains information about the documents that were ingested.</p>
231
+ * @public
232
+ */
233
+ documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
234
+ }
235
+ /**
236
+ * @public
237
+ */
238
+ export interface ListKnowledgeBaseDocumentsRequest {
239
+ /**
240
+ * <p>The unique identifier of the knowledge base that is connected to the data source.</p>
241
+ * @public
242
+ */
243
+ knowledgeBaseId: string | undefined;
244
+ /**
245
+ * <p>The unique identifier of the data source that contains the documents.</p>
246
+ * @public
247
+ */
248
+ dataSourceId: string | undefined;
249
+ /**
250
+ * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
251
+ * @public
252
+ */
253
+ maxResults?: number | undefined;
254
+ /**
255
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
256
+ * @public
257
+ */
258
+ nextToken?: string | undefined;
259
+ }
260
+ /**
261
+ * @public
262
+ */
263
+ export interface ListKnowledgeBaseDocumentsResponse {
264
+ /**
265
+ * <p>A list of objects, each of which contains information about the documents that were retrieved.</p>
266
+ * @public
267
+ */
268
+ documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
269
+ /**
270
+ * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
271
+ * @public
272
+ */
273
+ nextToken?: string | undefined;
274
+ }
3
275
  /**
4
276
  * @public
5
277
  */
@@ -1592,6 +1864,34 @@ export interface ListAgentVersionsResponse {
1592
1864
  */
1593
1865
  nextToken?: string | undefined;
1594
1866
  }
1867
+ /**
1868
+ * @internal
1869
+ */
1870
+ export declare const CustomContentFilterSensitiveLog: (obj: CustomContent) => any;
1871
+ /**
1872
+ * @internal
1873
+ */
1874
+ export declare const DocumentContentFilterSensitiveLog: (obj: DocumentContent) => any;
1875
+ /**
1876
+ * @internal
1877
+ */
1878
+ export declare const MetadataAttributeValueFilterSensitiveLog: (obj: MetadataAttributeValue) => any;
1879
+ /**
1880
+ * @internal
1881
+ */
1882
+ export declare const MetadataAttributeFilterSensitiveLog: (obj: MetadataAttribute) => any;
1883
+ /**
1884
+ * @internal
1885
+ */
1886
+ export declare const DocumentMetadataFilterSensitiveLog: (obj: DocumentMetadata) => any;
1887
+ /**
1888
+ * @internal
1889
+ */
1890
+ export declare const KnowledgeBaseDocumentFilterSensitiveLog: (obj: KnowledgeBaseDocument) => any;
1891
+ /**
1892
+ * @internal
1893
+ */
1894
+ export declare const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: (obj: IngestKnowledgeBaseDocumentsRequest) => any;
1595
1895
  /**
1596
1896
  * @internal
1597
1897
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListAgentCollaboratorsCommandInput, ListAgentCollaboratorsCommandOutput } from "../commands/ListAgentCollaboratorsCommand";
3
+ import { BedrockAgentPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListAgentCollaborators: (config: BedrockAgentPaginationConfiguration, input: ListAgentCollaboratorsCommandInput, ...rest: any[]) => Paginator<ListAgentCollaboratorsCommandOutput>;
@@ -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";
@@ -1,5 +1,6 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { AssociateAgentCollaboratorCommandInput, AssociateAgentCollaboratorCommandOutput } from "../commands/AssociateAgentCollaboratorCommand";
3
4
  import { AssociateAgentKnowledgeBaseCommandInput, AssociateAgentKnowledgeBaseCommandOutput } from "../commands/AssociateAgentKnowledgeBaseCommand";
4
5
  import { CreateAgentActionGroupCommandInput, CreateAgentActionGroupCommandOutput } from "../commands/CreateAgentActionGroupCommand";
5
6
  import { CreateAgentAliasCommandInput, CreateAgentAliasCommandOutput } from "../commands/CreateAgentAliasCommand";
@@ -22,9 +23,11 @@ import { DeleteFlowVersionCommandInput, DeleteFlowVersionCommandOutput } from ".
22
23
  import { DeleteKnowledgeBaseCommandInput, DeleteKnowledgeBaseCommandOutput } from "../commands/DeleteKnowledgeBaseCommand";
23
24
  import { DeleteKnowledgeBaseDocumentsCommandInput, DeleteKnowledgeBaseDocumentsCommandOutput } from "../commands/DeleteKnowledgeBaseDocumentsCommand";
24
25
  import { DeletePromptCommandInput, DeletePromptCommandOutput } from "../commands/DeletePromptCommand";
26
+ import { DisassociateAgentCollaboratorCommandInput, DisassociateAgentCollaboratorCommandOutput } from "../commands/DisassociateAgentCollaboratorCommand";
25
27
  import { DisassociateAgentKnowledgeBaseCommandInput, DisassociateAgentKnowledgeBaseCommandOutput } from "../commands/DisassociateAgentKnowledgeBaseCommand";
26
28
  import { GetAgentActionGroupCommandInput, GetAgentActionGroupCommandOutput } from "../commands/GetAgentActionGroupCommand";
27
29
  import { GetAgentAliasCommandInput, GetAgentAliasCommandOutput } from "../commands/GetAgentAliasCommand";
30
+ import { GetAgentCollaboratorCommandInput, GetAgentCollaboratorCommandOutput } from "../commands/GetAgentCollaboratorCommand";
28
31
  import { GetAgentCommandInput, GetAgentCommandOutput } from "../commands/GetAgentCommand";
29
32
  import { GetAgentKnowledgeBaseCommandInput, GetAgentKnowledgeBaseCommandOutput } from "../commands/GetAgentKnowledgeBaseCommand";
30
33
  import { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "../commands/GetAgentVersionCommand";
@@ -39,6 +42,7 @@ import { GetPromptCommandInput, GetPromptCommandOutput } from "../commands/GetPr
39
42
  import { IngestKnowledgeBaseDocumentsCommandInput, IngestKnowledgeBaseDocumentsCommandOutput } from "../commands/IngestKnowledgeBaseDocumentsCommand";
40
43
  import { ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput } from "../commands/ListAgentActionGroupsCommand";
41
44
  import { ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput } from "../commands/ListAgentAliasesCommand";
45
+ import { ListAgentCollaboratorsCommandInput, ListAgentCollaboratorsCommandOutput } from "../commands/ListAgentCollaboratorsCommand";
42
46
  import { ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput } from "../commands/ListAgentKnowledgeBasesCommand";
43
47
  import { ListAgentsCommandInput, ListAgentsCommandOutput } from "../commands/ListAgentsCommand";
44
48
  import { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "../commands/ListAgentVersionsCommand";
@@ -59,6 +63,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
59
63
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
60
64
  import { UpdateAgentActionGroupCommandInput, UpdateAgentActionGroupCommandOutput } from "../commands/UpdateAgentActionGroupCommand";
61
65
  import { UpdateAgentAliasCommandInput, UpdateAgentAliasCommandOutput } from "../commands/UpdateAgentAliasCommand";
66
+ import { UpdateAgentCollaboratorCommandInput, UpdateAgentCollaboratorCommandOutput } from "../commands/UpdateAgentCollaboratorCommand";
62
67
  import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "../commands/UpdateAgentCommand";
63
68
  import { UpdateAgentKnowledgeBaseCommandInput, UpdateAgentKnowledgeBaseCommandOutput } from "../commands/UpdateAgentKnowledgeBaseCommand";
64
69
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
@@ -67,6 +72,10 @@ import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "../commands/Upd
67
72
  import { UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput } from "../commands/UpdateKnowledgeBaseCommand";
68
73
  import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "../commands/UpdatePromptCommand";
69
74
  import { ValidateFlowDefinitionCommandInput, ValidateFlowDefinitionCommandOutput } from "../commands/ValidateFlowDefinitionCommand";
75
+ /**
76
+ * serializeAws_restJson1AssociateAgentCollaboratorCommand
77
+ */
78
+ export declare const se_AssociateAgentCollaboratorCommand: (input: AssociateAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
79
  /**
71
80
  * serializeAws_restJson1AssociateAgentKnowledgeBaseCommand
72
81
  */
@@ -155,6 +164,10 @@ export declare const se_DeleteKnowledgeBaseDocumentsCommand: (input: DeleteKnowl
155
164
  * serializeAws_restJson1DeletePromptCommand
156
165
  */
157
166
  export declare const se_DeletePromptCommand: (input: DeletePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
167
+ /**
168
+ * serializeAws_restJson1DisassociateAgentCollaboratorCommand
169
+ */
170
+ export declare const se_DisassociateAgentCollaboratorCommand: (input: DisassociateAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
158
171
  /**
159
172
  * serializeAws_restJson1DisassociateAgentKnowledgeBaseCommand
160
173
  */
@@ -171,6 +184,10 @@ export declare const se_GetAgentActionGroupCommand: (input: GetAgentActionGroupC
171
184
  * serializeAws_restJson1GetAgentAliasCommand
172
185
  */
173
186
  export declare const se_GetAgentAliasCommand: (input: GetAgentAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
187
+ /**
188
+ * serializeAws_restJson1GetAgentCollaboratorCommand
189
+ */
190
+ export declare const se_GetAgentCollaboratorCommand: (input: GetAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
174
191
  /**
175
192
  * serializeAws_restJson1GetAgentKnowledgeBaseCommand
176
193
  */
@@ -223,6 +240,10 @@ export declare const se_ListAgentActionGroupsCommand: (input: ListAgentActionGro
223
240
  * serializeAws_restJson1ListAgentAliasesCommand
224
241
  */
225
242
  export declare const se_ListAgentAliasesCommand: (input: ListAgentAliasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
243
+ /**
244
+ * serializeAws_restJson1ListAgentCollaboratorsCommand
245
+ */
246
+ export declare const se_ListAgentCollaboratorsCommand: (input: ListAgentCollaboratorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
226
247
  /**
227
248
  * serializeAws_restJson1ListAgentKnowledgeBasesCommand
228
249
  */
@@ -307,6 +328,10 @@ export declare const se_UpdateAgentActionGroupCommand: (input: UpdateAgentAction
307
328
  * serializeAws_restJson1UpdateAgentAliasCommand
308
329
  */
309
330
  export declare const se_UpdateAgentAliasCommand: (input: UpdateAgentAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
331
+ /**
332
+ * serializeAws_restJson1UpdateAgentCollaboratorCommand
333
+ */
334
+ export declare const se_UpdateAgentCollaboratorCommand: (input: UpdateAgentCollaboratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
310
335
  /**
311
336
  * serializeAws_restJson1UpdateAgentKnowledgeBaseCommand
312
337
  */
@@ -335,6 +360,10 @@ export declare const se_UpdatePromptCommand: (input: UpdatePromptCommandInput, c
335
360
  * serializeAws_restJson1ValidateFlowDefinitionCommand
336
361
  */
337
362
  export declare const se_ValidateFlowDefinitionCommand: (input: ValidateFlowDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
363
+ /**
364
+ * deserializeAws_restJson1AssociateAgentCollaboratorCommand
365
+ */
366
+ export declare const de_AssociateAgentCollaboratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateAgentCollaboratorCommandOutput>;
338
367
  /**
339
368
  * deserializeAws_restJson1AssociateAgentKnowledgeBaseCommand
340
369
  */
@@ -423,6 +452,10 @@ export declare const de_DeleteKnowledgeBaseDocumentsCommand: (output: __HttpResp
423
452
  * deserializeAws_restJson1DeletePromptCommand
424
453
  */
425
454
  export declare const de_DeletePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePromptCommandOutput>;
455
+ /**
456
+ * deserializeAws_restJson1DisassociateAgentCollaboratorCommand
457
+ */
458
+ export declare const de_DisassociateAgentCollaboratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateAgentCollaboratorCommandOutput>;
426
459
  /**
427
460
  * deserializeAws_restJson1DisassociateAgentKnowledgeBaseCommand
428
461
  */
@@ -439,6 +472,10 @@ export declare const de_GetAgentActionGroupCommand: (output: __HttpResponse, con
439
472
  * deserializeAws_restJson1GetAgentAliasCommand
440
473
  */
441
474
  export declare const de_GetAgentAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAgentAliasCommandOutput>;
475
+ /**
476
+ * deserializeAws_restJson1GetAgentCollaboratorCommand
477
+ */
478
+ export declare const de_GetAgentCollaboratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAgentCollaboratorCommandOutput>;
442
479
  /**
443
480
  * deserializeAws_restJson1GetAgentKnowledgeBaseCommand
444
481
  */
@@ -491,6 +528,10 @@ export declare const de_ListAgentActionGroupsCommand: (output: __HttpResponse, c
491
528
  * deserializeAws_restJson1ListAgentAliasesCommand
492
529
  */
493
530
  export declare const de_ListAgentAliasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentAliasesCommandOutput>;
531
+ /**
532
+ * deserializeAws_restJson1ListAgentCollaboratorsCommand
533
+ */
534
+ export declare const de_ListAgentCollaboratorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentCollaboratorsCommandOutput>;
494
535
  /**
495
536
  * deserializeAws_restJson1ListAgentKnowledgeBasesCommand
496
537
  */
@@ -575,6 +616,10 @@ export declare const de_UpdateAgentActionGroupCommand: (output: __HttpResponse,
575
616
  * deserializeAws_restJson1UpdateAgentAliasCommand
576
617
  */
577
618
  export declare const de_UpdateAgentAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAgentAliasCommandOutput>;
619
+ /**
620
+ * deserializeAws_restJson1UpdateAgentCollaboratorCommand
621
+ */
622
+ export declare const de_UpdateAgentCollaboratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAgentCollaboratorCommandOutput>;
578
623
  /**
579
624
  * deserializeAws_restJson1UpdateAgentKnowledgeBaseCommand
580
625
  */
@@ -1,5 +1,9 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { BedrockAgentClient } from "./BedrockAgentClient";
3
+ import {
4
+ AssociateAgentCollaboratorCommandInput,
5
+ AssociateAgentCollaboratorCommandOutput,
6
+ } from "./commands/AssociateAgentCollaboratorCommand";
3
7
  import {
4
8
  AssociateAgentKnowledgeBaseCommandInput,
5
9
  AssociateAgentKnowledgeBaseCommandOutput,
@@ -88,6 +92,10 @@ import {
88
92
  DeletePromptCommandInput,
89
93
  DeletePromptCommandOutput,
90
94
  } from "./commands/DeletePromptCommand";
95
+ import {
96
+ DisassociateAgentCollaboratorCommandInput,
97
+ DisassociateAgentCollaboratorCommandOutput,
98
+ } from "./commands/DisassociateAgentCollaboratorCommand";
91
99
  import {
92
100
  DisassociateAgentKnowledgeBaseCommandInput,
93
101
  DisassociateAgentKnowledgeBaseCommandOutput,
@@ -100,6 +108,10 @@ import {
100
108
  GetAgentAliasCommandInput,
101
109
  GetAgentAliasCommandOutput,
102
110
  } from "./commands/GetAgentAliasCommand";
111
+ import {
112
+ GetAgentCollaboratorCommandInput,
113
+ GetAgentCollaboratorCommandOutput,
114
+ } from "./commands/GetAgentCollaboratorCommand";
103
115
  import {
104
116
  GetAgentCommandInput,
105
117
  GetAgentCommandOutput,
@@ -156,6 +168,10 @@ import {
156
168
  ListAgentAliasesCommandInput,
157
169
  ListAgentAliasesCommandOutput,
158
170
  } from "./commands/ListAgentAliasesCommand";
171
+ import {
172
+ ListAgentCollaboratorsCommandInput,
173
+ ListAgentCollaboratorsCommandOutput,
174
+ } from "./commands/ListAgentCollaboratorsCommand";
159
175
  import {
160
176
  ListAgentKnowledgeBasesCommandInput,
161
177
  ListAgentKnowledgeBasesCommandOutput,
@@ -236,6 +252,10 @@ import {
236
252
  UpdateAgentAliasCommandInput,
237
253
  UpdateAgentAliasCommandOutput,
238
254
  } from "./commands/UpdateAgentAliasCommand";
255
+ import {
256
+ UpdateAgentCollaboratorCommandInput,
257
+ UpdateAgentCollaboratorCommandOutput,
258
+ } from "./commands/UpdateAgentCollaboratorCommand";
239
259
  import {
240
260
  UpdateAgentCommandInput,
241
261
  UpdateAgentCommandOutput,
@@ -269,6 +289,19 @@ import {
269
289
  ValidateFlowDefinitionCommandOutput,
270
290
  } from "./commands/ValidateFlowDefinitionCommand";
271
291
  export interface BedrockAgent {
292
+ associateAgentCollaborator(
293
+ args: AssociateAgentCollaboratorCommandInput,
294
+ options?: __HttpHandlerOptions
295
+ ): Promise<AssociateAgentCollaboratorCommandOutput>;
296
+ associateAgentCollaborator(
297
+ args: AssociateAgentCollaboratorCommandInput,
298
+ cb: (err: any, data?: AssociateAgentCollaboratorCommandOutput) => void
299
+ ): void;
300
+ associateAgentCollaborator(
301
+ args: AssociateAgentCollaboratorCommandInput,
302
+ options: __HttpHandlerOptions,
303
+ cb: (err: any, data?: AssociateAgentCollaboratorCommandOutput) => void
304
+ ): void;
272
305
  associateAgentKnowledgeBase(
273
306
  args: AssociateAgentKnowledgeBaseCommandInput,
274
307
  options?: __HttpHandlerOptions
@@ -555,6 +588,19 @@ export interface BedrockAgent {
555
588
  options: __HttpHandlerOptions,
556
589
  cb: (err: any, data?: DeletePromptCommandOutput) => void
557
590
  ): void;
591
+ disassociateAgentCollaborator(
592
+ args: DisassociateAgentCollaboratorCommandInput,
593
+ options?: __HttpHandlerOptions
594
+ ): Promise<DisassociateAgentCollaboratorCommandOutput>;
595
+ disassociateAgentCollaborator(
596
+ args: DisassociateAgentCollaboratorCommandInput,
597
+ cb: (err: any, data?: DisassociateAgentCollaboratorCommandOutput) => void
598
+ ): void;
599
+ disassociateAgentCollaborator(
600
+ args: DisassociateAgentCollaboratorCommandInput,
601
+ options: __HttpHandlerOptions,
602
+ cb: (err: any, data?: DisassociateAgentCollaboratorCommandOutput) => void
603
+ ): void;
558
604
  disassociateAgentKnowledgeBase(
559
605
  args: DisassociateAgentKnowledgeBaseCommandInput,
560
606
  options?: __HttpHandlerOptions
@@ -607,6 +653,19 @@ export interface BedrockAgent {
607
653
  options: __HttpHandlerOptions,
608
654
  cb: (err: any, data?: GetAgentAliasCommandOutput) => void
609
655
  ): void;
656
+ getAgentCollaborator(
657
+ args: GetAgentCollaboratorCommandInput,
658
+ options?: __HttpHandlerOptions
659
+ ): Promise<GetAgentCollaboratorCommandOutput>;
660
+ getAgentCollaborator(
661
+ args: GetAgentCollaboratorCommandInput,
662
+ cb: (err: any, data?: GetAgentCollaboratorCommandOutput) => void
663
+ ): void;
664
+ getAgentCollaborator(
665
+ args: GetAgentCollaboratorCommandInput,
666
+ options: __HttpHandlerOptions,
667
+ cb: (err: any, data?: GetAgentCollaboratorCommandOutput) => void
668
+ ): void;
610
669
  getAgentKnowledgeBase(
611
670
  args: GetAgentKnowledgeBaseCommandInput,
612
671
  options?: __HttpHandlerOptions
@@ -776,6 +835,19 @@ export interface BedrockAgent {
776
835
  options: __HttpHandlerOptions,
777
836
  cb: (err: any, data?: ListAgentAliasesCommandOutput) => void
778
837
  ): void;
838
+ listAgentCollaborators(
839
+ args: ListAgentCollaboratorsCommandInput,
840
+ options?: __HttpHandlerOptions
841
+ ): Promise<ListAgentCollaboratorsCommandOutput>;
842
+ listAgentCollaborators(
843
+ args: ListAgentCollaboratorsCommandInput,
844
+ cb: (err: any, data?: ListAgentCollaboratorsCommandOutput) => void
845
+ ): void;
846
+ listAgentCollaborators(
847
+ args: ListAgentCollaboratorsCommandInput,
848
+ options: __HttpHandlerOptions,
849
+ cb: (err: any, data?: ListAgentCollaboratorsCommandOutput) => void
850
+ ): void;
779
851
  listAgentKnowledgeBases(
780
852
  args: ListAgentKnowledgeBasesCommandInput,
781
853
  options?: __HttpHandlerOptions
@@ -1053,6 +1125,19 @@ export interface BedrockAgent {
1053
1125
  options: __HttpHandlerOptions,
1054
1126
  cb: (err: any, data?: UpdateAgentAliasCommandOutput) => void
1055
1127
  ): void;
1128
+ updateAgentCollaborator(
1129
+ args: UpdateAgentCollaboratorCommandInput,
1130
+ options?: __HttpHandlerOptions
1131
+ ): Promise<UpdateAgentCollaboratorCommandOutput>;
1132
+ updateAgentCollaborator(
1133
+ args: UpdateAgentCollaboratorCommandInput,
1134
+ cb: (err: any, data?: UpdateAgentCollaboratorCommandOutput) => void
1135
+ ): void;
1136
+ updateAgentCollaborator(
1137
+ args: UpdateAgentCollaboratorCommandInput,
1138
+ options: __HttpHandlerOptions,
1139
+ cb: (err: any, data?: UpdateAgentCollaboratorCommandOutput) => void
1140
+ ): void;
1056
1141
  updateAgentKnowledgeBase(
1057
1142
  args: UpdateAgentKnowledgeBaseCommandInput,
1058
1143
  options?: __HttpHandlerOptions