aws-sdk-bedrockagentruntime 1.54.0 → 1.56.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.
@@ -80,6 +80,7 @@ module Aws::BedrockAgentRuntime
80
80
  CollaboratorConfiguration = Shapes::StructureShape.new(name: 'CollaboratorConfiguration')
81
81
  CollaboratorConfigurations = Shapes::ListShape.new(name: 'CollaboratorConfigurations')
82
82
  Collaborators = Shapes::ListShape.new(name: 'Collaborators')
83
+ ConditionResultEvent = Shapes::StructureShape.new(name: 'ConditionResultEvent')
83
84
  ConfirmationState = Shapes::StringShape.new(name: 'ConfirmationState')
84
85
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
85
86
  ContentBlock = Shapes::UnionShape.new(name: 'ContentBlock')
@@ -134,15 +135,36 @@ module Aws::BedrockAgentRuntime
134
135
  FlowAliasIdentifier = Shapes::StringShape.new(name: 'FlowAliasIdentifier')
135
136
  FlowCompletionEvent = Shapes::StructureShape.new(name: 'FlowCompletionEvent')
136
137
  FlowCompletionReason = Shapes::StringShape.new(name: 'FlowCompletionReason')
138
+ FlowErrorCode = Shapes::StringShape.new(name: 'FlowErrorCode')
139
+ FlowExecutionContent = Shapes::UnionShape.new(name: 'FlowExecutionContent')
140
+ FlowExecutionError = Shapes::StructureShape.new(name: 'FlowExecutionError')
141
+ FlowExecutionErrorType = Shapes::StringShape.new(name: 'FlowExecutionErrorType')
142
+ FlowExecutionErrors = Shapes::ListShape.new(name: 'FlowExecutionErrors')
143
+ FlowExecutionEvent = Shapes::UnionShape.new(name: 'FlowExecutionEvent')
144
+ FlowExecutionEventType = Shapes::StringShape.new(name: 'FlowExecutionEventType')
145
+ FlowExecutionEvents = Shapes::ListShape.new(name: 'FlowExecutionEvents')
137
146
  FlowExecutionId = Shapes::StringShape.new(name: 'FlowExecutionId')
147
+ FlowExecutionIdentifier = Shapes::StringShape.new(name: 'FlowExecutionIdentifier')
148
+ FlowExecutionInputEvent = Shapes::StructureShape.new(name: 'FlowExecutionInputEvent')
149
+ FlowExecutionName = Shapes::StringShape.new(name: 'FlowExecutionName')
150
+ FlowExecutionOutputEvent = Shapes::StructureShape.new(name: 'FlowExecutionOutputEvent')
151
+ FlowExecutionRoleArn = Shapes::StringShape.new(name: 'FlowExecutionRoleArn')
152
+ FlowExecutionStatus = Shapes::StringShape.new(name: 'FlowExecutionStatus')
153
+ FlowExecutionSummaries = Shapes::ListShape.new(name: 'FlowExecutionSummaries')
154
+ FlowExecutionSummary = Shapes::StructureShape.new(name: 'FlowExecutionSummary')
155
+ FlowFailureEvent = Shapes::StructureShape.new(name: 'FlowFailureEvent')
138
156
  FlowIdentifier = Shapes::StringShape.new(name: 'FlowIdentifier')
139
157
  FlowInput = Shapes::StructureShape.new(name: 'FlowInput')
140
158
  FlowInputContent = Shapes::UnionShape.new(name: 'FlowInputContent')
159
+ FlowInputField = Shapes::StructureShape.new(name: 'FlowInputField')
160
+ FlowInputFields = Shapes::ListShape.new(name: 'FlowInputFields')
141
161
  FlowInputs = Shapes::ListShape.new(name: 'FlowInputs')
142
162
  FlowMultiTurnInputContent = Shapes::UnionShape.new(name: 'FlowMultiTurnInputContent')
143
163
  FlowMultiTurnInputRequestEvent = Shapes::StructureShape.new(name: 'FlowMultiTurnInputRequestEvent')
144
164
  FlowOutputContent = Shapes::UnionShape.new(name: 'FlowOutputContent')
145
165
  FlowOutputEvent = Shapes::StructureShape.new(name: 'FlowOutputEvent')
166
+ FlowOutputField = Shapes::StructureShape.new(name: 'FlowOutputField')
167
+ FlowOutputFields = Shapes::ListShape.new(name: 'FlowOutputFields')
146
168
  FlowResponseStream = Shapes::StructureShape.new(name: 'FlowResponseStream')
147
169
  FlowTrace = Shapes::UnionShape.new(name: 'FlowTrace')
148
170
  FlowTraceCondition = Shapes::StructureShape.new(name: 'FlowTraceCondition')
@@ -176,6 +198,10 @@ module Aws::BedrockAgentRuntime
176
198
  GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
177
199
  GetAgentMemoryRequest = Shapes::StructureShape.new(name: 'GetAgentMemoryRequest')
178
200
  GetAgentMemoryResponse = Shapes::StructureShape.new(name: 'GetAgentMemoryResponse')
201
+ GetExecutionFlowSnapshotRequest = Shapes::StructureShape.new(name: 'GetExecutionFlowSnapshotRequest')
202
+ GetExecutionFlowSnapshotResponse = Shapes::StructureShape.new(name: 'GetExecutionFlowSnapshotResponse')
203
+ GetFlowExecutionRequest = Shapes::StructureShape.new(name: 'GetFlowExecutionRequest')
204
+ GetFlowExecutionResponse = Shapes::StructureShape.new(name: 'GetFlowExecutionResponse')
179
205
  GetInvocationStepRequest = Shapes::StructureShape.new(name: 'GetInvocationStepRequest')
180
206
  GetInvocationStepResponse = Shapes::StructureShape.new(name: 'GetInvocationStepResponse')
181
207
  GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
@@ -284,6 +310,10 @@ module Aws::BedrockAgentRuntime
284
310
  KnowledgeBases = Shapes::ListShape.new(name: 'KnowledgeBases')
285
311
  LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
286
312
  LambdaResourceArn = Shapes::StringShape.new(name: 'LambdaResourceArn')
313
+ ListFlowExecutionEventsRequest = Shapes::StructureShape.new(name: 'ListFlowExecutionEventsRequest')
314
+ ListFlowExecutionEventsResponse = Shapes::StructureShape.new(name: 'ListFlowExecutionEventsResponse')
315
+ ListFlowExecutionsRequest = Shapes::StructureShape.new(name: 'ListFlowExecutionsRequest')
316
+ ListFlowExecutionsResponse = Shapes::StructureShape.new(name: 'ListFlowExecutionsResponse')
287
317
  ListInvocationStepsRequest = Shapes::StructureShape.new(name: 'ListInvocationStepsRequest')
288
318
  ListInvocationStepsResponse = Shapes::StructureShape.new(name: 'ListInvocationStepsResponse')
289
319
  ListInvocationsRequest = Shapes::StructureShape.new(name: 'ListInvocationsRequest')
@@ -292,6 +322,7 @@ module Aws::BedrockAgentRuntime
292
322
  ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
293
323
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
294
324
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
325
+ Long = Shapes::IntegerShape.new(name: 'Long')
295
326
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
296
327
  MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
297
328
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
@@ -315,8 +346,17 @@ module Aws::BedrockAgentRuntime
315
346
  ModelPerformanceConfiguration = Shapes::StructureShape.new(name: 'ModelPerformanceConfiguration')
316
347
  Name = Shapes::StringShape.new(name: 'Name')
317
348
  NextToken = Shapes::StringShape.new(name: 'NextToken')
349
+ NodeErrorCode = Shapes::StringShape.new(name: 'NodeErrorCode')
350
+ NodeExecutionContent = Shapes::UnionShape.new(name: 'NodeExecutionContent')
351
+ NodeFailureEvent = Shapes::StructureShape.new(name: 'NodeFailureEvent')
352
+ NodeInputEvent = Shapes::StructureShape.new(name: 'NodeInputEvent')
353
+ NodeInputField = Shapes::StructureShape.new(name: 'NodeInputField')
354
+ NodeInputFields = Shapes::ListShape.new(name: 'NodeInputFields')
318
355
  NodeInputName = Shapes::StringShape.new(name: 'NodeInputName')
319
356
  NodeName = Shapes::StringShape.new(name: 'NodeName')
357
+ NodeOutputEvent = Shapes::StructureShape.new(name: 'NodeOutputEvent')
358
+ NodeOutputField = Shapes::StructureShape.new(name: 'NodeOutputField')
359
+ NodeOutputFields = Shapes::ListShape.new(name: 'NodeOutputFields')
320
360
  NodeOutputName = Shapes::StringShape.new(name: 'NodeOutputName')
321
361
  NodeType = Shapes::StringShape.new(name: 'NodeType')
322
362
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
@@ -455,6 +495,8 @@ module Aws::BedrockAgentRuntime
455
495
  S3ObjectFile = Shapes::StructureShape.new(name: 'S3ObjectFile')
456
496
  S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
457
497
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
498
+ SatisfiedCondition = Shapes::StructureShape.new(name: 'SatisfiedCondition')
499
+ SatisfiedConditions = Shapes::ListShape.new(name: 'SatisfiedConditions')
458
500
  SearchType = Shapes::StringShape.new(name: 'SearchType')
459
501
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
460
502
  SessionArn = Shapes::StringShape.new(name: 'SessionArn')
@@ -473,6 +515,10 @@ module Aws::BedrockAgentRuntime
473
515
  Span = Shapes::StructureShape.new(name: 'Span')
474
516
  SpanEndInteger = Shapes::IntegerShape.new(name: 'SpanEndInteger')
475
517
  SpanStartInteger = Shapes::IntegerShape.new(name: 'SpanStartInteger')
518
+ StartFlowExecutionRequest = Shapes::StructureShape.new(name: 'StartFlowExecutionRequest')
519
+ StartFlowExecutionResponse = Shapes::StructureShape.new(name: 'StartFlowExecutionResponse')
520
+ StopFlowExecutionRequest = Shapes::StructureShape.new(name: 'StopFlowExecutionRequest')
521
+ StopFlowExecutionResponse = Shapes::StructureShape.new(name: 'StopFlowExecutionResponse')
476
522
  StopSequences = Shapes::ListShape.new(name: 'StopSequences')
477
523
  StreamingConfigurations = Shapes::StructureShape.new(name: 'StreamingConfigurations')
478
524
  StreamingConfigurationsApplyGuardrailIntervalInteger = Shapes::IntegerShape.new(name: 'StreamingConfigurationsApplyGuardrailIntervalInteger')
@@ -517,6 +563,7 @@ module Aws::BedrockAgentRuntime
517
563
  VectorSearchRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchRerankingConfiguration')
518
564
  VectorSearchRerankingConfigurationType = Shapes::StringShape.new(name: 'VectorSearchRerankingConfigurationType')
519
565
  Verb = Shapes::StringShape.new(name: 'Verb')
566
+ Version = Shapes::StringShape.new(name: 'Version')
520
567
 
521
568
  APISchema.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
522
569
  APISchema.add_member(:s3, Shapes::ShapeRef.new(shape: S3Identifier, location_name: "s3"))
@@ -547,6 +594,7 @@ module Aws::BedrockAgentRuntime
547
594
  ActionGroupInvocationInput.add_member(:verb, Shapes::ShapeRef.new(shape: Verb, location_name: "verb"))
548
595
  ActionGroupInvocationInput.struct_class = Types::ActionGroupInvocationInput
549
596
 
597
+ ActionGroupInvocationOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
550
598
  ActionGroupInvocationOutput.add_member(:text, Shapes::ShapeRef.new(shape: ActionGroupOutputString, location_name: "text"))
551
599
  ActionGroupInvocationOutput.struct_class = Types::ActionGroupInvocationOutput
552
600
 
@@ -579,6 +627,7 @@ module Aws::BedrockAgentRuntime
579
627
 
580
628
  AgentCollaboratorInvocationOutput.add_member(:agent_collaborator_alias_arn, Shapes::ShapeRef.new(shape: AgentAliasArn, location_name: "agentCollaboratorAliasArn"))
581
629
  AgentCollaboratorInvocationOutput.add_member(:agent_collaborator_name, Shapes::ShapeRef.new(shape: String, location_name: "agentCollaboratorName"))
630
+ AgentCollaboratorInvocationOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
582
631
  AgentCollaboratorInvocationOutput.add_member(:output, Shapes::ShapeRef.new(shape: AgentCollaboratorOutputPayload, location_name: "output"))
583
632
  AgentCollaboratorInvocationOutput.struct_class = Types::AgentCollaboratorInvocationOutput
584
633
 
@@ -687,6 +736,7 @@ module Aws::BedrockAgentRuntime
687
736
  CodeInterpreterInvocationOutput.add_member(:execution_output, Shapes::ShapeRef.new(shape: String, location_name: "executionOutput"))
688
737
  CodeInterpreterInvocationOutput.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "executionTimeout"))
689
738
  CodeInterpreterInvocationOutput.add_member(:files, Shapes::ShapeRef.new(shape: Files, location_name: "files"))
739
+ CodeInterpreterInvocationOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
690
740
  CodeInterpreterInvocationOutput.struct_class = Types::CodeInterpreterInvocationOutput
691
741
 
692
742
  Collaborator.add_member(:action_groups, Shapes::ShapeRef.new(shape: AgentActionGroups, location_name: "actionGroups"))
@@ -712,6 +762,11 @@ module Aws::BedrockAgentRuntime
712
762
 
713
763
  Collaborators.member = Shapes::ShapeRef.new(shape: Collaborator)
714
764
 
765
+ ConditionResultEvent.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
766
+ ConditionResultEvent.add_member(:satisfied_conditions, Shapes::ShapeRef.new(shape: SatisfiedConditions, required: true, location_name: "satisfiedConditions"))
767
+ ConditionResultEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "timestamp"))
768
+ ConditionResultEvent.struct_class = Types::ConditionResultEvent
769
+
715
770
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
716
771
  ConflictException.struct_class = Types::ConflictException
717
772
 
@@ -808,7 +863,9 @@ module Aws::BedrockAgentRuntime
808
863
  ExternalSourcesRetrieveAndGenerateConfiguration.add_member(:sources, Shapes::ShapeRef.new(shape: ExternalSources, required: true, location_name: "sources"))
809
864
  ExternalSourcesRetrieveAndGenerateConfiguration.struct_class = Types::ExternalSourcesRetrieveAndGenerateConfiguration
810
865
 
866
+ FailureTrace.add_member(:failure_code, Shapes::ShapeRef.new(shape: Integer, location_name: "failureCode"))
811
867
  FailureTrace.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReasonString, location_name: "failureReason"))
868
+ FailureTrace.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
812
869
  FailureTrace.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
813
870
  FailureTrace.struct_class = Types::FailureTrace
814
871
 
@@ -831,12 +888,72 @@ module Aws::BedrockAgentRuntime
831
888
  FilterAttribute.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, required: true, location_name: "value"))
832
889
  FilterAttribute.struct_class = Types::FilterAttribute
833
890
 
891
+ FinalResponse.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
834
892
  FinalResponse.add_member(:text, Shapes::ShapeRef.new(shape: FinalResponseString, location_name: "text"))
835
893
  FinalResponse.struct_class = Types::FinalResponse
836
894
 
837
895
  FlowCompletionEvent.add_member(:completion_reason, Shapes::ShapeRef.new(shape: FlowCompletionReason, required: true, location_name: "completionReason"))
838
896
  FlowCompletionEvent.struct_class = Types::FlowCompletionEvent
839
897
 
898
+ FlowExecutionContent.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
899
+ FlowExecutionContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
900
+ FlowExecutionContent.add_member_subclass(:document, Types::FlowExecutionContent::Document)
901
+ FlowExecutionContent.add_member_subclass(:unknown, Types::FlowExecutionContent::Unknown)
902
+ FlowExecutionContent.struct_class = Types::FlowExecutionContent
903
+
904
+ FlowExecutionError.add_member(:error, Shapes::ShapeRef.new(shape: FlowExecutionErrorType, location_name: "error"))
905
+ FlowExecutionError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
906
+ FlowExecutionError.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, location_name: "nodeName"))
907
+ FlowExecutionError.struct_class = Types::FlowExecutionError
908
+
909
+ FlowExecutionErrors.member = Shapes::ShapeRef.new(shape: FlowExecutionError)
910
+
911
+ FlowExecutionEvent.add_member(:condition_result_event, Shapes::ShapeRef.new(shape: ConditionResultEvent, location_name: "conditionResultEvent"))
912
+ FlowExecutionEvent.add_member(:flow_failure_event, Shapes::ShapeRef.new(shape: FlowFailureEvent, location_name: "flowFailureEvent"))
913
+ FlowExecutionEvent.add_member(:flow_input_event, Shapes::ShapeRef.new(shape: FlowExecutionInputEvent, location_name: "flowInputEvent"))
914
+ FlowExecutionEvent.add_member(:flow_output_event, Shapes::ShapeRef.new(shape: FlowExecutionOutputEvent, location_name: "flowOutputEvent"))
915
+ FlowExecutionEvent.add_member(:node_failure_event, Shapes::ShapeRef.new(shape: NodeFailureEvent, location_name: "nodeFailureEvent"))
916
+ FlowExecutionEvent.add_member(:node_input_event, Shapes::ShapeRef.new(shape: NodeInputEvent, location_name: "nodeInputEvent"))
917
+ FlowExecutionEvent.add_member(:node_output_event, Shapes::ShapeRef.new(shape: NodeOutputEvent, location_name: "nodeOutputEvent"))
918
+ FlowExecutionEvent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
919
+ FlowExecutionEvent.add_member_subclass(:condition_result_event, Types::FlowExecutionEvent::ConditionResultEvent)
920
+ FlowExecutionEvent.add_member_subclass(:flow_failure_event, Types::FlowExecutionEvent::FlowFailureEvent)
921
+ FlowExecutionEvent.add_member_subclass(:flow_input_event, Types::FlowExecutionEvent::FlowInputEvent)
922
+ FlowExecutionEvent.add_member_subclass(:flow_output_event, Types::FlowExecutionEvent::FlowOutputEvent)
923
+ FlowExecutionEvent.add_member_subclass(:node_failure_event, Types::FlowExecutionEvent::NodeFailureEvent)
924
+ FlowExecutionEvent.add_member_subclass(:node_input_event, Types::FlowExecutionEvent::NodeInputEvent)
925
+ FlowExecutionEvent.add_member_subclass(:node_output_event, Types::FlowExecutionEvent::NodeOutputEvent)
926
+ FlowExecutionEvent.add_member_subclass(:unknown, Types::FlowExecutionEvent::Unknown)
927
+ FlowExecutionEvent.struct_class = Types::FlowExecutionEvent
928
+
929
+ FlowExecutionEvents.member = Shapes::ShapeRef.new(shape: FlowExecutionEvent)
930
+
931
+ FlowExecutionInputEvent.add_member(:fields, Shapes::ShapeRef.new(shape: FlowInputFields, required: true, location_name: "fields"))
932
+ FlowExecutionInputEvent.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
933
+ FlowExecutionInputEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "timestamp"))
934
+ FlowExecutionInputEvent.struct_class = Types::FlowExecutionInputEvent
935
+
936
+ FlowExecutionOutputEvent.add_member(:fields, Shapes::ShapeRef.new(shape: FlowOutputFields, required: true, location_name: "fields"))
937
+ FlowExecutionOutputEvent.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
938
+ FlowExecutionOutputEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "timestamp"))
939
+ FlowExecutionOutputEvent.struct_class = Types::FlowExecutionOutputEvent
940
+
941
+ FlowExecutionSummaries.member = Shapes::ShapeRef.new(shape: FlowExecutionSummary)
942
+
943
+ FlowExecutionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
944
+ FlowExecutionSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "endedAt"))
945
+ FlowExecutionSummary.add_member(:execution_arn, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, required: true, location_name: "executionArn"))
946
+ FlowExecutionSummary.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location_name: "flowAliasIdentifier"))
947
+ FlowExecutionSummary.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location_name: "flowIdentifier"))
948
+ FlowExecutionSummary.add_member(:flow_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "flowVersion"))
949
+ FlowExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: FlowExecutionStatus, required: true, location_name: "status"))
950
+ FlowExecutionSummary.struct_class = Types::FlowExecutionSummary
951
+
952
+ FlowFailureEvent.add_member(:error_code, Shapes::ShapeRef.new(shape: FlowErrorCode, required: true, location_name: "errorCode"))
953
+ FlowFailureEvent.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "errorMessage"))
954
+ FlowFailureEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "timestamp"))
955
+ FlowFailureEvent.struct_class = Types::FlowFailureEvent
956
+
840
957
  FlowInput.add_member(:content, Shapes::ShapeRef.new(shape: FlowInputContent, required: true, location_name: "content"))
841
958
  FlowInput.add_member(:node_input_name, Shapes::ShapeRef.new(shape: NodeInputName, location_name: "nodeInputName"))
842
959
  FlowInput.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
@@ -849,6 +966,12 @@ module Aws::BedrockAgentRuntime
849
966
  FlowInputContent.add_member_subclass(:unknown, Types::FlowInputContent::Unknown)
850
967
  FlowInputContent.struct_class = Types::FlowInputContent
851
968
 
969
+ FlowInputField.add_member(:content, Shapes::ShapeRef.new(shape: FlowExecutionContent, required: true, location_name: "content"))
970
+ FlowInputField.add_member(:name, Shapes::ShapeRef.new(shape: NodeInputName, required: true, location_name: "name"))
971
+ FlowInputField.struct_class = Types::FlowInputField
972
+
973
+ FlowInputFields.member = Shapes::ShapeRef.new(shape: FlowInputField)
974
+
852
975
  FlowInputs.member = Shapes::ShapeRef.new(shape: FlowInput)
853
976
 
854
977
  FlowMultiTurnInputContent.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
@@ -873,6 +996,12 @@ module Aws::BedrockAgentRuntime
873
996
  FlowOutputEvent.add_member(:node_type, Shapes::ShapeRef.new(shape: NodeType, required: true, location_name: "nodeType"))
874
997
  FlowOutputEvent.struct_class = Types::FlowOutputEvent
875
998
 
999
+ FlowOutputField.add_member(:content, Shapes::ShapeRef.new(shape: FlowExecutionContent, required: true, location_name: "content"))
1000
+ FlowOutputField.add_member(:name, Shapes::ShapeRef.new(shape: NodeOutputName, required: true, location_name: "name"))
1001
+ FlowOutputField.struct_class = Types::FlowOutputField
1002
+
1003
+ FlowOutputFields.member = Shapes::ShapeRef.new(shape: FlowOutputField)
1004
+
876
1005
  FlowResponseStream.add_member(:access_denied_exception, Shapes::ShapeRef.new(shape: AccessDeniedException, location_name: "accessDeniedException"))
877
1006
  FlowResponseStream.add_member(:bad_gateway_exception, Shapes::ShapeRef.new(shape: BadGatewayException, location_name: "badGatewayException"))
878
1007
  FlowResponseStream.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
@@ -1026,6 +1155,34 @@ module Aws::BedrockAgentRuntime
1026
1155
  GetAgentMemoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1027
1156
  GetAgentMemoryResponse.struct_class = Types::GetAgentMemoryResponse
1028
1157
 
1158
+ GetExecutionFlowSnapshotRequest.add_member(:execution_identifier, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, required: true, location: "uri", location_name: "executionIdentifier"))
1159
+ GetExecutionFlowSnapshotRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location: "uri", location_name: "flowAliasIdentifier"))
1160
+ GetExecutionFlowSnapshotRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
1161
+ GetExecutionFlowSnapshotRequest.struct_class = Types::GetExecutionFlowSnapshotRequest
1162
+
1163
+ GetExecutionFlowSnapshotResponse.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
1164
+ GetExecutionFlowSnapshotResponse.add_member(:definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "definition"))
1165
+ GetExecutionFlowSnapshotResponse.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: FlowExecutionRoleArn, required: true, location_name: "executionRoleArn"))
1166
+ GetExecutionFlowSnapshotResponse.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location_name: "flowAliasIdentifier"))
1167
+ GetExecutionFlowSnapshotResponse.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location_name: "flowIdentifier"))
1168
+ GetExecutionFlowSnapshotResponse.add_member(:flow_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "flowVersion"))
1169
+ GetExecutionFlowSnapshotResponse.struct_class = Types::GetExecutionFlowSnapshotResponse
1170
+
1171
+ GetFlowExecutionRequest.add_member(:execution_identifier, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, required: true, location: "uri", location_name: "executionIdentifier"))
1172
+ GetFlowExecutionRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location: "uri", location_name: "flowAliasIdentifier"))
1173
+ GetFlowExecutionRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
1174
+ GetFlowExecutionRequest.struct_class = Types::GetFlowExecutionRequest
1175
+
1176
+ GetFlowExecutionResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "endedAt"))
1177
+ GetFlowExecutionResponse.add_member(:errors, Shapes::ShapeRef.new(shape: FlowExecutionErrors, location_name: "errors"))
1178
+ GetFlowExecutionResponse.add_member(:execution_arn, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, required: true, location_name: "executionArn"))
1179
+ GetFlowExecutionResponse.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location_name: "flowAliasIdentifier"))
1180
+ GetFlowExecutionResponse.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location_name: "flowIdentifier"))
1181
+ GetFlowExecutionResponse.add_member(:flow_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "flowVersion"))
1182
+ GetFlowExecutionResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "startedAt"))
1183
+ GetFlowExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: FlowExecutionStatus, required: true, location_name: "status"))
1184
+ GetFlowExecutionResponse.struct_class = Types::GetFlowExecutionResponse
1185
+
1029
1186
  GetInvocationStepRequest.add_member(:invocation_identifier, Shapes::ShapeRef.new(shape: InvocationIdentifier, required: true, location_name: "invocationIdentifier"))
1030
1187
  GetInvocationStepRequest.add_member(:invocation_step_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "invocationStepId"))
1031
1188
  GetInvocationStepRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
@@ -1119,6 +1276,7 @@ module Aws::BedrockAgentRuntime
1119
1276
 
1120
1277
  GuardrailTrace.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailAction, location_name: "action"))
1121
1278
  GuardrailTrace.add_member(:input_assessments, Shapes::ShapeRef.new(shape: GuardrailAssessmentList, location_name: "inputAssessments"))
1279
+ GuardrailTrace.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
1122
1280
  GuardrailTrace.add_member(:output_assessments, Shapes::ShapeRef.new(shape: GuardrailAssessmentList, location_name: "outputAssessments"))
1123
1281
  GuardrailTrace.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
1124
1282
  GuardrailTrace.struct_class = Types::GuardrailTrace
@@ -1360,6 +1518,7 @@ module Aws::BedrockAgentRuntime
1360
1518
  KnowledgeBaseLookupInput.add_member(:text, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupInputString, location_name: "text"))
1361
1519
  KnowledgeBaseLookupInput.struct_class = Types::KnowledgeBaseLookupInput
1362
1520
 
1521
+ KnowledgeBaseLookupOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
1363
1522
  KnowledgeBaseLookupOutput.add_member(:retrieved_references, Shapes::ShapeRef.new(shape: RetrievedReferences, location_name: "retrievedReferences"))
1364
1523
  KnowledgeBaseLookupOutput.struct_class = Types::KnowledgeBaseLookupOutput
1365
1524
 
@@ -1393,6 +1552,28 @@ module Aws::BedrockAgentRuntime
1393
1552
 
1394
1553
  KnowledgeBases.member = Shapes::ShapeRef.new(shape: KnowledgeBase)
1395
1554
 
1555
+ ListFlowExecutionEventsRequest.add_member(:event_type, Shapes::ShapeRef.new(shape: FlowExecutionEventType, required: true, location: "querystring", location_name: "eventType"))
1556
+ ListFlowExecutionEventsRequest.add_member(:execution_identifier, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, required: true, location: "uri", location_name: "executionIdentifier"))
1557
+ ListFlowExecutionEventsRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location: "uri", location_name: "flowAliasIdentifier"))
1558
+ ListFlowExecutionEventsRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
1559
+ ListFlowExecutionEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1560
+ ListFlowExecutionEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1561
+ ListFlowExecutionEventsRequest.struct_class = Types::ListFlowExecutionEventsRequest
1562
+
1563
+ ListFlowExecutionEventsResponse.add_member(:flow_execution_events, Shapes::ShapeRef.new(shape: FlowExecutionEvents, required: true, location_name: "flowExecutionEvents"))
1564
+ ListFlowExecutionEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1565
+ ListFlowExecutionEventsResponse.struct_class = Types::ListFlowExecutionEventsResponse
1566
+
1567
+ ListFlowExecutionsRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, location: "querystring", location_name: "flowAliasIdentifier"))
1568
+ ListFlowExecutionsRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
1569
+ ListFlowExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1570
+ ListFlowExecutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1571
+ ListFlowExecutionsRequest.struct_class = Types::ListFlowExecutionsRequest
1572
+
1573
+ ListFlowExecutionsResponse.add_member(:flow_execution_summaries, Shapes::ShapeRef.new(shape: FlowExecutionSummaries, required: true, location_name: "flowExecutionSummaries"))
1574
+ ListFlowExecutionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1575
+ ListFlowExecutionsResponse.struct_class = Types::ListFlowExecutionsResponse
1576
+
1396
1577
  ListInvocationStepsRequest.add_member(:invocation_identifier, Shapes::ShapeRef.new(shape: InvocationIdentifier, location_name: "invocationIdentifier"))
1397
1578
  ListInvocationStepsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1398
1579
  ListInvocationStepsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1447,6 +1628,11 @@ module Aws::BedrockAgentRuntime
1447
1628
 
1448
1629
  Messages.member = Shapes::ShapeRef.new(shape: Message)
1449
1630
 
1631
+ Metadata.add_member(:client_request_id, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestId"))
1632
+ Metadata.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
1633
+ Metadata.add_member(:operation_total_time_ms, Shapes::ShapeRef.new(shape: Long, location_name: "operationTotalTimeMs"))
1634
+ Metadata.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startTime"))
1635
+ Metadata.add_member(:total_time_ms, Shapes::ShapeRef.new(shape: Long, location_name: "totalTimeMs"))
1450
1636
  Metadata.add_member(:usage, Shapes::ShapeRef.new(shape: Usage, location_name: "usage"))
1451
1637
  Metadata.struct_class = Types::Metadata
1452
1638
 
@@ -1477,6 +1663,40 @@ module Aws::BedrockAgentRuntime
1477
1663
  ModelPerformanceConfiguration.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
1478
1664
  ModelPerformanceConfiguration.struct_class = Types::ModelPerformanceConfiguration
1479
1665
 
1666
+ NodeExecutionContent.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
1667
+ NodeExecutionContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1668
+ NodeExecutionContent.add_member_subclass(:document, Types::NodeExecutionContent::Document)
1669
+ NodeExecutionContent.add_member_subclass(:unknown, Types::NodeExecutionContent::Unknown)
1670
+ NodeExecutionContent.struct_class = Types::NodeExecutionContent
1671
+
1672
+ NodeFailureEvent.add_member(:error_code, Shapes::ShapeRef.new(shape: NodeErrorCode, required: true, location_name: "errorCode"))
1673
+ NodeFailureEvent.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "errorMessage"))
1674
+ NodeFailureEvent.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
1675
+ NodeFailureEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "timestamp"))
1676
+ NodeFailureEvent.struct_class = Types::NodeFailureEvent
1677
+
1678
+ NodeInputEvent.add_member(:fields, Shapes::ShapeRef.new(shape: NodeInputFields, required: true, location_name: "fields"))
1679
+ NodeInputEvent.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
1680
+ NodeInputEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "timestamp"))
1681
+ NodeInputEvent.struct_class = Types::NodeInputEvent
1682
+
1683
+ NodeInputField.add_member(:content, Shapes::ShapeRef.new(shape: NodeExecutionContent, required: true, location_name: "content"))
1684
+ NodeInputField.add_member(:name, Shapes::ShapeRef.new(shape: NodeInputName, required: true, location_name: "name"))
1685
+ NodeInputField.struct_class = Types::NodeInputField
1686
+
1687
+ NodeInputFields.member = Shapes::ShapeRef.new(shape: NodeInputField)
1688
+
1689
+ NodeOutputEvent.add_member(:fields, Shapes::ShapeRef.new(shape: NodeOutputFields, required: true, location_name: "fields"))
1690
+ NodeOutputEvent.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
1691
+ NodeOutputEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "timestamp"))
1692
+ NodeOutputEvent.struct_class = Types::NodeOutputEvent
1693
+
1694
+ NodeOutputField.add_member(:content, Shapes::ShapeRef.new(shape: NodeExecutionContent, required: true, location_name: "content"))
1695
+ NodeOutputField.add_member(:name, Shapes::ShapeRef.new(shape: NodeOutputName, required: true, location_name: "name"))
1696
+ NodeOutputField.struct_class = Types::NodeOutputField
1697
+
1698
+ NodeOutputFields.member = Shapes::ShapeRef.new(shape: NodeOutputField)
1699
+
1480
1700
  Observation.add_member(:action_group_invocation_output, Shapes::ShapeRef.new(shape: ActionGroupInvocationOutput, location_name: "actionGroupInvocationOutput"))
1481
1701
  Observation.add_member(:agent_collaborator_invocation_output, Shapes::ShapeRef.new(shape: AgentCollaboratorInvocationOutput, location_name: "agentCollaboratorInvocationOutput"))
1482
1702
  Observation.add_member(:code_interpreter_invocation_output, Shapes::ShapeRef.new(shape: CodeInterpreterInvocationOutput, location_name: "codeInterpreterInvocationOutput"))
@@ -1954,6 +2174,11 @@ module Aws::BedrockAgentRuntime
1954
2174
  S3ObjectFile.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
1955
2175
  S3ObjectFile.struct_class = Types::S3ObjectFile
1956
2176
 
2177
+ SatisfiedCondition.add_member(:condition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "conditionName"))
2178
+ SatisfiedCondition.struct_class = Types::SatisfiedCondition
2179
+
2180
+ SatisfiedConditions.member = Shapes::ShapeRef.new(shape: SatisfiedCondition)
2181
+
1957
2182
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1958
2183
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1959
2184
 
@@ -1985,6 +2210,25 @@ module Aws::BedrockAgentRuntime
1985
2210
  Span.add_member(:start, Shapes::ShapeRef.new(shape: SpanStartInteger, location_name: "start"))
1986
2211
  Span.struct_class = Types::Span
1987
2212
 
2213
+ StartFlowExecutionRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location: "uri", location_name: "flowAliasIdentifier"))
2214
+ StartFlowExecutionRequest.add_member(:flow_execution_name, Shapes::ShapeRef.new(shape: FlowExecutionName, location_name: "flowExecutionName"))
2215
+ StartFlowExecutionRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
2216
+ StartFlowExecutionRequest.add_member(:inputs, Shapes::ShapeRef.new(shape: FlowInputs, required: true, location_name: "inputs"))
2217
+ StartFlowExecutionRequest.add_member(:model_performance_configuration, Shapes::ShapeRef.new(shape: ModelPerformanceConfiguration, location_name: "modelPerformanceConfiguration"))
2218
+ StartFlowExecutionRequest.struct_class = Types::StartFlowExecutionRequest
2219
+
2220
+ StartFlowExecutionResponse.add_member(:execution_arn, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, location_name: "executionArn"))
2221
+ StartFlowExecutionResponse.struct_class = Types::StartFlowExecutionResponse
2222
+
2223
+ StopFlowExecutionRequest.add_member(:execution_identifier, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, required: true, location: "uri", location_name: "executionIdentifier"))
2224
+ StopFlowExecutionRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location: "uri", location_name: "flowAliasIdentifier"))
2225
+ StopFlowExecutionRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
2226
+ StopFlowExecutionRequest.struct_class = Types::StopFlowExecutionRequest
2227
+
2228
+ StopFlowExecutionResponse.add_member(:execution_arn, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, location_name: "executionArn"))
2229
+ StopFlowExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: FlowExecutionStatus, required: true, location_name: "status"))
2230
+ StopFlowExecutionResponse.struct_class = Types::StopFlowExecutionResponse
2231
+
1988
2232
  StopSequences.member = Shapes::ShapeRef.new(shape: String)
1989
2233
 
1990
2234
  StreamingConfigurations.add_member(:apply_guardrail_interval, Shapes::ShapeRef.new(shape: StreamingConfigurationsApplyGuardrailIntervalInteger, location_name: "applyGuardrailInterval"))
@@ -2228,6 +2472,32 @@ module Aws::BedrockAgentRuntime
2228
2472
  )
2229
2473
  end)
2230
2474
 
2475
+ api.add_operation(:get_execution_flow_snapshot, Seahorse::Model::Operation.new.tap do |o|
2476
+ o.name = "GetExecutionFlowSnapshot"
2477
+ o.http_method = "GET"
2478
+ o.http_request_uri = "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/flowsnapshot"
2479
+ o.input = Shapes::ShapeRef.new(shape: GetExecutionFlowSnapshotRequest)
2480
+ o.output = Shapes::ShapeRef.new(shape: GetExecutionFlowSnapshotResponse)
2481
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2482
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2483
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2484
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2485
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2486
+ end)
2487
+
2488
+ api.add_operation(:get_flow_execution, Seahorse::Model::Operation.new.tap do |o|
2489
+ o.name = "GetFlowExecution"
2490
+ o.http_method = "GET"
2491
+ o.http_request_uri = "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}"
2492
+ o.input = Shapes::ShapeRef.new(shape: GetFlowExecutionRequest)
2493
+ o.output = Shapes::ShapeRef.new(shape: GetFlowExecutionResponse)
2494
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2495
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2496
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2497
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2498
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2499
+ end)
2500
+
2231
2501
  api.add_operation(:get_invocation_step, Seahorse::Model::Operation.new.tap do |o|
2232
2502
  o.name = "GetInvocationStep"
2233
2503
  o.http_method = "POST"
@@ -2306,6 +2576,44 @@ module Aws::BedrockAgentRuntime
2306
2576
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2307
2577
  end)
2308
2578
 
2579
+ api.add_operation(:list_flow_execution_events, Seahorse::Model::Operation.new.tap do |o|
2580
+ o.name = "ListFlowExecutionEvents"
2581
+ o.http_method = "GET"
2582
+ o.http_request_uri = "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/events"
2583
+ o.input = Shapes::ShapeRef.new(shape: ListFlowExecutionEventsRequest)
2584
+ o.output = Shapes::ShapeRef.new(shape: ListFlowExecutionEventsResponse)
2585
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2586
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2587
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2588
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2589
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2590
+ o[:pager] = Aws::Pager.new(
2591
+ limit_key: "max_results",
2592
+ tokens: {
2593
+ "next_token" => "next_token"
2594
+ }
2595
+ )
2596
+ end)
2597
+
2598
+ api.add_operation(:list_flow_executions, Seahorse::Model::Operation.new.tap do |o|
2599
+ o.name = "ListFlowExecutions"
2600
+ o.http_method = "GET"
2601
+ o.http_request_uri = "/flows/{flowIdentifier}/executions"
2602
+ o.input = Shapes::ShapeRef.new(shape: ListFlowExecutionsRequest)
2603
+ o.output = Shapes::ShapeRef.new(shape: ListFlowExecutionsResponse)
2604
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2605
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2606
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2607
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2608
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2609
+ o[:pager] = Aws::Pager.new(
2610
+ limit_key: "max_results",
2611
+ tokens: {
2612
+ "next_token" => "next_token"
2613
+ }
2614
+ )
2615
+ end)
2616
+
2309
2617
  api.add_operation(:list_invocation_steps, Seahorse::Model::Operation.new.tap do |o|
2310
2618
  o.name = "ListInvocationSteps"
2311
2619
  o.http_method = "POST"
@@ -2482,6 +2790,39 @@ module Aws::BedrockAgentRuntime
2482
2790
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2483
2791
  end)
2484
2792
 
2793
+ api.add_operation(:start_flow_execution, Seahorse::Model::Operation.new.tap do |o|
2794
+ o.name = "StartFlowExecution"
2795
+ o.http_method = "POST"
2796
+ o.http_request_uri = "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions"
2797
+ o.input = Shapes::ShapeRef.new(shape: StartFlowExecutionRequest)
2798
+ o.output = Shapes::ShapeRef.new(shape: StartFlowExecutionResponse)
2799
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2800
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2801
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2802
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2803
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
2804
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
2805
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2806
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2807
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2808
+ end)
2809
+
2810
+ api.add_operation(:stop_flow_execution, Seahorse::Model::Operation.new.tap do |o|
2811
+ o.name = "StopFlowExecution"
2812
+ o.http_method = "POST"
2813
+ o.http_request_uri = "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop"
2814
+ o.input = Shapes::ShapeRef.new(shape: StopFlowExecutionRequest)
2815
+ o.output = Shapes::ShapeRef.new(shape: StopFlowExecutionResponse)
2816
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2817
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2818
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2819
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2820
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
2821
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
2822
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2823
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2824
+ end)
2825
+
2485
2826
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2486
2827
  o.name = "TagResource"
2487
2828
  o.http_method = "POST"