Table of Contents

Class StreamSummary

Namespace
DynaSharp.Streams
Assembly
DynaSharp.dll

The summary of a stream of a table, as listed by ListStreams.

public sealed record StreamSummary : IEquatable<StreamSummary>
Inheritance
StreamSummary
Implements
Inherited Members

Remarks

A table has at most one enabled stream at a time. Switching streams off and on again creates a new stream with a new ARN; the old one stays readable for 24 hours.

Constructors

StreamSummary()

public StreamSummary()

Properties

StreamArn

Gets the ARN of the stream, which identifies it in all other operations. DynamoDB sends it with every stream: null only if the response omits it.

public string? StreamArn { get; init; }

Property Value

string

StreamLabel

Gets the label of the stream: a timestamp of its creation, which is also the last part of the ARN. DynamoDB sends it with every stream: null only if the response omits it.

public string? StreamLabel { get; init; }

Property Value

string

TableName

Gets the name of the table the stream belongs to. DynamoDB sends it with every stream: null only if the response omits it.

public string? TableName { get; init; }

Property Value

string

Methods

Equals(StreamSummary?)

public bool Equals(StreamSummary? other)

Parameters

other StreamSummary

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(StreamSummary?, StreamSummary?)

public static bool operator ==(StreamSummary? left, StreamSummary? right)

Parameters

left StreamSummary
right StreamSummary

Returns

bool

operator !=(StreamSummary?, StreamSummary?)

public static bool operator !=(StreamSummary? left, StreamSummary? right)

Parameters

left StreamSummary
right StreamSummary

Returns

bool