Class: Aws::BedrockRuntime::Types::GuardrailCustomWord

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

Overview

A custom word configured in a guardrail.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The action for the custom word.

Returns:

  • (String)


779
780
781
782
783
784
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 779

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

#matchString

The match for the custom word.

Returns:

  • (String)


779
780
781
782
783
784
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 779

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