Skip to content

CreateIngestionStreamRequest

Source code in docs_src/capo_opensearchserverless/types/create_ingestion_stream_request.py
class CreateIngestionStreamRequest(TypedDict, closed=True):
    collection_id: "capo_opensearchserverless.types.collection_id.CollectionId"
    """<p>The unique identifier of the collection to ingest data into.</p>"""
    ingestion_stream_name: (
        "capo_opensearchserverless.types.ingestion_stream_name.IngestionStreamName"
    )
    """<p>The name of the ingestion stream. 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_stream_source.IngestionStreamSource"
    )
    """<p>The Amazon S3 source to ingest data from, including the Amazon SQS queue that receives S3 event notifications.</p>"""
    role_arn: "capo_opensearchserverless.types.role_arn.RoleArn"
    """<p>The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source. The role must be in the same account as the collection.</p>"""
    tags: NotRequired["capo_opensearchserverless.types.tags.Tags"]
    """<p>An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.</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_stream_name instance-attribute

ingestion_stream_name: IngestionStreamName

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

role_arn instance-attribute

role_arn: RoleArn

The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source. The role must be in the same account as the collection.

source instance-attribute

The Amazon S3 source to ingest data from, including the Amazon SQS queue that receives S3 event notifications.

tags instance-attribute

tags: NotRequired[Tags]

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