Class: Aws::BedrockAgentRuntime::Types::GetDocumentContentResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::GetDocumentContentResponse
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:presigned_url]
Instance Attribute Summary collapse
-
#document_content_length ⇒ Integer
The size, in bytes, of the content available at the pre-signed URL.
-
#mime_type ⇒ String
The MIME type of the returned content.
-
#presigned_url ⇒ String
A pre-signed URL for downloading the document content, or the selected image if you specify
mediaId.
Instance Attribute Details
#document_content_length ⇒ Integer
The size, in bytes, of the content available at the pre-signed URL.
4300 4301 4302 4303 4304 4305 4306 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4300 class GetDocumentContentResponse < Struct.new( :document_content_length, :mime_type, :presigned_url) SENSITIVE = [:presigned_url] include Aws::Structure end |
#mime_type ⇒ String
The MIME type of the returned content. For RAW format, this is the
original file type (for example, application/pdf), or the image
type (for example, image/png) if you specify mediaId. For
EXTRACTED format, this is always application/json.
4300 4301 4302 4303 4304 4305 4306 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4300 class GetDocumentContentResponse < Struct.new( :document_content_length, :mime_type, :presigned_url) SENSITIVE = [:presigned_url] include Aws::Structure end |
#presigned_url ⇒ String
A pre-signed URL for downloading the document content, or the
selected image if you specify mediaId. The URL expires after 5
minutes.
4300 4301 4302 4303 4304 4305 4306 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4300 class GetDocumentContentResponse < Struct.new( :document_content_length, :mime_type, :presigned_url) SENSITIVE = [:presigned_url] include Aws::Structure end |