@aws-sdk/client-bedrock-agent-runtime 3.812.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 +1 -1
@@ -1,32 +1,490 @@
1
+ import { DocumentType as __DocumentType } from "@smithy/types";
1
2
  import {
3
+ AccessDeniedException,
2
4
  AgentActionGroup,
3
5
  AgentCollaboration,
6
+ BadGatewayException,
4
7
  BedrockModelConfigurations,
8
+ CitationEvent,
5
9
  CollaboratorConfiguration,
10
+ ConflictException,
6
11
  ConversationHistory,
7
12
  CustomOrchestration,
13
+ DependencyFailedException,
8
14
  ExternalSourcesRetrieveAndGenerateConfiguration,
9
15
  FilterAttribute,
10
16
  GenerationConfiguration,
17
+ GuadrailAction,
11
18
  GuardrailConfiguration,
12
19
  GuardrailConfigurationWithArn,
20
+ GuardrailEvent,
13
21
  ImplicitFilterConfiguration,
14
22
  InlineBedrockModelConfigurations,
15
23
  InlineSessionState,
16
24
  InputFile,
25
+ InternalServerException,
17
26
  InvocationResultMember,
18
- KnowledgeBaseQuery,
19
27
  OrchestrationConfiguration,
20
28
  OrchestrationType,
21
29
  PromptOverrideConfiguration,
30
+ ResourceNotFoundException,
31
+ RetrievalResultContent,
32
+ RetrievalResultLocation,
22
33
  RetrieveAndGenerateInput,
34
+ RetrieveAndGenerateOutputEvent,
23
35
  RetrieveAndGenerateSessionConfiguration,
24
36
  RetrieveAndGenerateType,
25
37
  SearchType,
26
- SessionStatus,
38
+ ServiceQuotaExceededException,
27
39
  StreamingConfigurations,
40
+ ThrottlingException,
41
+ ValidationException,
28
42
  VectorSearchRerankingConfiguration,
29
43
  } from "./models_0";
44
+ export type RetrieveAndGenerateStreamResponseOutput =
45
+ | RetrieveAndGenerateStreamResponseOutput.AccessDeniedExceptionMember
46
+ | RetrieveAndGenerateStreamResponseOutput.BadGatewayExceptionMember
47
+ | RetrieveAndGenerateStreamResponseOutput.CitationMember
48
+ | RetrieveAndGenerateStreamResponseOutput.ConflictExceptionMember
49
+ | RetrieveAndGenerateStreamResponseOutput.DependencyFailedExceptionMember
50
+ | RetrieveAndGenerateStreamResponseOutput.GuardrailMember
51
+ | RetrieveAndGenerateStreamResponseOutput.InternalServerExceptionMember
52
+ | RetrieveAndGenerateStreamResponseOutput.OutputMember
53
+ | RetrieveAndGenerateStreamResponseOutput.ResourceNotFoundExceptionMember
54
+ | RetrieveAndGenerateStreamResponseOutput.ServiceQuotaExceededExceptionMember
55
+ | RetrieveAndGenerateStreamResponseOutput.ThrottlingExceptionMember
56
+ | RetrieveAndGenerateStreamResponseOutput.ValidationExceptionMember
57
+ | RetrieveAndGenerateStreamResponseOutput.$UnknownMember;
58
+ export declare namespace RetrieveAndGenerateStreamResponseOutput {
59
+ interface OutputMember {
60
+ output: RetrieveAndGenerateOutputEvent;
61
+ citation?: never;
62
+ guardrail?: never;
63
+ internalServerException?: never;
64
+ validationException?: never;
65
+ resourceNotFoundException?: never;
66
+ serviceQuotaExceededException?: never;
67
+ throttlingException?: never;
68
+ accessDeniedException?: never;
69
+ conflictException?: never;
70
+ dependencyFailedException?: never;
71
+ badGatewayException?: never;
72
+ $unknown?: never;
73
+ }
74
+ interface CitationMember {
75
+ output?: never;
76
+ citation: CitationEvent;
77
+ guardrail?: never;
78
+ internalServerException?: never;
79
+ validationException?: never;
80
+ resourceNotFoundException?: never;
81
+ serviceQuotaExceededException?: never;
82
+ throttlingException?: never;
83
+ accessDeniedException?: never;
84
+ conflictException?: never;
85
+ dependencyFailedException?: never;
86
+ badGatewayException?: never;
87
+ $unknown?: never;
88
+ }
89
+ interface GuardrailMember {
90
+ output?: never;
91
+ citation?: never;
92
+ guardrail: GuardrailEvent;
93
+ internalServerException?: never;
94
+ validationException?: never;
95
+ resourceNotFoundException?: never;
96
+ serviceQuotaExceededException?: never;
97
+ throttlingException?: never;
98
+ accessDeniedException?: never;
99
+ conflictException?: never;
100
+ dependencyFailedException?: never;
101
+ badGatewayException?: never;
102
+ $unknown?: never;
103
+ }
104
+ interface InternalServerExceptionMember {
105
+ output?: never;
106
+ citation?: never;
107
+ guardrail?: never;
108
+ internalServerException: InternalServerException;
109
+ validationException?: never;
110
+ resourceNotFoundException?: never;
111
+ serviceQuotaExceededException?: never;
112
+ throttlingException?: never;
113
+ accessDeniedException?: never;
114
+ conflictException?: never;
115
+ dependencyFailedException?: never;
116
+ badGatewayException?: never;
117
+ $unknown?: never;
118
+ }
119
+ interface ValidationExceptionMember {
120
+ output?: never;
121
+ citation?: never;
122
+ guardrail?: never;
123
+ internalServerException?: never;
124
+ validationException: ValidationException;
125
+ resourceNotFoundException?: never;
126
+ serviceQuotaExceededException?: never;
127
+ throttlingException?: never;
128
+ accessDeniedException?: never;
129
+ conflictException?: never;
130
+ dependencyFailedException?: never;
131
+ badGatewayException?: never;
132
+ $unknown?: never;
133
+ }
134
+ interface ResourceNotFoundExceptionMember {
135
+ output?: never;
136
+ citation?: never;
137
+ guardrail?: never;
138
+ internalServerException?: never;
139
+ validationException?: never;
140
+ resourceNotFoundException: ResourceNotFoundException;
141
+ serviceQuotaExceededException?: never;
142
+ throttlingException?: never;
143
+ accessDeniedException?: never;
144
+ conflictException?: never;
145
+ dependencyFailedException?: never;
146
+ badGatewayException?: never;
147
+ $unknown?: never;
148
+ }
149
+ interface ServiceQuotaExceededExceptionMember {
150
+ output?: never;
151
+ citation?: never;
152
+ guardrail?: never;
153
+ internalServerException?: never;
154
+ validationException?: never;
155
+ resourceNotFoundException?: never;
156
+ serviceQuotaExceededException: ServiceQuotaExceededException;
157
+ throttlingException?: never;
158
+ accessDeniedException?: never;
159
+ conflictException?: never;
160
+ dependencyFailedException?: never;
161
+ badGatewayException?: never;
162
+ $unknown?: never;
163
+ }
164
+ interface ThrottlingExceptionMember {
165
+ output?: never;
166
+ citation?: never;
167
+ guardrail?: never;
168
+ internalServerException?: never;
169
+ validationException?: never;
170
+ resourceNotFoundException?: never;
171
+ serviceQuotaExceededException?: never;
172
+ throttlingException: ThrottlingException;
173
+ accessDeniedException?: never;
174
+ conflictException?: never;
175
+ dependencyFailedException?: never;
176
+ badGatewayException?: never;
177
+ $unknown?: never;
178
+ }
179
+ interface AccessDeniedExceptionMember {
180
+ output?: never;
181
+ citation?: never;
182
+ guardrail?: never;
183
+ internalServerException?: never;
184
+ validationException?: never;
185
+ resourceNotFoundException?: never;
186
+ serviceQuotaExceededException?: never;
187
+ throttlingException?: never;
188
+ accessDeniedException: AccessDeniedException;
189
+ conflictException?: never;
190
+ dependencyFailedException?: never;
191
+ badGatewayException?: never;
192
+ $unknown?: never;
193
+ }
194
+ interface ConflictExceptionMember {
195
+ output?: never;
196
+ citation?: never;
197
+ guardrail?: never;
198
+ internalServerException?: never;
199
+ validationException?: never;
200
+ resourceNotFoundException?: never;
201
+ serviceQuotaExceededException?: never;
202
+ throttlingException?: never;
203
+ accessDeniedException?: never;
204
+ conflictException: ConflictException;
205
+ dependencyFailedException?: never;
206
+ badGatewayException?: never;
207
+ $unknown?: never;
208
+ }
209
+ interface DependencyFailedExceptionMember {
210
+ output?: never;
211
+ citation?: never;
212
+ guardrail?: never;
213
+ internalServerException?: never;
214
+ validationException?: never;
215
+ resourceNotFoundException?: never;
216
+ serviceQuotaExceededException?: never;
217
+ throttlingException?: never;
218
+ accessDeniedException?: never;
219
+ conflictException?: never;
220
+ dependencyFailedException: DependencyFailedException;
221
+ badGatewayException?: never;
222
+ $unknown?: never;
223
+ }
224
+ interface BadGatewayExceptionMember {
225
+ output?: never;
226
+ citation?: never;
227
+ guardrail?: never;
228
+ internalServerException?: never;
229
+ validationException?: never;
230
+ resourceNotFoundException?: never;
231
+ serviceQuotaExceededException?: never;
232
+ throttlingException?: never;
233
+ accessDeniedException?: never;
234
+ conflictException?: never;
235
+ dependencyFailedException?: never;
236
+ badGatewayException: BadGatewayException;
237
+ $unknown?: never;
238
+ }
239
+ interface $UnknownMember {
240
+ output?: never;
241
+ citation?: never;
242
+ guardrail?: never;
243
+ internalServerException?: never;
244
+ validationException?: never;
245
+ resourceNotFoundException?: never;
246
+ serviceQuotaExceededException?: never;
247
+ throttlingException?: never;
248
+ accessDeniedException?: never;
249
+ conflictException?: never;
250
+ dependencyFailedException?: never;
251
+ badGatewayException?: never;
252
+ $unknown: [string, any];
253
+ }
254
+ interface Visitor<T> {
255
+ output: (value: RetrieveAndGenerateOutputEvent) => T;
256
+ citation: (value: CitationEvent) => T;
257
+ guardrail: (value: GuardrailEvent) => T;
258
+ internalServerException: (value: InternalServerException) => T;
259
+ validationException: (value: ValidationException) => T;
260
+ resourceNotFoundException: (value: ResourceNotFoundException) => T;
261
+ serviceQuotaExceededException: (value: ServiceQuotaExceededException) => T;
262
+ throttlingException: (value: ThrottlingException) => T;
263
+ accessDeniedException: (value: AccessDeniedException) => T;
264
+ conflictException: (value: ConflictException) => T;
265
+ dependencyFailedException: (value: DependencyFailedException) => T;
266
+ badGatewayException: (value: BadGatewayException) => T;
267
+ _: (name: string, value: any) => T;
268
+ }
269
+ const visit: <T>(
270
+ value: RetrieveAndGenerateStreamResponseOutput,
271
+ visitor: Visitor<T>
272
+ ) => T;
273
+ }
274
+ export interface RetrieveAndGenerateStreamResponse {
275
+ stream: AsyncIterable<RetrieveAndGenerateStreamResponseOutput> | undefined;
276
+ sessionId: string | undefined;
277
+ }
278
+ export interface KnowledgeBaseQuery {
279
+ text: string | undefined;
280
+ }
281
+ export interface KnowledgeBaseRetrievalResult {
282
+ content: RetrievalResultContent | undefined;
283
+ location?: RetrievalResultLocation | undefined;
284
+ score?: number | undefined;
285
+ metadata?: Record<string, __DocumentType> | undefined;
286
+ }
287
+ export interface RetrieveResponse {
288
+ retrievalResults: KnowledgeBaseRetrievalResult[] | undefined;
289
+ guardrailAction?: GuadrailAction | undefined;
290
+ nextToken?: string | undefined;
291
+ }
292
+ export interface CreateSessionRequest {
293
+ sessionMetadata?: Record<string, string> | undefined;
294
+ encryptionKeyArn?: string | undefined;
295
+ tags?: Record<string, string> | undefined;
296
+ }
297
+ export declare const SessionStatus: {
298
+ readonly ACTIVE: "ACTIVE";
299
+ readonly ENDED: "ENDED";
300
+ readonly EXPIRED: "EXPIRED";
301
+ };
302
+ export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
303
+ export interface CreateSessionResponse {
304
+ sessionId: string | undefined;
305
+ sessionArn: string | undefined;
306
+ sessionStatus: SessionStatus | undefined;
307
+ createdAt: Date | undefined;
308
+ }
309
+ export interface DeleteSessionRequest {
310
+ sessionIdentifier: string | undefined;
311
+ }
312
+ export interface DeleteSessionResponse {}
313
+ export interface EndSessionRequest {
314
+ sessionIdentifier: string | undefined;
315
+ }
316
+ export interface EndSessionResponse {
317
+ sessionId: string | undefined;
318
+ sessionArn: string | undefined;
319
+ sessionStatus: SessionStatus | undefined;
320
+ }
321
+ export interface GetSessionRequest {
322
+ sessionIdentifier: string | undefined;
323
+ }
324
+ export interface GetSessionResponse {
325
+ sessionId: string | undefined;
326
+ sessionArn: string | undefined;
327
+ sessionStatus: SessionStatus | undefined;
328
+ createdAt: Date | undefined;
329
+ lastUpdatedAt: Date | undefined;
330
+ sessionMetadata?: Record<string, string> | undefined;
331
+ encryptionKeyArn?: string | undefined;
332
+ }
333
+ export interface CreateInvocationRequest {
334
+ invocationId?: string | undefined;
335
+ description?: string | undefined;
336
+ sessionIdentifier: string | undefined;
337
+ }
338
+ export interface CreateInvocationResponse {
339
+ sessionId: string | undefined;
340
+ invocationId: string | undefined;
341
+ createdAt: Date | undefined;
342
+ }
343
+ export interface ListInvocationsRequest {
344
+ nextToken?: string | undefined;
345
+ maxResults?: number | undefined;
346
+ sessionIdentifier: string | undefined;
347
+ }
348
+ export interface InvocationSummary {
349
+ sessionId: string | undefined;
350
+ invocationId: string | undefined;
351
+ createdAt: Date | undefined;
352
+ }
353
+ export interface ListInvocationsResponse {
354
+ invocationSummaries: InvocationSummary[] | undefined;
355
+ nextToken?: string | undefined;
356
+ }
357
+ export interface GetInvocationStepRequest {
358
+ invocationIdentifier: string | undefined;
359
+ invocationStepId: string | undefined;
360
+ sessionIdentifier: string | undefined;
361
+ }
362
+ export declare const ImageFormat: {
363
+ readonly GIF: "gif";
364
+ readonly JPEG: "jpeg";
365
+ readonly PNG: "png";
366
+ readonly WEBP: "webp";
367
+ };
368
+ export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
369
+ export interface S3Location {
370
+ uri: string | undefined;
371
+ }
372
+ export type ImageSource =
373
+ | ImageSource.BytesMember
374
+ | ImageSource.S3LocationMember
375
+ | ImageSource.$UnknownMember;
376
+ export declare namespace ImageSource {
377
+ interface BytesMember {
378
+ bytes: Uint8Array;
379
+ s3Location?: never;
380
+ $unknown?: never;
381
+ }
382
+ interface S3LocationMember {
383
+ bytes?: never;
384
+ s3Location: S3Location;
385
+ $unknown?: never;
386
+ }
387
+ interface $UnknownMember {
388
+ bytes?: never;
389
+ s3Location?: never;
390
+ $unknown: [string, any];
391
+ }
392
+ interface Visitor<T> {
393
+ bytes: (value: Uint8Array) => T;
394
+ s3Location: (value: S3Location) => T;
395
+ _: (name: string, value: any) => T;
396
+ }
397
+ const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
398
+ }
399
+ export interface ImageBlock {
400
+ format: ImageFormat | undefined;
401
+ source: ImageSource | undefined;
402
+ }
403
+ export type BedrockSessionContentBlock =
404
+ | BedrockSessionContentBlock.ImageMember
405
+ | BedrockSessionContentBlock.TextMember
406
+ | BedrockSessionContentBlock.$UnknownMember;
407
+ export declare namespace BedrockSessionContentBlock {
408
+ interface TextMember {
409
+ text: string;
410
+ image?: never;
411
+ $unknown?: never;
412
+ }
413
+ interface ImageMember {
414
+ text?: never;
415
+ image: ImageBlock;
416
+ $unknown?: never;
417
+ }
418
+ interface $UnknownMember {
419
+ text?: never;
420
+ image?: never;
421
+ $unknown: [string, any];
422
+ }
423
+ interface Visitor<T> {
424
+ text: (value: string) => T;
425
+ image: (value: ImageBlock) => T;
426
+ _: (name: string, value: any) => T;
427
+ }
428
+ const visit: <T>(value: BedrockSessionContentBlock, visitor: Visitor<T>) => T;
429
+ }
430
+ export type InvocationStepPayload =
431
+ | InvocationStepPayload.ContentBlocksMember
432
+ | InvocationStepPayload.$UnknownMember;
433
+ export declare namespace InvocationStepPayload {
434
+ interface ContentBlocksMember {
435
+ contentBlocks: BedrockSessionContentBlock[];
436
+ $unknown?: never;
437
+ }
438
+ interface $UnknownMember {
439
+ contentBlocks?: never;
440
+ $unknown: [string, any];
441
+ }
442
+ interface Visitor<T> {
443
+ contentBlocks: (value: BedrockSessionContentBlock[]) => T;
444
+ _: (name: string, value: any) => T;
445
+ }
446
+ const visit: <T>(value: InvocationStepPayload, visitor: Visitor<T>) => T;
447
+ }
448
+ export interface InvocationStep {
449
+ sessionId: string | undefined;
450
+ invocationId: string | undefined;
451
+ invocationStepId: string | undefined;
452
+ invocationStepTime: Date | undefined;
453
+ payload: InvocationStepPayload | undefined;
454
+ }
455
+ export interface GetInvocationStepResponse {
456
+ invocationStep: InvocationStep | undefined;
457
+ }
458
+ export interface ListInvocationStepsRequest {
459
+ invocationIdentifier?: string | undefined;
460
+ nextToken?: string | undefined;
461
+ maxResults?: number | undefined;
462
+ sessionIdentifier: string | undefined;
463
+ }
464
+ export interface InvocationStepSummary {
465
+ sessionId: string | undefined;
466
+ invocationId: string | undefined;
467
+ invocationStepId: string | undefined;
468
+ invocationStepTime: Date | undefined;
469
+ }
470
+ export interface ListInvocationStepsResponse {
471
+ invocationStepSummaries: InvocationStepSummary[] | undefined;
472
+ nextToken?: string | undefined;
473
+ }
474
+ export interface PutInvocationStepRequest {
475
+ sessionIdentifier: string | undefined;
476
+ invocationIdentifier: string | undefined;
477
+ invocationStepTime: Date | undefined;
478
+ payload: InvocationStepPayload | undefined;
479
+ invocationStepId?: string | undefined;
480
+ }
481
+ export interface PutInvocationStepResponse {
482
+ invocationStepId: string | undefined;
483
+ }
484
+ export interface ListSessionsRequest {
485
+ maxResults?: number | undefined;
486
+ nextToken?: string | undefined;
487
+ }
30
488
  export interface SessionSummary {
31
489
  sessionId: string | undefined;
32
490
  sessionArn: string | undefined;
@@ -439,6 +897,36 @@ export interface InvokeInlineAgentRequest {
439
897
  orchestrationType?: OrchestrationType | undefined;
440
898
  customOrchestration?: CustomOrchestration | undefined;
441
899
  }
900
+ export declare const RetrieveAndGenerateStreamResponseOutputFilterSensitiveLog: (
901
+ obj: RetrieveAndGenerateStreamResponseOutput
902
+ ) => any;
903
+ export declare const RetrieveAndGenerateStreamResponseFilterSensitiveLog: (
904
+ obj: RetrieveAndGenerateStreamResponse
905
+ ) => any;
906
+ export declare const KnowledgeBaseQueryFilterSensitiveLog: (
907
+ obj: KnowledgeBaseQuery
908
+ ) => any;
909
+ export declare const KnowledgeBaseRetrievalResultFilterSensitiveLog: (
910
+ obj: KnowledgeBaseRetrievalResult
911
+ ) => any;
912
+ export declare const RetrieveResponseFilterSensitiveLog: (
913
+ obj: RetrieveResponse
914
+ ) => any;
915
+ export declare const BedrockSessionContentBlockFilterSensitiveLog: (
916
+ obj: BedrockSessionContentBlock
917
+ ) => any;
918
+ export declare const InvocationStepPayloadFilterSensitiveLog: (
919
+ obj: InvocationStepPayload
920
+ ) => any;
921
+ export declare const InvocationStepFilterSensitiveLog: (
922
+ obj: InvocationStep
923
+ ) => any;
924
+ export declare const GetInvocationStepResponseFilterSensitiveLog: (
925
+ obj: GetInvocationStepResponse
926
+ ) => any;
927
+ export declare const PutInvocationStepRequestFilterSensitiveLog: (
928
+ obj: PutInvocationStepRequest
929
+ ) => any;
442
930
  export declare const RetrievalFilterFilterSensitiveLog: (
443
931
  obj: RetrievalFilter
444
932
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListFlowExecutionEventsCommandInput,
4
+ ListFlowExecutionEventsCommandOutput,
5
+ } from "../commands/ListFlowExecutionEventsCommand";
6
+ import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListFlowExecutionEvents: (
8
+ config: BedrockAgentRuntimePaginationConfiguration,
9
+ input: ListFlowExecutionEventsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListFlowExecutionEventsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListFlowExecutionsCommandInput,
4
+ ListFlowExecutionsCommandOutput,
5
+ } from "../commands/ListFlowExecutionsCommand";
6
+ import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListFlowExecutions: (
8
+ config: BedrockAgentRuntimePaginationConfiguration,
9
+ input: ListFlowExecutionsCommandInput,
10
+ ...rest: any[]
11
+ ) => 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";
@@ -34,6 +34,14 @@ import {
34
34
  GetAgentMemoryCommandInput,
35
35
  GetAgentMemoryCommandOutput,
36
36
  } from "../commands/GetAgentMemoryCommand";
37
+ import {
38
+ GetExecutionFlowSnapshotCommandInput,
39
+ GetExecutionFlowSnapshotCommandOutput,
40
+ } from "../commands/GetExecutionFlowSnapshotCommand";
41
+ import {
42
+ GetFlowExecutionCommandInput,
43
+ GetFlowExecutionCommandOutput,
44
+ } from "../commands/GetFlowExecutionCommand";
37
45
  import {
38
46
  GetInvocationStepCommandInput,
39
47
  GetInvocationStepCommandOutput,
@@ -54,6 +62,14 @@ import {
54
62
  InvokeInlineAgentCommandInput,
55
63
  InvokeInlineAgentCommandOutput,
56
64
  } from "../commands/InvokeInlineAgentCommand";
65
+ import {
66
+ ListFlowExecutionEventsCommandInput,
67
+ ListFlowExecutionEventsCommandOutput,
68
+ } from "../commands/ListFlowExecutionEventsCommand";
69
+ import {
70
+ ListFlowExecutionsCommandInput,
71
+ ListFlowExecutionsCommandOutput,
72
+ } from "../commands/ListFlowExecutionsCommand";
57
73
  import {
58
74
  ListInvocationsCommandInput,
59
75
  ListInvocationsCommandOutput,
@@ -94,6 +110,14 @@ import {
94
110
  RetrieveCommandInput,
95
111
  RetrieveCommandOutput,
96
112
  } from "../commands/RetrieveCommand";
113
+ import {
114
+ StartFlowExecutionCommandInput,
115
+ StartFlowExecutionCommandOutput,
116
+ } from "../commands/StartFlowExecutionCommand";
117
+ import {
118
+ StopFlowExecutionCommandInput,
119
+ StopFlowExecutionCommandOutput,
120
+ } from "../commands/StopFlowExecutionCommand";
97
121
  import {
98
122
  TagResourceCommandInput,
99
123
  TagResourceCommandOutput,
@@ -134,6 +158,14 @@ export declare const se_GetAgentMemoryCommand: (
134
158
  input: GetAgentMemoryCommandInput,
135
159
  context: __SerdeContext
136
160
  ) => Promise<__HttpRequest>;
161
+ export declare const se_GetExecutionFlowSnapshotCommand: (
162
+ input: GetExecutionFlowSnapshotCommandInput,
163
+ context: __SerdeContext
164
+ ) => Promise<__HttpRequest>;
165
+ export declare const se_GetFlowExecutionCommand: (
166
+ input: GetFlowExecutionCommandInput,
167
+ context: __SerdeContext
168
+ ) => Promise<__HttpRequest>;
137
169
  export declare const se_GetInvocationStepCommand: (
138
170
  input: GetInvocationStepCommandInput,
139
171
  context: __SerdeContext
@@ -154,6 +186,14 @@ export declare const se_InvokeInlineAgentCommand: (
154
186
  input: InvokeInlineAgentCommandInput,
155
187
  context: __SerdeContext
156
188
  ) => Promise<__HttpRequest>;
189
+ export declare const se_ListFlowExecutionEventsCommand: (
190
+ input: ListFlowExecutionEventsCommandInput,
191
+ context: __SerdeContext
192
+ ) => Promise<__HttpRequest>;
193
+ export declare const se_ListFlowExecutionsCommand: (
194
+ input: ListFlowExecutionsCommandInput,
195
+ context: __SerdeContext
196
+ ) => Promise<__HttpRequest>;
157
197
  export declare const se_ListInvocationsCommand: (
158
198
  input: ListInvocationsCommandInput,
159
199
  context: __SerdeContext
@@ -194,6 +234,14 @@ export declare const se_RetrieveAndGenerateStreamCommand: (
194
234
  input: RetrieveAndGenerateStreamCommandInput,
195
235
  context: __SerdeContext
196
236
  ) => Promise<__HttpRequest>;
237
+ export declare const se_StartFlowExecutionCommand: (
238
+ input: StartFlowExecutionCommandInput,
239
+ context: __SerdeContext
240
+ ) => Promise<__HttpRequest>;
241
+ export declare const se_StopFlowExecutionCommand: (
242
+ input: StopFlowExecutionCommandInput,
243
+ context: __SerdeContext
244
+ ) => Promise<__HttpRequest>;
197
245
  export declare const se_TagResourceCommand: (
198
246
  input: TagResourceCommandInput,
199
247
  context: __SerdeContext
@@ -234,6 +282,14 @@ export declare const de_GetAgentMemoryCommand: (
234
282
  output: __HttpResponse,
235
283
  context: __SerdeContext
236
284
  ) => Promise<GetAgentMemoryCommandOutput>;
285
+ export declare const de_GetExecutionFlowSnapshotCommand: (
286
+ output: __HttpResponse,
287
+ context: __SerdeContext
288
+ ) => Promise<GetExecutionFlowSnapshotCommandOutput>;
289
+ export declare const de_GetFlowExecutionCommand: (
290
+ output: __HttpResponse,
291
+ context: __SerdeContext
292
+ ) => Promise<GetFlowExecutionCommandOutput>;
237
293
  export declare const de_GetInvocationStepCommand: (
238
294
  output: __HttpResponse,
239
295
  context: __SerdeContext
@@ -254,6 +310,14 @@ export declare const de_InvokeInlineAgentCommand: (
254
310
  output: __HttpResponse,
255
311
  context: __SerdeContext & __EventStreamSerdeContext
256
312
  ) => Promise<InvokeInlineAgentCommandOutput>;
313
+ export declare const de_ListFlowExecutionEventsCommand: (
314
+ output: __HttpResponse,
315
+ context: __SerdeContext
316
+ ) => Promise<ListFlowExecutionEventsCommandOutput>;
317
+ export declare const de_ListFlowExecutionsCommand: (
318
+ output: __HttpResponse,
319
+ context: __SerdeContext
320
+ ) => Promise<ListFlowExecutionsCommandOutput>;
257
321
  export declare const de_ListInvocationsCommand: (
258
322
  output: __HttpResponse,
259
323
  context: __SerdeContext
@@ -294,6 +358,14 @@ export declare const de_RetrieveAndGenerateStreamCommand: (
294
358
  output: __HttpResponse,
295
359
  context: __SerdeContext & __EventStreamSerdeContext
296
360
  ) => Promise<RetrieveAndGenerateStreamCommandOutput>;
361
+ export declare const de_StartFlowExecutionCommand: (
362
+ output: __HttpResponse,
363
+ context: __SerdeContext
364
+ ) => Promise<StartFlowExecutionCommandOutput>;
365
+ export declare const de_StopFlowExecutionCommand: (
366
+ output: __HttpResponse,
367
+ context: __SerdeContext
368
+ ) => Promise<StopFlowExecutionCommandOutput>;
297
369
  export declare const de_TagResourceCommand: (
298
370
  output: __HttpResponse,
299
371
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.812.0",
4
+ "version": "3.815.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",