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)


1027
1028
1029
1030
1031
1032
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1027

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

#matchString

The match for the custom word.

Returns:

  • (String)


1027
1028
1029
1030
1031
1032
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1027

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