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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 '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 'lib/aws-sdk-cloudsearchdomain/types.rb', line 796

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