Class: Aws::BedrockRuntime::Types::GuardrailRegexFilter

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#action ⇒ String

The region filter action.

Returns:

  • (String)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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