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.
@@ -55,7 +55,7 @@ module Aws::BedrockAgentRuntime
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagentruntime/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-bedrockagentruntime/event_streams'
57
57
 
58
- GEM_VERSION = '1.55.0'
58
+ GEM_VERSION = '1.56.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -180,6 +180,42 @@ module Aws
180
180
  ) -> _GetAgentMemoryResponseSuccess
181
181
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentMemoryResponseSuccess
182
182
 
183
+ interface _GetExecutionFlowSnapshotResponseSuccess
184
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetExecutionFlowSnapshotResponse]
185
+ def customer_encryption_key_arn: () -> ::String
186
+ def definition: () -> ::String
187
+ def execution_role_arn: () -> ::String
188
+ def flow_alias_identifier: () -> ::String
189
+ def flow_identifier: () -> ::String
190
+ def flow_version: () -> ::String
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#get_execution_flow_snapshot-instance_method
193
+ def get_execution_flow_snapshot: (
194
+ execution_identifier: ::String,
195
+ flow_alias_identifier: ::String,
196
+ flow_identifier: ::String
197
+ ) -> _GetExecutionFlowSnapshotResponseSuccess
198
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExecutionFlowSnapshotResponseSuccess
199
+
200
+ interface _GetFlowExecutionResponseSuccess
201
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFlowExecutionResponse]
202
+ def ended_at: () -> ::Time
203
+ def errors: () -> ::Array[Types::FlowExecutionError]
204
+ def execution_arn: () -> ::String
205
+ def flow_alias_identifier: () -> ::String
206
+ def flow_identifier: () -> ::String
207
+ def flow_version: () -> ::String
208
+ def started_at: () -> ::Time
209
+ def status: () -> ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted")
210
+ end
211
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#get_flow_execution-instance_method
212
+ def get_flow_execution: (
213
+ execution_identifier: ::String,
214
+ flow_alias_identifier: ::String,
215
+ flow_identifier: ::String
216
+ ) -> _GetFlowExecutionResponseSuccess
217
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFlowExecutionResponseSuccess
218
+
183
219
  interface _GetInvocationStepResponseSuccess
184
220
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInvocationStepResponse]
185
221
  def invocation_step: () -> Types::InvocationStep
@@ -929,6 +965,36 @@ module Aws
929
965
  ) ?{ (*untyped) -> void } -> _InvokeInlineAgentResponseSuccess
930
966
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeInlineAgentResponseSuccess
931
967
 
968
+ interface _ListFlowExecutionEventsResponseSuccess
969
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFlowExecutionEventsResponse]
970
+ def flow_execution_events: () -> ::Array[Types::FlowExecutionEvent]
971
+ def next_token: () -> ::String
972
+ end
973
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_flow_execution_events-instance_method
974
+ def list_flow_execution_events: (
975
+ event_type: ("Node" | "Flow"),
976
+ execution_identifier: ::String,
977
+ flow_alias_identifier: ::String,
978
+ flow_identifier: ::String,
979
+ ?max_results: ::Integer,
980
+ ?next_token: ::String
981
+ ) -> _ListFlowExecutionEventsResponseSuccess
982
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowExecutionEventsResponseSuccess
983
+
984
+ interface _ListFlowExecutionsResponseSuccess
985
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFlowExecutionsResponse]
986
+ def flow_execution_summaries: () -> ::Array[Types::FlowExecutionSummary]
987
+ def next_token: () -> ::String
988
+ end
989
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#list_flow_executions-instance_method
990
+ def list_flow_executions: (
991
+ ?flow_alias_identifier: ::String,
992
+ flow_identifier: ::String,
993
+ ?max_results: ::Integer,
994
+ ?next_token: ::String
995
+ ) -> _ListFlowExecutionsResponseSuccess
996
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowExecutionsResponseSuccess
997
+
932
998
  interface _ListInvocationStepsResponseSuccess
933
999
  include ::Seahorse::Client::_ResponseSuccess[Types::ListInvocationStepsResponse]
934
1000
  def invocation_step_summaries: () -> ::Array[Types::InvocationStepSummary]
@@ -1612,6 +1678,47 @@ module Aws
1612
1678
  ) ?{ (*untyped) -> void } -> _RetrieveAndGenerateStreamResponseSuccess
1613
1679
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _RetrieveAndGenerateStreamResponseSuccess
1614
1680
 
1681
+ interface _StartFlowExecutionResponseSuccess
1682
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartFlowExecutionResponse]
1683
+ def execution_arn: () -> ::String
1684
+ end
1685
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#start_flow_execution-instance_method
1686
+ def start_flow_execution: (
1687
+ flow_alias_identifier: ::String,
1688
+ ?flow_execution_name: ::String,
1689
+ flow_identifier: ::String,
1690
+ inputs: Array[
1691
+ {
1692
+ content: {
1693
+ document: {
1694
+ }?
1695
+ },
1696
+ node_input_name: ::String?,
1697
+ node_name: ::String,
1698
+ node_output_name: ::String?
1699
+ },
1700
+ ],
1701
+ ?model_performance_configuration: {
1702
+ performance_config: {
1703
+ latency: ("standard" | "optimized")?
1704
+ }?
1705
+ }
1706
+ ) -> _StartFlowExecutionResponseSuccess
1707
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartFlowExecutionResponseSuccess
1708
+
1709
+ interface _StopFlowExecutionResponseSuccess
1710
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopFlowExecutionResponse]
1711
+ def execution_arn: () -> ::String
1712
+ def status: () -> ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted")
1713
+ end
1714
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#stop_flow_execution-instance_method
1715
+ def stop_flow_execution: (
1716
+ execution_identifier: ::String,
1717
+ flow_alias_identifier: ::String,
1718
+ flow_identifier: ::String
1719
+ ) -> _StopFlowExecutionResponseSuccess
1720
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopFlowExecutionResponseSuccess
1721
+
1615
1722
  interface _TagResourceResponseSuccess
1616
1723
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1617
1724
  end
data/sig/types.rbs CHANGED
@@ -261,6 +261,13 @@ module Aws::BedrockAgentRuntime
261
261
  SENSITIVE: [:collaborator_instruction, :collaborator_name]
262
262
  end
263
263
 
264
+ class ConditionResultEvent
265
+ attr_accessor node_name: ::String
266
+ attr_accessor satisfied_conditions: ::Array[Types::SatisfiedCondition]
267
+ attr_accessor timestamp: ::Time
268
+ SENSITIVE: []
269
+ end
270
+
264
271
  class ConflictException
265
272
  attr_accessor message: ::String
266
273
  attr_accessor event_type: untyped
@@ -439,6 +446,85 @@ module Aws::BedrockAgentRuntime
439
446
  SENSITIVE: []
440
447
  end
441
448
 
449
+ class FlowExecutionContent
450
+ attr_accessor document: untyped
451
+ attr_accessor unknown: untyped
452
+ SENSITIVE: []
453
+
454
+ class Document < FlowExecutionContent
455
+ end
456
+ class Unknown < FlowExecutionContent
457
+ end
458
+ end
459
+
460
+ class FlowExecutionError
461
+ attr_accessor error: ("ExecutionTimedOut")
462
+ attr_accessor message: ::String
463
+ attr_accessor node_name: ::String
464
+ SENSITIVE: []
465
+ end
466
+
467
+ class FlowExecutionEvent
468
+ attr_accessor condition_result_event: Types::ConditionResultEvent
469
+ attr_accessor flow_failure_event: Types::FlowFailureEvent
470
+ attr_accessor flow_input_event: Types::FlowExecutionInputEvent
471
+ attr_accessor flow_output_event: Types::FlowExecutionOutputEvent
472
+ attr_accessor node_failure_event: Types::NodeFailureEvent
473
+ attr_accessor node_input_event: Types::NodeInputEvent
474
+ attr_accessor node_output_event: Types::NodeOutputEvent
475
+ attr_accessor unknown: untyped
476
+ SENSITIVE: [:condition_result_event, :flow_failure_event, :flow_input_event, :flow_output_event, :node_failure_event, :node_input_event, :node_output_event]
477
+
478
+ class ConditionResultEvent < FlowExecutionEvent
479
+ end
480
+ class FlowFailureEvent < FlowExecutionEvent
481
+ end
482
+ class FlowInputEvent < FlowExecutionEvent
483
+ end
484
+ class FlowOutputEvent < FlowExecutionEvent
485
+ end
486
+ class NodeFailureEvent < FlowExecutionEvent
487
+ end
488
+ class NodeInputEvent < FlowExecutionEvent
489
+ end
490
+ class NodeOutputEvent < FlowExecutionEvent
491
+ end
492
+ class Unknown < FlowExecutionEvent
493
+ end
494
+ end
495
+
496
+ class FlowExecutionInputEvent
497
+ attr_accessor fields: ::Array[Types::FlowInputField]
498
+ attr_accessor node_name: ::String
499
+ attr_accessor timestamp: ::Time
500
+ SENSITIVE: []
501
+ end
502
+
503
+ class FlowExecutionOutputEvent
504
+ attr_accessor fields: ::Array[Types::FlowOutputField]
505
+ attr_accessor node_name: ::String
506
+ attr_accessor timestamp: ::Time
507
+ SENSITIVE: []
508
+ end
509
+
510
+ class FlowExecutionSummary
511
+ attr_accessor created_at: ::Time
512
+ attr_accessor ended_at: ::Time
513
+ attr_accessor execution_arn: ::String
514
+ attr_accessor flow_alias_identifier: ::String
515
+ attr_accessor flow_identifier: ::String
516
+ attr_accessor flow_version: ::String
517
+ attr_accessor status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted")
518
+ SENSITIVE: []
519
+ end
520
+
521
+ class FlowFailureEvent
522
+ attr_accessor error_code: ("VALIDATION" | "INTERNAL_SERVER" | "NODE_EXECUTION_FAILED")
523
+ attr_accessor error_message: ::String
524
+ attr_accessor timestamp: ::Time
525
+ SENSITIVE: []
526
+ end
527
+
442
528
  class FlowInput
443
529
  attr_accessor content: Types::FlowInputContent
444
530
  attr_accessor node_input_name: ::String
@@ -458,6 +544,12 @@ module Aws::BedrockAgentRuntime
458
544
  end
459
545
  end
460
546
 
547
+ class FlowInputField
548
+ attr_accessor content: Types::FlowExecutionContent
549
+ attr_accessor name: ::String
550
+ SENSITIVE: [:content]
551
+ end
552
+
461
553
  class FlowMultiTurnInputContent
462
554
  attr_accessor document: untyped
463
555
  attr_accessor unknown: untyped
@@ -496,6 +588,12 @@ module Aws::BedrockAgentRuntime
496
588
  SENSITIVE: []
497
589
  end
498
590
 
591
+ class FlowOutputField
592
+ attr_accessor content: Types::FlowExecutionContent
593
+ attr_accessor name: ::String
594
+ SENSITIVE: [:content]
595
+ end
596
+
499
597
  class FlowTrace
500
598
  attr_accessor condition_node_result_trace: Types::FlowTraceConditionNodeResultEvent
501
599
  attr_accessor node_action_trace: Types::FlowTraceNodeActionEvent
@@ -684,6 +782,42 @@ module Aws::BedrockAgentRuntime
684
782
  SENSITIVE: []
685
783
  end
686
784
 
785
+ class GetExecutionFlowSnapshotRequest
786
+ attr_accessor execution_identifier: ::String
787
+ attr_accessor flow_alias_identifier: ::String
788
+ attr_accessor flow_identifier: ::String
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class GetExecutionFlowSnapshotResponse
793
+ attr_accessor customer_encryption_key_arn: ::String
794
+ attr_accessor definition: ::String
795
+ attr_accessor execution_role_arn: ::String
796
+ attr_accessor flow_alias_identifier: ::String
797
+ attr_accessor flow_identifier: ::String
798
+ attr_accessor flow_version: ::String
799
+ SENSITIVE: []
800
+ end
801
+
802
+ class GetFlowExecutionRequest
803
+ attr_accessor execution_identifier: ::String
804
+ attr_accessor flow_alias_identifier: ::String
805
+ attr_accessor flow_identifier: ::String
806
+ SENSITIVE: []
807
+ end
808
+
809
+ class GetFlowExecutionResponse
810
+ attr_accessor ended_at: ::Time
811
+ attr_accessor errors: ::Array[Types::FlowExecutionError]
812
+ attr_accessor execution_arn: ::String
813
+ attr_accessor flow_alias_identifier: ::String
814
+ attr_accessor flow_identifier: ::String
815
+ attr_accessor flow_version: ::String
816
+ attr_accessor started_at: ::Time
817
+ attr_accessor status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted")
818
+ SENSITIVE: []
819
+ end
820
+
687
821
  class GetInvocationStepRequest
688
822
  attr_accessor invocation_identifier: ::String
689
823
  attr_accessor invocation_step_id: ::String
@@ -1143,6 +1277,36 @@ module Aws::BedrockAgentRuntime
1143
1277
  SENSITIVE: [:filter]
1144
1278
  end
1145
1279
 
1280
+ class ListFlowExecutionEventsRequest
1281
+ attr_accessor event_type: ("Node" | "Flow")
1282
+ attr_accessor execution_identifier: ::String
1283
+ attr_accessor flow_alias_identifier: ::String
1284
+ attr_accessor flow_identifier: ::String
1285
+ attr_accessor max_results: ::Integer
1286
+ attr_accessor next_token: ::String
1287
+ SENSITIVE: []
1288
+ end
1289
+
1290
+ class ListFlowExecutionEventsResponse
1291
+ attr_accessor flow_execution_events: ::Array[Types::FlowExecutionEvent]
1292
+ attr_accessor next_token: ::String
1293
+ SENSITIVE: []
1294
+ end
1295
+
1296
+ class ListFlowExecutionsRequest
1297
+ attr_accessor flow_alias_identifier: ::String
1298
+ attr_accessor flow_identifier: ::String
1299
+ attr_accessor max_results: ::Integer
1300
+ attr_accessor next_token: ::String
1301
+ SENSITIVE: []
1302
+ end
1303
+
1304
+ class ListFlowExecutionsResponse
1305
+ attr_accessor flow_execution_summaries: ::Array[Types::FlowExecutionSummary]
1306
+ attr_accessor next_token: ::String
1307
+ SENSITIVE: []
1308
+ end
1309
+
1146
1310
  class ListInvocationStepsRequest
1147
1311
  attr_accessor invocation_identifier: ::String
1148
1312
  attr_accessor max_results: ::Integer
@@ -1264,6 +1428,51 @@ module Aws::BedrockAgentRuntime
1264
1428
  SENSITIVE: []
1265
1429
  end
1266
1430
 
1431
+ class NodeExecutionContent
1432
+ attr_accessor document: untyped
1433
+ attr_accessor unknown: untyped
1434
+ SENSITIVE: []
1435
+
1436
+ class Document < NodeExecutionContent
1437
+ end
1438
+ class Unknown < NodeExecutionContent
1439
+ end
1440
+ end
1441
+
1442
+ class NodeFailureEvent
1443
+ attr_accessor error_code: ("VALIDATION" | "DEPENDENCY_FAILED" | "BAD_GATEWAY" | "INTERNAL_SERVER")
1444
+ attr_accessor error_message: ::String
1445
+ attr_accessor node_name: ::String
1446
+ attr_accessor timestamp: ::Time
1447
+ SENSITIVE: []
1448
+ end
1449
+
1450
+ class NodeInputEvent
1451
+ attr_accessor fields: ::Array[Types::NodeInputField]
1452
+ attr_accessor node_name: ::String
1453
+ attr_accessor timestamp: ::Time
1454
+ SENSITIVE: []
1455
+ end
1456
+
1457
+ class NodeInputField
1458
+ attr_accessor content: Types::NodeExecutionContent
1459
+ attr_accessor name: ::String
1460
+ SENSITIVE: [:content]
1461
+ end
1462
+
1463
+ class NodeOutputEvent
1464
+ attr_accessor fields: ::Array[Types::NodeOutputField]
1465
+ attr_accessor node_name: ::String
1466
+ attr_accessor timestamp: ::Time
1467
+ SENSITIVE: []
1468
+ end
1469
+
1470
+ class NodeOutputField
1471
+ attr_accessor content: Types::NodeExecutionContent
1472
+ attr_accessor name: ::String
1473
+ SENSITIVE: [:content]
1474
+ end
1475
+
1267
1476
  class Observation
1268
1477
  attr_accessor action_group_invocation_output: Types::ActionGroupInvocationOutput
1269
1478
  attr_accessor agent_collaborator_invocation_output: Types::AgentCollaboratorInvocationOutput
@@ -1868,6 +2077,11 @@ module Aws::BedrockAgentRuntime
1868
2077
  SENSITIVE: []
1869
2078
  end
1870
2079
 
2080
+ class SatisfiedCondition
2081
+ attr_accessor condition_name: ::String
2082
+ SENSITIVE: []
2083
+ end
2084
+
1871
2085
  class ServiceQuotaExceededException
1872
2086
  attr_accessor message: ::String
1873
2087
  attr_accessor event_type: untyped
@@ -1900,6 +2114,33 @@ module Aws::BedrockAgentRuntime
1900
2114
  SENSITIVE: []
1901
2115
  end
1902
2116
 
2117
+ class StartFlowExecutionRequest
2118
+ attr_accessor flow_alias_identifier: ::String
2119
+ attr_accessor flow_execution_name: ::String
2120
+ attr_accessor flow_identifier: ::String
2121
+ attr_accessor inputs: ::Array[Types::FlowInput]
2122
+ attr_accessor model_performance_configuration: Types::ModelPerformanceConfiguration
2123
+ SENSITIVE: []
2124
+ end
2125
+
2126
+ class StartFlowExecutionResponse
2127
+ attr_accessor execution_arn: ::String
2128
+ SENSITIVE: []
2129
+ end
2130
+
2131
+ class StopFlowExecutionRequest
2132
+ attr_accessor execution_identifier: ::String
2133
+ attr_accessor flow_alias_identifier: ::String
2134
+ attr_accessor flow_identifier: ::String
2135
+ SENSITIVE: []
2136
+ end
2137
+
2138
+ class StopFlowExecutionResponse
2139
+ attr_accessor execution_arn: ::String
2140
+ attr_accessor status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted")
2141
+ SENSITIVE: []
2142
+ end
2143
+
1903
2144
  class StreamingConfigurations
1904
2145
  attr_accessor apply_guardrail_interval: ::Integer
1905
2146
  attr_accessor stream_final_response: bool
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.55.0
4
+ version: 1.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services