Table of Contents

Class ProvisionedThroughput

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

The read and write capacity of a table or global secondary index with Provisioned capacity.

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

Remarks

One read capacity unit is one strongly consistent read per second of an item up to 4 KB (two eventually consistent reads); one write capacity unit is one write per second of an item up to 1 KB. Requests above the capacity are throttled.

Constructors

ProvisionedThroughput()

public ProvisionedThroughput()

Properties

ReadCapacityUnits

Gets the read capacity units per second. At least 1.

public required long ReadCapacityUnits { get; init; }

Property Value

long

WriteCapacityUnits

Gets the write capacity units per second. At least 1.

public required long WriteCapacityUnits { get; init; }

Property Value

long

Methods

Equals(ProvisionedThroughput?)

public bool Equals(ProvisionedThroughput? other)

Parameters

other ProvisionedThroughput

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

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

Parameters

left ProvisionedThroughput
right ProvisionedThroughput

Returns

bool

operator !=(ProvisionedThroughput?, ProvisionedThroughput?)

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

Parameters

left ProvisionedThroughput
right ProvisionedThroughput

Returns

bool