Class: Aws::BedrockRuntime::Types::GuardrailRegexFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailRegexFilter
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
A Regex filter configured in a guardrail.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The region filter action.
-
#detected ⇒ Boolean
Indicates whether custom regex entities that breach the guardrail configuration are detected.
-
#match ⇒ String
The regesx filter match.
-
#name ⇒ String
The regex filter name.
-
#regex ⇒ String
The regex query.
Instance Attribute Details
#action ⇒ String
The region filter action.
3195 3196 3197 3198 3199 3200 3201 3202 3203 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3195 class GuardrailRegexFilter < Struct.new( :name, :match, :regex, :action, :detected) SENSITIVE = [] include Aws::Structure end |
#detected ⇒ Boolean
Indicates whether custom regex entities that breach the guardrail configuration are detected.
3195 3196 3197 3198 3199 3200 3201 3202 3203 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3195 class GuardrailRegexFilter < Struct.new( :name, :match, :regex, :action, :detected) SENSITIVE = [] include Aws::Structure end |
#match ⇒ String
The regesx filter match.
3195 3196 3197 3198 3199 3200 3201 3202 3203 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3195 class GuardrailRegexFilter < Struct.new( :name, :match, :regex, :action, :detected) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The regex filter name.
3195 3196 3197 3198 3199 3200 3201 3202 3203 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3195 class GuardrailRegexFilter < Struct.new( :name, :match, :regex, :action, :detected) SENSITIVE = [] include Aws::Structure end |
#regex ⇒ String
The regex query.
3195 3196 3197 3198 3199 3200 3201 3202 3203 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3195 class GuardrailRegexFilter < Struct.new( :name, :match, :regex, :action, :detected) SENSITIVE = [] include Aws::Structure end |