Class: Aws::BedrockAgentCoreControl::Types::HarnessHook
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::HarnessHook
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb
Overview
HarnessHook is a union - when making an API calls you must set exactly one of the members.
HarnessHook is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HarnessHook corresponding to the set member.
A lifecycle hook configuration. Specify one hook type.
Defined Under Namespace
Classes: AfterInvocation, AfterToolCall, BeforeInvocation, BeforeToolCall, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#after_invocation ⇒ Types::HarnessAfterInvocationHook
A hook that runs after an invocation completes.
-
#after_tool_call ⇒ Types::HarnessAfterToolCallHook
A hook that runs after a tool call completes.
-
#before_invocation ⇒ Types::HarnessBeforeInvocationHook
A hook that runs before an invocation begins.
-
#before_tool_call ⇒ Types::HarnessBeforeToolCallHook
A hook that runs before the agent calls a tool.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#after_invocation ⇒ Types::HarnessAfterInvocationHook
A hook that runs after an invocation completes.
12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12141 class HarnessHook < Struct.new( :before_invocation, :after_invocation, :before_tool_call, :after_tool_call, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BeforeInvocation < HarnessHook; end class AfterInvocation < HarnessHook; end class BeforeToolCall < HarnessHook; end class AfterToolCall < HarnessHook; end class Unknown < HarnessHook; end end |
#after_tool_call ⇒ Types::HarnessAfterToolCallHook
A hook that runs after a tool call completes.
12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12141 class HarnessHook < Struct.new( :before_invocation, :after_invocation, :before_tool_call, :after_tool_call, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BeforeInvocation < HarnessHook; end class AfterInvocation < HarnessHook; end class BeforeToolCall < HarnessHook; end class AfterToolCall < HarnessHook; end class Unknown < HarnessHook; end end |
#before_invocation ⇒ Types::HarnessBeforeInvocationHook
A hook that runs before an invocation begins.
12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12141 class HarnessHook < Struct.new( :before_invocation, :after_invocation, :before_tool_call, :after_tool_call, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BeforeInvocation < HarnessHook; end class AfterInvocation < HarnessHook; end class BeforeToolCall < HarnessHook; end class AfterToolCall < HarnessHook; end class Unknown < HarnessHook; end end |
#before_tool_call ⇒ Types::HarnessBeforeToolCallHook
A hook that runs before the agent calls a tool.
12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12141 class HarnessHook < Struct.new( :before_invocation, :after_invocation, :before_tool_call, :after_tool_call, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BeforeInvocation < HarnessHook; end class AfterInvocation < HarnessHook; end class BeforeToolCall < HarnessHook; end class AfterToolCall < HarnessHook; end class Unknown < HarnessHook; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
12141 12142 12143 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12141 def unknown @unknown end |