Class: Aws::BedrockAgentRuntime::Types::GuardrailEvent

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

Overview

A guardrail event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The guardrail action.

Returns:

  • (String)


4136
4137
4138
4139
4140
4141
# File 'lib/aws-sdk-bedrockagentruntime/types.rb', line 4136

class GuardrailEvent < Struct.new(
  :action,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



4136
4137
4138
# File 'lib/aws-sdk-bedrockagentruntime/types.rb', line 4136

def event_type
  @event_type
end