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)


796
797
798
799
800
801
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 796

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

#documentsIO

A batch of documents formatted in JSON or HTML.

Returns:

  • (IO)


796
797
798
799
800
801
# File 'gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/types.rb', line 796

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