@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
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { ListAgentCollaboratorsRequest, ListAgentCollaboratorsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAgentCollaboratorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAgentCollaboratorsCommandInput extends ListAgentCollaboratorsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAgentCollaboratorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAgentCollaboratorsCommandOutput extends ListAgentCollaboratorsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAgentCollaboratorsCommand_base: {
|
|
25
|
+
new (input: ListAgentCollaboratorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAgentCollaboratorsCommandInput, ListAgentCollaboratorsCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListAgentCollaboratorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAgentCollaboratorsCommandInput, ListAgentCollaboratorsCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieve a list of an agent's collaborators.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, ListAgentCollaboratorsCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, ListAgentCollaboratorsCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // ListAgentCollaboratorsRequest
|
|
38
|
+
* agentId: "STRING_VALUE", // required
|
|
39
|
+
* agentVersion: "STRING_VALUE", // required
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListAgentCollaboratorsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListAgentCollaboratorsResponse
|
|
46
|
+
* // agentCollaboratorSummaries: [ // AgentCollaboratorSummaries // required
|
|
47
|
+
* // { // AgentCollaboratorSummary
|
|
48
|
+
* // agentId: "STRING_VALUE", // required
|
|
49
|
+
* // agentVersion: "STRING_VALUE", // required
|
|
50
|
+
* // collaboratorId: "STRING_VALUE", // required
|
|
51
|
+
* // agentDescriptor: { // AgentDescriptor
|
|
52
|
+
* // aliasArn: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // collaborationInstruction: "STRING_VALUE", // required
|
|
55
|
+
* // relayConversationHistory: "TO_COLLABORATOR" || "DISABLED", // required
|
|
56
|
+
* // collaboratorName: "STRING_VALUE", // required
|
|
57
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // nextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param ListAgentCollaboratorsCommandInput - {@link ListAgentCollaboratorsCommandInput}
|
|
67
|
+
* @returns {@link ListAgentCollaboratorsCommandOutput}
|
|
68
|
+
* @see {@link ListAgentCollaboratorsCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link ListAgentCollaboratorsCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link BedrockAgentServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ListAgentCollaboratorsCommand extends ListAgentCollaboratorsCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ListAgentCollaboratorsRequest;
|
|
97
|
+
output: ListAgentCollaboratorsResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ListAgentCollaboratorsCommandInput;
|
|
101
|
+
output: ListAgentCollaboratorsCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
-
import { ListKnowledgeBaseDocumentsRequest, ListKnowledgeBaseDocumentsResponse } from "../models/
|
|
4
|
+
import { ListKnowledgeBaseDocumentsRequest, ListKnowledgeBaseDocumentsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
|
|
4
|
+
import { UpdateAgentCollaboratorRequest, UpdateAgentCollaboratorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateAgentCollaboratorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAgentCollaboratorCommandInput extends UpdateAgentCollaboratorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAgentCollaboratorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAgentCollaboratorCommandOutput extends UpdateAgentCollaboratorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAgentCollaboratorCommand_base: {
|
|
25
|
+
new (input: UpdateAgentCollaboratorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAgentCollaboratorCommandInput, UpdateAgentCollaboratorCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateAgentCollaboratorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAgentCollaboratorCommandInput, UpdateAgentCollaboratorCommandOutput, BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an agent's collaborator.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentClient, UpdateAgentCollaboratorCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentClient, UpdateAgentCollaboratorCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentClient(config);
|
|
37
|
+
* const input = { // UpdateAgentCollaboratorRequest
|
|
38
|
+
* agentId: "STRING_VALUE", // required
|
|
39
|
+
* agentVersion: "STRING_VALUE", // required
|
|
40
|
+
* collaboratorId: "STRING_VALUE", // required
|
|
41
|
+
* agentDescriptor: { // AgentDescriptor
|
|
42
|
+
* aliasArn: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* collaboratorName: "STRING_VALUE", // required
|
|
45
|
+
* collaborationInstruction: "STRING_VALUE", // required
|
|
46
|
+
* relayConversationHistory: "TO_COLLABORATOR" || "DISABLED",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new UpdateAgentCollaboratorCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // UpdateAgentCollaboratorResponse
|
|
51
|
+
* // agentCollaborator: { // AgentCollaborator
|
|
52
|
+
* // agentId: "STRING_VALUE", // required
|
|
53
|
+
* // agentVersion: "STRING_VALUE", // required
|
|
54
|
+
* // agentDescriptor: { // AgentDescriptor
|
|
55
|
+
* // aliasArn: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // collaboratorId: "STRING_VALUE", // required
|
|
58
|
+
* // collaborationInstruction: "STRING_VALUE", // required
|
|
59
|
+
* // collaboratorName: "STRING_VALUE", // required
|
|
60
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // relayConversationHistory: "TO_COLLABORATOR" || "DISABLED",
|
|
63
|
+
* // clientToken: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param UpdateAgentCollaboratorCommandInput - {@link UpdateAgentCollaboratorCommandInput}
|
|
70
|
+
* @returns {@link UpdateAgentCollaboratorCommandOutput}
|
|
71
|
+
* @see {@link UpdateAgentCollaboratorCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link UpdateAgentCollaboratorCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <p>There was a conflict performing an operation.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
88
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link BedrockAgentServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class UpdateAgentCollaboratorCommand extends UpdateAgentCollaboratorCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: UpdateAgentCollaboratorRequest;
|
|
106
|
+
output: UpdateAgentCollaboratorResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: UpdateAgentCollaboratorCommandInput;
|
|
110
|
+
output: UpdateAgentCollaboratorCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -66,6 +66,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
66
66
|
* ],
|
|
67
67
|
* },
|
|
68
68
|
* parserMode: "DEFAULT" || "OVERRIDDEN",
|
|
69
|
+
* foundationModel: "STRING_VALUE",
|
|
69
70
|
* },
|
|
70
71
|
* ],
|
|
71
72
|
* overrideLambda: "STRING_VALUE",
|
|
@@ -80,6 +81,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
80
81
|
* ],
|
|
81
82
|
* storageDays: Number("int"),
|
|
82
83
|
* },
|
|
84
|
+
* agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
|
|
83
85
|
* };
|
|
84
86
|
* const command = new UpdateAgentCommand(input);
|
|
85
87
|
* const response = await client.send(command);
|
|
@@ -129,6 +131,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
129
131
|
* // ],
|
|
130
132
|
* // },
|
|
131
133
|
* // parserMode: "DEFAULT" || "OVERRIDDEN",
|
|
134
|
+
* // foundationModel: "STRING_VALUE",
|
|
132
135
|
* // },
|
|
133
136
|
* // ],
|
|
134
137
|
* // overrideLambda: "STRING_VALUE",
|
|
@@ -143,6 +146,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
143
146
|
* // ],
|
|
144
147
|
* // storageDays: Number("int"),
|
|
145
148
|
* // },
|
|
149
|
+
* // agentCollaboration: "SUPERVISOR" || "SUPERVISOR_ROUTER" || "DISABLED",
|
|
146
150
|
* // },
|
|
147
151
|
* // };
|
|
148
152
|
*
|
|
@@ -43,7 +43,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
43
43
|
* name: "STRING_VALUE", // required
|
|
44
44
|
* description: "STRING_VALUE",
|
|
45
45
|
* dataSourceConfiguration: { // DataSourceConfiguration
|
|
46
|
-
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
46
|
+
* type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
|
|
47
47
|
* s3Configuration: { // S3DataSourceConfiguration
|
|
48
48
|
* bucketArn: "STRING_VALUE", // required
|
|
49
49
|
* inclusionPrefixes: [ // S3Prefixes
|
|
@@ -193,12 +193,16 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
193
193
|
* ],
|
|
194
194
|
* },
|
|
195
195
|
* parsingConfiguration: { // ParsingConfiguration
|
|
196
|
-
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
|
|
196
|
+
* parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
|
|
197
197
|
* bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
198
198
|
* modelArn: "STRING_VALUE", // required
|
|
199
199
|
* parsingPrompt: { // ParsingPrompt
|
|
200
200
|
* parsingPromptText: "STRING_VALUE", // required
|
|
201
201
|
* },
|
|
202
|
+
* parsingModality: "MULTIMODAL",
|
|
203
|
+
* },
|
|
204
|
+
* bedrockDataAutomationConfiguration: { // BedrockDataAutomationConfiguration
|
|
205
|
+
* parsingModality: "MULTIMODAL",
|
|
202
206
|
* },
|
|
203
207
|
* },
|
|
204
208
|
* },
|
|
@@ -213,7 +217,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
213
217
|
* // status: "AVAILABLE" || "DELETING" || "DELETE_UNSUCCESSFUL", // required
|
|
214
218
|
* // description: "STRING_VALUE",
|
|
215
219
|
* // dataSourceConfiguration: { // DataSourceConfiguration
|
|
216
|
-
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM", // required
|
|
220
|
+
* // type: "S3" || "WEB" || "CONFLUENCE" || "SALESFORCE" || "SHAREPOINT" || "CUSTOM" || "REDSHIFT_METADATA", // required
|
|
217
221
|
* // s3Configuration: { // S3DataSourceConfiguration
|
|
218
222
|
* // bucketArn: "STRING_VALUE", // required
|
|
219
223
|
* // inclusionPrefixes: [ // S3Prefixes
|
|
@@ -362,12 +366,16 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
362
366
|
* // ],
|
|
363
367
|
* // },
|
|
364
368
|
* // parsingConfiguration: { // ParsingConfiguration
|
|
365
|
-
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL", // required
|
|
369
|
+
* // parsingStrategy: "BEDROCK_FOUNDATION_MODEL" || "BEDROCK_DATA_AUTOMATION", // required
|
|
366
370
|
* // bedrockFoundationModelConfiguration: { // BedrockFoundationModelConfiguration
|
|
367
371
|
* // modelArn: "STRING_VALUE", // required
|
|
368
372
|
* // parsingPrompt: { // ParsingPrompt
|
|
369
373
|
* // parsingPromptText: "STRING_VALUE", // required
|
|
370
374
|
* // },
|
|
375
|
+
* // parsingModality: "MULTIMODAL",
|
|
376
|
+
* // },
|
|
377
|
+
* // bedrockDataAutomationConfiguration: { // BedrockDataAutomationConfiguration
|
|
378
|
+
* // parsingModality: "MULTIMODAL",
|
|
371
379
|
* // },
|
|
372
380
|
* // },
|
|
373
381
|
* // },
|
|
@@ -59,7 +59,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
59
59
|
* description: "STRING_VALUE",
|
|
60
60
|
* roleArn: "STRING_VALUE", // required
|
|
61
61
|
* knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
62
|
-
* type: "VECTOR", // required
|
|
62
|
+
* type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
63
63
|
* vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
64
64
|
* embeddingModelArn: "STRING_VALUE", // required
|
|
65
65
|
* embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -68,6 +68,80 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
68
68
|
* embeddingDataType: "FLOAT32" || "BINARY",
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
|
+
* supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
72
|
+
* storageLocations: [ // SupplementalDataStorageLocations // required
|
|
73
|
+
* { // SupplementalDataStorageLocation
|
|
74
|
+
* type: "S3", // required
|
|
75
|
+
* s3Location: { // S3Location
|
|
76
|
+
* uri: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
83
|
+
* kendraIndexArn: "STRING_VALUE", // required
|
|
84
|
+
* },
|
|
85
|
+
* sqlKnowledgeBaseConfiguration: { // SqlKnowledgeBaseConfiguration
|
|
86
|
+
* type: "REDSHIFT", // required
|
|
87
|
+
* redshiftConfiguration: { // RedshiftConfiguration
|
|
88
|
+
* storageConfigurations: [ // RedshiftQueryEngineStorageConfigurations // required
|
|
89
|
+
* { // RedshiftQueryEngineStorageConfiguration
|
|
90
|
+
* type: "REDSHIFT" || "AWS_DATA_CATALOG", // required
|
|
91
|
+
* awsDataCatalogConfiguration: { // RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
92
|
+
* tableNames: [ // AwsDataCatalogTableNames // required
|
|
93
|
+
* "STRING_VALUE",
|
|
94
|
+
* ],
|
|
95
|
+
* },
|
|
96
|
+
* redshiftConfiguration: { // RedshiftQueryEngineRedshiftStorageConfiguration
|
|
97
|
+
* databaseName: "STRING_VALUE", // required
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* queryEngineConfiguration: { // RedshiftQueryEngineConfiguration
|
|
102
|
+
* type: "SERVERLESS" || "PROVISIONED", // required
|
|
103
|
+
* serverlessConfiguration: { // RedshiftServerlessConfiguration
|
|
104
|
+
* workgroupArn: "STRING_VALUE", // required
|
|
105
|
+
* authConfiguration: { // RedshiftServerlessAuthConfiguration
|
|
106
|
+
* type: "IAM" || "USERNAME_PASSWORD", // required
|
|
107
|
+
* usernamePasswordSecretArn: "STRING_VALUE",
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* provisionedConfiguration: { // RedshiftProvisionedConfiguration
|
|
111
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
112
|
+
* authConfiguration: { // RedshiftProvisionedAuthConfiguration
|
|
113
|
+
* type: "IAM" || "USERNAME_PASSWORD" || "USERNAME", // required
|
|
114
|
+
* databaseUser: "STRING_VALUE",
|
|
115
|
+
* usernamePasswordSecretArn: "STRING_VALUE",
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* queryGenerationConfiguration: { // QueryGenerationConfiguration
|
|
120
|
+
* executionTimeoutSeconds: Number("int"),
|
|
121
|
+
* generationContext: { // QueryGenerationContext
|
|
122
|
+
* tables: [ // QueryGenerationTables
|
|
123
|
+
* { // QueryGenerationTable
|
|
124
|
+
* name: "STRING_VALUE", // required
|
|
125
|
+
* description: "STRING_VALUE",
|
|
126
|
+
* inclusion: "INCLUDE" || "EXCLUDE",
|
|
127
|
+
* columns: [ // QueryGenerationColumns
|
|
128
|
+
* { // QueryGenerationColumn
|
|
129
|
+
* name: "STRING_VALUE",
|
|
130
|
+
* description: "STRING_VALUE",
|
|
131
|
+
* inclusion: "INCLUDE" || "EXCLUDE",
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* },
|
|
135
|
+
* ],
|
|
136
|
+
* curatedQueries: [ // CuratedQueries
|
|
137
|
+
* { // CuratedQuery
|
|
138
|
+
* naturalLanguage: "STRING_VALUE", // required
|
|
139
|
+
* sql: "STRING_VALUE", // required
|
|
140
|
+
* },
|
|
141
|
+
* ],
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
71
145
|
* },
|
|
72
146
|
* },
|
|
73
147
|
* storageConfiguration: { // StorageConfiguration
|
|
@@ -137,7 +211,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
137
211
|
* // description: "STRING_VALUE",
|
|
138
212
|
* // roleArn: "STRING_VALUE", // required
|
|
139
213
|
* // knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
140
|
-
* // type: "VECTOR", // required
|
|
214
|
+
* // type: "VECTOR" || "KENDRA" || "SQL", // required
|
|
141
215
|
* // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
142
216
|
* // embeddingModelArn: "STRING_VALUE", // required
|
|
143
217
|
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
@@ -146,6 +220,80 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
146
220
|
* // embeddingDataType: "FLOAT32" || "BINARY",
|
|
147
221
|
* // },
|
|
148
222
|
* // },
|
|
223
|
+
* // supplementalDataStorageConfiguration: { // SupplementalDataStorageConfiguration
|
|
224
|
+
* // storageLocations: [ // SupplementalDataStorageLocations // required
|
|
225
|
+
* // { // SupplementalDataStorageLocation
|
|
226
|
+
* // type: "S3", // required
|
|
227
|
+
* // s3Location: { // S3Location
|
|
228
|
+
* // uri: "STRING_VALUE", // required
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
231
|
+
* // ],
|
|
232
|
+
* // },
|
|
233
|
+
* // },
|
|
234
|
+
* // kendraKnowledgeBaseConfiguration: { // KendraKnowledgeBaseConfiguration
|
|
235
|
+
* // kendraIndexArn: "STRING_VALUE", // required
|
|
236
|
+
* // },
|
|
237
|
+
* // sqlKnowledgeBaseConfiguration: { // SqlKnowledgeBaseConfiguration
|
|
238
|
+
* // type: "REDSHIFT", // required
|
|
239
|
+
* // redshiftConfiguration: { // RedshiftConfiguration
|
|
240
|
+
* // storageConfigurations: [ // RedshiftQueryEngineStorageConfigurations // required
|
|
241
|
+
* // { // RedshiftQueryEngineStorageConfiguration
|
|
242
|
+
* // type: "REDSHIFT" || "AWS_DATA_CATALOG", // required
|
|
243
|
+
* // awsDataCatalogConfiguration: { // RedshiftQueryEngineAwsDataCatalogStorageConfiguration
|
|
244
|
+
* // tableNames: [ // AwsDataCatalogTableNames // required
|
|
245
|
+
* // "STRING_VALUE",
|
|
246
|
+
* // ],
|
|
247
|
+
* // },
|
|
248
|
+
* // redshiftConfiguration: { // RedshiftQueryEngineRedshiftStorageConfiguration
|
|
249
|
+
* // databaseName: "STRING_VALUE", // required
|
|
250
|
+
* // },
|
|
251
|
+
* // },
|
|
252
|
+
* // ],
|
|
253
|
+
* // queryEngineConfiguration: { // RedshiftQueryEngineConfiguration
|
|
254
|
+
* // type: "SERVERLESS" || "PROVISIONED", // required
|
|
255
|
+
* // serverlessConfiguration: { // RedshiftServerlessConfiguration
|
|
256
|
+
* // workgroupArn: "STRING_VALUE", // required
|
|
257
|
+
* // authConfiguration: { // RedshiftServerlessAuthConfiguration
|
|
258
|
+
* // type: "IAM" || "USERNAME_PASSWORD", // required
|
|
259
|
+
* // usernamePasswordSecretArn: "STRING_VALUE",
|
|
260
|
+
* // },
|
|
261
|
+
* // },
|
|
262
|
+
* // provisionedConfiguration: { // RedshiftProvisionedConfiguration
|
|
263
|
+
* // clusterIdentifier: "STRING_VALUE", // required
|
|
264
|
+
* // authConfiguration: { // RedshiftProvisionedAuthConfiguration
|
|
265
|
+
* // type: "IAM" || "USERNAME_PASSWORD" || "USERNAME", // required
|
|
266
|
+
* // databaseUser: "STRING_VALUE",
|
|
267
|
+
* // usernamePasswordSecretArn: "STRING_VALUE",
|
|
268
|
+
* // },
|
|
269
|
+
* // },
|
|
270
|
+
* // },
|
|
271
|
+
* // queryGenerationConfiguration: { // QueryGenerationConfiguration
|
|
272
|
+
* // executionTimeoutSeconds: Number("int"),
|
|
273
|
+
* // generationContext: { // QueryGenerationContext
|
|
274
|
+
* // tables: [ // QueryGenerationTables
|
|
275
|
+
* // { // QueryGenerationTable
|
|
276
|
+
* // name: "STRING_VALUE", // required
|
|
277
|
+
* // description: "STRING_VALUE",
|
|
278
|
+
* // inclusion: "INCLUDE" || "EXCLUDE",
|
|
279
|
+
* // columns: [ // QueryGenerationColumns
|
|
280
|
+
* // { // QueryGenerationColumn
|
|
281
|
+
* // name: "STRING_VALUE",
|
|
282
|
+
* // description: "STRING_VALUE",
|
|
283
|
+
* // inclusion: "INCLUDE" || "EXCLUDE",
|
|
284
|
+
* // },
|
|
285
|
+
* // ],
|
|
286
|
+
* // },
|
|
287
|
+
* // ],
|
|
288
|
+
* // curatedQueries: [ // CuratedQueries
|
|
289
|
+
* // { // CuratedQuery
|
|
290
|
+
* // naturalLanguage: "STRING_VALUE", // required
|
|
291
|
+
* // sql: "STRING_VALUE", // required
|
|
292
|
+
* // },
|
|
293
|
+
* // ],
|
|
294
|
+
* // },
|
|
295
|
+
* // },
|
|
296
|
+
* // },
|
|
149
297
|
* // },
|
|
150
298
|
* // },
|
|
151
299
|
* // storageConfiguration: { // StorageConfiguration
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AssociateAgentCollaboratorCommand";
|
|
1
2
|
export * from "./AssociateAgentKnowledgeBaseCommand";
|
|
2
3
|
export * from "./CreateAgentActionGroupCommand";
|
|
3
4
|
export * from "./CreateAgentAliasCommand";
|
|
@@ -20,9 +21,11 @@ export * from "./DeleteFlowVersionCommand";
|
|
|
20
21
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
21
22
|
export * from "./DeleteKnowledgeBaseDocumentsCommand";
|
|
22
23
|
export * from "./DeletePromptCommand";
|
|
24
|
+
export * from "./DisassociateAgentCollaboratorCommand";
|
|
23
25
|
export * from "./DisassociateAgentKnowledgeBaseCommand";
|
|
24
26
|
export * from "./GetAgentActionGroupCommand";
|
|
25
27
|
export * from "./GetAgentAliasCommand";
|
|
28
|
+
export * from "./GetAgentCollaboratorCommand";
|
|
26
29
|
export * from "./GetAgentCommand";
|
|
27
30
|
export * from "./GetAgentKnowledgeBaseCommand";
|
|
28
31
|
export * from "./GetAgentVersionCommand";
|
|
@@ -37,6 +40,7 @@ export * from "./GetPromptCommand";
|
|
|
37
40
|
export * from "./IngestKnowledgeBaseDocumentsCommand";
|
|
38
41
|
export * from "./ListAgentActionGroupsCommand";
|
|
39
42
|
export * from "./ListAgentAliasesCommand";
|
|
43
|
+
export * from "./ListAgentCollaboratorsCommand";
|
|
40
44
|
export * from "./ListAgentKnowledgeBasesCommand";
|
|
41
45
|
export * from "./ListAgentVersionsCommand";
|
|
42
46
|
export * from "./ListAgentsCommand";
|
|
@@ -57,6 +61,7 @@ export * from "./TagResourceCommand";
|
|
|
57
61
|
export * from "./UntagResourceCommand";
|
|
58
62
|
export * from "./UpdateAgentActionGroupCommand";
|
|
59
63
|
export * from "./UpdateAgentAliasCommand";
|
|
64
|
+
export * from "./UpdateAgentCollaboratorCommand";
|
|
60
65
|
export * from "./UpdateAgentCommand";
|
|
61
66
|
export * from "./UpdateAgentKnowledgeBaseCommand";
|
|
62
67
|
export * from "./UpdateDataSourceCommand";
|