Class DynamoDbOutboxStreamEvent
DynamoDB Stream event for outbox messages.
public sealed class DynamoDbOutboxStreamEvent : IChangeFeedEvent<CloudOutboxMessage>
- Inheritance
-
DynamoDbOutboxStreamEvent
- Implements
- Inherited Members
Constructors
DynamoDbOutboxStreamEvent(ChangeFeedEventType, CloudOutboxMessage?, string, IPartitionKey, DateTimeOffset, string, long)
Initializes a new instance of the DynamoDbOutboxStreamEvent class.
public DynamoDbOutboxStreamEvent(ChangeFeedEventType eventType, CloudOutboxMessage? document, string documentId, IPartitionKey partitionKey, DateTimeOffset timestamp, string continuationToken, long sequenceNumber)
Parameters
eventTypeChangeFeedEventTypedocumentCloudOutboxMessagedocumentIdstringpartitionKeyIPartitionKeytimestampDateTimeOffsetcontinuationTokenstringsequenceNumberlong
Properties
ContinuationToken
Gets the continuation token for resuming the feed from this point.
public string ContinuationToken { get; }
Property Value
Document
Gets the document after the change (null for deletes).
public CloudOutboxMessage? Document { get; }
Property Value
DocumentId
Gets the document ID.
public string DocumentId { get; }
Property Value
EventType
Gets the type of change that occurred.
public ChangeFeedEventType EventType { get; }
Property Value
PartitionKey
Gets the partition key of the document.
public IPartitionKey PartitionKey { get; }
Property Value
SequenceNumber
Gets the sequence number or version of this change.
public long SequenceNumber { get; }
Property Value
Timestamp
Gets the timestamp when the change occurred.
public DateTimeOffset Timestamp { get; }