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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


988
989
990
991
992
993
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 988

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

#matchString

The match for the custom word.

Returns:

  • (String)


988
989
990
991
992
993
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 988

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