Class PutItemResponse
The result of PutItemRequest.
public sealed record PutItemResponse : IEquatable<PutItemResponse>
- Inheritance
-
PutItemResponse
- Implements
- Inherited Members
Constructors
PutItemResponse()
public PutItemResponse()
Properties
Attributes
Gets the replaced item when ReturnValues was AllOld and an item existed; otherwise null.
public IReadOnlyDictionary<string, AttributeValue>? Attributes { get; init; }
Property Value
ConsumedCapacity
Gets the capacity the call consumed. Non-null only when the request set ReturnConsumedCapacity; otherwise null.
public ConsumedCapacity? ConsumedCapacity { get; init; }
Property Value
ItemCollectionMetrics
Gets the size estimate of the item collection, if requested with ReturnItemCollectionMetrics and the table has a local secondary index; otherwise null.
public ItemCollectionMetrics? ItemCollectionMetrics { get; init; }
Property Value
Methods
Equals(PutItemResponse?)
public bool Equals(PutItemResponse? other)
Parameters
otherPutItemResponse
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 ==(PutItemResponse?, PutItemResponse?)
public static bool operator ==(PutItemResponse? left, PutItemResponse? right)
Parameters
leftPutItemResponserightPutItemResponse
Returns
operator !=(PutItemResponse?, PutItemResponse?)
public static bool operator !=(PutItemResponse? left, PutItemResponse? right)
Parameters
leftPutItemResponserightPutItemResponse