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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockruntime/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)


1218
1219
1220
1221
1222
1223
1224
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1218

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

#nameString

The name for the guardrail.

Returns:

  • (String)


1218
1219
1220
1221
1222
1223
1224
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1218

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)


1218
1219
1220
1221
1222
1223
1224
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1218

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