Class: Aws::BedrockRuntime::Types::GuardrailTopic

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

Overview

Information about a topic guardrail.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The action the guardrail should take when it intervenes on a topic.

Returns:

  • (String)


1626
1627
1628
1629
1630
1631
1632
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1626

class GuardrailTopic < Struct.new(
  :name,
  :type,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name for the guardrail.

Returns:

  • (String)


1626
1627
1628
1629
1630
1631
1632
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1626

class GuardrailTopic < Struct.new(
  :name,
  :type,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type behavior that the guardrail should perform when the model detects the topic.

Returns:

  • (String)


1626
1627
1628
1629
1630
1631
1632
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1626

class GuardrailTopic < Struct.new(
  :name,
  :type,
  :action)
  SENSITIVE = []
  include Aws::Structure
end