@aws-sdk/client-bedrock-agent-runtime 3.928.0 → 3.929.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 +3454 -4732
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BedrockAgentRuntimeClient.js +2 -0
- package/dist-es/commands/CreateInvocationCommand.js +3 -9
- package/dist-es/commands/CreateSessionCommand.js +3 -9
- package/dist-es/commands/DeleteAgentMemoryCommand.js +3 -9
- package/dist-es/commands/DeleteSessionCommand.js +3 -9
- package/dist-es/commands/EndSessionCommand.js +3 -9
- package/dist-es/commands/GenerateQueryCommand.js +3 -10
- package/dist-es/commands/GetAgentMemoryCommand.js +3 -9
- package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +3 -9
- package/dist-es/commands/GetFlowExecutionCommand.js +3 -9
- package/dist-es/commands/GetInvocationStepCommand.js +3 -10
- package/dist-es/commands/GetSessionCommand.js +3 -9
- package/dist-es/commands/InvokeAgentCommand.js +3 -11
- package/dist-es/commands/InvokeFlowCommand.js +3 -10
- package/dist-es/commands/InvokeInlineAgentCommand.js +3 -11
- package/dist-es/commands/ListFlowExecutionEventsCommand.js +3 -10
- package/dist-es/commands/ListFlowExecutionsCommand.js +3 -9
- package/dist-es/commands/ListInvocationStepsCommand.js +3 -9
- package/dist-es/commands/ListInvocationsCommand.js +3 -9
- package/dist-es/commands/ListSessionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/OptimizePromptCommand.js +3 -10
- package/dist-es/commands/PutInvocationStepCommand.js +3 -10
- package/dist-es/commands/RerankCommand.js +3 -10
- package/dist-es/commands/RetrieveAndGenerateCommand.js +3 -10
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +3 -10
- package/dist-es/commands/RetrieveCommand.js +3 -10
- package/dist-es/commands/StartFlowExecutionCommand.js +3 -10
- package/dist-es/commands/StopFlowExecutionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateSessionCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -922
- package/dist-es/models/models_1.js +0 -262
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +3380 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -644
- package/dist-types/models/models_1.d.ts +0 -128
- 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 +445 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -431
- package/dist-types/ts3.4/models/models_1.d.ts +0 -92
- 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 +452 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -3122
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -380
|
@@ -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_PutInvocationStepCommand, se_PutInvocationStepCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { PutInvocationStep } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class PutInvocationStepCommand 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("AmazonBedrockAgentRunTimeService", "PutInvocationStep", {})
|
|
18
13
|
.n("BedrockAgentRuntimeClient", "PutInvocationStepCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_PutInvocationStepCommand)
|
|
21
|
-
.de(de_PutInvocationStepCommand)
|
|
14
|
+
.sc(PutInvocationStep)
|
|
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_RerankCommand, se_RerankCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { Rerank } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class RerankCommand 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("AmazonBedrockAgentRunTimeService", "Rerank", {})
|
|
18
13
|
.n("BedrockAgentRuntimeClient", "RerankCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_RerankCommand)
|
|
21
|
-
.de(de_RerankCommand)
|
|
14
|
+
.sc(Rerank)
|
|
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_RetrieveAndGenerateCommand, se_RetrieveAndGenerateCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { RetrieveAndGenerate } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class RetrieveAndGenerateCommand 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("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerate", {})
|
|
18
13
|
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_RetrieveAndGenerateCommand)
|
|
21
|
-
.de(de_RetrieveAndGenerateCommand)
|
|
14
|
+
.sc(RetrieveAndGenerate)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,18 +1,13 @@
|
|
|
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_RetrieveAndGenerateStreamCommand, se_RetrieveAndGenerateStreamCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { RetrieveAndGenerateStream } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class RetrieveAndGenerateStreamCommand 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("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerateStream", {
|
|
18
13
|
eventStream: {
|
|
@@ -20,8 +15,6 @@ export class RetrieveAndGenerateStreamCommand extends $Command
|
|
|
20
15
|
},
|
|
21
16
|
})
|
|
22
17
|
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateStreamCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_RetrieveAndGenerateStreamCommand)
|
|
25
|
-
.de(de_RetrieveAndGenerateStreamCommand)
|
|
18
|
+
.sc(RetrieveAndGenerateStream)
|
|
26
19
|
.build() {
|
|
27
20
|
}
|
|
@@ -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_RetrieveCommand, se_RetrieveCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { Retrieve } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class RetrieveCommand 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("AmazonBedrockAgentRunTimeService", "Retrieve", {})
|
|
18
13
|
.n("BedrockAgentRuntimeClient", "RetrieveCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_RetrieveCommand)
|
|
21
|
-
.de(de_RetrieveCommand)
|
|
14
|
+
.sc(Retrieve)
|
|
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_StartFlowExecutionCommand, se_StartFlowExecutionCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { StartFlowExecution } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class StartFlowExecutionCommand 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("AmazonBedrockAgentRunTimeService", "StartFlowExecution", {})
|
|
18
13
|
.n("BedrockAgentRuntimeClient", "StartFlowExecutionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_StartFlowExecutionCommand)
|
|
21
|
-
.de(de_StartFlowExecutionCommand)
|
|
14
|
+
.sc(StartFlowExecution)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +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 {
|
|
4
|
+
import { StopFlowExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopFlowExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentRunTimeService", "StopFlowExecution", {})
|
|
17
13
|
.n("BedrockAgentRuntimeClient", "StopFlowExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopFlowExecutionCommand)
|
|
20
|
-
.de(de_StopFlowExecutionCommand)
|
|
14
|
+
.sc(StopFlowExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +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 {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentRunTimeService", "TagResource", {})
|
|
17
13
|
.n("BedrockAgentRuntimeClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +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 {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentRunTimeService", "UntagResource", {})
|
|
17
13
|
.n("BedrockAgentRuntimeClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +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 {
|
|
4
|
+
import { UpdateSession } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSessionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentRunTimeService", "UpdateSession", {})
|
|
17
13
|
.n("BedrockAgentRuntimeClient", "UpdateSessionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSessionCommand)
|
|
20
|
-
.de(de_UpdateSessionCommand)
|
|
14
|
+
.sc(UpdateSession)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|