Class: Aws::BedrockRuntime::Types::GuardrailChecksMessage

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

Overview

A message to evaluate against guardrail checks, containing a role and content blocks.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content ⇒ Array<Types::GuardrailChecksContentBlock>

The content blocks for the message.



2478
2479
2480
2481
2482
2483
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2478

class GuardrailChecksMessage < Struct.new(
  :role,
  :content)
  SENSITIVE = []
  include Aws::Structure
end

#role ⇒ String

The role of the message sender.

Returns:

  • (String)


2478
2479
2480
2481
2482
2483
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2478

class GuardrailChecksMessage < Struct.new(
  :role,
  :content)
  SENSITIVE = []
  include Aws::Structure
end