Class: Aws::BedrockAgent::Types::DocumentMetadata

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

Overview

Contains information about the metadata associate with the content to ingest into a knowledge base. Choose a type and include the field that corresponds to it.

Constant Summary collapse

SENSITIVE =
[:access_control_list]

Instance Attribute Summary collapse

Instance Attribute Details

#access_control_list ⇒ Array<Types::DocumentAccessControlEntry>

Access control list for the document. Used when metadata type is IN_LINE_ATTRIBUTE.



4088
4089
4090
4091
4092
4093
4094
4095
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4088

class DocumentMetadata < Struct.new(
  :type,
  :inline_attributes,
  :s3_location,
  :access_control_list)
  SENSITIVE = [:access_control_list]
  include Aws::Structure
end

#inline_attributes ⇒ Array<Types::MetadataAttribute>

An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.

Returns:



4088
4089
4090
4091
4092
4093
4094
4095
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4088

class DocumentMetadata < Struct.new(
  :type,
  :inline_attributes,
  :s3_location,
  :access_control_list)
  SENSITIVE = [:access_control_list]
  include Aws::Structure
end

#s3_location ⇒ Types::CustomS3Location

The Amazon S3 location of the file containing metadata to associate with the content to ingest.



4088
4089
4090
4091
4092
4093
4094
4095
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4088

class DocumentMetadata < Struct.new(
  :type,
  :inline_attributes,
  :s3_location,
  :access_control_list)
  SENSITIVE = [:access_control_list]
  include Aws::Structure
end

#type ⇒ String

The type of the source source from which to add metadata.

Returns:

  • (String)


4088
4089
4090
4091
4092
4093
4094
4095
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 4088

class DocumentMetadata < Struct.new(
  :type,
  :inline_attributes,
  :s3_location,
  :access_control_list)
  SENSITIVE = [:access_control_list]
  include Aws::Structure
end