Skip to content

CreateIngestionJobRequest

Source code in docs_src/capo_opensearchserverless/types/create_ingestion_job_request.py
class CreateIngestionJobRequest(TypedDict, closed=True):
    collection_id: "capo_opensearchserverless.types.collection_id.CollectionId"
    """<p>The unique identifier of the collection to ingest data into.</p>"""
    ingestion_job_name: (
        "capo_opensearchserverless.types.ingestion_job_name.IngestionJobName"
    )
    """<p>The name of the ingestion job. The name must be unique within the collection.</p>"""
    index_name: (
        "capo_opensearchserverless.types.ingestion_index_name.IngestionIndexName"
    )
    """<p>The name of the index to ingest documents into.</p>"""
    failure_index_name: NotRequired[
        "capo_opensearchserverless.types.ingestion_index_name.IngestionIndexName"
    ]
    """<p>The name of the index where documents that fail to be ingested are recorded.</p>"""
    source: "capo_opensearchserverless.types.ingestion_job_source.IngestionJobSource"
    """<p>The Amazon S3 source to ingest data from.</p>"""
    tags: NotRequired["capo_opensearchserverless.types.tags.Tags"]
    """<p>An arbitrary set of tags (key–value pairs) to associate with the ingestion job.</p>"""
    client_token: NotRequired[
        "capo_opensearchserverless.types.client_token.ClientToken"
    ]
    """<p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Unique, case-sensitive identifier to ensure idempotency of the request.

collection_id instance-attribute

collection_id: CollectionId

The unique identifier of the collection to ingest data into.

failure_index_name instance-attribute

failure_index_name: NotRequired[IngestionIndexName]

The name of the index where documents that fail to be ingested are recorded.

index_name instance-attribute

index_name: IngestionIndexName

The name of the index to ingest documents into.

ingestion_job_name instance-attribute

ingestion_job_name: IngestionJobName

The name of the ingestion job. The name must be unique within the collection.

source instance-attribute

The Amazon S3 source to ingest data from.

tags instance-attribute

tags: NotRequired[Tags]

An arbitrary set of tags (key–value pairs) to associate with the ingestion job.