@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
package/dist-cjs/index.js CHANGED
@@ -54,6 +54,7 @@ __export(index_exports, {
54
54
  CodeInterpreterInvocationOutputFilterSensitiveLog: () => CodeInterpreterInvocationOutputFilterSensitiveLog,
55
55
  CollaboratorConfigurationFilterSensitiveLog: () => CollaboratorConfigurationFilterSensitiveLog,
56
56
  CollaboratorFilterSensitiveLog: () => CollaboratorFilterSensitiveLog,
57
+ ConditionResultEventFilterSensitiveLog: () => ConditionResultEventFilterSensitiveLog,
57
58
  ConfirmationState: () => ConfirmationState,
58
59
  ConflictException: () => ConflictException,
59
60
  ContentBlock: () => ContentBlock,
@@ -83,13 +84,26 @@ __export(index_exports, {
83
84
  FinalResponseFilterSensitiveLog: () => FinalResponseFilterSensitiveLog,
84
85
  FlowCompletionEventFilterSensitiveLog: () => FlowCompletionEventFilterSensitiveLog,
85
86
  FlowCompletionReason: () => FlowCompletionReason,
87
+ FlowErrorCode: () => FlowErrorCode,
88
+ FlowExecutionContent: () => FlowExecutionContent,
89
+ FlowExecutionContentFilterSensitiveLog: () => FlowExecutionContentFilterSensitiveLog,
90
+ FlowExecutionErrorType: () => FlowExecutionErrorType,
91
+ FlowExecutionEvent: () => FlowExecutionEvent,
92
+ FlowExecutionEventFilterSensitiveLog: () => FlowExecutionEventFilterSensitiveLog,
93
+ FlowExecutionEventType: () => FlowExecutionEventType,
94
+ FlowExecutionInputEventFilterSensitiveLog: () => FlowExecutionInputEventFilterSensitiveLog,
95
+ FlowExecutionOutputEventFilterSensitiveLog: () => FlowExecutionOutputEventFilterSensitiveLog,
96
+ FlowExecutionStatus: () => FlowExecutionStatus,
97
+ FlowFailureEventFilterSensitiveLog: () => FlowFailureEventFilterSensitiveLog,
86
98
  FlowInputContent: () => FlowInputContent,
87
99
  FlowInputContentFilterSensitiveLog: () => FlowInputContentFilterSensitiveLog,
100
+ FlowInputFieldFilterSensitiveLog: () => FlowInputFieldFilterSensitiveLog,
88
101
  FlowInputFilterSensitiveLog: () => FlowInputFilterSensitiveLog,
89
102
  FlowMultiTurnInputContent: () => FlowMultiTurnInputContent,
90
103
  FlowMultiTurnInputRequestEventFilterSensitiveLog: () => FlowMultiTurnInputRequestEventFilterSensitiveLog,
91
104
  FlowOutputContent: () => FlowOutputContent,
92
105
  FlowOutputEventFilterSensitiveLog: () => FlowOutputEventFilterSensitiveLog,
106
+ FlowOutputFieldFilterSensitiveLog: () => FlowOutputFieldFilterSensitiveLog,
93
107
  FlowResponseStream: () => FlowResponseStream,
94
108
  FlowResponseStreamFilterSensitiveLog: () => FlowResponseStreamFilterSensitiveLog,
95
109
  FlowTrace: () => FlowTrace,
@@ -117,6 +131,8 @@ __export(index_exports, {
117
131
  GeneratedResponsePartFilterSensitiveLog: () => GeneratedResponsePartFilterSensitiveLog,
118
132
  GenerationConfigurationFilterSensitiveLog: () => GenerationConfigurationFilterSensitiveLog,
119
133
  GetAgentMemoryCommand: () => GetAgentMemoryCommand,
134
+ GetExecutionFlowSnapshotCommand: () => GetExecutionFlowSnapshotCommand,
135
+ GetFlowExecutionCommand: () => GetFlowExecutionCommand,
120
136
  GetInvocationStepCommand: () => GetInvocationStepCommand,
121
137
  GetInvocationStepResponseFilterSensitiveLog: () => GetInvocationStepResponseFilterSensitiveLog,
122
138
  GetSessionCommand: () => GetSessionCommand,
@@ -187,6 +203,9 @@ __export(index_exports, {
187
203
  KnowledgeBaseRetrievalResultFilterSensitiveLog: () => KnowledgeBaseRetrievalResultFilterSensitiveLog,
188
204
  KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog: () => KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog,
189
205
  KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog: () => KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog,
206
+ ListFlowExecutionEventsCommand: () => ListFlowExecutionEventsCommand,
207
+ ListFlowExecutionEventsResponseFilterSensitiveLog: () => ListFlowExecutionEventsResponseFilterSensitiveLog,
208
+ ListFlowExecutionsCommand: () => ListFlowExecutionsCommand,
190
209
  ListInvocationStepsCommand: () => ListInvocationStepsCommand,
191
210
  ListInvocationsCommand: () => ListInvocationsCommand,
192
211
  ListSessionsCommand: () => ListSessionsCommand,
@@ -199,6 +218,14 @@ __export(index_exports, {
199
218
  MetadataFilterSensitiveLog: () => MetadataFilterSensitiveLog,
200
219
  ModelInvocationInputFilterSensitiveLog: () => ModelInvocationInputFilterSensitiveLog,
201
220
  ModelNotReadyException: () => ModelNotReadyException,
221
+ NodeErrorCode: () => NodeErrorCode,
222
+ NodeExecutionContent: () => NodeExecutionContent,
223
+ NodeExecutionContentFilterSensitiveLog: () => NodeExecutionContentFilterSensitiveLog,
224
+ NodeFailureEventFilterSensitiveLog: () => NodeFailureEventFilterSensitiveLog,
225
+ NodeInputEventFilterSensitiveLog: () => NodeInputEventFilterSensitiveLog,
226
+ NodeInputFieldFilterSensitiveLog: () => NodeInputFieldFilterSensitiveLog,
227
+ NodeOutputEventFilterSensitiveLog: () => NodeOutputEventFilterSensitiveLog,
228
+ NodeOutputFieldFilterSensitiveLog: () => NodeOutputFieldFilterSensitiveLog,
202
229
  NodeType: () => NodeType,
203
230
  ObservationFilterSensitiveLog: () => ObservationFilterSensitiveLog,
204
231
  OptimizePromptCommand: () => OptimizePromptCommand,
@@ -295,11 +322,15 @@ __export(index_exports, {
295
322
  RoutingClassifierModelInvocationOutputFilterSensitiveLog: () => RoutingClassifierModelInvocationOutputFilterSensitiveLog,
296
323
  RoutingClassifierTrace: () => RoutingClassifierTrace,
297
324
  RoutingClassifierTraceFilterSensitiveLog: () => RoutingClassifierTraceFilterSensitiveLog,
325
+ SatisfiedConditionFilterSensitiveLog: () => SatisfiedConditionFilterSensitiveLog,
298
326
  SearchType: () => SearchType,
299
327
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
300
328
  SessionStateFilterSensitiveLog: () => SessionStateFilterSensitiveLog,
301
329
  SessionStatus: () => SessionStatus,
302
330
  Source: () => Source,
331
+ StartFlowExecutionCommand: () => StartFlowExecutionCommand,
332
+ StartFlowExecutionRequestFilterSensitiveLog: () => StartFlowExecutionRequestFilterSensitiveLog,
333
+ StopFlowExecutionCommand: () => StopFlowExecutionCommand,
303
334
  TagResourceCommand: () => TagResourceCommand,
304
335
  TextPromptFilterSensitiveLog: () => TextPromptFilterSensitiveLog,
305
336
  TextResponsePartFilterSensitiveLog: () => TextResponsePartFilterSensitiveLog,
@@ -318,6 +349,8 @@ __export(index_exports, {
318
349
  VectorSearchRerankingConfigurationType: () => VectorSearchRerankingConfigurationType,
319
350
  __Client: () => import_smithy_client.Client,
320
351
  paginateGetAgentMemory: () => paginateGetAgentMemory,
352
+ paginateListFlowExecutionEvents: () => paginateListFlowExecutionEvents,
353
+ paginateListFlowExecutions: () => paginateListFlowExecutions,
321
354
  paginateListInvocationSteps: () => paginateListInvocationSteps,
322
355
  paginateListInvocations: () => paginateListInvocations,
323
356
  paginateListSessions: () => paginateListSessions,
@@ -617,6 +650,136 @@ var InvocationInputMember;
617
650
  return visitor._(value.$unknown[0], value.$unknown[1]);
618
651
  }, "visit");
619
652
  })(InvocationInputMember || (InvocationInputMember = {}));
653
+ var InternalServerException = class _InternalServerException extends BedrockAgentRuntimeServiceException {
654
+ static {
655
+ __name(this, "InternalServerException");
656
+ }
657
+ name = "InternalServerException";
658
+ $fault = "server";
659
+ /**
660
+ * <p>The reason for the exception. If the reason is <code>BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE</code>, the model invocation service is unavailable. Retry your request.</p>
661
+ * @public
662
+ */
663
+ reason;
664
+ /**
665
+ * @internal
666
+ */
667
+ constructor(opts) {
668
+ super({
669
+ name: "InternalServerException",
670
+ $fault: "server",
671
+ ...opts
672
+ });
673
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
674
+ this.reason = opts.reason;
675
+ }
676
+ };
677
+ var ResourceNotFoundException = class _ResourceNotFoundException extends BedrockAgentRuntimeServiceException {
678
+ static {
679
+ __name(this, "ResourceNotFoundException");
680
+ }
681
+ name = "ResourceNotFoundException";
682
+ $fault = "client";
683
+ /**
684
+ * @internal
685
+ */
686
+ constructor(opts) {
687
+ super({
688
+ name: "ResourceNotFoundException",
689
+ $fault: "client",
690
+ ...opts
691
+ });
692
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
693
+ }
694
+ };
695
+ var ThrottlingException = class _ThrottlingException extends BedrockAgentRuntimeServiceException {
696
+ static {
697
+ __name(this, "ThrottlingException");
698
+ }
699
+ name = "ThrottlingException";
700
+ $fault = "client";
701
+ /**
702
+ * @internal
703
+ */
704
+ constructor(opts) {
705
+ super({
706
+ name: "ThrottlingException",
707
+ $fault: "client",
708
+ ...opts
709
+ });
710
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
711
+ }
712
+ };
713
+ var ValidationException = class _ValidationException extends BedrockAgentRuntimeServiceException {
714
+ static {
715
+ __name(this, "ValidationException");
716
+ }
717
+ name = "ValidationException";
718
+ $fault = "client";
719
+ /**
720
+ * @internal
721
+ */
722
+ constructor(opts) {
723
+ super({
724
+ name: "ValidationException",
725
+ $fault: "client",
726
+ ...opts
727
+ });
728
+ Object.setPrototypeOf(this, _ValidationException.prototype);
729
+ }
730
+ };
731
+ var FlowExecutionErrorType = {
732
+ TIMED_OUT: "ExecutionTimedOut"
733
+ };
734
+ var FlowExecutionStatus = {
735
+ ABORTED: "Aborted",
736
+ FAILED: "Failed",
737
+ RUNNING: "Running",
738
+ SUCCEEDED: "Succeeded",
739
+ TIMED_OUT: "TimedOut"
740
+ };
741
+ var FlowExecutionEventType = {
742
+ FLOW: "Flow",
743
+ NODE: "Node"
744
+ };
745
+ var FlowErrorCode = {
746
+ INTERNAL_SERVER: "INTERNAL_SERVER",
747
+ NODE_EXECUTION_FAILED: "NODE_EXECUTION_FAILED",
748
+ VALIDATION: "VALIDATION"
749
+ };
750
+ var FlowExecutionContent;
751
+ ((FlowExecutionContent3) => {
752
+ FlowExecutionContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
753
+ if (value.document !== void 0) return visitor.document(value.document);
754
+ return visitor._(value.$unknown[0], value.$unknown[1]);
755
+ }, "visit");
756
+ })(FlowExecutionContent || (FlowExecutionContent = {}));
757
+ var NodeErrorCode = {
758
+ BAD_GATEWAY: "BAD_GATEWAY",
759
+ DEPENDENCY_FAILED: "DEPENDENCY_FAILED",
760
+ INTERNAL_SERVER: "INTERNAL_SERVER",
761
+ VALIDATION: "VALIDATION"
762
+ };
763
+ var NodeExecutionContent;
764
+ ((NodeExecutionContent3) => {
765
+ NodeExecutionContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
766
+ if (value.document !== void 0) return visitor.document(value.document);
767
+ return visitor._(value.$unknown[0], value.$unknown[1]);
768
+ }, "visit");
769
+ })(NodeExecutionContent || (NodeExecutionContent = {}));
770
+ var FlowExecutionEvent;
771
+ ((FlowExecutionEvent3) => {
772
+ FlowExecutionEvent3.visit = /* @__PURE__ */ __name((value, visitor) => {
773
+ if (value.flowInputEvent !== void 0) return visitor.flowInputEvent(value.flowInputEvent);
774
+ if (value.flowOutputEvent !== void 0) return visitor.flowOutputEvent(value.flowOutputEvent);
775
+ if (value.nodeInputEvent !== void 0) return visitor.nodeInputEvent(value.nodeInputEvent);
776
+ if (value.nodeOutputEvent !== void 0) return visitor.nodeOutputEvent(value.nodeOutputEvent);
777
+ if (value.conditionResultEvent !== void 0) return visitor.conditionResultEvent(value.conditionResultEvent);
778
+ if (value.nodeFailureEvent !== void 0) return visitor.nodeFailureEvent(value.nodeFailureEvent);
779
+ if (value.flowFailureEvent !== void 0) return visitor.flowFailureEvent(value.flowFailureEvent);
780
+ return visitor._(value.$unknown[0], value.$unknown[1]);
781
+ }, "visit");
782
+ })(FlowExecutionEvent || (FlowExecutionEvent = {}));
620
783
  var BadGatewayException = class _BadGatewayException extends BedrockAgentRuntimeServiceException {
621
784
  static {
622
785
  __name(this, "BadGatewayException");
@@ -683,28 +846,22 @@ var DependencyFailedException = class _DependencyFailedException extends Bedrock
683
846
  this.resourceName = opts.resourceName;
684
847
  }
685
848
  };
686
- var InternalServerException = class _InternalServerException extends BedrockAgentRuntimeServiceException {
849
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockAgentRuntimeServiceException {
687
850
  static {
688
- __name(this, "InternalServerException");
851
+ __name(this, "ServiceQuotaExceededException");
689
852
  }
690
- name = "InternalServerException";
691
- $fault = "server";
692
- /**
693
- * <p>The reason for the exception. If the reason is <code>BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE</code>, the model invocation service is unavailable. Retry your request.</p>
694
- * @public
695
- */
696
- reason;
853
+ name = "ServiceQuotaExceededException";
854
+ $fault = "client";
697
855
  /**
698
856
  * @internal
699
857
  */
700
858
  constructor(opts) {
701
859
  super({
702
- name: "InternalServerException",
703
- $fault: "server",
860
+ name: "ServiceQuotaExceededException",
861
+ $fault: "client",
704
862
  ...opts
705
863
  });
706
- Object.setPrototypeOf(this, _InternalServerException.prototype);
707
- this.reason = opts.reason;
864
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
708
865
  }
709
866
  };
710
867
  var FlowInputContent;
@@ -770,78 +927,6 @@ var FlowTrace;
770
927
  return visitor._(value.$unknown[0], value.$unknown[1]);
771
928
  }, "visit");
772
929
  })(FlowTrace || (FlowTrace = {}));
773
- var ResourceNotFoundException = class _ResourceNotFoundException extends BedrockAgentRuntimeServiceException {
774
- static {
775
- __name(this, "ResourceNotFoundException");
776
- }
777
- name = "ResourceNotFoundException";
778
- $fault = "client";
779
- /**
780
- * @internal
781
- */
782
- constructor(opts) {
783
- super({
784
- name: "ResourceNotFoundException",
785
- $fault: "client",
786
- ...opts
787
- });
788
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
789
- }
790
- };
791
- var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockAgentRuntimeServiceException {
792
- static {
793
- __name(this, "ServiceQuotaExceededException");
794
- }
795
- name = "ServiceQuotaExceededException";
796
- $fault = "client";
797
- /**
798
- * @internal
799
- */
800
- constructor(opts) {
801
- super({
802
- name: "ServiceQuotaExceededException",
803
- $fault: "client",
804
- ...opts
805
- });
806
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
807
- }
808
- };
809
- var ThrottlingException = class _ThrottlingException extends BedrockAgentRuntimeServiceException {
810
- static {
811
- __name(this, "ThrottlingException");
812
- }
813
- name = "ThrottlingException";
814
- $fault = "client";
815
- /**
816
- * @internal
817
- */
818
- constructor(opts) {
819
- super({
820
- name: "ThrottlingException",
821
- $fault: "client",
822
- ...opts
823
- });
824
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
825
- }
826
- };
827
- var ValidationException = class _ValidationException extends BedrockAgentRuntimeServiceException {
828
- static {
829
- __name(this, "ValidationException");
830
- }
831
- name = "ValidationException";
832
- $fault = "client";
833
- /**
834
- * @internal
835
- */
836
- constructor(opts) {
837
- super({
838
- name: "ValidationException",
839
- $fault: "client",
840
- ...opts
841
- });
842
- Object.setPrototypeOf(this, _ValidationException.prototype);
843
- }
844
- };
845
930
  var FlowResponseStream;
846
931
  ((FlowResponseStream3) => {
847
932
  FlowResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -1264,62 +1349,6 @@ var GuadrailAction = {
1264
1349
  INTERVENED: "INTERVENED",
1265
1350
  NONE: "NONE"
1266
1351
  };
1267
- var RetrieveAndGenerateStreamResponseOutput;
1268
- ((RetrieveAndGenerateStreamResponseOutput3) => {
1269
- RetrieveAndGenerateStreamResponseOutput3.visit = /* @__PURE__ */ __name((value, visitor) => {
1270
- if (value.output !== void 0) return visitor.output(value.output);
1271
- if (value.citation !== void 0) return visitor.citation(value.citation);
1272
- if (value.guardrail !== void 0) return visitor.guardrail(value.guardrail);
1273
- if (value.internalServerException !== void 0)
1274
- return visitor.internalServerException(value.internalServerException);
1275
- if (value.validationException !== void 0) return visitor.validationException(value.validationException);
1276
- if (value.resourceNotFoundException !== void 0)
1277
- return visitor.resourceNotFoundException(value.resourceNotFoundException);
1278
- if (value.serviceQuotaExceededException !== void 0)
1279
- return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
1280
- if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
1281
- if (value.accessDeniedException !== void 0) return visitor.accessDeniedException(value.accessDeniedException);
1282
- if (value.conflictException !== void 0) return visitor.conflictException(value.conflictException);
1283
- if (value.dependencyFailedException !== void 0)
1284
- return visitor.dependencyFailedException(value.dependencyFailedException);
1285
- if (value.badGatewayException !== void 0) return visitor.badGatewayException(value.badGatewayException);
1286
- return visitor._(value.$unknown[0], value.$unknown[1]);
1287
- }, "visit");
1288
- })(RetrieveAndGenerateStreamResponseOutput || (RetrieveAndGenerateStreamResponseOutput = {}));
1289
- var SessionStatus = {
1290
- ACTIVE: "ACTIVE",
1291
- ENDED: "ENDED",
1292
- EXPIRED: "EXPIRED"
1293
- };
1294
- var ImageFormat = {
1295
- GIF: "gif",
1296
- JPEG: "jpeg",
1297
- PNG: "png",
1298
- WEBP: "webp"
1299
- };
1300
- var ImageSource;
1301
- ((ImageSource2) => {
1302
- ImageSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
1303
- if (value.bytes !== void 0) return visitor.bytes(value.bytes);
1304
- if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
1305
- return visitor._(value.$unknown[0], value.$unknown[1]);
1306
- }, "visit");
1307
- })(ImageSource || (ImageSource = {}));
1308
- var BedrockSessionContentBlock;
1309
- ((BedrockSessionContentBlock2) => {
1310
- BedrockSessionContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
1311
- if (value.text !== void 0) return visitor.text(value.text);
1312
- if (value.image !== void 0) return visitor.image(value.image);
1313
- return visitor._(value.$unknown[0], value.$unknown[1]);
1314
- }, "visit");
1315
- })(BedrockSessionContentBlock || (BedrockSessionContentBlock = {}));
1316
- var InvocationStepPayload;
1317
- ((InvocationStepPayload2) => {
1318
- InvocationStepPayload2.visit = /* @__PURE__ */ __name((value, visitor) => {
1319
- if (value.contentBlocks !== void 0) return visitor.contentBlocks(value.contentBlocks);
1320
- return visitor._(value.$unknown[0], value.$unknown[1]);
1321
- }, "visit");
1322
- })(InvocationStepPayload || (InvocationStepPayload = {}));
1323
1352
  var ActionGroupInvocationInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1324
1353
  ...obj,
1325
1354
  ...obj.actionGroupName && { actionGroupName: import_smithy_client.SENSITIVE_STRING },
@@ -1427,6 +1456,75 @@ var AgentCollaboratorInvocationOutputFilterSensitiveLog = /* @__PURE__ */ __name
1427
1456
  ...obj.output && { output: AgentCollaboratorOutputPayloadFilterSensitiveLog(obj.output) },
1428
1457
  ...obj.metadata && { metadata: import_smithy_client.SENSITIVE_STRING }
1429
1458
  }), "AgentCollaboratorInvocationOutputFilterSensitiveLog");
1459
+ var SatisfiedConditionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1460
+ ...obj
1461
+ }), "SatisfiedConditionFilterSensitiveLog");
1462
+ var ConditionResultEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1463
+ ...obj,
1464
+ ...obj.satisfiedConditions && { satisfiedConditions: import_smithy_client.SENSITIVE_STRING }
1465
+ }), "ConditionResultEventFilterSensitiveLog");
1466
+ var FlowFailureEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1467
+ ...obj
1468
+ }), "FlowFailureEventFilterSensitiveLog");
1469
+ var FlowExecutionContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1470
+ if (obj.document !== void 0) return { document: obj.document };
1471
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1472
+ }, "FlowExecutionContentFilterSensitiveLog");
1473
+ var FlowInputFieldFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1474
+ ...obj,
1475
+ ...obj.content && { content: import_smithy_client.SENSITIVE_STRING }
1476
+ }), "FlowInputFieldFilterSensitiveLog");
1477
+ var FlowExecutionInputEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1478
+ ...obj,
1479
+ ...obj.fields && { fields: import_smithy_client.SENSITIVE_STRING }
1480
+ }), "FlowExecutionInputEventFilterSensitiveLog");
1481
+ var FlowOutputFieldFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1482
+ ...obj,
1483
+ ...obj.content && { content: import_smithy_client.SENSITIVE_STRING }
1484
+ }), "FlowOutputFieldFilterSensitiveLog");
1485
+ var FlowExecutionOutputEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1486
+ ...obj,
1487
+ ...obj.fields && { fields: import_smithy_client.SENSITIVE_STRING }
1488
+ }), "FlowExecutionOutputEventFilterSensitiveLog");
1489
+ var NodeFailureEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1490
+ ...obj
1491
+ }), "NodeFailureEventFilterSensitiveLog");
1492
+ var NodeExecutionContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1493
+ if (obj.document !== void 0) return { document: obj.document };
1494
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1495
+ }, "NodeExecutionContentFilterSensitiveLog");
1496
+ var NodeInputFieldFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1497
+ ...obj,
1498
+ ...obj.content && { content: import_smithy_client.SENSITIVE_STRING }
1499
+ }), "NodeInputFieldFilterSensitiveLog");
1500
+ var NodeInputEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1501
+ ...obj,
1502
+ ...obj.fields && { fields: import_smithy_client.SENSITIVE_STRING }
1503
+ }), "NodeInputEventFilterSensitiveLog");
1504
+ var NodeOutputFieldFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1505
+ ...obj,
1506
+ ...obj.content && { content: import_smithy_client.SENSITIVE_STRING }
1507
+ }), "NodeOutputFieldFilterSensitiveLog");
1508
+ var NodeOutputEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1509
+ ...obj,
1510
+ ...obj.fields && { fields: import_smithy_client.SENSITIVE_STRING }
1511
+ }), "NodeOutputEventFilterSensitiveLog");
1512
+ var FlowExecutionEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1513
+ if (obj.flowInputEvent !== void 0) return { flowInputEvent: import_smithy_client.SENSITIVE_STRING };
1514
+ if (obj.flowOutputEvent !== void 0) return { flowOutputEvent: import_smithy_client.SENSITIVE_STRING };
1515
+ if (obj.nodeInputEvent !== void 0) return { nodeInputEvent: import_smithy_client.SENSITIVE_STRING };
1516
+ if (obj.nodeOutputEvent !== void 0) return { nodeOutputEvent: import_smithy_client.SENSITIVE_STRING };
1517
+ if (obj.conditionResultEvent !== void 0) return { conditionResultEvent: import_smithy_client.SENSITIVE_STRING };
1518
+ if (obj.nodeFailureEvent !== void 0) return { nodeFailureEvent: import_smithy_client.SENSITIVE_STRING };
1519
+ if (obj.flowFailureEvent !== void 0) return { flowFailureEvent: import_smithy_client.SENSITIVE_STRING };
1520
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1521
+ }, "FlowExecutionEventFilterSensitiveLog");
1522
+ var ListFlowExecutionEventsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1523
+ ...obj,
1524
+ ...obj.flowExecutionEvents && {
1525
+ flowExecutionEvents: obj.flowExecutionEvents.map((item) => FlowExecutionEventFilterSensitiveLog(item))
1526
+ }
1527
+ }), "ListFlowExecutionEventsResponseFilterSensitiveLog");
1430
1528
  var FlowInputContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1431
1529
  if (obj.document !== void 0) return { document: obj.document };
1432
1530
  if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
@@ -1435,6 +1533,10 @@ var FlowInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1435
1533
  ...obj,
1436
1534
  ...obj.content && { content: import_smithy_client.SENSITIVE_STRING }
1437
1535
  }), "FlowInputFilterSensitiveLog");
1536
+ var StartFlowExecutionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1537
+ ...obj,
1538
+ ...obj.inputs && { inputs: obj.inputs.map((item) => FlowInputFilterSensitiveLog(item)) }
1539
+ }), "StartFlowExecutionRequestFilterSensitiveLog");
1438
1540
  var InvokeFlowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1439
1541
  ...obj,
1440
1542
  ...obj.inputs && { inputs: obj.inputs.map((item) => FlowInputFilterSensitiveLog(item)) }
@@ -2059,6 +2161,84 @@ var CitationEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2059
2161
  var RetrieveAndGenerateOutputEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2060
2162
  ...obj
2061
2163
  }), "RetrieveAndGenerateOutputEventFilterSensitiveLog");
2164
+
2165
+ // src/models/models_1.ts
2166
+
2167
+ var RetrieveAndGenerateStreamResponseOutput;
2168
+ ((RetrieveAndGenerateStreamResponseOutput3) => {
2169
+ RetrieveAndGenerateStreamResponseOutput3.visit = /* @__PURE__ */ __name((value, visitor) => {
2170
+ if (value.output !== void 0) return visitor.output(value.output);
2171
+ if (value.citation !== void 0) return visitor.citation(value.citation);
2172
+ if (value.guardrail !== void 0) return visitor.guardrail(value.guardrail);
2173
+ if (value.internalServerException !== void 0)
2174
+ return visitor.internalServerException(value.internalServerException);
2175
+ if (value.validationException !== void 0) return visitor.validationException(value.validationException);
2176
+ if (value.resourceNotFoundException !== void 0)
2177
+ return visitor.resourceNotFoundException(value.resourceNotFoundException);
2178
+ if (value.serviceQuotaExceededException !== void 0)
2179
+ return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
2180
+ if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
2181
+ if (value.accessDeniedException !== void 0) return visitor.accessDeniedException(value.accessDeniedException);
2182
+ if (value.conflictException !== void 0) return visitor.conflictException(value.conflictException);
2183
+ if (value.dependencyFailedException !== void 0)
2184
+ return visitor.dependencyFailedException(value.dependencyFailedException);
2185
+ if (value.badGatewayException !== void 0) return visitor.badGatewayException(value.badGatewayException);
2186
+ return visitor._(value.$unknown[0], value.$unknown[1]);
2187
+ }, "visit");
2188
+ })(RetrieveAndGenerateStreamResponseOutput || (RetrieveAndGenerateStreamResponseOutput = {}));
2189
+ var SessionStatus = {
2190
+ ACTIVE: "ACTIVE",
2191
+ ENDED: "ENDED",
2192
+ EXPIRED: "EXPIRED"
2193
+ };
2194
+ var ImageFormat = {
2195
+ GIF: "gif",
2196
+ JPEG: "jpeg",
2197
+ PNG: "png",
2198
+ WEBP: "webp"
2199
+ };
2200
+ var ImageSource;
2201
+ ((ImageSource2) => {
2202
+ ImageSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
2203
+ if (value.bytes !== void 0) return visitor.bytes(value.bytes);
2204
+ if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
2205
+ return visitor._(value.$unknown[0], value.$unknown[1]);
2206
+ }, "visit");
2207
+ })(ImageSource || (ImageSource = {}));
2208
+ var BedrockSessionContentBlock;
2209
+ ((BedrockSessionContentBlock2) => {
2210
+ BedrockSessionContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
2211
+ if (value.text !== void 0) return visitor.text(value.text);
2212
+ if (value.image !== void 0) return visitor.image(value.image);
2213
+ return visitor._(value.$unknown[0], value.$unknown[1]);
2214
+ }, "visit");
2215
+ })(BedrockSessionContentBlock || (BedrockSessionContentBlock = {}));
2216
+ var InvocationStepPayload;
2217
+ ((InvocationStepPayload2) => {
2218
+ InvocationStepPayload2.visit = /* @__PURE__ */ __name((value, visitor) => {
2219
+ if (value.contentBlocks !== void 0) return visitor.contentBlocks(value.contentBlocks);
2220
+ return visitor._(value.$unknown[0], value.$unknown[1]);
2221
+ }, "visit");
2222
+ })(InvocationStepPayload || (InvocationStepPayload = {}));
2223
+ var RetrievalFilter;
2224
+ ((RetrievalFilter2) => {
2225
+ RetrievalFilter2.visit = /* @__PURE__ */ __name((value, visitor) => {
2226
+ if (value.equals !== void 0) return visitor.equals(value.equals);
2227
+ if (value.notEquals !== void 0) return visitor.notEquals(value.notEquals);
2228
+ if (value.greaterThan !== void 0) return visitor.greaterThan(value.greaterThan);
2229
+ if (value.greaterThanOrEquals !== void 0) return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
2230
+ if (value.lessThan !== void 0) return visitor.lessThan(value.lessThan);
2231
+ if (value.lessThanOrEquals !== void 0) return visitor.lessThanOrEquals(value.lessThanOrEquals);
2232
+ if (value.in !== void 0) return visitor.in(value.in);
2233
+ if (value.notIn !== void 0) return visitor.notIn(value.notIn);
2234
+ if (value.startsWith !== void 0) return visitor.startsWith(value.startsWith);
2235
+ if (value.listContains !== void 0) return visitor.listContains(value.listContains);
2236
+ if (value.stringContains !== void 0) return visitor.stringContains(value.stringContains);
2237
+ if (value.andAll !== void 0) return visitor.andAll(value.andAll);
2238
+ if (value.orAll !== void 0) return visitor.orAll(value.orAll);
2239
+ return visitor._(value.$unknown[0], value.$unknown[1]);
2240
+ }, "visit");
2241
+ })(RetrievalFilter || (RetrievalFilter = {}));
2062
2242
  var RetrieveAndGenerateStreamResponseOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2063
2243
  if (obj.output !== void 0) return { output: import_smithy_client.SENSITIVE_STRING };
2064
2244
  if (obj.citation !== void 0) return { citation: CitationEventFilterSensitiveLog(obj.citation) };
@@ -2113,28 +2293,6 @@ var PutInvocationStepRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
2113
2293
  ...obj,
2114
2294
  ...obj.payload && { payload: InvocationStepPayloadFilterSensitiveLog(obj.payload) }
2115
2295
  }), "PutInvocationStepRequestFilterSensitiveLog");
2116
-
2117
- // src/models/models_1.ts
2118
-
2119
- var RetrievalFilter;
2120
- ((RetrievalFilter2) => {
2121
- RetrievalFilter2.visit = /* @__PURE__ */ __name((value, visitor) => {
2122
- if (value.equals !== void 0) return visitor.equals(value.equals);
2123
- if (value.notEquals !== void 0) return visitor.notEquals(value.notEquals);
2124
- if (value.greaterThan !== void 0) return visitor.greaterThan(value.greaterThan);
2125
- if (value.greaterThanOrEquals !== void 0) return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
2126
- if (value.lessThan !== void 0) return visitor.lessThan(value.lessThan);
2127
- if (value.lessThanOrEquals !== void 0) return visitor.lessThanOrEquals(value.lessThanOrEquals);
2128
- if (value.in !== void 0) return visitor.in(value.in);
2129
- if (value.notIn !== void 0) return visitor.notIn(value.notIn);
2130
- if (value.startsWith !== void 0) return visitor.startsWith(value.startsWith);
2131
- if (value.listContains !== void 0) return visitor.listContains(value.listContains);
2132
- if (value.stringContains !== void 0) return visitor.stringContains(value.stringContains);
2133
- if (value.andAll !== void 0) return visitor.andAll(value.andAll);
2134
- if (value.orAll !== void 0) return visitor.orAll(value.orAll);
2135
- return visitor._(value.$unknown[0], value.$unknown[1]);
2136
- }, "visit");
2137
- })(RetrievalFilter || (RetrievalFilter = {}));
2138
2296
  var RetrievalFilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2139
2297
  if (obj.equals !== void 0) return { equals: obj.equals };
2140
2298
  if (obj.notEquals !== void 0) return { notEquals: obj.notEquals };
@@ -2386,6 +2544,28 @@ var se_GetAgentMemoryCommand = /* @__PURE__ */ __name(async (input, context) =>
2386
2544
  b.m("GET").h(headers).q(query).b(body);
2387
2545
  return b.build();
2388
2546
  }, "se_GetAgentMemoryCommand");
2547
+ var se_GetExecutionFlowSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {
2548
+ const b = (0, import_core.requestBuilder)(input, context);
2549
+ const headers = {};
2550
+ b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/flowsnapshot");
2551
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
2552
+ b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
2553
+ b.p("executionIdentifier", () => input.executionIdentifier, "{executionIdentifier}", false);
2554
+ let body;
2555
+ b.m("GET").h(headers).b(body);
2556
+ return b.build();
2557
+ }, "se_GetExecutionFlowSnapshotCommand");
2558
+ var se_GetFlowExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
2559
+ const b = (0, import_core.requestBuilder)(input, context);
2560
+ const headers = {};
2561
+ b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}");
2562
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
2563
+ b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
2564
+ b.p("executionIdentifier", () => input.executionIdentifier, "{executionIdentifier}", false);
2565
+ let body;
2566
+ b.m("GET").h(headers).b(body);
2567
+ return b.build();
2568
+ }, "se_GetFlowExecutionCommand");
2389
2569
  var se_GetInvocationStepCommand = /* @__PURE__ */ __name(async (input, context) => {
2390
2570
  const b = (0, import_core.requestBuilder)(input, context);
2391
2571
  const headers = {
@@ -2492,6 +2672,36 @@ var se_InvokeInlineAgentCommand = /* @__PURE__ */ __name(async (input, context)
2492
2672
  b.m("POST").h(headers).b(body);
2493
2673
  return b.build();
2494
2674
  }, "se_InvokeInlineAgentCommand");
2675
+ var se_ListFlowExecutionEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
2676
+ const b = (0, import_core.requestBuilder)(input, context);
2677
+ const headers = {};
2678
+ b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/events");
2679
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
2680
+ b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
2681
+ b.p("executionIdentifier", () => input.executionIdentifier, "{executionIdentifier}", false);
2682
+ const query = (0, import_smithy_client.map)({
2683
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
2684
+ [_nT]: [, input[_nT]],
2685
+ [_eT]: [, (0, import_smithy_client.expectNonNull)(input[_eT], `eventType`)]
2686
+ });
2687
+ let body;
2688
+ b.m("GET").h(headers).q(query).b(body);
2689
+ return b.build();
2690
+ }, "se_ListFlowExecutionEventsCommand");
2691
+ var se_ListFlowExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
2692
+ const b = (0, import_core.requestBuilder)(input, context);
2693
+ const headers = {};
2694
+ b.bp("/flows/{flowIdentifier}/executions");
2695
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
2696
+ const query = (0, import_smithy_client.map)({
2697
+ [_fAI]: [, input[_fAI]],
2698
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
2699
+ [_nT]: [, input[_nT]]
2700
+ });
2701
+ let body;
2702
+ b.m("GET").h(headers).q(query).b(body);
2703
+ return b.build();
2704
+ }, "se_ListFlowExecutionsCommand");
2495
2705
  var se_ListInvocationsCommand = /* @__PURE__ */ __name(async (input, context) => {
2496
2706
  const b = (0, import_core.requestBuilder)(input, context);
2497
2707
  const headers = {};
@@ -2653,7 +2863,37 @@ var se_RetrieveAndGenerateStreamCommand = /* @__PURE__ */ __name(async (input, c
2653
2863
  );
2654
2864
  b.m("POST").h(headers).b(body);
2655
2865
  return b.build();
2656
- }, "se_RetrieveAndGenerateStreamCommand");
2866
+ }, "se_RetrieveAndGenerateStreamCommand");
2867
+ var se_StartFlowExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
2868
+ const b = (0, import_core.requestBuilder)(input, context);
2869
+ const headers = {
2870
+ "content-type": "application/json"
2871
+ };
2872
+ b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions");
2873
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
2874
+ b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
2875
+ let body;
2876
+ body = JSON.stringify(
2877
+ (0, import_smithy_client.take)(input, {
2878
+ flowExecutionName: [],
2879
+ inputs: /* @__PURE__ */ __name((_) => se_FlowInputs(_, context), "inputs"),
2880
+ modelPerformanceConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "modelPerformanceConfiguration")
2881
+ })
2882
+ );
2883
+ b.m("POST").h(headers).b(body);
2884
+ return b.build();
2885
+ }, "se_StartFlowExecutionCommand");
2886
+ var se_StopFlowExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
2887
+ const b = (0, import_core.requestBuilder)(input, context);
2888
+ const headers = {};
2889
+ b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop");
2890
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
2891
+ b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
2892
+ b.p("executionIdentifier", () => input.executionIdentifier, "{executionIdentifier}", false);
2893
+ let body;
2894
+ b.m("POST").h(headers).b(body);
2895
+ return b.build();
2896
+ }, "se_StopFlowExecutionCommand");
2657
2897
  var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
2658
2898
  const b = (0, import_core.requestBuilder)(input, context);
2659
2899
  const headers = {
@@ -2796,6 +3036,46 @@ var de_GetAgentMemoryCommand = /* @__PURE__ */ __name(async (output, context) =>
2796
3036
  Object.assign(contents, doc);
2797
3037
  return contents;
2798
3038
  }, "de_GetAgentMemoryCommand");
3039
+ var de_GetExecutionFlowSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
3040
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3041
+ return de_CommandError(output, context);
3042
+ }
3043
+ const contents = (0, import_smithy_client.map)({
3044
+ $metadata: deserializeMetadata(output)
3045
+ });
3046
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3047
+ const doc = (0, import_smithy_client.take)(data, {
3048
+ customerEncryptionKeyArn: import_smithy_client.expectString,
3049
+ definition: import_smithy_client.expectString,
3050
+ executionRoleArn: import_smithy_client.expectString,
3051
+ flowAliasIdentifier: import_smithy_client.expectString,
3052
+ flowIdentifier: import_smithy_client.expectString,
3053
+ flowVersion: import_smithy_client.expectString
3054
+ });
3055
+ Object.assign(contents, doc);
3056
+ return contents;
3057
+ }, "de_GetExecutionFlowSnapshotCommand");
3058
+ var de_GetFlowExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
3059
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3060
+ return de_CommandError(output, context);
3061
+ }
3062
+ const contents = (0, import_smithy_client.map)({
3063
+ $metadata: deserializeMetadata(output)
3064
+ });
3065
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3066
+ const doc = (0, import_smithy_client.take)(data, {
3067
+ endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"),
3068
+ errors: import_smithy_client._json,
3069
+ executionArn: import_smithy_client.expectString,
3070
+ flowAliasIdentifier: import_smithy_client.expectString,
3071
+ flowIdentifier: import_smithy_client.expectString,
3072
+ flowVersion: import_smithy_client.expectString,
3073
+ startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedAt"),
3074
+ status: import_smithy_client.expectString
3075
+ });
3076
+ Object.assign(contents, doc);
3077
+ return contents;
3078
+ }, "de_GetFlowExecutionCommand");
2799
3079
  var de_GetInvocationStepCommand = /* @__PURE__ */ __name(async (output, context) => {
2800
3080
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2801
3081
  return de_CommandError(output, context);
@@ -2869,6 +3149,36 @@ var de_InvokeInlineAgentCommand = /* @__PURE__ */ __name(async (output, context)
2869
3149
  contents.completion = de_InlineAgentResponseStream(data, context);
2870
3150
  return contents;
2871
3151
  }, "de_InvokeInlineAgentCommand");
3152
+ var de_ListFlowExecutionEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
3153
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3154
+ return de_CommandError(output, context);
3155
+ }
3156
+ const contents = (0, import_smithy_client.map)({
3157
+ $metadata: deserializeMetadata(output)
3158
+ });
3159
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3160
+ const doc = (0, import_smithy_client.take)(data, {
3161
+ flowExecutionEvents: /* @__PURE__ */ __name((_) => de_FlowExecutionEvents(_, context), "flowExecutionEvents"),
3162
+ nextToken: import_smithy_client.expectString
3163
+ });
3164
+ Object.assign(contents, doc);
3165
+ return contents;
3166
+ }, "de_ListFlowExecutionEventsCommand");
3167
+ var de_ListFlowExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
3168
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3169
+ return de_CommandError(output, context);
3170
+ }
3171
+ const contents = (0, import_smithy_client.map)({
3172
+ $metadata: deserializeMetadata(output)
3173
+ });
3174
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3175
+ const doc = (0, import_smithy_client.take)(data, {
3176
+ flowExecutionSummaries: /* @__PURE__ */ __name((_) => de_FlowExecutionSummaries(_, context), "flowExecutionSummaries"),
3177
+ nextToken: import_smithy_client.expectString
3178
+ });
3179
+ Object.assign(contents, doc);
3180
+ return contents;
3181
+ }, "de_ListFlowExecutionsCommand");
2872
3182
  var de_ListInvocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
2873
3183
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2874
3184
  return de_CommandError(output, context);
@@ -3013,6 +3323,35 @@ var de_RetrieveAndGenerateStreamCommand = /* @__PURE__ */ __name(async (output,
3013
3323
  contents.stream = de_RetrieveAndGenerateStreamResponseOutput(data, context);
3014
3324
  return contents;
3015
3325
  }, "de_RetrieveAndGenerateStreamCommand");
3326
+ var de_StartFlowExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
3327
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3328
+ return de_CommandError(output, context);
3329
+ }
3330
+ const contents = (0, import_smithy_client.map)({
3331
+ $metadata: deserializeMetadata(output)
3332
+ });
3333
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3334
+ const doc = (0, import_smithy_client.take)(data, {
3335
+ executionArn: import_smithy_client.expectString
3336
+ });
3337
+ Object.assign(contents, doc);
3338
+ return contents;
3339
+ }, "de_StartFlowExecutionCommand");
3340
+ var de_StopFlowExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
3341
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3342
+ return de_CommandError(output, context);
3343
+ }
3344
+ const contents = (0, import_smithy_client.map)({
3345
+ $metadata: deserializeMetadata(output)
3346
+ });
3347
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3348
+ const doc = (0, import_smithy_client.take)(data, {
3349
+ executionArn: import_smithy_client.expectString,
3350
+ status: import_smithy_client.expectString
3351
+ });
3352
+ Object.assign(contents, doc);
3353
+ return contents;
3354
+ }, "de_StopFlowExecutionCommand");
3016
3355
  var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
3017
3356
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3018
3357
  return de_CommandError(output, context);
@@ -4295,6 +4634,13 @@ var de_CodeInterpreterInvocationOutput = /* @__PURE__ */ __name((output, context
4295
4634
  metadata: /* @__PURE__ */ __name((_) => de_Metadata(_, context), "metadata")
4296
4635
  });
4297
4636
  }, "de_CodeInterpreterInvocationOutput");
4637
+ var de_ConditionResultEvent = /* @__PURE__ */ __name((output, context) => {
4638
+ return (0, import_smithy_client.take)(output, {
4639
+ nodeName: import_smithy_client.expectString,
4640
+ satisfiedConditions: import_smithy_client._json,
4641
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
4642
+ });
4643
+ }, "de_ConditionResultEvent");
4298
4644
  var de_ContentBody = /* @__PURE__ */ __name((output, context) => {
4299
4645
  return (0, import_smithy_client.take)(output, {
4300
4646
  body: import_smithy_client.expectString,
@@ -4320,6 +4666,108 @@ var de_FinalResponse = /* @__PURE__ */ __name((output, context) => {
4320
4666
  text: import_smithy_client.expectString
4321
4667
  });
4322
4668
  }, "de_FinalResponse");
4669
+ var de_FlowExecutionContent = /* @__PURE__ */ __name((output, context) => {
4670
+ if (output.document != null) {
4671
+ return {
4672
+ document: de_Document(output.document, context)
4673
+ };
4674
+ }
4675
+ return { $unknown: Object.entries(output)[0] };
4676
+ }, "de_FlowExecutionContent");
4677
+ var de_FlowExecutionEvent = /* @__PURE__ */ __name((output, context) => {
4678
+ if (output.conditionResultEvent != null) {
4679
+ return {
4680
+ conditionResultEvent: de_ConditionResultEvent(output.conditionResultEvent, context)
4681
+ };
4682
+ }
4683
+ if (output.flowFailureEvent != null) {
4684
+ return {
4685
+ flowFailureEvent: de_FlowFailureEvent(output.flowFailureEvent, context)
4686
+ };
4687
+ }
4688
+ if (output.flowInputEvent != null) {
4689
+ return {
4690
+ flowInputEvent: de_FlowExecutionInputEvent(output.flowInputEvent, context)
4691
+ };
4692
+ }
4693
+ if (output.flowOutputEvent != null) {
4694
+ return {
4695
+ flowOutputEvent: de_FlowExecutionOutputEvent(output.flowOutputEvent, context)
4696
+ };
4697
+ }
4698
+ if (output.nodeFailureEvent != null) {
4699
+ return {
4700
+ nodeFailureEvent: de_NodeFailureEvent(output.nodeFailureEvent, context)
4701
+ };
4702
+ }
4703
+ if (output.nodeInputEvent != null) {
4704
+ return {
4705
+ nodeInputEvent: de_NodeInputEvent(output.nodeInputEvent, context)
4706
+ };
4707
+ }
4708
+ if (output.nodeOutputEvent != null) {
4709
+ return {
4710
+ nodeOutputEvent: de_NodeOutputEvent(output.nodeOutputEvent, context)
4711
+ };
4712
+ }
4713
+ return { $unknown: Object.entries(output)[0] };
4714
+ }, "de_FlowExecutionEvent");
4715
+ var de_FlowExecutionEvents = /* @__PURE__ */ __name((output, context) => {
4716
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4717
+ return de_FlowExecutionEvent((0, import_core2.awsExpectUnion)(entry), context);
4718
+ });
4719
+ return retVal;
4720
+ }, "de_FlowExecutionEvents");
4721
+ var de_FlowExecutionInputEvent = /* @__PURE__ */ __name((output, context) => {
4722
+ return (0, import_smithy_client.take)(output, {
4723
+ fields: /* @__PURE__ */ __name((_) => de_FlowInputFields(_, context), "fields"),
4724
+ nodeName: import_smithy_client.expectString,
4725
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
4726
+ });
4727
+ }, "de_FlowExecutionInputEvent");
4728
+ var de_FlowExecutionOutputEvent = /* @__PURE__ */ __name((output, context) => {
4729
+ return (0, import_smithy_client.take)(output, {
4730
+ fields: /* @__PURE__ */ __name((_) => de_FlowOutputFields(_, context), "fields"),
4731
+ nodeName: import_smithy_client.expectString,
4732
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
4733
+ });
4734
+ }, "de_FlowExecutionOutputEvent");
4735
+ var de_FlowExecutionSummaries = /* @__PURE__ */ __name((output, context) => {
4736
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4737
+ return de_FlowExecutionSummary(entry, context);
4738
+ });
4739
+ return retVal;
4740
+ }, "de_FlowExecutionSummaries");
4741
+ var de_FlowExecutionSummary = /* @__PURE__ */ __name((output, context) => {
4742
+ return (0, import_smithy_client.take)(output, {
4743
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4744
+ endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"),
4745
+ executionArn: import_smithy_client.expectString,
4746
+ flowAliasIdentifier: import_smithy_client.expectString,
4747
+ flowIdentifier: import_smithy_client.expectString,
4748
+ flowVersion: import_smithy_client.expectString,
4749
+ status: import_smithy_client.expectString
4750
+ });
4751
+ }, "de_FlowExecutionSummary");
4752
+ var de_FlowFailureEvent = /* @__PURE__ */ __name((output, context) => {
4753
+ return (0, import_smithy_client.take)(output, {
4754
+ errorCode: import_smithy_client.expectString,
4755
+ errorMessage: import_smithy_client.expectString,
4756
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
4757
+ });
4758
+ }, "de_FlowFailureEvent");
4759
+ var de_FlowInputField = /* @__PURE__ */ __name((output, context) => {
4760
+ return (0, import_smithy_client.take)(output, {
4761
+ content: /* @__PURE__ */ __name((_) => de_FlowExecutionContent((0, import_core2.awsExpectUnion)(_), context), "content"),
4762
+ name: import_smithy_client.expectString
4763
+ });
4764
+ }, "de_FlowInputField");
4765
+ var de_FlowInputFields = /* @__PURE__ */ __name((output, context) => {
4766
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4767
+ return de_FlowInputField(entry, context);
4768
+ });
4769
+ return retVal;
4770
+ }, "de_FlowInputFields");
4323
4771
  var de_FlowMultiTurnInputContent = /* @__PURE__ */ __name((output, context) => {
4324
4772
  if (output.document != null) {
4325
4773
  return {
@@ -4350,6 +4798,18 @@ var de_FlowOutputEvent = /* @__PURE__ */ __name((output, context) => {
4350
4798
  nodeType: import_smithy_client.expectString
4351
4799
  });
4352
4800
  }, "de_FlowOutputEvent");
4801
+ var de_FlowOutputField = /* @__PURE__ */ __name((output, context) => {
4802
+ return (0, import_smithy_client.take)(output, {
4803
+ content: /* @__PURE__ */ __name((_) => de_FlowExecutionContent((0, import_core2.awsExpectUnion)(_), context), "content"),
4804
+ name: import_smithy_client.expectString
4805
+ });
4806
+ }, "de_FlowOutputField");
4807
+ var de_FlowOutputFields = /* @__PURE__ */ __name((output, context) => {
4808
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4809
+ return de_FlowOutputField(entry, context);
4810
+ });
4811
+ return retVal;
4812
+ }, "de_FlowOutputFields");
4353
4813
  var de_FlowTrace = /* @__PURE__ */ __name((output, context) => {
4354
4814
  if (output.conditionNodeResultTrace != null) {
4355
4815
  return {
@@ -4667,6 +5127,60 @@ var de_ModelInvocationInput = /* @__PURE__ */ __name((output, context) => {
4667
5127
  type: import_smithy_client.expectString
4668
5128
  });
4669
5129
  }, "de_ModelInvocationInput");
5130
+ var de_NodeExecutionContent = /* @__PURE__ */ __name((output, context) => {
5131
+ if (output.document != null) {
5132
+ return {
5133
+ document: de_Document(output.document, context)
5134
+ };
5135
+ }
5136
+ return { $unknown: Object.entries(output)[0] };
5137
+ }, "de_NodeExecutionContent");
5138
+ var de_NodeFailureEvent = /* @__PURE__ */ __name((output, context) => {
5139
+ return (0, import_smithy_client.take)(output, {
5140
+ errorCode: import_smithy_client.expectString,
5141
+ errorMessage: import_smithy_client.expectString,
5142
+ nodeName: import_smithy_client.expectString,
5143
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
5144
+ });
5145
+ }, "de_NodeFailureEvent");
5146
+ var de_NodeInputEvent = /* @__PURE__ */ __name((output, context) => {
5147
+ return (0, import_smithy_client.take)(output, {
5148
+ fields: /* @__PURE__ */ __name((_) => de_NodeInputFields(_, context), "fields"),
5149
+ nodeName: import_smithy_client.expectString,
5150
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
5151
+ });
5152
+ }, "de_NodeInputEvent");
5153
+ var de_NodeInputField = /* @__PURE__ */ __name((output, context) => {
5154
+ return (0, import_smithy_client.take)(output, {
5155
+ content: /* @__PURE__ */ __name((_) => de_NodeExecutionContent((0, import_core2.awsExpectUnion)(_), context), "content"),
5156
+ name: import_smithy_client.expectString
5157
+ });
5158
+ }, "de_NodeInputField");
5159
+ var de_NodeInputFields = /* @__PURE__ */ __name((output, context) => {
5160
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
5161
+ return de_NodeInputField(entry, context);
5162
+ });
5163
+ return retVal;
5164
+ }, "de_NodeInputFields");
5165
+ var de_NodeOutputEvent = /* @__PURE__ */ __name((output, context) => {
5166
+ return (0, import_smithy_client.take)(output, {
5167
+ fields: /* @__PURE__ */ __name((_) => de_NodeOutputFields(_, context), "fields"),
5168
+ nodeName: import_smithy_client.expectString,
5169
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
5170
+ });
5171
+ }, "de_NodeOutputEvent");
5172
+ var de_NodeOutputField = /* @__PURE__ */ __name((output, context) => {
5173
+ return (0, import_smithy_client.take)(output, {
5174
+ content: /* @__PURE__ */ __name((_) => de_NodeExecutionContent((0, import_core2.awsExpectUnion)(_), context), "content"),
5175
+ name: import_smithy_client.expectString
5176
+ });
5177
+ }, "de_NodeOutputField");
5178
+ var de_NodeOutputFields = /* @__PURE__ */ __name((output, context) => {
5179
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
5180
+ return de_NodeOutputField(entry, context);
5181
+ });
5182
+ return retVal;
5183
+ }, "de_NodeOutputFields");
4670
5184
  var de_Observation = /* @__PURE__ */ __name((output, context) => {
4671
5185
  return (0, import_smithy_client.take)(output, {
4672
5186
  actionGroupInvocationOutput: /* @__PURE__ */ __name((_) => de_ActionGroupInvocationOutput(_, context), "actionGroupInvocationOutput"),
@@ -4963,6 +5477,8 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
4963
5477
  }), "deserializeMetadata");
4964
5478
  var _cT = "contentType";
4965
5479
  var _eI = "executionId";
5480
+ var _eT = "eventType";
5481
+ var _fAI = "flowAliasIdentifier";
4966
5482
  var _mI = "memoryId";
4967
5483
  var _mIa = "maxItems";
4968
5484
  var _mR = "maxResults";
@@ -5080,6 +5596,36 @@ var GetAgentMemoryCommand = class extends import_smithy_client.Command.classBuil
5080
5596
  }
5081
5597
  };
5082
5598
 
5599
+ // src/commands/GetExecutionFlowSnapshotCommand.ts
5600
+
5601
+
5602
+
5603
+ var GetExecutionFlowSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5604
+ return [
5605
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5606
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5607
+ ];
5608
+ }).s("AmazonBedrockAgentRunTimeService", "GetExecutionFlowSnapshot", {}).n("BedrockAgentRuntimeClient", "GetExecutionFlowSnapshotCommand").f(void 0, void 0).ser(se_GetExecutionFlowSnapshotCommand).de(de_GetExecutionFlowSnapshotCommand).build() {
5609
+ static {
5610
+ __name(this, "GetExecutionFlowSnapshotCommand");
5611
+ }
5612
+ };
5613
+
5614
+ // src/commands/GetFlowExecutionCommand.ts
5615
+
5616
+
5617
+
5618
+ var GetFlowExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5619
+ return [
5620
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5621
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5622
+ ];
5623
+ }).s("AmazonBedrockAgentRunTimeService", "GetFlowExecution", {}).n("BedrockAgentRuntimeClient", "GetFlowExecutionCommand").f(void 0, void 0).ser(se_GetFlowExecutionCommand).de(de_GetFlowExecutionCommand).build() {
5624
+ static {
5625
+ __name(this, "GetFlowExecutionCommand");
5626
+ }
5627
+ };
5628
+
5083
5629
  // src/commands/GetInvocationStepCommand.ts
5084
5630
 
5085
5631
 
@@ -5176,6 +5722,36 @@ var InvokeInlineAgentCommand = class extends import_smithy_client.Command.classB
5176
5722
  }
5177
5723
  };
5178
5724
 
5725
+ // src/commands/ListFlowExecutionEventsCommand.ts
5726
+
5727
+
5728
+
5729
+ var ListFlowExecutionEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5730
+ return [
5731
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5732
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5733
+ ];
5734
+ }).s("AmazonBedrockAgentRunTimeService", "ListFlowExecutionEvents", {}).n("BedrockAgentRuntimeClient", "ListFlowExecutionEventsCommand").f(void 0, ListFlowExecutionEventsResponseFilterSensitiveLog).ser(se_ListFlowExecutionEventsCommand).de(de_ListFlowExecutionEventsCommand).build() {
5735
+ static {
5736
+ __name(this, "ListFlowExecutionEventsCommand");
5737
+ }
5738
+ };
5739
+
5740
+ // src/commands/ListFlowExecutionsCommand.ts
5741
+
5742
+
5743
+
5744
+ var ListFlowExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5745
+ return [
5746
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5747
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5748
+ ];
5749
+ }).s("AmazonBedrockAgentRunTimeService", "ListFlowExecutions", {}).n("BedrockAgentRuntimeClient", "ListFlowExecutionsCommand").f(void 0, void 0).ser(se_ListFlowExecutionsCommand).de(de_ListFlowExecutionsCommand).build() {
5750
+ static {
5751
+ __name(this, "ListFlowExecutionsCommand");
5752
+ }
5753
+ };
5754
+
5179
5755
  // src/commands/ListInvocationsCommand.ts
5180
5756
 
5181
5757
 
@@ -5340,6 +5916,36 @@ var RetrieveCommand = class extends import_smithy_client.Command.classBuilder().
5340
5916
  }
5341
5917
  };
5342
5918
 
5919
+ // src/commands/StartFlowExecutionCommand.ts
5920
+
5921
+
5922
+
5923
+ var StartFlowExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5924
+ return [
5925
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5926
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5927
+ ];
5928
+ }).s("AmazonBedrockAgentRunTimeService", "StartFlowExecution", {}).n("BedrockAgentRuntimeClient", "StartFlowExecutionCommand").f(StartFlowExecutionRequestFilterSensitiveLog, void 0).ser(se_StartFlowExecutionCommand).de(de_StartFlowExecutionCommand).build() {
5929
+ static {
5930
+ __name(this, "StartFlowExecutionCommand");
5931
+ }
5932
+ };
5933
+
5934
+ // src/commands/StopFlowExecutionCommand.ts
5935
+
5936
+
5937
+
5938
+ var StopFlowExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5939
+ return [
5940
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5941
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5942
+ ];
5943
+ }).s("AmazonBedrockAgentRunTimeService", "StopFlowExecution", {}).n("BedrockAgentRuntimeClient", "StopFlowExecutionCommand").f(void 0, void 0).ser(se_StopFlowExecutionCommand).de(de_StopFlowExecutionCommand).build() {
5944
+ static {
5945
+ __name(this, "StopFlowExecutionCommand");
5946
+ }
5947
+ };
5948
+
5343
5949
  // src/commands/TagResourceCommand.ts
5344
5950
 
5345
5951
 
@@ -5394,11 +6000,15 @@ var commands = {
5394
6000
  EndSessionCommand,
5395
6001
  GenerateQueryCommand,
5396
6002
  GetAgentMemoryCommand,
6003
+ GetExecutionFlowSnapshotCommand,
6004
+ GetFlowExecutionCommand,
5397
6005
  GetInvocationStepCommand,
5398
6006
  GetSessionCommand,
5399
6007
  InvokeAgentCommand,
5400
6008
  InvokeFlowCommand,
5401
6009
  InvokeInlineAgentCommand,
6010
+ ListFlowExecutionEventsCommand,
6011
+ ListFlowExecutionsCommand,
5402
6012
  ListInvocationsCommand,
5403
6013
  ListInvocationStepsCommand,
5404
6014
  ListSessionsCommand,
@@ -5409,6 +6019,8 @@ var commands = {
5409
6019
  RetrieveCommand,
5410
6020
  RetrieveAndGenerateCommand,
5411
6021
  RetrieveAndGenerateStreamCommand,
6022
+ StartFlowExecutionCommand,
6023
+ StopFlowExecutionCommand,
5412
6024
  TagResourceCommand,
5413
6025
  UntagResourceCommand,
5414
6026
  UpdateSessionCommand
@@ -5424,6 +6036,14 @@ var BedrockAgentRuntime = class extends BedrockAgentRuntimeClient {
5424
6036
 
5425
6037
  var paginateGetAgentMemory = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, GetAgentMemoryCommand, "nextToken", "nextToken", "maxItems");
5426
6038
 
6039
+ // src/pagination/ListFlowExecutionEventsPaginator.ts
6040
+
6041
+ var paginateListFlowExecutionEvents = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, ListFlowExecutionEventsCommand, "nextToken", "nextToken", "maxResults");
6042
+
6043
+ // src/pagination/ListFlowExecutionsPaginator.ts
6044
+
6045
+ var paginateListFlowExecutions = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, ListFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
6046
+
5427
6047
  // src/pagination/ListInvocationStepsPaginator.ts
5428
6048
 
5429
6049
  var paginateListInvocationSteps = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, ListInvocationStepsCommand, "nextToken", "nextToken", "maxResults");
@@ -5458,11 +6078,15 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
5458
6078
  EndSessionCommand,
5459
6079
  GenerateQueryCommand,
5460
6080
  GetAgentMemoryCommand,
6081
+ GetExecutionFlowSnapshotCommand,
6082
+ GetFlowExecutionCommand,
5461
6083
  GetInvocationStepCommand,
5462
6084
  GetSessionCommand,
5463
6085
  InvokeAgentCommand,
5464
6086
  InvokeFlowCommand,
5465
6087
  InvokeInlineAgentCommand,
6088
+ ListFlowExecutionEventsCommand,
6089
+ ListFlowExecutionsCommand,
5466
6090
  ListInvocationStepsCommand,
5467
6091
  ListInvocationsCommand,
5468
6092
  ListSessionsCommand,
@@ -5473,10 +6097,14 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
5473
6097
  RetrieveAndGenerateCommand,
5474
6098
  RetrieveAndGenerateStreamCommand,
5475
6099
  RetrieveCommand,
6100
+ StartFlowExecutionCommand,
6101
+ StopFlowExecutionCommand,
5476
6102
  TagResourceCommand,
5477
6103
  UntagResourceCommand,
5478
6104
  UpdateSessionCommand,
5479
6105
  paginateGetAgentMemory,
6106
+ paginateListFlowExecutionEvents,
6107
+ paginateListFlowExecutions,
5480
6108
  paginateListInvocationSteps,
5481
6109
  paginateListInvocations,
5482
6110
  paginateListSessions,
@@ -5500,10 +6128,22 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
5500
6128
  InvocationResultMember,
5501
6129
  PayloadType,
5502
6130
  InvocationInputMember,
6131
+ InternalServerException,
6132
+ ResourceNotFoundException,
6133
+ ThrottlingException,
6134
+ ValidationException,
6135
+ FlowExecutionErrorType,
6136
+ FlowExecutionStatus,
6137
+ FlowExecutionEventType,
6138
+ FlowErrorCode,
6139
+ FlowExecutionContent,
6140
+ NodeErrorCode,
6141
+ NodeExecutionContent,
6142
+ FlowExecutionEvent,
5503
6143
  BadGatewayException,
5504
6144
  ConflictException,
5505
6145
  DependencyFailedException,
5506
- InternalServerException,
6146
+ ServiceQuotaExceededException,
5507
6147
  FlowInputContent,
5508
6148
  PerformanceConfigLatency,
5509
6149
  FlowCompletionReason,
@@ -5513,10 +6153,6 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
5513
6153
  FlowTraceNodeInputContent,
5514
6154
  FlowTraceNodeOutputContent,
5515
6155
  FlowTrace,
5516
- ResourceNotFoundException,
5517
- ServiceQuotaExceededException,
5518
- ThrottlingException,
5519
- ValidationException,
5520
6156
  FlowResponseStream,
5521
6157
  InputQueryType,
5522
6158
  QueryTransformationMode,
@@ -5576,12 +6212,6 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
5576
6212
  QueryTransformationType,
5577
6213
  RetrieveAndGenerateType,
5578
6214
  GuadrailAction,
5579
- RetrieveAndGenerateStreamResponseOutput,
5580
- SessionStatus,
5581
- ImageFormat,
5582
- ImageSource,
5583
- BedrockSessionContentBlock,
5584
- InvocationStepPayload,
5585
6215
  ActionGroupInvocationInputFilterSensitiveLog,
5586
6216
  UsageFilterSensitiveLog,
5587
6217
  MetadataFilterSensitiveLog,
@@ -5601,8 +6231,25 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
5601
6231
  ReturnControlPayloadFilterSensitiveLog,
5602
6232
  AgentCollaboratorOutputPayloadFilterSensitiveLog,
5603
6233
  AgentCollaboratorInvocationOutputFilterSensitiveLog,
6234
+ SatisfiedConditionFilterSensitiveLog,
6235
+ ConditionResultEventFilterSensitiveLog,
6236
+ FlowFailureEventFilterSensitiveLog,
6237
+ FlowExecutionContentFilterSensitiveLog,
6238
+ FlowInputFieldFilterSensitiveLog,
6239
+ FlowExecutionInputEventFilterSensitiveLog,
6240
+ FlowOutputFieldFilterSensitiveLog,
6241
+ FlowExecutionOutputEventFilterSensitiveLog,
6242
+ NodeFailureEventFilterSensitiveLog,
6243
+ NodeExecutionContentFilterSensitiveLog,
6244
+ NodeInputFieldFilterSensitiveLog,
6245
+ NodeInputEventFilterSensitiveLog,
6246
+ NodeOutputFieldFilterSensitiveLog,
6247
+ NodeOutputEventFilterSensitiveLog,
6248
+ FlowExecutionEventFilterSensitiveLog,
6249
+ ListFlowExecutionEventsResponseFilterSensitiveLog,
5604
6250
  FlowInputContentFilterSensitiveLog,
5605
6251
  FlowInputFilterSensitiveLog,
6252
+ StartFlowExecutionRequestFilterSensitiveLog,
5606
6253
  InvokeFlowRequestFilterSensitiveLog,
5607
6254
  FlowCompletionEventFilterSensitiveLog,
5608
6255
  FlowMultiTurnInputRequestEventFilterSensitiveLog,
@@ -5724,6 +6371,13 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
5724
6371
  RetrieveAndGenerateResponseFilterSensitiveLog,
5725
6372
  CitationEventFilterSensitiveLog,
5726
6373
  RetrieveAndGenerateOutputEventFilterSensitiveLog,
6374
+ RetrieveAndGenerateStreamResponseOutput,
6375
+ SessionStatus,
6376
+ ImageFormat,
6377
+ ImageSource,
6378
+ BedrockSessionContentBlock,
6379
+ InvocationStepPayload,
6380
+ RetrievalFilter,
5727
6381
  RetrieveAndGenerateStreamResponseOutputFilterSensitiveLog,
5728
6382
  RetrieveAndGenerateStreamResponseFilterSensitiveLog,
5729
6383
  KnowledgeBaseQueryFilterSensitiveLog,
@@ -5734,7 +6388,6 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
5734
6388
  InvocationStepFilterSensitiveLog,
5735
6389
  GetInvocationStepResponseFilterSensitiveLog,
5736
6390
  PutInvocationStepRequestFilterSensitiveLog,
5737
- RetrievalFilter,
5738
6391
  RetrievalFilterFilterSensitiveLog,
5739
6392
  KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog,
5740
6393
  KnowledgeBaseRetrievalConfigurationFilterSensitiveLog,