Table of Contents

Class DeleteRequest

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

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

IReadOnlyDictionary<string, AttributeValue>

Methods

Equals(DeleteRequest?)

public bool Equals(DeleteRequest? other)

Parameters

other DeleteRequest

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(DeleteRequest?, DeleteRequest?)

public static bool operator ==(DeleteRequest? left, DeleteRequest? right)

Parameters

left DeleteRequest
right DeleteRequest

Returns

bool

operator !=(DeleteRequest?, DeleteRequest?)

public static bool operator !=(DeleteRequest? left, DeleteRequest? right)

Parameters

left DeleteRequest
right DeleteRequest

Returns

bool