import { _UnmarshalledAttributeValue } from './_AttributeValue'; import { _UnmarshalledConsumedCapacity } from './_ConsumedCapacity'; import { _UnmarshalledItemCollectionMetrics } from './_ItemCollectionMetrics'; import * as __aws_sdk_types from '@aws-sdk/types'; /** *

Represents the output of an UpdateItem operation.

*/ export interface UpdateItemOutput { /** *

A map of attribute values as they appear before or after the UpdateItem operation, as determined by the ReturnValues parameter.

The Attributes map is only present if ReturnValues was specified as something other than NONE in the request. Each element represents one attribute.

*/ Attributes?: { [key: string]: _UnmarshalledAttributeValue; }; /** *

The capacity units consumed by the UpdateItem 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 Provisioned Throughput in the Amazon DynamoDB Developer Guide.

*/ ConsumedCapacity?: _UnmarshalledConsumedCapacity; /** *

Information about item collections, if any, that were affected by the UpdateItem 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.

Each ItemCollectionMetrics element consists of:

*/ ItemCollectionMetrics?: _UnmarshalledItemCollectionMetrics; /** * Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK. */ $metadata: __aws_sdk_types.ResponseMetadata; }