Table of Contents

Class PutItemResponse

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

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

IReadOnlyDictionary<string, AttributeValue>

ConsumedCapacity

Gets the capacity the call consumed. Non-null only when the request set ReturnConsumedCapacity; otherwise null.

public ConsumedCapacity? ConsumedCapacity { get; init; }

Property Value

ConsumedCapacity

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

ItemCollectionMetrics

Methods

Equals(PutItemResponse?)

public bool Equals(PutItemResponse? other)

Parameters

other PutItemResponse

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 ==(PutItemResponse?, PutItemResponse?)

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

Parameters

left PutItemResponse
right PutItemResponse

Returns

bool

operator !=(PutItemResponse?, PutItemResponse?)

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

Parameters

left PutItemResponse
right PutItemResponse

Returns

bool