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

#actionString

The action for the managed word.

Returns:

  • (String)


2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2441

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

#detectedBoolean

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

Returns:

  • (Boolean)


2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2441

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

#matchString

The match for the managed word.

Returns:

  • (String)


2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2441

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

#typeString

The type for the managed word.

Returns:

  • (String)


2441
2442
2443
2444
2445
2446
2447
2448
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2441

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