@aws-sdk/client-bedrock-agent-runtime 3.755.0 → 3.758.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -7
- package/dist-cjs/index.js +941 -56
- package/dist-es/BedrockAgentRuntime.js +28 -0
- package/dist-es/commands/CreateInvocationCommand.js +22 -0
- package/dist-es/commands/CreateSessionCommand.js +22 -0
- package/dist-es/commands/DeleteSessionCommand.js +22 -0
- package/dist-es/commands/EndSessionCommand.js +22 -0
- package/dist-es/commands/GetInvocationStepCommand.js +23 -0
- package/dist-es/commands/GetSessionCommand.js +22 -0
- package/dist-es/commands/InvokeAgentCommand.js +2 -1
- package/dist-es/commands/InvokeInlineAgentCommand.js +2 -1
- package/dist-es/commands/ListInvocationStepsCommand.js +22 -0
- package/dist-es/commands/ListInvocationsCommand.js +22 -0
- package/dist-es/commands/ListSessionsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/PutInvocationStepCommand.js +23 -0
- package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -1
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -1
- package/dist-es/commands/RetrieveCommand.js +2 -1
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateSessionCommand.js +22 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +54 -151
- package/dist-es/models/models_1.js +164 -0
- package/dist-es/pagination/ListInvocationStepsPaginator.js +4 -0
- package/dist-es/pagination/ListInvocationsPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +532 -8
- package/dist-types/BedrockAgentRuntime.d.ts +100 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +16 -2
- package/dist-types/commands/CreateInvocationCommand.d.ts +115 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +133 -0
- package/dist-types/commands/DeleteSessionCommand.d.ts +89 -0
- package/dist-types/commands/EndSessionCommand.d.ts +93 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +109 -0
- package/dist-types/commands/GetSessionCommand.d.ts +94 -0
- package/dist-types/commands/InvokeAgentCommand.d.ts +2 -1
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +2 -1
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +97 -0
- package/dist-types/commands/ListInvocationsCommand.d.ts +95 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +93 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/PutInvocationStepCommand.d.ts +134 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +2 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -1
- package/dist-types/commands/RetrieveCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +494 -634
- package/dist-types/models/models_1.d.ts +919 -0
- package/dist-types/pagination/ListInvocationStepsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInvocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +240 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +86 -2
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +222 -365
- package/dist-types/ts3.4/models/models_1.d.ts +416 -0
- package/dist-types/ts3.4/pagination/ListInvocationStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInvocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +12 -12
|
@@ -1,28 +1,56 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
|
|
3
|
+
import { CreateInvocationCommand, } from "./commands/CreateInvocationCommand";
|
|
4
|
+
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
3
5
|
import { DeleteAgentMemoryCommand, } from "./commands/DeleteAgentMemoryCommand";
|
|
6
|
+
import { DeleteSessionCommand, } from "./commands/DeleteSessionCommand";
|
|
7
|
+
import { EndSessionCommand } from "./commands/EndSessionCommand";
|
|
4
8
|
import { GenerateQueryCommand, } from "./commands/GenerateQueryCommand";
|
|
5
9
|
import { GetAgentMemoryCommand, } from "./commands/GetAgentMemoryCommand";
|
|
10
|
+
import { GetInvocationStepCommand, } from "./commands/GetInvocationStepCommand";
|
|
11
|
+
import { GetSessionCommand } from "./commands/GetSessionCommand";
|
|
6
12
|
import { InvokeAgentCommand } from "./commands/InvokeAgentCommand";
|
|
7
13
|
import { InvokeFlowCommand } from "./commands/InvokeFlowCommand";
|
|
8
14
|
import { InvokeInlineAgentCommand, } from "./commands/InvokeInlineAgentCommand";
|
|
15
|
+
import { ListInvocationsCommand, } from "./commands/ListInvocationsCommand";
|
|
16
|
+
import { ListInvocationStepsCommand, } from "./commands/ListInvocationStepsCommand";
|
|
17
|
+
import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
|
|
18
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
9
19
|
import { OptimizePromptCommand, } from "./commands/OptimizePromptCommand";
|
|
20
|
+
import { PutInvocationStepCommand, } from "./commands/PutInvocationStepCommand";
|
|
10
21
|
import { RerankCommand } from "./commands/RerankCommand";
|
|
11
22
|
import { RetrieveAndGenerateCommand, } from "./commands/RetrieveAndGenerateCommand";
|
|
12
23
|
import { RetrieveAndGenerateStreamCommand, } from "./commands/RetrieveAndGenerateStreamCommand";
|
|
13
24
|
import { RetrieveCommand } from "./commands/RetrieveCommand";
|
|
25
|
+
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
26
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
27
|
+
import { UpdateSessionCommand, } from "./commands/UpdateSessionCommand";
|
|
14
28
|
const commands = {
|
|
29
|
+
CreateInvocationCommand,
|
|
30
|
+
CreateSessionCommand,
|
|
15
31
|
DeleteAgentMemoryCommand,
|
|
32
|
+
DeleteSessionCommand,
|
|
33
|
+
EndSessionCommand,
|
|
16
34
|
GenerateQueryCommand,
|
|
17
35
|
GetAgentMemoryCommand,
|
|
36
|
+
GetInvocationStepCommand,
|
|
37
|
+
GetSessionCommand,
|
|
18
38
|
InvokeAgentCommand,
|
|
19
39
|
InvokeFlowCommand,
|
|
20
40
|
InvokeInlineAgentCommand,
|
|
41
|
+
ListInvocationsCommand,
|
|
42
|
+
ListInvocationStepsCommand,
|
|
43
|
+
ListSessionsCommand,
|
|
44
|
+
ListTagsForResourceCommand,
|
|
21
45
|
OptimizePromptCommand,
|
|
46
|
+
PutInvocationStepCommand,
|
|
22
47
|
RerankCommand,
|
|
23
48
|
RetrieveCommand,
|
|
24
49
|
RetrieveAndGenerateCommand,
|
|
25
50
|
RetrieveAndGenerateStreamCommand,
|
|
51
|
+
TagResourceCommand,
|
|
52
|
+
UntagResourceCommand,
|
|
53
|
+
UpdateSessionCommand,
|
|
26
54
|
};
|
|
27
55
|
export class BedrockAgentRuntime extends BedrockAgentRuntimeClient {
|
|
28
56
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateInvocationCommand, se_CreateInvocationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateInvocationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "CreateInvocation", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "CreateInvocationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateInvocationCommand)
|
|
20
|
+
.de(de_CreateInvocationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateSessionCommand, se_CreateSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateSessionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "CreateSession", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "CreateSessionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateSessionCommand)
|
|
20
|
+
.de(de_CreateSessionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteSessionCommand, se_DeleteSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteSessionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "DeleteSession", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "DeleteSessionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteSessionCommand)
|
|
20
|
+
.de(de_DeleteSessionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_EndSessionCommand, se_EndSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class EndSessionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "EndSession", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "EndSessionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_EndSessionCommand)
|
|
20
|
+
.de(de_EndSessionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetInvocationStepResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_GetInvocationStepCommand, se_GetInvocationStepCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetInvocationStepCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockAgentRunTimeService", "GetInvocationStep", {})
|
|
18
|
+
.n("BedrockAgentRuntimeClient", "GetInvocationStepCommand")
|
|
19
|
+
.f(void 0, GetInvocationStepResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetInvocationStepCommand)
|
|
21
|
+
.de(de_GetInvocationStepCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetSessionCommand, se_GetSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetSessionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "GetSession", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "GetSessionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetSessionCommand)
|
|
20
|
+
.de(de_GetSessionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,7 +2,8 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
5
|
+
import { InvokeAgentResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { InvokeAgentRequestFilterSensitiveLog } from "../models/models_1";
|
|
6
7
|
import { de_InvokeAgentCommand, se_InvokeAgentCommand } from "../protocols/Aws_restJson1";
|
|
7
8
|
export { $Command };
|
|
8
9
|
export class InvokeAgentCommand extends $Command
|
|
@@ -2,7 +2,8 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
5
|
+
import { InvokeInlineAgentResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { InvokeInlineAgentRequestFilterSensitiveLog } from "../models/models_1";
|
|
6
7
|
import { de_InvokeInlineAgentCommand, se_InvokeInlineAgentCommand } from "../protocols/Aws_restJson1";
|
|
7
8
|
export { $Command };
|
|
8
9
|
export class InvokeInlineAgentCommand extends $Command
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListInvocationStepsCommand, se_ListInvocationStepsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListInvocationStepsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "ListInvocationSteps", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "ListInvocationStepsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListInvocationStepsCommand)
|
|
20
|
+
.de(de_ListInvocationStepsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListInvocationsCommand, se_ListInvocationsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListInvocationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "ListInvocations", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "ListInvocationsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListInvocationsCommand)
|
|
20
|
+
.de(de_ListInvocationsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListSessionsCommand, se_ListSessionsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListSessionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "ListSessions", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "ListSessionsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListSessionsCommand)
|
|
20
|
+
.de(de_ListSessionsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "ListTagsForResource", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "ListTagsForResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListTagsForResourceCommand)
|
|
20
|
+
.de(de_ListTagsForResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { PutInvocationStepRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_PutInvocationStepCommand, se_PutInvocationStepCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class PutInvocationStepCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockAgentRunTimeService", "PutInvocationStep", {})
|
|
18
|
+
.n("BedrockAgentRuntimeClient", "PutInvocationStepCommand")
|
|
19
|
+
.f(PutInvocationStepRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_PutInvocationStepCommand)
|
|
21
|
+
.de(de_PutInvocationStepCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -2,7 +2,8 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
5
|
+
import { RetrieveAndGenerateResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { RetrieveAndGenerateRequestFilterSensitiveLog } from "../models/models_1";
|
|
6
7
|
import { de_RetrieveAndGenerateCommand, se_RetrieveAndGenerateCommand } from "../protocols/Aws_restJson1";
|
|
7
8
|
export { $Command };
|
|
8
9
|
export class RetrieveAndGenerateCommand extends $Command
|
|
@@ -2,7 +2,8 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
5
|
+
import { RetrieveAndGenerateStreamResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { RetrieveAndGenerateStreamRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
7
|
import { de_RetrieveAndGenerateStreamCommand, se_RetrieveAndGenerateStreamCommand } from "../protocols/Aws_restJson1";
|
|
7
8
|
export { $Command };
|
|
8
9
|
export class RetrieveAndGenerateStreamCommand extends $Command
|
|
@@ -2,7 +2,8 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
5
|
+
import { RetrieveResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { RetrieveRequestFilterSensitiveLog } from "../models/models_1";
|
|
6
7
|
import { de_RetrieveCommand, se_RetrieveCommand } from "../protocols/Aws_restJson1";
|
|
7
8
|
export { $Command };
|
|
8
9
|
export class RetrieveCommand extends $Command
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "TagResource", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "TagResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_TagResourceCommand)
|
|
20
|
+
.de(de_TagResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "UntagResource", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "UntagResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UntagResourceCommand)
|
|
20
|
+
.de(de_UntagResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateSessionCommand, se_UpdateSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateSessionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockAgentRunTimeService", "UpdateSession", {})
|
|
17
|
+
.n("BedrockAgentRuntimeClient", "UpdateSessionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateSessionCommand)
|
|
20
|
+
.de(de_UpdateSessionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,11 +1,25 @@
|
|
|
1
|
+
export * from "./CreateInvocationCommand";
|
|
2
|
+
export * from "./CreateSessionCommand";
|
|
1
3
|
export * from "./DeleteAgentMemoryCommand";
|
|
4
|
+
export * from "./DeleteSessionCommand";
|
|
5
|
+
export * from "./EndSessionCommand";
|
|
2
6
|
export * from "./GenerateQueryCommand";
|
|
3
7
|
export * from "./GetAgentMemoryCommand";
|
|
8
|
+
export * from "./GetInvocationStepCommand";
|
|
9
|
+
export * from "./GetSessionCommand";
|
|
4
10
|
export * from "./InvokeAgentCommand";
|
|
5
11
|
export * from "./InvokeFlowCommand";
|
|
6
12
|
export * from "./InvokeInlineAgentCommand";
|
|
13
|
+
export * from "./ListInvocationStepsCommand";
|
|
14
|
+
export * from "./ListInvocationsCommand";
|
|
15
|
+
export * from "./ListSessionsCommand";
|
|
16
|
+
export * from "./ListTagsForResourceCommand";
|
|
7
17
|
export * from "./OptimizePromptCommand";
|
|
18
|
+
export * from "./PutInvocationStepCommand";
|
|
8
19
|
export * from "./RerankCommand";
|
|
9
20
|
export * from "./RetrieveAndGenerateCommand";
|
|
10
21
|
export * from "./RetrieveAndGenerateStreamCommand";
|
|
11
22
|
export * from "./RetrieveCommand";
|
|
23
|
+
export * from "./TagResourceCommand";
|
|
24
|
+
export * from "./UntagResourceCommand";
|
|
25
|
+
export * from "./UpdateSessionCommand";
|
package/dist-es/models/index.js
CHANGED