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)


1257
1258
1259
1260
1261
1262
1263
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1257

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

#nameString

The name for the guardrail.

Returns:

  • (String)


1257
1258
1259
1260
1261
1262
1263
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1257

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)


1257
1258
1259
1260
1261
1262
1263
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1257

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