@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
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  PutInvocationStepRequest,
10
10
  PutInvocationStepResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface PutInvocationStepCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { RetrieveAndGenerateStreamResponse } from "../models/models_0";
9
- import { RetrieveAndGenerateStreamRequest } from "../models/models_1";
8
+ import {
9
+ RetrieveAndGenerateStreamRequest,
10
+ RetrieveAndGenerateStreamResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface RetrieveAndGenerateStreamCommandInput
@@ -5,8 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { RetrieveResponse } from "../models/models_0";
9
- import { RetrieveRequest } from "../models/models_1";
8
+ import { RetrieveRequest, RetrieveResponse } from "../models/models_1";
10
9
  export { __MetadataBearer };
11
10
  export { $Command };
12
11
  export interface RetrieveCommandInput extends RetrieveRequest {}
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentRuntimeClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentRuntimeClient";
8
+ import {
9
+ StartFlowExecutionRequest,
10
+ StartFlowExecutionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartFlowExecutionCommandInput
15
+ extends StartFlowExecutionRequest {}
16
+ export interface StartFlowExecutionCommandOutput
17
+ extends StartFlowExecutionResponse,
18
+ __MetadataBearer {}
19
+ declare const StartFlowExecutionCommand_base: {
20
+ new (
21
+ input: StartFlowExecutionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartFlowExecutionCommandInput,
24
+ StartFlowExecutionCommandOutput,
25
+ BedrockAgentRuntimeClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: StartFlowExecutionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartFlowExecutionCommandInput,
33
+ StartFlowExecutionCommandOutput,
34
+ BedrockAgentRuntimeClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartFlowExecutionCommand extends StartFlowExecutionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartFlowExecutionRequest;
44
+ output: StartFlowExecutionResponse;
45
+ };
46
+ sdk: {
47
+ input: StartFlowExecutionCommandInput;
48
+ output: StartFlowExecutionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentRuntimeClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentRuntimeClient";
8
+ import {
9
+ StopFlowExecutionRequest,
10
+ StopFlowExecutionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StopFlowExecutionCommandInput
15
+ extends StopFlowExecutionRequest {}
16
+ export interface StopFlowExecutionCommandOutput
17
+ extends StopFlowExecutionResponse,
18
+ __MetadataBearer {}
19
+ declare const StopFlowExecutionCommand_base: {
20
+ new (
21
+ input: StopFlowExecutionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StopFlowExecutionCommandInput,
24
+ StopFlowExecutionCommandOutput,
25
+ BedrockAgentRuntimeClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: StopFlowExecutionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StopFlowExecutionCommandInput,
33
+ StopFlowExecutionCommandOutput,
34
+ BedrockAgentRuntimeClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StopFlowExecutionCommand extends StopFlowExecutionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StopFlowExecutionRequest;
44
+ output: StopFlowExecutionResponse;
45
+ };
46
+ sdk: {
47
+ input: StopFlowExecutionCommandInput;
48
+ output: StopFlowExecutionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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";