Class TransactGetItemsRequest
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
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
Methods
Equals(TransactGetItemsRequest?)
public bool Equals(TransactGetItemsRequest? other)
Parameters
otherTransactGetItemsRequest
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(TransactGetItemsRequest?, TransactGetItemsRequest?)
public static bool operator ==(TransactGetItemsRequest? left, TransactGetItemsRequest? right)
Parameters
leftTransactGetItemsRequestrightTransactGetItemsRequest
Returns
operator !=(TransactGetItemsRequest?, TransactGetItemsRequest?)
public static bool operator !=(TransactGetItemsRequest? left, TransactGetItemsRequest? right)
Parameters
leftTransactGetItemsRequestrightTransactGetItemsRequest