@aws-sdk/client-bedrock-agent 3.774.0 → 3.777.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/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +29 -18
- package/dist-es/BedrockAgentClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/AssociateAgentCollaboratorCommand.d.ts +1 -0
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +1 -0
- package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateAgentAliasCommand.d.ts +1 -0
- package/dist-types/commands/CreateAgentCommand.d.ts +1 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +1 -0
- package/dist-types/commands/CreateFlowAliasCommand.d.ts +1 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +1 -0
- package/dist-types/commands/CreateFlowVersionCommand.d.ts +1 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +23 -2
- package/dist-types/commands/CreatePromptCommand.d.ts +1 -0
- package/dist-types/commands/CreatePromptVersionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAgentActionGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAgentCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAgentVersionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -0
- package/dist-types/commands/DeleteFlowAliasCommand.d.ts +1 -0
- package/dist-types/commands/DeleteFlowCommand.d.ts +1 -0
- package/dist-types/commands/DeleteFlowVersionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -0
- package/dist-types/commands/DeleteKnowledgeBaseDocumentsCommand.d.ts +1 -0
- package/dist-types/commands/DeletePromptCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateAgentCollaboratorCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentActionGroupCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentAliasCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentCollaboratorCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +1 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +1 -0
- package/dist-types/commands/GetFlowAliasCommand.d.ts +1 -0
- package/dist-types/commands/GetFlowCommand.d.ts +1 -0
- package/dist-types/commands/GetFlowVersionCommand.d.ts +1 -0
- package/dist-types/commands/GetIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +12 -1
- package/dist-types/commands/GetKnowledgeBaseDocumentsCommand.d.ts +1 -0
- package/dist-types/commands/GetPromptCommand.d.ts +1 -0
- package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +1 -0
- package/dist-types/commands/ListAgentActionGroupsCommand.d.ts +1 -0
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +1 -0
- package/dist-types/commands/ListAgentCollaboratorsCommand.d.ts +1 -0
- package/dist-types/commands/ListAgentKnowledgeBasesCommand.d.ts +1 -0
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +1 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +1 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -0
- package/dist-types/commands/ListFlowAliasesCommand.d.ts +1 -0
- package/dist-types/commands/ListFlowVersionsCommand.d.ts +1 -0
- package/dist-types/commands/ListFlowsCommand.d.ts +1 -0
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListKnowledgeBaseDocumentsCommand.d.ts +1 -0
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -0
- package/dist-types/commands/ListPromptsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/PrepareAgentCommand.d.ts +1 -0
- package/dist-types/commands/PrepareFlowCommand.d.ts +1 -0
- package/dist-types/commands/StartIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/StopIngestionJobCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAgentAliasCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAgentCollaboratorCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAgentKnowledgeBaseCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFlowAliasCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFlowCommand.d.ts +1 -0
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +23 -2
- package/dist-types/commands/UpdatePromptCommand.d.ts +1 -0
- package/dist-types/commands/ValidateFlowDefinitionCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +61 -0
- package/dist-types/ts3.4/models/models_1.d.ts +18 -0
- package/package.json +33 -33
|
@@ -101,6 +101,7 @@ declare const GetKnowledgeBaseDocumentsCommand_base: {
|
|
|
101
101
|
* @throws {@link BedrockAgentServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
103
103
|
*
|
|
104
|
+
*
|
|
104
105
|
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class GetKnowledgeBaseDocumentsCommand extends GetKnowledgeBaseDocumentsCommand_base {
|
|
@@ -167,6 +167,7 @@ declare const GetPromptCommand_base: {
|
|
|
167
167
|
* @throws {@link BedrockAgentServiceException}
|
|
168
168
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
169
169
|
*
|
|
170
|
+
*
|
|
170
171
|
* @public
|
|
171
172
|
*/
|
|
172
173
|
export declare class GetPromptCommand extends GetPromptCommand_base {
|
|
@@ -144,6 +144,7 @@ declare const IngestKnowledgeBaseDocumentsCommand_base: {
|
|
|
144
144
|
* @throws {@link BedrockAgentServiceException}
|
|
145
145
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
146
146
|
*
|
|
147
|
+
*
|
|
147
148
|
* @public
|
|
148
149
|
*/
|
|
149
150
|
export declare class IngestKnowledgeBaseDocumentsCommand extends IngestKnowledgeBaseDocumentsCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const ListAgentActionGroupsCommand_base: {
|
|
|
81
81
|
* @throws {@link BedrockAgentServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class ListAgentActionGroupsCommand extends ListAgentActionGroupsCommand_base {
|
|
@@ -87,6 +87,7 @@ declare const ListAgentAliasesCommand_base: {
|
|
|
87
87
|
* @throws {@link BedrockAgentServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class ListAgentAliasesCommand extends ListAgentAliasesCommand_base {
|
|
@@ -87,6 +87,7 @@ declare const ListAgentCollaboratorsCommand_base: {
|
|
|
87
87
|
* @throws {@link BedrockAgentServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class ListAgentCollaboratorsCommand extends ListAgentCollaboratorsCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const ListAgentKnowledgeBasesCommand_base: {
|
|
|
80
80
|
* @throws {@link BedrockAgentServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class ListAgentKnowledgeBasesCommand extends ListAgentKnowledgeBasesCommand_base {
|
|
@@ -85,6 +85,7 @@ declare const ListAgentVersionsCommand_base: {
|
|
|
85
85
|
* @throws {@link BedrockAgentServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
87
87
|
*
|
|
88
|
+
*
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class ListAgentVersionsCommand extends ListAgentVersionsCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const ListAgentsCommand_base: {
|
|
|
81
81
|
* @throws {@link BedrockAgentServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class ListAgentsCommand extends ListAgentsCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const ListDataSourcesCommand_base: {
|
|
|
81
81
|
* @throws {@link BedrockAgentServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class ListDataSourcesCommand extends ListDataSourcesCommand_base {
|
|
@@ -87,6 +87,7 @@ declare const ListFlowAliasesCommand_base: {
|
|
|
87
87
|
* @throws {@link BedrockAgentServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class ListFlowAliasesCommand extends ListFlowAliasesCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const ListFlowVersionsCommand_base: {
|
|
|
80
80
|
* @throws {@link BedrockAgentServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class ListFlowVersionsCommand extends ListFlowVersionsCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const ListFlowsCommand_base: {
|
|
|
79
79
|
* @throws {@link BedrockAgentServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class ListFlowsCommand extends ListFlowsCommand_base {
|
|
@@ -105,6 +105,7 @@ declare const ListIngestionJobsCommand_base: {
|
|
|
105
105
|
* @throws {@link BedrockAgentServiceException}
|
|
106
106
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
107
107
|
*
|
|
108
|
+
*
|
|
108
109
|
* @public
|
|
109
110
|
*/
|
|
110
111
|
export declare class ListIngestionJobsCommand extends ListIngestionJobsCommand_base {
|
|
@@ -93,6 +93,7 @@ declare const ListKnowledgeBaseDocumentsCommand_base: {
|
|
|
93
93
|
* @throws {@link BedrockAgentServiceException}
|
|
94
94
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
95
95
|
*
|
|
96
|
+
*
|
|
96
97
|
* @public
|
|
97
98
|
*/
|
|
98
99
|
export declare class ListKnowledgeBaseDocumentsCommand extends ListKnowledgeBaseDocumentsCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const ListKnowledgeBasesCommand_base: {
|
|
|
76
76
|
* @throws {@link BedrockAgentServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListKnowledgeBasesCommand extends ListKnowledgeBasesCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const ListPromptsCommand_base: {
|
|
|
82
82
|
* @throws {@link BedrockAgentServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class ListPromptsCommand extends ListPromptsCommand_base {
|
|
@@ -71,6 +71,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
71
71
|
* @throws {@link BedrockAgentServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const PrepareAgentCommand_base: {
|
|
|
78
78
|
* @throws {@link BedrockAgentServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class PrepareAgentCommand extends PrepareAgentCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const PrepareFlowCommand_base: {
|
|
|
76
76
|
* @throws {@link BedrockAgentServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class PrepareFlowCommand extends PrepareFlowCommand_base {
|
|
@@ -98,6 +98,7 @@ declare const StartIngestionJobCommand_base: {
|
|
|
98
98
|
* @throws {@link BedrockAgentServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
100
100
|
*
|
|
101
|
+
*
|
|
101
102
|
* @public
|
|
102
103
|
*/
|
|
103
104
|
export declare class StartIngestionJobCommand extends StartIngestionJobCommand_base {
|
|
@@ -94,6 +94,7 @@ declare const StopIngestionJobCommand_base: {
|
|
|
94
94
|
* @throws {@link BedrockAgentServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class StopIngestionJobCommand extends StopIngestionJobCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const TagResourceCommand_base: {
|
|
|
73
73
|
* @throws {@link BedrockAgentServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -70,6 +70,7 @@ declare const UntagResourceCommand_base: {
|
|
|
70
70
|
* @throws {@link BedrockAgentServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -152,6 +152,7 @@ declare const UpdateAgentActionGroupCommand_base: {
|
|
|
152
152
|
* @throws {@link BedrockAgentServiceException}
|
|
153
153
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
154
154
|
*
|
|
155
|
+
*
|
|
155
156
|
* @public
|
|
156
157
|
*/
|
|
157
158
|
export declare class UpdateAgentActionGroupCommand extends UpdateAgentActionGroupCommand_base {
|
|
@@ -115,6 +115,7 @@ declare const UpdateAgentAliasCommand_base: {
|
|
|
115
115
|
* @throws {@link BedrockAgentServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
117
117
|
*
|
|
118
|
+
*
|
|
118
119
|
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class UpdateAgentAliasCommand extends UpdateAgentAliasCommand_base {
|
|
@@ -96,6 +96,7 @@ declare const UpdateAgentCollaboratorCommand_base: {
|
|
|
96
96
|
* @throws {@link BedrockAgentServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
98
98
|
*
|
|
99
|
+
*
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class UpdateAgentCollaboratorCommand extends UpdateAgentCollaboratorCommand_base {
|
|
@@ -190,6 +190,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
190
190
|
* @throws {@link BedrockAgentServiceException}
|
|
191
191
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
192
192
|
*
|
|
193
|
+
*
|
|
193
194
|
* @public
|
|
194
195
|
*/
|
|
195
196
|
export declare class UpdateAgentCommand extends UpdateAgentCommand_base {
|
|
@@ -84,6 +84,7 @@ declare const UpdateAgentKnowledgeBaseCommand_base: {
|
|
|
84
84
|
* @throws {@link BedrockAgentServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class UpdateAgentKnowledgeBaseCommand extends UpdateAgentKnowledgeBaseCommand_base {
|
|
@@ -441,6 +441,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
441
441
|
* @throws {@link BedrockAgentServiceException}
|
|
442
442
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
443
443
|
*
|
|
444
|
+
*
|
|
444
445
|
* @public
|
|
445
446
|
*/
|
|
446
447
|
export declare class UpdateDataSourceCommand extends UpdateDataSourceCommand_base {
|
|
@@ -94,6 +94,7 @@ declare const UpdateFlowAliasCommand_base: {
|
|
|
94
94
|
* @throws {@link BedrockAgentServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class UpdateFlowAliasCommand extends UpdateFlowAliasCommand_base {
|
|
@@ -428,6 +428,7 @@ declare const UpdateFlowCommand_base: {
|
|
|
428
428
|
* @throws {@link BedrockAgentServiceException}
|
|
429
429
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
430
430
|
*
|
|
431
|
+
*
|
|
431
432
|
* @public
|
|
432
433
|
*/
|
|
433
434
|
export declare class UpdateFlowCommand extends UpdateFlowCommand_base {
|
|
@@ -145,7 +145,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
145
145
|
* },
|
|
146
146
|
* },
|
|
147
147
|
* storageConfiguration: { // StorageConfiguration
|
|
148
|
-
* type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
148
|
+
* type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS" || "OPENSEARCH_MANAGED_CLUSTER", // required
|
|
149
149
|
* opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
150
150
|
* collectionArn: "STRING_VALUE", // required
|
|
151
151
|
* vectorIndexName: "STRING_VALUE", // required
|
|
@@ -155,6 +155,16 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
155
155
|
* metadataField: "STRING_VALUE", // required
|
|
156
156
|
* },
|
|
157
157
|
* },
|
|
158
|
+
* opensearchManagedClusterConfiguration: { // OpenSearchManagedClusterConfiguration
|
|
159
|
+
* domainEndpoint: "STRING_VALUE", // required
|
|
160
|
+
* domainArn: "STRING_VALUE", // required
|
|
161
|
+
* vectorIndexName: "STRING_VALUE", // required
|
|
162
|
+
* fieldMapping: { // OpenSearchManagedClusterFieldMapping
|
|
163
|
+
* vectorField: "STRING_VALUE", // required
|
|
164
|
+
* textField: "STRING_VALUE", // required
|
|
165
|
+
* metadataField: "STRING_VALUE", // required
|
|
166
|
+
* },
|
|
167
|
+
* },
|
|
158
168
|
* pineconeConfiguration: { // PineconeConfiguration
|
|
159
169
|
* connectionString: "STRING_VALUE", // required
|
|
160
170
|
* credentialsSecretArn: "STRING_VALUE", // required
|
|
@@ -304,7 +314,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
304
314
|
* // },
|
|
305
315
|
* // },
|
|
306
316
|
* // storageConfiguration: { // StorageConfiguration
|
|
307
|
-
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
317
|
+
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS" || "OPENSEARCH_MANAGED_CLUSTER", // required
|
|
308
318
|
* // opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
309
319
|
* // collectionArn: "STRING_VALUE", // required
|
|
310
320
|
* // vectorIndexName: "STRING_VALUE", // required
|
|
@@ -314,6 +324,16 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
314
324
|
* // metadataField: "STRING_VALUE", // required
|
|
315
325
|
* // },
|
|
316
326
|
* // },
|
|
327
|
+
* // opensearchManagedClusterConfiguration: { // OpenSearchManagedClusterConfiguration
|
|
328
|
+
* // domainEndpoint: "STRING_VALUE", // required
|
|
329
|
+
* // domainArn: "STRING_VALUE", // required
|
|
330
|
+
* // vectorIndexName: "STRING_VALUE", // required
|
|
331
|
+
* // fieldMapping: { // OpenSearchManagedClusterFieldMapping
|
|
332
|
+
* // vectorField: "STRING_VALUE", // required
|
|
333
|
+
* // textField: "STRING_VALUE", // required
|
|
334
|
+
* // metadataField: "STRING_VALUE", // required
|
|
335
|
+
* // },
|
|
336
|
+
* // },
|
|
317
337
|
* // pineconeConfiguration: { // PineconeConfiguration
|
|
318
338
|
* // connectionString: "STRING_VALUE", // required
|
|
319
339
|
* // credentialsSecretArn: "STRING_VALUE", // required
|
|
@@ -404,6 +424,7 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
404
424
|
* @throws {@link BedrockAgentServiceException}
|
|
405
425
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
406
426
|
*
|
|
427
|
+
*
|
|
407
428
|
* @public
|
|
408
429
|
*/
|
|
409
430
|
export declare class UpdateKnowledgeBaseCommand extends UpdateKnowledgeBaseCommand_base {
|
|
@@ -265,6 +265,7 @@ declare const UpdatePromptCommand_base: {
|
|
|
265
265
|
* @throws {@link BedrockAgentServiceException}
|
|
266
266
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
267
267
|
*
|
|
268
|
+
*
|
|
268
269
|
* @public
|
|
269
270
|
*/
|
|
270
271
|
export declare class UpdatePromptCommand extends UpdatePromptCommand_base {
|
|
@@ -334,6 +334,7 @@ declare const ValidateFlowDefinitionCommand_base: {
|
|
|
334
334
|
* @throws {@link BedrockAgentServiceException}
|
|
335
335
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
336
336
|
*
|
|
337
|
+
*
|
|
337
338
|
* @public
|
|
338
339
|
*/
|
|
339
340
|
export declare class ValidateFlowDefinitionCommand extends ValidateFlowDefinitionCommand_base {
|
|
@@ -831,7 +831,7 @@ export interface UpdateAgentActionGroupRequest {
|
|
|
831
831
|
* <p>The configuration settings for a computer use action.</p>
|
|
832
832
|
* <important>
|
|
833
833
|
* <p>
|
|
834
|
-
* Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.
|
|
834
|
+
* Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>.
|
|
835
835
|
* </p>
|
|
836
836
|
* </important>
|
|
837
837
|
* @public
|
|
@@ -3371,7 +3371,7 @@ export interface BedrockFoundationModelContextEnrichmentConfiguration {
|
|
|
3371
3371
|
*/
|
|
3372
3372
|
enrichmentStrategyConfiguration: EnrichmentStrategyConfiguration | undefined;
|
|
3373
3373
|
/**
|
|
3374
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
3374
|
+
* <p>The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.</p>
|
|
3375
3375
|
* @public
|
|
3376
3376
|
*/
|
|
3377
3377
|
modelArn: string | undefined;
|
|
@@ -1215,6 +1215,55 @@ export interface NeptuneAnalyticsConfiguration {
|
|
|
1215
1215
|
*/
|
|
1216
1216
|
fieldMapping: NeptuneAnalyticsFieldMapping | undefined;
|
|
1217
1217
|
}
|
|
1218
|
+
/**
|
|
1219
|
+
* <p>Contains the names of the fields to which to map information about the vector store.</p>
|
|
1220
|
+
* @public
|
|
1221
|
+
*/
|
|
1222
|
+
export interface OpenSearchManagedClusterFieldMapping {
|
|
1223
|
+
/**
|
|
1224
|
+
* <p>The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.</p>
|
|
1225
|
+
* @public
|
|
1226
|
+
*/
|
|
1227
|
+
vectorField: string | undefined;
|
|
1228
|
+
/**
|
|
1229
|
+
* <p>The name of the field in which Amazon Bedrock stores the raw text from your data. The text
|
|
1230
|
+
* is split according to the chunking strategy you choose.</p>
|
|
1231
|
+
* @public
|
|
1232
|
+
*/
|
|
1233
|
+
textField: string | undefined;
|
|
1234
|
+
/**
|
|
1235
|
+
* <p>The name of the field in which Amazon Bedrock stores metadata about the vector store.</p>
|
|
1236
|
+
* @public
|
|
1237
|
+
*/
|
|
1238
|
+
metadataField: string | undefined;
|
|
1239
|
+
}
|
|
1240
|
+
/**
|
|
1241
|
+
* <p>Contains details about the Managed Cluster configuration of the knowledge base in Amazon OpenSearch Service. For more information,
|
|
1242
|
+
* see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html">Create a vector index in OpenSearch Managed Cluster</a>.</p>
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
export interface OpenSearchManagedClusterConfiguration {
|
|
1246
|
+
/**
|
|
1247
|
+
* <p>The endpoint URL the OpenSearch domain.</p>
|
|
1248
|
+
* @public
|
|
1249
|
+
*/
|
|
1250
|
+
domainEndpoint: string | undefined;
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>The Amazon Resource Name (ARN) of the OpenSearch domain.</p>
|
|
1253
|
+
* @public
|
|
1254
|
+
*/
|
|
1255
|
+
domainArn: string | undefined;
|
|
1256
|
+
/**
|
|
1257
|
+
* <p>The name of the vector store.</p>
|
|
1258
|
+
* @public
|
|
1259
|
+
*/
|
|
1260
|
+
vectorIndexName: string | undefined;
|
|
1261
|
+
/**
|
|
1262
|
+
* <p>Contains the names of the fields to which to map information about the vector store.</p>
|
|
1263
|
+
* @public
|
|
1264
|
+
*/
|
|
1265
|
+
fieldMapping: OpenSearchManagedClusterFieldMapping | undefined;
|
|
1266
|
+
}
|
|
1218
1267
|
/**
|
|
1219
1268
|
* <p>Contains the names of the fields to which to map information about the vector store.</p>
|
|
1220
1269
|
* @public
|
|
@@ -1410,6 +1459,7 @@ export interface RedisEnterpriseCloudConfiguration {
|
|
|
1410
1459
|
export declare const KnowledgeBaseStorageType: {
|
|
1411
1460
|
readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
|
|
1412
1461
|
readonly NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS";
|
|
1462
|
+
readonly OPENSEARCH_MANAGED_CLUSTER: "OPENSEARCH_MANAGED_CLUSTER";
|
|
1413
1463
|
readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
|
|
1414
1464
|
readonly PINECONE: "PINECONE";
|
|
1415
1465
|
readonly RDS: "RDS";
|
|
@@ -1434,6 +1484,13 @@ export interface StorageConfiguration {
|
|
|
1434
1484
|
* @public
|
|
1435
1485
|
*/
|
|
1436
1486
|
opensearchServerlessConfiguration?: OpenSearchServerlessConfiguration | undefined;
|
|
1487
|
+
/**
|
|
1488
|
+
* <p>Contains details about the storage configuration of the knowledge base in OpenSearch Managed
|
|
1489
|
+
* Cluster. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html">Create
|
|
1490
|
+
* a vector index in Amazon OpenSearch Service</a>.</p>
|
|
1491
|
+
* @public
|
|
1492
|
+
*/
|
|
1493
|
+
opensearchManagedClusterConfiguration?: OpenSearchManagedClusterConfiguration | undefined;
|
|
1437
1494
|
/**
|
|
1438
1495
|
* <p>Contains the storage configuration of the knowledge base in Pinecone.</p>
|
|
1439
1496
|
* @public
|
|
@@ -2691,6 +2748,10 @@ export declare const KnowledgeBaseConfigurationFilterSensitiveLog: (obj: Knowled
|
|
|
2691
2748
|
* @internal
|
|
2692
2749
|
*/
|
|
2693
2750
|
export declare const NeptuneAnalyticsConfigurationFilterSensitiveLog: (obj: NeptuneAnalyticsConfiguration) => any;
|
|
2751
|
+
/**
|
|
2752
|
+
* @internal
|
|
2753
|
+
*/
|
|
2754
|
+
export declare const OpenSearchManagedClusterConfigurationFilterSensitiveLog: (obj: OpenSearchManagedClusterConfiguration) => any;
|
|
2694
2755
|
/**
|
|
2695
2756
|
* @internal
|
|
2696
2757
|
*/
|
|
@@ -352,6 +352,17 @@ export interface NeptuneAnalyticsConfiguration {
|
|
|
352
352
|
graphArn: string | undefined;
|
|
353
353
|
fieldMapping: NeptuneAnalyticsFieldMapping | undefined;
|
|
354
354
|
}
|
|
355
|
+
export interface OpenSearchManagedClusterFieldMapping {
|
|
356
|
+
vectorField: string | undefined;
|
|
357
|
+
textField: string | undefined;
|
|
358
|
+
metadataField: string | undefined;
|
|
359
|
+
}
|
|
360
|
+
export interface OpenSearchManagedClusterConfiguration {
|
|
361
|
+
domainEndpoint: string | undefined;
|
|
362
|
+
domainArn: string | undefined;
|
|
363
|
+
vectorIndexName: string | undefined;
|
|
364
|
+
fieldMapping: OpenSearchManagedClusterFieldMapping | undefined;
|
|
365
|
+
}
|
|
355
366
|
export interface OpenSearchServerlessFieldMapping {
|
|
356
367
|
vectorField: string | undefined;
|
|
357
368
|
textField: string | undefined;
|
|
@@ -399,6 +410,7 @@ export interface RedisEnterpriseCloudConfiguration {
|
|
|
399
410
|
export declare const KnowledgeBaseStorageType: {
|
|
400
411
|
readonly MONGO_DB_ATLAS: "MONGO_DB_ATLAS";
|
|
401
412
|
readonly NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS";
|
|
413
|
+
readonly OPENSEARCH_MANAGED_CLUSTER: "OPENSEARCH_MANAGED_CLUSTER";
|
|
402
414
|
readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
|
|
403
415
|
readonly PINECONE: "PINECONE";
|
|
404
416
|
readonly RDS: "RDS";
|
|
@@ -411,6 +423,9 @@ export interface StorageConfiguration {
|
|
|
411
423
|
opensearchServerlessConfiguration?:
|
|
412
424
|
| OpenSearchServerlessConfiguration
|
|
413
425
|
| undefined;
|
|
426
|
+
opensearchManagedClusterConfiguration?:
|
|
427
|
+
| OpenSearchManagedClusterConfiguration
|
|
428
|
+
| undefined;
|
|
414
429
|
pineconeConfiguration?: PineconeConfiguration | undefined;
|
|
415
430
|
redisEnterpriseCloudConfiguration?:
|
|
416
431
|
| RedisEnterpriseCloudConfiguration
|
|
@@ -759,6 +774,9 @@ export declare const KnowledgeBaseConfigurationFilterSensitiveLog: (
|
|
|
759
774
|
export declare const NeptuneAnalyticsConfigurationFilterSensitiveLog: (
|
|
760
775
|
obj: NeptuneAnalyticsConfiguration
|
|
761
776
|
) => any;
|
|
777
|
+
export declare const OpenSearchManagedClusterConfigurationFilterSensitiveLog: (
|
|
778
|
+
obj: OpenSearchManagedClusterConfiguration
|
|
779
|
+
) => any;
|
|
762
780
|
export declare const StorageConfigurationFilterSensitiveLog: (
|
|
763
781
|
obj: StorageConfiguration
|
|
764
782
|
) => any;
|
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.777.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",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.0
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0.
|
|
37
|
-
"@smithy/hash-node": "^4.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0
|
|
41
|
-
"@smithy/middleware-retry": "^4.0
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
43
|
-
"@smithy/middleware-stack": "^4.0.
|
|
44
|
-
"@smithy/node-config-provider": "^4.0.
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
46
|
-
"@smithy/protocol-http": "^5.0
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.0.
|
|
23
|
+
"@aws-sdk/core": "3.775.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
|
+
"@aws-sdk/types": "3.775.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.775.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.775.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.0",
|
|
35
|
+
"@smithy/core": "^3.2.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
|
37
|
+
"@smithy/hash-node": "^4.0.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.0",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.0",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.3",
|
|
43
|
+
"@smithy/middleware-stack": "^4.0.2",
|
|
44
|
+
"@smithy/node-config-provider": "^4.0.2",
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.4",
|
|
46
|
+
"@smithy/protocol-http": "^5.1.0",
|
|
47
|
+
"@smithy/smithy-client": "^4.2.0",
|
|
48
|
+
"@smithy/types": "^4.2.0",
|
|
49
|
+
"@smithy/url-parser": "^4.0.2",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
56
|
-
"@smithy/util-middleware": "^4.0.
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.2",
|
|
56
|
+
"@smithy/util-middleware": "^4.0.2",
|
|
57
|
+
"@smithy/util-retry": "^4.0.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"@types/uuid": "^9.0.1",
|
|
60
60
|
"tslib": "^2.6.2",
|