@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.
- package/README.md +40 -0
- package/dist-cjs/index.js +559 -88
- package/dist-es/BedrockAgent.js +10 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +22 -0
- package/dist-es/commands/GetAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +1 -1
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +23 -0
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +23 -0
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +48 -57
- package/dist-es/models/models_1.js +142 -1
- package/dist-es/pagination/ListAgentCollaboratorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +184 -0
- package/dist-types/BedrockAgent.d.ts +35 -0
- package/dist-types/BedrockAgentClient.d.ts +7 -2
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +4 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +12 -4
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +150 -2
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +89 -0
- package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +101 -0
- package/dist-types/commands/GetAgentCommand.d.ts +2 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -2
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +75 -1
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +104 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +113 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +12 -4
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +150 -2
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +434 -356
- package/dist-types/models/models_1.d.ts +802 -18
- package/dist-types/pagination/ListAgentCollaboratorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/BedrockAgent.d.ts +85 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentCollaboratorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAgentCollaboratorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +130 -112
- package/dist-types/ts3.4/models/models_1.d.ts +283 -3
- package/dist-types/ts3.4/pagination/ListAgentCollaboratorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -5,13 +5,107 @@ import {
|
|
|
5
5
|
AgentStatus,
|
|
6
6
|
AgentVersion,
|
|
7
7
|
AgentVersionSummary,
|
|
8
|
+
ByteContentDoc,
|
|
9
|
+
ContentDataSourceType,
|
|
10
|
+
CustomDocumentIdentifier,
|
|
8
11
|
FlowDefinition,
|
|
9
12
|
FlowValidation,
|
|
13
|
+
KnowledgeBaseDocumentDetail,
|
|
10
14
|
KnowledgeBaseState,
|
|
11
15
|
PromptInferenceConfiguration,
|
|
12
16
|
PromptTemplateConfiguration,
|
|
13
17
|
PromptTemplateType,
|
|
18
|
+
S3Location,
|
|
19
|
+
TextContentDoc,
|
|
14
20
|
} from "./models_0";
|
|
21
|
+
export declare const InlineContentType: {
|
|
22
|
+
readonly BYTE: "BYTE";
|
|
23
|
+
readonly TEXT: "TEXT";
|
|
24
|
+
};
|
|
25
|
+
export type InlineContentType =
|
|
26
|
+
(typeof InlineContentType)[keyof typeof InlineContentType];
|
|
27
|
+
export interface InlineContent {
|
|
28
|
+
type: InlineContentType | undefined;
|
|
29
|
+
byteContent?: ByteContentDoc | undefined;
|
|
30
|
+
textContent?: TextContentDoc | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface CustomS3Location {
|
|
33
|
+
uri: string | undefined;
|
|
34
|
+
bucketOwnerAccountId?: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare const CustomSourceType: {
|
|
37
|
+
readonly IN_LINE: "IN_LINE";
|
|
38
|
+
readonly S3_LOCATION: "S3_LOCATION";
|
|
39
|
+
};
|
|
40
|
+
export type CustomSourceType =
|
|
41
|
+
(typeof CustomSourceType)[keyof typeof CustomSourceType];
|
|
42
|
+
export interface CustomContent {
|
|
43
|
+
customDocumentIdentifier: CustomDocumentIdentifier | undefined;
|
|
44
|
+
sourceType: CustomSourceType | undefined;
|
|
45
|
+
s3Location?: CustomS3Location | undefined;
|
|
46
|
+
inlineContent?: InlineContent | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface S3Content {
|
|
49
|
+
s3Location: S3Location | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface DocumentContent {
|
|
52
|
+
dataSourceType: ContentDataSourceType | undefined;
|
|
53
|
+
custom?: CustomContent | undefined;
|
|
54
|
+
s3?: S3Content | undefined;
|
|
55
|
+
}
|
|
56
|
+
export declare const MetadataValueType: {
|
|
57
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
58
|
+
readonly NUMBER: "NUMBER";
|
|
59
|
+
readonly STRING: "STRING";
|
|
60
|
+
readonly STRING_LIST: "STRING_LIST";
|
|
61
|
+
};
|
|
62
|
+
export type MetadataValueType =
|
|
63
|
+
(typeof MetadataValueType)[keyof typeof MetadataValueType];
|
|
64
|
+
export interface MetadataAttributeValue {
|
|
65
|
+
type: MetadataValueType | undefined;
|
|
66
|
+
numberValue?: number | undefined;
|
|
67
|
+
booleanValue?: boolean | undefined;
|
|
68
|
+
stringValue?: string | undefined;
|
|
69
|
+
stringListValue?: string[] | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface MetadataAttribute {
|
|
72
|
+
key: string | undefined;
|
|
73
|
+
value: MetadataAttributeValue | undefined;
|
|
74
|
+
}
|
|
75
|
+
export declare const MetadataSourceType: {
|
|
76
|
+
readonly IN_LINE_ATTRIBUTE: "IN_LINE_ATTRIBUTE";
|
|
77
|
+
readonly S3_LOCATION: "S3_LOCATION";
|
|
78
|
+
};
|
|
79
|
+
export type MetadataSourceType =
|
|
80
|
+
(typeof MetadataSourceType)[keyof typeof MetadataSourceType];
|
|
81
|
+
export interface DocumentMetadata {
|
|
82
|
+
type: MetadataSourceType | undefined;
|
|
83
|
+
inlineAttributes?: MetadataAttribute[] | undefined;
|
|
84
|
+
s3Location?: CustomS3Location | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface KnowledgeBaseDocument {
|
|
87
|
+
metadata?: DocumentMetadata | undefined;
|
|
88
|
+
content: DocumentContent | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface IngestKnowledgeBaseDocumentsRequest {
|
|
91
|
+
knowledgeBaseId: string | undefined;
|
|
92
|
+
dataSourceId: string | undefined;
|
|
93
|
+
clientToken?: string | undefined;
|
|
94
|
+
documents: KnowledgeBaseDocument[] | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface IngestKnowledgeBaseDocumentsResponse {
|
|
97
|
+
documentDetails?: KnowledgeBaseDocumentDetail[] | undefined;
|
|
98
|
+
}
|
|
99
|
+
export interface ListKnowledgeBaseDocumentsRequest {
|
|
100
|
+
knowledgeBaseId: string | undefined;
|
|
101
|
+
dataSourceId: string | undefined;
|
|
102
|
+
maxResults?: number | undefined;
|
|
103
|
+
nextToken?: string | undefined;
|
|
104
|
+
}
|
|
105
|
+
export interface ListKnowledgeBaseDocumentsResponse {
|
|
106
|
+
documentDetails: KnowledgeBaseDocumentDetail[] | undefined;
|
|
107
|
+
nextToken?: string | undefined;
|
|
108
|
+
}
|
|
15
109
|
export interface AssociateAgentKnowledgeBaseRequest {
|
|
16
110
|
agentId: string | undefined;
|
|
17
111
|
agentVersion: string | undefined;
|
|
@@ -22,7 +116,117 @@ export interface AssociateAgentKnowledgeBaseRequest {
|
|
|
22
116
|
export interface AssociateAgentKnowledgeBaseResponse {
|
|
23
117
|
agentKnowledgeBase: AgentKnowledgeBase | undefined;
|
|
24
118
|
}
|
|
119
|
+
export interface KendraKnowledgeBaseConfiguration {
|
|
120
|
+
kendraIndexArn: string | undefined;
|
|
121
|
+
}
|
|
122
|
+
export declare const RedshiftProvisionedAuthType: {
|
|
123
|
+
readonly IAM: "IAM";
|
|
124
|
+
readonly USERNAME: "USERNAME";
|
|
125
|
+
readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
|
|
126
|
+
};
|
|
127
|
+
export type RedshiftProvisionedAuthType =
|
|
128
|
+
(typeof RedshiftProvisionedAuthType)[keyof typeof RedshiftProvisionedAuthType];
|
|
129
|
+
export interface RedshiftProvisionedAuthConfiguration {
|
|
130
|
+
type: RedshiftProvisionedAuthType | undefined;
|
|
131
|
+
databaseUser?: string | undefined;
|
|
132
|
+
usernamePasswordSecretArn?: string | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface RedshiftProvisionedConfiguration {
|
|
135
|
+
clusterIdentifier: string | undefined;
|
|
136
|
+
authConfiguration: RedshiftProvisionedAuthConfiguration | undefined;
|
|
137
|
+
}
|
|
138
|
+
export declare const RedshiftServerlessAuthType: {
|
|
139
|
+
readonly IAM: "IAM";
|
|
140
|
+
readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
|
|
141
|
+
};
|
|
142
|
+
export type RedshiftServerlessAuthType =
|
|
143
|
+
(typeof RedshiftServerlessAuthType)[keyof typeof RedshiftServerlessAuthType];
|
|
144
|
+
export interface RedshiftServerlessAuthConfiguration {
|
|
145
|
+
type: RedshiftServerlessAuthType | undefined;
|
|
146
|
+
usernamePasswordSecretArn?: string | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface RedshiftServerlessConfiguration {
|
|
149
|
+
workgroupArn: string | undefined;
|
|
150
|
+
authConfiguration: RedshiftServerlessAuthConfiguration | undefined;
|
|
151
|
+
}
|
|
152
|
+
export declare const RedshiftQueryEngineType: {
|
|
153
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
154
|
+
readonly SERVERLESS: "SERVERLESS";
|
|
155
|
+
};
|
|
156
|
+
export type RedshiftQueryEngineType =
|
|
157
|
+
(typeof RedshiftQueryEngineType)[keyof typeof RedshiftQueryEngineType];
|
|
158
|
+
export interface RedshiftQueryEngineConfiguration {
|
|
159
|
+
type: RedshiftQueryEngineType | undefined;
|
|
160
|
+
serverlessConfiguration?: RedshiftServerlessConfiguration | undefined;
|
|
161
|
+
provisionedConfiguration?: RedshiftProvisionedConfiguration | undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface CuratedQuery {
|
|
164
|
+
naturalLanguage: string | undefined;
|
|
165
|
+
sql: string | undefined;
|
|
166
|
+
}
|
|
167
|
+
export declare const IncludeExclude: {
|
|
168
|
+
readonly EXCLUDE: "EXCLUDE";
|
|
169
|
+
readonly INCLUDE: "INCLUDE";
|
|
170
|
+
};
|
|
171
|
+
export type IncludeExclude =
|
|
172
|
+
(typeof IncludeExclude)[keyof typeof IncludeExclude];
|
|
173
|
+
export interface QueryGenerationColumn {
|
|
174
|
+
name?: string | undefined;
|
|
175
|
+
description?: string | undefined;
|
|
176
|
+
inclusion?: IncludeExclude | undefined;
|
|
177
|
+
}
|
|
178
|
+
export interface QueryGenerationTable {
|
|
179
|
+
name: string | undefined;
|
|
180
|
+
description?: string | undefined;
|
|
181
|
+
inclusion?: IncludeExclude | undefined;
|
|
182
|
+
columns?: QueryGenerationColumn[] | undefined;
|
|
183
|
+
}
|
|
184
|
+
export interface QueryGenerationContext {
|
|
185
|
+
tables?: QueryGenerationTable[] | undefined;
|
|
186
|
+
curatedQueries?: CuratedQuery[] | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface QueryGenerationConfiguration {
|
|
189
|
+
executionTimeoutSeconds?: number | undefined;
|
|
190
|
+
generationContext?: QueryGenerationContext | undefined;
|
|
191
|
+
}
|
|
192
|
+
export interface RedshiftQueryEngineAwsDataCatalogStorageConfiguration {
|
|
193
|
+
tableNames: string[] | undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface RedshiftQueryEngineRedshiftStorageConfiguration {
|
|
196
|
+
databaseName: string | undefined;
|
|
197
|
+
}
|
|
198
|
+
export declare const RedshiftQueryEngineStorageType: {
|
|
199
|
+
readonly AWS_DATA_CATALOG: "AWS_DATA_CATALOG";
|
|
200
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
201
|
+
};
|
|
202
|
+
export type RedshiftQueryEngineStorageType =
|
|
203
|
+
(typeof RedshiftQueryEngineStorageType)[keyof typeof RedshiftQueryEngineStorageType];
|
|
204
|
+
export interface RedshiftQueryEngineStorageConfiguration {
|
|
205
|
+
type: RedshiftQueryEngineStorageType | undefined;
|
|
206
|
+
awsDataCatalogConfiguration?:
|
|
207
|
+
| RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
208
|
+
| undefined;
|
|
209
|
+
redshiftConfiguration?:
|
|
210
|
+
| RedshiftQueryEngineRedshiftStorageConfiguration
|
|
211
|
+
| undefined;
|
|
212
|
+
}
|
|
213
|
+
export interface RedshiftConfiguration {
|
|
214
|
+
storageConfigurations: RedshiftQueryEngineStorageConfiguration[] | undefined;
|
|
215
|
+
queryEngineConfiguration: RedshiftQueryEngineConfiguration | undefined;
|
|
216
|
+
queryGenerationConfiguration?: QueryGenerationConfiguration | undefined;
|
|
217
|
+
}
|
|
218
|
+
export declare const QueryEngineType: {
|
|
219
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
220
|
+
};
|
|
221
|
+
export type QueryEngineType =
|
|
222
|
+
(typeof QueryEngineType)[keyof typeof QueryEngineType];
|
|
223
|
+
export interface SqlKnowledgeBaseConfiguration {
|
|
224
|
+
type: QueryEngineType | undefined;
|
|
225
|
+
redshiftConfiguration?: RedshiftConfiguration | undefined;
|
|
226
|
+
}
|
|
25
227
|
export declare const KnowledgeBaseType: {
|
|
228
|
+
readonly KENDRA: "KENDRA";
|
|
229
|
+
readonly SQL: "SQL";
|
|
26
230
|
readonly VECTOR: "VECTOR";
|
|
27
231
|
};
|
|
28
232
|
export type KnowledgeBaseType =
|
|
@@ -42,15 +246,34 @@ export interface EmbeddingModelConfiguration {
|
|
|
42
246
|
| BedrockEmbeddingModelConfiguration
|
|
43
247
|
| undefined;
|
|
44
248
|
}
|
|
249
|
+
export declare const SupplementalDataStorageLocationType: {
|
|
250
|
+
readonly S3: "S3";
|
|
251
|
+
};
|
|
252
|
+
export type SupplementalDataStorageLocationType =
|
|
253
|
+
(typeof SupplementalDataStorageLocationType)[keyof typeof SupplementalDataStorageLocationType];
|
|
254
|
+
export interface SupplementalDataStorageLocation {
|
|
255
|
+
type: SupplementalDataStorageLocationType | undefined;
|
|
256
|
+
s3Location?: S3Location | undefined;
|
|
257
|
+
}
|
|
258
|
+
export interface SupplementalDataStorageConfiguration {
|
|
259
|
+
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
260
|
+
}
|
|
45
261
|
export interface VectorKnowledgeBaseConfiguration {
|
|
46
262
|
embeddingModelArn: string | undefined;
|
|
47
263
|
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
|
264
|
+
supplementalDataStorageConfiguration?:
|
|
265
|
+
| SupplementalDataStorageConfiguration
|
|
266
|
+
| undefined;
|
|
48
267
|
}
|
|
49
268
|
export interface KnowledgeBaseConfiguration {
|
|
50
269
|
type: KnowledgeBaseType | undefined;
|
|
51
270
|
vectorKnowledgeBaseConfiguration?:
|
|
52
271
|
| VectorKnowledgeBaseConfiguration
|
|
53
272
|
| undefined;
|
|
273
|
+
kendraKnowledgeBaseConfiguration?:
|
|
274
|
+
| KendraKnowledgeBaseConfiguration
|
|
275
|
+
| undefined;
|
|
276
|
+
sqlKnowledgeBaseConfiguration?: SqlKnowledgeBaseConfiguration | undefined;
|
|
54
277
|
}
|
|
55
278
|
export interface MongoDbAtlasFieldMapping {
|
|
56
279
|
vectorField: string | undefined;
|
|
@@ -137,7 +360,7 @@ export interface CreateKnowledgeBaseRequest {
|
|
|
137
360
|
description?: string | undefined;
|
|
138
361
|
roleArn: string | undefined;
|
|
139
362
|
knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
|
|
140
|
-
storageConfiguration
|
|
363
|
+
storageConfiguration?: StorageConfiguration | undefined;
|
|
141
364
|
tags?: Record<string, string> | undefined;
|
|
142
365
|
}
|
|
143
366
|
export declare const KnowledgeBaseStatus: {
|
|
@@ -157,7 +380,7 @@ export interface KnowledgeBase {
|
|
|
157
380
|
description?: string | undefined;
|
|
158
381
|
roleArn: string | undefined;
|
|
159
382
|
knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
|
|
160
|
-
storageConfiguration
|
|
383
|
+
storageConfiguration?: StorageConfiguration | undefined;
|
|
161
384
|
status: KnowledgeBaseStatus | undefined;
|
|
162
385
|
createdAt: Date | undefined;
|
|
163
386
|
updatedAt: Date | undefined;
|
|
@@ -234,7 +457,7 @@ export interface UpdateKnowledgeBaseRequest {
|
|
|
234
457
|
description?: string | undefined;
|
|
235
458
|
roleArn: string | undefined;
|
|
236
459
|
knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
|
|
237
|
-
storageConfiguration
|
|
460
|
+
storageConfiguration?: StorageConfiguration | undefined;
|
|
238
461
|
}
|
|
239
462
|
export interface UpdateKnowledgeBaseResponse {
|
|
240
463
|
knowledgeBase: KnowledgeBase | undefined;
|
|
@@ -423,6 +646,63 @@ export interface ListAgentVersionsResponse {
|
|
|
423
646
|
agentVersionSummaries: AgentVersionSummary[] | undefined;
|
|
424
647
|
nextToken?: string | undefined;
|
|
425
648
|
}
|
|
649
|
+
export declare const InlineContentFilterSensitiveLog: (
|
|
650
|
+
obj: InlineContent
|
|
651
|
+
) => any;
|
|
652
|
+
export declare const CustomContentFilterSensitiveLog: (
|
|
653
|
+
obj: CustomContent
|
|
654
|
+
) => any;
|
|
655
|
+
export declare const DocumentContentFilterSensitiveLog: (
|
|
656
|
+
obj: DocumentContent
|
|
657
|
+
) => any;
|
|
658
|
+
export declare const MetadataAttributeValueFilterSensitiveLog: (
|
|
659
|
+
obj: MetadataAttributeValue
|
|
660
|
+
) => any;
|
|
661
|
+
export declare const MetadataAttributeFilterSensitiveLog: (
|
|
662
|
+
obj: MetadataAttribute
|
|
663
|
+
) => any;
|
|
664
|
+
export declare const DocumentMetadataFilterSensitiveLog: (
|
|
665
|
+
obj: DocumentMetadata
|
|
666
|
+
) => any;
|
|
667
|
+
export declare const KnowledgeBaseDocumentFilterSensitiveLog: (
|
|
668
|
+
obj: KnowledgeBaseDocument
|
|
669
|
+
) => any;
|
|
670
|
+
export declare const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: (
|
|
671
|
+
obj: IngestKnowledgeBaseDocumentsRequest
|
|
672
|
+
) => any;
|
|
673
|
+
export declare const QueryGenerationContextFilterSensitiveLog: (
|
|
674
|
+
obj: QueryGenerationContext
|
|
675
|
+
) => any;
|
|
676
|
+
export declare const QueryGenerationConfigurationFilterSensitiveLog: (
|
|
677
|
+
obj: QueryGenerationConfiguration
|
|
678
|
+
) => any;
|
|
679
|
+
export declare const RedshiftConfigurationFilterSensitiveLog: (
|
|
680
|
+
obj: RedshiftConfiguration
|
|
681
|
+
) => any;
|
|
682
|
+
export declare const SqlKnowledgeBaseConfigurationFilterSensitiveLog: (
|
|
683
|
+
obj: SqlKnowledgeBaseConfiguration
|
|
684
|
+
) => any;
|
|
685
|
+
export declare const KnowledgeBaseConfigurationFilterSensitiveLog: (
|
|
686
|
+
obj: KnowledgeBaseConfiguration
|
|
687
|
+
) => any;
|
|
688
|
+
export declare const CreateKnowledgeBaseRequestFilterSensitiveLog: (
|
|
689
|
+
obj: CreateKnowledgeBaseRequest
|
|
690
|
+
) => any;
|
|
691
|
+
export declare const KnowledgeBaseFilterSensitiveLog: (
|
|
692
|
+
obj: KnowledgeBase
|
|
693
|
+
) => any;
|
|
694
|
+
export declare const CreateKnowledgeBaseResponseFilterSensitiveLog: (
|
|
695
|
+
obj: CreateKnowledgeBaseResponse
|
|
696
|
+
) => any;
|
|
697
|
+
export declare const GetKnowledgeBaseResponseFilterSensitiveLog: (
|
|
698
|
+
obj: GetKnowledgeBaseResponse
|
|
699
|
+
) => any;
|
|
700
|
+
export declare const UpdateKnowledgeBaseRequestFilterSensitiveLog: (
|
|
701
|
+
obj: UpdateKnowledgeBaseRequest
|
|
702
|
+
) => any;
|
|
703
|
+
export declare const UpdateKnowledgeBaseResponseFilterSensitiveLog: (
|
|
704
|
+
obj: UpdateKnowledgeBaseResponse
|
|
705
|
+
) => any;
|
|
426
706
|
export declare const PromptAgentResourceFilterSensitiveLog: (
|
|
427
707
|
obj: PromptAgentResource
|
|
428
708
|
) => 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>;
|
|
@@ -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";
|
|
@@ -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,
|
|
@@ -91,6 +95,10 @@ import {
|
|
|
91
95
|
DeletePromptCommandInput,
|
|
92
96
|
DeletePromptCommandOutput,
|
|
93
97
|
} from "../commands/DeletePromptCommand";
|
|
98
|
+
import {
|
|
99
|
+
DisassociateAgentCollaboratorCommandInput,
|
|
100
|
+
DisassociateAgentCollaboratorCommandOutput,
|
|
101
|
+
} from "../commands/DisassociateAgentCollaboratorCommand";
|
|
94
102
|
import {
|
|
95
103
|
DisassociateAgentKnowledgeBaseCommandInput,
|
|
96
104
|
DisassociateAgentKnowledgeBaseCommandOutput,
|
|
@@ -103,6 +111,10 @@ import {
|
|
|
103
111
|
GetAgentAliasCommandInput,
|
|
104
112
|
GetAgentAliasCommandOutput,
|
|
105
113
|
} from "../commands/GetAgentAliasCommand";
|
|
114
|
+
import {
|
|
115
|
+
GetAgentCollaboratorCommandInput,
|
|
116
|
+
GetAgentCollaboratorCommandOutput,
|
|
117
|
+
} from "../commands/GetAgentCollaboratorCommand";
|
|
106
118
|
import {
|
|
107
119
|
GetAgentCommandInput,
|
|
108
120
|
GetAgentCommandOutput,
|
|
@@ -159,6 +171,10 @@ import {
|
|
|
159
171
|
ListAgentAliasesCommandInput,
|
|
160
172
|
ListAgentAliasesCommandOutput,
|
|
161
173
|
} from "../commands/ListAgentAliasesCommand";
|
|
174
|
+
import {
|
|
175
|
+
ListAgentCollaboratorsCommandInput,
|
|
176
|
+
ListAgentCollaboratorsCommandOutput,
|
|
177
|
+
} from "../commands/ListAgentCollaboratorsCommand";
|
|
162
178
|
import {
|
|
163
179
|
ListAgentKnowledgeBasesCommandInput,
|
|
164
180
|
ListAgentKnowledgeBasesCommandOutput,
|
|
@@ -239,6 +255,10 @@ import {
|
|
|
239
255
|
UpdateAgentAliasCommandInput,
|
|
240
256
|
UpdateAgentAliasCommandOutput,
|
|
241
257
|
} from "../commands/UpdateAgentAliasCommand";
|
|
258
|
+
import {
|
|
259
|
+
UpdateAgentCollaboratorCommandInput,
|
|
260
|
+
UpdateAgentCollaboratorCommandOutput,
|
|
261
|
+
} from "../commands/UpdateAgentCollaboratorCommand";
|
|
242
262
|
import {
|
|
243
263
|
UpdateAgentCommandInput,
|
|
244
264
|
UpdateAgentCommandOutput,
|
|
@@ -271,6 +291,10 @@ import {
|
|
|
271
291
|
ValidateFlowDefinitionCommandInput,
|
|
272
292
|
ValidateFlowDefinitionCommandOutput,
|
|
273
293
|
} from "../commands/ValidateFlowDefinitionCommand";
|
|
294
|
+
export declare const se_AssociateAgentCollaboratorCommand: (
|
|
295
|
+
input: AssociateAgentCollaboratorCommandInput,
|
|
296
|
+
context: __SerdeContext
|
|
297
|
+
) => Promise<__HttpRequest>;
|
|
274
298
|
export declare const se_AssociateAgentKnowledgeBaseCommand: (
|
|
275
299
|
input: AssociateAgentKnowledgeBaseCommandInput,
|
|
276
300
|
context: __SerdeContext
|
|
@@ -359,6 +383,10 @@ export declare const se_DeletePromptCommand: (
|
|
|
359
383
|
input: DeletePromptCommandInput,
|
|
360
384
|
context: __SerdeContext
|
|
361
385
|
) => Promise<__HttpRequest>;
|
|
386
|
+
export declare const se_DisassociateAgentCollaboratorCommand: (
|
|
387
|
+
input: DisassociateAgentCollaboratorCommandInput,
|
|
388
|
+
context: __SerdeContext
|
|
389
|
+
) => Promise<__HttpRequest>;
|
|
362
390
|
export declare const se_DisassociateAgentKnowledgeBaseCommand: (
|
|
363
391
|
input: DisassociateAgentKnowledgeBaseCommandInput,
|
|
364
392
|
context: __SerdeContext
|
|
@@ -375,6 +403,10 @@ export declare const se_GetAgentAliasCommand: (
|
|
|
375
403
|
input: GetAgentAliasCommandInput,
|
|
376
404
|
context: __SerdeContext
|
|
377
405
|
) => Promise<__HttpRequest>;
|
|
406
|
+
export declare const se_GetAgentCollaboratorCommand: (
|
|
407
|
+
input: GetAgentCollaboratorCommandInput,
|
|
408
|
+
context: __SerdeContext
|
|
409
|
+
) => Promise<__HttpRequest>;
|
|
378
410
|
export declare const se_GetAgentKnowledgeBaseCommand: (
|
|
379
411
|
input: GetAgentKnowledgeBaseCommandInput,
|
|
380
412
|
context: __SerdeContext
|
|
@@ -427,6 +459,10 @@ export declare const se_ListAgentAliasesCommand: (
|
|
|
427
459
|
input: ListAgentAliasesCommandInput,
|
|
428
460
|
context: __SerdeContext
|
|
429
461
|
) => Promise<__HttpRequest>;
|
|
462
|
+
export declare const se_ListAgentCollaboratorsCommand: (
|
|
463
|
+
input: ListAgentCollaboratorsCommandInput,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<__HttpRequest>;
|
|
430
466
|
export declare const se_ListAgentKnowledgeBasesCommand: (
|
|
431
467
|
input: ListAgentKnowledgeBasesCommandInput,
|
|
432
468
|
context: __SerdeContext
|
|
@@ -511,6 +547,10 @@ export declare const se_UpdateAgentAliasCommand: (
|
|
|
511
547
|
input: UpdateAgentAliasCommandInput,
|
|
512
548
|
context: __SerdeContext
|
|
513
549
|
) => Promise<__HttpRequest>;
|
|
550
|
+
export declare const se_UpdateAgentCollaboratorCommand: (
|
|
551
|
+
input: UpdateAgentCollaboratorCommandInput,
|
|
552
|
+
context: __SerdeContext
|
|
553
|
+
) => Promise<__HttpRequest>;
|
|
514
554
|
export declare const se_UpdateAgentKnowledgeBaseCommand: (
|
|
515
555
|
input: UpdateAgentKnowledgeBaseCommandInput,
|
|
516
556
|
context: __SerdeContext
|
|
@@ -539,6 +579,10 @@ export declare const se_ValidateFlowDefinitionCommand: (
|
|
|
539
579
|
input: ValidateFlowDefinitionCommandInput,
|
|
540
580
|
context: __SerdeContext
|
|
541
581
|
) => Promise<__HttpRequest>;
|
|
582
|
+
export declare const de_AssociateAgentCollaboratorCommand: (
|
|
583
|
+
output: __HttpResponse,
|
|
584
|
+
context: __SerdeContext
|
|
585
|
+
) => Promise<AssociateAgentCollaboratorCommandOutput>;
|
|
542
586
|
export declare const de_AssociateAgentKnowledgeBaseCommand: (
|
|
543
587
|
output: __HttpResponse,
|
|
544
588
|
context: __SerdeContext
|
|
@@ -627,6 +671,10 @@ export declare const de_DeletePromptCommand: (
|
|
|
627
671
|
output: __HttpResponse,
|
|
628
672
|
context: __SerdeContext
|
|
629
673
|
) => Promise<DeletePromptCommandOutput>;
|
|
674
|
+
export declare const de_DisassociateAgentCollaboratorCommand: (
|
|
675
|
+
output: __HttpResponse,
|
|
676
|
+
context: __SerdeContext
|
|
677
|
+
) => Promise<DisassociateAgentCollaboratorCommandOutput>;
|
|
630
678
|
export declare const de_DisassociateAgentKnowledgeBaseCommand: (
|
|
631
679
|
output: __HttpResponse,
|
|
632
680
|
context: __SerdeContext
|
|
@@ -643,6 +691,10 @@ export declare const de_GetAgentAliasCommand: (
|
|
|
643
691
|
output: __HttpResponse,
|
|
644
692
|
context: __SerdeContext
|
|
645
693
|
) => Promise<GetAgentAliasCommandOutput>;
|
|
694
|
+
export declare const de_GetAgentCollaboratorCommand: (
|
|
695
|
+
output: __HttpResponse,
|
|
696
|
+
context: __SerdeContext
|
|
697
|
+
) => Promise<GetAgentCollaboratorCommandOutput>;
|
|
646
698
|
export declare const de_GetAgentKnowledgeBaseCommand: (
|
|
647
699
|
output: __HttpResponse,
|
|
648
700
|
context: __SerdeContext
|
|
@@ -695,6 +747,10 @@ export declare const de_ListAgentAliasesCommand: (
|
|
|
695
747
|
output: __HttpResponse,
|
|
696
748
|
context: __SerdeContext
|
|
697
749
|
) => Promise<ListAgentAliasesCommandOutput>;
|
|
750
|
+
export declare const de_ListAgentCollaboratorsCommand: (
|
|
751
|
+
output: __HttpResponse,
|
|
752
|
+
context: __SerdeContext
|
|
753
|
+
) => Promise<ListAgentCollaboratorsCommandOutput>;
|
|
698
754
|
export declare const de_ListAgentKnowledgeBasesCommand: (
|
|
699
755
|
output: __HttpResponse,
|
|
700
756
|
context: __SerdeContext
|
|
@@ -779,6 +835,10 @@ export declare const de_UpdateAgentAliasCommand: (
|
|
|
779
835
|
output: __HttpResponse,
|
|
780
836
|
context: __SerdeContext
|
|
781
837
|
) => Promise<UpdateAgentAliasCommandOutput>;
|
|
838
|
+
export declare const de_UpdateAgentCollaboratorCommand: (
|
|
839
|
+
output: __HttpResponse,
|
|
840
|
+
context: __SerdeContext
|
|
841
|
+
) => Promise<UpdateAgentCollaboratorCommandOutput>;
|
|
782
842
|
export declare const de_UpdateAgentKnowledgeBaseCommand: (
|
|
783
843
|
output: __HttpResponse,
|
|
784
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.706.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",
|