Table of Contents

Class StreamSpecification

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

Whether a table has a stream and what its records contain.

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

Remarks

The stream is read with DynamoDbStreamsClient. Stream records are kept for 24 hours.

Constructors

StreamSpecification()

public StreamSpecification()

Properties

StreamEnabled

Gets a value indicating whether the table has a stream.

public required bool StreamEnabled { get; init; }

Property Value

bool

StreamViewType

Gets what the records of the stream contain. Required by DynamoDB when StreamEnabled is true; Unspecified (the default) sends nothing, and DynamoDB then rejects the request. When reading, Unspecified also means that none was reported, as for a table without a stream.

public StreamViewType StreamViewType { get; init; }

Property Value

StreamViewType

Methods

Equals(StreamSpecification?)

public bool Equals(StreamSpecification? other)

Parameters

other StreamSpecification

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 ==(StreamSpecification?, StreamSpecification?)

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

Parameters

left StreamSpecification
right StreamSpecification

Returns

bool

operator !=(StreamSpecification?, StreamSpecification?)

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

Parameters

left StreamSpecification
right StreamSpecification

Returns

bool