Class: Aws::BedrockRuntime::Types::GuardrailContentFilter

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

The content filter for a guardrail.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The guardrail action.

Returns:

  • (String)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1166

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#confidenceString

The guardrail confidence.

Returns:

  • (String)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1166

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#filter_strengthString

The filter strength setting for the guardrail content filter.

Returns:

  • (String)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1166

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The guardrail type.

Returns:

  • (String)


1166
1167
1168
1169
1170
1171
1172
1173
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1166

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action)
  SENSITIVE = []
  include Aws::Structure
end