Class: Aws::CloudSearchDomain::Types::UploadDocumentsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudSearchDomain::Types::UploadDocumentsRequest
- 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
-
#content_type ⇒ String
The format of the batch you are uploading.
-
#documents ⇒ IO
A batch of documents formatted in JSON or HTML.
Instance Attribute Details
#content_type ⇒ String
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
-
application/json
-
application/xml
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 |
#documents ⇒ IO
A batch of documents formatted in JSON or HTML.
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 |