Skip to content

ImportBatch

Source code in docs_src/capo_cloudwatch_logs/types/import_batch.py
class ImportBatch(TypedDict, closed=True):
    batch_id: "capo_cloudwatch_logs.types.batch_id.BatchId"
    """<p>The unique identifier of the import batch.</p>"""
    status: "capo_cloudwatch_logs.types.import_status.ImportStatus"
    """<p>The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.</p>"""
    error_message: NotRequired["capo_cloudwatch_logs.types.error_message.ErrorMessage"]
    """<p>The error message if the batch failed to import. Only present when status is FAILED.</p>"""

batch_id instance-attribute

batch_id: BatchId

The unique identifier of the import batch.

error_message instance-attribute

error_message: NotRequired[ErrorMessage]

The error message if the batch failed to import. Only present when status is FAILED.

status instance-attribute

status: ImportStatus

The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.