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)


161
162
163
164
165
166
167
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 161

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)


161
162
163
164
165
166
167
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 161

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)


161
162
163
164
165
166
167
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 161

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