@aws-sdk/client-bedrock-agent 3.928.0 → 3.930.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/index.js +4469 -5016
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BedrockAgentClient.js +2 -0
- package/dist-es/commands/AssociateAgentCollaboratorCommand.js +3 -10
- package/dist-es/commands/AssociateAgentKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/CreateAgentActionGroupCommand.js +3 -10
- package/dist-es/commands/CreateAgentAliasCommand.js +3 -9
- package/dist-es/commands/CreateAgentCommand.js +3 -10
- package/dist-es/commands/CreateDataSourceCommand.js +3 -10
- package/dist-es/commands/CreateFlowAliasCommand.js +3 -9
- package/dist-es/commands/CreateFlowCommand.js +3 -10
- package/dist-es/commands/CreateFlowVersionCommand.js +3 -10
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +3 -10
- package/dist-es/commands/CreatePromptCommand.js +3 -10
- package/dist-es/commands/CreatePromptVersionCommand.js +3 -10
- package/dist-es/commands/DeleteAgentActionGroupCommand.js +3 -9
- package/dist-es/commands/DeleteAgentAliasCommand.js +3 -9
- package/dist-es/commands/DeleteAgentCommand.js +3 -9
- package/dist-es/commands/DeleteAgentVersionCommand.js +3 -9
- package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
- package/dist-es/commands/DeleteFlowAliasCommand.js +3 -9
- package/dist-es/commands/DeleteFlowCommand.js +3 -9
- package/dist-es/commands/DeleteFlowVersionCommand.js +3 -9
- package/dist-es/commands/DeleteKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +3 -9
- package/dist-es/commands/DeletePromptCommand.js +3 -9
- package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +3 -9
- package/dist-es/commands/DisassociateAgentKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/GetAgentActionGroupCommand.js +3 -10
- package/dist-es/commands/GetAgentAliasCommand.js +3 -9
- package/dist-es/commands/GetAgentCollaboratorCommand.js +3 -10
- package/dist-es/commands/GetAgentCommand.js +3 -10
- package/dist-es/commands/GetAgentKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/GetAgentVersionCommand.js +3 -10
- package/dist-es/commands/GetDataSourceCommand.js +3 -10
- package/dist-es/commands/GetFlowAliasCommand.js +3 -9
- package/dist-es/commands/GetFlowCommand.js +3 -10
- package/dist-es/commands/GetFlowVersionCommand.js +3 -10
- package/dist-es/commands/GetIngestionJobCommand.js +3 -9
- package/dist-es/commands/GetKnowledgeBaseCommand.js +3 -10
- package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +3 -9
- package/dist-es/commands/GetPromptCommand.js +3 -10
- package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +3 -10
- package/dist-es/commands/ListAgentActionGroupsCommand.js +3 -9
- package/dist-es/commands/ListAgentAliasesCommand.js +3 -9
- package/dist-es/commands/ListAgentCollaboratorsCommand.js +3 -10
- package/dist-es/commands/ListAgentKnowledgeBasesCommand.js +3 -9
- package/dist-es/commands/ListAgentVersionsCommand.js +3 -9
- package/dist-es/commands/ListAgentsCommand.js +3 -9
- package/dist-es/commands/ListDataSourcesCommand.js +3 -9
- package/dist-es/commands/ListFlowAliasesCommand.js +3 -9
- package/dist-es/commands/ListFlowVersionsCommand.js +3 -9
- package/dist-es/commands/ListFlowsCommand.js +3 -9
- package/dist-es/commands/ListIngestionJobsCommand.js +3 -9
- package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +3 -9
- package/dist-es/commands/ListKnowledgeBasesCommand.js +3 -9
- package/dist-es/commands/ListPromptsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PrepareAgentCommand.js +3 -9
- package/dist-es/commands/PrepareFlowCommand.js +3 -9
- package/dist-es/commands/StartIngestionJobCommand.js +3 -9
- package/dist-es/commands/StopIngestionJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAgentActionGroupCommand.js +3 -10
- package/dist-es/commands/UpdateAgentAliasCommand.js +3 -9
- package/dist-es/commands/UpdateAgentCollaboratorCommand.js +3 -10
- package/dist-es/commands/UpdateAgentCommand.js +3 -10
- package/dist-es/commands/UpdateAgentKnowledgeBaseCommand.js +3 -9
- package/dist-es/commands/UpdateDataSourceCommand.js +3 -10
- package/dist-es/commands/UpdateFlowAliasCommand.js +3 -9
- package/dist-es/commands/UpdateFlowCommand.js +3 -10
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +3 -10
- package/dist-es/commands/UpdatePromptCommand.js +3 -10
- package/dist-es/commands/ValidateFlowDefinitionCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -675
- package/dist-es/models/models_1.js +0 -323
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +4319 -0
- package/dist-types/BedrockAgentClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +68 -293
- package/dist-types/models/models_1.d.ts +8 -198
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +550 -0
- package/dist-types/ts3.4/BedrockAgentClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -231
- package/dist-types/ts3.4/models/models_1.d.ts +0 -147
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +557 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -3385
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -650
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -869
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateFlowCommand, se_UpdateFlowCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateFlow } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateFlowCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateFlow", {})
|
|
18
13
|
.n("BedrockAgentClient", "UpdateFlowCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateFlowCommand)
|
|
21
|
-
.de(de_UpdateFlowCommand)
|
|
14
|
+
.sc(UpdateFlow)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateKnowledgeBaseCommand, se_UpdateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateKnowledgeBase } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateKnowledgeBaseCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentBuildTimeLambda", "UpdateKnowledgeBase", {})
|
|
18
13
|
.n("BedrockAgentClient", "UpdateKnowledgeBaseCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateKnowledgeBaseCommand)
|
|
21
|
-
.de(de_UpdateKnowledgeBaseCommand)
|
|
14
|
+
.sc(UpdateKnowledgeBase)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdatePromptCommand, se_UpdatePromptCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdatePrompt } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdatePromptCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentBuildTimeLambda", "UpdatePrompt", {})
|
|
18
13
|
.n("BedrockAgentClient", "UpdatePromptCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdatePromptCommand)
|
|
21
|
-
.de(de_UpdatePromptCommand)
|
|
14
|
+
.sc(UpdatePrompt)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ValidateFlowDefinitionCommand, se_ValidateFlowDefinitionCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ValidateFlowDefinition } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ValidateFlowDefinitionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentBuildTimeLambda", "ValidateFlowDefinition", {})
|
|
18
13
|
.n("BedrockAgentClient", "ValidateFlowDefinitionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ValidateFlowDefinitionCommand)
|
|
21
|
-
.de(de_ValidateFlowDefinitionCommand)
|
|
14
|
+
.sc(ValidateFlowDefinition)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|