Class: Aws::BedrockRuntime::Types::GuardrailManagedWord

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

Overview

A managed word configured in a guardrail.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action ⇒ String

The action for the managed word.

Returns:

  • (String)


3116
3117
3118
3119
3120
3121
3122
3123
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3116

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

#detected ⇒ Boolean

Indicates whether managed word content that breaches the guardrail configuration is detected.

Returns:

  • (Boolean)


3116
3117
3118
3119
3120
3121
3122
3123
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3116

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

#match ⇒ String

The match for the managed word.

Returns:

  • (String)


3116
3117
3118
3119
3120
3121
3122
3123
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3116

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

#type ⇒ String

The type for the managed word.

Returns:

  • (String)


3116
3117
3118
3119
3120
3121
3122
3123
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 3116

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