Skip to content

QueueRecord

Source code in docs_src/capo_kinesis/types/queue_record.py
class QueueRecord(TypedDict, closed=True):
    receipt_handle: "capo_kinesis.types.receipt_handle.ReceiptHandle"
    """<p>The identifier you use to acknowledge this record, change its visibility, or restore it after it becomes a dead-letter record. A new receipt handle is issued each time the record is received.</p>"""
    record_id: "capo_kinesis.types.record_id.RecordId"
    """<p>The unique identifier of the record. This value stays the same across every delivery of the record, and it is the same in every queue on the stream that delivers the record. To identify a single delivery, use <code>ReceiptHandle</code> instead.</p>"""
    partition_key: NotRequired["capo_kinesis.types.partition_key.PartitionKey"]
    """<p>The partition key the record was written to the data stream with.</p>"""
    data: "capo_kinesis.types.data.Data"
    """<p>The data blob of the record. Amazon Kinesis Data Streams does not inspect, interpret, or change the data.</p>"""
    approximate_arrival_timestamp: (
        "capo_kinesis.types.approximate_arrival_timestamp.ApproximateArrivalTimestamp"
    )
    """<p>The approximate time the record arrived in the data stream. The difference between this value and the current time is how long the record took to reach your queue consumer.</p>"""
    first_receive_timestamp: (
        "capo_kinesis.types.first_receive_timestamp.FirstReceiveTimestamp"
    )
    """<p>The approximate time the record was first received from the queue.</p>"""
    receive_count: "capo_kinesis.types.receive_count.ReceiveCount"
    """<p>The number of times this record has been received without being acknowledged.</p>"""

approximate_arrival_timestamp instance-attribute

approximate_arrival_timestamp: ApproximateArrivalTimestamp

The approximate time the record arrived in the data stream. The difference between this value and the current time is how long the record took to reach your queue consumer.

data instance-attribute

data: Data

The data blob of the record. Amazon Kinesis Data Streams does not inspect, interpret, or change the data.

first_receive_timestamp instance-attribute

first_receive_timestamp: FirstReceiveTimestamp

The approximate time the record was first received from the queue.

partition_key instance-attribute

partition_key: NotRequired[PartitionKey]

The partition key the record was written to the data stream with.

receipt_handle instance-attribute

receipt_handle: ReceiptHandle

The identifier you use to acknowledge this record, change its visibility, or restore it after it becomes a dead-letter record. A new receipt handle is issued each time the record is received.

receive_count instance-attribute

receive_count: ReceiveCount

The number of times this record has been received without being acknowledged.

record_id instance-attribute

record_id: RecordId

The unique identifier of the record. This value stays the same across every delivery of the record, and it is the same in every queue on the stream that delivers the record. To identify a single delivery, use ReceiptHandle instead.