@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
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "../commands/ListFlowExecutionEventsCommand";
3
+ import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListFlowExecutionEvents: (config: BedrockAgentRuntimePaginationConfiguration, input: ListFlowExecutionEventsCommandInput, ...rest: any[]) => Paginator<ListFlowExecutionEventsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "../commands/ListFlowExecutionsCommand";
3
+ import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListFlowExecutions: (config: BedrockAgentRuntimePaginationConfiguration, input: ListFlowExecutionsCommandInput, ...rest: any[]) => Paginator<ListFlowExecutionsCommandOutput>;
@@ -1,5 +1,7 @@
1
1
  export * from "./GetAgentMemoryPaginator";
2
2
  export * from "./Interfaces";
3
+ export * from "./ListFlowExecutionEventsPaginator";
4
+ export * from "./ListFlowExecutionsPaginator";
3
5
  export * from "./ListInvocationStepsPaginator";
4
6
  export * from "./ListInvocationsPaginator";
5
7
  export * from "./ListSessionsPaginator";
@@ -7,11 +7,15 @@ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "../comman
7
7
  import { EndSessionCommandInput, EndSessionCommandOutput } from "../commands/EndSessionCommand";
8
8
  import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "../commands/GenerateQueryCommand";
9
9
  import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "../commands/GetAgentMemoryCommand";
10
+ import { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "../commands/GetExecutionFlowSnapshotCommand";
11
+ import { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "../commands/GetFlowExecutionCommand";
10
12
  import { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "../commands/GetInvocationStepCommand";
11
13
  import { GetSessionCommandInput, GetSessionCommandOutput } from "../commands/GetSessionCommand";
12
14
  import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "../commands/InvokeAgentCommand";
13
15
  import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "../commands/InvokeFlowCommand";
14
16
  import { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "../commands/InvokeInlineAgentCommand";
17
+ import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "../commands/ListFlowExecutionEventsCommand";
18
+ import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "../commands/ListFlowExecutionsCommand";
15
19
  import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "../commands/ListInvocationsCommand";
16
20
  import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "../commands/ListInvocationStepsCommand";
17
21
  import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
@@ -22,6 +26,8 @@ import { RerankCommandInput, RerankCommandOutput } from "../commands/RerankComma
22
26
  import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "../commands/RetrieveAndGenerateCommand";
23
27
  import { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "../commands/RetrieveAndGenerateStreamCommand";
24
28
  import { RetrieveCommandInput, RetrieveCommandOutput } from "../commands/RetrieveCommand";
29
+ import { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "../commands/StartFlowExecutionCommand";
30
+ import { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "../commands/StopFlowExecutionCommand";
25
31
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
26
32
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
27
33
  import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "../commands/UpdateSessionCommand";
@@ -53,6 +59,14 @@ export declare const se_GenerateQueryCommand: (input: GenerateQueryCommandInput,
53
59
  * serializeAws_restJson1GetAgentMemoryCommand
54
60
  */
55
61
  export declare const se_GetAgentMemoryCommand: (input: GetAgentMemoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
+ /**
63
+ * serializeAws_restJson1GetExecutionFlowSnapshotCommand
64
+ */
65
+ export declare const se_GetExecutionFlowSnapshotCommand: (input: GetExecutionFlowSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
+ /**
67
+ * serializeAws_restJson1GetFlowExecutionCommand
68
+ */
69
+ export declare const se_GetFlowExecutionCommand: (input: GetFlowExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
70
  /**
57
71
  * serializeAws_restJson1GetInvocationStepCommand
58
72
  */
@@ -73,6 +87,14 @@ export declare const se_InvokeFlowCommand: (input: InvokeFlowCommandInput, conte
73
87
  * serializeAws_restJson1InvokeInlineAgentCommand
74
88
  */
75
89
  export declare const se_InvokeInlineAgentCommand: (input: InvokeInlineAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
+ /**
91
+ * serializeAws_restJson1ListFlowExecutionEventsCommand
92
+ */
93
+ export declare const se_ListFlowExecutionEventsCommand: (input: ListFlowExecutionEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
+ /**
95
+ * serializeAws_restJson1ListFlowExecutionsCommand
96
+ */
97
+ export declare const se_ListFlowExecutionsCommand: (input: ListFlowExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
98
  /**
77
99
  * serializeAws_restJson1ListInvocationsCommand
78
100
  */
@@ -113,6 +135,14 @@ export declare const se_RetrieveAndGenerateCommand: (input: RetrieveAndGenerateC
113
135
  * serializeAws_restJson1RetrieveAndGenerateStreamCommand
114
136
  */
115
137
  export declare const se_RetrieveAndGenerateStreamCommand: (input: RetrieveAndGenerateStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
138
+ /**
139
+ * serializeAws_restJson1StartFlowExecutionCommand
140
+ */
141
+ export declare const se_StartFlowExecutionCommand: (input: StartFlowExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
142
+ /**
143
+ * serializeAws_restJson1StopFlowExecutionCommand
144
+ */
145
+ export declare const se_StopFlowExecutionCommand: (input: StopFlowExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
116
146
  /**
117
147
  * serializeAws_restJson1TagResourceCommand
118
148
  */
@@ -153,6 +183,14 @@ export declare const de_GenerateQueryCommand: (output: __HttpResponse, context:
153
183
  * deserializeAws_restJson1GetAgentMemoryCommand
154
184
  */
155
185
  export declare const de_GetAgentMemoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAgentMemoryCommandOutput>;
186
+ /**
187
+ * deserializeAws_restJson1GetExecutionFlowSnapshotCommand
188
+ */
189
+ export declare const de_GetExecutionFlowSnapshotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExecutionFlowSnapshotCommandOutput>;
190
+ /**
191
+ * deserializeAws_restJson1GetFlowExecutionCommand
192
+ */
193
+ export declare const de_GetFlowExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFlowExecutionCommandOutput>;
156
194
  /**
157
195
  * deserializeAws_restJson1GetInvocationStepCommand
158
196
  */
@@ -173,6 +211,14 @@ export declare const de_InvokeFlowCommand: (output: __HttpResponse, context: __S
173
211
  * deserializeAws_restJson1InvokeInlineAgentCommand
174
212
  */
175
213
  export declare const de_InvokeInlineAgentCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeInlineAgentCommandOutput>;
214
+ /**
215
+ * deserializeAws_restJson1ListFlowExecutionEventsCommand
216
+ */
217
+ export declare const de_ListFlowExecutionEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFlowExecutionEventsCommandOutput>;
218
+ /**
219
+ * deserializeAws_restJson1ListFlowExecutionsCommand
220
+ */
221
+ export declare const de_ListFlowExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFlowExecutionsCommandOutput>;
176
222
  /**
177
223
  * deserializeAws_restJson1ListInvocationsCommand
178
224
  */
@@ -213,6 +259,14 @@ export declare const de_RetrieveAndGenerateCommand: (output: __HttpResponse, con
213
259
  * deserializeAws_restJson1RetrieveAndGenerateStreamCommand
214
260
  */
215
261
  export declare const de_RetrieveAndGenerateStreamCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<RetrieveAndGenerateStreamCommandOutput>;
262
+ /**
263
+ * deserializeAws_restJson1StartFlowExecutionCommand
264
+ */
265
+ export declare const de_StartFlowExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartFlowExecutionCommandOutput>;
266
+ /**
267
+ * deserializeAws_restJson1StopFlowExecutionCommand
268
+ */
269
+ export declare const de_StopFlowExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopFlowExecutionCommandOutput>;
216
270
  /**
217
271
  * deserializeAws_restJson1TagResourceCommand
218
272
  */
@@ -28,6 +28,14 @@ import {
28
28
  GetAgentMemoryCommandInput,
29
29
  GetAgentMemoryCommandOutput,
30
30
  } from "./commands/GetAgentMemoryCommand";
31
+ import {
32
+ GetExecutionFlowSnapshotCommandInput,
33
+ GetExecutionFlowSnapshotCommandOutput,
34
+ } from "./commands/GetExecutionFlowSnapshotCommand";
35
+ import {
36
+ GetFlowExecutionCommandInput,
37
+ GetFlowExecutionCommandOutput,
38
+ } from "./commands/GetFlowExecutionCommand";
31
39
  import {
32
40
  GetInvocationStepCommandInput,
33
41
  GetInvocationStepCommandOutput,
@@ -48,6 +56,14 @@ import {
48
56
  InvokeInlineAgentCommandInput,
49
57
  InvokeInlineAgentCommandOutput,
50
58
  } from "./commands/InvokeInlineAgentCommand";
59
+ import {
60
+ ListFlowExecutionEventsCommandInput,
61
+ ListFlowExecutionEventsCommandOutput,
62
+ } from "./commands/ListFlowExecutionEventsCommand";
63
+ import {
64
+ ListFlowExecutionsCommandInput,
65
+ ListFlowExecutionsCommandOutput,
66
+ } from "./commands/ListFlowExecutionsCommand";
51
67
  import {
52
68
  ListInvocationsCommandInput,
53
69
  ListInvocationsCommandOutput,
@@ -88,6 +104,14 @@ import {
88
104
  RetrieveCommandInput,
89
105
  RetrieveCommandOutput,
90
106
  } from "./commands/RetrieveCommand";
107
+ import {
108
+ StartFlowExecutionCommandInput,
109
+ StartFlowExecutionCommandOutput,
110
+ } from "./commands/StartFlowExecutionCommand";
111
+ import {
112
+ StopFlowExecutionCommandInput,
113
+ StopFlowExecutionCommandOutput,
114
+ } from "./commands/StopFlowExecutionCommand";
91
115
  import {
92
116
  TagResourceCommandInput,
93
117
  TagResourceCommandOutput,
@@ -193,6 +217,32 @@ export interface BedrockAgentRuntime {
193
217
  options: __HttpHandlerOptions,
194
218
  cb: (err: any, data?: GetAgentMemoryCommandOutput) => void
195
219
  ): void;
220
+ getExecutionFlowSnapshot(
221
+ args: GetExecutionFlowSnapshotCommandInput,
222
+ options?: __HttpHandlerOptions
223
+ ): Promise<GetExecutionFlowSnapshotCommandOutput>;
224
+ getExecutionFlowSnapshot(
225
+ args: GetExecutionFlowSnapshotCommandInput,
226
+ cb: (err: any, data?: GetExecutionFlowSnapshotCommandOutput) => void
227
+ ): void;
228
+ getExecutionFlowSnapshot(
229
+ args: GetExecutionFlowSnapshotCommandInput,
230
+ options: __HttpHandlerOptions,
231
+ cb: (err: any, data?: GetExecutionFlowSnapshotCommandOutput) => void
232
+ ): void;
233
+ getFlowExecution(
234
+ args: GetFlowExecutionCommandInput,
235
+ options?: __HttpHandlerOptions
236
+ ): Promise<GetFlowExecutionCommandOutput>;
237
+ getFlowExecution(
238
+ args: GetFlowExecutionCommandInput,
239
+ cb: (err: any, data?: GetFlowExecutionCommandOutput) => void
240
+ ): void;
241
+ getFlowExecution(
242
+ args: GetFlowExecutionCommandInput,
243
+ options: __HttpHandlerOptions,
244
+ cb: (err: any, data?: GetFlowExecutionCommandOutput) => void
245
+ ): void;
196
246
  getInvocationStep(
197
247
  args: GetInvocationStepCommandInput,
198
248
  options?: __HttpHandlerOptions
@@ -258,6 +308,32 @@ export interface BedrockAgentRuntime {
258
308
  options: __HttpHandlerOptions,
259
309
  cb: (err: any, data?: InvokeInlineAgentCommandOutput) => void
260
310
  ): void;
311
+ listFlowExecutionEvents(
312
+ args: ListFlowExecutionEventsCommandInput,
313
+ options?: __HttpHandlerOptions
314
+ ): Promise<ListFlowExecutionEventsCommandOutput>;
315
+ listFlowExecutionEvents(
316
+ args: ListFlowExecutionEventsCommandInput,
317
+ cb: (err: any, data?: ListFlowExecutionEventsCommandOutput) => void
318
+ ): void;
319
+ listFlowExecutionEvents(
320
+ args: ListFlowExecutionEventsCommandInput,
321
+ options: __HttpHandlerOptions,
322
+ cb: (err: any, data?: ListFlowExecutionEventsCommandOutput) => void
323
+ ): void;
324
+ listFlowExecutions(
325
+ args: ListFlowExecutionsCommandInput,
326
+ options?: __HttpHandlerOptions
327
+ ): Promise<ListFlowExecutionsCommandOutput>;
328
+ listFlowExecutions(
329
+ args: ListFlowExecutionsCommandInput,
330
+ cb: (err: any, data?: ListFlowExecutionsCommandOutput) => void
331
+ ): void;
332
+ listFlowExecutions(
333
+ args: ListFlowExecutionsCommandInput,
334
+ options: __HttpHandlerOptions,
335
+ cb: (err: any, data?: ListFlowExecutionsCommandOutput) => void
336
+ ): void;
261
337
  listInvocations(
262
338
  args: ListInvocationsCommandInput,
263
339
  options?: __HttpHandlerOptions
@@ -389,6 +465,32 @@ export interface BedrockAgentRuntime {
389
465
  options: __HttpHandlerOptions,
390
466
  cb: (err: any, data?: RetrieveAndGenerateStreamCommandOutput) => void
391
467
  ): void;
468
+ startFlowExecution(
469
+ args: StartFlowExecutionCommandInput,
470
+ options?: __HttpHandlerOptions
471
+ ): Promise<StartFlowExecutionCommandOutput>;
472
+ startFlowExecution(
473
+ args: StartFlowExecutionCommandInput,
474
+ cb: (err: any, data?: StartFlowExecutionCommandOutput) => void
475
+ ): void;
476
+ startFlowExecution(
477
+ args: StartFlowExecutionCommandInput,
478
+ options: __HttpHandlerOptions,
479
+ cb: (err: any, data?: StartFlowExecutionCommandOutput) => void
480
+ ): void;
481
+ stopFlowExecution(
482
+ args: StopFlowExecutionCommandInput,
483
+ options?: __HttpHandlerOptions
484
+ ): Promise<StopFlowExecutionCommandOutput>;
485
+ stopFlowExecution(
486
+ args: StopFlowExecutionCommandInput,
487
+ cb: (err: any, data?: StopFlowExecutionCommandOutput) => void
488
+ ): void;
489
+ stopFlowExecution(
490
+ args: StopFlowExecutionCommandInput,
491
+ options: __HttpHandlerOptions,
492
+ cb: (err: any, data?: StopFlowExecutionCommandOutput) => void
493
+ ): void;
392
494
  tagResource(
393
495
  args: TagResourceCommandInput,
394
496
  options?: __HttpHandlerOptions
@@ -78,6 +78,14 @@ import {
78
78
  GetAgentMemoryCommandInput,
79
79
  GetAgentMemoryCommandOutput,
80
80
  } from "./commands/GetAgentMemoryCommand";
81
+ import {
82
+ GetExecutionFlowSnapshotCommandInput,
83
+ GetExecutionFlowSnapshotCommandOutput,
84
+ } from "./commands/GetExecutionFlowSnapshotCommand";
85
+ import {
86
+ GetFlowExecutionCommandInput,
87
+ GetFlowExecutionCommandOutput,
88
+ } from "./commands/GetFlowExecutionCommand";
81
89
  import {
82
90
  GetInvocationStepCommandInput,
83
91
  GetInvocationStepCommandOutput,
@@ -98,6 +106,14 @@ import {
98
106
  InvokeInlineAgentCommandInput,
99
107
  InvokeInlineAgentCommandOutput,
100
108
  } from "./commands/InvokeInlineAgentCommand";
109
+ import {
110
+ ListFlowExecutionEventsCommandInput,
111
+ ListFlowExecutionEventsCommandOutput,
112
+ } from "./commands/ListFlowExecutionEventsCommand";
113
+ import {
114
+ ListFlowExecutionsCommandInput,
115
+ ListFlowExecutionsCommandOutput,
116
+ } from "./commands/ListFlowExecutionsCommand";
101
117
  import {
102
118
  ListInvocationsCommandInput,
103
119
  ListInvocationsCommandOutput,
@@ -138,6 +154,14 @@ import {
138
154
  RetrieveCommandInput,
139
155
  RetrieveCommandOutput,
140
156
  } from "./commands/RetrieveCommand";
157
+ import {
158
+ StartFlowExecutionCommandInput,
159
+ StartFlowExecutionCommandOutput,
160
+ } from "./commands/StartFlowExecutionCommand";
161
+ import {
162
+ StopFlowExecutionCommandInput,
163
+ StopFlowExecutionCommandOutput,
164
+ } from "./commands/StopFlowExecutionCommand";
141
165
  import {
142
166
  TagResourceCommandInput,
143
167
  TagResourceCommandOutput,
@@ -165,11 +189,15 @@ export type ServiceInputTypes =
165
189
  | EndSessionCommandInput
166
190
  | GenerateQueryCommandInput
167
191
  | GetAgentMemoryCommandInput
192
+ | GetExecutionFlowSnapshotCommandInput
193
+ | GetFlowExecutionCommandInput
168
194
  | GetInvocationStepCommandInput
169
195
  | GetSessionCommandInput
170
196
  | InvokeAgentCommandInput
171
197
  | InvokeFlowCommandInput
172
198
  | InvokeInlineAgentCommandInput
199
+ | ListFlowExecutionEventsCommandInput
200
+ | ListFlowExecutionsCommandInput
173
201
  | ListInvocationStepsCommandInput
174
202
  | ListInvocationsCommandInput
175
203
  | ListSessionsCommandInput
@@ -180,6 +208,8 @@ export type ServiceInputTypes =
180
208
  | RetrieveAndGenerateCommandInput
181
209
  | RetrieveAndGenerateStreamCommandInput
182
210
  | RetrieveCommandInput
211
+ | StartFlowExecutionCommandInput
212
+ | StopFlowExecutionCommandInput
183
213
  | TagResourceCommandInput
184
214
  | UntagResourceCommandInput
185
215
  | UpdateSessionCommandInput;
@@ -191,11 +221,15 @@ export type ServiceOutputTypes =
191
221
  | EndSessionCommandOutput
192
222
  | GenerateQueryCommandOutput
193
223
  | GetAgentMemoryCommandOutput
224
+ | GetExecutionFlowSnapshotCommandOutput
225
+ | GetFlowExecutionCommandOutput
194
226
  | GetInvocationStepCommandOutput
195
227
  | GetSessionCommandOutput
196
228
  | InvokeAgentCommandOutput
197
229
  | InvokeFlowCommandOutput
198
230
  | InvokeInlineAgentCommandOutput
231
+ | ListFlowExecutionEventsCommandOutput
232
+ | ListFlowExecutionsCommandOutput
199
233
  | ListInvocationStepsCommandOutput
200
234
  | ListInvocationsCommandOutput
201
235
  | ListSessionsCommandOutput
@@ -206,6 +240,8 @@ export type ServiceOutputTypes =
206
240
  | RetrieveAndGenerateCommandOutput
207
241
  | RetrieveAndGenerateStreamCommandOutput
208
242
  | RetrieveCommandOutput
243
+ | StartFlowExecutionCommandOutput
244
+ | StopFlowExecutionCommandOutput
209
245
  | TagResourceCommandOutput
210
246
  | UntagResourceCommandOutput
211
247
  | UpdateSessionCommandOutput;
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CreateInvocationRequest,
10
10
  CreateInvocationResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface CreateInvocationCommandInput extends CreateInvocationRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  CreateSessionRequest,
10
10
  CreateSessionResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface CreateSessionCommandInput extends CreateSessionRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteSessionRequest,
10
10
  DeleteSessionResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteSessionCommandInput extends DeleteSessionRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { EndSessionRequest, EndSessionResponse } from "../models/models_0";
8
+ import { EndSessionRequest, EndSessionResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface EndSessionCommandInput extends EndSessionRequest {}
@@ -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
+ GetExecutionFlowSnapshotRequest,
10
+ GetExecutionFlowSnapshotResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetExecutionFlowSnapshotCommandInput
15
+ extends GetExecutionFlowSnapshotRequest {}
16
+ export interface GetExecutionFlowSnapshotCommandOutput
17
+ extends GetExecutionFlowSnapshotResponse,
18
+ __MetadataBearer {}
19
+ declare const GetExecutionFlowSnapshotCommand_base: {
20
+ new (
21
+ input: GetExecutionFlowSnapshotCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetExecutionFlowSnapshotCommandInput,
24
+ GetExecutionFlowSnapshotCommandOutput,
25
+ BedrockAgentRuntimeClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetExecutionFlowSnapshotCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetExecutionFlowSnapshotCommandInput,
33
+ GetExecutionFlowSnapshotCommandOutput,
34
+ BedrockAgentRuntimeClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetExecutionFlowSnapshotCommand extends GetExecutionFlowSnapshotCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetExecutionFlowSnapshotRequest;
44
+ output: GetExecutionFlowSnapshotResponse;
45
+ };
46
+ sdk: {
47
+ input: GetExecutionFlowSnapshotCommandInput;
48
+ output: GetExecutionFlowSnapshotCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
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
+ GetFlowExecutionRequest,
10
+ GetFlowExecutionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetFlowExecutionCommandInput extends GetFlowExecutionRequest {}
15
+ export interface GetFlowExecutionCommandOutput
16
+ extends GetFlowExecutionResponse,
17
+ __MetadataBearer {}
18
+ declare const GetFlowExecutionCommand_base: {
19
+ new (
20
+ input: GetFlowExecutionCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetFlowExecutionCommandInput,
23
+ GetFlowExecutionCommandOutput,
24
+ BedrockAgentRuntimeClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: GetFlowExecutionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetFlowExecutionCommandInput,
32
+ GetFlowExecutionCommandOutput,
33
+ BedrockAgentRuntimeClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetFlowExecutionCommand extends GetFlowExecutionCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetFlowExecutionRequest;
43
+ output: GetFlowExecutionResponse;
44
+ };
45
+ sdk: {
46
+ input: GetFlowExecutionCommandInput;
47
+ output: GetFlowExecutionCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetInvocationStepRequest,
10
10
  GetInvocationStepResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetInvocationStepCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
8
+ import { GetSessionRequest, GetSessionResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface GetSessionCommandInput extends GetSessionRequest {}
@@ -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
+ ListFlowExecutionEventsRequest,
10
+ ListFlowExecutionEventsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListFlowExecutionEventsCommandInput
15
+ extends ListFlowExecutionEventsRequest {}
16
+ export interface ListFlowExecutionEventsCommandOutput
17
+ extends ListFlowExecutionEventsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListFlowExecutionEventsCommand_base: {
20
+ new (
21
+ input: ListFlowExecutionEventsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListFlowExecutionEventsCommandInput,
24
+ ListFlowExecutionEventsCommandOutput,
25
+ BedrockAgentRuntimeClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListFlowExecutionEventsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListFlowExecutionEventsCommandInput,
33
+ ListFlowExecutionEventsCommandOutput,
34
+ BedrockAgentRuntimeClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListFlowExecutionEventsCommand extends ListFlowExecutionEventsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListFlowExecutionEventsRequest;
44
+ output: ListFlowExecutionEventsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListFlowExecutionEventsCommandInput;
48
+ output: ListFlowExecutionEventsCommandOutput;
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
+ ListFlowExecutionsRequest,
10
+ ListFlowExecutionsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListFlowExecutionsCommandInput
15
+ extends ListFlowExecutionsRequest {}
16
+ export interface ListFlowExecutionsCommandOutput
17
+ extends ListFlowExecutionsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListFlowExecutionsCommand_base: {
20
+ new (
21
+ input: ListFlowExecutionsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListFlowExecutionsCommandInput,
24
+ ListFlowExecutionsCommandOutput,
25
+ BedrockAgentRuntimeClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListFlowExecutionsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListFlowExecutionsCommandInput,
33
+ ListFlowExecutionsCommandOutput,
34
+ BedrockAgentRuntimeClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListFlowExecutionsCommand extends ListFlowExecutionsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListFlowExecutionsRequest;
44
+ output: ListFlowExecutionsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListFlowExecutionsCommandInput;
48
+ output: ListFlowExecutionsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListInvocationStepsRequest,
10
10
  ListInvocationStepsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListInvocationStepsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListInvocationsRequest,
10
10
  ListInvocationsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListInvocationsCommandInput extends ListInvocationsRequest {}
@@ -5,8 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { ListSessionsRequest } from "../models/models_0";
9
- import { ListSessionsResponse } from "../models/models_1";
8
+ import { ListSessionsRequest, ListSessionsResponse } from "../models/models_1";
10
9
  export { __MetadataBearer };
11
10
  export { $Command };
12
11
  export interface ListSessionsCommandInput extends ListSessionsRequest {}