Class: Aws::Bedrock::Types::ByteContentDoc

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

Overview

Contains the document contained in the wrapper object, along with its attributes/fields.

Constant Summary collapse

SENSITIVE =
[:identifier, :data]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The MIME type of the document contained in the wrapper object.

Returns:

  • (String)


241
242
243
244
245
246
247
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 241

class ByteContentDoc < Struct.new(
  :identifier,
  :content_type,
  :data)
  SENSITIVE = [:identifier, :data]
  include Aws::Structure
end

#dataString

The byte value of the file to upload, encoded as a Base-64 string.

Returns:

  • (String)


241
242
243
244
245
246
247
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 241

class ByteContentDoc < Struct.new(
  :identifier,
  :content_type,
  :data)
  SENSITIVE = [:identifier, :data]
  include Aws::Structure
end

#identifierString

The file name of the document contained in the wrapper object.

Returns:

  • (String)


241
242
243
244
245
246
247
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 241

class ByteContentDoc < Struct.new(
  :identifier,
  :content_type,
  :data)
  SENSITIVE = [:identifier, :data]
  include Aws::Structure
end