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

#actionString

The region filter action.

Returns:

  • (String)


2004
2005
2006
2007
2008
2009
2010
2011
2012
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2004

class GuardrailRegexFilter < Struct.new(
  :name,
  :match,
  :regex,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end

#detectedBoolean

Indicates whether custom regex entities that breach the guardrail configuration are detected.

Returns:

  • (Boolean)


2004
2005
2006
2007
2008
2009
2010
2011
2012
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2004

class GuardrailRegexFilter < Struct.new(
  :name,
  :match,
  :regex,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end

#matchString

The regesx filter match.

Returns:

  • (String)


2004
2005
2006
2007
2008
2009
2010
2011
2012
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2004

class GuardrailRegexFilter < Struct.new(
  :name,
  :match,
  :regex,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The regex filter name.

Returns:

  • (String)


2004
2005
2006
2007
2008
2009
2010
2011
2012
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2004

class GuardrailRegexFilter < Struct.new(
  :name,
  :match,
  :regex,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end

#regexString

The regex query.

Returns:

  • (String)


2004
2005
2006
2007
2008
2009
2010
2011
2012
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2004

class GuardrailRegexFilter < Struct.new(
  :name,
  :match,
  :regex,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end