Class: Aws::BedrockRuntime::Types::GuardrailCustomWord
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailCustomWord
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
A custom word configured in a guardrail.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The action for the custom word.
-
#detected ⇒ Boolean
Indicates whether custom word content that breaches the guardrail configuration is detected.
-
#match ⇒ String
The match for the custom word.
Instance Attribute Details
#action ⇒ String
The action for the custom word.
2466 2467 2468 2469 2470 2471 2472 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2466 class GuardrailCustomWord < Struct.new( :match, :action, :detected) SENSITIVE = [] include Aws::Structure end |
#detected ⇒ Boolean
Indicates whether custom word content that breaches the guardrail configuration is detected.
2466 2467 2468 2469 2470 2471 2472 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2466 class GuardrailCustomWord < Struct.new( :match, :action, :detected) SENSITIVE = [] include Aws::Structure end |
#match ⇒ String
The match for the custom word.
2466 2467 2468 2469 2470 2471 2472 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2466 class GuardrailCustomWord < Struct.new( :match, :action, :detected) SENSITIVE = [] include Aws::Structure end |