Class DeleteRequest
Deletes an item as part of a WriteRequest, with the effect of DeleteItem without a condition.
public sealed record DeleteRequest : IEquatable<DeleteRequest>
- Inheritance
-
DeleteRequest
- Implements
- Inherited Members
Constructors
DeleteRequest()
public DeleteRequest()
Properties
Key
Gets the full primary key of the item: the partition key and, if the table has one, the sort key. Deleting an item that does not exist is not an error.
public required IReadOnlyDictionary<string, AttributeValue> Key { get; init; }
Property Value
Methods
Equals(DeleteRequest?)
public bool Equals(DeleteRequest? other)
Parameters
otherDeleteRequest
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 ==(DeleteRequest?, DeleteRequest?)
public static bool operator ==(DeleteRequest? left, DeleteRequest? right)
Parameters
leftDeleteRequestrightDeleteRequest
Returns
operator !=(DeleteRequest?, DeleteRequest?)
public static bool operator !=(DeleteRequest? left, DeleteRequest? right)
Parameters
leftDeleteRequestrightDeleteRequest