Table of Contents

Class ProvisionedThroughputDescription

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

The read and write capacity of a table or global secondary index as DynamoDB reports it. Only the commonly needed subset of what DynamoDB returns.

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

Remarks

A table with PayPerRequest capacity reports zero units. This is the reported counterpart of ProvisionedThroughput, which is what a request sets.

Constructors

ProvisionedThroughputDescription()

public ProvisionedThroughputDescription()

Properties

ReadCapacityUnits

Gets the read capacity units per second. 0 for a table with on-demand capacity.

public long ReadCapacityUnits { get; init; }

Property Value

long

WriteCapacityUnits

Gets the write capacity units per second. 0 for a table with on-demand capacity.

public long WriteCapacityUnits { get; init; }

Property Value

long

Methods

Equals(ProvisionedThroughputDescription?)

public bool Equals(ProvisionedThroughputDescription? other)

Parameters

other ProvisionedThroughputDescription

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

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

Parameters

left ProvisionedThroughputDescription
right ProvisionedThroughputDescription

Returns

bool

operator !=(ProvisionedThroughputDescription?, ProvisionedThroughputDescription?)

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

Parameters

left ProvisionedThroughputDescription
right ProvisionedThroughputDescription

Returns

bool