Class UpdateItemResponse
The result of UpdateItemRequest.
public sealed record UpdateItemResponse : IEquatable<UpdateItemResponse>
- Inheritance
-
UpdateItemResponse
- Implements
- Inherited Members
Constructors
UpdateItemResponse()
public UpdateItemResponse()
Properties
Attributes
Gets the attributes selected by ReturnValues, before or after the update: the whole item for
AllOld and AllNew, only the changed attributes for
UpdatedOld and UpdatedNew. null when nothing was
requested, and for the Old variants when the item did not exist before.
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. An update consumes write capacity for the larger of the item sizes before and after.
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(UpdateItemResponse?)
public bool Equals(UpdateItemResponse? other)
Parameters
otherUpdateItemResponse
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 ==(UpdateItemResponse?, UpdateItemResponse?)
public static bool operator ==(UpdateItemResponse? left, UpdateItemResponse? right)
Parameters
leftUpdateItemResponserightUpdateItemResponse
Returns
operator !=(UpdateItemResponse?, UpdateItemResponse?)
public static bool operator !=(UpdateItemResponse? left, UpdateItemResponse? right)
Parameters
leftUpdateItemResponserightUpdateItemResponse