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 a DeleteItem operation.

*/ export interface DeleteItemOutput { /** *

A map of attribute names to AttributeValue objects, representing the item as it appeared before the DeleteItem operation. This map appears in the response only if ReturnValues was specified as ALL_OLD in the request.

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

The capacity units consumed by the DeleteItem 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 DeleteItem 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; }