Class: Aws::BedrockAgent::Types::ByteContentDoc

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

Overview

Contains information about content defined inline in bytes.

Constant Summary collapse

SENSITIVE =
[:data]

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

The base64-encoded string of the content.

Returns:

  • (String)


1324
1325
1326
1327
1328
1329
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1324

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

#mime_typeString

The MIME type of the content. For a list of MIME types, see Media Types. The following MIME types are supported:

  • text/plain

  • text/html

  • text/csv

  • text/vtt

  • message/rfc822

  • application/xhtml+xml

  • application/pdf

  • application/msword

  • application/vnd.ms-word.document.macroenabled.12

  • application/vnd.ms-word.template.macroenabled.12

  • application/vnd.ms-excel

  • application/vnd.ms-excel.addin.macroenabled.12

  • application/vnd.ms-excel.sheet.macroenabled.12

  • application/vnd.ms-excel.template.macroenabled.12

  • application/vnd.ms-excel.sheet.binary.macroenabled.12

  • application/vnd.ms-spreadsheetml

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

  • application/vnd.openxmlformats-officedocument.spreadsheetml.template

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document

  • application/vnd.openxmlformats-officedocument.wordprocessingml.template

Returns:

  • (String)


1324
1325
1326
1327
1328
1329
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 1324

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