@aws-sdk/client-bedrock-agent-runtime 3.810.0 → 3.815.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.
Files changed (75) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +829 -176
  3. package/dist-es/BedrockAgentRuntime.js +12 -0
  4. package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +22 -0
  5. package/dist-es/commands/GetFlowExecutionCommand.js +22 -0
  6. package/dist-es/commands/GetInvocationStepCommand.js +1 -1
  7. package/dist-es/commands/ListFlowExecutionEventsCommand.js +23 -0
  8. package/dist-es/commands/ListFlowExecutionsCommand.js +22 -0
  9. package/dist-es/commands/PutInvocationStepCommand.js +1 -1
  10. package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +1 -2
  11. package/dist-es/commands/RetrieveCommand.js +1 -2
  12. package/dist-es/commands/StartFlowExecutionCommand.js +23 -0
  13. package/dist-es/commands/StopFlowExecutionCommand.js +22 -0
  14. package/dist-es/commands/index.js +6 -0
  15. package/dist-es/models/models_0.js +202 -196
  16. package/dist-es/models/models_1.js +141 -1
  17. package/dist-es/pagination/ListFlowExecutionEventsPaginator.js +4 -0
  18. package/dist-es/pagination/ListFlowExecutionsPaginator.js +4 -0
  19. package/dist-es/pagination/index.js +2 -0
  20. package/dist-es/protocols/Aws_restJson1.js +370 -2
  21. package/dist-types/BedrockAgentRuntime.d.ts +42 -0
  22. package/dist-types/BedrockAgentRuntimeClient.d.ts +8 -2
  23. package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
  26. package/dist-types/commands/EndSessionCommand.d.ts +1 -1
  27. package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +94 -0
  28. package/dist-types/commands/GetFlowExecutionCommand.d.ts +102 -0
  29. package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
  30. package/dist-types/commands/GetSessionCommand.d.ts +1 -1
  31. package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +164 -0
  32. package/dist-types/commands/ListFlowExecutionsCommand.d.ts +101 -0
  33. package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListSessionsCommand.d.ts +1 -2
  36. package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
  37. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -2
  38. package/dist-types/commands/RetrieveCommand.d.ts +1 -2
  39. package/dist-types/commands/StartFlowExecutionCommand.d.ts +116 -0
  40. package/dist-types/commands/StopFlowExecutionCommand.d.ts +99 -0
  41. package/dist-types/commands/index.d.ts +6 -0
  42. package/dist-types/models/models_0.d.ts +3521 -3592
  43. package/dist-types/models/models_1.d.ts +972 -1
  44. package/dist-types/pagination/ListFlowExecutionEventsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListFlowExecutionsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  48. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +102 -0
  49. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +36 -0
  50. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +50 -0
  56. package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -2
  63. package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +4 -2
  65. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -2
  66. package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/StopFlowExecutionCommand.d.ts +51 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +393 -507
  70. package/dist-types/ts3.4/models/models_1.d.ts +490 -2
  71. package/dist-types/ts3.4/pagination/ListFlowExecutionEventsPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/ListFlowExecutionsPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  75. package/package.json +5 -5
@@ -7,11 +7,15 @@ import { DeleteSessionCommand, } from "./commands/DeleteSessionCommand";
7
7
  import { EndSessionCommand } from "./commands/EndSessionCommand";
8
8
  import { GenerateQueryCommand, } from "./commands/GenerateQueryCommand";
9
9
  import { GetAgentMemoryCommand, } from "./commands/GetAgentMemoryCommand";
10
+ import { GetExecutionFlowSnapshotCommand, } from "./commands/GetExecutionFlowSnapshotCommand";
11
+ import { GetFlowExecutionCommand, } from "./commands/GetFlowExecutionCommand";
10
12
  import { GetInvocationStepCommand, } from "./commands/GetInvocationStepCommand";
11
13
  import { GetSessionCommand } from "./commands/GetSessionCommand";
12
14
  import { InvokeAgentCommand } from "./commands/InvokeAgentCommand";
13
15
  import { InvokeFlowCommand } from "./commands/InvokeFlowCommand";
14
16
  import { InvokeInlineAgentCommand, } from "./commands/InvokeInlineAgentCommand";
17
+ import { ListFlowExecutionEventsCommand, } from "./commands/ListFlowExecutionEventsCommand";
18
+ import { ListFlowExecutionsCommand, } from "./commands/ListFlowExecutionsCommand";
15
19
  import { ListInvocationsCommand, } from "./commands/ListInvocationsCommand";
16
20
  import { ListInvocationStepsCommand, } from "./commands/ListInvocationStepsCommand";
17
21
  import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
@@ -22,6 +26,8 @@ import { RerankCommand } from "./commands/RerankCommand";
22
26
  import { RetrieveAndGenerateCommand, } from "./commands/RetrieveAndGenerateCommand";
23
27
  import { RetrieveAndGenerateStreamCommand, } from "./commands/RetrieveAndGenerateStreamCommand";
24
28
  import { RetrieveCommand } from "./commands/RetrieveCommand";
29
+ import { StartFlowExecutionCommand, } from "./commands/StartFlowExecutionCommand";
30
+ import { StopFlowExecutionCommand, } from "./commands/StopFlowExecutionCommand";
25
31
  import { TagResourceCommand } from "./commands/TagResourceCommand";
26
32
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
27
33
  import { UpdateSessionCommand, } from "./commands/UpdateSessionCommand";
@@ -33,11 +39,15 @@ const commands = {
33
39
  EndSessionCommand,
34
40
  GenerateQueryCommand,
35
41
  GetAgentMemoryCommand,
42
+ GetExecutionFlowSnapshotCommand,
43
+ GetFlowExecutionCommand,
36
44
  GetInvocationStepCommand,
37
45
  GetSessionCommand,
38
46
  InvokeAgentCommand,
39
47
  InvokeFlowCommand,
40
48
  InvokeInlineAgentCommand,
49
+ ListFlowExecutionEventsCommand,
50
+ ListFlowExecutionsCommand,
41
51
  ListInvocationsCommand,
42
52
  ListInvocationStepsCommand,
43
53
  ListSessionsCommand,
@@ -48,6 +58,8 @@ const commands = {
48
58
  RetrieveCommand,
49
59
  RetrieveAndGenerateCommand,
50
60
  RetrieveAndGenerateStreamCommand,
61
+ StartFlowExecutionCommand,
62
+ StopFlowExecutionCommand,
51
63
  TagResourceCommand,
52
64
  UntagResourceCommand,
53
65
  UpdateSessionCommand,
@@ -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_GetExecutionFlowSnapshotCommand, se_GetExecutionFlowSnapshotCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetExecutionFlowSnapshotCommand 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", "GetExecutionFlowSnapshot", {})
17
+ .n("BedrockAgentRuntimeClient", "GetExecutionFlowSnapshotCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetExecutionFlowSnapshotCommand)
20
+ .de(de_GetExecutionFlowSnapshotCommand)
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_GetFlowExecutionCommand, se_GetFlowExecutionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetFlowExecutionCommand 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", "GetFlowExecution", {})
17
+ .n("BedrockAgentRuntimeClient", "GetFlowExecutionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetFlowExecutionCommand)
20
+ .de(de_GetFlowExecutionCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,7 @@ 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 { GetInvocationStepResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { GetInvocationStepResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_GetInvocationStepCommand, se_GetInvocationStepCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class GetInvocationStepCommand extends $Command
@@ -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 { ListFlowExecutionEventsResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_ListFlowExecutionEventsCommand, se_ListFlowExecutionEventsCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListFlowExecutionEventsCommand 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", "ListFlowExecutionEvents", {})
18
+ .n("BedrockAgentRuntimeClient", "ListFlowExecutionEventsCommand")
19
+ .f(void 0, ListFlowExecutionEventsResponseFilterSensitiveLog)
20
+ .ser(se_ListFlowExecutionEventsCommand)
21
+ .de(de_ListFlowExecutionEventsCommand)
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_ListFlowExecutionsCommand, se_ListFlowExecutionsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListFlowExecutionsCommand 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", "ListFlowExecutions", {})
17
+ .n("BedrockAgentRuntimeClient", "ListFlowExecutionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListFlowExecutionsCommand)
20
+ .de(de_ListFlowExecutionsCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,7 @@ 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 { PutInvocationStepRequestFilterSensitiveLog, } from "../models/models_0";
5
+ import { PutInvocationStepRequestFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_PutInvocationStepCommand, se_PutInvocationStepCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class PutInvocationStepCommand extends $Command
@@ -2,8 +2,7 @@ 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 { RetrieveAndGenerateStreamResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { RetrieveAndGenerateStreamRequestFilterSensitiveLog, } from "../models/models_1";
5
+ import { RetrieveAndGenerateStreamRequestFilterSensitiveLog, RetrieveAndGenerateStreamResponseFilterSensitiveLog, } from "../models/models_1";
7
6
  import { de_RetrieveAndGenerateStreamCommand, se_RetrieveAndGenerateStreamCommand } from "../protocols/Aws_restJson1";
8
7
  export { $Command };
9
8
  export class RetrieveAndGenerateStreamCommand extends $Command
@@ -2,8 +2,7 @@ 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 { RetrieveResponseFilterSensitiveLog } from "../models/models_0";
6
- import { RetrieveRequestFilterSensitiveLog } from "../models/models_1";
5
+ import { RetrieveRequestFilterSensitiveLog, RetrieveResponseFilterSensitiveLog, } from "../models/models_1";
7
6
  import { de_RetrieveCommand, se_RetrieveCommand } from "../protocols/Aws_restJson1";
8
7
  export { $Command };
9
8
  export class RetrieveCommand extends $Command
@@ -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 { StartFlowExecutionRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_StartFlowExecutionCommand, se_StartFlowExecutionCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class StartFlowExecutionCommand 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", "StartFlowExecution", {})
18
+ .n("BedrockAgentRuntimeClient", "StartFlowExecutionCommand")
19
+ .f(StartFlowExecutionRequestFilterSensitiveLog, void 0)
20
+ .ser(se_StartFlowExecutionCommand)
21
+ .de(de_StartFlowExecutionCommand)
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_StopFlowExecutionCommand, se_StopFlowExecutionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StopFlowExecutionCommand 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", "StopFlowExecution", {})
17
+ .n("BedrockAgentRuntimeClient", "StopFlowExecutionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StopFlowExecutionCommand)
20
+ .de(de_StopFlowExecutionCommand)
21
+ .build() {
22
+ }
@@ -5,11 +5,15 @@ export * from "./DeleteSessionCommand";
5
5
  export * from "./EndSessionCommand";
6
6
  export * from "./GenerateQueryCommand";
7
7
  export * from "./GetAgentMemoryCommand";
8
+ export * from "./GetExecutionFlowSnapshotCommand";
9
+ export * from "./GetFlowExecutionCommand";
8
10
  export * from "./GetInvocationStepCommand";
9
11
  export * from "./GetSessionCommand";
10
12
  export * from "./InvokeAgentCommand";
11
13
  export * from "./InvokeFlowCommand";
12
14
  export * from "./InvokeInlineAgentCommand";
15
+ export * from "./ListFlowExecutionEventsCommand";
16
+ export * from "./ListFlowExecutionsCommand";
13
17
  export * from "./ListInvocationStepsCommand";
14
18
  export * from "./ListInvocationsCommand";
15
19
  export * from "./ListSessionsCommand";
@@ -20,6 +24,8 @@ export * from "./RerankCommand";
20
24
  export * from "./RetrieveAndGenerateCommand";
21
25
  export * from "./RetrieveAndGenerateStreamCommand";
22
26
  export * from "./RetrieveCommand";
27
+ export * from "./StartFlowExecutionCommand";
28
+ export * from "./StopFlowExecutionCommand";
23
29
  export * from "./TagResourceCommand";
24
30
  export * from "./UntagResourceCommand";
25
31
  export * from "./UpdateSessionCommand";