Class: Aws::BedrockAgent::Types::DocumentContent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb

Overview

Contains information about the content of a document. Choose a dataSourceType and include the field that corresponds to it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customTypes::CustomContent

Contains information about the content to ingest into a knowledge base connected to a custom data source.



3477
3478
3479
3480
3481
3482
3483
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3477

class DocumentContent < Struct.new(
  :custom,
  :data_source_type,
  :s3)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_typeString

The type of data source that is connected to the knowledge base to which to ingest this document.

Returns:

  • (String)


3477
3478
3479
3480
3481
3482
3483
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3477

class DocumentContent < Struct.new(
  :custom,
  :data_source_type,
  :s3)
  SENSITIVE = []
  include Aws::Structure
end

#s3Types::S3Content

Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source

Returns:



3477
3478
3479
3480
3481
3482
3483
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3477

class DocumentContent < Struct.new(
  :custom,
  :data_source_type,
  :s3)
  SENSITIVE = []
  include Aws::Structure
end