Class: Aws::CloudSearchDomain::Types::UploadDocumentsRequest

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

Overview

Container for the parameters to the UploadDocuments request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:

  • application/json
  • application/xml

Returns:

  • (String)


799
800
801
802
803
804
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 799

class UploadDocumentsRequest < Struct.new(
  :documents,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#documentsIO

A batch of documents formatted in JSON or HTML.

Returns:

  • (IO)


799
800
801
802
803
804
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 799

class UploadDocumentsRequest < Struct.new(
  :documents,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end