Class: Aws::BedrockRuntime::Types::GuardrailChecksContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailChecksContentBlock
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
GuardrailChecksContentBlock is a union - when making an API calls you must set exactly one of the members.
A content block within a message to evaluate.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[:text]
Instance Attribute Summary collapse
-
#text ⇒ String
The text content to evaluate.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ String
The text content to evaluate.
2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2333 class GuardrailChecksContentBlock < Struct.new( :text, :unknown) SENSITIVE = [:text] include Aws::Structure include Aws::Structure::Union class Text < GuardrailChecksContentBlock; end class Unknown < GuardrailChecksContentBlock; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2333 2334 2335 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2333 def unknown @unknown end |