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

#custom ⇒ Types::CustomContent

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



4027
4028
4029
4030
4031
4032
4033
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4027

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

#data_source_type ⇒ String

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

Returns:

  • (String)


4027
4028
4029
4030
4031
4032
4033
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4027

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

#s3 ⇒ Types::S3Content

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

Returns:



4027
4028
4029
4030
4031
4032
4033
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4027

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