@aws-sdk/client-bedrock-agent 3.702.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 +72 -0
- package/dist-cjs/index.js +772 -28
- package/dist-es/BedrockAgent.js +18 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
- package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +23 -0
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
- package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +22 -0
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +75 -18
- package/dist-es/models/models_1.js +71 -1
- package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
- package/dist-es/pagination/ListKnowledgeBaseDocumentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +392 -0
- package/dist-types/BedrockAgent.d.ts +63 -0
- package/dist-types/BedrockAgentClient.d.ts +11 -2
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +119 -0
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- 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/GetDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +118 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +161 -0
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +110 -0
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +589 -475
- package/dist-types/models/models_1.d.ts +923 -1
- package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +153 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +185 -153
- package/dist-types/ts3.4/models/models_1.d.ts +270 -4
- package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListKnowledgeBaseDocumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +1 -1
|
@@ -5,17 +5,262 @@ import {
|
|
|
5
5
|
AgentStatus,
|
|
6
6
|
AgentVersion,
|
|
7
7
|
AgentVersionSummary,
|
|
8
|
+
ContentDataSourceType,
|
|
9
|
+
CustomDocumentIdentifier,
|
|
8
10
|
FlowDefinition,
|
|
9
11
|
FlowValidation,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
InlineContent,
|
|
13
|
+
KnowledgeBaseDocumentDetail,
|
|
12
14
|
KnowledgeBaseState,
|
|
13
|
-
KnowledgeBaseStatus,
|
|
14
15
|
PromptInferenceConfiguration,
|
|
15
16
|
PromptTemplateConfiguration,
|
|
16
17
|
PromptTemplateType,
|
|
17
|
-
|
|
18
|
+
S3Location,
|
|
18
19
|
} from "./models_0";
|
|
20
|
+
export interface CustomS3Location {
|
|
21
|
+
uri: string | undefined;
|
|
22
|
+
bucketOwnerAccountId?: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
export declare const CustomSourceType: {
|
|
25
|
+
readonly IN_LINE: "IN_LINE";
|
|
26
|
+
readonly S3_LOCATION: "S3_LOCATION";
|
|
27
|
+
};
|
|
28
|
+
export type CustomSourceType =
|
|
29
|
+
(typeof CustomSourceType)[keyof typeof CustomSourceType];
|
|
30
|
+
export interface CustomContent {
|
|
31
|
+
customDocumentIdentifier: CustomDocumentIdentifier | undefined;
|
|
32
|
+
sourceType: CustomSourceType | undefined;
|
|
33
|
+
s3Location?: CustomS3Location | undefined;
|
|
34
|
+
inlineContent?: InlineContent | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface S3Content {
|
|
37
|
+
s3Location: S3Location | undefined;
|
|
38
|
+
}
|
|
39
|
+
export interface DocumentContent {
|
|
40
|
+
dataSourceType: ContentDataSourceType | undefined;
|
|
41
|
+
custom?: CustomContent | undefined;
|
|
42
|
+
s3?: S3Content | undefined;
|
|
43
|
+
}
|
|
44
|
+
export declare const MetadataValueType: {
|
|
45
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
46
|
+
readonly NUMBER: "NUMBER";
|
|
47
|
+
readonly STRING: "STRING";
|
|
48
|
+
readonly STRING_LIST: "STRING_LIST";
|
|
49
|
+
};
|
|
50
|
+
export type MetadataValueType =
|
|
51
|
+
(typeof MetadataValueType)[keyof typeof MetadataValueType];
|
|
52
|
+
export interface MetadataAttributeValue {
|
|
53
|
+
type: MetadataValueType | undefined;
|
|
54
|
+
numberValue?: number | undefined;
|
|
55
|
+
booleanValue?: boolean | undefined;
|
|
56
|
+
stringValue?: string | undefined;
|
|
57
|
+
stringListValue?: string[] | undefined;
|
|
58
|
+
}
|
|
59
|
+
export interface MetadataAttribute {
|
|
60
|
+
key: string | undefined;
|
|
61
|
+
value: MetadataAttributeValue | undefined;
|
|
62
|
+
}
|
|
63
|
+
export declare const MetadataSourceType: {
|
|
64
|
+
readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
|
|
65
|
+
readonly S3_LOCATION: "S3_LOCATION";
|
|
66
|
+
};
|
|
67
|
+
export type MetadataSourceType =
|
|
68
|
+
(typeof MetadataSourceType)[keyof typeof MetadataSourceType];
|
|
69
|
+
export interface DocumentMetadata {
|
|
70
|
+
type: MetadataSourceType | undefined;
|
|
71
|
+
inlineAttributes?: MetadataAttribute[] | undefined;
|
|
72
|
+
s3Location?: CustomS3Location | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface KnowledgeBaseDocument {
|
|
75
|
+
metadata?: DocumentMetadata | undefined;
|
|
76
|
+
content: DocumentContent | undefined;
|
|
77
|
+
}
|
|
78
|
+
export interface IngestKnowledgeBaseDocumentsRequest {
|
|
79
|
+
knowledgeBaseId: string | undefined;
|
|
80
|
+
dataSourceId: string | undefined;
|
|
81
|
+
clientToken?: string | undefined;
|
|
82
|
+
documents: KnowledgeBaseDocument[] | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface IngestKnowledgeBaseDocumentsResponse {
|
|
85
|
+
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface ListKnowledgeBaseDocumentsRequest {
|
|
88
|
+
knowledgeBaseId: string | undefined;
|
|
89
|
+
dataSourceId: string | undefined;
|
|
90
|
+
maxResults?: number | undefined;
|
|
91
|
+
nextToken?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface ListKnowledgeBaseDocumentsResponse {
|
|
94
|
+
documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
|
|
95
|
+
nextToken?: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
export interface AssociateAgentKnowledgeBaseRequest {
|
|
98
|
+
agentId: string | undefined;
|
|
99
|
+
agentVersion: string | undefined;
|
|
100
|
+
knowledgeBaseId: string | undefined;
|
|
101
|
+
description: string | undefined;
|
|
102
|
+
knowledgeBaseState?: KnowledgeBaseState | undefined;
|
|
103
|
+
}
|
|
104
|
+
export interface AssociateAgentKnowledgeBaseResponse {
|
|
105
|
+
agentKnowledgeBase: AgentKnowledgeBase | undefined;
|
|
106
|
+
}
|
|
107
|
+
export declare const KnowledgeBaseType: {
|
|
108
|
+
readonly VECTOR: "VECTOR";
|
|
109
|
+
};
|
|
110
|
+
export type KnowledgeBaseType =
|
|
111
|
+
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
112
|
+
export declare const EmbeddingDataType: {
|
|
113
|
+
readonly BINARY: "BINARY";
|
|
114
|
+
readonly FLOAT32: "FLOAT32";
|
|
115
|
+
};
|
|
116
|
+
export type EmbeddingDataType =
|
|
117
|
+
(typeof EmbeddingDataType)[keyof typeof EmbeddingDataType];
|
|
118
|
+
export interface BedrockEmbeddingModelConfiguration {
|
|
119
|
+
dimensions?: number | undefined;
|
|
120
|
+
embeddingDataType?: EmbeddingDataType | undefined;
|
|
121
|
+
}
|
|
122
|
+
export interface EmbeddingModelConfiguration {
|
|
123
|
+
bedrockEmbeddingModelConfiguration?:
|
|
124
|
+
| BedrockEmbeddingModelConfiguration
|
|
125
|
+
| undefined;
|
|
126
|
+
}
|
|
127
|
+
export interface VectorKnowledgeBaseConfiguration {
|
|
128
|
+
embeddingModelArn: string | undefined;
|
|
129
|
+
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
|
130
|
+
}
|
|
131
|
+
export interface KnowledgeBaseConfiguration {
|
|
132
|
+
type: KnowledgeBaseType | undefined;
|
|
133
|
+
vectorKnowledgeBaseConfiguration?:
|
|
134
|
+
| VectorKnowledgeBaseConfiguration
|
|
135
|
+
| undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface MongoDbAtlasFieldMapping {
|
|
138
|
+
vectorField: string | undefined;
|
|
139
|
+
textField: string | undefined;
|
|
140
|
+
metadataField: string | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface MongoDbAtlasConfiguration {
|
|
143
|
+
endpoint: string | undefined;
|
|
144
|
+
databaseName: string | undefined;
|
|
145
|
+
collectionName: string | undefined;
|
|
146
|
+
vectorIndexName: string | undefined;
|
|
147
|
+
credentialsSecretArn: string | undefined;
|
|
148
|
+
fieldMapping: MongoDbAtlasFieldMapping | undefined;
|
|
149
|
+
endpointServiceName?: string | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface OpenSearchServerlessFieldMapping {
|
|
152
|
+
vectorField: string | undefined;
|
|
153
|
+
textField: string | undefined;
|
|
154
|
+
metadataField: string | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface OpenSearchServerlessConfiguration {
|
|
157
|
+
collectionArn: string | undefined;
|
|
158
|
+
vectorIndexName: string | undefined;
|
|
159
|
+
fieldMapping: OpenSearchServerlessFieldMapping | undefined;
|
|
160
|
+
}
|
|
161
|
+
export interface PineconeFieldMapping {
|
|
162
|
+
textField: string | undefined;
|
|
163
|
+
metadataField: string | undefined;
|
|
164
|
+
}
|
|
165
|
+
export interface PineconeConfiguration {
|
|
166
|
+
connectionString: string | undefined;
|
|
167
|
+
credentialsSecretArn: string | undefined;
|
|
168
|
+
namespace?: string | undefined;
|
|
169
|
+
fieldMapping: PineconeFieldMapping | undefined;
|
|
170
|
+
}
|
|
171
|
+
export interface RdsFieldMapping {
|
|
172
|
+
primaryKeyField: string | undefined;
|
|
173
|
+
vectorField: string | undefined;
|
|
174
|
+
textField: string | undefined;
|
|
175
|
+
metadataField: string | undefined;
|
|
176
|
+
}
|
|
177
|
+
export interface RdsConfiguration {
|
|
178
|
+
resourceArn: string | undefined;
|
|
179
|
+
credentialsSecretArn: string | undefined;
|
|
180
|
+
databaseName: string | undefined;
|
|
181
|
+
tableName: string | undefined;
|
|
182
|
+
fieldMapping: RdsFieldMapping | undefined;
|
|
183
|
+
}
|
|
184
|
+
export interface RedisEnterpriseCloudFieldMapping {
|
|
185
|
+
vectorField: string | undefined;
|
|
186
|
+
textField: string | undefined;
|
|
187
|
+
metadataField: string | undefined;
|
|
188
|
+
}
|
|
189
|
+
export interface RedisEnterpriseCloudConfiguration {
|
|
190
|
+
endpoint: string | undefined;
|
|
191
|
+
vectorIndexName: string | undefined;
|
|
192
|
+
credentialsSecretArn: string | undefined;
|
|
193
|
+
fieldMapping: RedisEnterpriseCloudFieldMapping | undefined;
|
|
194
|
+
}
|
|
195
|
+
export declare const KnowledgeBaseStorageType: {
|
|
196
|
+
readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
|
|
197
|
+
readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
|
|
198
|
+
readonly PINECONE: "PINECONE";
|
|
199
|
+
readonly RDS: "RDS";
|
|
200
|
+
readonly REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD";
|
|
201
|
+
};
|
|
202
|
+
export type KnowledgeBaseStorageType =
|
|
203
|
+
(typeof KnowledgeBaseStorageType)[keyof typeof KnowledgeBaseStorageType];
|
|
204
|
+
export interface StorageConfiguration {
|
|
205
|
+
type: KnowledgeBaseStorageType | undefined;
|
|
206
|
+
opensearchServerlessConfiguration?:
|
|
207
|
+
| OpenSearchServerlessConfiguration
|
|
208
|
+
| undefined;
|
|
209
|
+
pineconeConfiguration?: PineconeConfiguration | undefined;
|
|
210
|
+
redisEnterpriseCloudConfiguration?:
|
|
211
|
+
| RedisEnterpriseCloudConfiguration
|
|
212
|
+
| undefined;
|
|
213
|
+
rdsConfiguration?: RdsConfiguration | undefined;
|
|
214
|
+
mongoDbAtlasConfiguration?: MongoDbAtlasConfiguration | undefined;
|
|
215
|
+
}
|
|
216
|
+
export interface CreateKnowledgeBaseRequest {
|
|
217
|
+
clientToken?: string | undefined;
|
|
218
|
+
name: string | undefined;
|
|
219
|
+
description?: string | undefined;
|
|
220
|
+
roleArn: string | undefined;
|
|
221
|
+
knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
|
|
222
|
+
storageConfiguration: StorageConfiguration | undefined;
|
|
223
|
+
tags?: Record<string, string> | undefined;
|
|
224
|
+
}
|
|
225
|
+
export declare const KnowledgeBaseStatus: {
|
|
226
|
+
readonly ACTIVE: "ACTIVE";
|
|
227
|
+
readonly CREATING: "CREATING";
|
|
228
|
+
readonly DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL";
|
|
229
|
+
readonly DELETING: "DELETING";
|
|
230
|
+
readonly FAILED: "FAILED";
|
|
231
|
+
readonly UPDATING: "UPDATING";
|
|
232
|
+
};
|
|
233
|
+
export type KnowledgeBaseStatus =
|
|
234
|
+
(typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
|
|
235
|
+
export interface KnowledgeBase {
|
|
236
|
+
knowledgeBaseId: string | undefined;
|
|
237
|
+
name: string | undefined;
|
|
238
|
+
knowledgeBaseArn: string | undefined;
|
|
239
|
+
description?: string | undefined;
|
|
240
|
+
roleArn: string | undefined;
|
|
241
|
+
knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
|
|
242
|
+
storageConfiguration: StorageConfiguration | undefined;
|
|
243
|
+
status: KnowledgeBaseStatus | undefined;
|
|
244
|
+
createdAt: Date | undefined;
|
|
245
|
+
updatedAt: Date | undefined;
|
|
246
|
+
failureReasons?: string[] | undefined;
|
|
247
|
+
}
|
|
248
|
+
export interface CreateKnowledgeBaseResponse {
|
|
249
|
+
knowledgeBase: KnowledgeBase | undefined;
|
|
250
|
+
}
|
|
251
|
+
export interface DeleteKnowledgeBaseRequest {
|
|
252
|
+
knowledgeBaseId: string | undefined;
|
|
253
|
+
}
|
|
254
|
+
export interface DeleteKnowledgeBaseResponse {
|
|
255
|
+
knowledgeBaseId: string | undefined;
|
|
256
|
+
status: KnowledgeBaseStatus | undefined;
|
|
257
|
+
}
|
|
258
|
+
export interface DisassociateAgentKnowledgeBaseRequest {
|
|
259
|
+
agentId: string | undefined;
|
|
260
|
+
agentVersion: string | undefined;
|
|
261
|
+
knowledgeBaseId: string | undefined;
|
|
262
|
+
}
|
|
263
|
+
export interface DisassociateAgentKnowledgeBaseResponse {}
|
|
19
264
|
export interface GetAgentKnowledgeBaseRequest {
|
|
20
265
|
agentId: string | undefined;
|
|
21
266
|
agentVersion: string | undefined;
|
|
@@ -260,6 +505,27 @@ export interface ListAgentVersionsResponse {
|
|
|
260
505
|
agentVersionSummaries: AgentVersionSummary[] | undefined;
|
|
261
506
|
nextToken?: string | undefined;
|
|
262
507
|
}
|
|
508
|
+
export declare const CustomContentFilterSensitiveLog: (
|
|
509
|
+
obj: CustomContent
|
|
510
|
+
) => any;
|
|
511
|
+
export declare const DocumentContentFilterSensitiveLog: (
|
|
512
|
+
obj: DocumentContent
|
|
513
|
+
) => any;
|
|
514
|
+
export declare const MetadataAttributeValueFilterSensitiveLog: (
|
|
515
|
+
obj: MetadataAttributeValue
|
|
516
|
+
) => any;
|
|
517
|
+
export declare const MetadataAttributeFilterSensitiveLog: (
|
|
518
|
+
obj: MetadataAttribute
|
|
519
|
+
) => any;
|
|
520
|
+
export declare const DocumentMetadataFilterSensitiveLog: (
|
|
521
|
+
obj: DocumentMetadata
|
|
522
|
+
) => any;
|
|
523
|
+
export declare const KnowledgeBaseDocumentFilterSensitiveLog: (
|
|
524
|
+
obj: KnowledgeBaseDocument
|
|
525
|
+
) => any;
|
|
526
|
+
export declare const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: (
|
|
527
|
+
obj: IngestKnowledgeBaseDocumentsRequest
|
|
528
|
+
) => any;
|
|
263
529
|
export declare const PromptAgentResourceFilterSensitiveLog: (
|
|
264
530
|
obj: PromptAgentResource
|
|
265
531
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAgentCollaboratorsCommandInput,
|
|
4
|
+
ListAgentCollaboratorsCommandOutput,
|
|
5
|
+
} from "../commands/ListAgentCollaboratorsCommand";
|
|
6
|
+
import { BedrockAgentPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListAgentCollaborators: (
|
|
8
|
+
config: BedrockAgentPaginationConfiguration,
|
|
9
|
+
input: ListAgentCollaboratorsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAgentCollaboratorsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListKnowledgeBaseDocumentsCommandInput,
|
|
4
|
+
ListKnowledgeBaseDocumentsCommandOutput,
|
|
5
|
+
} from "../commands/ListKnowledgeBaseDocumentsCommand";
|
|
6
|
+
import { BedrockAgentPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListKnowledgeBaseDocuments: (
|
|
8
|
+
config: BedrockAgentPaginationConfiguration,
|
|
9
|
+
input: ListKnowledgeBaseDocumentsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListKnowledgeBaseDocumentsCommandOutput>;
|
|
@@ -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";
|
|
@@ -9,5 +10,6 @@ export * from "./ListFlowAliasesPaginator";
|
|
|
9
10
|
export * from "./ListFlowVersionsPaginator";
|
|
10
11
|
export * from "./ListFlowsPaginator";
|
|
11
12
|
export * from "./ListIngestionJobsPaginator";
|
|
13
|
+
export * from "./ListKnowledgeBaseDocumentsPaginator";
|
|
12
14
|
export * from "./ListKnowledgeBasesPaginator";
|
|
13
15
|
export * from "./ListPromptsPaginator";
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
AssociateAgentCollaboratorCommandInput,
|
|
8
|
+
AssociateAgentCollaboratorCommandOutput,
|
|
9
|
+
} from "../commands/AssociateAgentCollaboratorCommand";
|
|
6
10
|
import {
|
|
7
11
|
AssociateAgentKnowledgeBaseCommandInput,
|
|
8
12
|
AssociateAgentKnowledgeBaseCommandOutput,
|
|
@@ -83,10 +87,18 @@ import {
|
|
|
83
87
|
DeleteKnowledgeBaseCommandInput,
|
|
84
88
|
DeleteKnowledgeBaseCommandOutput,
|
|
85
89
|
} from "../commands/DeleteKnowledgeBaseCommand";
|
|
90
|
+
import {
|
|
91
|
+
DeleteKnowledgeBaseDocumentsCommandInput,
|
|
92
|
+
DeleteKnowledgeBaseDocumentsCommandOutput,
|
|
93
|
+
} from "../commands/DeleteKnowledgeBaseDocumentsCommand";
|
|
86
94
|
import {
|
|
87
95
|
DeletePromptCommandInput,
|
|
88
96
|
DeletePromptCommandOutput,
|
|
89
97
|
} from "../commands/DeletePromptCommand";
|
|
98
|
+
import {
|
|
99
|
+
DisassociateAgentCollaboratorCommandInput,
|
|
100
|
+
DisassociateAgentCollaboratorCommandOutput,
|
|
101
|
+
} from "../commands/DisassociateAgentCollaboratorCommand";
|
|
90
102
|
import {
|
|
91
103
|
DisassociateAgentKnowledgeBaseCommandInput,
|
|
92
104
|
DisassociateAgentKnowledgeBaseCommandOutput,
|
|
@@ -99,6 +111,10 @@ import {
|
|
|
99
111
|
GetAgentAliasCommandInput,
|
|
100
112
|
GetAgentAliasCommandOutput,
|
|
101
113
|
} from "../commands/GetAgentAliasCommand";
|
|
114
|
+
import {
|
|
115
|
+
GetAgentCollaboratorCommandInput,
|
|
116
|
+
GetAgentCollaboratorCommandOutput,
|
|
117
|
+
} from "../commands/GetAgentCollaboratorCommand";
|
|
102
118
|
import {
|
|
103
119
|
GetAgentCommandInput,
|
|
104
120
|
GetAgentCommandOutput,
|
|
@@ -135,10 +151,18 @@ import {
|
|
|
135
151
|
GetKnowledgeBaseCommandInput,
|
|
136
152
|
GetKnowledgeBaseCommandOutput,
|
|
137
153
|
} from "../commands/GetKnowledgeBaseCommand";
|
|
154
|
+
import {
|
|
155
|
+
GetKnowledgeBaseDocumentsCommandInput,
|
|
156
|
+
GetKnowledgeBaseDocumentsCommandOutput,
|
|
157
|
+
} from "../commands/GetKnowledgeBaseDocumentsCommand";
|
|
138
158
|
import {
|
|
139
159
|
GetPromptCommandInput,
|
|
140
160
|
GetPromptCommandOutput,
|
|
141
161
|
} from "../commands/GetPromptCommand";
|
|
162
|
+
import {
|
|
163
|
+
IngestKnowledgeBaseDocumentsCommandInput,
|
|
164
|
+
IngestKnowledgeBaseDocumentsCommandOutput,
|
|
165
|
+
} from "../commands/IngestKnowledgeBaseDocumentsCommand";
|
|
142
166
|
import {
|
|
143
167
|
ListAgentActionGroupsCommandInput,
|
|
144
168
|
ListAgentActionGroupsCommandOutput,
|
|
@@ -147,6 +171,10 @@ import {
|
|
|
147
171
|
ListAgentAliasesCommandInput,
|
|
148
172
|
ListAgentAliasesCommandOutput,
|
|
149
173
|
} from "../commands/ListAgentAliasesCommand";
|
|
174
|
+
import {
|
|
175
|
+
ListAgentCollaboratorsCommandInput,
|
|
176
|
+
ListAgentCollaboratorsCommandOutput,
|
|
177
|
+
} from "../commands/ListAgentCollaboratorsCommand";
|
|
150
178
|
import {
|
|
151
179
|
ListAgentKnowledgeBasesCommandInput,
|
|
152
180
|
ListAgentKnowledgeBasesCommandOutput,
|
|
@@ -179,6 +207,10 @@ import {
|
|
|
179
207
|
ListIngestionJobsCommandInput,
|
|
180
208
|
ListIngestionJobsCommandOutput,
|
|
181
209
|
} from "../commands/ListIngestionJobsCommand";
|
|
210
|
+
import {
|
|
211
|
+
ListKnowledgeBaseDocumentsCommandInput,
|
|
212
|
+
ListKnowledgeBaseDocumentsCommandOutput,
|
|
213
|
+
} from "../commands/ListKnowledgeBaseDocumentsCommand";
|
|
182
214
|
import {
|
|
183
215
|
ListKnowledgeBasesCommandInput,
|
|
184
216
|
ListKnowledgeBasesCommandOutput,
|
|
@@ -223,6 +255,10 @@ import {
|
|
|
223
255
|
UpdateAgentAliasCommandInput,
|
|
224
256
|
UpdateAgentAliasCommandOutput,
|
|
225
257
|
} from "../commands/UpdateAgentAliasCommand";
|
|
258
|
+
import {
|
|
259
|
+
UpdateAgentCollaboratorCommandInput,
|
|
260
|
+
UpdateAgentCollaboratorCommandOutput,
|
|
261
|
+
} from "../commands/UpdateAgentCollaboratorCommand";
|
|
226
262
|
import {
|
|
227
263
|
UpdateAgentCommandInput,
|
|
228
264
|
UpdateAgentCommandOutput,
|
|
@@ -255,6 +291,10 @@ import {
|
|
|
255
291
|
ValidateFlowDefinitionCommandInput,
|
|
256
292
|
ValidateFlowDefinitionCommandOutput,
|
|
257
293
|
} from "../commands/ValidateFlowDefinitionCommand";
|
|
294
|
+
export declare const se_AssociateAgentCollaboratorCommand: (
|
|
295
|
+
input: AssociateAgentCollaboratorCommandInput,
|
|
296
|
+
context: __SerdeContext
|
|
297
|
+
) => Promise<__HttpRequest>;
|
|
258
298
|
export declare const se_AssociateAgentKnowledgeBaseCommand: (
|
|
259
299
|
input: AssociateAgentKnowledgeBaseCommandInput,
|
|
260
300
|
context: __SerdeContext
|
|
@@ -335,10 +375,18 @@ export declare const se_DeleteKnowledgeBaseCommand: (
|
|
|
335
375
|
input: DeleteKnowledgeBaseCommandInput,
|
|
336
376
|
context: __SerdeContext
|
|
337
377
|
) => Promise<__HttpRequest>;
|
|
378
|
+
export declare const se_DeleteKnowledgeBaseDocumentsCommand: (
|
|
379
|
+
input: DeleteKnowledgeBaseDocumentsCommandInput,
|
|
380
|
+
context: __SerdeContext
|
|
381
|
+
) => Promise<__HttpRequest>;
|
|
338
382
|
export declare const se_DeletePromptCommand: (
|
|
339
383
|
input: DeletePromptCommandInput,
|
|
340
384
|
context: __SerdeContext
|
|
341
385
|
) => Promise<__HttpRequest>;
|
|
386
|
+
export declare const se_DisassociateAgentCollaboratorCommand: (
|
|
387
|
+
input: DisassociateAgentCollaboratorCommandInput,
|
|
388
|
+
context: __SerdeContext
|
|
389
|
+
) => Promise<__HttpRequest>;
|
|
342
390
|
export declare const se_DisassociateAgentKnowledgeBaseCommand: (
|
|
343
391
|
input: DisassociateAgentKnowledgeBaseCommandInput,
|
|
344
392
|
context: __SerdeContext
|
|
@@ -355,6 +403,10 @@ export declare const se_GetAgentAliasCommand: (
|
|
|
355
403
|
input: GetAgentAliasCommandInput,
|
|
356
404
|
context: __SerdeContext
|
|
357
405
|
) => Promise<__HttpRequest>;
|
|
406
|
+
export declare const se_GetAgentCollaboratorCommand: (
|
|
407
|
+
input: GetAgentCollaboratorCommandInput,
|
|
408
|
+
context: __SerdeContext
|
|
409
|
+
) => Promise<__HttpRequest>;
|
|
358
410
|
export declare const se_GetAgentKnowledgeBaseCommand: (
|
|
359
411
|
input: GetAgentKnowledgeBaseCommandInput,
|
|
360
412
|
context: __SerdeContext
|
|
@@ -387,10 +439,18 @@ export declare const se_GetKnowledgeBaseCommand: (
|
|
|
387
439
|
input: GetKnowledgeBaseCommandInput,
|
|
388
440
|
context: __SerdeContext
|
|
389
441
|
) => Promise<__HttpRequest>;
|
|
442
|
+
export declare const se_GetKnowledgeBaseDocumentsCommand: (
|
|
443
|
+
input: GetKnowledgeBaseDocumentsCommandInput,
|
|
444
|
+
context: __SerdeContext
|
|
445
|
+
) => Promise<__HttpRequest>;
|
|
390
446
|
export declare const se_GetPromptCommand: (
|
|
391
447
|
input: GetPromptCommandInput,
|
|
392
448
|
context: __SerdeContext
|
|
393
449
|
) => Promise<__HttpRequest>;
|
|
450
|
+
export declare const se_IngestKnowledgeBaseDocumentsCommand: (
|
|
451
|
+
input: IngestKnowledgeBaseDocumentsCommandInput,
|
|
452
|
+
context: __SerdeContext
|
|
453
|
+
) => Promise<__HttpRequest>;
|
|
394
454
|
export declare const se_ListAgentActionGroupsCommand: (
|
|
395
455
|
input: ListAgentActionGroupsCommandInput,
|
|
396
456
|
context: __SerdeContext
|
|
@@ -399,6 +459,10 @@ export declare const se_ListAgentAliasesCommand: (
|
|
|
399
459
|
input: ListAgentAliasesCommandInput,
|
|
400
460
|
context: __SerdeContext
|
|
401
461
|
) => Promise<__HttpRequest>;
|
|
462
|
+
export declare const se_ListAgentCollaboratorsCommand: (
|
|
463
|
+
input: ListAgentCollaboratorsCommandInput,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<__HttpRequest>;
|
|
402
466
|
export declare const se_ListAgentKnowledgeBasesCommand: (
|
|
403
467
|
input: ListAgentKnowledgeBasesCommandInput,
|
|
404
468
|
context: __SerdeContext
|
|
@@ -431,6 +495,10 @@ export declare const se_ListIngestionJobsCommand: (
|
|
|
431
495
|
input: ListIngestionJobsCommandInput,
|
|
432
496
|
context: __SerdeContext
|
|
433
497
|
) => Promise<__HttpRequest>;
|
|
498
|
+
export declare const se_ListKnowledgeBaseDocumentsCommand: (
|
|
499
|
+
input: ListKnowledgeBaseDocumentsCommandInput,
|
|
500
|
+
context: __SerdeContext
|
|
501
|
+
) => Promise<__HttpRequest>;
|
|
434
502
|
export declare const se_ListKnowledgeBasesCommand: (
|
|
435
503
|
input: ListKnowledgeBasesCommandInput,
|
|
436
504
|
context: __SerdeContext
|
|
@@ -479,6 +547,10 @@ export declare const se_UpdateAgentAliasCommand: (
|
|
|
479
547
|
input: UpdateAgentAliasCommandInput,
|
|
480
548
|
context: __SerdeContext
|
|
481
549
|
) => Promise<__HttpRequest>;
|
|
550
|
+
export declare const se_UpdateAgentCollaboratorCommand: (
|
|
551
|
+
input: UpdateAgentCollaboratorCommandInput,
|
|
552
|
+
context: __SerdeContext
|
|
553
|
+
) => Promise<__HttpRequest>;
|
|
482
554
|
export declare const se_UpdateAgentKnowledgeBaseCommand: (
|
|
483
555
|
input: UpdateAgentKnowledgeBaseCommandInput,
|
|
484
556
|
context: __SerdeContext
|
|
@@ -507,6 +579,10 @@ export declare const se_ValidateFlowDefinitionCommand: (
|
|
|
507
579
|
input: ValidateFlowDefinitionCommandInput,
|
|
508
580
|
context: __SerdeContext
|
|
509
581
|
) => Promise<__HttpRequest>;
|
|
582
|
+
export declare const de_AssociateAgentCollaboratorCommand: (
|
|
583
|
+
output: __HttpResponse,
|
|
584
|
+
context: __SerdeContext
|
|
585
|
+
) => Promise<AssociateAgentCollaboratorCommandOutput>;
|
|
510
586
|
export declare const de_AssociateAgentKnowledgeBaseCommand: (
|
|
511
587
|
output: __HttpResponse,
|
|
512
588
|
context: __SerdeContext
|
|
@@ -587,10 +663,18 @@ export declare const de_DeleteKnowledgeBaseCommand: (
|
|
|
587
663
|
output: __HttpResponse,
|
|
588
664
|
context: __SerdeContext
|
|
589
665
|
) => Promise<DeleteKnowledgeBaseCommandOutput>;
|
|
666
|
+
export declare const de_DeleteKnowledgeBaseDocumentsCommand: (
|
|
667
|
+
output: __HttpResponse,
|
|
668
|
+
context: __SerdeContext
|
|
669
|
+
) => Promise<DeleteKnowledgeBaseDocumentsCommandOutput>;
|
|
590
670
|
export declare const de_DeletePromptCommand: (
|
|
591
671
|
output: __HttpResponse,
|
|
592
672
|
context: __SerdeContext
|
|
593
673
|
) => Promise<DeletePromptCommandOutput>;
|
|
674
|
+
export declare const de_DisassociateAgentCollaboratorCommand: (
|
|
675
|
+
output: __HttpResponse,
|
|
676
|
+
context: __SerdeContext
|
|
677
|
+
) => Promise<DisassociateAgentCollaboratorCommandOutput>;
|
|
594
678
|
export declare const de_DisassociateAgentKnowledgeBaseCommand: (
|
|
595
679
|
output: __HttpResponse,
|
|
596
680
|
context: __SerdeContext
|
|
@@ -607,6 +691,10 @@ export declare const de_GetAgentAliasCommand: (
|
|
|
607
691
|
output: __HttpResponse,
|
|
608
692
|
context: __SerdeContext
|
|
609
693
|
) => Promise<GetAgentAliasCommandOutput>;
|
|
694
|
+
export declare const de_GetAgentCollaboratorCommand: (
|
|
695
|
+
output: __HttpResponse,
|
|
696
|
+
context: __SerdeContext
|
|
697
|
+
) => Promise<GetAgentCollaboratorCommandOutput>;
|
|
610
698
|
export declare const de_GetAgentKnowledgeBaseCommand: (
|
|
611
699
|
output: __HttpResponse,
|
|
612
700
|
context: __SerdeContext
|
|
@@ -639,10 +727,18 @@ export declare const de_GetKnowledgeBaseCommand: (
|
|
|
639
727
|
output: __HttpResponse,
|
|
640
728
|
context: __SerdeContext
|
|
641
729
|
) => Promise<GetKnowledgeBaseCommandOutput>;
|
|
730
|
+
export declare const de_GetKnowledgeBaseDocumentsCommand: (
|
|
731
|
+
output: __HttpResponse,
|
|
732
|
+
context: __SerdeContext
|
|
733
|
+
) => Promise<GetKnowledgeBaseDocumentsCommandOutput>;
|
|
642
734
|
export declare const de_GetPromptCommand: (
|
|
643
735
|
output: __HttpResponse,
|
|
644
736
|
context: __SerdeContext
|
|
645
737
|
) => Promise<GetPromptCommandOutput>;
|
|
738
|
+
export declare const de_IngestKnowledgeBaseDocumentsCommand: (
|
|
739
|
+
output: __HttpResponse,
|
|
740
|
+
context: __SerdeContext
|
|
741
|
+
) => Promise<IngestKnowledgeBaseDocumentsCommandOutput>;
|
|
646
742
|
export declare const de_ListAgentActionGroupsCommand: (
|
|
647
743
|
output: __HttpResponse,
|
|
648
744
|
context: __SerdeContext
|
|
@@ -651,6 +747,10 @@ export declare const de_ListAgentAliasesCommand: (
|
|
|
651
747
|
output: __HttpResponse,
|
|
652
748
|
context: __SerdeContext
|
|
653
749
|
) => Promise<ListAgentAliasesCommandOutput>;
|
|
750
|
+
export declare const de_ListAgentCollaboratorsCommand: (
|
|
751
|
+
output: __HttpResponse,
|
|
752
|
+
context: __SerdeContext
|
|
753
|
+
) => Promise<ListAgentCollaboratorsCommandOutput>;
|
|
654
754
|
export declare const de_ListAgentKnowledgeBasesCommand: (
|
|
655
755
|
output: __HttpResponse,
|
|
656
756
|
context: __SerdeContext
|
|
@@ -683,6 +783,10 @@ export declare const de_ListIngestionJobsCommand: (
|
|
|
683
783
|
output: __HttpResponse,
|
|
684
784
|
context: __SerdeContext
|
|
685
785
|
) => Promise<ListIngestionJobsCommandOutput>;
|
|
786
|
+
export declare const de_ListKnowledgeBaseDocumentsCommand: (
|
|
787
|
+
output: __HttpResponse,
|
|
788
|
+
context: __SerdeContext
|
|
789
|
+
) => Promise<ListKnowledgeBaseDocumentsCommandOutput>;
|
|
686
790
|
export declare const de_ListKnowledgeBasesCommand: (
|
|
687
791
|
output: __HttpResponse,
|
|
688
792
|
context: __SerdeContext
|
|
@@ -731,6 +835,10 @@ export declare const de_UpdateAgentAliasCommand: (
|
|
|
731
835
|
output: __HttpResponse,
|
|
732
836
|
context: __SerdeContext
|
|
733
837
|
) => Promise<UpdateAgentAliasCommandOutput>;
|
|
838
|
+
export declare const de_UpdateAgentCollaboratorCommand: (
|
|
839
|
+
output: __HttpResponse,
|
|
840
|
+
context: __SerdeContext
|
|
841
|
+
) => Promise<UpdateAgentCollaboratorCommandOutput>;
|
|
734
842
|
export declare const de_UpdateAgentKnowledgeBaseCommand: (
|
|
735
843
|
output: __HttpResponse,
|
|
736
844
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.705.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
|