Class: Aws::BedrockRuntime::Types::DocumentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::DocumentBlock
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
A document to include in a message.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#format ⇒ String
The format of a document, or its extension.
-
#name ⇒ String
A name for the document.
-
#source ⇒ Types::DocumentSource
Contains the content of the document.
Instance Attribute Details
#format ⇒ String
The format of a document, or its extension.
741 742 743 744 745 746 747 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 741 class DocumentBlock < Struct.new( :format, :name, :source) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A name for the document. The name can only contain the following characters:
Alphanumeric characters
Whitespace characters (no more than one in a row)
Hyphens
Parentheses
Square brackets
741 742 743 744 745 746 747 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 741 class DocumentBlock < Struct.new( :format, :name, :source) SENSITIVE = [] include Aws::Structure end |
#source ⇒ Types::DocumentSource
Contains the content of the document.
741 742 743 744 745 746 747 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 741 class DocumentBlock < Struct.new( :format, :name, :source) SENSITIVE = [] include Aws::Structure end |