Class: Aws::BedrockRuntime::Types::GuardrailContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailContentBlock
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
GuardrailContentBlock is a union - when making an API calls you must set exactly one of the members.
The content block to be evaluated by the guardrail.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ Types::GuardrailTextBlock
Text within content block to be evaluated by the guardrail.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ Types::GuardrailTextBlock
Text within content block to be evaluated by the guardrail.
852 853 854 855 856 857 858 859 860 861 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 852 class GuardrailContentBlock < Struct.new( :text, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < GuardrailContentBlock; end class Unknown < GuardrailContentBlock; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
852 853 854 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 852 def unknown @unknown end |