Class: Aws::BedrockAgentRuntime::Types::FlowExecutionEvent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb

Overview

Note:

FlowExecutionEvent is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FlowExecutionEvent corresponding to the set member.

Represents an event that occurred during an flow execution. This is a union type that can contain one of several event types, such as node input and output events; flow input and output events; condition node result events, or failure events.

Flow executions is in preview release for Amazon Bedrock and is subject to change.

Defined Under Namespace

Classes: ConditionResultEvent, FlowFailureEvent, FlowInputEvent, FlowOutputEvent, NodeActionEvent, NodeDependencyEvent, NodeFailureEvent, NodeInputEvent, NodeOutputEvent, Unknown

Constant Summary collapse

SENSITIVE =
[:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]

Instance Attribute Summary collapse

Instance Attribute Details

#condition_result_eventTypes::ConditionResultEvent

Contains information about a condition evaluation result during the flow execution. This event is generated when a condition node in the flow evaluates its conditions.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#flow_failure_eventTypes::FlowFailureEvent

Contains information about a failure that occurred at the flow level during execution.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#flow_input_eventTypes::FlowExecutionInputEvent

Contains information about the inputs provided to the flow at the start of execution.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#flow_output_eventTypes::FlowExecutionOutputEvent

Contains information about the outputs produced by the flow at the end of execution.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#node_action_eventTypes::NodeActionEvent

Contains information about an action (operation) called by a node during execution.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#node_dependency_eventTypes::NodeDependencyEvent

Contains information about an internal trace of a specific node during execution.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#node_failure_eventTypes::NodeFailureEvent

Contains information about a failure that occurred at a specific node during execution.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#node_input_eventTypes::NodeInputEvent

Contains information about the inputs provided to a specific node during execution.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#node_output_eventTypes::NodeOutputEvent

Contains information about the outputs produced by a specific node during execution.



1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

class FlowExecutionEvent < Struct.new(
  :flow_input_event,
  :flow_output_event,
  :node_input_event,
  :node_output_event,
  :condition_result_event,
  :node_failure_event,
  :flow_failure_event,
  :node_action_event,
  :node_dependency_event,
  :unknown)
  SENSITIVE = [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
  include Aws::Structure
  include Aws::Structure::Union

  class FlowInputEvent < FlowExecutionEvent; end
  class FlowOutputEvent < FlowExecutionEvent; end
  class NodeInputEvent < FlowExecutionEvent; end
  class NodeOutputEvent < FlowExecutionEvent; end
  class ConditionResultEvent < FlowExecutionEvent; end
  class NodeFailureEvent < FlowExecutionEvent; end
  class FlowFailureEvent < FlowExecutionEvent; end
  class NodeActionEvent < FlowExecutionEvent; end
  class NodeDependencyEvent < FlowExecutionEvent; end
  class Unknown < FlowExecutionEvent; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1751
1752
1753
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1751

def unknown
  @unknown
end