Class: Aws::BedrockRuntime::Types::GuardrailConverseContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailConverseContentBlock
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
GuardrailConverseContentBlock is a union - when making an API calls you must set exactly one of the members.
Note:
GuardrailConverseContentBlock is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of GuardrailConverseContentBlock corresponding to the set member.
A content block for selective guarding with the Converse or ConverseStream API operations.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ Types::GuardrailConverseTextBlock
The text to guard.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ Types::GuardrailConverseTextBlock
The text to guard.
969 970 971 972 973 974 975 976 977 978 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 969 class GuardrailConverseContentBlock < Struct.new( :text, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < GuardrailConverseContentBlock; end class Unknown < GuardrailConverseContentBlock; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
969 970 971 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 969 def unknown @unknown end |