Table of Contents

Class TransactGetItemsRequest

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

Reads up to 100 items from one or more tables as one consistent snapshot (DynamoDB TransactGetItems).

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

Remarks

The reads are serializable and strongly consistent: the result reflects the state of the items at one point in time, with respect to the writes of transactions. The tables must be in one AWS account and Region, and the items together can be at most 4 MB. A transaction costs twice the read capacity of the same reads outside a transaction. This is the low-level request: the library does not split a request with more than 100 actions; DynamoDB rejects it with a ValidationException.

Constructors

TransactGetItemsRequest()

public TransactGetItemsRequest()

Properties

ReturnConsumedCapacity

Gets whether to report consumed capacity in ConsumedCapacity, one entry per table.

public ReturnConsumedCapacity ReturnConsumedCapacity { get; init; }

Property Value

ReturnConsumedCapacity

TransactItems

Gets the reads, 1 to 100. The response lists the results in the same order.

public required IReadOnlyList<TransactGetItem> TransactItems { get; init; }

Property Value

IReadOnlyList<TransactGetItem>

Methods

Equals(TransactGetItemsRequest?)

public bool Equals(TransactGetItemsRequest? other)

Parameters

other TransactGetItemsRequest

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

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

Parameters

left TransactGetItemsRequest
right TransactGetItemsRequest

Returns

bool

operator !=(TransactGetItemsRequest?, TransactGetItemsRequest?)

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

Parameters

left TransactGetItemsRequest
right TransactGetItemsRequest

Returns

bool