aws-sdk-bedrockagentruntime 1.55.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')
@@ -316,8 +346,17 @@ module Aws::BedrockAgentRuntime
316
346
  ModelPerformanceConfiguration = Shapes::StructureShape.new(name: 'ModelPerformanceConfiguration')
317
347
  Name = Shapes::StringShape.new(name: 'Name')
318
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')
319
355
  NodeInputName = Shapes::StringShape.new(name: 'NodeInputName')
320
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')
321
360
  NodeOutputName = Shapes::StringShape.new(name: 'NodeOutputName')
322
361
  NodeType = Shapes::StringShape.new(name: 'NodeType')
323
362
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
@@ -456,6 +495,8 @@ module Aws::BedrockAgentRuntime
456
495
  S3ObjectFile = Shapes::StructureShape.new(name: 'S3ObjectFile')
457
496
  S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
458
497
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
498
+ SatisfiedCondition = Shapes::StructureShape.new(name: 'SatisfiedCondition')
499
+ SatisfiedConditions = Shapes::ListShape.new(name: 'SatisfiedConditions')
459
500
  SearchType = Shapes::StringShape.new(name: 'SearchType')
460
501
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
461
502
  SessionArn = Shapes::StringShape.new(name: 'SessionArn')
@@ -474,6 +515,10 @@ module Aws::BedrockAgentRuntime
474
515
  Span = Shapes::StructureShape.new(name: 'Span')
475
516
  SpanEndInteger = Shapes::IntegerShape.new(name: 'SpanEndInteger')
476
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')
477
522
  StopSequences = Shapes::ListShape.new(name: 'StopSequences')
478
523
  StreamingConfigurations = Shapes::StructureShape.new(name: 'StreamingConfigurations')
479
524
  StreamingConfigurationsApplyGuardrailIntervalInteger = Shapes::IntegerShape.new(name: 'StreamingConfigurationsApplyGuardrailIntervalInteger')
@@ -518,6 +563,7 @@ module Aws::BedrockAgentRuntime
518
563
  VectorSearchRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchRerankingConfiguration')
519
564
  VectorSearchRerankingConfigurationType = Shapes::StringShape.new(name: 'VectorSearchRerankingConfigurationType')
520
565
  Verb = Shapes::StringShape.new(name: 'Verb')
566
+ Version = Shapes::StringShape.new(name: 'Version')
521
567
 
522
568
  APISchema.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
523
569
  APISchema.add_member(:s3, Shapes::ShapeRef.new(shape: S3Identifier, location_name: "s3"))
@@ -716,6 +762,11 @@ module Aws::BedrockAgentRuntime
716
762
 
717
763
  Collaborators.member = Shapes::ShapeRef.new(shape: Collaborator)
718
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
+
719
770
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
720
771
  ConflictException.struct_class = Types::ConflictException
721
772
 
@@ -844,6 +895,65 @@ module Aws::BedrockAgentRuntime
844
895
  FlowCompletionEvent.add_member(:completion_reason, Shapes::ShapeRef.new(shape: FlowCompletionReason, required: true, location_name: "completionReason"))
845
896
  FlowCompletionEvent.struct_class = Types::FlowCompletionEvent
846
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
+
847
957
  FlowInput.add_member(:content, Shapes::ShapeRef.new(shape: FlowInputContent, required: true, location_name: "content"))
848
958
  FlowInput.add_member(:node_input_name, Shapes::ShapeRef.new(shape: NodeInputName, location_name: "nodeInputName"))
849
959
  FlowInput.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "nodeName"))
@@ -856,6 +966,12 @@ module Aws::BedrockAgentRuntime
856
966
  FlowInputContent.add_member_subclass(:unknown, Types::FlowInputContent::Unknown)
857
967
  FlowInputContent.struct_class = Types::FlowInputContent
858
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
+
859
975
  FlowInputs.member = Shapes::ShapeRef.new(shape: FlowInput)
860
976
 
861
977
  FlowMultiTurnInputContent.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
@@ -880,6 +996,12 @@ module Aws::BedrockAgentRuntime
880
996
  FlowOutputEvent.add_member(:node_type, Shapes::ShapeRef.new(shape: NodeType, required: true, location_name: "nodeType"))
881
997
  FlowOutputEvent.struct_class = Types::FlowOutputEvent
882
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
+
883
1005
  FlowResponseStream.add_member(:access_denied_exception, Shapes::ShapeRef.new(shape: AccessDeniedException, location_name: "accessDeniedException"))
884
1006
  FlowResponseStream.add_member(:bad_gateway_exception, Shapes::ShapeRef.new(shape: BadGatewayException, location_name: "badGatewayException"))
885
1007
  FlowResponseStream.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
@@ -1033,6 +1155,34 @@ module Aws::BedrockAgentRuntime
1033
1155
  GetAgentMemoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1034
1156
  GetAgentMemoryResponse.struct_class = Types::GetAgentMemoryResponse
1035
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
+
1036
1186
  GetInvocationStepRequest.add_member(:invocation_identifier, Shapes::ShapeRef.new(shape: InvocationIdentifier, required: true, location_name: "invocationIdentifier"))
1037
1187
  GetInvocationStepRequest.add_member(:invocation_step_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "invocationStepId"))
1038
1188
  GetInvocationStepRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
@@ -1402,6 +1552,28 @@ module Aws::BedrockAgentRuntime
1402
1552
 
1403
1553
  KnowledgeBases.member = Shapes::ShapeRef.new(shape: KnowledgeBase)
1404
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
+
1405
1577
  ListInvocationStepsRequest.add_member(:invocation_identifier, Shapes::ShapeRef.new(shape: InvocationIdentifier, location_name: "invocationIdentifier"))
1406
1578
  ListInvocationStepsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1407
1579
  ListInvocationStepsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1491,6 +1663,40 @@ module Aws::BedrockAgentRuntime
1491
1663
  ModelPerformanceConfiguration.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
1492
1664
  ModelPerformanceConfiguration.struct_class = Types::ModelPerformanceConfiguration
1493
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
+
1494
1700
  Observation.add_member(:action_group_invocation_output, Shapes::ShapeRef.new(shape: ActionGroupInvocationOutput, location_name: "actionGroupInvocationOutput"))
1495
1701
  Observation.add_member(:agent_collaborator_invocation_output, Shapes::ShapeRef.new(shape: AgentCollaboratorInvocationOutput, location_name: "agentCollaboratorInvocationOutput"))
1496
1702
  Observation.add_member(:code_interpreter_invocation_output, Shapes::ShapeRef.new(shape: CodeInterpreterInvocationOutput, location_name: "codeInterpreterInvocationOutput"))
@@ -1968,6 +2174,11 @@ module Aws::BedrockAgentRuntime
1968
2174
  S3ObjectFile.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
1969
2175
  S3ObjectFile.struct_class = Types::S3ObjectFile
1970
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
+
1971
2182
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1972
2183
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1973
2184
 
@@ -1999,6 +2210,25 @@ module Aws::BedrockAgentRuntime
1999
2210
  Span.add_member(:start, Shapes::ShapeRef.new(shape: SpanStartInteger, location_name: "start"))
2000
2211
  Span.struct_class = Types::Span
2001
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
+
2002
2232
  StopSequences.member = Shapes::ShapeRef.new(shape: String)
2003
2233
 
2004
2234
  StreamingConfigurations.add_member(:apply_guardrail_interval, Shapes::ShapeRef.new(shape: StreamingConfigurationsApplyGuardrailIntervalInteger, location_name: "applyGuardrailInterval"))
@@ -2242,6 +2472,32 @@ module Aws::BedrockAgentRuntime
2242
2472
  )
2243
2473
  end)
2244
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
+
2245
2501
  api.add_operation(:get_invocation_step, Seahorse::Model::Operation.new.tap do |o|
2246
2502
  o.name = "GetInvocationStep"
2247
2503
  o.http_method = "POST"
@@ -2320,6 +2576,44 @@ module Aws::BedrockAgentRuntime
2320
2576
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2321
2577
  end)
2322
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
+
2323
2617
  api.add_operation(:list_invocation_steps, Seahorse::Model::Operation.new.tap do |o|
2324
2618
  o.name = "ListInvocationSteps"
2325
2619
  o.http_method = "POST"
@@ -2496,6 +2790,39 @@ module Aws::BedrockAgentRuntime
2496
2790
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2497
2791
  end)
2498
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
+
2499
2826
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2500
2827
  o.name = "TagResource"
2501
2828
  o.http_method = "POST"