Table of Contents

Class TransactWriteItemsResponse

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

The result of TransactWriteItemsRequest. DynamoDB confirms a transaction without further data; the members are the optional metrics.

public sealed record TransactWriteItemsResponse : IEquatable<TransactWriteItemsResponse>
Inheritance
TransactWriteItemsResponse
Implements
Inherited Members

Constructors

TransactWriteItemsResponse()

public TransactWriteItemsResponse()

Properties

ConsumedCapacity

Gets the write capacity consumed, one entry per table, when the request asked for it. Empty otherwise; never null. A repeated request that DynamoDB recognizes by its ClientRequestToken reports the read capacity of looking up the first outcome instead.

public IReadOnlyList<ConsumedCapacity> ConsumedCapacity { get; init; }

Property Value

IReadOnlyList<ConsumedCapacity>

ItemCollectionMetrics

Gets the item collections that the transaction modified, by table, when the request asked for it and the tables have local secondary indexes. Empty otherwise; never null.

public IReadOnlyDictionary<string, IReadOnlyList<ItemCollectionMetrics>> ItemCollectionMetrics { get; init; }

Property Value

IReadOnlyDictionary<string, IReadOnlyList<ItemCollectionMetrics>>

Methods

Equals(TransactWriteItemsResponse?)

public bool Equals(TransactWriteItemsResponse? other)

Parameters

other TransactWriteItemsResponse

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

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

Parameters

left TransactWriteItemsResponse
right TransactWriteItemsResponse

Returns

bool

operator !=(TransactWriteItemsResponse?, TransactWriteItemsResponse?)

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

Parameters

left TransactWriteItemsResponse
right TransactWriteItemsResponse

Returns

bool