Class: Aws::BedrockRuntime::Types::DocumentContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::DocumentContentBlock
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
DocumentContentBlock is a union - when making an API calls you must set exactly one of the members.
Note:
DocumentContentBlock is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DocumentContentBlock corresponding to the set member.
Contains the actual content of a document that can be processed by the model and potentially cited in the response.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ String
The text content of the document.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ String
The text content of the document.
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1424 class DocumentContentBlock < Struct.new( :text, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < DocumentContentBlock; end class Unknown < DocumentContentBlock; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1424 1425 1426 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1424 def unknown @unknown end |