Class BatchGetItemRequest
Reads items from one or more tables by primary key in a single call (DynamoDB BatchGetItem).
public sealed record BatchGetItemRequest : IEquatable<BatchGetItemRequest>
- Inheritance
-
BatchGetItemRequest
- Implements
- Inherited Members
Remarks
This is the low-level request: the library neither splits a request that is too large nor repeats the keys DynamoDB leaves unprocessed. A call can name at most 100 keys in all and returns at most 16 MB; an item can be at most 400 KB. DynamoDB rejects a request that names more than 100 keys, or the same key twice, with a ValidationException.
Constructors
BatchGetItemRequest()
public BatchGetItemRequest()
Properties
RequestItems
Gets the keys to read, by table name (or table ARN). Each table can occur once. DynamoDB rejects an empty map.
public required IReadOnlyDictionary<string, KeysAndAttributes> RequestItems { get; init; }
Property Value
ReturnConsumedCapacity
Gets whether to report consumed capacity in ConsumedCapacity, one entry per table.
public ReturnConsumedCapacity ReturnConsumedCapacity { get; init; }
Property Value
Methods
Equals(BatchGetItemRequest?)
public bool Equals(BatchGetItemRequest? other)
Parameters
otherBatchGetItemRequest
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 ==(BatchGetItemRequest?, BatchGetItemRequest?)
public static bool operator ==(BatchGetItemRequest? left, BatchGetItemRequest? right)
Parameters
leftBatchGetItemRequestrightBatchGetItemRequest
Returns
operator !=(BatchGetItemRequest?, BatchGetItemRequest?)
public static bool operator !=(BatchGetItemRequest? left, BatchGetItemRequest? right)
Parameters
leftBatchGetItemRequestrightBatchGetItemRequest