PutItemOutput class

Represents the output of a PutItem operation.

Constructors

PutItemOutput({Map<String, AttributeValue>? attributes, ConsumedCapacity? consumedCapacity, ItemCollectionMetrics? itemCollectionMetrics})
PutItemOutput.fromJson(Map<String, dynamic> json)
factory

Properties

attributes Map<String, AttributeValue>?
The attribute values as they appeared before the PutItem operation, but only if ReturnValues is specified as ALL_OLD in the request. Each element consists of an attribute name and an attribute value.
final
consumedCapacity ConsumedCapacity?
The capacity units consumed by the PutItem operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. For more information, see Read/Write Capacity Mode in the Amazon DynamoDB Developer Guide.
final
hashCode int
The hash code for this object.
no setterinherited
itemCollectionMetrics ItemCollectionMetrics?
Information about item collections, if any, that were affected by the PutItem operation. ItemCollectionMetrics is only returned if the ReturnItemCollectionMetrics parameter was specified. If the table does not have any local secondary indexes, this information is not returned in the response.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited