AWS SDK for .NET Documentation
PutItemResult Class
AmazonAmazon.DynamoDBv2.ModelPutItemResult Did this page help you?   Yes   No    Tell us about it...

Represents the output of a PutItem operation.

Declaration Syntax
public class PutItemResult
All MembersConstructorsMethodsProperties

Initializes a new instance of the PutItemResult class

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.

Represents the capacity units consumed by an 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 it was asked for in the request. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.

Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the type of the current instance.
(Inherited from Object.)
Information about item collections, if any, that were affected by the operation. ItemCollectionMetrics is only returned if it was asked for in the request. If the table does not have any local secondary indexes, this information is not returned in the response. Each ItemCollectionMetrics element consists of:
  • ItemCollectionKey - The hash key value of the item collection. This is the same as the hash key of the item.
  • SizeEstimateRange - An estimate of item collection size, measured in gigabytes. This is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit. The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

Returns a string that represents the current object.
(Inherited from Object.)
WithAttributes(array<KeyValuePair<(Of <<'(String, AttributeValue>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Attributes dictionary.

WithConsumedCapacity(ConsumedCapacity) Obsolete.
Sets the ConsumedCapacity property

WithItemCollectionMetrics(ItemCollectionMetrics) Obsolete.
Sets the ItemCollectionMetrics property

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: (