Class: Aws::BedrockAgentCore::Types::HarnessHookEvent

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

Overview

A lifecycle hook event emitted in the invocation stream for visibility into hook decisions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#decision ⇒ String

The decision applied to the hook event. This field is present only for blocking Lambda targets.

Returns:

  • (String)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4797

class HarnessHookEvent < Struct.new(
  :hook_event_id,
  :name,
  :type,
  :decision,
  :reason,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#event_type ⇒ Object

Returns the value of attribute event_type

Returns:

  • (Object) —

    the current value of event_type



4797
4798
4799
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4797

def event_type
  @event_type
end

#hook_event_id ⇒ String

The unique identifier for this hook event.

Returns:

  • (String)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4797

class HarnessHookEvent < Struct.new(
  :hook_event_id,
  :name,
  :type,
  :decision,
  :reason,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the hook that ran.

Returns:

  • (String)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4797

class HarnessHookEvent < Struct.new(
  :hook_event_id,
  :name,
  :type,
  :decision,
  :reason,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#reason ⇒ String

The optional reason for the applied decision.

Returns:

  • (String)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4797

class HarnessHookEvent < Struct.new(
  :hook_event_id,
  :name,
  :type,
  :decision,
  :reason,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of lifecycle hook event.

Returns:

  • (String)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4797

class HarnessHookEvent < Struct.new(
  :hook_event_id,
  :name,
  :type,
  :decision,
  :reason,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end