Class: Aws::BedrockAgentCore::Types::ContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::ContentBlock
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
A block of content in a response.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#data ⇒ String
The binary data content of the block.
-
#description ⇒ String
The description of the content block.
-
#mime_type ⇒ String
The MIME type of the content.
-
#name ⇒ String
The name of the content block.
-
#resource ⇒ Types::ResourceContent
The resource associated with the content block.
-
#size ⇒ Integer
The size of the content in bytes.
-
#text ⇒ String
The text content of the block.
-
#type ⇒ String
The type of content in the block.
-
#uri ⇒ String
The URI of the content.
Instance Attribute Details
#data ⇒ String
The binary data content of the block.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the content block.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |
#mime_type ⇒ String
The MIME type of the content.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the content block.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |
#resource ⇒ Types::ResourceContent
The resource associated with the content block.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |
#size ⇒ Integer
The size of the content in bytes.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |
#text ⇒ String
The text content of the block.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of content in the block.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |
#uri ⇒ String
The URI of the content.
367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 367 class ContentBlock < Struct.new( :type, :text, :data, :mime_type, :uri, :name, :description, :size, :resource) SENSITIVE = [] include Aws::Structure end |