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
PutItemoperation, but only ifReturnValuesis specified asALL_OLDin the request. Each element consists of an attribute name and an attribute value.final - consumedCapacity → ConsumedCapacity?
-
The capacity units consumed by the
PutItemoperation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.ConsumedCapacityis only returned if theReturnConsumedCapacityparameter 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
PutItemoperation.ItemCollectionMetricsis only returned if theReturnItemCollectionMetricsparameter 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