@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
|
@@ -40,8 +40,6 @@ const defaultBedrockAgentHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultBedrockAgentHttpAuthSchemeProvider = defaultBedrockAgentHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return {
|
|
44
|
-
...config_0,
|
|
45
|
-
};
|
|
43
|
+
return Object.assign(config_0, {});
|
|
46
44
|
};
|
|
47
45
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -191,6 +191,7 @@ __export(index_exports, {
|
|
|
191
191
|
MetadataSourceType: () => MetadataSourceType,
|
|
192
192
|
MetadataValueType: () => MetadataValueType,
|
|
193
193
|
NeptuneAnalyticsConfigurationFilterSensitiveLog: () => NeptuneAnalyticsConfigurationFilterSensitiveLog,
|
|
194
|
+
OpenSearchManagedClusterConfigurationFilterSensitiveLog: () => OpenSearchManagedClusterConfigurationFilterSensitiveLog,
|
|
194
195
|
OrchestrationExecutor: () => OrchestrationExecutor,
|
|
195
196
|
OrchestrationType: () => OrchestrationType,
|
|
196
197
|
ParsingModality: () => ParsingModality,
|
|
@@ -322,12 +323,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
|
322
323
|
|
|
323
324
|
// src/endpoint/EndpointParameters.ts
|
|
324
325
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
325
|
-
return {
|
|
326
|
-
...options,
|
|
326
|
+
return Object.assign(options, {
|
|
327
327
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
328
328
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
329
329
|
defaultSigningName: "bedrock"
|
|
330
|
-
};
|
|
330
|
+
});
|
|
331
331
|
}, "resolveClientEndpointParameters");
|
|
332
332
|
var commonParams = {
|
|
333
333
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -384,22 +384,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
|
384
384
|
}, "resolveHttpAuthRuntimeConfig");
|
|
385
385
|
|
|
386
386
|
// src/runtimeExtensions.ts
|
|
387
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
388
387
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
389
|
-
const extensionConfiguration =
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
388
|
+
const extensionConfiguration = Object.assign(
|
|
389
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
390
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
391
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
392
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
393
|
+
);
|
|
395
394
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
396
|
-
return
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
395
|
+
return Object.assign(
|
|
396
|
+
runtimeConfig,
|
|
397
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
398
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
399
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
400
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
401
|
+
);
|
|
403
402
|
}, "resolveRuntimeExtensions");
|
|
404
403
|
|
|
405
404
|
// src/BedrockAgentClient.ts
|
|
@@ -413,6 +412,8 @@ var BedrockAgentClient = class extends import_smithy_client.Client {
|
|
|
413
412
|
config;
|
|
414
413
|
constructor(...[configuration]) {
|
|
415
414
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
415
|
+
super(_config_0);
|
|
416
|
+
this.initConfig = _config_0;
|
|
416
417
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
417
418
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
418
419
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
@@ -421,7 +422,6 @@ var BedrockAgentClient = class extends import_smithy_client.Client {
|
|
|
421
422
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
422
423
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
423
424
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
424
|
-
super(_config_8);
|
|
425
425
|
this.config = _config_8;
|
|
426
426
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
427
427
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
@@ -4916,6 +4916,7 @@ var SupplementalDataStorageLocationType = {
|
|
|
4916
4916
|
var KnowledgeBaseStorageType = {
|
|
4917
4917
|
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
4918
4918
|
NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS",
|
|
4919
|
+
OPENSEARCH_MANAGED_CLUSTER: "OPENSEARCH_MANAGED_CLUSTER",
|
|
4919
4920
|
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
4920
4921
|
PINECONE: "PINECONE",
|
|
4921
4922
|
RDS: "RDS",
|
|
@@ -5012,8 +5013,17 @@ var NeptuneAnalyticsConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((ob
|
|
|
5012
5013
|
...obj,
|
|
5013
5014
|
...obj.graphArn && { graphArn: import_smithy_client.SENSITIVE_STRING }
|
|
5014
5015
|
}), "NeptuneAnalyticsConfigurationFilterSensitiveLog");
|
|
5016
|
+
var OpenSearchManagedClusterConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5017
|
+
...obj,
|
|
5018
|
+
...obj.vectorIndexName && { vectorIndexName: import_smithy_client.SENSITIVE_STRING }
|
|
5019
|
+
}), "OpenSearchManagedClusterConfigurationFilterSensitiveLog");
|
|
5015
5020
|
var StorageConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5016
5021
|
...obj,
|
|
5022
|
+
...obj.opensearchManagedClusterConfiguration && {
|
|
5023
|
+
opensearchManagedClusterConfiguration: OpenSearchManagedClusterConfigurationFilterSensitiveLog(
|
|
5024
|
+
obj.opensearchManagedClusterConfiguration
|
|
5025
|
+
)
|
|
5026
|
+
},
|
|
5017
5027
|
...obj.neptuneAnalyticsConfiguration && {
|
|
5018
5028
|
neptuneAnalyticsConfiguration: NeptuneAnalyticsConfigurationFilterSensitiveLog(obj.neptuneAnalyticsConfiguration)
|
|
5019
5029
|
}
|
|
@@ -6461,6 +6471,7 @@ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, L
|
|
|
6461
6471
|
SqlKnowledgeBaseConfigurationFilterSensitiveLog,
|
|
6462
6472
|
KnowledgeBaseConfigurationFilterSensitiveLog,
|
|
6463
6473
|
NeptuneAnalyticsConfigurationFilterSensitiveLog,
|
|
6474
|
+
OpenSearchManagedClusterConfigurationFilterSensitiveLog,
|
|
6464
6475
|
StorageConfigurationFilterSensitiveLog,
|
|
6465
6476
|
CreateKnowledgeBaseRequestFilterSensitiveLog,
|
|
6466
6477
|
KnowledgeBaseFilterSensitiveLog,
|
|
@@ -17,6 +17,8 @@ export class BedrockAgentClient extends __Client {
|
|
|
17
17
|
config;
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
|
+
super(_config_0);
|
|
21
|
+
this.initConfig = _config_0;
|
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
|
@@ -25,7 +27,6 @@ export class BedrockAgentClient extends __Client {
|
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
-
super(_config_8);
|
|
29
30
|
this.config = _config_8;
|
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -35,7 +35,5 @@ export const defaultBedrockAgentHttpAuthSchemeProvider = (authParameters) => {
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return {
|
|
39
|
-
...config_0,
|
|
40
|
-
};
|
|
38
|
+
return Object.assign(config_0, {});
|
|
41
39
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
-
return {
|
|
3
|
-
...options,
|
|
2
|
+
return Object.assign(options, {
|
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
5
|
defaultSigningName: "bedrock",
|
|
7
|
-
};
|
|
6
|
+
});
|
|
8
7
|
};
|
|
9
8
|
export const commonParams = {
|
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -75,6 +75,7 @@ export const SupplementalDataStorageLocationType = {
|
|
|
75
75
|
export const KnowledgeBaseStorageType = {
|
|
76
76
|
MONGO_DB_ATLAS: "MONGO_DB_ATLAS",
|
|
77
77
|
NEPTUNE_ANALYTICS: "NEPTUNE_ANALYTICS",
|
|
78
|
+
OPENSEARCH_MANAGED_CLUSTER: "OPENSEARCH_MANAGED_CLUSTER",
|
|
78
79
|
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
79
80
|
PINECONE: "PINECONE",
|
|
80
81
|
RDS: "RDS",
|
|
@@ -172,8 +173,15 @@ export const NeptuneAnalyticsConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
172
173
|
...obj,
|
|
173
174
|
...(obj.graphArn && { graphArn: SENSITIVE_STRING }),
|
|
174
175
|
});
|
|
176
|
+
export const OpenSearchManagedClusterConfigurationFilterSensitiveLog = (obj) => ({
|
|
177
|
+
...obj,
|
|
178
|
+
...(obj.vectorIndexName && { vectorIndexName: SENSITIVE_STRING }),
|
|
179
|
+
});
|
|
175
180
|
export const StorageConfigurationFilterSensitiveLog = (obj) => ({
|
|
176
181
|
...obj,
|
|
182
|
+
...(obj.opensearchManagedClusterConfiguration && {
|
|
183
|
+
opensearchManagedClusterConfiguration: OpenSearchManagedClusterConfigurationFilterSensitiveLog(obj.opensearchManagedClusterConfiguration),
|
|
184
|
+
}),
|
|
177
185
|
...(obj.neptuneAnalyticsConfiguration && {
|
|
178
186
|
neptuneAnalyticsConfiguration: NeptuneAnalyticsConfigurationFilterSensitiveLog(obj.neptuneAnalyticsConfiguration),
|
|
179
187
|
}),
|
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
-
const asPartial = (t) => t;
|
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const extensionConfiguration =
|
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
-
};
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
-
return
|
|
15
|
-
...runtimeConfig,
|
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
-
};
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
21
9
|
};
|
|
@@ -96,6 +96,7 @@ declare const AssociateAgentCollaboratorCommand_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 AssociateAgentCollaboratorCommand extends AssociateAgentCollaboratorCommand_base {
|
|
@@ -87,6 +87,7 @@ declare const AssociateAgentKnowledgeBaseCommand_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 AssociateAgentKnowledgeBaseCommand extends AssociateAgentKnowledgeBaseCommand_base {
|
|
@@ -157,6 +157,7 @@ declare const CreateAgentActionGroupCommand_base: {
|
|
|
157
157
|
* @throws {@link BedrockAgentServiceException}
|
|
158
158
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
159
159
|
*
|
|
160
|
+
*
|
|
160
161
|
* @public
|
|
161
162
|
*/
|
|
162
163
|
export declare class CreateAgentActionGroupCommand extends CreateAgentActionGroupCommand_base {
|
|
@@ -118,6 +118,7 @@ declare const CreateAgentAliasCommand_base: {
|
|
|
118
118
|
* @throws {@link BedrockAgentServiceException}
|
|
119
119
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
120
120
|
*
|
|
121
|
+
*
|
|
121
122
|
* @public
|
|
122
123
|
*/
|
|
123
124
|
export declare class CreateAgentAliasCommand extends CreateAgentAliasCommand_base {
|
|
@@ -221,6 +221,7 @@ declare const CreateAgentCommand_base: {
|
|
|
221
221
|
* @throws {@link BedrockAgentServiceException}
|
|
222
222
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
223
223
|
*
|
|
224
|
+
*
|
|
224
225
|
* @public
|
|
225
226
|
*/
|
|
226
227
|
export declare class CreateAgentCommand extends CreateAgentCommand_base {
|
|
@@ -444,6 +444,7 @@ declare const CreateDataSourceCommand_base: {
|
|
|
444
444
|
* @throws {@link BedrockAgentServiceException}
|
|
445
445
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
446
446
|
*
|
|
447
|
+
*
|
|
447
448
|
* @public
|
|
448
449
|
*/
|
|
449
450
|
export declare class CreateDataSourceCommand extends CreateDataSourceCommand_base {
|
|
@@ -97,6 +97,7 @@ declare const CreateFlowAliasCommand_base: {
|
|
|
97
97
|
* @throws {@link BedrockAgentServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
103
|
export declare class CreateFlowAliasCommand extends CreateFlowAliasCommand_base {
|
|
@@ -428,6 +428,7 @@ declare const CreateFlowCommand_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 CreateFlowCommand extends CreateFlowCommand_base {
|
|
@@ -255,6 +255,7 @@ declare const CreateFlowVersionCommand_base: {
|
|
|
255
255
|
* @throws {@link BedrockAgentServiceException}
|
|
256
256
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
257
257
|
*
|
|
258
|
+
*
|
|
258
259
|
* @public
|
|
259
260
|
*/
|
|
260
261
|
export declare class CreateFlowVersionCommand extends CreateFlowVersionCommand_base {
|
|
@@ -157,7 +157,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
157
157
|
* },
|
|
158
158
|
* },
|
|
159
159
|
* storageConfiguration: { // StorageConfiguration
|
|
160
|
-
* type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
160
|
+
* type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS" || "OPENSEARCH_MANAGED_CLUSTER", // required
|
|
161
161
|
* opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
162
162
|
* collectionArn: "STRING_VALUE", // required
|
|
163
163
|
* vectorIndexName: "STRING_VALUE", // required
|
|
@@ -167,6 +167,16 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
167
167
|
* metadataField: "STRING_VALUE", // required
|
|
168
168
|
* },
|
|
169
169
|
* },
|
|
170
|
+
* opensearchManagedClusterConfiguration: { // OpenSearchManagedClusterConfiguration
|
|
171
|
+
* domainEndpoint: "STRING_VALUE", // required
|
|
172
|
+
* domainArn: "STRING_VALUE", // required
|
|
173
|
+
* vectorIndexName: "STRING_VALUE", // required
|
|
174
|
+
* fieldMapping: { // OpenSearchManagedClusterFieldMapping
|
|
175
|
+
* vectorField: "STRING_VALUE", // required
|
|
176
|
+
* textField: "STRING_VALUE", // required
|
|
177
|
+
* metadataField: "STRING_VALUE", // required
|
|
178
|
+
* },
|
|
179
|
+
* },
|
|
170
180
|
* pineconeConfiguration: { // PineconeConfiguration
|
|
171
181
|
* connectionString: "STRING_VALUE", // required
|
|
172
182
|
* credentialsSecretArn: "STRING_VALUE", // required
|
|
@@ -319,7 +329,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
319
329
|
* // },
|
|
320
330
|
* // },
|
|
321
331
|
* // storageConfiguration: { // StorageConfiguration
|
|
322
|
-
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
332
|
+
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS" || "OPENSEARCH_MANAGED_CLUSTER", // required
|
|
323
333
|
* // opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
324
334
|
* // collectionArn: "STRING_VALUE", // required
|
|
325
335
|
* // vectorIndexName: "STRING_VALUE", // required
|
|
@@ -329,6 +339,16 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
329
339
|
* // metadataField: "STRING_VALUE", // required
|
|
330
340
|
* // },
|
|
331
341
|
* // },
|
|
342
|
+
* // opensearchManagedClusterConfiguration: { // OpenSearchManagedClusterConfiguration
|
|
343
|
+
* // domainEndpoint: "STRING_VALUE", // required
|
|
344
|
+
* // domainArn: "STRING_VALUE", // required
|
|
345
|
+
* // vectorIndexName: "STRING_VALUE", // required
|
|
346
|
+
* // fieldMapping: { // OpenSearchManagedClusterFieldMapping
|
|
347
|
+
* // vectorField: "STRING_VALUE", // required
|
|
348
|
+
* // textField: "STRING_VALUE", // required
|
|
349
|
+
* // metadataField: "STRING_VALUE", // required
|
|
350
|
+
* // },
|
|
351
|
+
* // },
|
|
332
352
|
* // pineconeConfiguration: { // PineconeConfiguration
|
|
333
353
|
* // connectionString: "STRING_VALUE", // required
|
|
334
354
|
* // credentialsSecretArn: "STRING_VALUE", // required
|
|
@@ -419,6 +439,7 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
419
439
|
* @throws {@link BedrockAgentServiceException}
|
|
420
440
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
421
441
|
*
|
|
442
|
+
*
|
|
422
443
|
* @public
|
|
423
444
|
*/
|
|
424
445
|
export declare class CreateKnowledgeBaseCommand extends CreateKnowledgeBaseCommand_base {
|
|
@@ -265,6 +265,7 @@ declare const CreatePromptCommand_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 CreatePromptCommand extends CreatePromptCommand_base {
|
|
@@ -177,6 +177,7 @@ declare const CreatePromptVersionCommand_base: {
|
|
|
177
177
|
* @throws {@link BedrockAgentServiceException}
|
|
178
178
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
179
179
|
*
|
|
180
|
+
*
|
|
180
181
|
* @public
|
|
181
182
|
*/
|
|
182
183
|
export declare class CreatePromptVersionCommand extends CreatePromptVersionCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const DeleteAgentActionGroupCommand_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 DeleteAgentActionGroupCommand extends DeleteAgentActionGroupCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const DeleteAgentAliasCommand_base: {
|
|
|
72
72
|
* @throws {@link BedrockAgentServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class DeleteAgentAliasCommand extends DeleteAgentAliasCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const DeleteAgentCommand_base: {
|
|
|
74
74
|
* @throws {@link BedrockAgentServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class DeleteAgentCommand extends DeleteAgentCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const DeleteAgentVersionCommand_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 DeleteAgentVersionCommand extends DeleteAgentVersionCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const DeleteDataSourceCommand_base: {
|
|
|
75
75
|
* @throws {@link BedrockAgentServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class DeleteDataSourceCommand extends DeleteDataSourceCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const DeleteFlowAliasCommand_base: {
|
|
|
74
74
|
* @throws {@link BedrockAgentServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class DeleteFlowAliasCommand extends DeleteFlowAliasCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const DeleteFlowCommand_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 DeleteFlowCommand extends DeleteFlowCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const DeleteFlowVersionCommand_base: {
|
|
|
75
75
|
* @throws {@link BedrockAgentServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class DeleteFlowVersionCommand extends DeleteFlowVersionCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const DeleteKnowledgeBaseCommand_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 DeleteKnowledgeBaseCommand extends DeleteKnowledgeBaseCommand_base {
|
|
@@ -102,6 +102,7 @@ declare const DeleteKnowledgeBaseDocumentsCommand_base: {
|
|
|
102
102
|
* @throws {@link BedrockAgentServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
104
104
|
*
|
|
105
|
+
*
|
|
105
106
|
* @public
|
|
106
107
|
*/
|
|
107
108
|
export declare class DeleteKnowledgeBaseDocumentsCommand extends DeleteKnowledgeBaseDocumentsCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const DeletePromptCommand_base: {
|
|
|
74
74
|
* @throws {@link BedrockAgentServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class DeletePromptCommand extends DeletePromptCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const DisassociateAgentCollaboratorCommand_base: {
|
|
|
72
72
|
* @throws {@link BedrockAgentServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class DisassociateAgentCollaboratorCommand extends DisassociateAgentCollaboratorCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const DisassociateAgentKnowledgeBaseCommand_base: {
|
|
|
72
72
|
* @throws {@link BedrockAgentServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class DisassociateAgentKnowledgeBaseCommand extends DisassociateAgentKnowledgeBaseCommand_base {
|
|
@@ -112,6 +112,7 @@ declare const GetAgentActionGroupCommand_base: {
|
|
|
112
112
|
* @throws {@link BedrockAgentServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
114
114
|
*
|
|
115
|
+
*
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
117
118
|
export declare class GetAgentActionGroupCommand extends GetAgentActionGroupCommand_base {
|
|
@@ -101,6 +101,7 @@ declare const GetAgentAliasCommand_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 GetAgentAliasCommand extends GetAgentAliasCommand_base {
|
|
@@ -84,6 +84,7 @@ declare const GetAgentCollaboratorCommand_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 GetAgentCollaboratorCommand extends GetAgentCollaboratorCommand_base {
|
|
@@ -134,6 +134,7 @@ declare const GetAgentCommand_base: {
|
|
|
134
134
|
* @throws {@link BedrockAgentServiceException}
|
|
135
135
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
136
136
|
*
|
|
137
|
+
*
|
|
137
138
|
* @public
|
|
138
139
|
*/
|
|
139
140
|
export declare class GetAgentCommand extends GetAgentCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const GetAgentKnowledgeBaseCommand_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 GetAgentKnowledgeBaseCommand extends GetAgentKnowledgeBaseCommand_base {
|
|
@@ -127,6 +127,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
127
127
|
* @throws {@link BedrockAgentServiceException}
|
|
128
128
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
129
129
|
*
|
|
130
|
+
*
|
|
130
131
|
* @public
|
|
131
132
|
*/
|
|
132
133
|
export declare class GetAgentVersionCommand extends GetAgentVersionCommand_base {
|
|
@@ -257,6 +257,7 @@ declare const GetDataSourceCommand_base: {
|
|
|
257
257
|
* @throws {@link BedrockAgentServiceException}
|
|
258
258
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
259
259
|
*
|
|
260
|
+
*
|
|
260
261
|
* @public
|
|
261
262
|
*/
|
|
262
263
|
export declare class GetDataSourceCommand extends GetDataSourceCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const GetFlowAliasCommand_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 GetFlowAliasCommand extends GetFlowAliasCommand_base {
|
|
@@ -348,6 +348,7 @@ declare const GetFlowCommand_base: {
|
|
|
348
348
|
* @throws {@link BedrockAgentServiceException}
|
|
349
349
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
350
350
|
*
|
|
351
|
+
*
|
|
351
352
|
* @public
|
|
352
353
|
*/
|
|
353
354
|
export declare class GetFlowCommand extends GetFlowCommand_base {
|
|
@@ -248,6 +248,7 @@ declare const GetFlowVersionCommand_base: {
|
|
|
248
248
|
* @throws {@link BedrockAgentServiceException}
|
|
249
249
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
250
250
|
*
|
|
251
|
+
*
|
|
251
252
|
* @public
|
|
252
253
|
*/
|
|
253
254
|
export declare class GetFlowVersionCommand extends GetFlowVersionCommand_base {
|
|
@@ -91,6 +91,7 @@ declare const GetIngestionJobCommand_base: {
|
|
|
91
91
|
* @throws {@link BedrockAgentServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
93
93
|
*
|
|
94
|
+
*
|
|
94
95
|
* @public
|
|
95
96
|
*/
|
|
96
97
|
export declare class GetIngestionJobCommand extends GetIngestionJobCommand_base {
|
|
@@ -133,7 +133,7 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
133
133
|
* // },
|
|
134
134
|
* // },
|
|
135
135
|
* // storageConfiguration: { // StorageConfiguration
|
|
136
|
-
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS", // required
|
|
136
|
+
* // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD" || "RDS" || "MONGO_DB_ATLAS" || "NEPTUNE_ANALYTICS" || "OPENSEARCH_MANAGED_CLUSTER", // required
|
|
137
137
|
* // opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
|
|
138
138
|
* // collectionArn: "STRING_VALUE", // required
|
|
139
139
|
* // vectorIndexName: "STRING_VALUE", // required
|
|
@@ -143,6 +143,16 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
143
143
|
* // metadataField: "STRING_VALUE", // required
|
|
144
144
|
* // },
|
|
145
145
|
* // },
|
|
146
|
+
* // opensearchManagedClusterConfiguration: { // OpenSearchManagedClusterConfiguration
|
|
147
|
+
* // domainEndpoint: "STRING_VALUE", // required
|
|
148
|
+
* // domainArn: "STRING_VALUE", // required
|
|
149
|
+
* // vectorIndexName: "STRING_VALUE", // required
|
|
150
|
+
* // fieldMapping: { // OpenSearchManagedClusterFieldMapping
|
|
151
|
+
* // vectorField: "STRING_VALUE", // required
|
|
152
|
+
* // textField: "STRING_VALUE", // required
|
|
153
|
+
* // metadataField: "STRING_VALUE", // required
|
|
154
|
+
* // },
|
|
155
|
+
* // },
|
|
146
156
|
* // pineconeConfiguration: { // PineconeConfiguration
|
|
147
157
|
* // connectionString: "STRING_VALUE", // required
|
|
148
158
|
* // credentialsSecretArn: "STRING_VALUE", // required
|
|
@@ -230,6 +240,7 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
230
240
|
* @throws {@link BedrockAgentServiceException}
|
|
231
241
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
232
242
|
*
|
|
243
|
+
*
|
|
233
244
|
* @public
|
|
234
245
|
*/
|
|
235
246
|
export declare class GetKnowledgeBaseCommand extends GetKnowledgeBaseCommand_base {
|