Skip to content

UploadDocumentsRequest

Source code in docs_src/capo_cloudsearch_domain/types/upload_documents_request.py
class UploadDocumentsRequest(TypedDict, closed=True):
    documents: "capo_cloudsearch_domain.types.blob.Blob"
    """<p>A batch of documents formatted in JSON or HTML.</p>"""
    content_type: "capo_cloudsearch_domain.types.content_type.ContentType"
    """<p>The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:</p> <ul> <li>application/json</li> <li>application/xml</li> </ul>"""

content_type instance-attribute

content_type: ContentType

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

  • application/json
  • application/xml

documents instance-attribute

documents: Blob

A batch of documents formatted in JSON or HTML.